CN103530125A - Data sharing method and system and window control units - Google Patents

Data sharing method and system and window control units Download PDF

Info

Publication number
CN103530125A
CN103530125A CN201310493351.6A CN201310493351A CN103530125A CN 103530125 A CN103530125 A CN 103530125A CN 201310493351 A CN201310493351 A CN 201310493351A CN 103530125 A CN103530125 A CN 103530125A
Authority
CN
China
Prior art keywords
window
data
control module
basic data
sign
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310493351.6A
Other languages
Chinese (zh)
Other versions
CN103530125B (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.)
Shenzhen Jindie Youshang E-Business Service Co., Ltd.
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201310493351.6A priority Critical patent/CN103530125B/en
Publication of CN103530125A publication Critical patent/CN103530125A/en
Application granted granted Critical
Publication of CN103530125B publication Critical patent/CN103530125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a data sharing method and system and window control units. According to the embodiment, the method comprises the steps that when basic data are updated, the control unit of a first window synchronously updates basic data cached in the control unit of a second window, and the control unit of the first window updates basic data identification, so that the control unit of a third window obtains the basic data according to the basic data identification when a user opens the third window. In this way, data sharing between the windows is achieved, and the data of one window can be updated without interrupting operations on the window by the user.

Description

The control module of a kind of data sharing method and system, window
Technical field
The present invention relates to the communications field, relate in particular to the control module of a kind of data sharing method and system, window.
Background technology
At present, browser can be supported to open a plurality of windows and browse, when need to the upgrading of the window data on foreground, on the one hand, user need to be for relying on other opened window of the data of this window to carry out refresh operation, to guarantee that these opened windows reload up-to-date data, on the other hand, user need to close these the opened windows in browser, and these opened windows are reopened to the renewal that Shi Caineng carries out data, cause like this user must interrupt the operation to window, can upgrade the data of this window.
Summary of the invention
The invention provides the control module of a kind of data sharing method and system, window, can solve user and must interrupt the operation to window, can upgrade the problem of the data of this window.
The data sharing method that the embodiment of the present invention provides, comprise: when basic data data have renewal, the control module of first window synchronously upgrades basic data data described in the control module that is buffered in Second Window, the control module of described first window upgrades the basic data sign in the control module of described Second Window, while making user open the 3rd window, the control module of described the 3rd window obtains described basic data data according to the described basic data sign of the sign correspondence of described the 3rd window.
The data-sharing systems that the embodiment of the present invention provides, comprise: the control module of first window, the control module of the control module of Second Window and the 3rd window, the control module of described Second Window is for buffer memory basic data data, the control module of described first window is for when described basic data data have renewal, synchronously upgrade basic data data described in the control module that is buffered in Second Window, and the basic data sign in the control module of described Second Window is upgraded, the control module of described the 3rd window is for when user opens described the 3rd window, according to the described basic data sign of the sign correspondence of described the 3rd window, obtain described basic data data.
The control module of the window that the embodiment of the present invention provides, when the control module of described window is the control module of first window, comprise: whether judge module has renewal for judgement basis data, update module is for when judgment result is that of described judge module is, synchronously upgrade basic data data described in the control module that is buffered in Second Window, described update module is also upgraded for the basic data sign to the control module of described Second Window, while making user open the 3rd window, the control module of described the 3rd window obtains described basic data data according to the described basic data sign of the sign correspondence of described the 3rd window.
The control module of the window that the embodiment of the present invention provides, when the control module of described window is the control module of Second Window, comprise: cache module is for buffer memory basic data data, the described basic data data of update module after for the renewal that receives the control module of first window and send, and be synchronously updated in described cache module, while making user open the 3rd window, the control module of the 3rd window obtains described basic data data according to the basic data sign of the sign correspondence of described the 3rd window in the control module of described Second Window.
The control module of the window that the embodiment of the present invention provides, when the control module of described window is the control module of the 3rd window, comprise: acquisition module is for when user opens the 3rd window, according to the basic data sign of the sign correspondence of described the 3rd window in the control module of described Second Window, obtain basic data data, wherein, described basic data data buffer storage is in the control module of Second Window.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, when basic data data have renewal, the control module of first window synchronously upgrades basic data data in the control module that is buffered in Second Window, the control module of first window upgrades basic data sign, while making user open the 3rd window, the control module of the 3rd window obtains basic data data according to basic data sign, has realized like this data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window.
Accompanying drawing explanation
Fig. 1 is embodiment schematic diagram of data sharing method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of data sharing method in the embodiment of the present invention;
Fig. 3 is embodiment schematic diagram of control module of window in the embodiment of the present invention;
Fig. 4 is embodiment schematic diagram of control module of window in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of control module of window in the embodiment of the present invention;
Fig. 6 is embodiment schematic diagram of control module of window in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of control module of window in the embodiment of the present invention;
Fig. 8 is embodiment schematic diagram of data-sharing systems in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides the control module of a kind of data sharing method and system, window, can realize the data sharing between window, makes user without the operation of interrupting window, just can upgrade the data of this window.
Please refer to Fig. 1, in the embodiment of the present invention, embodiment of data sharing method comprises:
101,, when basic data data have renewal, the control module of first window synchronously upgrades basic data data in the control module that is buffered in Second Window;
In the present embodiment, when basic data data have renewal, the control module of first window can synchronously upgrade basic data data in the control module that is buffered in Second Window, in actual applications, these basic data data can for back-up system business use comparatively fixing, and conventional data, for example: in accounting system, basic data data can comprise: subject data, voucher word, in JXC System, basic data data can comprise: supplier, client, commodity, warehouse, basic data data can also be for needing this locality to search for generally user, drop-down menu, business operation, while making single process, the data that need to often call, for example: bookkeeping voucher, buying order, sales slip, requisition slip, report query etc.
102, the control module of first window upgrades the basic data sign in the control module of Second Window, while making user open the 3rd window, the control module of the 3rd window obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window.
In the present embodiment, the control module of first window can upgrade the basic data sign in the control module of Second Window, whether wherein this basic data sign is used to indicate basic data data renewal, in actual applications, when user opens the 3rd window, the control module of the 3rd window obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window.
It should be noted that, the control module of the window in the embodiment of the present invention is processor (CPU, Central Processing Unit) call the object that the source code of this window presents, be buffered in the data in data-carrier store that are stored in that the data of the control module of window can read for this window control unit.
In the present embodiment, when basic data data have renewal, the control module of first window synchronously upgrades basic data data in the control module that is buffered in Second Window, the control module of first window upgrades basic data sign, while making user open the 3rd window, the control module of the 3rd window obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window, realized like this data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window.
For the ease of understanding, below with an instantiation to being described in the data sharing method of the embodiment of the present invention, refer to Fig. 2, in the embodiment of the present invention, another embodiment of data sharing method comprises:
201, the control module of Second Window identifies the window of basic data data correlation, the object of formation base Data Identification array;
In the present embodiment, the control module of Second Window can identify the window of basic data data correlation, the object of formation base Data Identification array, wherein, basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of basic data data correlation and window, the 3rd window is the window with basic data data correlation, for example, the window of basic data data correlation comprises: C1, C2, C3, basic data data are Data1, when Data1 does not upgrade, the basic data sign of the sign correspondence of window is set to false, the basic data sign array now generating is Data1Related={C1:false, C2:false, C3:false}.
202, whether the control module judgement basis data of first window has renewal, if so, performs step 203, if not, performs step 209;
In the present embodiment, whether the control module judgement basis data of first window has renewal, if there is renewal, perform step 203, if do not upgrade, perform step 209, in actual applications, the control module storage basic data data of first window, after user modifies to these basic data data or upgrades in first window, the control module of first window can have renewal by judgement basis data.
203, the control module of first window synchronously upgrades basic data data in the control module that is buffered in Second Window;
In the present embodiment, when in step 202, basic data data have renewal, the control module of first window can synchronously upgrade basic data data in the control module that is buffered in Second Window, in actual applications, these basic data data can for back-up system business use comparatively fixing, and conventional data, for example: in accounting system, basic data data can comprise: subject data, voucher word, in JXC System, basic data data can comprise: supplier, client, commodity, warehouse, basic data data can also be for needing this locality to search for generally user, drop-down menu, business operation, while making single process, the data that need to often call, for example: bookkeeping voucher, buying order, sales slip, requisition slip, report query etc.
204, the control module of first window upgrades the basic data sign in the control module of Second Window;
In the present embodiment, the control module of first window can upgrade the basic data sign in the control module of Second Window, for example, basic data sign array in the control module of Second Window is Data1Related={C1:false, C2:false, C3:false}, the control module of first window identifies false by basic data and upgrades, basic data sign array after upgrading in the control module of Second Window is Data1Related={C1:true, C2:true, C3:true}.
205, when user opens the 3rd window, in the control module judgement basis Data Identification array of the 3rd window, whether there is the sign of self, if having, perform step 206, if do not have, perform step 210;
In the present embodiment, when user opens the 3rd window, the control module of the 3rd window can judge in the basic data sign array in the control module of Second Window, whether there is the sign of self, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, now the control module of the 3rd window is determined in the basic data sign array in the control module of Second Window the sign of self, performs step 206.
206, in the control module judgement basis Data Identification array of the 3rd window, whether the basic data of the sign correspondence of the 3rd window sign has renewal, if there is renewal, performs step 207, if do not upgrade, performs step 209;
In the present embodiment, the control module of the 3rd window can judge whether the basic data sign in the basic data sign array in the control module of Second Window has renewal, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, the basic data that wherein C1 is corresponding is designated true, and the control module of the 3rd window determines that basic data sign has renewal, performs step 207.
It should be noted that, whether basic data sign is used to indicate basic data data renewal, and basic data sign can, for numeral, character, array or object, not limit herein.
207, the control module of the 3rd window obtains the basic data data at the control module buffer memory of Second Window again;
In the present embodiment, at the control module judgement basis Data Identification of step 206 the 3rd window, have after renewal, the control module of the 3rd window can obtain the basic data data at the control module buffer memory of Second Window again.
208, the control module of first window upgrades basic data sign corresponding to the 3rd window ID in the basic data sign array in the control module of Second Window;
In the present embodiment, after step 207, the control module of first window can upgrade basic data sign corresponding to the 3rd window ID in the basic data sign array in the control module of Second Window, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, the control module of first window makes true corresponding to C1 into false, basic data sign array after renewal is Data1Related={C1:false, C2:true, C3:true}.
209,, when user opens the 3rd window, the control module of the 3rd window presents the content in the 3rd window;
In the present embodiment, when in step 202 or step 206, the determination result is NO, if user opens the 3rd window, the control module of the 3rd window directly presents the content in the 3rd window.
210, the control module of the 3rd window reads the basic data data of buffer memory in the control module of Second Window;
211, the control module of Second Window inserts the sign of the 3rd window in basic data sign array.
In the present embodiment, in step 205, in judgement basis Data Identification array, there is no the sign of the 3rd window, the control module of the 3rd window can read the basic data data of buffer memory in the control module of Second Window, and then the control module of Second Window can identify the sign of inserting the 3rd window in array in basic data.
It should be noted that, first window and the 3rd window are the subwindow under Second Window.
In the present embodiment, the control module of Second Window identifies the window of basic data data correlation, the object of formation base Data Identification array, whether the control module judgement basis data of first window has renewal, and when having renewal, the control module of first window synchronously upgrades basic data data in the control module that is buffered in Second Window, and the basic data sign in the control module of Second Window is upgraded, when user opens the 3rd window, the variation that the control module of the 3rd window identifies by basic data comes judgement basis data whether to have renewal, and when basic data data have renewal, the control module of the 3rd window can read the basic data data under the control module that is buffered in Second Window again, like this, when user opens the window of each basic data data correlation, and when basic data Data Update, the window of each basic data data correlation can be independent read the basic data data under the control module that is buffered in Second Window, realized the data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window, thereby reduced user's refresh operation.
Below to describing for carrying out the control module of window of the embodiment of the present invention of above-mentioned data sharing method, please refer to Fig. 3, embodiment of control module of window in the embodiment of the present invention, during control module that the control module of this window is first window, comprising:
Judge module 301 and update module 302;
Whether judge module 301, have renewal for judgement basis data;
Update module 302, for when judgment result is that of judge module 301 is, synchronously upgrades basic data data in the control module that is buffered in Second Window;
Update module 302, also upgrades for the basic data sign to the control module of Second Window, and while making user open the 3rd window, the control module of the 3rd window obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window.
In the present embodiment, whether judge module 301 judgement basis datas have renewal, update module 302 is when judgment result is that of judge module 301 is, synchronously upgrade basic data data in the control module that is buffered in Second Window, and the basic data sign in the control module of Second Window is upgraded, while making user open the 3rd window, the control module of the 3rd window obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window, realized like this data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window.
In order better to understand the above embodiments, the alternately data interactive mode in the control module of window is described between the modules below control module of window being comprised, refer to equally Fig. 3, another embodiment of the control module of window in the embodiment of the present invention, when the control module of window is the control module of first window, comprising:
Judge module 301 and update module 302.
Whether judge module 301 judgement basis datas have renewal, whether the control module judgement basis data of first window has renewal, if there is renewal, judged result is sent to update module 302, if less than renewal and when user opens the 3rd window, judged result is informed to the control module of the 3rd window, make the control module of the 3rd window directly present the content in the 3rd window, in actual applications, the control module storage basic data data of first window, after user modifies to these basic data data or upgrades in first window, the control module of first window can have renewal by judgement basis data.
Update module 302 receives judgment result is that while being of judge module 301, synchronously upgrade basic data data in the control module that is buffered in Second Window, in actual applications, these basic data data can for back-up system business use comparatively fixing, and conventional data, for example: in accounting system, basic data data can comprise: subject data, voucher word, in JXC System, basic data data can comprise: supplier, client, commodity, warehouse, basic data data can also be for needing this locality to search for generally user, drop-down menu, business operation, while making single process, the data that need to often call, for example: bookkeeping voucher, buying order, sales slip, requisition slip, report query etc.
Basic data sign in the control module of 302 pairs of Second Windows of update module is upgraded, while making user open the 3rd window, the control module of the 3rd window obtains this basic data data according to the basic data sign of the sign correspondence of the 3rd window, for example, basic data sign array in the control module of Second Window is Data1Related={C1:false, C2:false, C3:false}, update module 302 identifies false by basic data and upgrades, basic data sign array after upgrading in the control module of Second Window is Data1Related={C1:true, C2:true, C3:true}, when user opens the 3rd window, the control module of the 3rd window obtains this basic data data according to basic data sign true corresponding to the sign C1 of the 3rd window.
Then update module 302 is after the 3rd window obtains these basic data data, basic data sign corresponding to the 3rd window ID in basic data sign array in the control module of Second Window upgraded, wherein, basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of basic data data correlation and window, the 3rd window is the window with basic data data correlation, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, the control module of first window makes true corresponding to C1 into false, basic data sign array after renewal is Data1Related={C1:false, C2:true, C3:true}.
In the present embodiment, whether the control module of window has renewal by judging unit 301 judgement basis datas, and when basic data data have renewal, updating block 302 synchronously upgrades basic data data in the control module that is buffered in Second Window, and the basic data sign in the control module of Second Window is upgraded, while making user open the 3rd window, the control module of the 3rd window obtains this basic data data according to the basic data sign of the sign correspondence of the 3rd window, like this, when user opens the window of each basic data data correlation, and when basic data Data Update, the window of each basic data data correlation can be independent read the basic data data under the control module that is buffered in Second Window, realized the data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window, thereby reduced user's refresh operation.
Below to describing for carrying out the control module of window of the embodiment of the present invention of above-mentioned data sharing method, refer to Fig. 4, embodiment of control module of window in the embodiment of the present invention, during control module that the control module of window is Second Window, comprising:
Cache module 401 and update module 402;
Cache module 401, for buffer memory basic data data;
Update module 402, for receiving the basic data data after the renewal that the control module of first window sends, and be synchronously updated in cache module 401, make the control module of the 3rd window obtain basic data data according to the basic data sign of the sign correspondence of the 3rd window in the control module of Second Window.
In the present embodiment, cache module 401 buffer memory basic data data, basic data data after the renewal that the control module of update module 402 reception first windows sends, and be synchronously updated in cache module 401, make the control module of the 3rd window obtain basic data data according to the basic data sign of the sign correspondence of the 3rd window in the control module of Second Window, realized like this data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window.
In order better to understand the above embodiments, the alternately data interactive mode in the control module of window is described between the modules below control module of window being comprised, refer to Fig. 5, another embodiment of the control module of window in the embodiment of the present invention, when the control module of window is the control module of Second Window, comprising:
Cache module 501, execution module 502 and update module 503.
Cache module 501 buffer memory basic data data.
The window of 502 pairs of basic data data correlations of execution module identifies, the object of formation base Data Identification array, wherein, basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of basic data data correlation and window, the 3rd window is the window with basic data data correlation, for example, the window of basic data data correlation comprises: C1, C2, C3, basic data data are Data1, when Data1 does not upgrade, the basic data sign of the sign correspondence of window is set to false, the basic data sign array that now execution module 403 generates is Data1Related={C1:false, C2:false, C3:false}.
Basic data data after the renewal that the control module of update module 503 reception first windows sends, and be synchronously updated in cache module 501, make the control module of the 3rd window obtain basic data data according to the basic data sign of the sign correspondence of the 3rd window in the control module of Second Window, in actual applications, these basic data data can for back-up system business use comparatively fixing, and conventional data, for example: in accounting system, basic data data can comprise: subject data, voucher word, in JXC System, basic data data can comprise: supplier, client, commodity, warehouse, basic data data can also be for needing this locality to search for generally user, drop-down menu, business operation, while making single process, the data that need to often call, for example: bookkeeping voucher, buying order, sales slip, requisition slip, report query etc.
It should be noted that, first window and the 3rd window are the subwindow under Second Window.
In the present embodiment, cache module 501 buffer memory basic data data, the window of 502 pairs of basic data data correlations of execution module identifies, the object of formation base Data Identification array, basic data data after the renewal that the control module of update module 503 reception first windows sends, and be synchronously updated in cache module 501, make the control module of the 3rd window obtain basic data data according to the basic data sign of the sign correspondence of the 3rd window in the control module of Second Window, like this when user opens the window of each basic data data correlation, and when basic data Data Update, the window of each basic data data correlation can be independent read the basic data data under the control module that is buffered in Second Window, realized the data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window, thereby reduced user's refresh operation.
Below to describing for carrying out the control module of window of the embodiment of the present invention of above-mentioned data sharing method, its basic logical structure is with reference to figure 6, embodiment of control module of window in the embodiment of the present invention, when the control module of window is the control module of the 3rd window, comprising:
Acquisition module 601;
Acquisition module 601, when opening the 3rd window user, obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window in the control module of Second Window;
Wherein, basic data data buffer storage is in the control module of Second Window.
In the present embodiment, when user opens the 3rd window, acquisition module 601 obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window in the control module of Second Window, wherein, basic data data buffer storage is in the control module of Second Window, realize like this data sharing between window, made user without the operation of interrupting window, just can upgrade the data of this window.
In order better to understand the above embodiments, the alternately data interactive mode in the control module of window is described between the modules below control module of window being comprised, refer to Fig. 7, another embodiment of the control module of window in the embodiment of the present invention, when the control module of window is the control module of the 3rd window, comprising:
The first judge module 701, acquisition module 702 and the second judge module 703.
When user opens the 3rd window, the first judge module 701 judges in the basic data sign array in the control module of Second Window, whether there is the sign of self, and when there is no self identification, judged result is sent to acquisition module 702, when having self identification, judged result is sent to the second judge module 703, wherein basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of basic data data correlation and window, the 3rd window is the window with basic data data correlation, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, now in the basic data sign array in the control module of first judge module 701 definite Second Windows, there is the sign of self.
Acquisition module 702 is when receiving the first judge module 701 and send that the determination result is NO, in the control module of Second Window, read the basic data data of buffer memory, and inform that the control module of Second Window inserts the sign of the 3rd window in basic data sign array.
The second judge module 703 is when judgment result is that of receiving that the first judge module 701 sends is, whether the basic data sign in judgement basis Data Identification array has renewal, if there is renewal, judged result is informed to acquisition module 702, if do not upgrade, judged result is informed to the control module of the 3rd window, make when user opens the 3rd window, the control module of the 3rd window presents the content in the 3rd window, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, the basic data that wherein C1 is corresponding is designated true, the control module of the 3rd window determines that basic data sign has renewal.
It should be noted that, whether basic data sign is used to indicate basic data data renewal, and basic data sign can, for numeral, character, array or object, not limit herein.
Acquisition module 702 receives judgment result is that while being of the second judge module 703 transmissions, again obtain the basic data data at the control module buffer memory of Second Window, and inform that the control module of first window upgrades basic data sign corresponding to the 3rd window ID in the basic data sign array in Second Window.
In the present embodiment, the control module of window is by the first judge module 701, when user opens the 3rd window, the first judge module 701 judges in the basic data sign array in the control module of Second Window, whether there is the sign of self, the second judge module 703 is when judgment result is that of receiving that the first judge module 701 sends is, whether the basic data sign in judgement basis Data Identification array has renewal, if there is renewal, acquisition module 702 obtains the basic data data at the control module buffer memory of Second Window again, like this when user opens the window of each basic data data correlation, and when basic data Data Update, the window of each basic data data correlation can be independent read the basic data data under the control module that is buffered in Second Window, realized the data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window, thereby reduced user's refresh operation.
To describing for carrying out the data-sharing systems of the embodiment of the present invention of above-mentioned data sharing method, refer to Fig. 8 below, embodiment of data-sharing systems in the embodiment of the present invention, comprising:
The control module 803 of the control module 801 of first window, the control module 802 of Second Window and the 3rd window;
The control module 801 of Second Window, for buffer memory basic data data;
The control module 802 of first window, for when basic data data have renewal, synchronously upgrades basic data data in the control module that is buffered in Second Window, and the basic data sign in the control module of Second Window is upgraded;
The control module 803 of the 3rd window, when opening the 3rd window user, obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window.
In the present embodiment, the control module 801 buffer memory basic data data of Second Window, when basic data data have renewal, the control module 802 of first window synchronously upgrades basic data data in the control module that is buffered in Second Window, and the basic data sign in the control module of Second Window is upgraded, when user opens the 3rd window, the control module 803 of the 3rd window obtains basic data data according to the basic data sign of the sign correspondence of the 3rd window, realized like this data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window.
In order better to understand the above embodiments, the alternately data interactive mode in data-sharing systems is described between the unit below data-sharing systems being comprised, please consult equally Fig. 8, in the embodiment of the present invention, another embodiment of data-sharing systems comprises:
The control module 803 of the control module 801 of first window, the control module 802 of Second Window and the 3rd window;
The window of 801 pairs of basic data data correlations of control module of Second Window identifies, and the object of formation base Data Identification array, wherein, basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of basic data data correlation and window, the 3rd window is the window with basic data data correlation, for example, the window of basic data data correlation comprises: C1, C2, C3, basic data data are Data1, when Data1 does not upgrade, the basic data sign of the sign correspondence of window is set to false, the basic data sign array now generating is Data1Related={C1:false, C2:false, C3:false}.
Whether the control module 801 judgement basis datas of first window have renewal, in actual applications, the control module 801 storage basic data data of first window, after user modifies to these basic data data or upgrades in first window, the control module 801 of first window can have renewal by judgement basis data.
If there is renewal, the control module 801 of first window synchronously upgrades basic data data in the control module 802 that is buffered in Second Window, if do not upgrade, when user opens the 3rd window, judged result is informed to the control module 803 of the 3rd window, now the control module 803 of the 3rd window presents the content in the 3rd window, in actual applications, these basic data data can for back-up system business use comparatively fixing, and conventional data, for example: in accounting system, basic data data can comprise: subject data, voucher word, in JXC System, basic data data can comprise: supplier, client, commodity, warehouse, basic data data can also be for needing this locality to search for generally user, drop-down menu, business operation, while making single process, the data that need to often call, for example: bookkeeping voucher, buying order, sales slip, requisition slip, report query etc.
The control module 801 of first window is synchronous to be upgraded in the control module 802 that is buffered in Second Window after basic data data, basic data sign in the control module 802 of 801 pairs of Second Windows of control module of first window is upgraded, for example, basic data sign array in the control module 802 of Second Window is Data1Related={C1:false, C2:false, C3:false}, the control module 801 of first window identifies false by basic data and upgrades, in the control module 802 of the Second Window after renewal, basic data sign array is Data1Related={C1:true, C2:true, C3:true}.
When user opens the 3rd window, the sign that whether has self in the control module 803 judgement basis Data Identification arrays of the 3rd window, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, now has the sign of self in the basic data sign array in the control module 802 of control module 803 definite Second Windows of the 3rd window.
If there is no self identification, the control module 803 of the 3rd window reads the basic data data of buffer memory in the control module 802 of Second Window, and the control module 802 of informing Second Window do not have the sign of the 3rd window, now the control module 802 of Second Window inserts the sign of the 3rd window in basic data sign array.
If there is self identification, in the control module judgement basis Data Identification array of the 3rd window, whether the basic data of the sign correspondence of the 3rd window sign has renewal, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, the basic data that wherein C1 is corresponding is designated true, the control module 803 of the 3rd window determines that basic data sign has renewal, if there is renewal, the control module 803 of the 3rd window obtains the basic data data at control module 802 buffer memorys of Second Window again, then the control module 803 of the 3rd window informs that the control module 801 of first window has obtained the basic data data of buffer memory again.
It should be noted that, whether basic data sign is used to indicate basic data data renewal, and basic data sign can, for numeral, character, array or object, not limit herein.
Then the control module 801 of first window upgrades basic data sign corresponding to the 3rd window ID in the basic data sign array in the control module of Second Window, for example, the 3rd window be designated C1, basic data sign array is Data1Related={C1:true, C2:true, C3:true}, the control module 801 of first window makes true corresponding to C1 into false, basic data sign array after renewal is Data1Related={C1:false, C2:true, C3:true}.
It should be noted that, first window and the 3rd window are the subwindow under Second Window.
In the present embodiment, the window of 802 pairs of basic data data correlations of control module of Second Window identifies, the object of formation base Data Identification array, whether the control module 801 judgement basis datas of first window have renewal, and when having renewal, the control module 801 of first window synchronously upgrades basic data data in the control module 802 that is buffered in Second Window, and the basic data sign in the control module 802 of Second Window is upgraded, when user opens the 3rd window, the variation that the control module 803 of the 3rd window identifies by basic data comes judgement basis data whether to have renewal, and when basic data data have renewal, the control module 803 of the 3rd window can read the basic data data under the control module 802 that is buffered in Second Window again, like this, when user opens the window of each basic data data correlation, and when basic data Data Update, the window of each basic data data correlation can be independent read the basic data data under the control module 802 that is buffered in Second Window, realized the data sharing between window, make user without the operation of interrupting window, just can upgrade the data of this window, thereby reduced user's refresh operation.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. a data sharing method, is characterized in that, described method comprises:
When basic data data have renewal, the control module of first window synchronously upgrades basic data data described in the control module that is buffered in Second Window;
The control module of described first window upgrades the basic data sign in the control module of described Second Window, while making user open the 3rd window, the control module of described the 3rd window obtains described basic data data according to the described basic data sign of the sign correspondence of described the 3rd window.
2. method according to claim 1, is characterized in that, described method also comprises:
The control module of described Second Window identifies the window of described basic data data correlation, generate the object of described basic data sign array, wherein, described basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of described basic data data correlation and described window, and described the 3rd window is the window with described basic data data correlation;
The control module of described first window judges whether described basic data data have renewal;
If so, the control module of described first window is carried out the synchronous operation of upgrading basic data data described in the control module that is buffered in described Second Window.
3. method according to claim 2, is characterized in that, the control module of described the 3rd window obtains described basic data data according to the described basic data sign of the sign correspondence of described the 3rd window and is specially:
The control module of described the 3rd window judges in described basic data sign array, whether there is the sign of self;
If there is no self identification, the control module of described the 3rd window reads described basic data data from the control module of described Second Window;
The control module of described Second Window inserts the sign of described the 3rd window in described basic data sign array;
If there is self identification, the control module of described the 3rd window judges whether the described basic data sign of the sign correspondence of the 3rd window described in described basic data sign array has renewal;
If there is renewal, the control module of described the 3rd window obtains the described basic data data at the control module buffer memory of described Second Window again;
The step that the control module of described the 3rd window obtains again after the described basic data data of the control module buffer memory of described Second Window is:
The control module of described first window upgrades described basic data sign corresponding to the 3rd window ID in the described basic data sign array in the control module of described Second Window.
4. according to the method in any one of claims 1 to 3, it is characterized in that, described first window and described the 3rd window are the subwindow under described Second Window.
5. a data-sharing systems, is characterized in that, described system comprises:
The control module of the control module of first window, the control module of Second Window and the 3rd window;
The control module of described Second Window, for buffer memory basic data data;
The control module of described first window, for when described basic data data have renewal, synchronously upgrades basic data data described in the control module that is buffered in Second Window, and the basic data sign in the control module of described Second Window is upgraded;
The control module of described the 3rd window, when opening described the 3rd window user, obtains described basic data data according to the described basic data sign of the sign correspondence of described the 3rd window.
6. system according to claim 5, is characterized in that,
The control module of described Second Window, also for the window of described basic data data correlation is identified, and generate the object of described basic data sign array, wherein, described basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of described basic data data correlation and described window, and described the 3rd window is the window with described basic data data correlation;
The control module of described first window, also for judging whether described basic data data have renewal, and when having renewal, carries out the synchronous operation of upgrading basic data data described in the control module that is buffered in described Second Window.
7. system according to claim 6, is characterized in that,
The control module of described the 3rd window, also for judging whether described basic data sign array has the sign of self;
The control module of described the 3rd window also for when there is no self identification, reads described basic data data from the control module of described Second Window;
The control module of described Second Window, also for inserting the sign of described the 3rd window in described basic data sign array;
The control module of described the 3rd window, also for when having self identification, judges whether the described basic data sign of the sign correspondence of the 3rd window described in described basic data sign array has renewal;
The control module of described the 3rd window, also for when having renewal, obtains the described basic data data at the control module buffer memory of described Second Window again;
The control module of described first window, also for upgrading described basic data sign corresponding to the 3rd window ID in the described basic data sign array of the control module of described Second Window.
8. according to the system described in any one in claim 5 to 7, it is characterized in that, described first window and described the 3rd window are the subwindow under described Second Window.
9. a control module for window, is characterized in that, during control module that the control module of described window is first window, comprising:
Whether judge module, have renewal for judgement basis data;
Update module, for when judgment result is that of described judge module is, synchronously upgrades basic data data described in the control module that is buffered in Second Window;
Described update module, also for the basic data sign to the control module of described Second Window, upgrade, while making user open the 3rd window, the control module of described the 3rd window obtains described basic data data according to the described basic data sign of the sign correspondence of described the 3rd window.
10. unit according to claim 9, is characterized in that,
Described update module, also for upgrading described basic data sign corresponding to the 3rd window ID described in the described basic data sign array of the control module of described Second Window;
Wherein, described basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of described basic data data correlation and described window, and described the 3rd window is the window with described basic data data correlation;
Wherein, described first window and described the 3rd window are the subwindow under described Second Window.
The control module of 11. 1 kinds of windows, is characterized in that, during control module that the control module of described window is Second Window, comprising:
Cache module, for buffer memory basic data data;
Update module, for receiving the described basic data data after the renewal that the control module of first window sends, and be synchronously updated in described cache module, while making user open the 3rd window, the control module of the 3rd window obtains described basic data data according to the basic data sign of the sign correspondence of described the 3rd window in the control module of described Second Window.
12. unit according to claim 11, is characterized in that, the control module of described window also comprises:
Execution module, for the window of described basic data data correlation is identified, generate the object of described basic data sign array, wherein, described basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of described basic data data correlation and described window, and described the 3rd window is the window with described basic data data correlation;
Wherein, described first window and described the 3rd window are the subwindow under described Second Window.
The control module of 13. 1 kinds of windows, is characterized in that, when the control module of described window is the control module of the 3rd window, comprising:
Acquisition module, when opening the 3rd window user, obtains basic data data according to the basic data sign of the sign correspondence of described the 3rd window in the control module of described Second Window;
Wherein, described basic data data buffer storage is in the control module of Second Window.
14. unit according to claim 13, is characterized in that, the control module of described window also comprises:
The first judge module, for judging whether there is the sign of self in the basic data sign array of control module of described Second Window, wherein said basic data sign array comprises: the basic data sign of the sign correspondence of the sign of the window of described basic data data correlation and described window, and described the 3rd window is the window with described basic data data correlation;
Described acquisition module also when the determination result is NO at described the first judge module, reads the described basic data data of buffer memory in the control module of described Second Window;
The second judge module, also for judgment result is that at described the first judge module while being, judges whether the described basic data sign in described basic data sign array has renewal;
Described acquisition module, also for when judgment result is that of described the second judge module is, obtains the described basic data data at the control module buffer memory of described Second Window again;
Wherein, described first window and described the 3rd window are the subwindow under described Second Window.
CN201310493351.6A 2013-10-18 2013-10-18 A kind of data sharing method and system, the control unit of window Active CN103530125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310493351.6A CN103530125B (en) 2013-10-18 2013-10-18 A kind of data sharing method and system, the control unit of window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310493351.6A CN103530125B (en) 2013-10-18 2013-10-18 A kind of data sharing method and system, the control unit of window

Publications (2)

Publication Number Publication Date
CN103530125A true CN103530125A (en) 2014-01-22
CN103530125B CN103530125B (en) 2018-11-23

Family

ID=49932165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310493351.6A Active CN103530125B (en) 2013-10-18 2013-10-18 A kind of data sharing method and system, the control unit of window

Country Status (1)

Country Link
CN (1) CN103530125B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335313A (en) * 2014-08-07 2016-02-17 阿里巴巴集团控股有限公司 Basic data transmission method and apparatus
CN106547751A (en) * 2015-09-16 2017-03-29 阿里巴巴集团控股有限公司 Data cached update method and device
CN109144633A (en) * 2018-07-20 2019-01-04 武汉斗鱼网络科技有限公司 Data sharing method, device, equipment and the storage medium of active window

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5226117A (en) * 1990-05-15 1993-07-06 International Business Machines Corporation Method for simultaneous update and change in parent and child windows
CN1920778A (en) * 2005-08-26 2007-02-28 国际商业机器公司 Father-son application integrated system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5226117A (en) * 1990-05-15 1993-07-06 International Business Machines Corporation Method for simultaneous update and change in parent and child windows
CN1920778A (en) * 2005-08-26 2007-02-28 国际商业机器公司 Father-son application integrated system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335313A (en) * 2014-08-07 2016-02-17 阿里巴巴集团控股有限公司 Basic data transmission method and apparatus
CN105335313B (en) * 2014-08-07 2018-11-02 阿里巴巴集团控股有限公司 A kind of transmission method and device of basic data
CN106547751A (en) * 2015-09-16 2017-03-29 阿里巴巴集团控股有限公司 Data cached update method and device
CN109144633A (en) * 2018-07-20 2019-01-04 武汉斗鱼网络科技有限公司 Data sharing method, device, equipment and the storage medium of active window

Also Published As

Publication number Publication date
CN103530125B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
US7450008B2 (en) Sending service data to an RFID tag while an attached computer system is powered off
CN102541927B (en) Method and device for realizing data cache
US20040064635A1 (en) Method of storing data in a non-volatile memory and apparatus therefor
CN104391725A (en) Page display method and page display device
US20110153976A1 (en) Methods and apparatuses to allocate file storage via tree representations of a bitmap
CN103905503A (en) Data storage method, data scheduling method, device and system
WO2003025757A3 (en) Method and apparatus for decoupling tag and data accesses in a cache memory
CN103544153A (en) Data updating method and system based on database
CN103530125A (en) Data sharing method and system and window control units
US9135572B2 (en) Method and arrangement for processing data
CN101546293B (en) Cache control apparatus, information processing apparatus, and cache control method
CN104111957A (en) Method and system for synchronizing distributed transaction
CN101626339A (en) Method and system for downloading network data
US7761460B1 (en) Systems and methods that utilize a standard database interface to access data within an industrial device
CN103136215A (en) Data read-write method and device of storage system
CN101673217B (en) Method for realizing remote program call and system thereof
US7861114B2 (en) System and method for recovery of memory transactions
US20110200059A1 (en) BIT Inversion For Communication Interface
CN107590099A (en) A kind of more main frames access method, expanding unit and the storage medium of slave
CN112765271A (en) Block chain transaction index storage method and device, computer equipment and medium
CN111625546A (en) Data writing method, device, equipment and medium
US20090204665A1 (en) System and methods for communicating between serial communications protocol enabled devices
CN109521970A (en) A kind of data processing method and relevant device
EP3293643A1 (en) Paging mechanism for in-memory data management system
US20210173819A1 (en) Write optimization in transactional data management systems

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150629

Address after: 518057, Shenzhen, Guangdong science and Technology Park, Nanshan District science and technology twelve South Road 2 Kingdee Software Park, A, 3 South Zone

Applicant after: Shenzhen Jindie Youshang E-Business Service Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province science and technology science and Technology Park of Nanshan District twelve South Road No. 2, Kingdee Software Park A block 1-8

Applicant before: Kingdee Software (China) Co., Ltd.

ASS Succession or assignment of patent right

Owner name: SHENZHEN JINDIE YOUSHANG ELECTRONIC COMMERCE SERVI

Free format text: FORMER OWNER: KINGDEE SOFTWARE (CHINA) COMPANY LTD.

Effective date: 20150629

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518057, Shenzhen, Guangdong science and Technology Park, Nanshan District science and technology twelve South Road 2 Kingdee Software Park, A, 3 South Zone

Applicant after: Shenzhen Kingdee fine fighting cloud Network Technology Co., Ltd.

Address before: 518057, Shenzhen, Guangdong science and Technology Park, Nanshan District science and technology twelve South Road 2 Kingdee Software Park, A, 3 South Zone

Applicant before: Shenzhen Jindie Youshang E-Business Service Co., Ltd.

GR01 Patent grant
GR01 Patent grant