CN111340911A - Method and device for determining connecting line in k-line graph and storage medium - Google Patents

Method and device for determining connecting line in k-line graph and storage medium Download PDF

Info

Publication number
CN111340911A
CN111340911A CN202010129760.8A CN202010129760A CN111340911A CN 111340911 A CN111340911 A CN 111340911A CN 202010129760 A CN202010129760 A CN 202010129760A CN 111340911 A CN111340911 A CN 111340911A
Authority
CN
China
Prior art keywords
line
point
range
determining
units
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010129760.8A
Other languages
Chinese (zh)
Inventor
孙荣彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yingjia Jicai Technology Co ltd
Original Assignee
Beijing Yingjia Jicai Technology 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 Beijing Yingjia Jicai Technology Co ltd filed Critical Beijing Yingjia Jicai Technology Co ltd
Priority to CN202010129760.8A priority Critical patent/CN111340911A/en
Publication of CN111340911A publication Critical patent/CN111340911A/en
Pending legal-status Critical Current

Links

Images

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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The application discloses a method and a device for determining connecting lines in a k-line graph and a storage medium. Wherein, the method comprises the following steps: in response to a clicking operation of a user in a k-line graph, determining a first point and a second point clicked by the user, wherein the k-line graph is composed of a plurality of k-line units; determining a first range on the k-line map associated with the first point based on the first point and a second range on the k-line map associated with the second point based on the second point; determining minimum value points in the first range according to the numerical values indicated by the k-line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k-line units in the second range; and displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph.

Description

Method and device for determining connecting line in k-line graph and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for determining a link in a k-line graph, and a storage medium.
Background
One effective method of studying stock trends is by drawing lines on a k-line plot. The existing line drawing method is to manually draw a line drawing shape on a chart by selecting a line drawing tool. The line drawing method only can support manual dragging for line drawing, is low in efficiency, and is low in accuracy rate due to the fact that coordinate points of specified prices and dates are manually searched.
Aiming at the technical problems that the method for selecting the line drawing tool to draw the line on the k-line graph in the prior art only supports manual dragging for line drawing, the efficiency is low, the coordinate point of the specified price and date is manually searched, and the accuracy is low, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for determining a connecting line in a k-line graph and a storage medium, so as to solve at least the technical problems that the method for selecting a line drawing tool to draw a line on the k-line graph in the prior art only supports manual dragging to draw the line, the efficiency is low, and the accuracy is low when coordinate points of specified price and date are manually searched.
According to an aspect of the embodiments of the present disclosure, there is provided a method for determining a connecting line in a k-line diagram, including: responding to the clicking operation of a user in a k-line graph, and determining a first point and a second point clicked by the user, wherein the k-line graph is composed of a plurality of k-line units; determining a first range on the k-line map associated with a first point based on the first point and a second range on the k-line map associated with a second point based on the second point; determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range; and displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph.
According to another aspect of the embodiments of the present disclosure, there is also provided a storage medium including a stored program, wherein the method of any one of the above is performed by a processor when the program is executed.
There is further provided, according to another aspect of the embodiments of the present disclosure, an apparatus for determining a connecting line in a k-line diagram, including: the device comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for determining a first point and a second point clicked by a user in response to the clicking operation of the user in a k-line graph, and the k-line graph is composed of a plurality of k-line units; a second determining module for determining a first range on the k-line map associated with a first point according to the first point and a second range on the k-line map associated with a second point according to the second point; the third determining module is used for determining a minimum value point in the first range according to the numerical value indicated by the k line unit in the first range, and determining a maximum value point in the second range according to the numerical value indicated by the k line unit in the second range; and the display module is used for displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph.
There is further provided, according to another aspect of the embodiments of the present disclosure, an apparatus for determining a connecting line in a k-line diagram, including: a processor; and a memory coupled to the processor for providing instructions to the processor for processing the following processing steps: responding to the clicking operation of a user in a k-line graph, and determining a first point and a second point clicked by the user, wherein the k-line graph is composed of a plurality of k-line units; determining a first range on the k-line map associated with a first point based on the first point and a second range on the k-line map associated with a second point based on the second point; determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range; and displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph.
In the embodiment of the disclosure, in response to a click operation of a user in a k-line graph, a first point and a second point clicked by the user are determined. From the first point, a first range associated with the first point is determined on the k-line map, and from the second point, a second range associated with the second point is determined on the k-line map. And determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range. And finally, displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph. Therefore, the technical scheme of the embodiment can automatically capture the maximum value point and the minimum value point according to the clicking operation of the user on the k-line graph and connect the points, so that the capturing efficiency of the maximum value point is improved, and the capturing accuracy is also improved. The method further solves the technical problems that the method for selecting the line drawing tool to draw the line on the k-line graph in the prior art only supports manual dragging to draw the line, the efficiency is low, the coordinate point of the specified price and date is manually searched, and the accuracy is low.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computer terminal for implementing the method according to embodiment 1 of the present disclosure;
fig. 2 is a flowchart illustrating a method for determining a connecting line in a k-line diagram according to a first aspect of embodiment 1 of the present disclosure;
fig. 3 is a schematic diagram of determining a connecting line in a k-line diagram according to the first aspect of embodiment 1 of the present disclosure;
fig. 4 is a schematic diagram of an apparatus for determining a connecting line in a k-line diagram according to embodiment 2 of the present disclosure; and
fig. 5 is a schematic diagram of an apparatus for determining a connecting line in a k-line diagram according to embodiment 3 of the present disclosure; .
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. It is to be understood that the described embodiments are merely exemplary of some, and not all, of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to the present embodiment, there is provided an embodiment of a method of determining a line in a k-line graph, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system, such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method embodiments provided by the present embodiment may be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Fig. 1 illustrates a hardware block diagram of a computing device for implementing a method of determining a line in a k-line graph. As shown in fig. 1, the computing device may include one or more processors (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory for storing data, and a transmission device for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computing device may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuitry may be a single, stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computing device. As referred to in the disclosed embodiments, the data processing circuit acts as a processor control (e.g., selection of a variable resistance termination path connected to the interface).
The memory may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the method for determining the connecting lines in the k-line diagram in the embodiment of the present disclosure, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the method for determining the connecting lines in the k-line diagram of the application program. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory located remotely from the processor, which may be connected to the computing device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of such networks may include wireless networks provided by communication providers of the computing devices. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computing device.
It should be noted here that in some alternative embodiments, the computing device shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that FIG. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in a computing device as described above.
In the operating environment described above, according to the first aspect of the present embodiment, a method of determining a connecting line in a k-line map is provided. Fig. 2 shows a flow diagram of the method, which, with reference to fig. 2, comprises:
s202: responding to the clicking operation of a user in a k-line graph, and determining a first point and a second point clicked by the user, wherein the k-line graph is composed of a plurality of k-line units;
s204: determining a first range on the k-line map associated with a first point based on the first point and a second range on the k-line map associated with a second point based on the second point;
s206: determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range; and
s208: the minima points and the connecting lines between the maxima points are shown on the k-line plot.
Specifically, referring to fig. 3, when the user clicks the k-line graph, the terminal device of the user determines a first point and a second point, for example, a point a and a point B, clicked by the user in response to the clicking operation of the user. Wherein the k-line map is composed of a plurality of k-line units (corresponding to step S202).
Further, from the first point (e.g., point a), a first range associated with the first point (e.g., point a) is determined on the k-line graph, and from the second point (e.g., point B), a second range associated with the second point (e.g., point B) is determined on the k-line graph (corresponding to step S204).
Further, a minimum value point (for example, a1 point) in the first range is determined from the numerical values indicated by the k-line cells in the first range (for example, the lowest prices of the k-line cells), and a maximum value point (for example, B1 point) in the second range is determined from the numerical values indicated by the k-line cells in the second range (for example, the highest prices of the k-line cells) (corresponding to step S206). Of course, the value indicated by the k-line unit may be the opening price and the closing price. Finally, a connection line AB between the minimum value point (e.g., a1 point) and the maximum value point (e.g., B1) is displayed on the k-line graph (corresponding to step S208).
In this way, the first point and the second point clicked by the user are determined in response to the click operation of the user in the k-line graph. From the first point, a first range associated with the first point is determined on the k-line map, and from the second point, a second range associated with the second point is determined on the k-line map. And determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range. And finally, displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph. Therefore, the technical scheme of the embodiment can automatically capture the maximum value point and the minimum value point according to the clicking operation of the user on the k-line graph and connect the points, so that the capturing efficiency of the maximum value point is improved, and the capturing accuracy is also improved. The method further solves the technical problems that the method for selecting the line drawing tool to draw the line on the k-line graph in the prior art only supports manual dragging to draw the line, the efficiency is low, the coordinate point of the specified price and date is manually searched, and the accuracy is low.
Optionally, the operation of determining a first range on the k-line map associated with a first point from the first point comprises: determining a k-line unit corresponding to the first point as a first reference k-line unit; and determining a first range from the first baseline k-line unit, wherein the first range includes a predetermined number of k-line units before and after the first baseline k-line unit.
Specifically, a k-line unit corresponding to a first point (e.g., point a) is determined, the k-line unit corresponding to the first point (e.g., point a) is taken as a first reference k-line unit, and a first range is determined from the first reference k-line unit, wherein the first range includes a predetermined number of k-line units before and after the first reference k-line unit. For example, referring to fig. 3, if the k-line unit corresponding to the point a is used as the first reference line k-line unit, the first range includes 3 k-line units before and after the k-line unit corresponding to the point a. Of course, the predetermined number may be other numbers of k-line cells.
Thus, a first reference k-line element is determined in this manner, and a first range is determined from the first reference k-line element, so that a minimum value point a1 in the first range is subsequently determined from the values indicated by the first k-line element within the first range.
Optionally, the operation of determining a second range on the k-line map associated with a second point from the second point comprises: determining a k-line unit corresponding to the second point as a second reference k-line unit; and determining a second range from the second baseline k-line unit, wherein the second range includes a predetermined number of k-line units before and after the second baseline k-line unit.
Specifically, a k-line unit corresponding to a second point (e.g., point B) is determined, the k-line unit corresponding to the second point (e.g., point B) is taken as a second reference k-line unit, and a second range is determined based on the second reference k-line unit, wherein the second range includes a predetermined number of k-line units before and after the second reference k-line unit. For example, referring to fig. 3, if the k-line unit corresponding to the point B is used as the second reference line k-line unit, the second range includes 3 k-line units before and after the k-line unit corresponding to the point B. Of course, the predetermined number may be other numbers of k-line cells.
Thus, the second reference k-line unit is determined in this manner, and the second range is determined from the second reference k-line unit, so that the maximum value point B1 in the second range is subsequently determined from the numerical value indicated by the second k-line unit in the second range.
Optionally, the method further comprises: maximum value points in the first range are determined according to the numerical values indicated by the k-line units in the first range, and minimum value points in the second range are determined according to the numerical values indicated by the k-line units in the second range.
In particular, it is also possible to determine the maximum point from the first range and the minimum point from the second range. The maximum value point (e.g., point a 2) in the first range is determined from the values indicated by the k-line cells in the first range (e.g., the highest prices of the k-line cells), and the minimum value point (e.g., point B2) in the second range is determined from the values indicated by the k-line cells in the second range (e.g., the lowest prices of the k-line cells).
Further, referring to fig. 1, according to a second aspect of the present embodiment, a storage medium 104 is provided. The storage medium 104 comprises a stored program, wherein the method of any of the above is performed by a processor when the program is run.
Further, referring to fig. 3, after two points are selected in the k-line graph, the relative low point and high point within a certain range where the two points are located are calculated, and the two points are automatically moved to the positions of the relative low point and high point.
Thus, according to the present embodiment, in response to a click operation of the user in the k-line map, the first point and the second point clicked by the user are determined. From the first point, a first range associated with the first point is determined on the k-line map, and from the second point, a second range associated with the second point is determined on the k-line map. And determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range. And finally, displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph. Therefore, the technical scheme of the embodiment can automatically capture the maximum value point and the minimum value point according to the clicking operation of the user on the k-line graph and connect the points, so that the capturing efficiency of the maximum value point is improved, and the capturing accuracy is also improved. The method further solves the technical problems that the method for selecting the line drawing tool to draw the line on the k-line graph in the prior art only supports manual dragging to draw the line, the efficiency is low, the coordinate point of the specified price and date is manually searched, and the accuracy is low.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
Fig. 4 shows an apparatus 400 for determining a line in a k-line graph according to the present embodiment, which apparatus 400 corresponds to the method according to the first aspect of embodiment 1. Referring to fig. 4, the apparatus 400 includes: a first determining module 410, configured to determine, in response to a click operation of a user in a k-line graph, a first point and a second point clicked by the user, where the k-line graph is composed of a plurality of k-line units; a second determining module 420 for determining a first range on the k-line map associated with the first point based on the first point and a second range on the k-line map associated with the second point based on the second point; a third determining module 430, configured to determine a minimum value point in the first range according to the value indicated by the k-line unit in the first range, and determine a maximum value point in the second range according to the value indicated by the k-line unit in the second range; and a display module 440, configured to display the minimum point and the connection line between the maximum points on the k-line graph.
Optionally, the second determining module 420 includes: the first determining submodule is used for determining a k line unit corresponding to the first point as a first reference k line unit; and a second determining submodule for determining a first range from the first reference k-line unit, wherein the first range includes a predetermined number of k-line units before and after the first reference k-line unit.
Optionally, the second determining module 420 further includes: a third determining submodule for determining a k-line unit corresponding to the second point as a second reference k-line unit; and a fourth determination submodule for determining a second range from the second reference k-line unit, wherein the second range includes a predetermined number of k-line units before and after the second reference k-line unit.
Optionally, the apparatus 400 further comprises: and the fourth determining module is used for determining the maximum value point in the first range according to the numerical value indicated by the k line unit in the first range and determining the minimum value point in the second range according to the numerical value indicated by the k line unit in the second range.
Thus, according to the present embodiment, by the apparatus 400 for determining a link in a k-line map, in response to a user's click operation in the k-line map, a first point and a second point clicked by the user are determined. From the first point, a first range associated with the first point is determined on the k-line map, and from the second point, a second range associated with the second point is determined on the k-line map. And determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range. And finally, displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph. Therefore, the technical scheme of the embodiment can automatically capture the maximum value point and the minimum value point according to the clicking operation of the user on the k-line graph and connect the points, so that the capturing efficiency of the maximum value point is improved, and the capturing accuracy is also improved. The method further solves the technical problems that the method for selecting the line drawing tool to draw the line on the k-line graph in the prior art only supports manual dragging to draw the line, the efficiency is low, the coordinate point of the specified price and date is manually searched, and the accuracy is low.
Example 3
Fig. 5 shows an apparatus 500 for determining a connecting line in a k-line graph according to the present embodiment, the apparatus 500 corresponding to the method according to the first aspect of embodiment 1. Referring to fig. 5, the apparatus 500 includes: a processor 510; and a memory 520 coupled to processor 510 for providing processor 510 with instructions to process the following process steps: responding to the clicking operation of a user in a k-line graph, and determining a first point and a second point clicked by the user, wherein the k-line graph is composed of a plurality of k-line units; determining a first range on the k-line map associated with a first point based on the first point and a second range on the k-line map associated with a second point based on the second point; determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range; and displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph.
Optionally, the operation of determining a first range on the k-line map associated with a first point from the first point comprises: determining a k-line unit corresponding to the first point as a first reference k-line unit; and determining a first range from the first baseline k-line unit, wherein the first range includes a predetermined number of k-line units before and after the first baseline k-line unit.
Optionally, the operation of determining a second range associated with a second point on the k-line map according to the second point further comprises: determining a k-line unit corresponding to the second point as a second reference k-line unit; and determining a second range from the second baseline k-line unit, wherein the second range includes a predetermined number of k-line units before and after the second baseline k-line unit.
Optionally, the memory 520 is further configured to provide the processor 510 with instructions to process the following process steps: maximum value points in the first range are determined according to the numerical values indicated by the k-line units in the first range, and minimum value points in the second range are determined according to the numerical values indicated by the k-line units in the second range.
Thus, according to the present embodiment, by the apparatus 500 for determining a link in a k-line map, in response to a user's click operation in the k-line map, a first point and a second point clicked by the user are determined. From the first point, a first range associated with the first point is determined on the k-line map, and from the second point, a second range associated with the second point is determined on the k-line map. And determining minimum value points in the first range according to the numerical values indicated by the k line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k line units in the second range. And finally, displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph. Therefore, the technical scheme of the embodiment can automatically capture the maximum value point and the minimum value point according to the clicking operation of the user on the k-line graph and connect the points, so that the capturing efficiency of the maximum value point is improved, and the capturing accuracy is also improved. The method further solves the technical problems that the method for selecting the line drawing tool to draw the line on the k-line graph in the prior art only supports manual dragging to draw the line, the efficiency is low, the coordinate point of the specified price and date is manually searched, and the accuracy is low.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, which can store program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of determining links in a k-line map, comprising:
in response to a clicking operation of a user in a k-line graph, determining a first point and a second point clicked by the user, wherein the k-line graph is composed of a plurality of k-line units;
determining a first range on the k-line map associated with the first point based on the first point and a second range on the k-line map associated with the second point based on the second point;
determining minimum value points in the first range according to the numerical values indicated by the k-line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k-line units in the second range; and
and displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph.
2. The method of claim 1, wherein determining, from the first point, a first range on the k-line map associated with the first point comprises:
determining a k-line unit corresponding to the first point as a first reference k-line unit; and
determining the first range from the first baseline k-line unit, wherein the first range includes a predetermined number of k-line units before and after the first baseline k-line unit.
3. The method of claim 1, wherein the operation of determining a second range on the k-line map associated with the second point from the second point further comprises:
determining a k-line unit corresponding to the second point as a second reference k-line unit; and
determining the second range from the second baseline k-line units, wherein the second range includes a predetermined number of k-line units before and after the second baseline k-line unit.
4. The method of claim 1, further comprising:
and determining maximum value points in the first range according to the numerical values indicated by the k-line units in the first range, and determining minimum value points in the second range according to the numerical values indicated by the k-line units in the second range.
5. A storage medium comprising a stored program, wherein the method of any one of claims 1 to 4 is performed by a processor when the program is run.
6. An apparatus for determining a line in a k-line map, comprising:
the device comprises a first determining module, a second determining module and a display module, wherein the first determining module is used for determining a first point and a second point clicked by a user in response to a click operation of the user in a k-line graph, and the k-line graph is composed of a plurality of k-line units;
a second determining module for determining a first range on the k-line map associated with the first point based on the first point and a second range on the k-line map associated with the second point based on the second point;
a third determining module, configured to determine a minimum value point in the first range according to a numerical value indicated by a k-line unit in the first range, and determine a maximum value point in the second range according to a numerical value indicated by a k-line unit in the second range; and
and the display module is used for displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph.
7. The apparatus of claim 6, wherein the second determining module comprises:
a first determining submodule, configured to determine a k-line unit corresponding to the first point as a first reference k-line unit; and
a second determining submodule for determining the first range from the first reference k-line unit, wherein the first range includes a predetermined number of k-line units before and after the first reference k-line unit.
8. The apparatus of claim 6, wherein the second determining module further comprises:
a third determining submodule for determining a k-line unit corresponding to the second point as a second reference k-line unit; and
a fourth determining submodule, configured to determine the second range according to the second reference k-line unit, where the second range includes a predetermined number of k-line units before and after the second reference k-line unit.
9. The apparatus of claim 6, further comprising:
and the fourth determining module is used for determining the maximum value point in the first range according to the numerical value indicated by the k line unit in the first range and determining the minimum value point in the second range according to the numerical value indicated by the k line unit in the second range.
10. An apparatus for determining a line in a k-line map, comprising:
a processor; and
a memory coupled to the processor for providing instructions to the processor for processing the following processing steps:
in response to a clicking operation of a user in a k-line graph, determining a first point and a second point clicked by the user, wherein the k-line graph is composed of a plurality of k-line units;
determining a first range on the k-line map associated with the first point based on the first point and a second range on the k-line map associated with the second point based on the second point;
determining minimum value points in the first range according to the numerical values indicated by the k-line units in the first range, and determining maximum value points in the second range according to the numerical values indicated by the k-line units in the second range; and
and displaying the minimum value points and the connecting lines between the maximum value points on the k-line graph.
CN202010129760.8A 2020-02-28 2020-02-28 Method and device for determining connecting line in k-line graph and storage medium Pending CN111340911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010129760.8A CN111340911A (en) 2020-02-28 2020-02-28 Method and device for determining connecting line in k-line graph and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010129760.8A CN111340911A (en) 2020-02-28 2020-02-28 Method and device for determining connecting line in k-line graph and storage medium

Publications (1)

Publication Number Publication Date
CN111340911A true CN111340911A (en) 2020-06-26

Family

ID=71185797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010129760.8A Pending CN111340911A (en) 2020-02-28 2020-02-28 Method and device for determining connecting line in k-line graph and storage medium

Country Status (1)

Country Link
CN (1) CN111340911A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860961A (en) * 2021-01-29 2021-05-28 支付宝(杭州)信息技术有限公司 Visual data processing method and device and electronic equipment
CN114935997A (en) * 2022-04-24 2022-08-23 阿里巴巴(中国)有限公司 Chart interaction method and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860961A (en) * 2021-01-29 2021-05-28 支付宝(杭州)信息技术有限公司 Visual data processing method and device and electronic equipment
CN114935997A (en) * 2022-04-24 2022-08-23 阿里巴巴(中国)有限公司 Chart interaction method and electronic equipment
CN114935997B (en) * 2022-04-24 2023-11-07 阿里巴巴(中国)有限公司 Chart interaction method and electronic equipment

Similar Documents

Publication Publication Date Title
CN110704045A (en) Method and device for constructing decision flow and storage medium
CN111340911A (en) Method and device for determining connecting line in k-line graph and storage medium
CN114398672A (en) Authority-based flow creation method and device and storage medium
CN112784155A (en) Method, device and storage medium for matching service side
CN110175240B (en) Method and device for constructing knowledge graph related to virtual robot outbound flow
CN113315571A (en) Monitoring method and device of silicon optical module
CN111026995A (en) Method and device for information association between applications and storage medium
CN110597717A (en) Code testing method, device and storage medium
CN112601106B (en) Video image processing method and device and storage medium
CN110677824A (en) Short message sending method, device and storage medium
CN115438083A (en) Target data segmentation method and device and storage medium
CN110597574A (en) Account matching method and device and storage medium
CN106446110B (en) Method and device for realizing connection security of terminal moving
CN110728138A (en) News text recognition method and device and storage medium
CN110888573A (en) Method and device for identifying control and storage medium
CN110647543A (en) Data aggregation method, device and storage medium
CN110609781A (en) Interface test method, device and storage medium
CN112863475B (en) Speech synthesis method, apparatus and medium
CN110955361A (en) Method, apparatus and storage medium for displaying characters
CN106484506B (en) File storage path selection method and device in terminal moving
CN112560555A (en) Method, device and storage medium for expanding key points
CN111061878A (en) Page clustering method, device, medium and equipment
CN110807696A (en) Method and device for matching funds with assets and storage medium
CN111190669A (en) Display method and device of search control and storage medium
CN111008052A (en) Method, device and storage medium for providing interface image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination