CN100568945C - The filter method of stock market data in the Digital Television - Google Patents

The filter method of stock market data in the Digital Television Download PDF

Info

Publication number
CN100568945C
CN100568945C CNB2006100278421A CN200610027842A CN100568945C CN 100568945 C CN100568945 C CN 100568945C CN B2006100278421 A CNB2006100278421 A CN B2006100278421A CN 200610027842 A CN200610027842 A CN 200610027842A CN 100568945 C CN100568945 C CN 100568945C
Authority
CN
China
Prior art keywords
stock
filtercondition
stock market
market data
filter method
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
CNB2006100278421A
Other languages
Chinese (zh)
Other versions
CN1984307A (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.)
TIANBAI BROADBAND NETWORK TECHNOLOGY (SHANGHAI) Co Ltd
Original Assignee
TIANBAI BROADBAND NETWORK TECHNOLOGY (SHANGHAI) 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 TIANBAI BROADBAND NETWORK TECHNOLOGY (SHANGHAI) Co Ltd filed Critical TIANBAI BROADBAND NETWORK TECHNOLOGY (SHANGHAI) Co Ltd
Priority to CNB2006100278421A priority Critical patent/CN100568945C/en
Publication of CN1984307A publication Critical patent/CN1984307A/en
Application granted granted Critical
Publication of CN100568945C publication Critical patent/CN100568945C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses the filter method of stock market data in a kind of Digital Television, it can be chosen required stock market data according to user's needs and be shown in terminal interface, has alleviated the burden of resources such as network and set-top box.Its technical scheme is: filter method comprises: at least one filtered set is set, and this filtered set has at least one and has defined the filtercondition that filters requirement; The stock market data are arranged to the data of database source; , realize filtering for choosing condition with this filtered set thereby from this data of database source, choose required stock market in the mode of database manipulation.The present invention is applied to the stock system field of Digital Television.

Description

The filter method of stock market data in the Digital Television
Technical field
The present invention relates to a kind of filter method, relate in particular to the filter method of stock market data in a kind of digital TV field.
Background technology
At digital TV field, there are a lot of stock systems, make the user to use this stock system on TV by set-top box.Just as operating stock system on computers, set-top box users can be operated stock system easily on Digital Television.
But, can't compare, if so excessive set-top box resource anxiety that just causes easily of stock market data volume with computer owing to the resource-constrained of set-top box.May there be a large amount of unessential information in the stock market data, also can be included in the market data such as stock trader's relevant information.According to the speed of initial public offering, can reach the upper limit of set-top box resource soon, therefore need suitably limit stock quantity.
Summary of the invention
The objective of the invention is to address the above problem, the filter method of stock market data in a kind of Digital Television is provided, it can be chosen required stock market data according to user's needs and be shown in terminal interface, has alleviated the burden of resources such as network and set-top box.
Technical scheme of the present invention is: the filter method of stock market data in a kind of Digital Television, and wherein, described filter method comprises:
At least one filtered set is set, and described filtered set has at least one and has defined the filtercondition that filters requirement;
The stock market data are arranged to the data of database source;
With described filtered set for choosing condition, thereby choosing required stock market in the mode of database manipulation from described data of database source realizes filtering, described filtercondition is provided with corresponding priority level, comes into force the high filtercondition of priority earlier when conflicting or overlapped filtercondition occurring in filtering set and ignores the low filtercondition of priority.
The filter method of stock market data in the above-mentioned Digital Television, wherein, described filtercondition comprise specify stock code scope, the assigned operation action relate to be allow by or filter, whether specified attribute be forbidding.
The filter method of stock market data in the above-mentioned Digital Television, wherein, the priority of described filtercondition can be adjusted.
The filter method of stock market data in the above-mentioned Digital Television, wherein, described filtercondition can be increased, deletes, edit.
Can the filter method of stock market data in the above-mentioned Digital Television wherein, also comprises the process that single stock is tested,, test described stock by database manipulation and pass through after filtering as tested object with selected single stock.
The filter method of stock market data in the above-mentioned Digital Television, wherein, also comprise the process that all stocks are tested, with all stock market data as test source, show the output information of described stock market after after filtration by database manipulation, count stock number by filtering.
The present invention contrasts prior art following beneficial effect: filter method of the present invention mainly is to define filtercondition by the stock code scope is set, a plurality of filterconditions are combined into a filtered set, with this filtered set is that condition, stock market are data source, in this data source, carry out database manipulation, thereby select required stock market, reach the purpose of filtration.The present invention makes things convenient for the user to choose corresponding stock market data according to self needs, has alleviated set-top box resource and network burden simultaneously, has accelerated the display speed of stock market data.
Description of drawings
Fig. 1 is the flow chart of filter method embodiment of the present invention.
Fig. 2 is the schematic diagram of filtered set embodiment of the present invention.
Fig. 3 is the schematic diagram of filtercondition embodiment of the present invention.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 shows the flow process of an embodiment of filter method of the present invention.Seeing also Fig. 1, is the detailed process of this filter method embodiment below.
Step S1: at least one filtercondition is set, and requirement is filtered in definition in this filtercondition.Fig. 3 shows an embodiment of filtercondition, please be simultaneously referring to Fig. 3, and each filtercondition all has a rule name, is named voluntarily by the user.In the present embodiment, user's naming rule name is called " filtration-Shanghai national debt ".This filtercondition comprise specify stock code scope, the assigned operation action relate to be by or filter, whether specified attribute is forbidding.Wherein the stock code scope is determined jointly by the stock code upper limit and stock code lower limit.If operational motion is chosen to be filtration, then the stock market data in the stock code scope will be filtered; Otherwise, if operational motion be chosen to be by, then the stock market data in the stock code scope will be allowed to by.If attribute is appointed as forbidding, then the filtercondition of Set For Current does not come into force, have only when cancel the forbidding attribute after this filtercondition just can come into force.The user in addition, can also add the explanation of filtercondition, so that can recognize the meaning that this filtercondition is provided with when later reference.In the present embodiment, the filtercondition of " filtration-Shanghai national debt " is: the stock market data of stock code in the 000600-499999 scope will be filtered, and this filtercondition promptly comes into force after setting is finished.
Step S2: choose a plurality of filterconditions that are provided with among the step S1, be combined into some filtered set.Fig. 2 shows an embodiment of filtered set, please be simultaneously referring to Fig. 2, " Shanghai Stock Exchange's filtering rule " is exactly a filtered set, and " filtration-Shanghai national debt ", " B of Shanghai Stock Exchange thigh information ", " Shanghai Stock Exchange's A-share information " etc. are exactly each filtercondition in this filtered set.In the process that stock filters, utilize each filtercondition that the stock market data are filtered successively.For example, it is stock in the 1000-2000 that the concrete filtration of filtercondition A is set to filter all stock codes, and the concrete filtration of another filtercondition B in the same filtered set to be set to filter all stock codes be stock between the 12000-20000.Under the effect of this filtered set, have only code neither 1000-2000 also not the stock between 12000-20000 could pass through.
But because mutual contradiction or overlapped filtercondition appear in conflict that filtercondition is provided with sometimes.For example, in same filtered set, it is the interior stock of 1000-2000 that the concrete filtration of filtercondition A is set to filter all stock codes, it is stock between the 12000-20000 that the concrete filtration of filtercondition B is set to filter all stock codes, and the concrete filtration of filtercondition C is set to the stock of code between 1000-2000 and will passes through.At this moment, filtercondition A and C are just conflicting.Therefore, for each filtercondition is provided with a priority, under the situation that has conflicting filtercondition, the higher filtercondition of priority at first comes into force, and the filtercondition that priority is lower will be left in the basket.Being provided with of priority can represent that each filtercondition all has a sequence number with sequence number, and the more little priority of sequence number is high more.In this embodiment, if the priority sequence number of filtercondition A, B, C is set to 1,2,3 respectively, illustrate that the priority of filtercondition A is the highest, B takes second place, and C is minimum.In actual filtration, will be left in the basket with the filtercondition C of condition A contradiction.So final filter result is: code neither 1000-2000 also not the stock between 12000-20000 be allowed to by.
Step S3: as the data of database source, as choosing condition, realize filtering thereby choose required stock market in the mode of database manipulation with the filtered set of step S2 with the stock market data.Above-mentioned filtered set is stored on the disk with document form, and the stock market data are data source files.Adopt Data access module visit stock market data source file, and the rule file of filtered set is resolved to data base manipulation statement, utilize database manipulation to finish stock market and filter.
Through after above-mentioned 3 steps, the stock market data will be reduced under the effect of filtered set, thus the burden when alleviating transfer of data.
Except being set, initial filtercondition and filtered set carry out stock certificate data filters, and can also be newly-built, deletion, editor's filtercondition and filtered set.Can in filtered set, adjust the priority of filtercondition in the set.See also Fig. 2, the height of priority is that the size with sequence number is provided with, and is presented at specifically that to be provided with on the interface be exactly the row of filtercondition in tabulation number.Also promptly, filtercondition is forward more in tabulation, and its priority is just high more.On this interface can more than move or move down selected filtercondition, thereby change the priority of filtercondition.
Double-clicking certain bar filtercondition on this interface can carry out concrete editor to it, changes the content of filtercondition.See also Fig. 3, can change the stock code upper limit and stock code lower limit, original filter operation can be changed over by operation or become filter operation by operation change, attribute can be changed into enabling or will enabling from original forbidding and change over forbidding original.Simultaneously, can delete an existing filtercondition or add a new filtercondition.But the filtercondition that in the deletion filtercondition, need keep some acquiescences, the filtercondition of these acquiescences is set to unsuppressible-suppression or modification, can guarantee that like this user has deleted all self-defined filterconditions or still can normally carry out the most basic operation when not knowing how filtercondition to be set.
Also can test current filtered set.Test can only be tested at single stock, and can selected single stock be tested this stock by database manipulation and be passed through after current filtered set effect as tested object.Also can be with whole stock market data as tested object, test all stock certificate datas by database manipulation and after current filtered set effect, show last output result, the output result is generally two numerical value: data total number and filtered data bar number before filtering, this index is significant to set-top box.
The foregoing description provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be under the situation that does not break away from invention thought of the present invention; the foregoing description is made various modifications or variation; thereby protection scope of the present invention do not limit by the foregoing description, and should be the maximum magnitude that meets the inventive features that claims mention.

Claims (6)

  1. The filter method of stock market data in 1 one kinds of Digital Television is characterized in that described filter method comprises:
    At least one filtered set is set, and described filtered set has at least one and has defined the filtercondition that filters requirement;
    The stock market data are arranged to the data of database source;
    With described filtered set for choosing condition, thereby choosing required stock market in the mode of database manipulation from described data of database source realizes filtering, described filtercondition is provided with corresponding priority level, comes into force the high filtercondition of priority earlier when conflicting or overlapped filtercondition occurring in filtering set and ignores the low filtercondition of priority.
  2. The filter method of stock market data is characterized in that in 2 Digital Television according to claim 1, described filtercondition comprise specify stock code scope, the assigned operation action relate to be allow by or filter, whether specified attribute be forbidding.
  3. The filter method of stock market data is characterized in that in 3 Digital Television according to claim 1, and the priority of described filtercondition can be adjusted.
  4. The filter method of stock market data is characterized in that in 4 Digital Television according to claim 1, and described filtercondition can be increased, deletes, edit.
  5. The filter method of stock market data in 5 Digital Television according to claim 1, it is characterized in that, also comprise the process that single stock is tested, as tested object, test described stock by database manipulation and can pass through after filtering with selected single stock.
  6. The filter method of stock market data in 6 Digital Television according to claim 1, it is characterized in that, also comprise the process that all stocks are tested, with all stock market data as test source, show the output information of described stock market after after filtration by database manipulation, count stock number by filtering.
CNB2006100278421A 2006-06-15 2006-06-15 The filter method of stock market data in the Digital Television Expired - Fee Related CN100568945C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100278421A CN100568945C (en) 2006-06-15 2006-06-15 The filter method of stock market data in the Digital Television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100278421A CN100568945C (en) 2006-06-15 2006-06-15 The filter method of stock market data in the Digital Television

Publications (2)

Publication Number Publication Date
CN1984307A CN1984307A (en) 2007-06-20
CN100568945C true CN100568945C (en) 2009-12-09

Family

ID=38166469

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100278421A Expired - Fee Related CN100568945C (en) 2006-06-15 2006-06-15 The filter method of stock market data in the Digital Television

Country Status (1)

Country Link
CN (1) CN100568945C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI410861B (en) * 2010-02-12 2013-10-01 Mitake Information Corp Device and method to enlarge the important price information of a finance software on a mobile apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592327A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 IPTV-system-based processing method and apparatus for stock information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
数据仓库技术在股票分析中的应用研究. 李德勇,.CNKI中国优秀博硕士学位论文全文数据库,北京工业大学硕士论文. 2002
数据仓库技术在股票分析中的应用研究. 李德勇,CNKI中国优秀博硕士学位论文全文数据库,北京工业大学硕士论文. 2002 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI410861B (en) * 2010-02-12 2013-10-01 Mitake Information Corp Device and method to enlarge the important price information of a finance software on a mobile apparatus

Also Published As

Publication number Publication date
CN1984307A (en) 2007-06-20

Similar Documents

Publication Publication Date Title
CN100547583C (en) Database automatically and the method that dynamically provides
CN101499069B (en) Internal memory database file updating method and apparatus
CN101448002B (en) Method and device for accessing digital resources
CN101609403B (en) Page layout dynamic switch method and system
US20170154087A1 (en) Data discovery and analysis tool
CN104123227A (en) Method for automatically generating testing cases
CN103365852A (en) Concurrency control method and system for document library systems
CN103577483B (en) The method and system of date storage method and system and data access
CN103686244A (en) Video data managing method and system
CN104102652A (en) Unstructured data storage system and method
CN107844530A (en) A kind of data processing method, device, server and computer-readable recording medium
CN107729483A (en) A kind of classifying indication method, device, terminal and computer-readable recording medium
CN103946794A (en) Cross-reference and priority claim to related applications
US10642817B2 (en) Index table update method, and device
CN102752538B (en) A kind of method of the generation of agent code stream material
US8135689B2 (en) Performance optimized retrieve transformation nodes
CN100568945C (en) The filter method of stock market data in the Digital Television
CN108574718A (en) A kind of cloud host creation method and device
CN106844497A (en) The check device and method of a kind of database code
CN102033896B (en) Device and method for processing information
CN107277565A (en) The categorization and cataloguing device of media resource system material
CN109325221A (en) The merging method and device of form document
CN109542848A (en) A kind of vehicle-mounted media file fast scanning method and system
CN1984354B (en) Method and device for managing user account resource
CN112948477A (en) Data downloading method and device, electronic equipment and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091209

Termination date: 20160615