CN101720021A - Digital set-top box-based stock exchange platform and digital set-top box-based stock exchange method - Google Patents

Digital set-top box-based stock exchange platform and digital set-top box-based stock exchange method Download PDF

Info

Publication number
CN101720021A
CN101720021A CN200910311175A CN200910311175A CN101720021A CN 101720021 A CN101720021 A CN 101720021A CN 200910311175 A CN200910311175 A CN 200910311175A CN 200910311175 A CN200910311175 A CN 200910311175A CN 101720021 A CN101720021 A CN 101720021A
Authority
CN
China
Prior art keywords
top box
data
digital machine
stock
user
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.)
Pending
Application number
CN200910311175A
Other languages
Chinese (zh)
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN200910311175A priority Critical patent/CN101720021A/en
Publication of CN101720021A publication Critical patent/CN101720021A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a digital set-top box-based stock exchange platform and a method thereof, which relate to the technical field of digital televisions and aim to solve the problems of poor real-time property and real-time dealing incapacity existing in the stock quote reception of a digital set-top box. The platform comprises a stock server and a digital set-top box terminal, wherein the digital set-top box terminal communicates with the stock server through a TCP/IP protocol, transfers transaction data with the stock server through a FIX data exchange protocol, receives stock information in real time, and transmits transaction instructions to the stock server. The method comprises that: a, the digital set-top box and the stock server are connected through a network; and b, a user operates the digital set-top box terminal to make a request for real-time stock information data from the stock server and displays the real-time stock information data on the television connected with the digital set-top box terminal.

Description

A kind of securities trading platform and method based on top box of digital machine
Technical field
The present invention relates to the digital television techniques field, platform and method that especially a kind of top box of digital machine that utilizes digital television system carries out securities trading.
Background technology
Raising along with people's living standard, the enhancing of theory of investment, stock invester's quantity sharply increases, and top box of digital machine has entered huge numbers of families as the terminal of digital television system, can be implemented in and realize in the digital TV set-top box that online securities trading has more and more received everybody concern, require also more and more higher simultaneously.
The quotation system is very universal on the top box of digital machine at present, but also only provides the information function of basic quotation, does not possess the function of online stock jobbery.The user utilizes the quotation analytical system on the top box of digital machine to carry out data analysis at present, but carrying out Stock Trading also needs to utilize phone to carry out consignment business, middle a lot of times of waste, trading security does not possess real-time yet, makes the user lose a lot of transaction chances.
Summary of the invention
The objective of the invention is to solve existing top box of digital machine and receive poor, the problem that can not real-time deal of the real-time that quotation exists, a kind of securities trading platform based on the top box of digital machine terminal is provided, can obtain securities information fast, in real time, and can online transaction.
Another object of the present invention provides a kind of stock trading method based on the top box of digital machine terminal, so that people can obtain securities information fast, in real time by the top box of digital machine terminal, and carries out real-time online transaction.
Purpose of the present invention can realize by following technical proposals:
A kind of securities trading platform based on top box of digital machine, comprise the security server and
The top box of digital machine terminal is carried out communication with the security server by ICP/IP protocol, carries out the transmission of transaction data with the security server by the FIX data exchange agreement, is used for receiving in real time securities information, and transmits trading instruction and give the security server.
As an embodiment of the invention, described top box of digital machine terminal comprises
Memory module is used to store stock code table, present quotation quote data;
Parsing module is used for will resolving to the authority data form of setting from the packet that the security server obtains based on the FIX data exchange agreement, and is stored in above-mentioned memory module;
The graphical interface of user module, the approach that is used to show securities information and input information is provided for the user.
As an embodiment of the invention, described top box of digital machine terminal has main thread and two threads of data communication thread, and main thread is used for local operation; The data communication thread is used for carrying out data interaction with the security server.
As an embodiment of the invention, described security server comprises subscriber management server and data server; Described top box of digital machine terminal comprises the Refresh Data clock module, is used for loop cycle and refreshes, and makes the data of top box of digital machine terminal keep consistent with security data in server renewal speed.
In the more specifically structure of the present invention, described transaction platform also comprises the television set that is connected with the top box of digital machine terminal.
A kind of stock trading method based on top box of digital machine comprises
A. the top box of digital machine terminal is connected by network with the security server;
B. user's operand word STB terminal is asked real-time stock information data from the security server, and is presented on the television set that is connected with the top box of digital machine terminal.
Said method process more specifically comprises that described top box of digital machine terminal and security server carry out communication by ICP/IP protocol; Carry out the transmission of transaction data by the FIX data exchange agreement; The data STB terminal will resolve to the authority data form of setting from the packet that the security server obtains based on the FIX data exchange agreement, and be stored in its internal memory.
Said method process more specifically comprises, described top box of digital machine terminal adopts multitask multi-threaded parallel Processing tasks when carrying out the securities data transaction, comprising main thread and data communication thread, main thread is realized user interface, is shown quotations, timesharing tendency, historical K line, personal share information, characteristic information, system parameter setting, the data communication thread is realized request, download, parsing, the storage to the security server data, wherein downloads to be the resident mode of data.
Said method process more specifically comprises, main thread comprises that the user operates response process and clock processing procedure, the user operates response process provides security for the user quotations data, timesharing tendency data, historical K line, technical indicator, personal share information, characteristic information, security inquiry, stock trader's information, self-selected stock, but the user operates when selecting corresponding function, main thread is by the request of message processing function process user, the function of selecting according to the user generates the corresponding protocol packet, send to server through socket, then the next user message of wait-for-response.
Call function capturing system message at first in the online journey loop body of described data communication thread, and make respective reaction in view of the above, if there is not system message, whether have data arrive, if having, then resolve, and be stored in the internal memory if then intercepting socket.
The present invention adopts said structure and/or method, solve existing top box of digital machine terminal and can only browse securities market data, can not carry out the problem of online transaction in real time, two-wire journey by communications protocol and data trade agreement is handled, can realize that carrying out real time data through the top box of digital machine terminal upgrades, the real-time online transaction, and by using the resident downloading mode of data, make no longer repeated downloads of the data that had in the top box of digital machine, only upgrade up-to-date data, greatly improve message transmission rate, guaranteed to utilize top box of digital machine to carry out the real-time of securities trading.
Description of drawings
The present invention will illustrate by example and with reference to the mode of accompanying drawing, wherein:
Fig. 1 is a system construction drawing.
Fig. 2 is a systematic schematic diagram.
Fig. 3 is user's responding process figure.
Fig. 4 is the clock process chart.
Embodiment
The present invention is further illustrated below in conjunction with specific embodiments and the drawings.
As shown in Figure 1, a kind of securities trading platform based on top box of digital machine comprises
The security server is used for the real-time release securities information;
The top box of digital machine terminal is carried out communication by ICP/IP protocol and security server, carries out the transmission of transaction data by FIX data exchange agreement and security server, is used for receiving in real time securities information, and transmits trading instruction and give the security server;
Television set is connected with the top box of digital machine terminal, is used for showing in real time securities information.
Furthermore, the top box of digital machine terminal comprises
Memory module is used to store stock code table, present quotation quote data;
Parsing module is used for will resolving to the authority data form of setting from the packet that the security server obtains based on the FIX data exchange agreement, and is stored in above-mentioned memory module;
The graphical interface of user module, the approach that is used to show securities information and input information is provided for the user;
The Refresh Data clock module is used for loop cycle and refreshes, and makes the data of top box of digital machine terminal keep consistent with security data in server renewal speed.
Among the embodiment, the top box of digital machine terminal has main thread and two threads of data communication thread, and main thread is used for local operation, and the data communication thread is used for carrying out data interaction with the security server; The security server comprises subscriber management server and data server.
Among the embodiment, the top box of digital machine terminal is carried out communication by built-in MODEM or external MODEM with ICP/IP protocol and security server.
Utilize above-mentioned securities trading platform to obtain securities information in real time and to carry out transaction method as follows based on the top box of digital machine terminal:
A. the top box of digital machine terminal is connected by network with the security server;
B. user's operand word STB terminal is asked real-time stock information data from the security server, and is presented on the television set that is connected with the top box of digital machine terminal.
Process is more specifically:
Top box of digital machine terminal real-time storage stock code table, present quotation quote data, data such as present quotation data, timesharing tendency data, historical K line data, personal share information are asked in user's operation from the security server, and are presented on the television set that is connected with the top box of digital machine terminal.
The security server adopts the two server mode of subscriber management server and data server, and top box of digital machine adopts multitask multi-threaded parallel Processing tasks when carrying out the securities data transaction.
The top box of digital machine end is divided into resolution data, coded data, graphical interface of user and internal storage data and stores three parts.Resolution data is meant the packet data standard form that parsing is worked out according to the FIX data exchange agreement that will obtain from server, stores in the internal memory; Graphical interface of user is with the media of user interactions, is used for showing securities information and the approach of input information is provided for the user.
As shown in Figure 2, the function of top box of digital machine terminal program realizes by the collaborative work of two threads, main thread is realized user interface, functions such as quotations data, timesharing tendency data, historical K line data, personal share information, characteristic information, system parameter setting.Is the data communication thread responsible for the security data in server mutual, main flow process: request of data? Data Receiving? data parsing? storage.
As shown in Figure 3, Figure 4, the main thread of top box of digital machine terminal operates response process by the user and the clock processing procedure is formed, the former provides the function such as present quotation data, timesharing tendency data, historical K line data, technical indicator, personal share information, characteristic information of security for the user, when the user operates function corresponding, main thread is by the request of message processing function process user, the function of selecting according to the user generates corresponding packet, send to server through socket, then the next user message of wait-for-response.
Can activate a data refresh clock during initialization of top box of digital machine terminal program, the circulation refresh cycle in 6 seconds, keep consistent with the Data Update speed of stock exchange.
The data communication thread be positioned at main program inlet with the form of while () circulation envelope occur, at circulation body weight call function capturing system message at first, comprise that thread starts, thread withdraws from, connects, disconnects connection etc., and makes respective reaction in view of the above.If there is not system message, whether have data arrive, if having, then resolve if then monitoring socket, be saved in the internal memory then.
Refresh clock is in 6 seconds cycle periods, and graphical interface of user is handled clock message, reads relevant data from internal memory, repaints graphical interface of user, so that can guarantee the correctness of graphical interface of user.
Among the embodiment, the mode of above-mentioned real-time download securities data is the resident downloading modes of data, make no longer repeated downloads of the data that had in the top box of digital machine, only upgrade up-to-date data, greatly improve message transmission rate, guaranteed to utilize top box of digital machine to carry out the real-time of securities trading.
Disclosed all features in this specification, or the step in disclosed all methods or the process except mutually exclusive feature and/or step, all can make up by any way.
Disclosed arbitrary feature in this specification (comprising any accessory claim, summary and accompanying drawing) is unless special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is, unless special narration, each feature is an example in a series of equivalences or the similar characteristics.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination that discloses in this manual, and the arbitrary new method that discloses or step or any new combination of process.

Claims (10)

1. the securities trading platform based on top box of digital machine comprises the security server, it is characterized in that, also comprises
The top box of digital machine terminal is carried out communication with the security server by ICP/IP protocol, carries out the transmission of transaction data with the security server by the FIX data exchange agreement, is used for receiving in real time securities information, and transmits trading instruction and give the security server.
2. a kind of according to claim 1 securities trading platform based on top box of digital machine is characterized in that described top box of digital machine terminal comprises
Memory module is used to store stock code table, present quotation quote data;
Parsing module is used for will resolving to the authority data form of setting from the packet that the security server obtains based on the FIX data exchange agreement, and is stored in above-mentioned memory module;
The graphical interface of user module, the approach that is used to show securities information and input information is provided for the user.
3. as a kind of securities trading platform based on top box of digital machine as described in the claim 2, it is characterized in that described top box of digital machine terminal has main thread and two threads of data communication thread, main thread is used for local operation; The data communication thread is used for carrying out data interaction with the security server.
4. as a kind of securities trading platform as described in the claim 3, it is characterized in that described security server comprises subscriber management server and data server based on top box of digital machine; Described top box of digital machine terminal comprises the Refresh Data clock module, is used for loop cycle and refreshes, and makes the data of top box of digital machine terminal keep consistent with security data in server renewal speed.
5. as a kind of securities trading platform as described in claim 1 or 2 or 3 or 4, it is characterized in that described transaction platform also comprises the television set that is connected with the top box of digital machine terminal based on top box of digital machine.
6. the stock trading method based on top box of digital machine is characterized in that, comprises
A. the top box of digital machine terminal is connected by network with the security server;
B. user's operand word STB terminal is asked real-time stock information data from the security server, and is presented on the television set that is connected with the top box of digital machine terminal.
7. as a kind of stock trading method as described in the claim 6, it is characterized in that described top box of digital machine terminal and security server carry out communication by ICP/IP protocol based on top box of digital machine; Carry out the transmission of transaction data by the FIX data exchange agreement; The data STB terminal will resolve to the authority data form of setting from the packet that the security server obtains based on the FIX data exchange agreement, and be stored in its internal memory.
8. as a kind of stock trading method as described in the claim 7 based on top box of digital machine, it is characterized in that, described top box of digital machine terminal adopts multitask multi-threaded parallel Processing tasks when carrying out the securities data transaction, comprising main thread and data communication thread, main thread is realized user interface, is shown quotations, timesharing tendency, historical K line, personal share information, characteristic information, system parameter setting, the data communication thread is realized request, download, parsing, the storage to the security server data, and wherein downloading mode is the resident modes of data.
9. as a kind of stock trading method as described in the claim 8 based on top box of digital machine, it is characterized in that, main thread comprises that the user operates response process and clock processing procedure, the user operates response process provides security for the user quotations data, timesharing tendency data, historical K line, technical indicator, the personal share information, the characteristic information, the security inquiry, stock trader's information, self-selected stock, but the user operates when selecting corresponding function, main thread is by the request of message processing function process user, the function of selecting according to the user generates the corresponding protocol packet, send to server through socket, then the next user message of wait-for-response.
10. as a kind of stock trading method as described in the claim 9 based on top box of digital machine, it is characterized in that, call function capturing system message at first in the online journey loop body of described data communication thread, and make respective reaction in view of the above, if there is not system message, whether have data arrive, if having if then intercepting socket, then resolve, and be stored in the internal memory.
CN200910311175A 2009-12-10 2009-12-10 Digital set-top box-based stock exchange platform and digital set-top box-based stock exchange method Pending CN101720021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910311175A CN101720021A (en) 2009-12-10 2009-12-10 Digital set-top box-based stock exchange platform and digital set-top box-based stock exchange method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910311175A CN101720021A (en) 2009-12-10 2009-12-10 Digital set-top box-based stock exchange platform and digital set-top box-based stock exchange method

Publications (1)

Publication Number Publication Date
CN101720021A true CN101720021A (en) 2010-06-02

Family

ID=42434523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910311175A Pending CN101720021A (en) 2009-12-10 2009-12-10 Digital set-top box-based stock exchange platform and digital set-top box-based stock exchange method

Country Status (1)

Country Link
CN (1) CN101720021A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791972A (en) * 2016-12-14 2017-05-31 山东中彩乐网络科技有限公司 A kind of lottery ticket cloud-in-the-box system and implementation method
CN108833446A (en) * 2018-08-01 2018-11-16 广发证券股份有限公司 A kind of method for converting protocol and device based on Fix agreement request packet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791972A (en) * 2016-12-14 2017-05-31 山东中彩乐网络科技有限公司 A kind of lottery ticket cloud-in-the-box system and implementation method
CN108833446A (en) * 2018-08-01 2018-11-16 广发证券股份有限公司 A kind of method for converting protocol and device based on Fix agreement request packet

Similar Documents

Publication Publication Date Title
CN104660682B (en) A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE
CN106301959B (en) Gateway batch upgrading method and system based on WINDOWS and LINUX platform
CN105429858A (en) Real-time message transmission method among multiple robots
CN108540565A (en) A method of the mobile terminal push based on MQTT agreements and statistics
CN103139157A (en) Network communication method based on socket, device and system
CN103561379A (en) Alarm clock setting method and mobile terminal
CN101917394A (en) Middleware system for sharing data in mobile phone equipment and working method
CN103095684A (en) Method obtaining attention user aggregate information, device and system
CN103220328A (en) Data synchronous distribution method and device
CN100452704C (en) Method and method for issuing blog articles
CN101155174B (en) Remote subscriber interface service implementing method based on common protocol
CN108667817A (en) Message converting system and message forwarding method
CN103179211A (en) Cloud-computing-based data processing method and system of comprehensive operation support system
CN101720021A (en) Digital set-top box-based stock exchange platform and digital set-top box-based stock exchange method
CN103731549A (en) Method for managing messages of smartphone terminals
TWI640946B (en) Device, method and computer program product of a watchlist view with a real-time chart
CN103368945A (en) Method of recording code streams and code stream recording system
CN105681171B (en) A kind of Investment & Financing dynamic help method and system
CN101887558A (en) Technology for collecting commodities in mobile commerce
CN201854301U (en) Middleware system for sharing data on mobile phones
CN101551758A (en) System and method for implementing paralleling work of device management and tasks
CN204204033U (en) Based on the e-commerce system of wireless network
CN102946559B (en) The upgrade method of a kind of digital TV terminal, terminal, server and system thereof
CN107371039A (en) Video synthesis device and system
CN103685377A (en) Web optimization and acceleration method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100602