CN100352231C - Synchronization transmission method and system for data between general server and terminal server - Google Patents

Synchronization transmission method and system for data between general server and terminal server Download PDF

Info

Publication number
CN100352231C
CN100352231C CNB200510020721XA CN200510020721A CN100352231C CN 100352231 C CN100352231 C CN 100352231C CN B200510020721X A CNB200510020721X A CN B200510020721XA CN 200510020721 A CN200510020721 A CN 200510020721A CN 100352231 C CN100352231 C CN 100352231C
Authority
CN
China
Prior art keywords
server
data
central server
database
headquarters
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
CNB200510020721XA
Other languages
Chinese (zh)
Other versions
CN1694427A (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 TIANLU SOFEWARE DEVELOPMENT Co Ltd
Original Assignee
SHENZHEN TIANLU SOFEWARE DEVELOPMENT 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 SHENZHEN TIANLU SOFEWARE DEVELOPMENT Co Ltd filed Critical SHENZHEN TIANLU SOFEWARE DEVELOPMENT Co Ltd
Priority to CNB200510020721XA priority Critical patent/CN100352231C/en
Publication of CN1694427A publication Critical patent/CN1694427A/en
Application granted granted Critical
Publication of CN100352231C publication Critical patent/CN100352231C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The present invention provides a transmission method for data synchronization in different places, which is applied to the data synchronization between a general server and a terminal server. The process of sending data to the terminal server by the general server is that the general server sends downward data to a central server, and the terminal server receives the download data sent from the central server; the process of the general server receiving upward data from the terminal server is that the terminal server sends the upward data to the central server, and the general server receives the upload data sent from the central server. The general server and each terminal server have respective operation limits, produce search conditions according to the operation limits and search in an operable data area. The terminal server can force basic data to be synchronously downloaded, which further increases the integrity of terminal server data. The present invention avoids the influence of a general server database, increases the reliability and the safety of data transmission, raises output speed and saves online time.

Description

The transmission method of strange land data sync and system
[technical field]
The present invention relates in the chain commercial operation to be the data sync that makes headquarters server and terminal server method by the network line transmission.
[background technology]
Along with development of market economy, after China had entered WTO, relevant industries such as the manufacturing industry of China, logistics, retail business had obtained unprecedented development.Informationalized management brings the decision-making of science, has become the important symbol of weighing enterprise competitiveness.The interchange of information is information data more and more come into one's own synchronously in other words, and for example the need state and the sales situation of each chain store or point-of-sale terminal need in time be known by general headquarters, so that in time tackle the market demand, each chain store also needs in time to obtain the information of general headquarters.And along with the expansion in market, the point-of-sale terminal of a company no longer is limited to a city or a country, only relies on local area network (LAN) and can't realize data synchronization.In case and the service application scope of enterprise exceeds local area network (LAN), will cause software to use and the management cost height, complicated operation is also made mistakes easily, and the transmission information rate is slow, and Information Security is low, has directly weakened the efficiency of management and the competitiveness of software use enterprise.
The transmission means of present application software mainly is to be transmitted as the master with packing transmission and point-to-point VPN;
One, adopt the packing transmission method, promptly rent the FTP space in telecommunications and transmit, this method can only adapt to the few operation of data volume, and its shortcoming shows as:
1) technological lag.Be embodied in complicated operation, easily make mistakes, Information Security is low, transmission speed is slow; The data that point-of-sale terminal receives, may be and the irrelevant data message of sales end, prolonged the call duration time of transmission like this, increased communications cost; And these data selling terminals are the data messages that should be able to not see, and also the incompatibility data maintains secrecy.
2) can't realize real-time monitoring.General headquarters' ledgers and terminal detailed account can't be checked, and the account supervision can't be carried out.
3) cost is higher, if point-of-sale terminal surpasses 20 families, it must rent fixedly IP, and this every rent per month is a 2500-3000 unit, and the expense in 1 year will more than 30,000 yuan.
Two, point-to-point VPN transfer approach, this method adopt general headquarters and remote terminal is online transmits, and this method only adapts to the less enterprise of point-of-sale terminal, and its shortcoming shows as:
1) poor reliability, poor stability, because each point-of-sale terminal needs work must be communicated with headquarters server, if there be 50-100 point-of-sale terminal to work simultaneously, the speed of headquarters server must be affected, just in case database goes wrong, the running of whole enterprise will pause.
2) inefficiency, if there be 50-100 point-of-sale terminal to work simultaneously, headquarters server can only carry out work by connecting terminal sequencing uniqueness, and other work stations can only be waited in line, operating efficiency is reduced greatly, can't adapt to the requirement of big data quantity work.
3) cost height, as use point-to-point mode, when when higher level's server end carries out the transmitting-receiving of One-to-one communication simultaneously to a lot of sales ends, if general headquarters' end hardware device is low excessively, the phenomenon that crashes may appear, and network connects unstablely, and data are lost easily, the time and phenomenon such as network timeout appears; So general headquarters need bear suitable large equipment investment cost, and keep administration fee and huge communications cost expense.In addition, in communication line, present main flow is that general telephone wire adds the modem dialup online, when having sufficient funds and paying attention to also having used broadband network in the environment of safety.But when to communicate with dialing when connecting, connect onlinely in one day, be uneconomic on communications cost always.
[summary of the invention]
Main purpose of the present invention is exactly in order to solve prior art problems, the transmission method of a kind of strange land data sync is provided, the data of headquarters server and the data of terminal server can be realized synchronously, be not subjected to the influence of headquarters server hardware device and processing speed again, can transmit data reliably.And only allow headquarters server and terminal server to exchange the interior data of operating right scope separately, guaranteed safety of data, also reduced volume of transmitted data simultaneously, improved transmission speed.
A purpose once more of the present invention is exactly in order to solve prior art problems, and the transmission method of a kind of strange land data sync is provided, and headquarters server and terminal server only need upgrade new record, have further reduced volume of transmitted data, have improved transmission speed.
A purpose once more of the present invention is exactly in order to solve prior art problems, and the transmission method of a kind of strange land data sync is provided, and terminal server can be downloaded basic data by the authority forced synchronism, has further improved the integrality of terminal server data.
For achieving the above object, the transmission method of a kind of strange land data sync that the present invention proposes, be applied to the data sync between headquarters server and the terminal server, comprise the step and and the step of central server and terminal server synchrodata of headquarters server and central server synchrodata
The step of headquarters server and central server synchrodata may further comprise the steps:
A1, headquarters server are connected authentication with central server, execution in step B1 after connecting authentication success;
B1, headquarters server obtain and the corresponding operating right of headquarters server to central server;
C1, produce the first data retrieval condition, and send the first data retrieval condition to central server according to its operating right;
D1, according to the data sync of the first data retrieval condition with headquarters server and central server;
The step of central server and terminal server synchrodata may further comprise the steps:
A2, terminal server are connected authentication with central server, execution in step B2 after connecting authentication success;
B2, terminal server obtain and the corresponding operating right of this terminal server to central server;
C2, produce the second data retrieval condition, and send the second data retrieval condition to central server according to its operating right;
D2, according to the data sync of the second data retrieval condition with terminal server and central server.
Described step D1 may further comprise the steps:
D11, go out data that write time in the headquarters server or update time and search condition be complementary down-transmitting data, and the down-transmitting data of needs is sent to central server as needs according to the first data retrieval conditional search;
D12, go out data that write time in the central server or update time and search condition be complementary the data of uploading, and the data of uploading that will need send to headquarters server as needs according to the first data retrieval conditional search;
Described step D2 may further comprise the steps:
D21, go out data that write time in the terminal server or update time and search condition be complementary the data of uploading, and the data of uploading that will need send to central server as needs according to the second data retrieval conditional search;
D22, go out data that write time in the central server or update time and search condition be complementary down-transmitting data, and the down-transmitting data of needs is sent to terminal server as needs according to the second data retrieval conditional search.
Wherein, headquarters server after receiving the data that central server sends upgrades the headquarters server database, central server after receiving the data that headquarters server or terminal server send upgrades the central server database, and terminal server after receiving the data that central server sends upgrades the terminal server database.
Among the present invention, upload data and be meant that terminal server need be to the data of headquarters server transmission, down-transmitting data is meant that headquarters server need be to the data of terminal server transmission.
And, when each terminal server receives the data that sent by central server, the interior basic data of valid data scope that synchronous by force each terminal server operating right is related.
For achieving the above object, a kind of strange land data synchronization system that makes that the present invention proposes comprises:
One sends down-transmitting data and receives the headquarters server of uploading data by network;
One links to each other, receives the down-transmitting data that headquarters server sends and will upload the central server that data send to headquarters server by network with headquarters server;
At least one also will upload the terminal server that data send to central server by the down-transmitting data that network links to each other with central server, the receiving center server sends.
Described central server also comprise can make headquarters server or terminal server be connected authentication with central server after, obtain separately the authority of corresponding authority is provided with module.
Described headquarters server also comprises:
One produces the first search condition generation module of first search condition according to the authority that it obtained;
One reads first read module of the database data of headquarters server;
One search that write time of data in the headquarters server database or update time and first search condition be complementary first search module;
One sends to first sending module of central server with the data that find out;
First receiver module of the data that one receiving center server sends;
One first update module of the headquarters server database being upgraded according to the data that receive;
Described each terminal server also comprises:
One produces the second search condition generation module of second search condition according to the authority that it obtained;
Second read module of one reading terminals data in server database data;
One search that write time of data in this terminal server database or update time and second search condition be complementary second search module;
One sends to second sending module of central server with the data that find out;
Second receiver module of the data that one receiving center server sends;
One second update module of the terminal server database being upgraded according to the data that receive;
Described central server also comprises:
One reads the third reading delivery piece of the database data of central server;
One the 3rd searches module according to what first or second search condition searched that write time of data in the central server database or update time and first or second search condition be complementary;
One sends to the 3rd sending module of headquarters server or terminal server with the data that find out;
One receives the 3rd receiver module of the data of headquarters server or terminal server transmission;
One the 3rd update module of the central server database being upgraded according to the data that receive.
The invention has the beneficial effects as follows:
1) when headquarters server and each terminal server synchrodata, passes through central server, avoided being subjected to the influence of headquarters server hardware or processing speed, also avoided going wrong because of the headquarters server database, and the problem that the running that causes whole enterprise pauses has improved reliability of data transmission and fail safe.Multiple users is submitted the application of qualification access to central server at the detection mouth simultaneously, and after authentication was passed through, intra vires, system opened and receives or the output information data, realized unlimited user's on line use, effectively guaranteed the popularity and the fail safe of transfer of data.
2) rights management comprehensively and effectively and high efficiency transfer of data.By control to the data access layer, set up complete rights management mechanism, easily realize the telecommunication network control and the visit of safety; The distribution of authority relates to the authority that reads of the various Back ground Informations of various places and various documents.Different servers has different operating rights, each server determines to receive the kind and the scope of data according to the operating right of itself, each terminal server is downloaded the data relevant with its operating right, can not cause data to leak, and has guaranteed the safety of data.Such as: join the merchant and cannot download other shop data on one's own account.By the authority setting, limit the flow of data simultaneously, improved the transmission speed of data.And because real-time transmitting and receiving data, so just can understand various common data information from all terminals.
3) come retrieve data according to the search condition corresponding, only upgrade up-to-date data that write or data updated, further reduced the transmission quantity of data, improved the transmission speed and the data synchronization speed of data greatly with operating right.
4) match with search condition, terminal server is also downloaded basic data by the authority forced synchronism, has further improved the integrality of terminal server data.
Feature of the present invention and advantage will be elaborated in conjunction with the accompanying drawings by embodiment.
[description of drawings]
Fig. 1 is the connection diagram of each server of the present invention;
Fig. 2 is the block diagram of a kind of embodiment of the present invention;
Fig. 3 is the flow chart of a kind of embodiment of the present invention.
[embodiment]
As shown in Figure 1, the headquarters server of company is connected with central server by Internet, makes the data sync of headquarters server and central server by transfer of data.Each terminal server (for example branch company/office, join agency, logistics center, directly under department, market, telecommuting etc. on one's own account) be connected with central server by Internet or company intranet, make the data sync of terminal server and central server by transfer of data.
The concrete composition of above-mentioned server as shown in Figure 2, the first search condition generation module of headquarters server, produce first search condition according to the operating right that headquarters server obtained, first read module reads the headquarters server data of database, first searches the data that write time in the module searches headquarters server database or update time and first search condition are complementary, first sending module sends to the data that find out the 3rd receiver module of central server, the data that the 3rd sending module of the first receiver module receiving center server sends, first update module is upgraded the headquarters server database according to the data that receive.
The second search condition generation module of each terminal server produces second search condition according to the operating right that this terminal server obtained, second read module reads the database data of this terminal server, second searches the data that write time in this terminal server database of module searches or update time and second search condition are complementary, second sending module sends to the data that find out the 3rd receiver module of central server, the data that the second receiver module receiving center server sends, second update module is upgraded the terminal server database according to the data that receive.
The third reading delivery piece of central server reads the database data of central server, the 3rd searches module searches the data that write time of data in the central server or update time and first or second search condition are complementary according to first or second search condition, the 3rd sending module sends to first receiver module of headquarters server or second receiver module of terminal server with the data that find out, the 3rd receiver module receives the data of headquarters server or terminal server transmission, and the 3rd update module is upgraded the central server database according to the data that receive.
The flow chart of work of the present invention is as shown in Figure 3:
In advance system is provided with, according to the connection of system's setting at interval from being dynamically connected online; As be to use Dial-up Network to connect, then dialing (not having under the online prerequisite) automatically; Automatically the dialing failure can continue to carry out dial-up connection.
In step 100, terminal server or headquarters server connect long-range central server, if successful connection, then carry out step 101, if network failure or central server are not opened, when central server is replied at the appointed time (and occurring overtime), after system nullifies and connects, once more from being dynamically connected.
In step 101, central server authenticates connected terminal server or headquarters server, if authentication success then carry out step 102, if authentication is unsuccessful, then carry out step 106;
In step 102, obtain the operating right of server separately from central server, operating right can be provided with by data access layer as required, headquarters server obtains and the corresponding operating right of headquarters server, terminal server obtains and the corresponding operating right of this terminal server, proceeds to step 103 then;
In step 103, headquarters server or terminal server produce corresponding first search condition or second search condition according to operating right separately, and the time that search condition sets also can be provided with as the case may be; Proceed to step 104 then, in its operable data scope, retrieve, find out up-to-date writing or data updated, proceed to step 105 then according to first or second search condition;
In step 105, the Data Update that retrieves to corresponding database, is proceeded to step 106 then, nullify network, wait for that connect next time.
In step 104,105, two kinds of situations are arranged, when being headquarters server when being connected, send connection request to central server DB receiving lines from headquarters server DB (database) with central server, obtain the affirmation that the connection of central server DB is admitted.Produce first division operation instruction of synchronous executed in real time during renewal, the instruction of first division operation may further comprise the steps:
3-1) headquarters server sends the request of opening to the database of headquarters server, produces to open the operational order of processing;
3-2) send the request of opening to the database of central server again, produce and open the operational order of processing;
3-3) operating right according to headquarters server sends the request of reading to the database of headquarters server, produces and reads the operational order of processing, returns the new data that retrieves according to first search condition;
3-4) database to central server sends update request, produces to upgrade the operational order of handling, and upgrades the database data of central server;
3-5) operating right according to headquarters server sends the request of reading to the database of central server, produces and reads the operational order of processing, returns the new data that retrieves according to first search condition from central server;
3-6) database to headquarters server sends update request, produces to upgrade the operational order of handling, and upgrades headquarters server DB data;
3-7) database to headquarters server sends turn-off request, produces the operational order of closing processing;
3-8) database to central server sends turn-off request, produces the operational order of closing processing;
3-9) database to headquarters server sends de-registration request, produces to nullify the operational order of handling;
3-10) database to central server sends de-registration request, produces to nullify the operational order of handling, and then nullifies network as dialing and connects.
Headquarters server sends the request of reading to headquarters server DB, retrieves all new data messages.DB sends update request to central server, upgrades the data of central server DB.Like this, central server DB just obtains the data of all new issues.
Headquarters server sends update request to central server DB, upgrades headquarters server DB data, and obtains the operation information to terminal server DB data of all terminals, and the situation of each terminal can in time be understood by general headquarters.
When being terminal server when being connected with central server, each terminal server DB sends connection request to central server DB receiving lines, obtains the affirmation that the connection of central server DB is admitted; Produce second division operation instruction of synchronous executed in real time during renewal, described second division operation instruction may further comprise the steps:
3 '-1) terminal server sends the request of opening to the database of terminal server, produces to open the operational order of processing;
3 '-2) send the request of opening to the database of central server again, produce and open the operational order of processing;
3 '-3) operating right according to terminal server sends the request of reading to the database of this terminal server, produces and reads the operational order of processing, returns the new data of the terminal server that retrieves according to second search condition;
3 '-4) database to central server sends update request, the operational order of produce to upgrade handling, new Data Update in the database of central server;
3 '-5) send the request of reading according to the authority of terminal server to the database of central server simultaneously, produce and read the operational order of processing, return the new data of the central server that retrieves according to second search condition;
3 '-6) database to terminal server sends update request, produces to upgrade the operational order of handling, and upgrades the database of terminal server;
3 '-7) database to terminal server sends turn-off request, produces the operational order of closing processing;
3 '-8) database to central server sends turn-off request, produces the operational order of closing processing;
3 '-9) database to terminal server sends de-registration request, produces to nullify the operational order of handling;
3 '-10) database to central server sends de-registration request, produces to nullify the operational order of handling, and then nullifies network as dialing and connects.
By above step, make the data of headquarters server, central server and terminal server reach synchronous.Simultaneously in the scope of data retrieval, the data of a retrieving novel.Like this, reduced the scope of data, data volume when also having reduced transmission has reduced line duration, has saved the online communications cost, has also improved data transmission bauds.Program inside is provided with the system time monitoring program, can find out easily in the nearest time to write and data updated when the data comparison.
When each terminal receives the data that sent by central server, the basic data in certain related valid data scope of this terminal server authority is carried out synchronous by force so that data downloaded is more complete.
Each terminal is sent the request of reading synchronously by authority separately to central server DB, during synchrodata, all data relevant of retrieval center server DB with the terminal authority, upgrade the data of terminal server DB synchronously, synchrodata can make among terminal server DB and the central server DB and keep in full accord with terminal authority related data.When synchrodata, adopt first comparison keyword, seeing its update time, can accelerate synchronously the more speed of new data like this.
Data Update is finished, and dialing is in this way then nullified the disconnection network and connected, and saves communications cost.
Further improve is that the every interval of headquarters server, central server and terminal server certain hour is from being dynamically connected once.Can also when headquarters server, central server are connected with terminal server, allow and authentication or connection failure in the stipulated number occur, after authentication or connection failure, give the corresponding error prompting, make the operator can not think system in case of system halt by mistake, and in certain time interval, connect authentication once more.
When headquarters server or terminal server send connection request to central server DB, when not replying at the appointed time (and occurring overtime), after system nullifies and connects, once more from being dynamically connected.Like this, break down exactly, also can reach the effect of successful connection.
Send synchronous update request to terminal server DB, when synchronous renewal process, may break down, after fault takes place, can continue to carry out synchronously the data that break down.Like this, even fault occurs upgrading synchronously, also can remedy mistake.
Each server can be implemented transmission by following several timing modes according to the actual features (fast and slow) of network transfer speeds when transmitting and receive data:
(1) real-time mode (being always-on connection)
(2) fixing timing mode
(3) self-defined timing mode
Implement transmission by following several internetwork connection modes:
(1) number of broadcasting mode (ordinary telephone line)
(2) ADSL mode (wide band system)
(3) wireless Internet access mode (terminal client portability notebook do not have communicate with each network layer under the situation of grid line)
The present invention also can accomplish the system that the valid data of terminal data and remote server are consistent under the different communication networks environment, it also has the following advantages:
1) many-to-one communication modes. Multiple users is submitted the application of qualification access to central server at the detection mouth, recognizes After card passed through, intra vires, system opened and receives or the output information data, realized unlimited user's on line use, had Effect guarantees the popularity of transfer of data.
2) no user mode of operation. Each terminal can be carried out enterprise in the situation of no user intervention network from be dynamically connected, Data synchronous task, data distribution security credential, long-range access service, security of system alarm, system update service, Data buffer storage is optimized. Cost with minimum drops into, and easily structure realm server, data center server make each ground What the server in territory was seamless links together.
3) method of synchronization of transmission has guaranteed effective backup of data. Terminal also arranges server DB, with in genuinely convinced (central server is indispensable to the affair device, and its Main Function is according to the authority streamed data, guarantees the security of data. ) Carry out data communication, central server by with the data communication of headquarters server, terminal data and general headquarters' data are kept Unanimously (the employing method of synchronization) all preserved the data message same with general headquarters, even data in each terminal server Ging wrong and also can not have influence on the normal operation of each terminal in the center, has reached the effect of the unlimited backups of data, guaranteed respectively whole The stability of terminal running.
4) perfect log recording. Log system can send operating problem to system manager and software dimension automatically Protect company, simplified software engineer and user's communication process, improved greatly safeguard ageing.
5) built-in electronic mail service. Directly be not connected with the internet, enterprises will can not be subjected to the Email disease The infringement of poison has also realized when greatly improving the mail privacy degrees all functions of Email can also being enterprise Provide such as internal circular, technical forum, office document examine, the utility function such as document approval process driving, save big Long-distance call and the fax expense of amount, the cost of marketing of effectively having reduced enterprise.
6) auto-update function. The realization network is downloaded the AKU function automatically; In need not the situation of user intervention, be The system auto-update.

Claims (8)

1. the transmission method of a strange land data sync, be applied to the data sync between headquarters server and the terminal server, comprise the step of headquarters server and central server synchrodata and the step of central server and terminal server synchrodata, it is characterized in that:
The step of described headquarters server and central server synchrodata may further comprise the steps:
A1, headquarters server are connected authentication with central server, execution in step B1 after connecting authentication success;
B1, headquarters server obtain and the corresponding operating right of headquarters server to central server;
C1, produce the first data retrieval condition, and send the first data retrieval condition to central server according to its operating right;
D1, according to the data sync of the first data retrieval condition with headquarters server and central server;
The step of described central server and terminal server synchrodata may further comprise the steps:
A2, terminal server are connected authentication with central server, execution in step B2 after connecting authentication success;
B2, terminal server obtain and the corresponding operating right of this terminal server to central server;
C2, produce the second data retrieval condition, and send the second data retrieval condition to central server according to its operating right;
D2, according to the data sync of the second data retrieval condition with terminal server and central server.
2. the transmission method of strange land as claimed in claim 1 data sync is characterized in that: described step D1 may further comprise the steps:
D11, go out data that write time in the headquarters server or update time and search condition be complementary down-transmitting data, and the down-transmitting data of needs is sent to central server as needs according to the first data retrieval conditional search;
D12, go out data that write time in the central server or update time and search condition be complementary the data of uploading, and the data of uploading that will need send to headquarters server as needs according to the first data retrieval conditional search;
Described step D2 may further comprise the steps:
D21, go out data that write time in the terminal server or update time and search condition be complementary the data of uploading, and the data of uploading that will need send to central server as needs according to the second data retrieval conditional search;
D22, go out data that write time in the central server or update time and search condition be complementary down-transmitting data, and the down-transmitting data of needs is sent to terminal server as needs according to the second data retrieval conditional search.
3. the transmission method of strange land as claimed in claim 2 data sync, it is characterized in that: headquarters server after receiving the data that central server sends upgrades the headquarters server database, central server after receiving the data that headquarters server or terminal server send upgrades the central server database, and terminal server after receiving the data that central server sends upgrades the terminal server database.
4. as the transmission method of each described strange land data sync in the claim 1 to 3, it is characterized in that: also produce first division operation instruction of synchronous executed in real time when headquarters server and central server data sync, described first division operation instruction may further comprise the steps:
1) headquarters server sends the request of opening to the database of headquarters server, produces to open the operational order of processing;
2) send the request of opening to the database of central server again, produce and open the operational order of processing;
3) database to headquarters server sends the request of reading, and produces and reads the operational order of processing, returns the new data that retrieves according to search condition;
4) database to central server sends update request, produces to upgrade the operational order of handling, and upgrades the database data of central server;
5) database to central server sends the request of reading, and produces and reads the operational order of processing, returns the new data that retrieves according to search condition from central server;
6) database to headquarters server sends update request, produces to upgrade the operational order of handling, and upgrades the database data of headquarters server;
7) database to headquarters server sends turn-off request, produces the operational order of closing processing;
8) database to central server sends turn-off request, produces the operational order of closing processing;
9) database to headquarters server sends de-registration request, produces to nullify the operational order of handling;
10) database to central server sends de-registration request, produces to nullify the operational order of handling;
Also produce second division operation instruction of synchronous executed in real time when terminal server and central server data sync, described second division operation instruction may further comprise the steps:
1 ') terminal server sends the request of opening to the database of terminal server, produce to open the operational order of processing;
2 ') again the database to central server send the request of opening, produce and to open the operational order of processing;
3 ') send the request of reading according to the authority of terminal server to the database of this terminal server, produce and read the operational order of processing, return the new data of the terminal server that retrieves according to search condition;
4 ') send update request to the database of central server, the operational order of produce to upgrade handling, new Data Update in the database of central server;
5 ') send the request of reading according to the authority of terminal server to the database of central server simultaneously, produce and read the operational order of processing, return the new data of the central server that retrieves according to search condition;
6 ') send update request to the database of terminal server, produce and upgrade the operational order of handling, upgrade the database of terminal server;
7 ') send turn-off request to the database of terminal server, produce the operational order of closing processing;
8 ') send turn-off request to the database of central server, produce the operational order of closing processing;
9 ') send de-registration request to the database of terminal server, produce and nullify the operational order of handling;
10 ') send de-registration request to the database of central server, produce and nullify the operational order of handling.
5. the transmission method of strange land as claimed in claim 4 data sync, it is characterized in that: when each terminal server receives the data that sent by central server, the interior basic data of valid data scope that synchronous by force each terminal server operating right is related.
6. as the transmission method of each described strange land data sync in the claim 1 to 5, it is characterized in that: the every interval of described headquarters server and central server certain hour is from being dynamically connected once, and the every interval of described central server and terminal server certain hour is from being dynamically connected once.
7. the transmission method of strange land as claimed in claim 6 data sync, it is characterized in that: when described headquarters server, central server are connected with terminal server, allow authentication or connection failure in the stipulated number to occur, after authentication or connection failure, give the corresponding error prompting, and in certain time interval, connect authentication once more.
8. one kind makes the strange land data synchronization system, it is characterized in that comprising:
One sends down-transmitting data and receives the headquarters server of uploading data by network;
One links to each other, receives the down-transmitting data that headquarters server sends and will upload the central server that data send to headquarters server by network with headquarters server;
At least one also will upload the terminal server that data send to central server by the down-transmitting data that network links to each other with central server, the receiving center server sends;
Described central server also comprise can make headquarters server or terminal server be connected authentication with central server after, obtain separately the authority of corresponding authority is provided with module;
Described headquarters server also comprises:
One produces the first search condition generation module of first search condition according to the authority that it obtained;
One reads first read module of the database data of headquarters server;
One search that write time of data in the headquarters server database or update time and first search condition be complementary first search module;
One sends to first sending module of central server with the data that find out;
First receiver module of the data that one receiving center server sends;
One first update module of the headquarters server database being upgraded according to the data that receive;
Described each terminal server also comprises:
One produces the second search condition generation module of second search condition according to the authority that it obtained;
Second read module of one reading terminals data in server database data;
One search that write time of data in this terminal server database or update time and second search condition be complementary second search module;
One sends to second sending module of central server with the data that find out;
Second receiver module of the data that one receiving center server sends;
One second update module of the terminal server database being upgraded according to the data that receive;
Described central server also comprises:
One reads the third reading delivery piece of the database data of central server;
One the 3rd searches module according to what first or second search condition searched that write time of data in the central server database or update time and first or second search condition be complementary;
One sends to the 3rd sending module of headquarters server or terminal server with the data that find out;
One receives the 3rd receiver module of the data of headquarters server or terminal server transmission;
One the 3rd update module of the central server database being upgraded according to the data that receive.
CNB200510020721XA 2005-04-11 2005-04-11 Synchronization transmission method and system for data between general server and terminal server Expired - Fee Related CN100352231C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510020721XA CN100352231C (en) 2005-04-11 2005-04-11 Synchronization transmission method and system for data between general server and terminal server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510020721XA CN100352231C (en) 2005-04-11 2005-04-11 Synchronization transmission method and system for data between general server and terminal server

Publications (2)

Publication Number Publication Date
CN1694427A CN1694427A (en) 2005-11-09
CN100352231C true CN100352231C (en) 2007-11-28

Family

ID=35353235

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510020721XA Expired - Fee Related CN100352231C (en) 2005-04-11 2005-04-11 Synchronization transmission method and system for data between general server and terminal server

Country Status (1)

Country Link
CN (1) CN100352231C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309187B (en) * 2007-05-15 2011-08-03 华为技术有限公司 Data transmission method and system
CN101312411B (en) * 2007-05-22 2012-09-12 吕共欣 System and method for Internet shopping
CN101132269B (en) * 2007-07-26 2010-06-23 中兴通讯股份有限公司 Data synchronization method and IPTV content distribution network system using the same
CN101834873B (en) * 2010-05-19 2012-12-05 深圳市科脉技术有限公司 Data transmission method for business database
CN102916985A (en) * 2011-08-02 2013-02-06 天津中启创科技有限公司 Method for operating data acquisition and management system
CN102916988A (en) * 2011-08-02 2013-02-06 天津中启创科技有限公司 Data management system
CN102916987A (en) * 2011-08-02 2013-02-06 天津中启创科技有限公司 Data acquisition and management system based on cloud computing framework
CN104426974A (en) * 2013-09-03 2015-03-18 刘志 System and method for data collection based on self-release terminal
CN105303283A (en) * 2014-07-24 2016-02-03 苏州奥亿网络信息有限公司 Management system construction method
CN105933326A (en) * 2016-06-08 2016-09-07 乐视控股(北京)有限公司 Remote terminal data reporting method and device
CN109413208A (en) * 2018-12-14 2019-03-01 徐州恒佳电子科技有限公司 A kind of method of data synchronization of the new distribution type safety certification towards healthy cabin

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1252565A (en) * 1998-10-23 2000-05-10 国际商业机器公司 Method and device for user and self adaptive synchronous and conversion service device
CN1269032A (en) * 1997-07-30 2000-10-04 维斯托公司 System and method for globally and securely accessing unified information in a computer network
CN1107278C (en) * 1998-01-16 2003-04-30 维斯托公司 System and method for using a workspace data manager to access, manupulate and synchronize network data
US20030105974A1 (en) * 2001-10-24 2003-06-05 Philip B. Griffin System and method for rule-based entitlements
CN1501271A (en) * 2002-11-15 2004-06-02 鸿富锦精密工业(深圳)有限公司 Data synchronizing system and method
US20040230661A1 (en) * 2003-01-29 2004-11-18 Gus Rashid Rules based notification system
CN1570898A (en) * 2003-07-12 2005-01-26 鸿富锦精密工业(深圳)有限公司 Synchronous maintenance system and method for foreign case template

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1269032A (en) * 1997-07-30 2000-10-04 维斯托公司 System and method for globally and securely accessing unified information in a computer network
CN1107278C (en) * 1998-01-16 2003-04-30 维斯托公司 System and method for using a workspace data manager to access, manupulate and synchronize network data
CN1252565A (en) * 1998-10-23 2000-05-10 国际商业机器公司 Method and device for user and self adaptive synchronous and conversion service device
US20030105974A1 (en) * 2001-10-24 2003-06-05 Philip B. Griffin System and method for rule-based entitlements
CN1501271A (en) * 2002-11-15 2004-06-02 鸿富锦精密工业(深圳)有限公司 Data synchronizing system and method
US20040230661A1 (en) * 2003-01-29 2004-11-18 Gus Rashid Rules based notification system
CN1570898A (en) * 2003-07-12 2005-01-26 鸿富锦精密工业(深圳)有限公司 Synchronous maintenance system and method for foreign case template

Also Published As

Publication number Publication date
CN1694427A (en) 2005-11-09

Similar Documents

Publication Publication Date Title
CN100352231C (en) Synchronization transmission method and system for data between general server and terminal server
CN100350767C (en) System and methods for provisioning a service for a communication device
CN1300912C (en) System for monitoring and controlling a set of household appliances
CN1306413C (en) System and method for full wireless synchronization of a data processing apparatus with a data service
CN1118990C (en) Message store and forward system
CN101043519A (en) Network storage system
CN1241368C (en) Virtual private network
CN1197297C (en) A platform information switch
CN1829345A (en) Method and system for realizing data share between mobile terminals
CN1878073A (en) Method for implementing virtual discuss group in group communication system
CN1248453C (en) Method for realtime synchronisation of net element and telecommunication system
CN1218568A (en) Message searching system and terminal
CN1713574A (en) Delivering system of webpage information of internet
CN101052167A (en) Automatic renewing system for communication number and its realizing method
CN1874218A (en) Method, system and equipment for license management
CN1479497A (en) Short message transfer system based on internet and method of data transfer
CN1694405A (en) System and method of remote computer service
CN1738446A (en) Multimedia message system and method for transmitting multimedia message
CN1244071C (en) Securities exchange system and method based on hand-held apparatus
CN101035312A (en) SMS processing method of group telephone exchange and server
CN1845616A (en) Short message service interface and channel adapting method for the same
CN1744490A (en) System and method for searching and retrieving certificates
CN1691816A (en) A method for verifying user card validity
CN1848986A (en) Mobile terminal equipment staging method and system
CN1110224C (en) Recovering group data between mobile systems

Legal Events

Date Code Title Description
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: 20071128

Termination date: 20110411