Summary of the invention
Accuracy rate in order to solve the problems, such as the operation note of user's acquisition in the prior art is lower, and the embodiment of the present invention mentions
A kind of method for showing interface and device are supplied.The technical solution is as follows:
In a first aspect, providing a kind of method for showing interface, which comprises
Obtain sampled data of the pre-set level in historical time section;
The prompt information in the historical time section is obtained, the prompt information is for prompting user to hold in predetermined time
The information of row predetermined registration operation;
The operation information of the user's operation in the historical time section is obtained, the operation information includes action type, behaviour
Make moment and the pre-set level index value corresponding to the operation moment;
Interface is shown according to the sampled data, the prompt information and the operation information, includes in the interface
The sampled data, corresponding to the prompt record of every prompt information and corresponding to the operation note of every operation information.
Optionally, described that interface, packet are shown according to the sampled data, the prompt information and the operation information
It includes:
Show include coordinate system the displaying interface, include in the coordinate system n item sampling line, the prompt record with
And the operation note, for every sampling line for indicating one group of sampled data, the first reference axis in the coordinate system is used for table
Show the numerical value of the pre-set level, the second reference axis of the coordinate system is for indicating the time.
Optionally, every prompt recording mark is at the first position in the coordinate system, and the first of the first position
Coordinate value is the index value at the predetermined time in the corresponding prompt information of the prompt record, the first position
The second coordinate value be the prompt information in predetermined time;
And/or
Every operation note marks the second place in the coordinate system, and the first coordinate value of the second position is
The index value of operation information corresponding to the operation note, the second coordinate value of the second position are the operation information
The operation moment.
It is optionally, described to show the displaying interface including coordinate system, comprising:
Show in the coordinate system include n item sampling line, show the first icon at the first position and
Show that, at the displaying interface of the second icon of the second place, first icon is different from second icon.
Optionally, the operation information of acquisition user's operation in the historical time section, comprising:
Acquisition request is sent to server, the user identifier of the user is carried in the acquisition request and described is gone through
The history period;
The operation information that the server returns is received, the operation information is the server every preset time
The information that section is got from index processing server.
Second aspect, provides a kind of showing interface device, and described device includes:
First obtains module, for obtaining sampled data of the pre-set level in historical time section;
Second obtains module, and for obtaining the prompt information in the historical time section, the prompt information is for mentioning
Show that user executes the information of predetermined registration operation in predetermined time;
Third obtains module, for obtaining the operation information of the user's operation in the historical time section, the operation letter
Breath includes action type, operation moment and the pre-set level index value corresponding to the operation moment;
Display module, for showing interface, institute according to the sampled data, the prompt information and the operation information
State includes the sampled data in interface, corresponding to the prompt record of every prompt information and corresponding to every operation information
Operation note.
Optionally, the display module is also used to show the displaying interface including coordinate system, wraps in the coordinate system
N item sampling line, prompt record and the operation note are included, every sampling line is described for indicating one group of sampled data
The first reference axis in coordinate system is used to indicate the numerical value of the pre-set level, and the second reference axis of the coordinate system is for indicating
Time.
Optionally, every prompt recording mark is at the first position in the coordinate system, and the first of the first position
Coordinate value is the index value at the predetermined time in the corresponding prompt information of the prompt record, the first position
The second coordinate value be the prompt information in predetermined time;
And/or
Every operation note marks the second place in the coordinate system, and the first coordinate value of the second position is
The index value of operation information corresponding to the operation note, the second coordinate value of the second position are the operation information
The operation moment.
Optionally, the display module is also used to show in the coordinate system to include n item sampling line, shows in institute
It states the first icon at first position and shows at the displaying interface of the second icon of the second place, described the
One icon is different from second icon.
Optionally, the third obtains module, comprising:
Transmission unit carries the user of the user for sending acquisition request to server in the acquisition request
Mark and the historical time section;
Receiving unit, the operation information returned for receiving the server, the operation information are the service
The information that device every preset time period is got from index processing server.
Technical solution provided in an embodiment of the present invention has the benefit that
By showing prompt record and operation note simultaneously in interface, solve in the prior art due to user's needs
Pass through meeting to obtain operation note, the lower problem of the accuracy rate of the operation note got;Having reached can be in interface
It directly shows the operation note, and then improves the effect of the accuracy rate for the operation note that user obtains.Meanwhile by showing simultaneously
Prompt record and operation note, allow user according to the interface of displaying easily evaluate oneself selection operation whether be
Optimal selection.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Referring to FIG. 1, such as scheming it illustrates the method flow diagram of method for showing interface provided by one embodiment of the present invention
Shown in 1, which includes:
Step 101, sampled data of the pre-set level in historical time section is obtained.
Step 102, the prompt information in historical time section is obtained, prompt information is for prompting user to hold in predetermined time
The information of row predetermined registration operation.
Step 103, the operation information of the user's operation in historical time section is obtained, operation information includes action type, behaviour
Make moment and pre-set level and carves corresponding index value in operation.
Step 104, interface is shown according to sampled data, prompt information and operation information, include in interface sampled data,
Corresponding to the prompt record of every prompt information and corresponding to the operation note of every operation information.
In conclusion method for showing interface provided in this embodiment, by shown simultaneously in interface prompt record and
Operation note solves and obtains operation note since user needs to pass through meeting in the prior art, the operation note that gets
The lower problem of accuracy rate;The operation note can directly be shown in interface by having reached, and then improve the behaviour that user obtains
The effect for the accuracy rate noted down.Meanwhile by showing prompt record and operation note simultaneously, allow user according to exhibition
Whether easily the evaluate oneself operation of selection of the interface shown is optimal selection.
Fig. 2A is please referred to, it illustrates the method flow diagrams of method for showing interface provided by one embodiment of the present invention, such as
Shown in Fig. 2A, which includes:
Step 201, sampled data of the pre-set level in historical time section is obtained.
Pre-set level can be preset index.By taking stock analysis field or heavy metal investment analysis field as an example,
Desired indicator can be the price of analysis object, and analysis object here can be certain branch stock or certain heavy metal species etc..For example,
Analysis object is silver, the pre-set level of silver, the as price of silver.
Historical time section can be the period of user's selection.Specifically, terminal, which can receive user, selects historical time
The selection signal of section, terminal obtain pre-set level adopting in the historical time section of selection after receiving the selection signal
Sample data.For example, when user selects " past one day ", hits of the available pre-set level of terminal within " past one day "
According to.
Sampled data may include n group, and every group of sampled data includes a unit of the pre-set level in historical time section
Data in period, n are positive integer.Every group of sampled data may include in initial value, end value, maximum value and minimum value
At least two.Wherein: initial value is the numerical value of the pre-set level of unit period initial time, and end value is unit period knot
The numerical value of the pre-set level at beam moment, maximum value are the maximum value that pre-set level reaches in the unit period, and minimum value is unit
The minimum value that preset value reaches in period.Unit interval can be for several minutes, several hours, Ruo Gan, Ruo Ganzhou
Deng the unit interval for unit, it is said here it is several be one, two or more.For example, unit interval can be with
It is 30 minutes.
Still by taking stock analysis field or heavy metal investment analysis field as an example, when unit interval is 30 minutes, often
Group sampled data can be at least two of analysis object in opening price, closing price, highest price and the lowest price in every 30 minutes
Kind.
Terminal obtains sampled data of the pre-set level in historical time section, can be terminal and acquires from server
Sampled data of the pre-set level in historical time section.Optionally, terminal receives the selection signal of selection historical time section
Later, acquisition request is sent to server, receives the sampled data that server returns, and the present embodiment is to this and without limitation.
Below unless otherwise specified, sampled data described in the present embodiment includes simultaneously pre-set level in corresponding unit
Between initial value in section, end value, maximum value and four kinds of minimum value.
Step 202, the prompt information in historical time section is obtained, prompt information is for prompting user to hold in predetermined time
The information of row predetermined registration operation.
Prompt information may include doing sky prompt information, doing more prompt informations or simultaneously including both above-mentioned.Doing sky is
Refer to that first debt-credit is bought in and given back after selling, do refer to first to buy in sell afterwards.
Optionally, terminal can obtain the historical time section after the selection signal for receiving selection historical time section
Interior prompt information.
Server can push the prompt information, phase after generating prompt information according to a large amount of sampled datas to terminal
It answers, terminal can receive and store the prompt information.Optionally, after terminal receives selection signal, terminal can be obtained
Take the prompt information in the pre-stored historical time section.Specifically, the available predetermined time of terminal is in the historical time
Each prompt information in section.
Step 203, the operation information of the user's operation in historical time section is obtained, operation information includes action type, behaviour
Make moment and pre-set level and carves corresponding index value in operation.
Optionally, this step may include:
First, acquisition request is sent to server, and the user identifier and historical time of user are carried in acquisition request
Section.
Second, the operation information that server returns is received, operation information is server every preset time period from index
The information got in reason server.
User can execute some operations according to oneself demand.For example, for silver, when user feels present price
Sell can income when, user can by transaction terminal execute sell operation;And it is bought in when user feels with present price
When understanding income, user can be executed by transaction terminal and buy in operation.Correspondingly, trading server can recorde each behaviour
Make information.Server can be spaced at predetermined time intervals and obtain the operation information from trading server.Predetermined time interval can
Think half a day, one day or other intervals, when frequently pulling operation information from trading server due to server, may lead
It causes trading server load heavier, wears trading server down, and then influence the arm's length dealing of trading server;And if interval time
Longer, then the operation information that terminal is got may be lagged excessively, and therefore, predetermined time interval described in the present embodiment is usually
Half a day or one day.For example, server 24:00 can be obtained from trading server daily so that predetermined time interval is 1 day as an example
Take each user in the operation information of the previous day.
In this way, server can return to behaviour of the user in historical time section after server receives acquisition request
Make information.
It is above-mentioned that only with server, interval obtains operation information from index processing server and illustrates at predetermined time intervals,
Optionally, server can also obtain operation information, this implementation from index processing server after receiving acquisition request
Example is to this and without limitation.
Step 204, it shows the displaying interface including coordinate system, includes n item sampling line in coordinate system, prompts record and grasp
It notes down, every sampling line is for indicating one group of sampled data.
The first reference axis in coordinate system is used to indicate the numerical value of pre-set level, and the second reference axis of coordinate system is for indicating
Time.
Still by taking stock analysis field or heavy metal investment analysis field as an example, sampling line is K line.K line can indicate
The various concluded prices of one unit interval, including highest price of the analysis object in unit interval, lowest price, opening price and
Closing price.
Prompt record and operation note can be text, are also possible to icon, can also be text+icon.For example, to mention
For showing record and being text, prompting record can be ' can sell ' or ' can buy in '.It for another example, is figure with operation note
It is designated as example, operation note can be triangular graph mark.
Optionally, every prompt record can mark at first position in a coordinate system, the first coordinate of first position
Value is the index value at the predetermined time in the corresponding prompt information of prompt record, and the second coordinate value of first position is to mention
Show the predetermined time in information.For example, the second reference axis is horizontal axis to illustrate using the first reference axis as the longitudinal axis, certain prompt letter
Predetermined time in breath is 15:35 points, then abscissa is that 15:35 exists respectively to terminal in a coordinate system, and ordinate is right for 15:35 points
Show that prompt corresponding to this prompt information records at the knock-down price answered.
Optionally, every operation note can mark the second place in a coordinate system, the first coordinate of the second position
Value is the index value of operation information corresponding to operation note, when the second coordinate value of the second position is the operation of operation information
It carves.For example, the second reference axis is horizontal axis to illustrate, behaviour corresponding to certain operation note still using the first reference axis as the longitudinal axis
Making the operation moment in information is 17:20, and operand value 200, then abscissa is 17:20, ordinate to terminal in a coordinate system
To show this operation note at 200 position.
Optionally, when prompt record includes icon, and operation note includes icon, this step may include:
Show to include the first icon and displaying of n item sampling line, displaying at first position in coordinate system in second
Set the displaying interface of second icon at place.First icon is different from the second icon.
Wherein, the first icon be different from the second icon can be with are as follows: the shape of the first icon be different from the second icon shape,
The Icon Color of first icon is different from the color of the second icon and the icon sizes of the first icon are different from the second icon
At least one of size.
With the color of the first icon and the second Icon Color difference, and the size of the first icon and the size of the second icon are not
With illustrating, Fig. 2 B is please referred to, the first icon 21 can be indicated with red, the second icon 22 can be indicated with yellow.Divide in figure
Solid line K line and dotted line K line, solid line K line indicate that closing price in the unit interval is higher than opening price, this burst of rise in price,
Dotted line K line indicates that the closing price in the unit interval is lower than opening price, this burst of price drops.In actual implementation, solid line and
Dotted line respectively represents two kinds of colors, and the present embodiment is to this and without limitation.
It should be added that above-mentioned is by taking user selects historical time section as an example, optionally, due to terminal display
After interface, user can control dragging interface, and therefore, optionally, historical time section can also pass through dragging interface for user
The period of selection.For example, user can drag to the right interface after terminal display interface, then at this point, terminal can determine use
The distance that family drags to the right, and determine the distance period corresponding in time shaft, using the period as historical time
Section.Hereafter, terminal can obtain prompt information, operation information and show interface, the present embodiment is herein according to above-mentioned acquisition modes
It repeats no more.
In conclusion method for showing interface provided in this embodiment, by shown simultaneously in interface prompt record and
Operation note solves and obtains operation note since user needs to pass through meeting in the prior art, the operation note that gets
The lower problem of accuracy rate;The operation note can directly be shown in interface by having reached, and then improve the behaviour that user obtains
The effect for the accuracy rate noted down.Meanwhile by showing prompt record and operation note simultaneously, allow user according to exhibition
Whether easily the evaluate oneself operation of selection of the interface shown is optimal selection.
It is shown in Figure 3, it is the structural block diagram of the showing interface device provided in one embodiment of the invention, such as
Shown in Fig. 3, which includes: that the first acquisition module 310, second obtains module 320, third obtains 330 and of module
Display module 340.
First obtains module 310, for obtaining sampled data of the pre-set level in historical time section;
Second obtains module 320, for obtaining the prompt information in the historical time section, the prompt information be for
User is prompted to execute the information of predetermined registration operation in predetermined time;
Third obtains module 330, for obtaining the operation information of the user's operation in the historical time section, the operation
Information includes action type, operation moment and the pre-set level index value corresponding to the operation moment;
Display module 340, for showing boundary according to the sampled data, the prompt information and the operation information
Face, include in the interface sampled data, corresponding to every prompt information prompt record and correspond to every operation
The operation note of information.
In conclusion showing interface device provided in an embodiment of the present invention, by showing prompt record simultaneously in interface
And operation note, it solves and obtains operation note since user needs to pass through meeting in the prior art, the operation that gets
The lower problem of the accuracy rate of record;The operation note can directly be shown in interface by having reached, and then is improved user and obtained
Operation note accuracy rate effect.Meanwhile by showing prompt record and operation note simultaneously, allow user's root
It whether is optimal selection according to easily the evaluate oneself operation of selection of the interface of displaying.
It is shown in Figure 4, it is the structural block diagram of the showing interface device provided in one embodiment of the invention, such as
Shown in Fig. 4, which includes: that the first acquisition module 410, second obtains module 420, third obtains 430 and of module
Display module 440.
First obtains module 410, for obtaining sampled data of the pre-set level in historical time section;
Second obtains module 420, for obtaining the prompt information in the historical time section, the prompt information be for
User is prompted to execute the information of predetermined registration operation in predetermined time;
Third obtains module 430, for obtaining the operation information of the user's operation in the historical time section, the operation
Information includes action type, operation moment and the pre-set level index value corresponding to the operation moment;
Display module 440, for showing boundary according to the sampled data, the prompt information and the operation information
Face, include in the interface sampled data, corresponding to every prompt information prompt record and correspond to every operation
The operation note of information.
Optionally, the display module 440 is also used to show the displaying interface including coordinate system, the coordinate system
In include n item sampling line, prompt record and the operation note, every sampling line is used for one group of sampled data of expression,
The first reference axis in the coordinate system is used to indicate the numerical value of the pre-set level, and the second reference axis of the coordinate system is used for
Indicate the time.
Optionally, every prompt recording mark is at the first position in the coordinate system, and the first of the first position
Coordinate value is the index value at the predetermined time in the corresponding prompt information of the prompt record, the first position
The second coordinate value be the prompt information in predetermined time;
And/or
Every operation note marks the second place in the coordinate system, and the first coordinate value of the second position is
The index value of operation information corresponding to the operation note, the second coordinate value of the second position are the operation information
The operation moment.
Optionally, the display module 440 is also used to show in the coordinate system to include n item sampling line, shows
It the first icon at the first position and shows at the displaying interface of the second icon of the second place, it is described
First icon is different from second icon.
Optionally, the third obtains module 430, comprising:
Transmission unit 431 carries the use of the user for sending acquisition request to server in the acquisition request
Family mark and the historical time section;
Receiving unit 432, the operation information returned for receiving the server, the operation information are the clothes
The information that business device every preset time period is got from index processing server.
In conclusion showing interface device provided in an embodiment of the present invention, by showing prompt record simultaneously in interface
And operation note, it solves and obtains operation note since user needs to pass through meeting in the prior art, the operation that gets
The lower problem of the accuracy rate of record;The operation note can directly be shown in interface by having reached, and then is improved user and obtained
Operation note accuracy rate effect.Meanwhile by showing prompt record and operation note simultaneously, allow user's root
It whether is optimal selection according to easily the evaluate oneself operation of selection of the interface of displaying.
It should be understood that the showing interface device provided in above-described embodiment is when showing interface, only with above-mentioned each function
Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions
Module is completed, i.e., the internal structure of calculation server is divided into different functional modules, with complete it is described above whole or
Person's partial function.In addition, showing interface device provided by the above embodiment and method for showing interface embodiment belong to same design,
Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store 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 merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.