CN1366277A - Control device of automatic vendor - Google Patents

Control device of automatic vendor Download PDF

Info

Publication number
CN1366277A
CN1366277A CN 01101698 CN01101698A CN1366277A CN 1366277 A CN1366277 A CN 1366277A CN 01101698 CN01101698 CN 01101698 CN 01101698 A CN01101698 A CN 01101698A CN 1366277 A CN1366277 A CN 1366277A
Authority
CN
China
Prior art keywords
control
program
main control
terminal
control part
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
CN 01101698
Other languages
Chinese (zh)
Other versions
CN1145118C (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.)
Fuji Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to CNB011016981A priority Critical patent/CN1145118C/en
Publication of CN1366277A publication Critical patent/CN1366277A/en
Application granted granted Critical
Publication of CN1145118C publication Critical patent/CN1145118C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention can automatically update the control program in a main control part when the terminal control part is replaced or set newly. At the above-said time or in first time of communication between the terminal control part and the main control part, the manufacturer identification code and the version number of the said parts are sent to the main control part so that the proper control program can be retrieved from the memory in the main control part, the memory card inserted in expanded slots and the interior of management computer.

Description

Control device of automatic vendor
The present invention relates to by communicating the control device of automatic vendor that one side partly constitutes its main control of carrying out overhead control between the terminal control section of controlling the automatic vending machine each several part respectively separately, one side and these terminal control sections.
In control device of automatic vendor in the past, control the automatic vending machine each several part respectively separately by each terminal control section, that is the display control section of the coin processing controls part that the Coin processing device structure of the coin that, control the sales control part of each commodity delivering mechanism, is dropped into for juggling is controlled, the demonstration control of carrying out amount of money display.And the main control part communicates these terminal control sections of overhead control while passing through signal wire.
Each terminal control section, retentive control program respectively, the control of stipulating by them.In addition, the main control part is kept for the control program of each terminal control section of overhead control, the control of being stipulated by them.The control program of main control part comprises the part corresponding with each terminal control section.Thereby, one of them terminal control section is being replaced by the different new terminal control section of form, perhaps under the situation of resetting the terminal control section that does not have before this, need to upgrade the control program of main control part therewith accordingly.
Therefore, in control device of automatic vendor in the past, when changing or the terminal control section newly be set, accordingly the ROM that writes control program is replaced by new ROM, be the old program rewriting that is stored in the storer new program perhaps by manual operation.
But, in above-mentioned control device of automatic vendor in the past, changing or newly be provided with under the situation of terminal control section, there is the problem of upgrading ROM or when the program of rewriting, needing the time.In addition, because carry out these operations, so also have the problem of the possibility that error in operation may take place by manual operation.
Purpose of the present invention is exactly in order to address this is that, when changing or newly being provided with under the situation of terminal control section, can automatically to upgrade the control program of main control part, in the work that can alleviate operation, can preventing error in operation.
In order to address the above problem, the described control device of automatic vendor in the present invention the 1st aspect is characterised in that: comprise that a plurality of terminal control sections are controlled the automatic vending machine each several part respectively separately; The main control part, communicate these terminal control sections of overhead control on one side between one side and these terminal control sections, above-mentioned each terminal control section, keep the manufacturer identification code of each manufacturer and the version of the control program corresponding with them, with initial communication of main control part in, above-mentioned manufacturer identification code and version are sent to the main control part, the main control part, according to the manufacturer identification code and the version that receive from each terminal control section, obtain and the corresponding control program of connected terminal control section.So, changing or newly being provided with under the situation of terminal control section, can automatically upgrade the control program of main control part, in the work that can alleviate operation, can also prevent error in operation.
The described control device of automatic vendor in the present invention the 2nd aspect is characterised in that: above-mentioned main control part, according to above-mentioned manufacturer identification code and version, suitable control program is obtained from one of them in the inside of the exterior storage medium that sequential search is set at ROM in the main control part, be inserted in storage card in the expansion slot, can communicate by letter.So, can with the control program of automatically finding linkedly thereafter that is connected of terminal control section, can automatically rewrite.
In addition, the described control device of automatic vendor in the present invention the 3rd aspect is characterised in that: above-mentioned main control part, the program area that predetermined function is different in program storage portion, extender zone are unit part rewrite control program with these zones.So just can reduce the data volume of rewriting, rewrite operation expeditiously.
Have again, the described control device of automatic vendor in the present invention the 4th aspect is characterised in that: in terminal control section inside, store the main control control program partly that is used to control this terminal control section, the main control part, when being loaded into the terminal control section, obtain control program from this terminal control section.So need in the storer of main control part and storage card and supervisory computer, not store this program, make management become easy.
And then, the described control device of automatic vendor in the present invention the 5th aspect is characterised in that: in above-mentioned terminal control section, store above-mentioned control program with the form of intermediate language, in the main control part, be built-in with the intermediate language interpretive routine, it changes into the partly machine language of usefulness of main control to the control program of this intermediate language form.Like this, even the microcomputer of main control part is replaced by other microcomputer, also can continue to use the control program of each terminal control section.
Fig. 1 is system's skeleton diagram of control device of automatic vendor of the present invention.
Fig. 2 is the figure of displaying to the state of the memory stores program of control program.
Fig. 3 is the figure that is illustrated under the local situation that changes control program the store status of the storer of control program.
Fig. 4 shows to comprise the figure of the control program of intermediate code interpretive routine to the state of memory stores.
Below, describe embodiment of the present invention with reference to the accompanying drawings in detail.
Fig. 1 is system's skeleton diagram of control device of automatic vendor of the present invention.Main control part 1 on one side and the terminal control section 2,3,4 that grades of the control section of selling goods, coin processing controls part, display control unit these parts of one side overhead control of communicating by letter.
Each terminal control section 2,3,4 is kept for controlling the control program of commodity delivering mechanism and Coin processing device structure and amount of money display respectively, the control of being stipulated by them.In addition, main control part 1, the control program of these terminal control sections 2,3,4 of maintenance overhead control carries out overhead control by them.While the control program of main control part 1 is because carry out controlling with the data access of each terminal control section 2,3,4, so according to the manufacturer of each terminal control section 2,3,4 and content difference different with the machine kind.
Thereby a terminal control section is replaced by new model terminal therein, under the situation of the new terminal control section that does not have before perhaps being provided with, correspondingly needs to rewrite the control program of main control part.
The control program of main control part 1 is stored among the storer 1A that is made up of EPROM, flash memory etc.In storer 1A, suppose to install certain terminal control section, store a plurality of control programs corresponding in advance with the combination of terminal control section, from these programs, selection and the control program that the terminal control section that is loaded into this moment is fit to use it to control.Then, be changed to new terminal one of in terminal control section 2,3,4 before this, when perhaps expanding the terminal control section 5 of packing into new for function, from storer 1A, find the control program of the combination that is fit to terminal control section after changing, carry out the switching of program, according to this control program operate thereafter.
In each terminal control section 2~5,, remain on and be set in inner separately non-volatile storer the version of the cognizance code of each manufacturer and the control program corresponding etc. with them.In addition, in each control program in being stored in the storer 1A of main control part 1,, record the manufacturer identification code and the version of corresponding terminal control section in order to discern separately.
Then, when change takes place the terminal control section, after energized, to main control part 1, send separately manufacturer identification code, version etc. from each terminal control section.And then the transmission of manufacturer identification code, version etc. also can be, at first, 1 pair of each terminal control section of main control part sends requirement, and each terminal control section requires transmission information according to this.
In any case, main control part 1 is if receive manufacturer identification code, version etc. from each terminal control section, then according to manufacturer identification code, version etc., from storer 1A, find the control program that is fit to these combinations, control by this control program thereafter.
, as the terminal control section 5 of function expansion usefulness, the situation of not taking out before this by the terminal control section of predefined new type is inferior installing, and the control program that is fit to newly-installed terminal control section sometimes is not stored among the storer 1A.In this case, in the expansion slot 6 in being set at main control part 1, insert the storage card 7 store the control program that comprises the control program that newly-installed terminal control section uses, from this storage card 7, read in suitable control program.And then, also record above-mentioned manufacturer identification code, version etc. in the control program in being recorded in storage card 7.
Perhaps, communication terminal 8 is set in main control part 1, can from supervisory computer 10, reads in suitable control program by communication terminal 9 in administrative center.And then communication in this case can be undertaken by the public telephone line, also can be undertaken by wireless.Then, main control part 1 under the new connected situation of terminal control section, at first, searches in the own inner storer 1A whether suitable control program is arranged.If wherein do not have, then check the inside of next storage card 7, if also do not have, then automatically switch the address of acquisition program, obtain from supervisory computer 10 by communication terminal 8,9.If do like this, then with the control program of finding automatically linkedly thereafter that is connected of terminal control section, because can automatically rewrite, so there is not the program rewriting operating mistake.
In addition, the rewriting of control program, also can rewrite control program all, can also only rewrite necessary part.Under whole situation of rewrite control program, as shown in Figure 2, differentiate the zone of start-up routine of rewriting processing etc. that above-mentioned manufacturer device code, version etc. are used to carry out program except storing, rewrite zone all of storing control program.
On the other hand, in whole control programs, when only rewriting and change, under the situation of the part of perhaps newly-installed terminal control section correspondence, the program storage portion of storer, it is regional and predesignate to be divided into function distinct program zone and extender.Promptly, as shown in Figure 3, carrying out whole procedure stores of part of the whole processing in the control program in certain zone including above-mentioned start-up routine and being used for, the program of control terminal control section 2,3,4 is stored in respectively in certain several zone, in the future during extended function, whether predesignate the extender of the new terminal control section of control is stored in certain zone, be unit part rewrite control program with these zones.
Then, for example, when terminal control section 2 is replaced by new control section, the zone of the control program that stores terminal control section 2 usefulness all is rewritten as new program.In addition, when newly being provided for the new terminal control section of expanded function, write the control program of newly-installed terminal control section in program area in expansion.
Then, from whole programs, branch out the control program that is fit to each terminal control section, carry out whole control according to branch's order.At this moment, for extender,,, indicate whether branch by it so prepare the such branch's identifying unit of admin table because also there is the situation that does not have extender.
In addition, the main control part control program in that new terminal control section storage inside of installing has this terminal control section to use when having connected this terminal control section, can send to the main control part to the control program that is stored in this terminal control section.So, just need be in the storer 1A of main control part 1 and storage card 7 and supervisory computer 10 the corresponding program of storage, make management become easy.
, each above-mentioned program is if store then efficient is higher with machine language, if but use the machine language stored programme, then when the microcomputer because of certain reason main control part 1 is replaced by another microcomputer, need be rewritten as the machine language program that new microcomputer is used, thereby need a lot of work.At this, store each control program with the form of intermediate language, in main control part, as shown in Figure 4, be built-in with the intermediate language interpretive routine that the control program of intermediate language form is transformed to the machine language that the master control part sub microcomputer uses.
So, even the microcomputer of main control part 1 is replaced by another microcomputer, also can directly use the control program of each terminal control section.
Have again, in the above-described embodiment, the control program of main control part 1, be stored among the storer 1A that forms by EPROM, flash memory etc., under this state, carry out and handle, but also can temporarily be stored in control program as in the flash memory of No. 2 memory storages etc., thereafter, in SRAM or DRAM, launch the back and carry out.So, when improving processing speed, can freely determine the memory address of the control program corresponding with each terminal control section.
The present invention is because adopted formation described above, so played following effect.
That is, the described control device of automatic vendor of first aspect present invention is at each terminal control Keep the cognizance code of each manufacturer and the version of the control program corresponding with them in the part, With the initial communications of main control part in, manufacturer identification code and version are sent to master control Part processed, the main control part is according to the manufacturer's identification generation that partly receives from each terminal control Code and version are obtained the control program corresponding with the terminal control part that is connected. Its result, When changing or the terminal control part newly is set, can automatically upgrade the control of main control part The processing procedure order when can alleviating the operation work, can also prevent error in operation.
Then, the described control device of automatic vendor of second aspect present invention, its master control part Divide according to above-mentioned manufacturer identification code and version, ordered retrieval is arranged in the main control part ROM, be inserted into storage card in the expansion slot, the exterior storage medium that can communicate by letter in Section is from wherein obtaining suitable control program. Its result, can with the company of terminal control part Connect the control program that automatically detects linkedly thereafter, can automatically rewrite.
In addition, the described control device of automatic vendor of third aspect present invention, above-mentioned main control Part, in program storage portion, predetermined function distinct program zone, extender zone, Because can be take these zones unit part rewrite control program, so the data volume of rewriting subtracts Few, make and rewrite the operating efficiency raising.
Also have, the described control device of automatic vendor of fourth aspect present invention is at terminal control Partial interior stores the control program for the main control part of this terminal control part of control, The main control part because when being loaded into the terminal control part, partly obtains from this terminal control So control program is not need to be at memory and storage card and the supervisory computer of main control part Middle storage corresponding program makes management become easy.
And then the described control device of automatic vendor of fifth aspect present invention is in above-mentioned terminal In the control section, store above-mentioned control program with the form of intermediate language, because in master control part In the branch, be built-in with the intermediate language interpretive program, it becomes the control program of this intermediate language form Be changed to the partly machine language of usefulness of main control, so even the microcomputer of main control part is little by another Machine is replaced, and also can directly use the control program of each terminal control part.

Claims (5)

1. control device of automatic vendor, it is to comprise between a plurality of terminal control sections of controlling the automatic vending machine each several part respectively separately and these terminal control sections it is characterized in that while communicating the control device of automatic vendor that it is carried out the main control part of overhead control:
Above-mentioned each terminal control section, the version of the cognizance code of maintenance manufacturer separately and the control program corresponding with them, when communicating at first with the main control part, above-mentioned manufacturer identification code and version are sent to the main control part, the main control part, according to the manufacturer identification code and the version that receive from each terminal control section, obtain and the corresponding control program of connected terminal control section.
2. control device of automatic vendor as claimed in claim 1, it is characterized in that: above-mentioned main control part, according to above-mentioned manufacturer identification code and version, suitable control program is obtained in the inside of the exterior storage medium that sequential search is set at ROM in the main control part, be inserted in storage card in the expansion slot, can communicate by letter from one of them.
3. as claim 1 or 2 described control device of automatic vendor, it is characterized in that: above-mentioned main control part, in program storage portion, predetermined function distinct program zone, extender zone are unit part rewrite control program with these zones.
4. as claim 1 or 3 described control device of automatic vendor, it is characterized in that: in the terminal control section, store the main control control program partly that is used to control this terminal control section, the main control part, when being loaded into the terminal control section, from this terminal control section, obtain control program.
5. control device of automatic vendor as claimed in claim 4, it is characterized in that: at above-mentioned terminal control section, store above-mentioned control program with the form of intermediate language, in the main control part, be built-in with the control program of this intermediate language form is transformed to the partly intermediate language interpretive routine of the machine language of usefulness of main control.
CNB011016981A 2001-01-15 2001-01-15 Control device of automatic vendor Expired - Fee Related CN1145118C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011016981A CN1145118C (en) 2001-01-15 2001-01-15 Control device of automatic vendor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011016981A CN1145118C (en) 2001-01-15 2001-01-15 Control device of automatic vendor

Publications (2)

Publication Number Publication Date
CN1366277A true CN1366277A (en) 2002-08-28
CN1145118C CN1145118C (en) 2004-04-07

Family

ID=4652179

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011016981A Expired - Fee Related CN1145118C (en) 2001-01-15 2001-01-15 Control device of automatic vendor

Country Status (1)

Country Link
CN (1) CN1145118C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410973C (en) * 2002-11-06 2008-08-13 日本金钱机械株式会社 Billhandling apparatus and method for transmitting code information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410973C (en) * 2002-11-06 2008-08-13 日本金钱机械株式会社 Billhandling apparatus and method for transmitting code information

Also Published As

Publication number Publication date
CN1145118C (en) 2004-04-07

Similar Documents

Publication Publication Date Title
EP0723226B1 (en) Powerfail durable flash EEPROM upgrade apparatus and method
CN100470660C (en) Method and devices for storing and reading data on a storage medium and storage medium
CN1097225C (en) Method of updating program code for an optical disc drive microcontroller and an optical disc drive
KR100259432B1 (en) Outboard data migration in a volume stacking library
US6092105A (en) System and method for vending retail software and other sets of information to end users
US6904457B2 (en) Automatic firmware update of processor nodes
US5717886A (en) Semiconductor disk device and memory management method
US6430117B2 (en) Method for operating a jukebox
EP1720097A1 (en) Firmware version managing method and computer system
JPH10244570A (en) Injection molding apparatus
JPH11161563A (en) Storage and reproduction method for data
US20080266057A1 (en) Utilizing an rfid tag in manufacturing for enhanced lifecycle management
CN102132345A (en) Optical disc drive device
US8131917B2 (en) Storing a driver for controlling a memory
US6498965B2 (en) System for controlling vending machine
CN1145118C (en) Control device of automatic vendor
JP3385844B2 (en) vending machine
US20050083796A1 (en) Storage structure and associated method
JPH07111007A (en) Auto-changer device
JP3692857B2 (en) Vending machine controller
JP3284929B2 (en) vending machine
CN101667447A (en) Memory card and method for memory card
CN104106014A (en) Programmable indicator and program
US20090009902A1 (en) Method for Con-trolling a Data Storage System
JPH05298530A (en) Automatic vending machine of memory card system

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: SUBARU MOTOR CO., LTD.

Free format text: FORMER OWNER: SANYO ELECTRIC CO., LTD.

Effective date: 20021212

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20021212

Address after: Kanagawa, Japan

Applicant after: Fuji Electric Co., Ltd.

Address before: Osaka Japan

Applicant before: Sanyo Electric Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CI01 Correction of invention patent gazette

Correction item: Patentee

Correct: Fuji Electric Co., Ltd.

False: Fuji Electric Co., Ltd.

Number: 14

Page: 430

Volume: 20

CI03 Correction of invention patent

Correction item: Patentee

Correct: Fuji Electric Co., Ltd.

False: Fuji Electric Co., Ltd.

Number: 14

Page: The title page

Volume: 20

COR Change of bibliographic data

Free format text: CORRECT: PATENTEE; FROM: SUBARU MOTOR CO., LTD. TO: FUJITSU ELECTRIC EQUIPMENT CO., LTD.

ERR Gazette correction

Free format text: CORRECT: PATENTEE; FROM: SUBARU MOTOR CO., LTD. TO: FUJITSU ELECTRIC EQUIPMENT CO., LTD.

C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee