CN1419200A - Automatic stored data down transmission method and system - Google Patents

Automatic stored data down transmission method and system Download PDF

Info

Publication number
CN1419200A
CN1419200A CN 01135020 CN01135020A CN1419200A CN 1419200 A CN1419200 A CN 1419200A CN 01135020 CN01135020 CN 01135020 CN 01135020 A CN01135020 A CN 01135020A CN 1419200 A CN1419200 A CN 1419200A
Authority
CN
China
Prior art keywords
data
server
end device
down transmission
address
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
CN 01135020
Other languages
Chinese (zh)
Other versions
CN1217275C (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.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN 01135020 priority Critical patent/CN1217275C/en
Publication of CN1419200A publication Critical patent/CN1419200A/en
Application granted granted Critical
Publication of CN1217275C publication Critical patent/CN1217275C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

A automatic stored data down transmitting method and the system, the client ends can download data only need the server carries on one time reading, when the client ends want to read automatic stored data, the end advances connection petition by TCP transmission control protocol to server, the server stores the IP address of ends in IP address temporary section, the server judges if it is the time to read data, if yes, the server read the data in data bank, and the data are transmitted to end according to the IP address by UDP user data information protocol, then the end advances a petition to end the connection, the server stops to transmit data to ends.

Description

Automatic stored data down transmission method and system
Technical field
The present invention relates to a kind of data read technology that is applied to master-slave architecture, more detailed it, relate to a kind of automatic stored data down transmission method and system, it only needs server once to read action can be for propose to read each end device data download of request in client.
Background technology
Generally lot of data is stored at present in the station server (Server) and downloads these data end device extremely separately, reduce data maintenance by this, upgrade and transmit upward required cost for client (Client).In addition, for knowing real-time information to grasp latest news at any time, therefore, the end device (that is client) in that intra-company all can be provided with tool billboard function everywhere is able to the server that stores up-to-date information is proposed the data download request.
Yet, the shortcoming of above-mentioned master-slave architecture (Client/Server) is as if too much client and each client being set again simultaneously when server proposes the data download request, easily cause the excessive and network bandwidth decline of server load, thereby cause the network running to be stopped.Moreover, if avoid taking too much frequency range to allow the network normal operation, thereby the restriction client proposes to read the number of times of request to server, perhaps prolong the interval time that proposes the request of reading between each client, so, will make client can't obtain data in real time, and, if during quantity is set increases of client, more reduce the live effect that it produced.
Therefore, can obtain unusual fluctuation data in the server in real time in client, and when client repeatedly proposes data read request to server, how to reduce server responsive operation, reduce frequency range and take, so that optimized data transmission and processing to be provided, promptly be the problem that needs solution at present.
Summary of the invention
The shortcoming of prior art in view of the above, fundamental purpose of the present invention is to provide a kind of automatic stored data down transmission method and system, and it is applied under the master-slave architecture environment, in order to reduce the work load of server.
Another object of the present invention is to provide a kind of automatic stored data down transmission method and system, it is applied under the master-slave architecture environment, when each end device of client is obtained unusual fluctuation data in the server in real time, does not also reduce network bandwidth.
Automatic stored data down transmission method of the present invention, it only needs server once to read action can be for propose to read each end device data download of request in client, this data down transmission method may further comprise the steps: 1) end device proposes the binding request by tcp transmission control protocol to server, judge the whether binding request of receiving terminal device of server, if, then proceed to step 2), otherwise return this step 1); 2) IP address value under the end device of binding request should be proposed in working area, IP address by server stores; 3) carry out time counting and judge whether to arrive the data read time by server,, otherwise return this step 3) if then proceed to step 4); 4) move to carry out a data read in order to the automatic stored data storehouse of storage data by server, and transmit the end device of this reading of data with UDP user data information agreement to the IP address value according to the IP address value that is stored at present in the working area, IP address; 5) propose to finish online request to server by tcp transmission control protocol by the end device that receives data, server is stopped to these end device transmission data.
Automatic stored data down transmission of the present invention system, it can be applicable to a data banner system, and this data banner system has an automatic control equipment, in order to allow client obtain the data that produced when this automatic control equipment operates by this data down transmission system, this down-transmitting data system comprises: at least one end device, use for client input binding request and output data result and supply client references, this end device has exclusive IP address value; One automatic control equipment, it has a database, in order to store the data that this automatic control equipment is produced when operating; An and server, it comprises working area, an IP address, one data read module, one data download module, an and timing module, wherein, when this server receives from binding request that end device transmitted, be stored in the working area, IP address with the IP address value that is about to this end device, and begin to count and judge whether to arrive the time of carrying out data read to the automatic stored data storehouse by this timing module, if when arriving, promptly by data read module data download in the database of automatic control equipment, then transmit the data that it reads according to the IP address value that is stored in the working area, IP address at present by the data down transmission module, make the end device video data result of this IP address value, and finish the connection relationship between this end device and the server.
Wherein, this end device is to propose the binding request with tcp transmission control protocol to server, make prestore IP address value under the end device of this proposition binding request of server, afterwards, only database is carried out a data read action responds each IP address value again with One-to-All Broadcast by UDP user data information agreement end device by server, therefore, the data transmission that can significantly reduce between server and client is confirmed to handle; Even and the quantity of increase end device, also can not take too much frequency range or cause the load of server excessive, thereby effectively avoid stopping of network.
By automatic stored data down transmission method of the present invention and system, make the number of times of data read request of each end device of server customer in response end carry out the number of times of data read to database with respect to server itself, that is, being different from prior art is the totalling that proposes all number of times of data read request according to each end device of client, therefore when a plurality of end devices propose data read request to server simultaneously and repeatedly, also can not increase the work load of server.
Description of drawings
For above and other objects of the present invention, feature and advantage can be become apparent, will with preferred embodiment, and conjunction with figs. describes embodiments of the invention in detail, the content Description of accompanying drawing is as follows:
Fig. 1 is a system architecture calcspar, and it shows the system architecture calcspar of automatic stored data down transmission of the present invention system; And
Fig. 2 is the main operation workflow figure of automatic stored data down transmission method of the present invention.
Symbol description among the figure:
1 client
2 automatic control equipments
3 servers
10,11,12 end devices
20 databases
Working area, 30 IP address
31 timing modules
32 data read modules
33 data down transmission modules
Embodiment
See also Fig. 1, in order to the system architecture calcspar of the embodiment that shows data down transmission of the present invention system.Automatic stored data down transmission of the present invention system for example is built in one to have in the data banner system of automatic control equipment, the data that produced in the time of can allowing client obtain this automatic control equipment running by this automatic stored data down transmission system.As shown in the figure, this automatic stored down-transmitting data system comprises: a client 1, an automatic control equipment 2, and a server 3.
This client 1 comprises a plurality of end devices 10,11,12, and each end device 10,11,12 all has exclusive IP (Internet Protocol) address value, in order to discern the network address under this end device 10,11,12, so that the transmission process of data; And this automatic control equipment 2, it has a database 20, in order to store the data that this automatic control equipment is produced when operating, reads for client 1; And this server 3 is based on the workbench of TCP/IP (Transmission Control Protocol/Internet Protocol) transmission control/network communication protocol institute construction, it outwards is connected to a network communication system (not icon), for example a world-wide web or enterprise network, in order to allow client 1 be online to this server 3 by this network communication system, and receive client 1 by end device 10,11,12 requests of being transmitted of reading, read the end device 10 of request with data down transmission to this proposition that automatic control equipment 2 running backs are produced, 11,12, make client 1 be obtained the data of automatic control equipment 2 by this server 3.Because TCP/IP transmission control/network communication protocol is the known agreement of network industry, not therefore following will it not being described in further detail.The server 3 of the data down transmission system of present embodiment comprises working area, an IP address 30, a timing module 31, a data read module 32 and a data down transmission module 33.
This working area, IP address 30, be in order to store the IP address value under the end device 10,11,12 of server 3 proposition binding requests, and after server 3 deposits the IP address value under this end device 10,11,12 in working area, IP address 30, even this end device 10,11,12 enters waiting status.
This timing module 31, its inside time for reading value (not icon) that prestores, when arbitrary end device 10,11,12 proposed the binding requests in client 1, it promptly began to carry out time counting and judges whether its time value of counting arrives this time for reading value.
This data read module 32 is when the time that this timing module 31 is counted arrives this time for reading value, even data read module 32 is from database 20 reading of data of automatic control equipment 2.
This data down transmission module 33, be based on the construction of UDP (User Datagram Protocol) user data information agreement institute, after if this data read module 32 is obtained data in the database 20, then data down transmission module 33 is according to being stored in the IP address value in the working area, IP address 30 at present and these data that obtain being sent to the end device of this IP address value by UDP user data information agreement.
When the end device that is in waiting status receives the data that transmitted by this data down transmission module 33, then this end device proposes to finish the binding request by tcp transmission control protocol to server 3, make server 3 stop this proposition is finished the end device transmission data of binding request, and after all end devices and server 3 end bindings, also stop to automatic control equipment 2 reading of data.
Seeing also Fig. 2, is to show the performed program step of automatic stored data down transmission system of the present invention.Now consult Fig. 1 and Fig. 2 simultaneously to cooperate following explanation.When arbitrary end device 10,11 or 12 of client 1 is desired to read the database 20 of automatic control equipment 2, at first carry out step S1, to server 3 the binding requests are proposed by tcp transmission control protocol by the end device of client 1, then carry out step S2.
In step S2, judge whether to accept the binding request transmitted by this end device by server 3, if when accepting, then proceed to step S3, otherwise return this step S2.
In step S3, by server 3 the IP address value that this transmits under the end device that links request is stored in the working area, IP address 30, then carry out step S4.
In step S4, when server 3 receives the binding request that client 1 transmitted,, then carry out step S5 even its timing module 31 begins to carry out time counting.
In step S5, by timing module 31 the data read time value that the present time value of counting and this timing module 31 are prestored is compared, whether arrive the data read time to judge this gate time, if when arriving, promptly carry out step S6; Otherwise return this step S5.
In step S6,, then carry out step S7 by the data read module 32 of server 3 database 20 reading of data to automatic control equipment 2.
In step S7, transmit this reading of data end device to IP address value according to the IP address values that are stored at present in the working area, IP address 30 with UDP user data information agreement by the data down transmission module 33 of server 3, then carry out step S8.
In step S8, when the end device of this IP address value receives the data that transmitted by server 3, promptly propose to finish the binding request to server 3 by tcp transmission control protocol, this server 3 is stopped to these end device transmission data by this end device that receives data.
Because it is last, automatic stored data down transmission method of the present invention and system set up Network Transmission between client 1 and the server 3 by the UDP user data information agreement that has the tcp transmission control protocol that links guiding and do not have a mode of connection, that is by each end device 10 of client 1,11,12 upload onto the server 3 by tcp transmission control protocol with the IP address value under will be separately, and unified by server 3 to automatic control equipment 2 timing reading of data, then the data that read are sent to the end device 10 of this IP address value with UDP user data information agreement according to this IP address value of obtaining, 11,12.Therefore, compared to prior art, automatic stored data down transmission method of the present invention and system can reduce the action of reading to database 20, and because of using unidirectional udp broadcast mode, the data transmission that significantly reduces between client 1 and the server 3 is confirmed action, thereby reduces taking network bandwidth; Moreover, owing to unify by server 3 to automatic control equipment 2 reading of data, so revise reading frequency easily and can adjust the real-time that 3 pairs of data of server read at any time; And, because each end device of client 1 only sends the IP address value and receives data result, so program code is simple more can not installed as any setting except making, so the installation and the exploitation of simplification client 1.
The above only is preferred embodiment of the present invention, be not in order to limit the scope of essence technology contents of the present invention, essence technology contents of the present invention broadly is defined in claims of this patent, any technology entity or method that other people are finished, if it is identical with the definien of claims institute, or be the change of same equivalence, all will be regarded as being covered by among this patent scope.

Claims (11)

1. automatic stored data down transmission method, it only needs server to carry out a data read action can read each end device data download of request for proposing in client, and this data down transmission method may further comprise the steps:
(1) to server the binding request is proposed by end device;
(2) judge whether the binding request of receiving terminal device by this server, if then proceed to step (3), otherwise return this step (2);
(3) IP address value under the end device of binding request should be proposed in working area, an IP address by this server stores;
(4) carry out time counting by this server and judge whether to arrive the data read time value that it prestores,, proceed to step (5), otherwise return this step (4) if when working as the time value of being counted and arriving this data read time value;
(5) carry out a data read action by this server to database, and transmit the end device of this reading of data to the IP address value according to the IP address value that is stored in this working area, IP address; And
(6) propose to finish online request to server by the end device that receives these data, server is stopped to these end device transmission data.
2. automatic stored data down transmission method according to claim 1 is characterized in that: in this step (1), this end device is to adopt tcp transmission control protocol to propose the binding request to server.
3. automatic stored data down transmission method according to claim 1 is characterized in that: in this step (5), this server is to adopt UDP user data information agreement to transmit the end device of this reading of data to the IP address value.
4. automatic stored data down transmission method according to claim 1 is characterized in that: in this step (6), this end device is to adopt tcp transmission control protocol to propose to finish online request to server.
5. automatic stored data down transmission method according to claim 1 is characterized in that: this database is pre-stored in the automatic control equipment, in order to store the information that is produced when this automatic control equipment operates.
6. automatic stored data down transmission method according to claim 1 is characterized in that: this automatic stored data down transmission method is applicable to a data banner system.
7. automatic stored data down transmission system, it comprises:
At least one end device is used for client input binding request and output data result and is supplied client references, and this end device has exclusive IP address value;
One automatic control equipment, it has a database, in order to store the information that is produced when this automatic control equipment operates; And
One server, it comprises working area, an IP address, one data read module, one data download module, an and timing module, wherein, when this server receives from binding request that end device transmitted, be stored in the working area, IP address with the IP address value that is about to this end device, and begin to carry out the time counting program by this timing module, and judge whether the present time value of counting arrives the data read time that is pre-stored in this server, if when arriving, promptly by data read module data download in the database of automatic control equipment, then transmit the data that it reads according to the IP address value that is stored in the working area, IP address at present by the data down transmission module, make the end device video data result of this IP address value, and finish the connection relationship between this end device and the server.
8. according to the described automatic stored data down transmission of claim 7 system, it is characterized in that: this end device adopts tcp transmission control protocol to propose the binding request to server.
9. according to the described automatic stored data down transmission of claim 7 system, it is characterized in that: this server is obtained data in database after, be to adopt UDP user data information agreement these data that obtain to be reached the end device of IP address value.
10. according to the described automatic stored data down transmission of claim 7 system, it is characterized in that: after this end device receives the data that transmitted by server, be to adopt tcp transmission control protocol to propose to finish online request to server.
11. according to the described automatic stored data down transmission of claim 7 system, it is characterized in that: this automatic stored data down transmission system is applicable to a data banner system.
CN 01135020 2001-11-13 2001-11-13 Automatic stored data down transmission method and system Expired - Fee Related CN1217275C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01135020 CN1217275C (en) 2001-11-13 2001-11-13 Automatic stored data down transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01135020 CN1217275C (en) 2001-11-13 2001-11-13 Automatic stored data down transmission method and system

Publications (2)

Publication Number Publication Date
CN1419200A true CN1419200A (en) 2003-05-21
CN1217275C CN1217275C (en) 2005-08-31

Family

ID=4672892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01135020 Expired - Fee Related CN1217275C (en) 2001-11-13 2001-11-13 Automatic stored data down transmission method and system

Country Status (1)

Country Link
CN (1) CN1217275C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8477681B2 (en) 2007-12-31 2013-07-02 Htc Corporation Method for distributing network resources and user equipment thereof
CN105281964A (en) * 2014-06-10 2016-01-27 中兴通讯股份有限公司 Method for processing reading and writing requests under high concurrency and adaptation layer server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8477681B2 (en) 2007-12-31 2013-07-02 Htc Corporation Method for distributing network resources and user equipment thereof
CN105281964A (en) * 2014-06-10 2016-01-27 中兴通讯股份有限公司 Method for processing reading and writing requests under high concurrency and adaptation layer server
CN105281964B (en) * 2014-06-10 2019-09-17 南京中兴新软件有限责任公司 Read-write requests processing method and Adaptation Layer Service device under high concurrent

Also Published As

Publication number Publication date
CN1217275C (en) 2005-08-31

Similar Documents

Publication Publication Date Title
US6832239B1 (en) Systems for managing network resources
CN1170236C (en) Method for controlling communication between customer computer and server group and network server apparatus
CN1145896C (en) Apparatus and method for processing servlets
US8495170B1 (en) Service request management
CN1127689C (en) External operation dispatching in distributive processing system with local operation control system
US6615097B2 (en) Production management system
CN1427587A (en) Method and system for remote updating function of domestic apparatus
CN1642124A (en) Method and system for providing collaboration communication
CN1649324A (en) Method and apparatus for operating an open API network having a proxy
CN101056202A (en) A method for realizing the multi-task polling in the network management monitoring system
CN1926540A (en) System and method for dispatching load in high-speed memory network environment
WO2002037217A3 (en) Content and application download based on a home network system configuration profile
CN1280733A (en) Method and system for enforcing a communication security polly
DE10297645B4 (en) Method and device for load sharing and data distribution in servers
CN1604567A (en) Data stream control system and method
CA2521595A1 (en) Method and apparatus for data logging
CN1757044A (en) System and method for information collation
CN1407780A (en) Method and device for maintaining course continuance as multiple terminals accessing service content
DE102008062983A1 (en) Intelligent load balancing for call center applications
CN100338576C (en) Method for providing resources in communication networks
CN1217275C (en) Automatic stored data down transmission method and system
DE102006010539B4 (en) A method for transmitting program updates to programmatic devices in a communications network
CN100486329C (en) Method for interface adaptation between IPTV and stream media equipment
CN1469244A (en) Document down loading method and system
CN1323117A (en) Internet data scheduling method and equipment

Legal Events

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

Granted publication date: 20050831

Termination date: 20111113