CN1177283C - Network system, supervisory method of main memory resident data and storage medium - Google Patents

Network system, supervisory method of main memory resident data and storage medium

Info

Publication number
CN1177283C
CN1177283C CNB021084718A CN02108471A CN1177283C CN 1177283 C CN1177283 C CN 1177283C CN B021084718 A CNB021084718 A CN B021084718A CN 02108471 A CN02108471 A CN 02108471A CN 1177283 C CN1177283 C CN 1177283C
Authority
CN
China
Prior art keywords
item
computing machine
main memory
request
resident data
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.)
Expired - Fee Related
Application number
CNB021084718A
Other languages
Chinese (zh)
Other versions
CN1379340A (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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Publication of CN1379340A publication Critical patent/CN1379340A/en
Application granted granted Critical
Publication of CN1177283C publication Critical patent/CN1177283C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Multi Processors (AREA)

Abstract

In computer network system, the setting for initial value of main memory resident data are not depend upon backup data of disk, and giving main memory resident data possibly limitations high speed access property in application program. In the network system, where the application program of plural computer that contribute a network, and the main memory resident data access by the application program distribute in individual computer, and in each computer having: a transaction accept device which accept the transaction request from application program, a transaction process device which process the accepted transaction request, a transaction dispatch device which dispatch the accepted transaction request to other computer, a transaction receive device which receive the transaction request from the other computer, a system exercise device which exercise the location of main memory resident data.

Description

The management method of the resident data of network system and main memory
Technical field
The resident data of main memory of many computer application programs, this application program access that the present invention relates to constitute network by the management method of the network system of decentralized configuration in each computing machine, the resident data of main memory, and realize the computer-readable storage medium that this management method is used.
Background technology
In computer system,, take application data as the resident method of main memory usually in order to improve processing speed.Usually the back-up storage of the resident data of main memory when computer starting, is set initial value by load the resident data of main memory from dish in disk storage.
With the backup is the resident data of main memory the writing from low viewpoints of processing speed such as dish I/O waits in dish of purpose, can not all carry out the renewal of the resident data of main memory at every turn.
Usually carry out the resident data of main memory writing in dish with some cycles, the resident data of main memory writing in dish is fashionable finishing, the content of resident data of main memory and dish data has identical state, after this, before in dish, writing the resident data of main memory next time, according to the resident data of application program update main memory, so the state of dish data is different with the state of the resident data of main memory.
Therefore, when starting computing machine,, also may not recover computing machine and stop the resident data of preceding main memory even set the resident data of main memory after loading the Backup Data that writes in the dish.
In addition, in disperseing computer system, the resident data of main memory are managed independently with each machine units, can not establish by disperseing the computer system holistic management to disperse the structure of the resident data of main memory.
Therefore, for zero access, be at a high speed under the local access on the computing machine that these data exist as the resident data of main memory, but, then can not bring into play the resident zero access characteristic of main memory for access from other computing machine that passes through network.
Summary of the invention
The invention solves the problems referred to above, purpose is to provide a kind of method, in disperseing computer system, during the initial value of resident data such as the main memory when setting computer starts etc., do not rely on as the Backup Data that writes the resident data of main memory in the dish in advance, set the initial value of the resident data of main memory, simultaneously, in disperseing computer system, come the resident data of hidden main memory to be present in which computing machine by application program, make application program realize the zero access to the resident data of main memory that may reach.
In order to address the above problem, according to network system of the present invention, the resident data of main memory that constitute many computer application programs of network and this application program of access by decentralized configuration in each computing machine, it is characterized in that: have in each computing machine: item is handled and is accepted parts, accepts to handle request from the item of application program; Item processing execution parts are carried out the item that receives and are handled request; Item is handled transmit block, sends the item that receives to other computing machine and handles request; Item is handled receiving-member, receives from the item of other computing machine and handles request; With the system employs parts, the positional information of the resident data of utilization main memory.
Handle when accepting parts and accepting to handle request when item, this request is passed to item processing execution parts from the item of application.Item processing execution parts inquiry system utilization parts are determined the manner of execution that item is handled, and this item is handled request pass to item processing transmit block.Item is handled the transmit block inquiry system and is used parts, infers to send other computing machine that this item is handled request, handles receiving-member to the item of this computing machine and sends item processing request.Item is handled receiving-member will pass to item processing execution parts from the item processing request that other computing machine receives.
According to the present invention, in all computing machines that constitute dispersant system, because the resident data of main memory are identical, so can come the position of the resident data of hidden main memory by application program, in addition, because the application program of the resident data of frequent updating main memory and the main memory of upgating object are resided data configuration in identical computing machine, so can carry out the main memory data access of higher speed.
According to network system of the present invention, in described network system, it is characterized in that: also have item and handle the recovery parts, be used to keep the continuity of the request of handling from the item that other computing machine receives.
Handle when accepting parts and accepting to handle request when item, this request is passed to item processing execution parts from the item of application.Item processing execution parts inquiry system utilization parts are determined the manner of execution that item is handled, and this item is handled request pass to item processing transmit block.Item is handled the transmit block inquiry system and is used parts, infers to send other computing machine that this item is handled request, handles receiving-member to the item of this computing machine and sends item processing request.Item is handled receiving-member will pass to item processing execution parts from the item processing request that other computing machine receives.Wherein, under in-problem situation on the item processing continuity, item processing execution parts use the item processing to recover the continuity that parts recover the item processing.
According to the present invention, even under the situation that missed events is handled because network failure etc. takes place, also can handle and carry out the item processing once more according to the item of omitting, because the resident data of the main memory in all computing machines can be remained under the equivalent state, so can be to disperseing computer system to provide reliability higher structure.
According to network system of the present invention, in above-mentioned described network system, it is characterized in that: also have the initial value set parts, the resident data of the main memory of the computing machine during according to computer starting in other running are set the initial value of the resident data of main memory of oneself.
When being necessary when computer starting etc. to set the initial value of the resident data of main memory, the initial value set parts is handled the transmit block transmission to item and is set the item that initial value uses and handle request.Item is handled transmit block inquiry system management function, infers to send the computing machine that item is handled, and item is handled the item processing receiving-member that request sends to this computing machine.
Item is handled receiving-member the item processing request that receives is passed to the initial value set parts.The initial value set parts is made the necessary item of initial value of setting the resident data of main memory and is handled according to request, and passes to item processing transmit block.
Item is handled transmit block and will be handled request from the item that item processing execution parts transmission being used to of coming set the resident data initial value of main memory and send to the essential item of setting the first calculated machine of the resident data initial value of main memory and handle receiving-member.
The item processing request that item processing receiving-member will be used to set the initial value of the resident data of main memory that receive passes to item processing execution parts.Item processing execution parts are handled request according to transmitting the item of coming, and the local main memory of oneself is resided the processing that data are carried out item, set the initial value of the resident data of main memory.
According to the present invention, constitute to disperse between many computing machines of computer system, even because in the computing machine that not have dish, also can set the initial value of the resident data of main memory, so the resident data of main memory can be used as each other Backup Data.In addition, because can make the resident data of own main memory, so can be set at the initial value that main memory is resided data by the last look when starting computing machine from the resident data of the main memory of other computing machine of real-time update.
According to network system of the present invention, in described network system, it is characterized in that: also have item and handle holding member, when the initial value of the resident data of the main memory of setting oneself, preserve from the item of other computing machine reception and handle request.
When the startup of computing machine, the initial value of the resident data of main memory is set and is undertaken by described method.Item is handled holding member when setting the initial value of the resident data of main memory, and preservation is handled request from the item that other computing machine receives, and after the initial value setting of the resident data of main memory finishes, the item of preserving is handled request be given to the processing of item processing execution.
According to the present invention, when setting the initial value of the resident data of own main memory when computer starting etc., handle request because be lost in the item that receives during the setting, so can keep the continuity of item processing.
According to network system of the present invention, in described network system, it is characterized in that: also have second item and handle to recover parts, handle when item and recover parts and be judged as can not recover the time, the item of using the initial value set parts to make is handled and is carried out the recovery that item is handled.
According to the present invention, produce because of momentary network failure item handle produce in the request when omitting can not recover by first restoration methods, when handling the omission of request, can provide the recovery parts through long item.
In the time can not carrying out the item processing again, also can make the state of the resident data of main memory that constitute each computing machine that disperses computer system identical.
According to network system of the present invention, it is characterized in that: except that described network system, also have the power of renewal management component, switch the renewal power which computing machine upgrades the resident data of main memory of the resident data of original main memory.
According to the present invention, in having the resident data computing machine system of main memory, can construct multiplex system or redundant system.
Management method according to dispersion main memory data of the present invention, management has application program and resides data by the main memory of application program access, and the resident data of main memory of a plurality of computing machines that connect by network each other, it is characterized in that: a computing machine is accepted to handle request from the item of application program, reside the positional information of data according to the main memory of storage, extraction should send other computing machine that described item is handled request, must send described item to handle request to described other computing machine, described other computing machine receives the described item processing request of sending from a described computing machine, the resident data of the main memory of described other computing machine is carried out item handle.
According to the present invention, can successfully manage and have application program and reside data by the main memory of the resident data of the main memory of application program access and a plurality of computing machines of being connected by network each other.
Can have application program and resident data computing is machine-readable gets by each main memory of the resident data of the main memory of application program access and a plurality of computing machines of being connected by network each other by management according to recording medium of the present invention, it is characterized in that: store and carry out the following program of handling in computing machine: acceptance is from the item processing processing of request of application program; According to the positional information of the resident data of the main memory of storing, extraction should send the processing that the item that receives is handled other computing machine of request; Send the described item that receives to described other computing machine and handle processing of request; Receive item and handle processing of request; Handle processing of request with the described item that receives of execution.
Because the present invention is the computer-readable storage medium of the management method of the resident data of the described main memory of storage, so according to the present invention, can realize the main memory data management system by the program of reading from medium.
Description of drawings
Fig. 1 is the block diagram that expression constitutes each parts relationship of network system of the present invention.
Fig. 2 is the epimere of block diagram of the network system (local update) of expression embodiment 1.
Fig. 3 is the hypomere of block diagram of the network system (local update) of expression embodiment 1.
Fig. 4 is the epimere of block diagram of the network system (remote update) of expression embodiment 1.
Fig. 5 is the hypomere of block diagram of the network system (remote update) of expression embodiment 1.
Fig. 6 is the local update of expression embodiment 1 and the time diagram of remote update.
Fig. 7 is the epimere that item is handled the block diagram of restoration methods in the local update of expression embodiment 2.
Fig. 8 is the hypomere that item is handled the block diagram of restoration methods in the local update of expression embodiment 2.
Fig. 9 is the epimere of block diagram of the main memory data initial value setting method of expression embodiment 3.
Figure 10 is the hypomere of block diagram of the main memory data initial value setting method of expression embodiment 3.
Figure 11 is the time diagram of the resident versions of data (version) of main memory of expression embodiment 3.
Figure 12 is the epimere that the item of expression embodiment 4 is handled the block diagram of maintenance method.
Figure 13 is the hypomere that the item of expression embodiment 4 is handled the block diagram of maintenance method.
Figure 14 is the time diagram that item was handled the Request Processing method during the initial value of the resident data of main memory of expression embodiment 4 was set.
Figure 15 is the epimere that the item of expression embodiment 5 is handled the block diagram of long-time restoration methods of omitting.
Figure 16 is the hypomere that the item of expression embodiment 5 is handled the block diagram of long-time restoration methods of omitting.
Figure 17 is the epimere of block diagram of redundant constructive method of the resident data of main memory of expression embodiment 6.
Figure 18 is the hypomere of block diagram of redundant constructive method of the resident data of main memory of expression embodiment 6.
Embodiment
With accompanying drawing embodiments of the invention are described below.
Fig. 1 is the block diagram that expression constitutes each parts relationship of network system of the present invention.Describe the relation between each parts below in detail.
(embodiment 1)
Fig. 2 and Fig. 3 are the block diagrams about network system of the present invention, and be continuous each other.Fig. 2 represents to constitute the unique computing machine 1 that loads the resident raw data 11 of main memory in the dispersion computer system of many computing machines, and Fig. 3 represents to load 2 in several the computing machines of the resident copy data 21 of main memory that the conduct of this raw data duplicates.
In each computing machine, item is handled and to be accepted parts 301 and handled by item and accept formation 21,22 and item and handle and accept program 13,23 and constitute.
Item processing execution parts 302 are made of item processing execution formation 14,24, submission waiting list 15,25 and transaction processing executive 16,26.
Item is handled transmit block 303 and is made of item processing transmit queue 17,27 and item processing router 18,28.
Item is handled receiving-member 304 and is made of item processing reception formation 19,29 and item processing reception program 110,210.
System employs parts 305 are made of systems management data 111,211.
In computing machine 1 and 2, reside data 11,21 though there is main memory respectively, but the resident data 11 of main memory that difference is to be loaded in the computing machine 1 are raw data, carry out at first according to all update transactions processing that the request of application program is carried out, and the resident data 21 of main memory that are loaded in the computing machine 2 are copy data, after in application, upgrading raw data, the duplicating of the raw data of reflection update content.
In computing machine 1 and computing machine 2, have the application program 112 and the application program 212 of the resident data 11,21 of access main memory respectively.
The following describes in the computing machine 1 with the resident data 11 of original main memory, the local update that carries out when application program 112 is carried out the renewal of the resident data 11 of main memory is handled.
The application program 112 of computing machine 1 is handled the renewal of accepting to add in the formation 12 the resident data 11 of main memory to the item of computing machine 1, handles request as item.
The item of computing machine 1 is handled (transaction) and is accepted program 13 and handle from the item of computing machine 1 and accept to take out the formation 12 item that adds in the application program 112 and handle request, join in the item processing execution formation 14 of computing machine 1, simultaneously, in the submission waiting list 15 of computing machine 1, the join request information of the application program 112 that item handles.
The transaction processing executive 16 of computing machine 1 extracts item and handles request from the item processing execution formation 14 of computing machine 1, by contrasting with systems management data 111, when the identification item is handled process object and be the resident data of own local main memory, own local main memory is resided data (original) 11 carry out item processing processing.
The submission waiting list 15 of the transaction processing executive 16 retrieval computing machines 1 of computing machine 1 extracts the information that item is handled application requested 112 of carrying out, to the information of application program 112 notice item processing end.
The transaction processing executive 16 additional marks as the item processing request of oneself carrying out of computing machine 1, the item that adds computing machine 1 is handled transmit queue 17.
The item of computing machine 1 handle router 18 by reference record whether be the systems management data 111 of information that has loaded the computing machine of raw data and copy data, infer that should send item handles the computing machine of request, promptly loads the computing machine of copy data, handle to receive to add in the formation 29 to the item of this computing machine and handle the item of taking out the transmit queue 17 from the item of computing machine 1 and handle request.
The item of computing machine 2 is handled reception program 210 and is taken out the item processing request that the item that adds computing machine 1 is handled router 18, adds the item processing execution formation 24 of computing machine 2.
The transaction processing executive 26 of computing machine 2 is handled because the item of taking out from the item processing execution formation 24 of computing machine 2 is handled the update transaction of asking to be judged as after computing machine 1 is carried out, so handle request according to this item, the resident data (duplicating) 21 of the local main memory of oneself carried out item handle.
According to said method, the change of the resident data of being upgraded by the transaction program 112 of the computing machine 1 with raw data (original) 11 of main memory is reflected on the resident data (duplicating) 21 of main memory of computing machine 2.Local renewal has been described above.
Illustrate that below by Fig. 4 and Fig. 5 application program 212 is being upgraded the remote update processing of carrying out when main memory is resided data in the computing machine that duplicates 2 with the resident data of main memory.Fig. 4 and Fig. 5 are continuous.
The environment of Fig. 4 and Fig. 5 is identical with Fig. 2 and Fig. 3 explanation.Computing machine 1 loads unique original main memory data, and computing machine 2 is one that loads in several the computing machines that duplicate of the resident data of main memory.
The application program 212 of computing machine 2 is handled request with the renewal of the resident data 21 of main memory as item, and the item processing that adds computing machine 2 is accepted in the formation 22.
The item processing of computing machine 2 is accepted program 23 and is accepted to take out the formation 22 the item processing request that has added application program 212 from the item processing of computing machine 2, in the item processing execution formation 4 that adds computing machine 2, will ask the information of the application program 212 of item processing to add in the submission waiting list 25 of computing machine 2.
The transaction processing executive 26 of computing machine 2 takes out item and handles request from the item processing execution formation 24 of computing machine 2.When the item of taking out is handled request reference system management data 211, because be judged as the local replica data that are not oneself, not handle so itself do not carry out item, the item that this request is added computing machine 2 is handled in the transmit queue 27.
The item of computing machine 2 is handled router 28 and is handled taking-up item processing request the transmit queue 27 from the item of computing machine 2, by reference system management data 211, with item handle request add should send this item handle the computing machine of request, promptly as the loading of its item process object the item of computing machine 1 of computing machine of raw data handle and receive in the formation 19.
After the item processing reception program 110 of computing machine 1 is taken out the item processing request of the item processing router 28 that has added computing machine 2, in the item processing execution formation 14 of adding computing machine 1.
The transaction processing executive 16 of computing machine 1 takes out item and handles request from the item processing execution formation 14 of computing machine 1.When the item processing request of taking-up contrasts with systems management data 111, be the item processing request of data (original) 11 that the local main memory of oneself is resided because be judged as, so the resident data 11 of the local main memory of oneself are carried out item processing processing.
The mark that transaction processing executive 16 additional representation of computing machine 1 itself are carried out is handled adding item processing request in the transmit queue 17 to the item of computing machine 1.
The item of computing machine 1 is handled router 18 by reference system management data 111, deduction should send item and handle the computing machine of request, promptly loads the computing machine of copy data, handles to receive to add in the formation to the item of this computing machine and handles the item of taking out the transmit queue 17 from the item of computing machine 1 and handle request.
Should send one that this item handles in the computer set of request and be computing machine 2.
The item of computing machine 2 is handled reception program 210 and is taken out the item processing request that the item that adds computing machine 1 is handled router 18, adds in the item processing execution formation 24 of computing machine 2.
The transaction processing executive 26 of computing machine 2 is handled the update transaction of asking to carry out for computing machine 1 and is handled because judge the item of taking out from the item processing execution formation 24 of computing machine 2, so handle request according to this item, the resident data (duplicating) 21 of the local main memory of oneself are carried out item to be handled, the submission waiting list 25 of retrieval computing machine 2, the information that item is handled application requested 212 is carried out in taking-up, and notification application 212 item processing finish.Remote update has been described above.
Conclude these two kinds of methods of above-mentioned local update and remote update, be illustrated in the time diagram of Fig. 6, be described here.
At first, load the application program 112 of the computing machine 1 of the resident data 11 of original main memory, handle request by update transaction, the item that will add the 21st sequence number from computing machine 1 is handled request and is sent to from loading and duplicate the resident data computing machine 2 of main memory all computing machines to computing machine n.
Then, duplicate the computing machine 2 of the resident data 21 of main memory, item is handled request send to the resident data computing machine 1 of the original main memory of the loading that does not have sequence number by loading.
After receiving this request, the item that will add the 22nd sequence number from computing machine 1 is handled request and is sent to from loading and duplicate the resident data computing machine 2 of main memory all computing machines to computing machine n.
In addition, the item that will add the 23rd sequence number from the computing machine 1 that loads the resident data 11 of original main memory is handled request and is sent to from loading and duplicate the resident data computing machine 2 of main memory all computing machines to computing machine n.
Therefore, the change of the resident data of being upgraded by the application program 112 of the computing machine 1 with raw data (original) 11 of main memory is reflected in resident data (duplicating) 21 grades of main memory of other all computing machines, in addition, handling request from the item of the application program of computing machine 2 grades with copy data is at first handled by the computing machine 1 with raw data, afterwards, be reflected in all computing machines except that comprising computing machine 2.
Therefore,, do not know the storage of the resident data of original main memory, can realize access yet even from application program.
In addition, it is at first raw data to be carried out at first that the update transaction of copy data is handled, and the result is reflected to so-called unidirectional reflection method on the copy data.
Therefore, the update transaction of the application request of the computing machine of formation dispersant system is handled request and also can be carried out in proper order by acceptance by the computing machine with raw data, because needn't mediate when carrying out, so can realize transaction processing environment at a high speed.
(embodiment 2)
Illustrate that by Fig. 7 and Fig. 8 the item in the local update of primary storage constant data of the present invention handles restoration methods.In addition, Fig. 7 and Fig. 8 are continuous each other.
Two figure are illustrated under the situation of the local update processing of carrying out Fig. 2 and Fig. 3 explanation, handle the method that the recovery item is handled request omission or the order confusion from the item that the momentary fault of network causes.
Among Fig. 7 and Fig. 8, first item handle to be recovered the processing 113,213 of the omission that parts 306 are handled by the item that detects a transaction processing executive part and constructs to omit item and handle processing 114,214 that later item handles and item processing and finish formation 115,215 and constitute.
When the transaction processing executive 16 of computing machine 1 finishes in the item processing execution, the item after carrying out is handled request add in the item processing end formation 115.
Be illustrated in Fig. 2 and Fig. 3 though handle the state of the item processing request of application program 1, not shown here.
Handle request by the item that the transaction processing executive 16 of computing machine 1 is handled, the item of machine 1 is handled the item processing reception program 210 that router 18 sends to computing machine 2 as calculated.
Though handling router 18 from the item of computing machine 1 is undertaken by network to the communication of the item processing request of the item processing reception program 210 of computing machine 2, but because the momentary fault of network, so exist in the possibility of missed events processing request on the network.
In the present embodiment, the item with transaction processing executive additional representation item processing execution order in the item processing request that the resident data of the local main memory of oneself are handled of the resident data computing machine of main memory is handled sequence number.Therefore, can detect omission or order confusion that item is handled request, as the omission of sequence number.
Particularly, handle successional processing because in transaction processing executive, appended the investigation item, handle to produce in the request when omitting when the item of having added sequence number at transaction processing executive 16, detect by the transaction processing executive 26 of computing machine 2 by computing machine 1.
When the transaction processing executive 26 of computing machine 2 detects the omission of item processing request, the item that this content is handled router 28 and computing machine 1 by the item of computing machine 2 is handled the transaction processing executive 16 that reception program 110 is notified to computing machine 1.
When item is handled the omission of request in the transaction processing executive 26 of the transaction processing executive 16 notice computing machines 2 of computing machine 1, finish the later item processing request of taking-up omission item processing the formation 115 from the item processing of computing machine 1, the item processing reception program 210 of the item processing router of process computing machine 1 and computing machine 2 passes to the transaction processing executive of computing machine 2.
Transaction processing executive 16 processing of computing machine 2 are asked from the transaction processing executive 16 item processing that transmit, that omission item processing request is later of computing machine 1.
At first, under the situation that the remote update item that describes with Fig. 4 and Fig. 5 is handled, because what additional things was handled sequence number is the transaction processing executive 16 with the resident data computing machine 1 of original main memory, so the omission that item is handled becomes the transaction processing executive 26 of detection computations machine 2, recovery is afterwards handled, is promptly omitted item and handles the later item of request to handle Request Processing identical with the item processing recovery situation of the local update of Fig. 7 and Fig. 8 explanation.
According to said method, at local update and remote update by the resident data of main memory, in the main memory data management method according to the position of applying for the resident data of hidden main memory, raw data and copy data are being remained in the structure of identical content, even under situation about handling because of the generation missed events of network failure etc., because can handle from the item of omitting and carry out the item processing once more, so raw data and copy data can be remained identical content.
(embodiment 3)
The initial value setting method of the resident data of main memory of the present invention is described by Fig. 9 and Figure 10.
In addition, Fig. 9 and Figure 10 are continuous each other.
In two figure, the initial value set parts 307 of the resident data of main memory comprise the version (version) of the part of initial value setting program 116,216, transaction processing executive set handle 117,217 and the item initial value of handling the part of reception program set item and handle the handing-over of request and handle 118,218.
Computing machine 1 and computing machine 2 carry out the remote update of explanation in the described inventive embodiments 1 to be handled and the local update processing.
Under the situation that starts computing machine 2, the initial value setting program 216 of computing machine 2 is by reference system management data 211, which computing machine is set the initial value that main memory is resided data in other computing machine of definite formation dispersion computer system, will be used for setting main memory and reside the item processing transmit queue 27 that adding computing machine 2 is asked in the item processing of the initial value of data 21.
This is by reference system management data 21, to be come the initial value of the resident data of main memory of setting computer 2 by the resident data of the main memory of computing machine 1.
The item of computing machine 2 is handled router 28 and is handled request by the initial value that item processing transmit queue 27 takes out in the initial value setting program 216 that adds computing machines 2 with item, passes to the item processing reception program 110 of computing machine 1.
The item processing reception program 110 of computing machine 1 is handled the item processing request that receives the initial value that takes out the resident data 21 of main memory that are used for setting computer 2 formation 19 from the item of computing machine 1, passes to the initial value setting program 116 of computing machine 1.
The item that the initial value setting program 116 of computing machine 1 is made the initial value of setting the resident data 11 of main memory according to the resident data 11 of the local main memory of oneself is handled, and the item that adds computing machine 1 is handled transmit queue.
Here, the initial value of the resident data 11 of main memory of making by initial value setting program 116 is set item and is handled request, combines the back with the version sequence number of the resident data 11 of main memory and sets.
The item of the resident data of main memory of the part of the transaction processing executive 16 by constituting the initial value set parts is handled to set and is handled 117, sets the version of the resident data of main memory.
Shown in inventive embodiment 1, item is handled the additional a series of sequence number of request, with the version sequence number of this sequence number as the resident data of main memory.
Promptly in the example of Fig. 5, the resident data of the main memory of computing machine 1, computing machine 2 and computing machine n are changed to version 21, version 22, version 23 by handling item processing request respectively.
The item of computing machine 1 is handled router 18 takes out the initial value of the resident data 21 of main memory that are used for setting computer 2 from the item processing transmit queue 17 of computing machine 1 item processing request, and the item of adding computing machine 2 is handled and received formation 29.
The item processing reception program 210 of computing machine 2 is handled the item processing request that receives the initial value that takes out the resident data 21 of main memory that are used for setting computer 2 formation 29 from the item of computing machine 2, passes to the initial value setting program 216 of computing machine 2.
The main memory that the initial value setting program 216 of computing machine 2 is made by the initial value setting program 116 of the resident data 21 of the local main memory of oneself being handled setting computer 1 is resided the item of the initial value of data 11 and is handled request, sets initial value.
At this moment, in the resident data 21 of the main memory of computing machine 2, be set with the version that the initial value setting program 116 of computing machine 1 will the resident data 11 of main memory when the item that making is used to set the initial value of the resident data 11 of main memory is handled request, computing machine 1.
Computing machine 1 is set at computing machine 2 and is handled item processing request when main memory is resided data 21 successively.Therefore, computing machine 2 is set the item processing request that finishes the back reception by handle the initial value of asking to reside data 2 at main memory from the item of computing machine 1, and the version sequence number in the time of may setting than the initial value of the resident data 21 of main memory is new.
But, at this moment, handle recovery by the item of the momentary fault shown in the embodiment of the invention 2 and handle the continuity that can guarantee that item is handled.
Figure 11 represents the state of the version of the resident data of the main memory of update calculation machine 1, computing machine 2 and computing machine n.
Handle request by the resident data 11 processing items of the main memory of computing machine 1, become at 20 o'clock, send the item processing request that additional things is handled sequence number 20 to computing machine 2 and computing machine n from computing machine 1 at version.
Receive this item by computing machine 2 and computing machine n and handle request, by carrying out, the version of each main memory being resided data becomes 20.
Under the situation that computing machine 2 stops, though the version updating of computing machine 1 is 21,22 later on, the version of the resident data of the renewal main memory that accompanies with it only becomes the resident data of main memory of computing machine n.The version of the resident data of the main memory of computing machine n becomes the version 21,22 of the renewal of the resident data of main memory of following computing machine 1.
After the version of the resident data of the main memory of computing machine 1 became 22, if start computing machine 2, then computing machine 2 sent the item that is used to set resident data 21 initial values of main memory to computing machine 1 and handles request.
Reception is handled request from the item of resident data 11 initial values of setting main memory of computing machine 1, and by carrying out, the initial value of the resident data 21 of the main memory of setting computer 2 becomes version 22.
Afterwards, after the resident data 11 of the main memory of computing machine 1 were updated to version 23, the version of the resident data of the main memory of computing machine 2 and computing machine n also was updated to 23 respectively.
According to said method, even in the computing machine that does not have dish, also can set the initial value of the resident data of main memory, because can make the resident data of own main memory, so the last look can be with computer starting the time is set at the initial value that main memory is resided data according to the resident data of the main memory of other computing machine of real-time update.
(embodiment 4)
Figure 12 and Figure 13 illustrate item processing maintenance method of the present invention.In addition, Figure 12 and Figure 13 are continuous each other.
In two figure, item processing holding member 308 is handled the handing-over processing 118 and the item processing hold queue 119 of asking for instructions by the part initial value setting item of item processing reception program and is constituted.
In two figure, the initial value setting program 216 of not shown computing machine 2 item of machine 1 item of handling router 18 and computing machine 2 is as calculated handled the item that reception program 210 received, handled resident data 11 initial values of main memory that the initial value setting program 116 that is used for setting computer 1 makes and is handled request.
The item of computing machine 2 is handled reception program 210 and is resided in the initial value of data 21 setting the own local main memory of handling a retaining part part as item, in the item processing execution formation 24 of computing machine 2, do not add to sneak into and be used for item that initial value sets and handle the item that request receives and handle request, and the item that adds computing machine 2 is handled in the hold queue 219.
When the item processing request of the initial value of setting the resident data of main memory is all over, the item of computing machine 2 is handled reception program 210 and is taken out the item processing request that item is handled maintenance in the hold queue 219, in the item processing execution formation 24 that adds computing machine 2, in transaction processing executive 26, handle usually and handle request as item.
Figure 14 is that the state that the item that receives is handled request is handled in expression when setting the initial value of the resident data of main memory.
When the resident data of the main memory of computing machine 1 are handled request and become version 20 by handling item, send additional things from computing machine 1 to computing machine 2 and computing machine n and handle the item of sequence number 20 and handle request.
After computing machine 2 and computing machine n receive this item processing request, become 20 by carrying out the version that to protect the resident data of main memory.
When computing machine 2 stopped, though be 21 with the version updating of computing machine 1, simultaneously, the version that upgrades the resident data of main memory only became the resident data of main memory of computing machine n.The version of the resident data of the main memory of computing machine n becomes the version 21 of the resident Data Update of main memory of following computing machine 1.
After the version of the resident data of the main memory of computing machine 1 became 21, if start computing machine 2, then computing machine 2 sent the item that is used to set the resident data initial value of main memory to computing machine 1 and handles request.
Reception is handled request from the item of the resident data initial value of setting main memory of computing machine 1, and by carrying out, the initial value of the resident data of the main memory of setting computer 2 becomes version 21.
When the setting main memory that computing machine 2 receives from computing machine 1 in execution is resided the item processing of data 21 initial values, handle the item processing request of sequence number 22 and added the item processing request of item processing sequence number 23 as if added item from computing machine 1 reception, then with in these items processing request adding items processing hold queues 219.
Computing machine 2 is after the initial value of the resident data of main memory is set end, handle to take out the hold queue 219 from item and added item and handle the item of sequence number 22 and handle request and added item and handled the item of sequence number 23 and handle request, by handling, the version of main memory being resided data becomes 23.
Afterwards, along with the resident Data Update of the main memory of computing machine 1 is a version 24, the version of the resident data of the main memory of computing machine 2 and computing machine n also is updated to 24 respectively.
According to said method, when the initial value setting program is set the initial value of the resident data of oneself local main memory, can not keep receiving item processing request with losing.
(embodiment 5)
The item processing restoration methods of omitting for a long time in the local update of the resident data of main memory of the present invention is described by Figure 15 and Figure 16.In addition, Figure 15 and Figure 16 are continuous each other.
In two figure, will handle the setting main memory that recovers parts 309 as second item of long-time omission and reside the part that the item processing Request Processing 120,220 of data initial value is installed as transaction processing executive.
The item that is illustrated in the long-time omission under the situation that the local update that carries out Fig. 2 explanation handles with figure is handled restoration methods.
Though the item of the application program 112 of process computer 1 is handled the state of request and described in Fig. 2, and is not shown here.
Handle request sends to computing machine 2 by the item processing router 18 of computing machine 1 item processing reception program 29 by the item that the transaction processing executive 16 of computing machine 1 is handled.
Handling item that router handles the reception program to the item of computing machine 2 from the item of computing machine 1 handles request and has the situation of losing because of the momentary fault of network etc.
Item from additional representation item processing execution order in the request to item that handle is handled the identical of sequence number and described inventive embodiments 2, and item is handled the omission that the omission of asking can be used as sequence number and detected.In the present embodiment, when the item of handling router 18 from the item of computing machine 1 is handled when taking place to omit in the request, detect by the transaction processing executive 26 of computing machine 2.
When the transaction processing executive 26 of computing machine 2 detected the omission of item processing request, the item that this content is handled router 28 and computing machine 1 by the item of computing machine 2 was handled reception program 19, notifies the transaction processing executive 16 of computing machine 1.
The transaction processing executive 16 of computing machine 1 is when handling the omission of request by the transaction processing executive 26 notice items of computing machine 2, finish to take out the formation 115 the later item processing request of item processing of omitting from the item processing of computing machine 1, the item of machine 1 is handled the item processing reception program 29 of router 18 and computing machine 2 as calculated, passes to the transaction processing executive 26 of computing machine 2.
At this moment, when the time of the momentary fault of network is long, because the computer resource restriction because exist the item processing of the upper limit to finish to produce in the formation reasons such as rewritings on the size, is asked so the item that has not finished is handled.
In the item processing finished formation 115, when detecting the item that does not have to send out again when handling request, the transaction processing executive 16 of computing machine 1 was made to initial value setting program 116 notices of computing machine 1 and is set the item that initial values use and handle.
Reception is resided data 11 from the initial value setting program 116 of the computing machine 1 of the notice of the transaction processing executive 16 of computing machine 1 according to own local main memory, make the item of setting the resident data initial value of main memory and handle request, the item of machine 1 is handled the item processing reception program 29 of router 18 and computing machine 2 as calculated, passes to the transaction processing executive 26 of computing machine 2.
The item that the transaction processing executive 26 of computing machine 2 is set usefulness by resident data 11 initial values of the main memory of carrying out the initial value setting program 116 of making computing machine 1 is handled request, makes the resident data 21 of local main memory of oneself.
According to said method, handling under the situation that produces omission in the request in item because of momentary network failure, carry out item again and handle and remedy item and handle in the method for omission of request by returning over, even the long item of irreclaimable process is handled the omission of request, also can provide the recovery means.
(embodiment 6)
Figure 17 and Figure 18 represent to constitute redundant method by the dispersion computer system with the resident data of main memory.
Switching is upgraded the resident Data Position of original main memory, is the renewal power management component 310 that original main memory is resided the data computing machine, is made of supervisory routine 3 and systems management data 4 with renewal power.
Figure 17 represents to have according to the request of handling from the item of application program and upgrades state before original computing machines 1 version, the resident data of main memory stop, and Figure 18 represents to have the resident data computing machine 1 of original main memory and stops the back, has the state after the resident data computing machine 2 of new original main memory is established.
Under the state before computing machine 1 stops, having the resident data computing machine of original main memory that is upgraded according to the item processing request of application is computing machine 1.The resident data 11 of the main memory of computing machine 1 are handled request according to application program 112 items, and making the version sequence number is 23.
Though send item processing request from computing machine 1 to computing machine 2 and computing machine n, owing to reasons such as Network Transmission delays, the item before the item processing sequence number 23 is handled and is asked also not arrive, and the version sequence number of computing machine 2 and computing machine n is respectively 21 and 18.
Handle request according to the item from application program, the primal system management data 4 of the resident data of the initial original main memory that upgrades of expression is present among the computing machine m, has duplicating of systems management data in the computing machine beyond the computing machine m.The renewal of this systems management data is the system supervisor among the object computer m.
Under this state, if computing machine 1 stops, system supervisor 3 usefulness that then detect the computing machine m that computing machine 1 stops to be upgraded power and are upgraded own local systems management data, will according to the item of application program handle request initial that upgrade, have the resident data computing machine of original main memory as 2.
By the system supervisor 3 of computing machine m, when upgrading resident data of original main memory and systems management data, its update content is handled request as item send to computing machine 2 and computing machine n from computing machine m.
In addition, the system supervisor of computing machine m can stopping by method detection computations machines 1 such as regular inquiries.
By the system supervisor 3 that the renewal with computing machine m is weighed, the version sequence number that newly becomes the resident data of main memory of original computing machine 2 becomes 21.
Then, computing machine 2 will be attached to the sequence number of handling in the request to the item that computing machine n sends and become 22, and it is discontinuous that computing machine n detects item processing request.Detecting the item that item handles when discontinuous handles described in restoration methods such as above-mentioned inventive embodiments 2 or 5.
By the present invention, in having the resident data computing machine network system of main memory, even having after the resident data computing machine of original main memory stops, because other computing machine can have new raw data, so can constitute redundant system.
(embodiment 7)
The invention that illustrates in the foregoing description can be read in the computing machine by the program in the recording medium of will being stored in and be realized.
The invention effect
According to the present invention, provide a kind of not relying on to disperse the computer system Computer to start the standby of hour indicator Piece of data is set the method that main memory is resided the initial value of data, simultaneously, and in disperseing computer system, Come the resident data of hidden main memory to be present in which computer from application program, can bring into play energy in the application program The zero access of the resident data of the main memory that enough reaches.
In addition, can construct the high system of a kind of reliability, but in the system of the resident data of the main memory of packing into structure Become redundant system.

Claims (6)

1. network system, the resident data of main memory that constitute many computer application programs of network and this application program access, be is characterized in that in each computing machine by decentralized configuration:
Each computing machine has:
Item is handled and is accepted parts, accepts to handle request from the item of application program;
Item processing execution parts are carried out the item that receives and are handled request;
Item is handled transmit block, sends the item that receives to other computing machine and handles request;
Item is handled receiving-member, receives from the item of other computing machine and handles request;
The system employs parts, the positional information of the resident data of utilization main memory; With
The initial value set parts, the resident data of the main memory of the computing machine during according to computer starting in other work are set the initial value of the resident data of main memory of oneself.
2. network system according to claim 1 is characterized in that: also have first item and handle the recovery parts, be used to keep the continuity of the request of handling from the item that other computing machine receives.
3. network system according to claim 2 is characterized in that: also have item and handle holding member, during the initial value of the resident data of the main memory of setting oneself, preserve from the item of other computing machine reception and handle request.
4. according in claim 2 or the 3 described network systems, it is characterized in that: also have second item and handle the recovery parts, when judging that item processing recovery parts can not recover, the item of using the initial value set parts to make is handled and is carried out the recovery that item is handled.
5. network system according to claim 1 is characterized in that: the parts that also have the renewal power of the resident data of management main memory.
6. the management method of the resident data of a main memory, management have application program and reside data by the main memory of the resident data of the main memory of application program access and a plurality of computing machines of being connected by network each other, it is characterized in that:
A computing machine is accepted to ask from the item processing of application program, and according to the positional information of the resident data of the main memory of storing, extraction should send described item and handle other computing machine of asking, and sends described item processing to described other computing machine and asks;
Described other computing machine receives the described item processing request of sending from a described computing machine, the resident data of the main memory of described other computing machine is carried out item handle.
CNB021084718A 2001-03-29 2002-03-29 Network system, supervisory method of main memory resident data and storage medium Expired - Fee Related CN1177283C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2001097596A JP2002297422A (en) 2001-03-29 2001-03-29 Network system, main memory resident data management method and recording medium
JP097596/2001 2001-03-29

Publications (2)

Publication Number Publication Date
CN1379340A CN1379340A (en) 2002-11-13
CN1177283C true CN1177283C (en) 2004-11-24

Family

ID=18951355

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021084718A Expired - Fee Related CN1177283C (en) 2001-03-29 2002-03-29 Network system, supervisory method of main memory resident data and storage medium

Country Status (3)

Country Link
JP (1) JP2002297422A (en)
CN (1) CN1177283C (en)
TW (1) TW560143B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5585195B2 (en) * 2010-05-12 2014-09-10 日本電気株式会社 Transaction processing apparatus, transaction processing method, and transaction processing program

Also Published As

Publication number Publication date
JP2002297422A (en) 2002-10-11
TW560143B (en) 2003-11-01
CN1379340A (en) 2002-11-13

Similar Documents

Publication Publication Date Title
CN1134741C (en) Network system, printer and information storage media
CN1129841C (en) Method and device for controlling output
CN1308851C (en) Data processing system including storage systems
CN1264307C (en) Agency, image forming device management system, method and program, storage medium
CN1021750C (en) Automated enrollment of computer system into service network of computer systems
CN1227589C (en) Data processing apparatus and method for saving return state
CN1906583A (en) Information processing device, interrupt processing control method, and computer program
CN1690973A (en) Remote copy method and remote copy system
CN1684412A (en) Apparatus and method for secure hash algorithm
CN1315064C (en) Sevice processing system, processing result management device and processing result determining method of service processing system
CN1898643A (en) System and method for updating a software program
CN1591345A (en) Storage system
CN1164708A (en) Computer system and its software failure recovery method
CN1658184A (en) Network system, distributed processing method and information processing apparatus
CN1764904A (en) Virtual ordered writes
CN101076168A (en) Method for managing intelligent interminal system and intelligent terminal
CN101078999A (en) Method and system for accomplishing data backup and recovery
CN101046812A (en) Method of data base table recording structure and detection and its device
CN1912926A (en) Method for stopping multiple programs in image processing unit and image processing unit
CN1591374A (en) Dma transfer controller
CN1450469A (en) Data process device, method and program
CN1545017A (en) Network system and network interface card
CN1682191A (en) A data processing system adapted to integrating non-homogeneous processes
CN101047555A (en) Detection method for quality of equipment
CN1163830C (en) Method and device for recording/reproducing digital data

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20041124

Termination date: 20120329