Remote multi-subscriber terminal system
The present invention relates to a kind of computer remote multi-subscriber terminal system that is mainly used in industries such as finance, futures.
Usually, the function that teleterminal system is realized is roughly as follows: 1, On the Tape shows with numeral or figure or according to the certain standard sequencing display in real time to the market that receive; 2, quotation analysis, according to relevant theoretical, formula is handled market and show with figure, chart or numeral; 3, entrust, place an order, remove single function, can carry out buy and sell orders, remove operations such as list, inquiry according to relevant stock, forward quotations.But in simple teleterminal system, the part that can only realize aforementioned functional that has.
The technical method of realizing teleterminal system at present has two kinds: 1, adopt the broadcast communication mode that the market broadcast transmission is arrived each terminal, each moment market of each terminal storage are also handled, are shown; 2, adopt point-to-point mapping mode, all information that show on the terminal display promptly are the contents on the center control machine display, and the long-range information system of Shenzhen foreign exchange Science and Technology Ltd. promptly is such product.
The subject matter that the teleterminal system that adopts first kind of technology to realize exists is as follows:
(1) it is complete to guarantee that market receive.Terminal one side is later as starting shooting, and is later than exchange and reopens after a cessation of business the time, and then terminal one side will be lost one section market, thus the complete distortion of data result that causes terminal one side to be handled.Terminal will cause same problem to occur as crashing or breaking down and start again.
(2) extendability is poor.This kind terminal only can receive, handle one or two kind of market at present, if increase by two or three kind of market, will increase the complicacy of handling greatly, and work efficiency reduces greatly, and Practical Performance obviously reduces.
(3) inefficiency.Terminal should receive market, Treatment Analysis data display graphics again, and industries such as security, futures are very high to the real-time requirement of market, and the efficient of this kind terminal makes us being impatient at sometimes.Secondly in a single day terminal is used to receive market, just can not be used for other work the same day (as word processing, financial process ...), can not give full play to the function of terminal as computing machine.
The subject matter that the teleterminal system that adopts second kind of technology to realize exists then is:
(1) cost of investment height.The corresponding center control machine of terminal causes the teleterminal system cost of investment to strengthen and unnecessary equipment waste.
(2) can't realize that a station terminal supplies many people to operate simultaneously.
(3) fail to give full play to the intelligence of terminal.Terminal has very strong function as personal computer, as if the device as just transmission, reception, display message, like inadvisable.When for example thinking to operate afterwards, received information before reusing must repeat previous operation, is difficult to increase work efficiency.
Therefore, fundamental purpose of the present invention, be for fundamentally addressing the above problem, provide a kind of technical method brand-new novel remote terminal system, that is a station terminal can allow many people's while real-time high-efficiencies operate, obtain information, many station terminals of Communication Control machine may command work of center one side, thereby reduce cost the teleterminal system of raising the efficiency significantly.
The present invention includes the two large divisions, first be used to receive, processing terminal operation information and send the cover control system that is used for the control terminal device of one side at the center of terminal information needed, this control system comprises:
Reception, handle described end message, send the personal computer (being referred to as the Communication Control machine) of aforementioned processing information;
The means of handling, organize, dispatch, sending with regard to aforementioned information.
The multi-way intelligence communication controller;
The aforementioned intelligent communication controller comprises: be installed in outer CPU element of control card, machine and multi-channel serial port divider in the Communication Control machine.
Handle, organize data in real time according to various exchanges market for one, and data are transferred to the personal computer (being referred to as to analyze interpreter) that the Communication Control machine sends;
The means of handling in real time, organizing with regard to aforementioned exchange market.
A response terminal is entrusted operation, is handled the relevant operation of entrusting, and is used for the personal computer (being referred to as the interface conversion machine) with each operation system interface of center.
Processing means with aforementioned operation system interface.
Another part of the present invention is the remote terminal unit that can operate, control simultaneously multi-display, muliple keyboards for many people simultaneously, and this end device comprises:
More than one input keyboard;
Display more than one;
The Communication Control machine control of a controlled system is used to send user's request, and accepts the terminal machine of response message or other information of control system;
The means of communication that is used for the information of transmitting real-time with the control system realization;
The muliple keyboards control card;
The multihead display control card;
The multi-task scheduling means of hardware based muliple keyboards, multi-display.
In remote terminal unit, also provide following operational means:
The market that receive are handled the means of graphic presentation trend;
Be used to receive latest news, urgent notice, fresh picture, in real time the means that show;
According to security, futures relevant technologies theory, handle market, the means of graphic presentation of receiving;
The means that place an order and buy and sell to different exchanges.
In addition, in order to realize efficient, the reliable transmission of data, it is real-time that terminal receives efficient information, and control system of the present invention adopts following request---and response mode is handled the terminal input information:
(1) configuration information request flag;
(2) request type of analysing terminal information;
(3) generate the information that meets request type according to request type;
(4) send its information needed according to the quantity of information size to relevant terminal subpackage;
(5) configuration information sends sign.
Fig. 1 is the hardware composition diagram of an embodiment of teleterminal system of the present invention; Fig. 2 is communication request of data form; Fig. 3 is the end device control flow chart, and Fig. 4 is a terminal master menu picture; Fig. 5 is that deep bid personal share tendency is selected, display frame; Fig. 6 selects picture for the terminal rank; Fig. 7 entrusts for terminal and selects picture; Fig. 8 is the termination function process flow diagram; Fig. 9 is a terminal Online Help program flow diagram; Figure 10 is a terminal technology routine analyzer process flow diagram; Figure 11 is a terminal deep bid curve program process flow diagram; Figure 12 is a terminal personal share tendency curve program process flow diagram; Figure 13 is a terminal rank program flow diagram; Figure 14 is a terminal fundamental analysis program flow diagram; Figure 15 is an end message service routine process flow diagram; Figure 16 is the process flow diagram of terminal bidding analysis, On the Tape program; Figure 17 is the main flow chart of terminal client; Figure 18 is the process flow diagram of terminal buy and sell orders program; Figure 19 removes the process flow diagram of one way preface for terminal; Figure 20 is the process flow diagram of terminal modifications password program; Figure 21 is the process flow diagram of terminal trusting inquirying program; Figure 22 is the process flow diagram of the Communication Control machine program of control system; Figure 23 is the process flow diagram of the analysis interpreter program of control system.
According to the present invention, the analysis interpreter of the control system of center one side is ceaselessly processed the market of each exchange in real time, gives birth to Become and store and meet terminal request---reply the data file of standard. The Communication Control machine of control system is controlled many ends simultaneously End, constantly processing terminal request is organized reply data according to request type, sends in real time the requesting terminal. Control system it The interface conversion machine then detects in real time the Communication Control machine and whether transmits terminal and entrust request, according to request type with relevant operation system (such as the over-the-counter trading system of fund or stock) swap data, and be submitted to the Communication Control machine, send to corresponding terminal.
Specifically, analyze interpreter and read in real time the market data, relevant functional requirement generates and meets request according to system---Reply the data file of standard. The work period of analyzing interpreter is one fen kind, that is to say, in view of the reality of the industries such as security The requirement of time property, analyze interpreter must a minutes with reading out data, deal with data, write all operations such as data and finish, Some operation was carried out once such as the up-to-date exchange hand of getting all stocks in best 20 seconds. Analyzing interpreter only sends out with the Communication Control machine Give birth to Data relationship, the required most market data of Communication Control machine provide by analyzing interpreter, and the Communication Control machine turns to analysis The data file that generates of changing planes reads by LAN file-sharing read-write mode and realizes.
The Communication Control machine reads the request that terminal that each passage connects is sent by the circulation of multi-channel intelligent communication controller, to each Individual request is processed in proper order, and is relevant with market such as request, and the Communication Control machine reads the Relevant Analysis interpreter according to request and generates Data file, organising data is that a frame or multiframe send bag, passes to the multi-way intelligence communication controller, sends to relevant final End; Relevant with operation system (fund or stock) such as request, the Communication Control machine sends an order according to request and arrives and interface In the interface document that the interpreter communication is used, the result of fetch interface interpreter from interface document then, and pass to many The road Intelligent communication controller sends to associated terminal, the data between Communication Control machine and interface conversion machine, the analysis interpreter Transmission adopts LAN File Sharing read-write mode to realize the communication modes of Communication Control machine and multi-way intelligence communication controller Be dma mode.
The interface conversion machine constantly detects the interface document that is connected with the Communication Control machine, has judged whether to entrust request, in case have Entrust request, according to request type, enter relevant operation system and process, and result is write and the Communication Control machine Interface document in, the Communication Control machine generates according to result and replys, and sends to relevant by the multi-way intelligence communication controller Terminal. Interface conversion machine processing speed is exceedingly fast, and generally is no more than 2 seconds from receive data to returning result, considers logical News postpone, and trust operation of terminal one side from start to end can be above 6 seconds. The interface conversion machine only with the Communication Control machine Data relationship takes place, and required all data relevant with operation system of Communication Control machine are all generated by the interface conversion machine.
Multi-way intelligence communication controller (claiming again the intelligent multi-user card) is made up of card, CPU card, multi-channel serial port card in the machine, Card is used for realizing the DMA transfer of data with the Communication Control machine in the machine, and the CPU card is for the treatment of communication signal, the multi-channel serial port card Be used for linking to each other with modem with communication.
Can there be two types with the supporting terminal installation of the present invention's control system, a kind of (relevant for only having disposed terminal software The program flow diagram of software is seen Fig. 8 one Figure 23) ordinary individual's computer; A kind of soft for not only having disposed relevant terminal Part, and the terminal installation that can operate simultaneously for many people with a plurality of displays, a plurality of keyboard, this terminal installation comprises:
(1) individual calculus machine host is terminal machine one by one;
(2) some displays;
(3) several keyboards;
(4) be used for controlling the multihead display control card that many displays are worked simultaneously;
(5) be used for controlling the muliple keyboards control card that a plurality of keyboards are worked simultaneously.
(6) the muliple keyboards input command is converted to the means that request sends;
(7) receive response message and locate the means that corresponding display shows;
(8) muliple keyboards, the multi-display control device of working simultaneously;
(9) with control system real-time tranception information, the real-time means of communication that shows.
(6)-(9) means of described terminal installation are to realize by Fig. 8-relevant procedures shown in Figure 23.
The workflow of terminal control unit following (seeing Fig. 3):
Terminal control unit enters circulation after initializing, and judges that at first sending Data Labels has or not foundation, if set up, carries out and sends out Send data program to send data; Secondly, judge to have or not receive data to arrive, if having, get receive data, and set up the reception number According to sign, the receive data sign is then analyzed receive data type and display sequence number as setting up, and processes and shows; Rear judgement keyboard input if having, judges whether that according to keyboard sequence number and key local processing still generates request and sends. So Move in circles, until withdraw from.
According to the present invention because a station terminal device can operate simultaneously for many people, thereby decrease equipment cost, make Use expense, operating efficiency also improves greatly; Owing to adopted request---reply communication modes, the information of remote terminal unit Response speed is almost identical with local processing speed, the delay that impression brings less than communication, for information in real time, conveniently obtain Advanced technological means is provided.
Below, according to embodiment the present invention is illustrated.
Fig. 1 illustrates the hardware The Nomenclature Composition and Structure of Complexes of one of embodiment of teleterminal system of the present invention, wherein: 1 ... file server, 2 ... the analysis interpreter of control system, 3 ... the Communication Control machine of control system, 4 ... the interface conversion machine of control system, 5 ... the multi-way intelligence communication controller, 6 ... modulator-demodular unit, 7 ... modulator-demodular unit, 8 ... modulator-demodular unit, 9 ... the multihead display control card, 10 ... the muliple keyboards control card, 11 ... display, 12 ... display, 13 ... display, 14 ... display, 15 ... keyboard, 16 ... keyboard, 17 ... keyboard, 18 ... keyboard, 19 ... modulator-demodular unit, 20 ... end device, wherein 20 partly are made up of 8-18 grades.Server 1 is meant the server of a Local Area Network, control system three parts in the terminal system are owing to need the information of sharing and read exchange's market, be necessary for the workstation on the LAN (Local Area Network), and the used operating system of server 1 is generally WINDOWS NT or the UNIX of Netware, the Microsoft of Novell.Form the teleterminal system function that realizes as shown in Figure 4 with the hardware of Fig. 1.
Fig. 2 is the request of data frame format of the used communication modes of teleterminal system, the singularity of security, futures industry requires the processing of market real-time, efficient, reliable, for realizing this requirement, we have adopted the request of the uniqueness that is different from other products---and reply communication modes, thereby guaranteed high-level efficiency, the high reliability of teleterminal system.
Request---the working mechanism of replying communication modes is as follows:
Fig. 2 claim frame form each several part implication is:
Request flag (flag):
Flag=' 1 ' terminal one side has the request of data sign, requires from battalion
Industry portion one side is transmitted its desired data.
The data that Flag=' 0 ' sign is asked are from sales department's one side
Be transferred to terminating machine.
Request type (type):, encoded according to the character of terminal request.As
" 01 " expression views on broad market movements is analyzed request of data.
Number of parameters (paranum): some terminal request more complicated, subsidiary parameter may
A lot, the quantity of this flags parameters.
Stock code (zqdm): each security kind is provided with a code, this
Expression is the request of data of which kind of security kind.
Parameter value (para): provide the affiliated parameter of the various request of data of terminal
Value has a plurality of.
Terminal one side, when request of data, request of data sign flag=1 is set, and the type of this request described, security kind and subsidiary parameter thereof are that the aforementioned data claim frame constitutes a packet, to wrap the Communication Control machine of the control system of data transmission one side to interrupt communication modes to the center, when the Communication Control machine receives this request data package, at first analyzing is from which station terminal to transmit, analysis request type then, and form one according to request type and wrap or wrap more data, and include the type of these bag data in each bag data, and then the communication machine packet-by-packet sends data to the designated terminal machine., when terminating machine receive bag data, request of data sign flag=0 then be set, be correspondingly processed according to this bag data type simultaneously thereafter.
Fig. 4-Fig. 7 selects picture for the terminal system partial function.Select to show that with Fig. 5 Shanghai Stock Exchange's views on broad market movements is an example, illustrate that the data organization of each program is handled, transport process.
Enter " Shanghai Stock Exchange's deep bid " function as button " F3 " or from master menu, program at first enters functional flow diagram shown in Figure 8, primary control program arbitration functions number enters Figure 11 views on broad market movements process flow diagram, transmit a request to the Communication Control machine of center one side then, enter Figure 22 process flow diagram, the Communication Control machine number is got according to the request of receiving and is analyzed the data that interpreter (Figure 23 process flow diagram) generates, and organizes, and returns to terminal, reenter Figure 11 process flow diagram, drawing shows.
Entrusting with Fig. 7 terminal is example, enter " long-range trust " function as button " F10 " or from master menu, program at first enters functional flow diagram shown in Figure 8, the function of judge keying in number, enter the main flow chart of Figure 17 client, constantly transmit a request to the Communication Control machine of center one side then, enter Figure 22 process flow diagram, the Communication Control machine is handed to the interface conversion machine with request, and fetches data, and generation is replied, return to terminal, according to response result, enter correlator function, i.e. Figure 18,19,20,21 described functional programs flow processs.
Figure 12-personal share tendency curve program, terminal rank program, fundamental analysis program, information services, bidding analysis and On the Tape program shown in Figure 16 is the program with above-mentioned views on broad market movements program parallelization shown in Figure 11, its access method is identical with the method that enters the views on broad market movements program, in this just explanation no longer separately.
More than, although understand one of preferred embodiment of the present invention, but the present invention also not only is confined to this embodiment.For example, program of the present invention is adjusted the electronic banking that just can be applicable to financial sector slightly, the inquiry about charging of telecommunication system etc.Moreover, according to the variation of using object and demand etc. also can omit or increase a station terminal with display, keyboard number and system program in some programs.For example, in the simplest system, as long as have signal procedure and On the Tape program just enough sometimes.In addition, about formation, the collocation of the various pictures of system, can make various modification.