Database network system6484184Abstract A database network system is capable of recognizing in a short time (within several minutes) the state of damage or the like of city lifelines (waterworks, electricity, and gas supplies) over a whole city. A database network system according to the present invention includes a center station, relay database stations (RDSs), and terminal stations. A terminal station group includes a plurality of terminal stations for acquiring changing information to accumulate the information as data and for transmitting the data as requested. Each of the plurality of relay database stations (RDSs) is arranged for the terminal station group, and accumulates pieces of information sequentially received from the terminals as specific data and other data and transmits the data as requested. The center station sequentially receives parts of the specific data and other data of an arbitrary one of the relay database stations (RDSs) from the corresponding relay database station, performs a receiving operation of all the data and the specific information data a plurality of times by performing the receiving operation a plurality of times, and accumulates the data as needed. Claims What is claimed is: Description BACKGROUND OF THE INVENTION
TABLE 1
UNIT QUANTITY OF INFORMATION TOTAL
QUANTITY
(NUMBER) (BYTES)/UNIT (BYTES)
HOUSE TERMINAL p.sub.2 .times. p.sub.1 100
100 .times. p.sub.2 .times. p.sub.1
LEVEL
RDS LEVEL p.sub.1 100 .times. p.sub.2 100 .times.
p.sub.2 .times. p.sub.1
10 .times. p.sub.2 10 .times.
p.sub.2 .times. p.sub.1
CENTER STATION 1 100 .times. p.sub.2 .times. p.sub.1 100
.times. p.sub.2 .times. p.sub.1
10 .times. p.sub.2 .times. p.sub.1 .times.
24 .times. 60/T.sub.1 10 .times. p.sub.2 .times. p.sub.1 .times. 24
.times. 60/T.sub.1
24. This system is a system which basically receives lifeline information of 100.times.p.sub.2.times.p.sub.1 bytes generated by the house terminals and accumulates the information in the relay/database station (RDS) layer and the center station. The data generated by data processing in the system are accumulated in the layer in which the data are generated and the layer thereabove. 25. The memory capacity which must be held by the system is basically twice (the number of layers). To this memory capacity, a capacity which is twice (RDS and center station) the quantity of data generated in the system is added. 26. For the cost of doubling the memory capacity, the function of collecting information having a high degree of emergency for a short time can be obtained. 27. The high-speed database devices are distributed to make it possible to realize a network which is appropriate to achieve the objects of the invention by using a communication path having a limited data transmission rate. 28. The network in which the high-speed database devices are distributed use a communication path having a limited data transmission rate is called a database network. 29. The database network technique becomes a practically useful technique by the development of the high-speed database technique and a reduction in price of a large-scale memory. 30. (Approximate definition of the high-speed database) The effective data transmission rate r.sub.1 of the upper polling layer is given by: 1/r.sub.1 =1/r.sub.d1 +1/r.sub.u1, where r.sub.d1 is a data transmission rate (bps) of a communication line for connecting an RDS and the center station, and r.sub.u1 is a data updating rate of a database in the center station. The effective data transmission rate r.sub.2 of the lower polling layer is given by: 1/r.sub.2 =1/r.sub.d2 +1/r.sub.u2, where r.sub.d2 is a data transmission rate of a communication line for connecting a house terminal station and an RDS, and r.sub.u2 is a data updating rate of a database in the RDS. A database which satisfies r.sub.d1 <<r.sub.u1 and r.sub.d2 <<r.sub.u2 is defined as a high-speed database. 31. (Method of determining the number of relay/database stations (RDS) p.sub.1) A penalty function is defined for the database network by the following equation: f=a.sub.1 p.sub.1 +a.sub.2 p.sub.2, where a.sub.1 and a.sub.2 are communication error generation rates per line connection in the upper polling layer and the lower polling layer. Since p.sub.2.times.p.sub.1 is equal to the number (C) of house terminals, p.sub.2.times.p.sub.1 =C is satisfied. When the above equations are combined, the following equation is obtained: f=a.sub.1 p+a.sub.2 (C/p.sub.1). When the penalty function f has an extreme value when .delta.f/.delta.p.sub.1 =0 is satisfied: .delta.f/.delta.p.sub.1 =a.sub.1 -a.sub.2 (C/p.sub.1.sup.2)=0. Therefore, the following equations are obtained: p.sub.1 =(a.sub.2 /a.sub.1).sup.(1/2).times.(C).sup.(1/2) p.sub.2 =(a.sub.1 /a.sub.2 ).sup.(1/2).times.(C).sup.(1/2). When p.sub.1 and p.sub.2 are selected according to the above equations, the expected value of the communication error rate of the whole network is minimized. EXAMPLE Design of a two-layer polling information collection/monitor system (Example 1) which is one example of database networks will be described below. (Requirement) The number of all house terminals=p.sub.2.times.p.sub.1 =2.sup.18 =262144 Requirement for polling period time T.sub.1 : T.sub.1.ltoreq.5 minutes (Design) The number (n) of divided portions of 100 byte data=10 Required upper polling layer data transmission rate: r.sub.1 >139.81 kbps The number of RDS: p.sub.1 =1024 (selected by designer) The number of house terminals/the number of RDS: p.sub.2 =262144/1024=256 Required lower polling layer data transmission rate: r.sub.2 >682.7.times.(1+.delta.)=685 bps. Event change information collection time: one polling period=5 minutes Detailed lifeline information collection time: T.sub.1.times.n=50 minutes Database memory in RDS: 25.6 kilobytes+2.56 kilobytes=28.2 kilobytes Database memory in center station: 26.2 MB (one frame of lifeline information) and 2.62.times.24.times.60/5=755 MB (event change information for 24 hours) (Adequacy of p.sub.1 and p.sub.2 Selection) Assumption 1: It is assumed that the ratio of the error generation rate a.sub.1 per line connection in the upper polling layer to the error generation rate a.sub.2 per line connection in the lower polling layer is 1:1. In this case, the number of RDSs which minimize the error generation rate of the whole network is given by: p.sub.1 =p.sub.2 =(C).sup.(1/2) =(262144).sup.(1/2) =512. Assumption 2: It is assumed that the ratio of a.sub.1 to a.sub.2 is 1:4. In this case, the number of RDSs which minimize the error generation rate of the whole network is given by: p.sub.1 =(a.sub.2 /a.sub.1).sup.(1/2).times.(C).sup.(1/2) =2.times.512=1024 p.sub.2 =(a.sub.1 /a.sub.2).sup.(1/2).times.(C).sup.(1/2) =0.5.times.512=256 The upper-layer communication line error generation rate may be frequently higher than the lower-layer communication line error generation rate. In this case, the number selected by the designer is adequate. When the database network technique is extended to increase the number of layers of the network from two to three, the characteristics of the database network described above can be extended. 1. FIG. 2 is a conceptual diagram of the configuration of a three-layer database network according to the second embodiment. In this configuration, a relay database has two layers, i.e., an upper layer and a lower layer. A center station 101 comprises a main database 101A. The center station 101 polls upper-layer relay database stations 103.sub.1, 103.sub.2 to 103.sub.p1 included in an upper-layer relay database station group 103 to collect data of the upper-layer relay database stations. Each upper-layer relay database station polls lower-layer relay database stations of a related lower-layer relay database station group to collect data of the lower-layer relay database stations. The upper-layer relay database station 103.sub.1 polls lower-layer relay database stations 104.sub.11 to 104.sub.1p2 related to the upper-layer relay database station 103.sub.1 to collect data of the lower-layer relay database stations. The lower-layer relay database station polls terminal stations of a terminal station group related to the lower-layer relay database station to collect data of each terminal station. For example, the lower-layer relay database station 104.sub.11 polls terminals 105.sub.111 to 105.sub.11p3 of the terminal station group related to the lower-layer relay database station 104.sub.11. A lower-layer relay database station 104.sub.p1p2 polls terminal stations 105.sub.p1p21 to 105.sub.p1p23 of a terminal station group related to the lower-layer relay database station 104.sub.p1p2. A dotted line 106 indicates upper-layer communication, and the effective data transmission rate of the upper-layer communication is represented by r.sub.1. A dotted line 107 indicates intermediate-layer communication, and the effective data transmission rate of the intermediate-layer communication is represented by r.sub.2. A dotted line 108 indicates lower-layer communication, and the effective data transmission rate of the lower-layer communication is represented by r.sub.3. 2. More specifically, in addition to arrangement of the main database 101A in the center station 101, databases (not shown) are also distributed in the lower-layer relay stations and the upper-layer relay stations. 3. The lower-layer and upper-layer relay stations in which high-speed databases are arranged are called a lower-layer relay database station (lower-layer RDS) and an upper-layer relay database station (upper-layer RDS). 4. In FIG. 2, the lower-layer RDS mainly has four functions. (1) Communication control of a lower polling layer. (2) Acquisition of lifeline information (100 bytes/terminal) from a house terminal. (3) Data having a high degree of emergency is extracted, and data sets (event change information) of (10 bytes/terminal).times.p.sub.3 are generated. (4) Division of lifeline information of 100 bytes/terminal (the number of divided portions is n.sub.3), and holding of the divided portions for a predetermined period of time. 5. In FIG. 2, the upper-layer RDS mainly has five functions. (1) Communication control of an intermediate polling layer. (2) Acquisition of event change information (10 bytes.times.p.sub.3) from the lower-layer RDS. (3) Acquisition of lifeline information ((100 bytes/n.sub.3).times.p.sub.3) from the lower-layer RDS. (4) Accumulation and holding of the lifeline information ((100 bytes/n.sub.3).times.p.sub.3).times.p.sub.2 acquired from the lower-layer RDSs of p.sub.2 stations. (5) Data having an intermediate degree of emergency is extracted from the lifeline information, and data sets of (20 bytes/terminal).times.p.sub.3.times.p.sub.2 (called maintenance information) are generated. (6) Division of the maintenance information of (20 bytes/terminal).times.p.sub.3.times.p.sub.2 (the number of divided portions is n.sub.2), and holding of the divided portions for a predetermined period of time. 6. The center station sequentially polls the upper-layer RDSs of the p.sub.1 stations to collect event change information and maintenance information or event change information and detailed information. For one polling period, [(10+20/n.sub.2).times.p.sub.3.times.p.sub.2 ] bytes are collected from the upper-layer RDSs. 7. As a result of item 6, every polling period, pieces of event change information of (10 bytes/terminal).times.p.sub.3.times.p.sub.2.times.p.sub.1 are collected. Here, p.sub.3.times.p.sub.2.times.p.sub.1 is the total number of house terminals. 8. As a result of item 6, every n.sub.2 polling periods, pieces of maintenance information of (20 bytes/terminal).times.p.sub.3.times.p.sub.2.times.p.sub.1 are collected. More specifically, the pieces of maintenance information are collected from all the house terminals every n.sub.2 periods. 9. The pieces of lifeline information (100 bytes/terminal).times.p.sub.3.times.p.sub.2 are accumulated and held in the databases in the upper-layer RDSs for a predetermined period of time. 10. In place of the maintenance information, lifeline information is transmitted to the center station as needed. 5.times.n.sub.2 polling periods are required. 11. Each upper-layer RDS sequentially polls lower-layer RDSs of the p.sub.2 stations to collect event change information and lifeline information. For one polling period, [(10+20/n.sub.3).times.p.sub.3 ] bytes are collected from the lower-layer RDSs. 12. The following is apparent from items 7 to 11. From all the house terminals to the center station, (1) event change information having a high degree of emergency is transmitted for a short time (every polling period T1), (2) maintenance information having a second-high degree of emergency is transmitted in n.sub.2 polling periods, and (3) lifeline information is transmitted for 5.times.n.sub.2 polling periods, if necessary. The above three objects can be achieved by using one information transmission path. 13. An upper-layer polling period T.sub.1 is given by the following equation: T.sub.1 =[8.times.(10+20/n.sub.2).times.p.sub.3.times.p.sub.2.times.p.sub.1 ]/r.sub.1 where r.sub.1 is the effective data transmission rate of the upper polling layer. 14. An intermediate-layer polling period T.sub.2 is given by the following equation: T.sub.2 =[8.times.(10+100/n.sub.3).times.p.sub.3.times.p.sub.2 ]/r.sub.2 where r.sub.2 is an effective data transmission rate of the intermediate polling layer. 15. A lower-layer polling period T.sub.3 is given by the following equation: T.sub.3 =(8.times.100.times.p.sub.3)/r.sub.3 where r.sub.3 is the effective data transmission rate of the lower polling layer. 16. In order to ensure that data collected in the center station and the upper layer RDS is the latest data, the condition T.sub.1.gtoreq.T.sub.2.gtoreq.T.sub.3 must be satisfied. 17. When the condition T.sub.1 =T.sub.2 =T.sub.3 is satisfied, the data transfer efficiency is 100%. Under this condition, r.sub.1, r.sub.2, and r.sub.3 have the following relationships: r.sub.2 =r.sub.1.times.(1/p.sub.1).times.(10+100/n.sub.3)/(10+20/n.sub.2) r.sub.3 r.sub.2.times.(1/p.sub.2).times.[100/(10+100/n.sub.3)]=r.sub.1.times.(1/p. sub.1).times.(1/p.sub.2).times.[100/(10+20/n.sub.2)] 18. Actually, r.sub.2 and r.sub.3 are set to be slightly higher than the above values. r.sub.2 =r.sub.1.times.(1/p.sub.1).times.(10+100/n.sub.3)/(10+20/n.sub. 2).times.(1+.delta.) r.sub.3 =r.sub.1.times.(1/p.sub.1).times.(1/p.sub.2).times.[100/(10+20/n.sub. 2)].times.(1+.delta.) where .delta.<<1. 19. The memory capacity required for a database in a lower-layer RDS: (1) 100.times.p.sub.3 bytes: 100 bytes of data are collected from the house terminals and stored. (2) 10.times.p.sub.3 bytes: 10 bytes are extracted from 100 bytes and stored. 20. The memory capacity required for a database in an upper layer RDS: (1) 100.times.p.sub.3.times.p.sub.2 bytes: 100 bytes of data are collected from the house terminals, stored, and held. (2) 20.times.p.sub.3.times.p.sub.2 bytes: 20 bytes of data are extracted from 100 bytes and held. (3) 10 bytes.times.p.sub.3.times.p.sub.2 bytes: event change data of p.sub.3.times.p.sub.2 house terminals are collected and stored. 21. The memory capacity required for a database in the center station: (1) 100.times.p.sub.3.times.p.sub.2.times.p.sub.1 bytes: Pieces of lifeline information collected from all the house terminals are stored and held. (2) 20.times.p.sub.3.times.p.sub.2.times.p.sub.1 bytes: A latest F frame of pieces of maintenance information collected from all the house terminals is stored and held. (3) 10.times.p.sub.3.times.p.sub.2.times.p.sub.1.times.(24.times.60/T.sub.1): event change information for the latest 24 hours is stored and held. 22. (Data quantity of each layer of system)
TABLE 2
UNIT QUANTITY OF INFORMATION TOTAL
QUANTITY
(NUMBER) (BYTES)/UNIT (BYTES)
HOUSE TERMINAL p.sub.3 .times. p.sub.2 .times. p.sub.1 100
100 .times. p.sub.3 .times. p.sub.2 .times. p.sub.1
LEVEL
LOWER-LAYER p.sub.2 .times. p.sub.1 100 .times. p.sub.3
100 .times. p.sub.3 .times. p.sub.2 .times. p.sub.1
RDS LEVEL 10 .times. p.sub.3 10 .times.
p.sub.3 .times. p.sub.2 .times. p.sub.1
UPPER-LAYER p.sub.1 100 .times. p.sub.3 .times. p.sub.2 100
.times. p.sub.3 .times. p.sub.2 .times. p.sub.1
RDS LEVEL 10 .times. p.sub.3 .times. p.sub.2 10
.times. p.sub.3 .times. p.sub.2 .times. p.sub.1
20 .times. p.sub.3 .times. p.sub.2 20
.times. p.sub.3 .times. p.sub.2 .times. p.sub.1
CENTER STATION 1 100 .times. p.sub.3 .times. p.sub.2 .times.
p.sub.1 100 .times. p.sub.3 .times. p.sub.2 .times. p.sub.1
10 .times. p.sub.3 .times. p.sub.2 .times.
p.sub.1 .times. 24 .times. 60/T.sub.1 10 .times. p.sub.3 .times. p.sub.2
.times. p.sub.1 .times. 24 .times. 60/T.sub.1
20 .times. p.sub.3 .times. p.sub.2 .times.
p.sub.1 .times. F 20 .times. p.sub.3 .times. p.sub.2 .times. p.sub.1
.times. F
23. (Time required to collect three types of information)
TABLE 3
QUANTITY OF INFORMATION COLLECTION
TIME
(BYTES) (MIN)
DETAILED LIFELINE INFORMATION 100 .times. p.sub.3 .times. p.sub.2
.times. p.sub.1 T.sub.1 .times. (n.sub.3 + n.sub.2 .times. 5)
EVENT CHANGE INFORMATION 10 .times. p.sub.3 .times. p.sub.2
.times. p.sub.1 T.sub.1
MAINTENANCE INFORMATION 20 .times. p.sub.3 .times. p.sub.2
.times. p.sub.1 T.sub.1 .times. (n.sub.3 + n.sub.2)
24. Pieces of lifeline information are classified into three types according to the degree of emergency of information collection. 25. Event change information having the highest degree of emergency is collected for a short time (T.sub.1 minutes). 26. Three types of information are transmitted from a house terminal to the center station by using one communication path. In order to make this possible, lower-layer RDSs and upper-layer RDSs are distributed in the middle of the communication path. Event change information is generated in the lower-layer RDS, and maintenance information is generated in the upper-layer RDS. 27. Required quantities of memory are added to distributed high-speed databases, so that various data processing functions can be achieved. A database network having characteristics depending on the object can be structured. 28. (Method of determining the number of upper-layer relay/database stations p.sub.1 and the number of lower-layer relay database stations p.sub.2) A penalty function is defined for the database network having a three-layer structure by the following equation: f=a.sub.1.times.p.sub.1 +a.sub.2.times.p.sub.2 +a.sub.3.times.p.sub.3, where p.sub.1.times.p.sub.2.times.p.sub.3 =C, the number of house terminals. A procedure for determining p.sub.1, p.sub.2, and p.sub.3 will be considered in two steps. First, p.sub.1 is regarded as a constant, and the relationship between p.sub.2 and p.sub.3 is determined. Under this condition, the value of p.sub.1 is determined. p.sub.2.times.p.sub.3 =C/p.sub.1 Since the right-hand side is regarded as a constant, p.sub.3 =(C/p.sub.1)(1/p.sub.2) Here, a penalty function f.sub.2 about the relationship between p.sub.2 and p.sub.3 is defined. ##EQU1## p.sub.2 which gives the extreme value of f.sub.2 will be calculated. .delta.f.sub.2 /.delta.p.sub.2 =a.sub.2 p.sub.2 -a.sub.3 (C/p.sub.1)(1/p.sub.2.sup.2)=0 From the above equation, p.sub.2 =(a.sub.3 /a.sub.2).sup.(1/2).times.(C/p.sub.1).sup.(1/2) is obtained. Therefore, p.sub.3 is given by: p.sub.3 =(a.sub.2 /a.sub.3 ).sup.(1/2).times.(C/p.sub.1).sup.(1/2). When these values are put in the equation for defining f, the following equation is satisfied: ##EQU2## From the above equation, p.sub.1 which gives the extreme value of f will be calculated. .delta.f/p.sub.1 =a.sub.1 -(a.sub.2 a.sub.3 C).sup.(1/2).times.[1/(p.sub.1.sup.(3/2))]=0 Therefore, p.sub.1.sup.3 =a.sub.2 a.sub.3 C/a.sub.1.sup.2 or p.sub.1 =(a.sub.2 a.sub.3 /a.sub.1.sup.2).sup.(1/3).times.(C).sup.(1/3) is satisfied. The value is substituted in the expressions of p.sub.2 and p.sub.3 : ##EQU3## These values satisfy p.sub.1.times.p.sub.2.times.p.sub.3 =C. It is assumed that a.sub.1, a.sub.2, and a.sub.3 denote communication error generation rates per line connection of the upper-layer polling, the intermediate-layer polling, and the lower-layer polling, respectively. In this case, when p.sub.1, p.sub.2, and p.sub.3 are set to be the above values, the communication error generation rate of the whole network is minimized. Example A design of a three-polling information collection/monitor system will be described with reference to an example (Example 2) of a database network. (Design of Three-layer Polling Information Collection/monitor System) (Requirements) The number of all house terminals=p.sub.3.times.p.sub.2.times.p.sub.1 =2.sup.19 =524288 Requirement for polling cycle period T.sub.1 :T.sub.1.ltoreq.5 minutes (Design) The number of divided portions of 20 bytes data: n.sub.2 =4 (selected by designer) Required upper polling layer data transmission rate: r.sub.1.gtoreq.209.7 kbps The number of upper-layer RDSs: p.sub.1 =512 (selected by designer) The number of divided portions of 100 bytes data: n.sub.3 =5 (selected by designer) Required intermediate polling layer data transmission rate: r.sub.2.gtoreq.819.1.times.(1+.delta.)=820 bps The number of lower-layer RDSs/the number of upper-layer RDSs: p.sub.2 =32 (selected by designer) The number of house terminals/the number of intermediate-layer RDSs: p.sub.3 =524288/512.times.64=16 Required lower polling layer data transmission rate: r.sub.3.gtoreq.42.7.times.(1+.delta.)=43 bps Event change information collection time: one polling period=5 minutes Maintenance information collection time: T.sub.1.times.(n.sub.3 +n.sub.2)=45 minutes Detailed lifeline information collection time: T.sub.1.times.(n.sub.3 +n.sub.2.times.5)=125 minutes Database memory in lower-layer RDS: 1.6 kB+0.16 kB=1.76 kB 32768 sets of the above database memories are used. Database memory in upper-layer RDS: 102.4 kB+10.24 kB+20.48 kB=133.13 kB 512 sets of the above database memories are used. Database memory in center station: 52.43 MB (one frame of lifeline information), 104.9 MB (10 frames of maintenance information), and 1.51 GB (event change information for 24 hours) Adequacy of p.sub.1, p.sub.2, and p.sub.3 selection will be examined. (C).sup.(1/3) =(524288).sup.(1/3) =80.64 The following are assumed. (a.sub.2 /a.sub.1)=8 and (a.sub.3 /a.sub.1)=16 On the above assumptions, when p.sub.1, p.sub.2, and p.sub.3 are calculated, the following results are obtained: ##EQU4## Selected by designer: p.sub.1 =512 p.sub.2 =64 p.sub.3 =16 These values are close to the design values obtained when a communication error is minimized. When the database network system is to be used for emergency notification during the occurrence of a large earthquake, it must be assured according to the object of the invention that the database network system has been normally operating. The operational condition must at least be accurately recognized. For this reason, the database network system is continuously operated, and the main database of the center station is designed to always hold the history of the operation by accumulating specific information data or specific information data and other data for a predetermined period of time. Therefore, it can be determined whether an accident or the like is caused by the disaster. Since the database network system according to the present invention collects information without interruption as described above, the database network system can collect an enormous quantity of information. For this reason, not only the lifeline data described above, but also a large quantity of other information can be collected. More specifically, as a combination of the pieces of changing information, combinations of data for reading meter values included in lifeline data of meters, data for collecting/monitoring information related to various maintenance jobs, and information data related to security, care of elderly people, water pressures of fire hydrants, and monitors of air-conditioners can be employed. Various modifications of the embodiments described in detail above can be effected without departing from the range of the spirit and scope of the present invention. Although RDSs having one layer and two layers are exemplified, the number of layers of the RDS can be increased to three or more. In this case, the method of design described above can be similarly applied. Although the database network system according to the present invention has been described above in detail with reference to collection of emergency information of city lifelines, the database network system can also be used to collect other information as described above. In the embodiments, although a radio communication medium is used as a communication medium, a cable communication network including optical fiber communications can also be established and used. Cable communications and radio communications can be selectively used in different layers, and can be selectively used in different areas.
|
Same subclass Same class Consider this |
||||||||||
