CN106157347A - Resource exchange data processing method, device and system - Google Patents

Resource exchange data processing method, device and system Download PDF

Info

Publication number
CN106157347A
CN106157347A CN201610531144.9A CN201610531144A CN106157347A CN 106157347 A CN106157347 A CN 106157347A CN 201610531144 A CN201610531144 A CN 201610531144A CN 106157347 A CN106157347 A CN 106157347A
Authority
CN
China
Prior art keywords
line
data
boundary
parameter
passage
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
CN201610531144.9A
Other languages
Chinese (zh)
Other versions
CN106157347B (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201610531144.9A priority Critical patent/CN106157347B/en
Publication of CN106157347A publication Critical patent/CN106157347A/en
Application granted granted Critical
Publication of CN106157347B publication Critical patent/CN106157347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Landscapes

  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

This application discloses a kind of resource exchange data processing method, device and system.The method includes: the operation selecting to show K line chart corresponding to a resource in response to user, and K line chart corresponding for described resource being shown, request sends to the webserver, and a K line analysis cycle is specified in this request;Receive a plurality of K line data drawn for K line corresponding to the described K line analysis cycle from the described webserver and a plurality of data boundary for passage drafting;Draw according to described a plurality of K line data and described a plurality of data boundary and show the K line chart with passage.Disclosed herein as well is corresponding device and system.According to technical scheme disclosed in the present application, it is provided that automatically draw the K line chart mode with passage.

Description

Resource exchange data processing method, device and system
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of Resource Exchange processing method, device and system.
Background technology
Along with the development of Internet technology, user can on the internet with other users or product supplier, service Providers etc. carry out the exchange of actual resource or virtual resource.When carrying out Resource Exchange, K line chart can be used (to be also called Candlestick chart) show the exchange situation of this resource, user utilizes this K line chart to be analyzed resource exchange data.Specifically, K Line chart can be illustrated in each analytical cycle the exchange information of (such as, sky, week, the moon) to user.
Summary of the invention
The embodiment of the present invention provides a kind of resource exchange data processing method, to provide drafting automatically to have the K line of passage Figure mode, the method includes:
Select to show the operation of K line chart corresponding to a resource in response to user, being shown by K line chart corresponding for described resource please Asking transmission to the webserver, a K line analysis cycle is specified in this request;
Receive a plurality of K line number drawn for K line corresponding to the described K line analysis cycle from the described webserver According to a plurality of data boundary drawn for passage;
Draw according to described a plurality of K line data and described a plurality of data boundary and show the K line chart with passage.
The embodiment of the present invention also provides for a kind of resource exchange data processing method, to provide drafting automatically to have the K of passage Line chart mode, the method includes:
The K line chart corresponding in response to the resource from subscriber equipment shows request, and a K line analysis week is specified in this request Phase, obtain a plurality of K line data drawn for K line that described resource is corresponding, wherein, every K from resource exchange data server Line data include the time parameter in the described K line analysis cycle and Resource Exchange value parameter;
Draw the time parameter in cycle and described K line data according to default passage, described a plurality of K line data are divided For many group K line data;
For often organizing K line data, determine the data boundary drawn for passage according to these group K line data;
Described data boundary corresponding with often group K line data for described many group K line data is sent extremely described subscriber equipment, with Make described subscriber equipment draw according to the described data boundary that described many group K line data are corresponding with often group K data and show to have The K line chart of passage.
The embodiment of the present invention provides a kind of resource exchange data processing means, to provide drafting automatically to have the K line of passage Figure mode, this device includes:
Sending module is for selecting to show the operation of K line chart corresponding to a resource in response to user, corresponding by described resource K line chart show request send to the webserver, a K line analysis cycle is specified in this request;
Receiver module, for receiving the painting for K line corresponding to the described K line analysis cycle from the described webserver The a plurality of K line data made and a plurality of data boundary drawn for passage;
Processing module, for drawing and show have passage according to described a plurality of K line data and described a plurality of data boundary K line chart.
The embodiment of the present invention also provides for a kind of resource exchange data processing means, to provide drafting automatically to have the K of passage Line chart mode, this device includes:
Acquisition module, shows request for the K line chart corresponding in response to the resource from subscriber equipment, and this request is specified In one K line analysis cycle, obtain, from resource exchange data server, a plurality of K line data drawn for K line that described resource is corresponding, Wherein, the time parameter in every K line data include the described K line analysis cycle and Resource Exchange value parameter;
Processing module, for drawing the time parameter in cycle and described K line data, by described many according to the passage preset Bar K line data are divided into many group K line data;For often organizing K line data, determine for passage drafting according to these group K line data Data boundary;
Sending module, for sending described data boundary corresponding with often group K line data for described many group K line data to institute State subscriber equipment, so that described subscriber equipment is painted according to the described data boundary that described many group K line data are corresponding with often group K data Make and show the K line chart with passage.
The embodiment of the present invention provides a kind of resource exchange data processing system, to provide drafting automatically to have the K line of passage Figure mode, this system includes:
Subscriber equipment is for selecting to show the operation of K line chart corresponding to a resource in response to user, corresponding by described resource K line chart show request send to the webserver, a K line analysis cycle is specified in this request;Receive from described network service The a plurality of K line data drawn for K line corresponding to the described K line analysis cycle of device and a plurality of number of boundary for passage drafting According to;Draw according to described a plurality of K line data and described a plurality of data boundary and show the K line chart with passage;
The described webserver, shows request for the K line chart corresponding in response to the resource from subscriber equipment, should Ask the one K line analysis cycle of appointment, obtain, from resource exchange data server, a plurality of K drawn for K line that described resource is corresponding Line data, wherein, every K line data include the time parameter in the described K line analysis cycle and Resource Exchange value parameter;Root Draw the time parameter in cycle and described K line data according to default passage, described a plurality of K line data are divided into many group K lines Data;For often organizing K line data, determine the data boundary drawn for passage according to these group K line data;By described many group K lines The described data boundary transmission extremely described subscriber equipment that data are corresponding with often group K line data, so that described subscriber equipment is according to institute State many group K line data described data boundary corresponding with often group K data draw and show the K line chart with passage.
Use technique scheme, can according to receive corresponding to the described K line analysis cycle for K line draw The K line chart with passage is drawn and shown to a plurality of K line data and a plurality of data boundary drawn for passage, thus provides certainly Dynamic drafting has the K line chart mode of passage, and user need not have the K line chart of passage by hand drawn.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used To obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of implementation environment involved by each embodiment of the present invention;
Fig. 2 is the exemplary process diagram of a kind of resource exchange data processing method in the embodiment of the present invention;
Fig. 3 is the K line chart in the embodiment of the present invention with passage;
Fig. 4 is the K line chart in the embodiment of the present invention with passage;
Fig. 5 is the exemplary process diagram of a kind of resource exchange data processing method in the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of resource exchange data processing means in the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of resource exchange data processing means in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under not making creative work premise Execute example, broadly fall into the scope of protection of the invention.
The present inventor finds in research process, and along with the development of the Internet and universal, user can be in interconnection Online and other users or product supplier, service provider carry out the exchange of actual resource or virtual resource.Such as, profit Using some internet applications, user can be complete by smart machines such as mobile terminal, personal computer and panel computers Become the transaction of products in kind (or referred to as actual resource), such as, buy in or sell products in kind.Utilize some internet, applications journey Sequence, user can also complete the financial products (or referred to as virtual resource) such as stock, fund, bond even futures by smart machine Transaction, such as buy in or sell stock, apply to purchase or redemption fund, bond etc..
When carrying out Resource Exchange, in order to Resource Exchange situation is clearly viewed, user needs leading on hand drawn K line Road.When analytical cycle included in K line chart especially is more, user needs to take a significant amount of time to complete K line passage with energy Drafting.
In view of this, the embodiment of the present invention proposes resource exchange data processing method, device and system.Fig. 1 is this The structural representation of a kind of implementation environment involved by each embodiment bright.As it is shown in figure 1, this implementation environment includes Resource Exchange Data server 110, the webserver 120 and subscriber equipment 130.
Resource exchange data server 110, the webserver 120 can be a station server respectively, or by some The server zone of server composition, or a cloud computing service center.
Subscriber equipment 130 can be mobile phone, iPad, panel computer, pocket computer on knee and desk computer etc..
Between resource exchange data server 110 and the webserver 120, the webserver 120 and subscriber equipment 130 it Between, can be connected by wireless network or cable network respectively.
Fig. 2 is the exemplary process diagram of a kind of resource exchange data processing method in the embodiment of the present invention.As in figure 2 it is shown, The method may include steps of.
Step 201: select to show the operation of K line chart corresponding to a resource in response to user, by K line corresponding for described resource Figure sends to the webserver.
In one embodiment, user can select in the Resources list in the provided interface of subscriber equipment to be presented Resource.As a example by stock exchange, user can select the stock of correspondence in fancy stock list;Or, user builds from advance Vertical free stock list is selected the stock of correspondence.Further, user select the K chart analysis cycle (such as, day K line chart, All K line chart, moon K line chart).
Step 202: receive from the described webserver corresponding to the described K line analysis cycle for K line draw A plurality of K line data and a plurality of data boundary drawn for passage.
In one embodiment, time parameter and resource in every K line data include the described K line analysis cycle are handed over Change value parameter.This Resource Exchange value parameter at least includes knock-down price value parameter and last concluded price ginseng for the first time Number.This Resource Exchange value parameter can also include maximum value parameter, minimum value parameter and exchange hand.This value parameter Can characterize by the price of resource.Time still as a example by stock exchange, if the K line analysis cycle is sky, in these K line data Parameter is certain sky (day of trade) date, and Resource Exchange value parameter includes this day opening price of this stock and closing price, and resource is handed over Change value parameter and can also include this stock highest price in this day, lowest price and exchange hand.Still as a example by stock exchange, If the K line analysis cycle is week, it is the newest date (ratio in certain this week corresponding to the time parameter in the K line data in current week As, today is Tuesday, then current week newest date is the date of this Tuesday), corresponding in the K line data in certain week before time Between parameter be the date of Friday in this week, Resource Exchange value parameter includes opening price Monday in this week of this stock, Friday Closing price, Resource Exchange value parameter can also include ceiling price, lowest price and exchange hand in this this week of stock.
In one embodiment, each edge circle data include location parameter and the position of the second boundary point of the first boundary point Put parameter, wherein, each exchange value ginseng for the first time that the location parameter of the first boundary point was included in the default passage drafting cycle Peak in number and each last exchange value parameter and the time parameter of correspondence, the location parameter bag of the second boundary point Include in each exchange value parameter for the first time within the default passage drafting cycle and each last exchange value parameter is minimum Value and the time parameter of correspondence thereof.Still as a example by stock exchange, it is assumed that the K line analysis cycle is sky, the passage drafting cycle is 20 friendships Yi (four weeks).In passage draws cycle 2016/05/31-2016/06/30 (as shown in Figure 3), the first boundary point is (corresponding In Fig. 3 midpoint A) location parameter be (71.07,2016/06/24), the position of the second boundary point (corresponding to Fig. 3 midpoint C) ginseng Number is (48.72,2016/06/01).
Step 203: draw according to described a plurality of K line data and described a plurality of data boundary and show the K line with passage Figure.
In one embodiment, the drawing function of correspondence can according to described a plurality of K line data, be called to draw K line. Still as a example by stock exchange, for the drafting of the K line chart that analytical cycle is sky, the day of trade 2016/06/24 correspondence K line data Including time parameter 2016/06/24, opening price is 71.07, and closing price is 64.40, and ceiling price is 71.28, and lowest price is 64.24.Correspondingly, in K line chart, according to this time parameter, opening price and closing price, draw a rectangle.Specifically, according to This time parameter 2016/06/24, opening price 71.07 and closing price 64.40, determine that four points of this rectangular shaped post are at drawing painting canvas On drawing coordinate be respectively (150,50), (160,50), (150,45) and (160,45).According to time parameter, highest price and Lowest price, determines the vertical line through this rectangular central.Specifically, according to time parameter 2016/06/24, highest price 71.28 and Lowest price 64.24, determines that the drawing coordinate on drawing painting canvas that this vertical line is corresponding is respectively (155,51) and (155,45).Its After, call mobile and line drawing function drafting graph of a correspondence respectively.With the vertical line between drafting highest price and lowest price it is Example, calls mobile drawing function (such as, function cxt.moveTo) and incoming to (155,51) this is moved drawing function, so that should Drawing starting point is moved to coordinate points (155,51) by drawing function;Call line drawing function (such as, function cxt.lineTo) And by this line drawing function incoming to (155,45), so that this drawing function is drawn between 2 points (155,51) and (155,45) Vertical line.
In one embodiment, according to described a plurality of data boundary, call the drawing function of correspondence to draw described K line Passage.Specifically, for each edge circle data, call correspondence drawing function and by determined by the position of each first boundary point Put the incoming described drawing function of location parameter of parameter and each the second boundary point, so that described drawing function is by being sequentially connected with Each first boundary point draws out the first boundary line of described passage, and draws out institute by being sequentially connected with each the second boundary point State the second boundary line of passage.
Still as a example by stock exchange, as it is shown on figure 3, receive two data boundaries, respectively Article 1 data boundaries With Article 2 data boundary.Wherein, Article 1 data boundary includes the location parameter (71.07,2016/06/ of the first boundary point 24) (corresponding to some an A, its drawing coordinate (155,50) on drawing painting canvas) and the second boundary point location parameter (48.72, 2016/06/01) (corresponding to a C, it is in drawing coordinate (122,35)), Article 2 data boundary includes the position of the first boundary point Put parameter (50.81,2016/05/14) (corresponding to a B, its drawing coordinate (113,41)) and the location parameter of the second boundary point (40.21,2016/05/12) (corresponding to a D, it is in drawing coordinate (107,32)).Call mobile and line drawing function respectively Draw the first boundary line and the second boundary line of passage.Specifically, mobile drawing function is called and by incoming for coordinate (155,50) This moves drawing function, so that drawing starting point is moved to coordinate points A (155,50) by this drawing function;Call line drawing function And by this line drawing function incoming to (113,41), so that this drawing function connection coordinate (155,50) and coordinate (113,41) shape Become the first boundary line;Call mobile drawing function and coordinate (122,35) incoming this is moved drawing function, so that this drawing letter Drawing starting point is moved to coordinate (122,35) by number;Call line drawing function and by this line drawing letter incoming to (107,32) Number, so that this drawing function connection coordinate (122,35) and coordinate (107,32) form the second boundary line.
In one embodiment, receive every K line data and each edge circle data can directly be expressed as drawing K line Coordinate corresponding on the painting canvas of figure.
Still as a example by above-mentioned stock exchange, the day of trade 2016/06/24 the K line tables of data of correspondence be shown as on drawing painting canvas Coordinate (150,50), (160,50), (150,45), (160,45), (155,51) and (155,45).Wherein, four coordinates (150,50), (160,50), (150,45) and (160,45) represent four summits of rectangle that opening price is corresponding with closing price, two Individual coordinate (155,51) and (155,45) represent the vertical line that highest price is corresponding with lowest price.Passage draws cycle (2016/05/31- 2016/0630) corresponding data boundary is expressed as on drawing painting canvas coordinate (155,50) and (122,35), represent the respectively One boundary point and the positional information of the second boundary point.Accordingly, subscriber equipment can directly according to the coordinate that receives according to upper The mode of stating draws the K line chart with passage.
In one embodiment, select the operation of a time interval in response to described user, from having of described drafting The K line chart of passage intercepts the part that described time interval is corresponding, and shows this part.
In one embodiment, the drag operation performed for one first boundary point in response to user, by described first Boundary point moves the final position to described drag operation, calls the drawing function of correspondence to adjust described first limit at its place Boundary line;The drag operation performed for a second boundary point in response to described user, moves described the second boundary point to described The final position of drag operation, calls the drawing function of correspondence to adjust the described the second boundary line at its place.
Still as a example by stock exchange, as shown in Figure 4, after the K line chart with passage is showed user, user is permissible Upwards drag coordinates point A is to adjust the first boundary line of passage.Specifically, the drag operation for A point drag operation can be obtained Final position point A ', it is corresponding to coordinate (155,53) on drawing painting canvas, calls removing function to remove line AB, calls shifting Dynamic drawing function and drawing function of ruling repaint coordinate points A ' and B between line.Or, call removing function and remove K Line and the first boundary line of passage and the second boundary line, call mobile drawing function and line drawing function repaints K line, and Connection coordinate point A ' and B formed new first boundary line and again connection coordinate point C become new the second boundary line with D-shaped.
The resource exchange data processing method of corresponding above-mentioned subscriber equipment, web page server end is also required to coordinate and performs accordingly Data processing method.The data processing method flow process of the web page server end described in the embodiment of the present invention is as it is shown in figure 5, main Comprise the steps:
Step 501: the K line chart corresponding in response to the resource from subscriber equipment shows request, from resource exchange data Server obtains a plurality of K line data drawn for K line that described resource is corresponding.
Wherein, this request is specified a K line analysis cycle, and every K line data include the time ginseng in the described K line analysis cycle Number and Resource Exchange value parameter.
Step 502: draw the time parameter in cycle and described K line data according to default passage, by described a plurality of K line Data are divided into many group K line data.
Still as a example by above-mentioned stock exchange, if the K line analysis cycle is sky and each passage, to draw the cycle be 20 friendships Yi, then be divided into one group by every 20 K line data.Such as, in passage draws cycle 2016/05/31-2016/06/30 altogether Including 20 K line analysis data that 20 day of trade is corresponding.
Step 503: for often organizing K line data, determines the data boundary drawn for passage according to these group K line data.
In one embodiment, the first time in Resource Exchange value parameter at least includes the described K line analysis cycle hands over Change value parameter and last exchange value parameter.
In one embodiment, each exchange value parameter for the first time from included by these group K line data and each finally Exchange value parameter determines peak and minimum;Determine that the time parameter that described peak is corresponding is corresponding with minimum Time parameter;The time parameter of described peak and correspondence thereof is defined as the location parameter of the first boundary point, by described The time parameter of low value and correspondence thereof is defined as the location parameter of described second position point, and described data boundary includes described first The location parameter of boundary point and the location parameter of described second position point.
Still as a example by above-mentioned stock exchange, if the K line analysis cycle is sky and each passage, to draw the cycle be 20 friendships Yi, then include 20 opening prices and 20 closing prices in passage draws cycle 2016/05/31-2016/06/30 altogether.From this 20 opening prices and 20 closing prices select peak 71.07 and minimum 48.72.Wherein, according to K line data, peak The time parameter of 71.07 correspondences is 2016/06/24, and the time parameter of minimum 48.72 correspondence is 2016/06/01.Accordingly, Determine passage draw cycle 2016/05/31-2016/06/30 data boundary include primary importance point location parameter (71.07, 2016/06/24) and the location parameter (48.72,2016/06/01) of the second boundary point.
Step 504: described data boundary corresponding with often group K line data for described many group K line data is sent to described use Family equipment.
Following for apparatus of the present invention embodiment, may be used for performing the embodiment of the method that the present invention is corresponding.For the present invention The details not disclosed in device embodiment, refer to the description in the inventive method embodiment.
Fig. 6 is the exemplary block diagram of a kind of resource exchange data processing means in the embodiment of the present invention.This Resource Exchange Data processing equipment 600 can realize referred to as subscriber equipment 130 shown in Fig. 1 by the way of software, hardware or both combinations Part or all of.This device comprises the steps that sending module 601, receiver module 602, processing module 603 and display module 604.Its In,
Sending module 601 for selecting to show the operation of K line chart corresponding to a resource in response to user, by described resource pair The K line chart answered shows that request sends to the webserver, and a K line analysis cycle is specified in this request;
Receiver module 602 for receive from the described webserver corresponding to the described K line analysis cycle for K line The a plurality of K line data drawn and a plurality of data boundary drawn for passage;
Processing module 603 has the K line of passage according to described a plurality of K line data and described a plurality of data boundary for drawing Figure;
Display module 604 is for showing the K line chart with passage that described processing module 603 is drawn.
In one embodiment, described processing module 603 is for according to described a plurality of K line data, calling painting of correspondence Figure function draws K line;According to described a plurality of data boundary, call the drawing function of correspondence to draw the passage of described K line.
In one embodiment, described each edge circle data include location parameter and the second boundary point of the first boundary point Location parameter, wherein, each exchange value for the first time that the location parameter of the first boundary point was included in the default passage drafting cycle Peak in value parameter and each last exchange value parameter and the time parameter of correspondence thereof, the position ginseng of the second boundary point Count in each exchange value parameter for the first time and each last exchange value parameter being included in the default passage drafting cycle Minimum and the time parameter of correspondence thereof;
Described processing module 603, for for each edge circle data, is called determined by corresponding drawing function general each The location parameter of the first boundary point and the incoming described drawing function of location parameter of each the second boundary point, so that described drawing letter Number draws out the first boundary line of described passage by being sequentially connected with each first boundary point, and by being sequentially connected with each second limit Boundary's point draws out the second boundary line of described passage.
In one embodiment, described processing module 603 is further used for selecting a time zone in response to described user Between operation, intercept, from having the K line chart of passage of described drafting, the part that described time interval is corresponding;
Described display module 604 is further used for showing the part that this processing module is intercepted.
In one embodiment, described processing module 603 is further used in response to user for one first boundary point The drag operation performed, moves the final position to described drag operation by described first boundary point, calls the drawing letter of correspondence Number adjusts described first boundary line at its place;The drag operation performed for a second boundary point in response to described user, Described the second boundary point is moved the final position to described drag operation, calls the drawing function of correspondence to adjust its place Described the second boundary line.
Above-mentioned module 601-604 can be stored in the instruction module in the memorizer 611 in device 600, and these refer to Module is made to comprise the executable instruction of processor.When the processor 610 in device 600 performs the instruction in module 601-604, The various functions of above-mentioned module 601-604 can be realized.
Fig. 7 is the exemplary block diagram of a kind of resource exchange data processing means in the embodiment of the present invention.This Resource Exchange Data processing equipment 700 can realize the referred to as webserver shown in Fig. 1 by the way of software, hardware or both combinations 120 part or all of.This device comprises the steps that acquisition module 701, processing module 702 and sending module 703.Wherein,
Acquisition module 701 shows request for the K line chart corresponding in response to the resource from subscriber equipment, and this request refers to In a fixed K line analysis cycle, obtain, from resource exchange data server, a plurality of K line number drawn for K line that described resource is corresponding According to, wherein, every K line data include the time parameter in the described K line analysis cycle and Resource Exchange value parameter;
Processing module 702 for drawing the time parameter in cycle and described K line data according to the passage preset, by described A plurality of K line data are divided into many group K line data;For often organizing K line data, determine according to these group K line data and draw for passage Data boundary;
Sending module 703 is for sending described data boundary corresponding with often group K line data for described many group K line data extremely Described subscriber equipment, so that described subscriber equipment is organized K line data more according to described and often organize the described data boundary that K data is corresponding Draw and show the K line chart with passage.
In one embodiment, first in described Resource Exchange value parameter at least includes the described K line analysis cycle Secondary exchange value parameter and last exchange value parameter;
Described processing module 702 is for each exchange value parameter for the first time from included by these group K line data and A rear exchange value parameter determines peak and minimum;Determine time parameter and minimum pair that described peak is corresponding The time parameter answered;The time parameter of described peak and correspondence thereof is defined as the location parameter of the first boundary point, by described The time parameter of minimum and correspondence thereof is defined as the location parameter of described second position point, and described data boundary includes described The location parameter of one boundary point and the location parameter of described second position point.
Above-mentioned module 701-703 can be stored in the instruction module in the memorizer 711 in device 700, and these refer to Module is made to comprise the executable instruction of processor.When the processor 710 in device 700 performs the instruction in module 701-703, The various functions of above-mentioned module 701-703 can be realized.
The control system that in the embodiment of the present invention, a kind of media file is play online includes Resource Exchange number as shown in Figure 1 According to server 110, the webserver 120 and at least one subscriber equipment 130.Wherein,
Subscriber equipment 130 for selecting to show the operation of K line chart corresponding to a resource in response to user, by described resource pair The K line chart answered shows that request sends to the webserver 120, and a K line analysis cycle is specified in this request;Receive from described network Server corresponding to the described K line analysis cycle for K line draw a plurality of K line data and for passage draw a plurality of limit Boundary's data;Draw according to described a plurality of K line data and described a plurality of data boundary and show the K line chart with passage;
The described webserver 120 shows request for the K line chart corresponding in response to the resource from subscriber equipment, should A K line analysis cycle is specified in request, obtains corresponding a plurality of of described resource from resource exchange data server 110 and paints for K line The K line data of system, wherein, every K line data include that the time parameter in the described K line analysis cycle and Resource Exchange are worth ginseng Number;Draw the time parameter in cycle and described K line data according to default passage, described a plurality of K line data are divided into many Group K line data;For often organizing K line data, determine the data boundary drawn for passage according to these group K line data;By described many The described data boundary transmission extremely described subscriber equipment 130 that group K line data are corresponding with often group K line data.
It addition, each functional module in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that modules is individually physically present, it is also possible to two or more modules are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.The merit of described each embodiment Module can may be located at a terminal or network node, or can also be distributed on multiple terminal or network node.
It addition, each embodiment of the present invention can be processed by the data performed by data handling equipment such as computer Program realizes.Obviously, data processor constitutes the present invention.Additionally, the data being generally stored inside in a storage medium Processing routine by directly reading out storage medium or by program being installed or copying to data handling equipment by program Storage device (such as hard disk and or internal memory) performs.Therefore, such storage medium also constitutes the present invention.Storage medium is permissible Using any kind of recording mode, such as paper storage medium (such as paper tape etc.), magnetic storage medium are (such as floppy disk, hard disk, flash memory Deng), optical storage media (such as CD-ROM etc.), magnetic-optical storage medium (such as MO etc.) etc..
Therefore present invention also offers a kind of storage medium, wherein storage has data processor, this data processor For performing any embodiment of said method of the present invention.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware Completing, it is also possible to instruct relevant hardware by program and complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvement etc. done, within should be included in the scope of protection of the invention.

Claims (15)

1. a resource exchange data processing method, it is characterised in that the method includes:
Select to show the operation of K line chart corresponding to a resource in response to user, K line chart corresponding for described resource is shown that request is sent out Delivering to the webserver, a K line analysis cycle is specified in this request;
Receive from the described webserver corresponding to the described K line analysis cycle for K line draw a plurality of K line data and The a plurality of data boundary drawn for passage;
Draw according to described a plurality of K line data and described a plurality of data boundary and show the K line chart with passage.
Method the most according to claim 1, it is characterised in that described drafting has the K line chart of passage, including:
According to described a plurality of K line data, call the drawing function of correspondence to draw K line;
According to described a plurality of data boundary, call the drawing function of correspondence to draw the passage of described K line.
Method the most according to claim 2, it is characterised in that described each edge circle data include the position of the first boundary point Parameter and the location parameter of the second boundary point, wherein, the location parameter of the first boundary point was included in the default passage drafting cycle Each exchange value parameter for the first time and each last exchange value parameter in peak and the time parameter of correspondence, the Each exchange value parameter for the first time that the location parameter of two boundary points was included in the default passage drafting cycle and each for the last time Minimum in exchange value parameter and the time parameter of correspondence thereof;
Described call the drawing function of correspondence according to a plurality of data boundary and draw the passage of described K line, including:
For each edge circle data, call correspondence drawing function and by determined by each first boundary point location parameter and The incoming described drawing function of location parameter of each the second boundary point, so that described drawing function is by being sequentially connected with each first border Point draws out the first boundary line of described passage, and draws out the of described passage by being sequentially connected with each the second boundary point Two boundary lines.
Method the most according to claim 1, it is characterised in that farther include:
Select the operation of a time interval in response to described user, from described drafting have the K line chart of passage intercepts described The part that time interval is corresponding, and show this part.
Method the most according to claim 3, it is characterised in that farther include:
The drag operation performed for one first boundary point in response to user, moves described first boundary point and pulls behaviour to described The final position made, calls the drawing function of correspondence to adjust described first boundary line at its place;
The drag operation performed for a second boundary point in response to described user, moves described the second boundary point and drags to described Drag the final position of operation, call the drawing function of correspondence to adjust the described the second boundary line at its place.
6. a resource exchange data processing method, it is characterised in that the method includes:
The K line chart corresponding in response to the resource from subscriber equipment shows request, and a K line analysis cycle is specified in this request, from Resource exchange data server obtains a plurality of K line data drawn for K line that described resource is corresponding, wherein, every K line data Including the time parameter in the described K line analysis cycle and Resource Exchange value parameter;
Draw the time parameter in cycle and described K line data according to default passage, described a plurality of K line data are divided into many Group K line data;
For often organizing K line data, determine the data boundary drawn for passage according to these group K line data;
Described data boundary corresponding with often group K line data for described many group K line data is sent to described subscriber equipment, so that institute State subscriber equipment according to described many group K line data and often to organize described data boundary corresponding to K data and draw and show there is passage K line chart.
Method the most according to claim 6, in described Resource Exchange value parameter at least includes the described K line analysis cycle Exchange value parameter and last exchange value parameter for the first time;
Described according to these group K line data determine for passage draw data boundary, including:
Each exchange value parameter and each last exchange value parameter for the first time from included by these group K line data determines Peak and minimum;
Determine the time parameter that time parameter that described peak is corresponding is corresponding with minimum;
The time parameter of described peak and correspondence thereof is defined as the location parameter of the first boundary point, by described minimum and Corresponding time parameter is defined as the location parameter of described second position point, and described data boundary includes described first boundary point Location parameter and the location parameter of described second position point.
8. a resource exchange data processing means, it is characterised in that this device includes:
Sending module, for selecting to show the operation of K line chart corresponding to a resource, by K corresponding for described resource in response to user Line chart shows that request sends to the webserver, and a K line analysis cycle is specified in this request;
Receiver module, for receive from the described webserver corresponding to the described K line analysis cycle for K line draw A plurality of K line data and a plurality of data boundary drawn for passage;
Processing module, for drawing the K line chart with passage according to described a plurality of K line data and described a plurality of data boundary;
Display module, for showing the K line chart with passage that described processing module is drawn.
Device the most according to claim 8, it is characterised in that described processing module is used for according to described a plurality of K line data, Call the drawing function of correspondence to draw K line;According to described a plurality of data boundary, the drawing function calling correspondence is drawn described The passage of K line.
Device the most according to claim 9, it is characterised in that described each edge circle data include the position of the first boundary point Putting parameter and the location parameter of the second boundary point, wherein, the location parameter of the first boundary point is included in default passage and draws the cycle Peak in interior each exchange value parameter for the first time and each last exchange value parameter and the time parameter of correspondence thereof, Each exchange value parameter for the first time that the location parameter of the second boundary point was included in the default passage drafting cycle and each last Minimum in secondary exchange value parameter and the time parameter of correspondence thereof;
Described processing module, for for each edge circle data, calls each first border determined by corresponding drawing function general The location parameter of point and the incoming described drawing function of location parameter of each the second boundary point, so that described drawing function is by depending on Each first boundary point of secondary connection draws out the first boundary line of described passage, and paints by being sequentially connected with each the second boundary point Make the second boundary line of described passage.
11. devices according to claim 8, it is characterised in that described processing module is further used in response to described use Family selects the operation of a time interval, has the K line chart of passage, from described drafting, the portion that described time interval is corresponding that intercepts Point;
Described display module is further used for showing the part that this processing module is intercepted.
12. devices according to claim 10, it is characterised in that described processing module is further used in response to user's pin The drag operation performing one first boundary point, moves the final position to described drag operation by described first boundary point, adjusts Described first boundary line at its place is adjusted with corresponding drawing function;Hold for a second boundary point in response to described user The drag operation of row, moves the final position to described drag operation by described the second boundary point, calls the drawing function of correspondence Adjust the described the second boundary line at its place.
13. 1 kinds of resource exchange data processing meanss, it is characterised in that this device includes:
Acquisition module, shows request for the K line chart corresponding in response to the resource from subscriber equipment, and a K is specified in this request In the line analysis cycle, obtain, from resource exchange data server, a plurality of K line data drawn for K line that described resource is corresponding, its In, every K line data include the time parameter in the described K line analysis cycle and Resource Exchange value parameter;
Processing module, for drawing the time parameter in cycle and described K line data, by described a plurality of K according to the passage preset Line data are divided into many group K line data;For often organizing K line data, determine the border drawn for passage according to these group K line data Data;
Sending module, for sending described data boundary corresponding with often group K line data for described many group K line data to described use Family equipment, so that described subscriber equipment is drawn also according to the described data boundary that described many group K line data are corresponding with often group K data Show the K line chart with passage.
14. devices according to claim 13, in described Resource Exchange value parameter at least includes the described K line analysis cycle First time exchange value parameter and last exchange value parameter;
Described processing module is for each exchange value parameter and each last friendship for the first time from included by these group K line data Change and value parameter determines peak and minimum;Determine the time that time parameter that described peak is corresponding is corresponding with minimum Parameter;The time parameter of described peak and correspondence thereof is defined as the location parameter of the first boundary point, by described minimum and The time parameter of its correspondence is defined as the location parameter of described second position point, and described data boundary includes described first boundary point Location parameter and the location parameter of described second position point.
15. 1 kinds of resource exchange data processing systems, it is characterised in that this system includes:
Subscriber equipment, for selecting to show the operation of K line chart corresponding to a resource, by K corresponding for described resource in response to user Line chart shows that request sends to the webserver, and a K line analysis cycle is specified in this request;Receive from the described webserver The a plurality of K line data drawn for K line corresponding to the described K line analysis cycle and a plurality of data boundary for passage drafting; Draw according to described a plurality of K line data and described a plurality of data boundary and show the K line chart with passage;
The described webserver, shows request for the K line chart corresponding in response to the resource from described subscriber equipment, should Ask the one K line analysis cycle of appointment, obtain, from resource exchange data server, a plurality of K drawn for K line that described resource is corresponding Line data, wherein, every K line data include the time parameter in the described K line analysis cycle and Resource Exchange value parameter;Root Draw the time parameter in cycle and described K line data according to default passage, described a plurality of K line data are divided into many group K lines Data;For often organizing K line data, determine the data boundary drawn for passage according to these group K line data;By described many group K lines The described data boundary transmission extremely described subscriber equipment that data are corresponding with often group K line data.
CN201610531144.9A 2016-07-07 2016-07-07 Resource exchange data processing method, device and system Active CN106157347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610531144.9A CN106157347B (en) 2016-07-07 2016-07-07 Resource exchange data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610531144.9A CN106157347B (en) 2016-07-07 2016-07-07 Resource exchange data processing method, device and system

Publications (2)

Publication Number Publication Date
CN106157347A true CN106157347A (en) 2016-11-23
CN106157347B CN106157347B (en) 2020-04-03

Family

ID=58062892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610531144.9A Active CN106157347B (en) 2016-07-07 2016-07-07 Resource exchange data processing method, device and system

Country Status (1)

Country Link
CN (1) CN106157347B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846434A (en) * 2017-01-19 2017-06-13 沃民高新科技(北京)股份有限公司 The method and apparatus for showing operation signal
CN107845036A (en) * 2017-11-02 2018-03-27 浙江富帝科技有限公司 In a kind of banking software from animation line confirmation method
CN107918914A (en) * 2017-11-02 2018-04-17 浙江富帝科技有限公司 A kind of time series data segmentation method in banking software
CN108198233A (en) * 2017-12-31 2018-06-22 广州金十信息科技有限公司 A kind of method for drafting, electronic equipment and the storage medium of K line charts

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020014360A (en) * 2000-08-17 2002-02-25 이은한 Method for making stock graph
CN101876894A (en) * 2009-04-29 2010-11-03 左睿 Multi-stage derivation type market data trend accurate tracking method
CN102110273A (en) * 2009-12-29 2011-06-29 黄肇基 Method for interpreting trend of K-line structure diagram by utilizing pearl colour-ribbon diagram
CN103544647A (en) * 2012-07-10 2014-01-29 廖倡兴 Method and system for displaying on-demand interval prices of financial commodity
CN103793844A (en) * 2012-10-30 2014-05-14 三竹资讯股份有限公司 Device and method of stock market automation technology analysis
CN105225002A (en) * 2015-09-21 2016-01-06 清华大学 Based on adolescent psychology pressure trend Forecasting Methodology and the system of microblogging

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020014360A (en) * 2000-08-17 2002-02-25 이은한 Method for making stock graph
CN101876894A (en) * 2009-04-29 2010-11-03 左睿 Multi-stage derivation type market data trend accurate tracking method
CN102110273A (en) * 2009-12-29 2011-06-29 黄肇基 Method for interpreting trend of K-line structure diagram by utilizing pearl colour-ribbon diagram
CN103544647A (en) * 2012-07-10 2014-01-29 廖倡兴 Method and system for displaying on-demand interval prices of financial commodity
CN103793844A (en) * 2012-10-30 2014-05-14 三竹资讯股份有限公司 Device and method of stock market automation technology analysis
CN105225002A (en) * 2015-09-21 2016-01-06 清华大学 Based on adolescent psychology pressure trend Forecasting Methodology and the system of microblogging

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846434A (en) * 2017-01-19 2017-06-13 沃民高新科技(北京)股份有限公司 The method and apparatus for showing operation signal
CN107845036A (en) * 2017-11-02 2018-03-27 浙江富帝科技有限公司 In a kind of banking software from animation line confirmation method
CN107918914A (en) * 2017-11-02 2018-04-17 浙江富帝科技有限公司 A kind of time series data segmentation method in banking software
CN108198233A (en) * 2017-12-31 2018-06-22 广州金十信息科技有限公司 A kind of method for drafting, electronic equipment and the storage medium of K line charts

Also Published As

Publication number Publication date
CN106157347B (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN106157347A (en) Resource exchange data processing method, device and system
CN111433762A (en) Graphically organizing content in a user interface of a software application
CN104142966A (en) Web page displaying method and client
CN109118456A (en) Image processing method and device
CN104574116A (en) On-line service method and device based on electronic map
CN108280636A (en) Divide account method, apparatus and system
CN107592343A (en) Data processing method, device, computer-readable recording medium and electronic equipment
CN108011949A (en) Method and apparatus for obtaining data
CN111027896A (en) Data processing method and device, readable storage medium and electronic equipment
Effah The rise and fall of a dot-com pioneer in a developing country
CN104268174A (en) Information displaying method and client
CN110413421A (en) Business data processing method and device, transaction data processing method and device
CN110457219A (en) The method and apparatus of selection of time when a kind of test script is recorded
CN106126102A (en) Mobile terminal many wallpapers data interactive method and device
CN113822704A (en) Method and device for calculating discount cost, electronic equipment and readable storage medium
US9582560B2 (en) Partnership relationship management system to system data synchronization
CN105260397A (en) Method and device for establishing quotation graph
US20140342694A1 (en) Systems and methods for ordering telecommunication services
CN110807621A (en) Integration platform of talents and resources related to music industry
CN109670806A (en) Account recommendation method, apparatus, terminal and computer readable storage medium
KR102402166B1 (en) Method and device for supporting managing security event by using playbook based on interactive simulation
CN108629596A (en) A kind of exchange method and system of internet shopping
CN114066474A (en) Payment method, device, equipment and medium
Layade Mobile commerce (M-commerce): a future driver of business growth in Nigeria
CN105373308A (en) Picture processing method and mounted equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant