Embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment, is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only this specification part of the embodiment, instead of all the embodiments.Based on the embodiment in this specification, sheet
Field those of ordinary skill all other embodiments obtained without making creative work, should all belong to this
The scope of specification protection.
At present, the country has many blind persons to speculate in shares, and blind person can not see the K line charts in stock application, in addition, for other one
A little twenty-twenty users, the user can not also see the K line charts in stock application in driving or bathing etc. under scene, due to
K line charts are one of important indicators that user makes a policy, and therefore, the K line charts during how stock is applied are communicated to this in time
Class can not see the user of K line charts, it has also become those skilled in the art's technical problem urgently to be resolved hurrily.In order to solve above-mentioned technology
Problem, this specification embodiment provide a kind of securities information broadcasting method and device.
A kind of securities information broadcasting method provided first below this specification embodiment is introduced.
It should be noted that the method that this specification embodiment provides is suitable for terminal device, in practical applications, the end
End equipment can include:Smart mobile phone, tablet computer, intelligent watch, laptop or desktop computer etc., this specification are real
Example is applied to be not construed as limiting this.
Fig. 1 is the flow chart of the securities information playback method of one embodiment of this specification, as shown in Figure 1, this method
It may comprise steps of:
In S102, the K line chart initial data of target security is obtained.
In this specification embodiment, target security can include:Stock, futures, fund or foreign exchange etc..
In this specification embodiment, K line charts initial data can include at least one of following:K line numbers evidence, average daily line number
According to.
In this specification embodiment, K line charts can include with Types Below:Year K line chart, moon K line chart, week K line charts, day K line
Figure and minute K line chart etc..In practical applications, it can be selected by user, obtain the initial data of what type of K line charts.
In order to make it easy to understand, first to involved in this specification embodiment to some concepts be introduced.
K line charts:K lines refer to the K line charts in security (including stock, futures, fund or foreign exchange) tendency, and K lines are also known as candle
Figure;One day K lines, represent a day of trade in quotation;The land of K lines represents that closing price is higher than opening quotation in the period
Valency, negative line represent that closing price is less than opening price, reflect highest, the lowest price in the period at the top of upper hachure with lower hachure bottom.
According to the different situations between opening price, closing price, highest price and lowest price, different forms can be presented in land and negative line.
Average daily line:5 average daily lines refer to the average value of 5 days security concluded prices or index, and corresponding is the 5 of concluded price
5 average daily lines of average daily line and index, are generally represented with white;10 average daily lines refer to the flat of 10 days security concluded prices or index
Average, 10 average daily lines of the corresponding 10 average daily lines and index for being concluded price, is generally represented with yellow;20 average daily lines refer to
The average value of 20 days stock concluded prices or index, 20 average daily lines of the corresponding 20 average daily lines and index for being concluded price, one
As represented with purple;30 average daily lines refer to the average value of 30 days stock concluded prices or index, and corresponding is concluded price
30 average daily lines of 30 average daily lines and index, are generally represented with green;60 average daily lines refer to 60 days stock concluded prices or index
Average value, 60 average daily lines of the corresponding 60 average daily lines and index for being concluded price, are generally represented with cyan.
In S104, according to K line chart initial data, generation is used for the target text for describing the market of target security.
In this specification embodiment, the market of target security can include:The overall estimation of the K line charts of target security is walked
Gesture, target security K line charts sentiment undertone grown form, sentiment undertone grown form presented geometric shape, target card
The ups and downs situation acutely located or detail information etc. are fluctuated in the K line charts of certificate.
In S106, generate voice for the target text and reported.
In this specification embodiment, voice broadcast K line charts are opened in application, can give tacit consent to when user opens security, also may be used
Triggered by user and open voice broadcast K line charts.
In this specification embodiment, by taking stock market as an example, for the important K line charts in stock market, a kind of K line charts can be provided and reported
Method, this method is suitable for stock application, blind person can be helped to be best understood from stock market, it is also possible to improve stock application
Competitiveness and public praise.In addition, the report for K line charts, can also be for twenty-twenty people in addition to being supplied to blind person's use
Group uses, and describes K line charts using voice broadcasting modes, can allow user under the scenes such as driving/bathing by way of listening
Some shares changing tendencies are solved, so as to provide more valuable information to the user.
As seen from the above-described embodiment, which can describe K line charts by way of language, to see K lines
The user (such as blind person, user for driving or having a bath) of figure can recognize the tendency of security by way of listening, and help
This kind of user group is best understood from securities market.
In another embodiment that this specification provides, the substantially tendencies of whole K line charts can be reported, so that user is from whole
There is one substantially to understand the tendency of target security on body, at this time, the embodiment can on the basis of embodiment illustrated in fig. 1,
K line chart initial data in this specification embodiment includes at least:K line number evidences;
At this time, as shown in Fig. 2, above-mentioned S104 may comprise steps of:
In S202, from K line chart initial data, the start time point for obtaining the K line charts is corresponding with time point is terminated
Pricing information.
In S204, according to the start time point of K line charts pricing information corresponding with time point is terminated, determine that target is demonstrate,proved
The overall estimation tendency of the K line charts of certificate.
It is overall to estimate that tendency include in this specification embodiment:It is overall to go up or totally drop.
, can be according to the corresponding price of start time point of K graph datas with terminating time point in this specification embodiment
The difference of corresponding price, it is qualitative to go up or drop to be overall.
In S206, generation is used for the target text for describing totality estimation tendency.
In this specification embodiment, the overall estimation tendency of the K line charts of target security can be recorded in target text, with
And start time point, the corresponding price of the start time point, the termination time point valency corresponding with the termination time point of K line charts
Lattice.
By day K of the stock of " Guizhou Maotai " exemplified by line chart, the start time point of this day K line chart was 2017/10/16 morning
9 points 30 minutes, the corresponding price of the start time point (i.e. opening price) is 559.99 yuan, and the termination time of this day K line chart is
In 2017/10/16 at 3 points in afternoon, which is 560.69 yuan, by calculating closing price
The difference of lattice and opening price, since closing price is higher than opening price, it is thus determined that the day K line chart of " Guizhou Maotai " stock
Overall tendency goes up to be overall.
As seen from the above-described embodiment, which can be according to the corresponding price of start time point of K graph datas and end
The only difference of time point corresponding price, determines the substantially tendency of the whole K line charts of target security and reports, so that user is from whole
There is one substantially to understand the tendency of target security on body.
In another embodiment that this specification provides, the sentiment undertone grown form of K line charts, the embodiment can be reported
Can be on the basis of embodiment illustrated in fig. 1, the K line chart initial data in this specification embodiment includes at least:Average daily line number
According to;
At this time, as shown in figure 3, above-mentioned S104 may comprise steps of:
In S302, from K line chart initial data, the data of the average daily line of specified type are obtained.
In this specification embodiment, the average daily line of specified type can include:60 average daily lines, 30 average daily lines, 20 average daily lines, 10
Average daily line or 5 average daily lines etc..Preferably, the average daily line of specified type is 10 average daily lines.
In S304, according to the data of the average daily line of the specified type, the slope turnover width of the average daily line of the specified type is determined
Degree and turnover number.
In S306, transferred amplitude and turnover number according to the slope of the average daily line of the specified type, determine the K of target security
The sentiment undertone grown form of line chart.
In this specification embodiment, sentiment undertone grown form can include:Go up steadily, drop, concussion go up steadily
Or concussion drop.
In S308, generation is used for the target text for describing the sentiment undertone grown form.
By taking 10 average daily lines as an example, according to 10 average daily line slope of a curves turnover amplitudes and number, it is current K line charts are qualitative
The sentiment undertone grown form of the several types such as rise/steady drop/concussion rise/concussion drop steadily, is reported out again afterwards
Come.
As seen from the above-described embodiment, it is contemplated that slope of a curve turnover amplitude and number can reflect this to a certain extent
The fluctuation situation of curve, the embodiment can be according to the slope turnover amplitudes of the average daily line of specified type in the K line charts of target security
And turnover number, determine the sentiment undertone grown form of the K line charts of the target security and report, so that user is to target security
The details of tendency has more further understanding.
In another embodiment that this specification provides, if identified target security in the S306 of embodiment illustrated in fig. 3
The sentiment undertone grown forms of K line charts be grown form common in securities market, also identify and report out, at this time, should
Embodiment can be on the basis of embodiment illustrated in fig. 3, and the K line chart initial data in this specification embodiment further includes:K line numbers
According to;
At this time, after above-mentioned S306, can also comprise the following steps:
According to K line number evidences, judge whether the sentiment undertone grown form is presented geometry in particular.
In this specification embodiment, geometry in particular can include:Head and shoulder type, dual top, dual bottom or circular arc type;Its
In, head and shoulder type can include:Head and Shoulders Top and Head and Shoulders Bottom, circular arc type can include:Dome and circular arc bottom.
At this time, may comprise steps of in above-mentioned S308:
When geometry in particular is presented in the grown form, generation is used to describe the grown form and the grown form is in
The target text of existing particular geometric form.
As seen from the above-described embodiment, it is contemplated that slope of a curve turnover amplitude and number can reflect this to a certain extent
The fluctuation situation of curve, the embodiment can be according to the slope turnover amplitudes of the average daily line of specified type in the K line charts of target security
And turnover number, determine the sentiment undertone grown form of the K line charts of the target security and report, if the sentiment undertone grown form
For grown form common in securities market, then the geometric shape sentiment undertone grown form being presented also is reported out,
So that user has the details of the tendency of target security more further understanding.
In another embodiment that this specification provides, some details in K line charts can be reported, which can be
On the basis of embodiment illustrated in fig. 1, the K line chart initial data in this specification embodiment includes:K line numbers evidence and average daily line number
According to;
At this time, as shown in figure 4, above-mentioned S104 may comprise steps of:
In S402, from K line chart initial data, the data of the average daily line of specified type are obtained.
In this specification embodiment, the average daily line of specified type can include:60 average daily lines, 30 average daily lines, 20 average daily lines, 10
Average daily line or 5 average daily lines etc..Preferably, the average daily line of specified type is 10 average daily lines.
In S404, according to the data of the average daily line of the specified type, the average daily curvature of a curve of the specified type is determined.
In S406, determine that value comes the tendency of K line charts in preset duration corresponding to the curvature of top N at position.
It is understood that curvature is bigger, the fluctuation of illustrative graph is more violent, in this specification embodiment, is determining
After the average daily curvature of a curve of specified type, it can determine to fluctuate K lines at violent position in K line charts according to K line number evidences in K line charts
The ups and downs situation of figure.
In S408, generation is used for the target text for describing the tendency of K line charts in the preset duration.
, can be according to the curvature of curve of 10 average daily lines by taking 10 average daily lines as an example, selecting the highest several places of curvature, (curve is most
Suddenly, shake most severe) ups and downs situation on attached line charts of K within the next few days, report out again afterwards.
As seen from the above-described embodiment, it is contemplated that bent curvature of a curve can reflect the fluctuation feelings of the curve to a certain extent
Condition, the embodiment according to the average daily curvature of a curve of specified type in the K line charts of target security, can determine the K lines of the target security
The tendency of K line charts and report at violent position are fluctuated in figure, so as to user have to the tendency of target security it is more further
Solution.
In another embodiment that this specification provides, it can be carried out in detail to fluctuating the K lines at violent position in K line charts
Report, at this time, which can be on the basis of embodiment illustrated in fig. 1, the K line chart initial data in this specification embodiment
Including:K line numbers evidence and average daily line number evidence;
At this time, as shown in figure 5, above-mentioned S104 may comprise steps of:
In S502, from K line chart initial data, the data of the average daily line of specified type are obtained.
In this specification embodiment, the average daily line of specified type can include:60 average daily lines, 30 average daily lines, 20 average daily lines, 10
Average daily line or 5 average daily lines etc..Preferably, the average daily line of specified type is 10 average daily lines.
In S504, according to the data of the average daily line of the specified type, the average daily curvature of a curve of the specified type is determined.
In S506, the data of K lines in the preset duration before value comes corresponding to the curvature of M at position are obtained.
In this specification embodiment, the data of K lines can include in preset duration:Every K line is corresponding in preset duration
Ceiling price, lowest price, opening price and closing price etc..
In S508, generation is used for the target text for describing the data of K lines in the preset duration.
By taking 10 equal lines as an example, it can be selected several near the highest several places of degree of fluctuation according to the curvature of curve of 10 average daily lines
The pricing information of it K lines, including same day highest lowest price, same day opening price and closing price, report out again afterwards.
As seen from the above-described embodiment, it is contemplated that bent curvature of a curve can reflect the fluctuation feelings of the curve to a certain extent
Condition, the embodiment according to the average daily curvature of a curve of specified type in the K line charts of target security, can determine the K lines of the target security
The pricing information of each K lines and report at violent position are fluctuated in figure, so that user has more the details of the tendency of target security
It is further to understand.
To sum up Fig. 1~embodiment illustrated in fig. 5, this specification embodiment can be broadcast by defining the K line charts of a set of standardization
Report mode, progressively reports K line charts to details from overall so that user knows K line charts in time as seeing K line charts
Concrete condition.
Fig. 6 is the structure diagram of the electronic equipment of one embodiment of this specification.Fig. 6 is refer to, in hardware view,
The electronic equipment includes processor, alternatively further includes internal bus, network interface, memory.Wherein, memory may include
Memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile deposit
Reservoir (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that it
The required hardware of his business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of representing, only represented in Fig. 6 with a four-headed arrow, it is not intended that an only bus or a type of
Bus.
Memory, for storing program.Specifically, program can include program code, and said program code includes calculating
Machine operational order.Memory can include memory and nonvolatile memory, and provide instruction and data to processor.
Processor reads corresponding computer program into memory and then runs from nonvolatile memory, in logical layer
Securities information broadcast device is formed on face.Processor, performs the program that memory is stored, and specifically for performing following behaviour
Make:
Obtain the K line chart initial data of target security;
According to the K line charts initial data, generation is used for the target text for describing the market of the target security;
Voice is generated for the target text and is reported.
The method that securities information broadcast device disclosed in the above-mentioned embodiment illustrated in fig. 6 such as this specification performs can be applied to
In processor, or realized by processor.Processor is probably a kind of IC chip, has the disposal ability of signal.
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor or software form
Instruction is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, divide
Vertical door or transistor logic, discrete hardware components.It can realize or perform and is in this specification embodiment disclosed
Each method, step and logic diagram.General processor can be microprocessor or the processor can also be any conventional
Processor etc..The step of method with reference to disclosed in this specification embodiment, can be embodied directly in hardware decoding processor execution
Complete, or completion is performed with the hardware in decoding processor and software module combination.Software module can be located at random storage
Device, flash memory, read-only storage, this area such as programmable read only memory or electrically erasable programmable memory, register into
In ripe storage medium.The storage medium is located at memory, and processor reads the information in memory, is completed with reference to its hardware
The step of stating method.
The electronic equipment can also carry out the method for Fig. 1, and realize work(of the securities information broadcast device in embodiment illustrated in fig. 1
Can, details are not described herein for this specification embodiment.
This specification embodiment additionally provides a kind of computer-readable recording medium, the computer-readable recording medium storage
One or more programs, the one or more program include instruction, and the instruction is when the portable electric for being included multiple application programs
When sub- equipment performs, the method for portable electric appts execution embodiment illustrated in fig. 1 can be made, and it is following specifically for performing
Method:
Obtain the K line chart initial data of target security;
According to the K line charts initial data, generation is used for the target text for describing the market of the target security;
Voice is generated for the target text and is reported.
Fig. 7 is the structure diagram of the securities information broadcast device of one embodiment of this specification, refer to Fig. 7,
In a kind of Software Implementation, securities information broadcast device 700 may include:Acquiring unit 701, generation unit 702 and report are single
Member 703, wherein,
Acquiring unit 701, for obtaining the K line chart initial data of target security;
Generation unit 702, for the K line chart initial data got according to the acquiring unit 701, generation is used to describe
The target text of the market of the target security;
Unit 703 is reported, for the target text generation voice generated for the generation unit 702 and is reported.
As seen from the above-described embodiment, which can describe K line charts by way of language, to see K lines
The user (such as blind person, user for driving or having a bath) of figure can recognize the tendency of security by way of listening, and help
This kind of user group is best understood from securities market.
In another embodiment that this specification provides, which can be described on the basis of embodiment illustrated in fig. 1
K line charts initial data can include at least one of following:K line numbers evidence, average daily line number evidence.
In another embodiment that this specification provides, which can be described on the basis of embodiment illustrated in fig. 1
K line chart initial data includes at least:K line number evidences;
The generation unit 702, is specifically used for:
From the K line charts initial data, the start time point price corresponding with time point is terminated of the K line charts is obtained
Information;
According to the start time point of K line charts pricing information corresponding with time point is terminated, the target security are determined
K line charts overall estimation tendency;
Generation is used for the target text for describing the overall estimation tendency.
In another embodiment that this specification provides, which can be described total on the basis of a upper embodiment
Body estimation tendency includes:It is overall to go up or totally drop.
In another embodiment that this specification provides, which can be described on the basis of embodiment illustrated in fig. 1
K line chart initial data includes at least:Average daily line number evidence;
The generation unit 702, is specifically used for:
From the K line charts initial data, the data of the average daily line of specified type are obtained;
According to the data of the average daily line of the specified type, determine the slope turnover amplitude of the average daily line of the specified type and turn
Roll over number;
Transferred amplitude and turnover number according to the slope of the average daily line of the specified type, determine the K lines of the target security
The sentiment undertone grown form of figure;
Generation is used for the target text for describing the sentiment undertone grown form.
In another embodiment that this specification provides, which can be on the basis of a upper embodiment, the row
Feelings tendency grown form includes:Go up steadily, drop steadily, concussion goes up or concussion drop.
In another embodiment that this specification provides, which can be described on the basis of embodiment illustrated in fig. 1
K line chart initial data further includes:K line number evidences;
The securities information broadcast device 700 can also include:
Judging unit, for according to the K line numbers evidence, judging whether the sentiment undertone grown form is presented particular geometric
Shape;
The generation unit 702, is specifically used for:
In the case where the judging result of the judging unit is to be, generation is used to describe the grown form and the base
The target text for the particular geometric form that this form is presented.
In another embodiment that this specification provides, which can be on the basis of a upper embodiment, the spy
Determining geometry includes:Head and shoulder type, dual top, dual bottom or circular arc type.
In another embodiment that this specification provides, which can be described on the basis of embodiment illustrated in fig. 1
K line chart initial data includes:K line numbers evidence and average daily line number evidence;
The generation unit 702, is specifically used for:
From the K line charts initial data, the data of the average daily line of specified type are obtained;
According to the data of the average daily line of the specified type, the average daily curvature of a curve of the specified type is determined;
Determine that value comes the tendency of K line charts in preset duration corresponding to the curvature of top N at position;
Generation is used for the target text for describing the tendency of K line charts in the preset duration.
In another embodiment that this specification provides, which can be described on the basis of embodiment illustrated in fig. 1
K line chart initial data includes:K line numbers evidence and average daily line number evidence;
The generation unit 702, is specifically used for:
From the K line charts initial data, the data of the average daily line of specified type are obtained;
According to the data of the average daily line of the specified type, the average daily curvature of a curve of the specified type is determined;
Obtain the data of K lines in the preset duration before value comes corresponding to the curvature of M at position;
Generation is used for the target text for describing the data of K lines in the preset duration.
In another embodiment that this specification provides, which can be on the basis of any of the above-described device embodiment
On, the target security can include:Stock, futures, fund or foreign exchange.
In short, the foregoing is merely the preferred embodiment of this specification, the protection of this specification is not intended to limit
Scope.For all spirit in this specification with principle, any modification, equivalent replacement, improvement and so on, should be included in this
Within the protection domain of specification.
System, device, module or the unit that above-described embodiment illustrates, can specifically be realized by computer chip or entity,
Or realized by having the function of certain product.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment it is intrinsic will
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there are other identical element in the process of element, method, commodity or equipment.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.