CN1148768A - Unloading method - Google Patents

Unloading method Download PDF

Info

Publication number
CN1148768A
CN1148768A CN 96103982 CN96103982A CN1148768A CN 1148768 A CN1148768 A CN 1148768A CN 96103982 CN96103982 CN 96103982 CN 96103982 A CN96103982 A CN 96103982A CN 1148768 A CN1148768 A CN 1148768A
Authority
CN
China
Prior art keywords
memory body
control program
mentioned
stored
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 96103982
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.)
TAMURA ELECTRIC MACHINARY Manufacturing WORKS Ltd
Original Assignee
TAMURA ELECTRIC MACHINARY Manufacturing WORKS 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 TAMURA ELECTRIC MACHINARY Manufacturing WORKS Ltd filed Critical TAMURA ELECTRIC MACHINARY Manufacturing WORKS Ltd
Publication of CN1148768A publication Critical patent/CN1148768A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a down loading method to secure a speech service even when a program is not normally down loaded at a public telephone set, for performing telephone set control according to a control program. When the checked result of the control program down loaded from center equipment shows any abnormality, the speech service is performed by executing the program of an emergency speech function part in an EPROM. As a result, even when the program is not normally down loaded, the minimum speech service such as emergency call can be provided. Besides, when the checked result of a program down loaded to an EEPROM shows any abnormality, the speech service is performed by executing a program in a RAM down loaded before the down loading to the EEPROM.

Description

Method for down loading
The present invention will download to the method for down loading of above-mentioned terminal installation in the performed control formula of common electrical phone about a kind of by telephone line.
Generally, in the terminal installation of public telephone etc., be to have via telephone line to accept the program downloaded, and this program of mat is carried out various controls.
In this terminal installation, in EPROM for example by ultraviolet cancellation, then be stored in advance and be useful on download control program, and be called as the program of download person (loader), then carry out this in the terminal installation side and download and accept control program, and will be stored in the EEPROM that can write and eliminate with electric.In addition,,, program implementation is switched to the EPORM side,, then begin phone control, and various session services are provided if when this terminal installation is the common electrical phone then in the terminal installation side when control program during to the storage release of EEPROM.
But when during download control program, when communication abnormality takes place, and control program be can't normally be downloaded the time, and control program can become incomplete program when then being written to EEPROM.Therefore, can't carry out this control program in the terminal installation side, and Zi download control program once again to be stored in EEPROM during, the problem that session services can't be provided is then arranged.
Therefore, a kind of under the situation that the control formula can't normally be downloaded even purpose of the present invention then is to provide, also can carry out the method for down loading of session services.
For achieving the above object, the present invention takes following technical scheme:
A kind of method for down loading, it mainly is to accept the control program that is downloaded via telephone line from epigyny device by execution is stored in the 1st downloading of memory body one, and will be stored in the 2nd memory body, execution is stored in the terminal installation that the control program of the 2nd memory body serves, and it is characterized in that:
To have the emergency services functional programs and be stored in advance in the 3rd memory body, check receive and be stored in control program in above-mentioned the 2nd memory body, when this check result takes place when unusual, then carry out the program of above-mentioned the 3rd memory body.
Described method for down loading, it is characterized in that: above-mentioned control program be stored in above-mentioned the 2nd memory body before, in advance this control program is stored in the 4th memory body, when the check result of the control program that is stored in above-mentioned the 2nd memory body takes place when unusual, then carry out the control program of above-mentioned the 4th memory body.
Described method for down loading, it is characterized in that: above-mentioned the 1st, the 3rd memory body and the 4th memory body are located at the interior different address area of same section respectively, and the above-mentioned the 2nd and the 3rd memory body is located at the interior identical field, address of different sections respectively, through switching section, above-mentioned control program can be stored in the 2nd memory body.
Described method for down loading, it is characterized in that: above-mentioned control program be stored in above-mentioned the 2nd memory body before, in advance this control program is stored in and has and the identical address area of above-mentioned the 2nd memory body, and be positioned at the 5th memory body of different sections, the check result of the control program in being stored in above-mentioned the 2nd memory body takes place when unusual, then carries out the control program of above-mentioned the 5th memory body.
A kind of method for down loading, it mainly is to accept the control program that is downloaded via telephone line from epigyny device by execution is stored in the 1st downloading of memory body one, and in the 2nd memory body that is stored in the address area different of inciting somebody to action with the 1st memory body, there is the control program of the 2nd memory body in execution by the mansion and in the terminal installation of serving, it is characterized in that:
Dispose a plurality of above-mentioned the 2nd memory bodys, and being positioned on the identical address of making, and become different sections, and according to the section number, a plurality of the 2nd memory bodys are divided into 2 groups, the 3rd memory body in the address area different with the 1st memory body and the 2nd memory body, then be provided with the table that the section number of the number of above-mentioned control program and the 2nd memory body is remembered in pairs, before the above-mentioned control program of download, when receiving from the number of this control program of above-mentioned center fixture and writing the address, then can select the section number of the 2nd memory body according to the value of above-mentioned table, according to the above-mentioned address that writes, the control program that is downloaded is stored in the 2nd memory body of the group that belongs to different with the group of selected section number.
Described method for down loading is characterized in that: when control program is stored in the 2nd memory body, upgrade the table of above-mentioned the 3rd memory body, and the value of the table that upgraded is copied to the 2nd specific memory body.
The present invention has following good effect:
As mentioned above, according to the present invention, execution is downloaded from epigyny device, and be stored in downloading of the 1st memory body, when the check result of the control program that is stored in the 2nd memory body takes place when unusual and since can carry out be stored in the 3rd memory body have an emergency services functional programs, therefore, even under the situation that control program can not normally be downloaded, also can provide MIN session services such as urgency traffic at the common electrical phone.
Again, when the check result of the control program that is stored in the 2nd memory body when being unusual, owing to can carry out the control program that is stored in the 4th memory body that has been stored before the 2nd memory body, therefore, even control program can't download to the 2nd memory body, also can serve through the program of carrying out the 4th memory body that has been downloaded.Again,, and it is stored in the terminal installation of the 2nd memory body,, and still can't normally download the time, then can continues service according to the program before the 2nd memory body when download control program once again for download control program.
Owing to the control program that is downloaded from epigyny device, can be stored in the 2nd memory body through section switches again,, therefore, CPU with less memory access field is being big memory body when carrying out access for capacity than this access field, also download control program correctly.
Again, since control program be stored in the 2nd memory body before, can in advance this control program be stored in and have the address area identical with the 2nd memory body, and be positioned at the 5th memory body (RAM 18C) of different sections, therefore, even during the more failure of jumbo memory body, also can carry out the new program of the 5th memory body.
Again, with the 2nd memory body, a plurality of according to turning round identical address and becoming the principle configuration of different sections, and with a plurality of the 2nd memory bodys, be divided into 2 groups according to the section number, the 3rd memory body in the address field different with the 1st memory body and the 2nd memory body, be provided with the section number of the number of control program and the 2nd memory body table of memory in pairs in addition, before download control program, when the number that receives this control program of sending from center fixture and when writing the address, can select the section number of the 2nd memory body according to the value of table, the 2nd memory body for the different group of the group different with selected section number then stores the control program that is downloaded from center fixture according to writing the address, therefore, when even jumbo program is more failed, the program that is downloaded before also can carrying out.
Again, when control program is stored in the 2nd memory body, owing to can upgrade the table of the 3rd memory body, and the value of the table that upgraded can be copied in the 2nd specific memory body, therefore, by the value that is copied to the 2nd specific memory body, the management that can suitably download and carry out.
Following with reference to accompanying drawing, embodiments of the invention are elaborated:
Fig. 1 represents to be suitable for the block diagram of formation of the public telephone of method for down loading of the present invention.
Fig. 2 represents the block diagram of the center fixture that downloads at above-mentioned common electrical phone.
Fig. 3 represents the block diagram of formation of the control part of common electrical phone.
Fig. 4 represents to constitute the memory body distribution diagram of the CPU of above-mentioned control part.
Fig. 5 represents the flow chart of the major part action of center fixture and public telephone.
Fig. 6 represents the flow chart of the phone control action of above-mentioned CPU.
Fig. 7 represents the 2nd block diagram that constitutes of control part.
Fig. 8 represents the memory body distribution diagram according to the 2nd CPU that constitutes of control part.
The key diagram of the higher situation of Fig. 9 representation program definition list.
Figure 10 represents that the section of each rapid memory body of the program of storing switches the key diagram of situation.
Figure 11 represents the flow chart according to the major part action of the CPU of the 2nd configuration example of control part.
Figure 12 represents the flow chart according to the major part action of the CPU of the 2nd configuration example of control part.
Below please refer to drawing the present invention is described.
Fig. 1 is the calcspar that is suitable for the formation of common electrical phone 1 of the present invention.In same figure, the 11st, be used for the collection of letters circuit that detection arrives the collection of letters signal of telephone line (to call circuit in the following text) L, the 12nd, the locally supplied power source that input is supplied with via circuit L, and power supply is supplied to the power circuit of each several part, the 13rd, circuit is sent in the dialing that is used to send dialing signal, the 14th, the data that are used for carrying out with data set described later data communication pass to be received circuit, and the 15th, speaking circuit.Again, the 16th, the keyboard that is constituted by dial key etc., the 17th, be used for to insert coin and sort, the coin handling part that collection is handled, 18 is the control part that is used to control above each several part.In addition, HS1, HS2 are hook (hook) switches, and RL is the relay that is used to catch circuit L.
But in the public telephone 1 that constitutes as mentioned above, when hanging on, through the sealing of hook switch HS1, locally supplied power source once was supplied to power circuit 12 by circuit L.So power circuit 12 can produce the power supply of voltage V from this locally supplied power source, and will supply to control part 18 etc.Control part 18 when rising according to the power supply of being exported by power circuit 12 when passive, at first can detect the state of hook switch HS2, and whether identification is started in order to post a letter.In addition, relay R L then can be driven by not shown starting circuit, and makes its contact sealing.
At this, when coin by input and during the dial key of operation keyboard 16, control part 18 can detect the operation of keyboards 16, send circuit 13 and will operated dialed number supply to dial, send circuit 13 from dialing, dialing signal is passed out to exchanger side via circuit L.The result can call peer.When going out response case with respect to this calling detection, can control coin handling part 17 according to the benchmark cost of the phone call data that are stored in control part 18 in advance, and collect input coin via not shown response detection circuit.After, when the state-detection from hook switch HS2 goes out end of conversation (on hook), then can drive relay R L, and open its contact finishes path.
On the other hand, when according to from the calling of calling side and signal when arriving circuit L, then can be according to the collection of letters signal of 16Hz, and make the electric charge savings in the not shown capacitor of collection of letters circuit 11, and produce certain voltage, and start above-mentioned starting circuit according to this voltage.As a result, relay road RL can be driven, and its contact can be become the response of collecting mail by switch, supplies with locally supplied power source from the switch side and makes control part 18 startings.At this moment, controller 18 can detect the state of hook switch HS2, and the situation that identification is started according to the arrival of collecting mail.
Afterwards, 18 of control parts can move on to data communication structure formula, pass collection of letters circuit 14 via data, can carry out data communication with the center fixture as the source of delivering a letter.In addition, remember and fold appearance amount of money data at the conversation resume number of times of the talk times that utilizes this public telephone 1 of the memory body of EEPROM described later etc. etc. and the coin that is housed in the coin handling part 17 of this common electrical phone 1 and can be sent to center fixture.
Fig. 2 is the calcspar of formation that carries out the above-mentioned center fixture of data path with this public telephone 1.Center fixture 2 as mentioned above, is the public telephone of posting a letter, and collects the conversation resume data of public telephone and the accommodating amount of money data of coin and the start situation of managing each public telephone.2 of center fixtures can be posted a letter each common electrical phone and send new benchmark cost of the phone call data when being changed cost of the phone call, accommodate coin according to new cost of the phone call system.Again, will in each public telephone, the data of performed control formula download to each common electrical phone, have the function that this control program that can allow each common electrical phone carry out carries out session services.
In Fig. 2, center fixture 2 be by: by the line group 21 that a plurality of circuit constituted, circuit control part 22, display part 23, memory portion 24, the control part 27 that keyboard 25, printer 26 and being used to are controlled above each several part constitutes.
But, the control part 18 of common electrical phone 1, when when center fixture 2 is downloaded above-mentioned control program via circuit L, then this control program once passed collection of letters circuit 14 by data and was stored in the inner memory body.
Fig. 3 is the calcspar of the formation of this control part 18.In with figure, control part 18 is by CPU 18A, RAM 18B, and 18C can carry out that electric writes and the EEPROM18D of cancellation, 18E, EPROM18F and section (bank) commutation circuit 18G that can the cancellation by ultraviolet ray.
Again, Fig. 4 is the key diagram of the memory body distribution of CPU 18A.From first leading address " 0000 " H (meaning of H table 16 carry), be assigned I/O portion (for example being used for the plate that circuit 13 grades are carried out access is sent in dialing) in regular turn, the RAM 18B of work usefulness, and be used to remember each field of accommodating the EEPROM 18D of data etc. with the relevant setting data of this minute common-battery phone and above-mentioned conversation resume data and coin.
At this, this common electrical phone 1 because each capacity of program and data is many than the access range of CPU 18A, therefore, will be set as section switching field from the field of latter half of address " 8000 " H till " FFFF " H.In addition, then repeatedly dispose the EPROM 18F that is used for stored routine, similarly be used for the EEPRIM 18E of stored routine in this section field, and the RAM 18C that is used for storage data.CPU 18A switches those fields with executive program and the access of carrying out data.In addition, through regular meeting section is cut changing to EPROM 18F side, and CPU 18A is carried out access.
Again, then being provided with storage at EPROM 18F is used to download the download section 18F1 that downloads of said procedure and is used to store the urgency traffic function 18F2 of portion (the 3rd memory body) that can carry out the program of urgency traffic at this common electrical phone 1.
At this, when in order to append new function to common electrical phone 1, and when 2 pairs of common electrical phones 1 of center fixture are sent the new control program that appends function, then CPU 18A can carry out the program of a part of downloading 18F, and other the program of download section 18F1 is transferred to RAM 18B, and carry out downloading of this time being passed on, the control formula temporarily is stored in other the field (the 4th memory body) of RAM 18B.After, CPU 18A then can carry out being transferred to downloading of RAM 18B, and as can carry out carrying out as the access section to EEPROM18E (the 2nd memory body) and switch.In addition, the control program that then will be stored in RAM 18B is transferred to the EEPROM 18E that is switched.In addition, pass on finish after, CPU 18A can carry out the new control program in EEPROM 18E and carry out session services.
At this, in the present embodiment, when control program is downloaded, though the program of the download section 18F1 in EPROM 18F can be transferred to RAM 18B, but also the EPROM that can set as the 1st memory body in this field of passing on downloads with storage, can dispense the download section 18F of position in EPROM 18F by this.
So, be one to be downloaded from center fixture 2 at common electrical phone 1 executive control program.The download of this program owing to be that circuit L via analogy is undertaken by modulation-demodulation signal, but is compared with the situation of downloading by the numerical digit circuit of for example isdn line etc., then can spend more call duration time.Therefore, in process of downloading, the probability that becomes the communication barrier because of the generation of clutter can uprise.At this, when temporarily becoming the communication barrier, before downloading once again, the problem that can't carry out session services was arranged then in the past.
Therefore, at EPROM 18F above-mentioned urgency traffic function 18F2 is set, and when at download control program garble taking place, before downloading once again, can carry out the program of this urgency traffic function 18F2 of portion, and urgent and MIN session services such as " 110 " circular or " 119 " circular can be provided.
The flow chart of the center fixture 2 that Fig. 5 is a control program when downloading and the action of common electrical phone 1.Describe the action of major part of the present invention more in detail according to this flow process.
When common electrical phone 1 function takes place appended, then center fixture 2 can be by the operation of keyboard 25 etc., appends new functional programs at all programs of this common electrical phone 1, and was used as new control program and remembers in memory portion 24.
After, control part 27 can control circuit control parts 22, call out common electrical phone 1 (step S1) via the wherein any circuit in the line group 21.
At this, when common electrical phone 1, when responding this calling in step S2, then center fixture 2 can be sent program to common electrical phone 1 and download indicator.
At this moment, the CPU 18A of common electrical phone 1 then can carry out the program of download section 18F1, judges to have or not the program that receives to download indicator in step S3.In addition, when receiving this indicator via data biography collection of letters phone 14, what then download section 18F1 can be performed afterwards downloads, and can be copied to RAM 18B in step S5.After, CPU 18A can carry out the program that is replicated RAM 18B, passes collection of letters circuit 14 via data, in step S6, collection of letters commencing signal is transmitted back to center fixture 2 sides.
In addition, after, CPU 18A is copied to downloading of RAM 18B through continue carrying out, and can pass the new control program that collection of letters circuit 14 receives from center fixture 2 via data, and in step S7, with other the field that is stored in RAM 18B in.
In addition, in step S8, judge then whether the collection of letters of the control program that this is new finishes, when the collection of letters of control program finishes fully, and when being stored in RAM 18B, then can in step S9, check stored control program.
At this, when making a mistake, then judge the control program that this is new when checking stored control formula in RAM 18B, do not know which kind of communication abnormality can't correctly be received, and can move on to collection of letters fault processing, the downloading of finishing control program.In addition, at this moment, CPU 18A before center fixture 2 download control program again, can carry out the program of the urgency traffic function 18F2 of portion, and above-mentioned urgency traffic service is provided.After, when when center fixture 2 is called out once again, then can get back to step S2 and respond this calling, and carry out in the collection of letters of the later control formula of step S3 and handle.
On the other hand, when the check result of the program that is stored in RAM 18B is normal, and step S10 be judged as " Y " time, CPU 18A then, can carry out phone control (that is, session services) according to the program of RAM 18B, that is be set in the state (step S11) that can start this program.Secondly, CPU 18A carries out the loader that is copied to RAM 18B through continuing, and can switch to EEPROM 18E side from EPROM 18F lateral areas section (bank).CPU 18A then can carry out access to EEPROM 18E.In addition, temporarily be stored in the new control program of RAM 18B, can be at step S12, pass on and be written to EEPROM 18E.
At this, when new control program all is written to EEPROM18E, and step S13 be judged as " Y " time, then CPU18A can continue to carry out the loader of RAM 18B, in step S14, then checks the control program of EEPROM 18E.
In addition, when the check result of the control formula that is written to EEPROM 18E for just often, then CPU 18A can control phone control according to the program of EEPROM 18E, that is is set in state that can starting sequence and finishes (step S16).
After, CPU 18A, but then carry out the program of the EEPROM 18E become starting state and carry out new session services (step S17).
In addition, when the check result of the control formula that is written to EEPROM 18E for unusual, and when in step S15, being N, CPU 18A then the finishing control program be written into processing.At this moment, CPU18A, but then can carry out the new control program of the RAM 18B that in step S11, has been set at starting state, carry out new session services.
So,,, also can carry out urgency traffic in EPROM 18F even when the failed download of control program through urgency traffic function 18F2 is set.Therefore, when the failed download of control program, the situation that also can avoid the session services of public telephone 1 to stop fully.
Again, through being stored in RAM 18B by the control program of being downloaded of center fixture, EEPROM 18E can expect following effect.
That is, for 1 download control program, and the public telephone that is stored in EEPROM 18E of inciting somebody to action, when the 2nd download control program, because this control program can directly not be written to EEPROM 18E, therefore, even the failed download of this control program also can carry out session services through the former formula that is stored in EEPROM 18E.
Even program can not be stored in EEPROM 18E, also can carry out the program of RAM 18B again.Therefore, if the content of RAM18B can wait when supporting by battery, then download finish after, through the program of carrying out this RAM 18B, can carry out new session services.
Fig. 6 is the flow chart of program practice condition according to the CPU 18A of the public telephone 1 of last and action.
That is CPU 18A at first is stored in control program EEPROM 18E, and when the check result of this control program is normal, and when in step S21, being judged as " Y ", then in step S22, carry out the program of EEPROM 18E, carry out phone control and implement the session services of public telephone.
Even even control program is not stored in the EEPROM 18E or is stored, but when not being normal program, then judge in RAM18, to have or not storage control program again.
At this, when control program is stored in RAM 18B, and this check result is normal, and when be " Y " in step S23, then in step S24, can carry out the control program of RAM 18B and carries out phone and control, and similarly implement session services.
Again, even when control program is not stored in RAM 18B or be stored, still, when this check result was unusual, CPU18A then can carry out the program of the urgency traffic function 18F2 of portion or be written into the program of the 18F1 of portion in step S25.
Secondly, the 2nd example then is to carry out the program that is written into the 18F1 of portion as CPU 18A, and when center fixture 2 program that receives was downloaded indicator, can carry out section switched, and in the step S5 of Fig. 5, the later data that download that are written into the 18F of portion can be copied to RAM18C.After, CPU 18A then carries out being copied to downloading of RAM18C, and will be rich in RAM 18C from the control formula storage that center fixture 2 is downloaded.In addition, when all control programs that are downloaded normally were stored into RAM 18C, then CPU18A can continue to carry out the download journey, and the control program of RAM 18C is carried out the section switching, and passing on of general is stored into EEPROM18E.As a result, the jumbo control program (being about as much as the 32K bit byte) that is downloaded from center fixture 2 can be stored into common electrical phone 1.
At this moment, when control program normally is not stored in EEPROM18E or can't be stored fully the time,, then in the step S24 of Fig. 6, can carry out the new control program of RAM 18C if the content of RAM 18C can be supported by battery etc.
In addition, in the present embodiment, though be to be example with the common electrical phone, the terminal installation for for example data processing equipment that can download control program via telephone line etc. can obtain equal effect.That is this terminal installation when control program can not normally be downloaded, then can be carried out the program of the MIN service of the program that is equivalent to the urgency traffic function 18F2 of portion.
Secondly, Fig. 7 is the 2nd calcspar that constitutes of control part 18.In the 2nd example, at CPU 18A, memory body is to be connected with RAM 18a, light shield ROM 18b, rapid memory body 18c1-18c8.In addition, CPU 18A can carry out section by the section commutation circuit at 8 rapid memory body 18c1-18c8 respectively and switch and access.In addition, #1-#8 represents the section number among the figure.
Fig. 8 is the key diagram that the memory body of the CPU 18A in the 2nd configuration example of Fig. 7 distributes.And begin till " 3FFF " H address, to be assigned in regular turn I/O portion from first leading address " 0000 " H, the field of the RAM 18a of work usefulness.Secondly then distribute field till " 7FFF " H address Zi " 4000 " H address as light shield ROM 18b.Again, self-alignment then is assigned with the field as each rapid memory body 18c1-18c8 of above-mentioned control program that is used to store common electrical phone 1 and setting data till " FFFF " H address in latter half of " 8000 " H address.
Then be provided with the instant OS 18b1 that is used for the control program that is stored in each rapid memory body is implemented the execution management at light shield ROM 18b.Store and be used for that program is downloaded to the download section 18b2 of program of each rapid memory body and memory and have when the system downloads, instant OS 18b1 will carry out the system downloads table 18b3 of the data of that program.
At RAM 18a and each rapid memory body 18c4, then be respectively equipped with the 18a1 of program definition described later, 18e again.
Fig. 9 is the formation of this program definition list, and memory has the number that comprises the program that is stored in each rapid memory body, the start address of section number and this program.
At this, the rapid memory body that each section is set, as shown in figure 10,18C1-18C4 is divided into A group with the rapid memory body, and 18C5-18C8 is divided into B group with the rapid memory body.
In addition, when more writing at the control program of A group's for example rapid memory body 18C1 (#1), then the content that this is more write is stored in the rapid memory body 18c8 (#5) that belongs to B group.On the contrary, when B group's more rapid memory body 18c5 (#5) more write content the time, then the content that this more can be write is stored in the rapid memory body 18c1 (#1) that belongs to A group.
Again, also be same for A group's for example rapid memory body 18c2 (#2), when the control program of this memory body is more write, then the content of more being write is stored in the rapid memory body 18c6 (#6) that belongs to B group.On the contrary, when the content of the rapid memory body 18c6 (#6) that will more write B group, then the content of more being write can be stored in the rapid memory body 18c2 (#2) that belongs to A group.In addition, the rapid memory body 18c3 of other of A group, 18c4 and other the rapid memory body 18c7 that is in the B group of corresponding relation, 18c8 is also identical.
That is, when the content of the program definition list 18e in the present rapid memory body 18c4 becomes the situation of 9 (a), then can send the more write data of the routine data of the program number " 4 " that " 8000 " H begins from the address from center fixture 2, store start address and then be made as " 8000 " H.The control program of this program number " 4 ", if according to table, be to be stored in the rapid memory body 18c3 that is equivalent to section number #3, therefore, control part 18A, the routine data that this institute more can be write is stored in the rapid memory body 18c3 that is equivalent to section number #7.In addition, when the storage of routine data finishes, then as understanding shown in Fig. 9 (b), the content of the program definition list 18e in the rapid memory body 18c4 more write.By the performed instant OS 18b1 of CPU 18A, owing to can implement the execution management of control program according to this content of showing 18e, even so failed download of routine data, also can carry out the control program of previous release, the situation that can avoid the session services of common electrical phone 1 to stop fully by this takes place.
Figure 11 and Figure 12 are the flow charts of the download action of the routine data that is downloaded from center fixture.The major part action of public telephone machine 1 is described according to this flow chart.
When collection of letters signal arrived circuit L when calling out by center fixture 2, then according to this collection of letters signal, relay R L can be started, and forms the loop (the step S31 of Figure 11) of circuit L by the switch of this contact.So locally supplied power source can be fed into control part 18 becomes power supply incision state, makes CPU 18A starting (step S32).When CPU 18A is started, then can begin to carry out the program of download section 18b according to the instruction of the instant OS18b1 of initial execution.In addition, at first can check the content (step S33) of the program definition list 18a1 of RAM 18a, if normal, then processing can advance to step S41 (step S34)
If when unusual, then carry out section and switch, and check the content (step S35) of establishing program definition list 18e within it at specified rapid memory body 18c4 in advance again.In addition, when for just often, then make to handle to advance to step S38 (step S36).Again, when unusual, then telephone set can not start (step S37).In step S38, then in regular turn other all rapid memory bodies are carried out the section switching, and check the routine data in each rapid memory body.In addition, when unusual, then telephone set akinesia, and ought be just often can be gone up (step S40) to the table 18a1 of RAM 18a with the content replication of the table 18e in the rapid memory body 18c4.
Then, in step S41, then judge whether to be started because collect mail.When judging that quilt starts because collect mail, at this moment, if (on hook) state of cut-out, then can pass collection of letters circuit 14 and carry out initialization process (step S43) at the data that constituted by modulator-demodulator etc., send answer tone (step S44) and send circuit from not shown tone (tone), after sending end, then begin the timing (step S45) of certain hour.
Secondly, in step S40 and S47, the timing of then judging above-mentioned timer respectively whether arrive (step S46) and with center fixture 2 between whether finish being connected of data communication, and when with center fixture between when not finishing being connected of data communications, then when the timing of timer arrived, relay R L can reply and end process (step S48).
Again, above-mentioned timer not timing arrive during in, if with center fixture 2 between when finishing being connected of data communication, then processing can advance to the step S61 of Figure 12.In addition, when collecting mail, when detecting connection (on hook), then become collection of letters talking state (step S39).When starting, then become the conversation step (step S51) of posting a letter by connection again.And when being started under the non-collection of letters and on-state, then being considered as common electrical phone 1 takes place unusually, and makes relay R L reply (step S48).
In the step S61 and S62 of Figure 12, whether whether the timing of then judging above-mentioned timer respectively arrive and interrupt via the modulation-demodulation signal that data pass collection of letters circuit 14.In addition, in each step, when being judged as " NO " as if any one, then processing can advance to step S63, and in step S63, judges whether the director data from the expression data download of center fixture 2.
At this, the data download from center fixture 2 to common electrical phone 1 then is sent according to following order.That is, send at first by program number and its and write the supplemental characteristic that first leading address constitutes, then then send the formula data with and check data, then send the end designation data at last.
At this, in step S63,, when the reception condition of supplemental characteristic is " Y ", then can in this supplemental characteristic, obtain program number (step S65) when the reception condition of above-mentioned director data is " Y " and in step S64.In addition, this program number is equivalent to the program of the fast flash memory bank of that section, then is to decide with reference to the program definition list 18a1 in RAM 18a.In step S66, the section number of then judging the rapid memory body be equivalent to the reception program number that determined is to belong to A, what person among the B group, when belonging to the A group time, then be chosen in and add 4 the section that belongs to B group (step S67) on this specified section number, when belonging to the B group time, then directly select specified section number to be used as the section (step S68) that belongs to A group again.
Again, in the supplemental characteristic that is received, obtain to write first leading address (step S69),, be set in the table 18a1 (step S70) of RAM 18a together corresponding to the program number this program elder generation's leading address and selected above-mentioned section number.Then, then removing is set at table 18a1 and is corresponding inspection data (step S71) with those data, and gets back to step S61.
Secondly, routine data can be sent from center fixture 2, and judges its reception condition in step S72.Routine data can be sent to the each 128 bit groups of foundation, but when in step S72, judging that collection of letters situation is " Y ", then in step S73, can calculate the inspection total amount (check sum) of the routine data of these 128 bit groups, and 2 the bit groups in its end are added in the inspection field (2 bit fields) (step S74) of RAM 18a.
Afterwards, then select to be equivalent to the rapid memory body of selected section number, write first leading address from selected rapid memory body above-mentioned and begin, write the routine data (step S75) of 128 bit groups being received in regular turn.After writing end, then make to write the address of advancing and be equivalent to write bit group number in the address (step S76).So, when the reception of the routine data of 128 bit groups and write when finishing, the then same reception of next 128 bit group units and write processing can be performed in step S72-S76.
So, when receiving all formula data of being sent from center fixture 2, and will be written to the rapid memory body after, then send the inspection summary data that has out with this routine data from center fixture 2.When receiving this inspection summary data, and when in step S77, being judged as " Y ", then relatively should check summary data with at step S73, whether the inspection summary data of the trusted routine data of addition in 74 consistent (step S78), when those unanimities, and during being judged as in step S79 " Y ", finish owing to download normally, therefore it checks summary data at each data computation of the table 18a1 of RAM 18a, and is set in (step S80) in the RAM 18a corresponding to table 18a1.
In addition, receive the end designation data of being sent from center fixture 2 when at last, and when in step S81, becoming " Y ", then except confirm to download whether normal termination at step S82, in step S83, then the content of the table 18a1 of RAM 18a can be copied to (comprise and check summary data) the table 18e of specific rapid memory body 18c4.After, in step S84, the value of the table 18a1 of RAM 18a then only can be destroyed and is corresponding inspection with these table data and sums up data, and gets back to the step S48 of Figure 11, makes relay R L answer, and makes the circuit opening and finish.
The result, when at common electrical phone 1 once again during download control program, in the step S33 of Figure 11, during the content of the inspection summary data of the table 18a1 in inspection comprises RAM 18a, because the judgement of step S34 must become " N ", therefore, in step S40, the value of the table 18e in specific rapid memory body 18c4 can be copied to the table 18a1 in the RAM 18a.After, the instant OS 18b1 that is performed according to CPU18A, as mentioned above, the execution situation that can manage each control program according to the value of the table 18e in this specific rapid memory body 18c4.In addition, when inspection summary data of being received and the inspection summary data that gets from the routine data calculation of being received are inconsistent, owing in step S79, can become " N ", therefore, be corresponding inspection summary data with the data of the table 18a1 of RAM 18a and understand destroyed.

Claims (6)

1, a kind of method for down loading, it mainly is to accept the control program that is downloaded via telephone line from epigyny device by execution is stored in the 1st downloading of memory body one, and will be stored in the 2nd memory body, execution is stored in the terminal installation that the control program of the 2nd memory body serves, and it is characterized in that:
To have the emergency services functional programs and be stored in advance in the 3rd memory body, check receive and be stored in control program in above-mentioned the 2nd memory body, when this check result takes place when unusual, then carry out the program of above-mentioned the 3rd memory body.
2, method for down loading as claimed in claim 1, it is characterized in that: above-mentioned control program be stored in above-mentioned the 2nd memory body before, in advance this control program is stored in the 4th memory body, when the check result of the control program that is stored in above-mentioned the 2nd memory body takes place when unusual, then carry out the control program of above-mentioned the 4th memory body.
3, method for down loading as claimed in claim 2, it is characterized in that: above-mentioned the 1st, the 3rd memory body and the 4th memory body are located at the interior different address area of same section respectively, and the above-mentioned the 2nd and the 3rd memory body is located at the interior identical field, address of different sections respectively, through switching section, above-mentioned control program can be stored in the 2nd memory body.
4, method for down loading as claimed in claim 1, it is characterized in that: above-mentioned control program be stored in above-mentioned the 2nd memory body before, in advance this control program is stored in and has and the identical address area of above-mentioned the 2nd memory body, and be positioned at the 5th memory body of different sections, the check result of the control program in being stored in above-mentioned the 2nd memory body takes place when unusual, then carries out the control program of above-mentioned the 5th memory body.
5, a kind of method for down loading, it mainly is to accept the control program that is downloaded via telephone line from epigyny device by execution is stored in the 1st downloading of memory body one, and in the 2nd memory body that is stored in the address area different of inciting somebody to action with the 1st memory body, there is the control program of the 2nd memory body in execution by the mansion and in the terminal installation of serving, it is characterized in that:
Dispose a plurality of above-mentioned the 2nd memory bodys, and being positioned on the identical address of making, and become different sections, and according to the section number, a plurality of the 2nd memory bodys are divided into 2 groups, the 3rd memory body in the address area different with the 1st memory body and the 2nd memory body, then be provided with the table that the section number of the number of above-mentioned control program and the 2nd memory body is remembered in pairs, before the above-mentioned control program of download, when receiving from the number of this control program of above-mentioned center fixture and writing the address, then can select the section number of the 2nd memory body according to the value of above-mentioned table, according to the above-mentioned address that writes, the control program that is downloaded is stored in the 2nd memory body of the group that belongs to different with the group of selected section number.
6, method for down loading as claimed in claim 5 is characterized in that: when control program is stored in the 2nd memory body, upgrade the table of above-mentioned the 3rd memory body, and the value of the table that upgraded is copied to the 2nd specific memory body.
CN 96103982 1995-03-29 1996-03-28 Unloading method Pending CN1148768A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP71403/1995 1995-03-29
JP7140395 1995-03-29

Publications (1)

Publication Number Publication Date
CN1148768A true CN1148768A (en) 1997-04-30

Family

ID=13459523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 96103982 Pending CN1148768A (en) 1995-03-29 1996-03-28 Unloading method

Country Status (2)

Country Link
CN (1) CN1148768A (en)
MY (1) MY125610A (en)

Also Published As

Publication number Publication date
MY125610A (en) 2006-08-30

Similar Documents

Publication Publication Date Title
CN1083657C (en) Method and apparatus for determining the telephony features assigned to a telephone
CN1086090C (en) Automatic prefix dialing system and methods for mobile radiotelephones
CN1106129C (en) Call forwarding function for a portable radio communications device
CN1299551A (en) System and method for use of feature codes in a wireless communication device
CN1902609A (en) System and method for establishing a communication between a peripheral device and a wireless device
CN1289499A (en) Method and apparatus for automatic telephone area code dialing
CN1309787A (en) Changing functionality of module terminal in wreless network
CN1148768A (en) Unloading method
CN1154335C (en) Portable telephone and portable telephone system
CN1149795C (en) Advanced service architecture for next generation network services and intelligent data network router
CN1406083A (en) Method of packet calling route in SGSN of mobile communication
CN1123241C (en) Network number management system and switch
JP3152144B2 (en) How to download
CN1194511C (en) Subscriber card, subscriber connecting unit and relay centre for concentrating internet frames
CN1071970C (en) Communication system
CN1275019A (en) Method for mounting phone key for access network service
JP3475920B2 (en) How to download
CN101047898A (en) Fail call notice system and method capable of implementing fail call redial
CN1109430C (en) Telephone device with software upgrading function
CN1157039C (en) Equipment for searching dial data and its method
CN1113100A (en) Representing subscribers in a multiple interface environment switching system
CN1301125A (en) Wireless native loop interconnect network system
CN1199488C (en) Method for realizing automatic paging of exchange equipment and exchange equipment capable of automatic paging
CN1104823A (en) Multifunctional microcomputerized telephone system
CN1825876A (en) Method of multi-party telephone conference

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