CN116860146B - K line graph display method and device, electronic equipment and storage medium - Google Patents
K line graph display method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116860146B CN116860146B CN202311133091.1A CN202311133091A CN116860146B CN 116860146 B CN116860146 B CN 116860146B CN 202311133091 A CN202311133091 A CN 202311133091A CN 116860146 B CN116860146 B CN 116860146B
- Authority
- CN
- China
- Prior art keywords
- rotation angle
- rotation
- display screen
- display
- preset
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000010586 diagram Methods 0.000 claims description 65
- 230000008859 change Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 3
- 230000009471 action Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/04845—Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a display method and device of a K line graph, electronic equipment and a storage medium. The method comprises the following steps: if the current moment detects that the terminal equipment is changed from the horizontal state to the inclined state, acquiring a first rotation angle and a first rotation direction of the terminal equipment through an angular velocity sensor; obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction; if the second rotation angle is larger than the preset minimum rotation angle and smaller than the preset maximum rotation angle, obtaining a first sliding speed corresponding to the second rotation angle based on the second rotation angle and a display mode of the current display screen, wherein the display mode is a horizontal screen display mode or a vertical screen display mode; and displaying the K line graph on the display screen in a sliding manner according to the first sliding speed and the second rotating direction.
Description
Technical Field
The application relates to the technical field of image display, in particular to a K line graph display method and device, electronic equipment and a storage medium.
Background
At present, when a user browses K line drawing information at a terminal device, a browsing mode is generally adopted, wherein the browsing of the K line drawing is realized by setting a virtual component button or defining an operation gesture. However, if the display screen for displaying the K line graph is smaller, there may be a case where the virtual component hot zone is smaller by setting the virtual component button, which is inconvenient for the user to click; if the display screen for displaying the K line graph is large, the movement path of the finger of the user is too long due to the dragging operation gesture. Therefore, it is inconvenient for the user to browse the K-wire diagram, thereby reducing the user experience.
Disclosure of Invention
The embodiment of the application provides a display method, a device, electronic equipment and a storage medium of a K line graph, wherein the change of the display content of the K line graph is realized by measuring the offset angle of terminal equipment.
In a first aspect, an embodiment of the present application provides a method for displaying a K-line graph, including:
if the current moment detects that the terminal equipment is changed from a horizontal state to an inclined state, acquiring a first rotation angle and a first rotation direction of the terminal equipment through the angular velocity sensor;
obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction;
if the second rotation angle is larger than a preset minimum rotation angle and smaller than a preset maximum rotation angle, obtaining a first sliding speed corresponding to the second rotation angle based on the second rotation angle and a current display mode of the display screen, wherein the display mode is a horizontal screen display mode or a vertical screen display mode;
And displaying the K line graph on the display screen in a sliding manner according to the first sliding speed and the second rotating direction.
In a second aspect, an embodiment of the present application provides a display device for a K-line diagram, including: a transceiver unit and a processing unit;
the receiving and transmitting unit is used for acquiring a first rotation angle and a first rotation direction of the terminal equipment through the angular velocity sensor if the terminal equipment is detected to change from a horizontal state to an inclined state at the current moment;
the processing unit is used for obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction;
the processing unit is configured to obtain a first sliding speed corresponding to the second rotation angle based on the second rotation angle and a current display mode of the display screen if the second rotation angle is greater than a preset minimum rotation angle and less than a preset maximum rotation angle, where the display mode is a horizontal screen display mode or a vertical screen display mode;
and the processing unit is used for displaying the K line graph in a sliding manner on the display screen according to the first sliding speed and the second rotating direction.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory, the processor being connected to the memory, the memory being for storing a computer program, the processor being for executing the computer program stored in the memory to cause the electronic device to perform the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program that causes a computer to perform the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer being operable to cause a computer to perform a method as in the first aspect.
The embodiment of the application has the following beneficial effects:
it can be seen that in the embodiment of the present application, if the change of the terminal device from the horizontal state to the inclined state is detected at the current moment, the first rotation angle and the first rotation direction of the terminal device are obtained through the angular velocity sensor; obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction; if the second rotation angle is larger than the preset minimum rotation angle and smaller than the preset maximum rotation angle, obtaining a first sliding speed corresponding to the second rotation angle based on the second rotation angle and a display mode of the current display screen, wherein the display mode is a horizontal screen display mode or a vertical screen display mode; and displaying the K line graph on the display screen in a sliding manner according to the first sliding speed and the second rotating direction. The natural actions of the user are associated with the display of the K line graph content, the user can enable the change of the page to reach the expected state only based on the natural actions, and the display method does not need the user to click or drag on the display screen, so that the display method is not limited by the size of the display screen, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a display system of a K line graph according to an embodiment of the present application;
fig. 2 is a flow chart of a method for displaying a K line graph according to an embodiment of the present application;
FIG. 3 is a schematic view of a third rotation angle;
FIG. 4 is a schematic view illustrating an angle of multiple rotations according to an embodiment of the present application;
fig. 5 is a schematic diagram of a sliding direction of a K-ray diagram according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an animation effect according to an embodiment of the present application;
fig. 7 is a functional unit block diagram of a display device for a K-line diagram according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
First, the K diagram in the present application is any K diagram including, but not limited to, a month K diagram, a week K diagram, a day K diagram, and the like, and the present application is not limited thereto. The K-ray diagram displayed in the present application may be any part of the K-ray diagram.
It should be noted that, before the angular velocity sensor acquires the first rotation angle and the first rotation direction of the terminal device, a touch operation by the user is accepted, and after the touch operation by the user is responded, the angular velocity sensor starts to acquire the first rotation angle and the first rotation direction of the terminal device.
Further, if the user rotates the terminal device, the left rotation is set to be a positive direction, and the right rotation is set to be a negative direction, and the symbol of the rotation angle in the present application only indicates the rotation direction, but does not indicate the angle. In the application, if the third rotation angle is within the first preset range, the second preset range or the third preset range, the user can observe the display content of the display screen. Further, the preset minimum rotation angle and the preset maximum rotation angle are both within the first preset range or the second preset range or the third preset range. If the second rotation angle is smaller than the preset minimum rotation angle, the user is instructed that the rotation action at the moment belongs to micro shake, the content of the K line diagram in the display screen is not changed, and the display screen fixedly displays the content at the previous moment. If the second rotation angle is greater than or equal to the preset maximum rotation angle, and the user cannot normally observe the display content of the display screen under the condition that the user does not rotate the head, the sliding speed of the K line graph does not need to be changed any more.
Referring to fig. 1, fig. 1 is a schematic diagram of a display system of a K-line diagram according to an embodiment of the present application. As shown in fig. 1, the display system of the K-wire diagram includes a terminal device 100, an angular velocity sensor 101, and a display screen 102.
As shown in fig. 1, a user may tilt the terminal device 100, and if the terminal device 100 is detected to change from a horizontal state to a tilted state at the current time, the terminal device 100 acquires a first rotation angle and a first rotation direction of the terminal device 100 through the angular velocity sensor 101; obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction; if the second rotation angle is greater than the preset minimum rotation angle and less than the preset maximum rotation angle, the terminal device 100 obtains a first sliding speed corresponding to the second rotation angle based on the second rotation angle and the display mode of the current display screen 102, wherein the display mode is a horizontal screen display mode or a vertical screen display mode; the terminal device 100 slides the K-ray diagram on the display screen 102 in accordance with the first sliding speed and the second rotating direction.
It can be seen that, in the embodiment of the present application, the first rotation angle and the first rotation direction of the terminal device 100 are detected by the angular velocity sensor 101, and the second rotation angle and the second rotation direction are obtained based on the first rotation angle and the first rotation direction; if the second rotation angle is greater than the preset minimum rotation angle and less than the preset maximum rotation angle, a first sliding speed corresponding to the second rotation angle is obtained based on the second rotation angle and the display mode of the current display screen 102, and the K line graph is displayed on the display screen 102 in a sliding mode according to the first sliding speed and the second rotation direction. The user can enable the change of the page to reach the expected state only based on natural actions, and the display method does not need the user to click or drag on the display screen, so that the display method is not limited by the size of the display screen, and the user experience is improved.
Referring to fig. 2, fig. 2 is a flowchart of a method for displaying a K diagram according to an embodiment of the present application, where the method is applied to the above-mentioned terminal device, and the method includes, but is not limited to, the following steps:
s201: and if the current moment detects that the terminal equipment is changed from the horizontal state to the inclined state, acquiring a first rotation angle and a first rotation direction of the terminal equipment through an angular velocity sensor.
It should be noted that the first rotation direction is determined according to the sign of the first rotation angle, specifically, if the sign of the first rotation angle is a negative sign, the first rotation direction is a negative direction, and if the sign of the first rotation angle is a positive sign, the first rotation direction is a positive direction.
S202: based on the first rotation angle and the first rotation direction, a second rotation angle and a second rotation direction are obtained.
Referring to fig. 3, fig. 3 is a schematic view illustrating a third rotation angle. As shown in fig. 3, the first terminal device state is a terminal device in a horizontal state, and the second terminal device state is a terminal device tilted by a third rotation angle. And obtaining a third rotation angle in fig. 3 by taking the remainder of the first rotation angle of the terminal equipment obtained by the angular velocity sensor. Judging whether the third rotation angle is in a first preset range or a second preset range or a third preset range, if the third rotation angle is in the first preset range, determining the second rotation angle based on the third rotation angle, and taking the first rotation direction as the second rotation direction. If the third rotation angle is within the second preset range or the third preset range, subtracting the third rotation angle from the preset rotation angle to obtain a fourth rotation angle, adding the third rotation angle to the preset rotation angle to obtain a fifth rotation angle, determining absolute values corresponding to the fourth rotation angle and the fifth rotation angle, taking the minimum value in the absolute values as the second rotation angle, and taking the opposite direction of the first rotation direction as the second rotation direction.
Specifically, the first rotation angle is calculated by taking the remainder of 360 ° so as to limit the first rotation angle between (-360 °,360 °), for example, if the first rotation angle of the terminal device is 400 °, the first rotation direction is a positive direction, and in order to display the horizontal angle offset of the terminal device, the remainder of 400 ° to 360 ° is calculated to obtain the third rotation angle of 40 °. If the third rotation angle is within the first preset range, determining a second rotation angle based on the third rotation angle, and taking the first rotation direction as a second rotation direction. For example, the first preset range is (-90 °,90 °). Continuing with the example of the third rotation angle being 40 °, the 40 ° is within the first preset range, and therefore the second rotation angle is 40 °, and the second rotation direction is the positive direction.
For example, if the third rotation angle is within the second preset range or the third preset range, the second rotation angle is obtained based on the third rotation angle, and the opposite direction of the first rotation direction is taken as the second rotation direction. Specifically, a second rotation angle is obtained based on the third rotation angle, the third rotation angle is subtracted from a preset rotation angle to obtain a fourth rotation angle, and the third rotation angle is added to the preset rotation angle to obtain a fifth rotation angle. Wherein the preset rotation angle may be 360 °, the second preset range may be (270 °,360 °), and the third preset range may be (-360 °, -270 °). For example, if the first rotation angle of the terminal device is-300 °, the first rotation direction is a negative direction, and the third rotation angle is-300 ° after the remainder operation of the first rotation angle, in the third preset range, two operations are performed on-300 ° to obtain the fourth rotation angle-660 ° and the fifth rotation angle 60 °. Further, absolute values corresponding to the fourth rotation angle and the fifth rotation angle are determined, and the minimum value in the absolute values is taken as the second rotation angle. Continuing with the fourth rotation angle-660 ° and the fifth rotation angle 60 ° as examples, the minimum value 60 ° out of the absolute values is obtained as the second rotation angle, and the second rotation direction is the opposite direction to the first rotation direction, so the second rotation direction is the positive direction.
It should be noted that if the first rotation angle is within (90 °,270 °) or (-270 °, -90 °), it does not fall within the range that the user can observe. By way of example, if the user rotates the terminal device 100 °, and the user would not be able to observe the K-wire diagram on the display without turning the head.
Referring to fig. 4, fig. 4 is a schematic view of angles of multiple rotations according to an embodiment of the present application, as shown in fig. 4, a first terminal device state is a terminal device in a horizontal state, a second terminal device state is a terminal device tilted by a third rotation angle, and a third terminal device state is a terminal device tilted by a user by an eighth rotation angle from the second terminal device state.
In one possible embodiment, if the user tilts the terminal device from the horizontal state by the first rotation angle, the user tilts the terminal device again, the angular velocity sensor measures the rotation angle for the second time again to obtain a seventh rotation angle, and the third rotation direction. The seventh rotation angle is calculated by taking the remainder to obtain an eighth rotation angle in fig. 4. The method for calculating the eighth rotation angle and the method for determining the range referring to the third rotation angle are not described herein. Based on the third rotation angle, determining the second rotation angle includes: the third rotation angle and the eighth rotation angle in fig. 4 are added to obtain a second rotation angle, and the second rotation direction is determined according to the sign of the second rotation angle. For example, if the first rotation angle is 20 ° and the seventh rotation angle is-60 °, the method as described above obtains a third rotation angle of 20 ° by taking the remainder of the first rotation angle and the seventh rotation angle, obtains a second rotation angle of-40 ° by adding the third rotation angle and the eighth rotation angle, and obtains a negative second rotation direction based on the sign of the second rotation angle determined from the second rotation direction.
It can be seen that, in the embodiment of the present application, if the user rotates the terminal device twice continuously, the angular velocity sensor continuously measures the rotation angle, calculates the second rotation angle based on the third rotation angle and the eighth rotation angle, so that the second rotation angle matches with the actual rotation condition of the user to the terminal, and the first sliding velocity according with the user expectation is calculated conveniently, so that the first sliding velocity is associated with the final rotation angle of the terminal device, and user experience is improved.
S203: and if the second rotation angle is larger than the preset minimum rotation angle and smaller than the preset maximum rotation angle, obtaining a first sliding speed corresponding to the second rotation angle based on the second rotation angle and the display mode of the current display screen, wherein the display mode is a horizontal screen display mode or a vertical screen display mode.
Specifically, the first sliding speed is obtained based on the second rotation angle and the display mode of the current display screen. The first sliding speed is determined based on the second rotation angle, the maximum sliding speed and the minimum sliding speed in the display mode. And acquiring the display width of the display screen in the display mode. Further, based on the historical operation habit of the user, the longest sliding time and the shortest sliding time for the user to slide the display content of the display screen from one end of the display screen to the other end of the display screen in the display mode are obtained. Based on the longest sliding time, the shortest sliding time, and the display width, the maximum sliding speed and the minimum sliding speed are obtained.
The first slip speed is represented by the following formula (1):
wherein A is the absolute value of the second rotation angle, minA is the preset minimum rotation angle, maxA is the preset maximum rotation angle, maxS is the maximum sliding speed in the display mode, and minS is the minimum sliding speed in the display mode.
S204: and displaying the K line graph on the display screen in a sliding manner according to the first sliding speed and the second rotating direction.
Referring to fig. 5, fig. 5 is a schematic diagram of a sliding direction of a K-ray diagram according to an embodiment of the present application. As shown in fig. 5, the second rotation direction is rotated leftward, and the sliding direction of the K line graph is aligned with the second rotation direction, so that if the second rotation direction is a positive direction, the K line graph slides leftward along the K line graph sliding direction at the first sliding speed.
It can be seen that, in the embodiment of the present application, if the change of the terminal device from the horizontal state to the inclined state is detected at the current moment, the first rotation angle and the first rotation direction of the terminal device are obtained through the angular velocity sensor; obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction; if the second rotation angle is larger than the preset minimum rotation angle and smaller than the preset maximum rotation angle, obtaining a first sliding speed corresponding to the second rotation angle based on the second rotation angle and a display mode of the current display screen, wherein the display mode is a horizontal screen display mode or a vertical screen display mode; and displaying the K line graph on the display screen in a sliding manner according to the first sliding speed and the second rotating direction. The natural actions of the user are associated with the display of the K line graph content, the user can enable the change of the page to reach the expected state only based on the natural actions, and the display method does not need to click or slide a display screen, so that the display method is not limited by the size of the display screen, and the user experience is improved.
Further, if the second rotation angle is smaller than or equal to the preset minimum rotation angle, the content displayed at the previous moment is fixedly displayed on the display screen. Specifically, if the second rotation angle is smaller than or equal to the preset minimum rotation angle, the rotation operation of the user is indicated to be micro-shake, and in order to correctly identify the intention of the user, the K-line diagram of the display screen is not slid, and the display content on the display screen is the content displayed at the previous moment.
Further, if the second rotation angle is greater than or equal to the preset maximum rotation angle, obtaining a third sliding speed corresponding to the second rotation angle based on the preset maximum rotation angle and the display mode of the current display screen; and displaying the K line graph on the display screen in a sliding manner according to the third sliding speed and the second rotating direction. For example, the second rotation angle is 85 °, and the preset maximum rotation angle is 80 °, and when the second rotation angle is changed from 80 ° to 85 °, the sliding speed of the K-line diagram on the display screen is not changed any more, and the third sliding speed corresponding to the second rotation angle is directly calculated based on the preset maximum rotation angle 80 ° and the formula (1). And displaying the K line graph on the display screen in a sliding manner according to the third sliding speed and the second rotating direction. Since the user cannot normally observe the display content of the display screen if the second rotation angle is greater than or equal to the preset maximum rotation angle, the sliding speed of the K-line diagram does not need to be changed any more.
It can be seen that, in the embodiment of the present application, the maximum rotation angle and the minimum rotation angle are preset, and if the second rotation angle is smaller than or equal to the preset minimum rotation angle, the rotation operation of the user is indicated to be micro-shake, and the content displayed at the previous moment is fixedly displayed on the display screen. If the second rotation angle is greater than or equal to the preset maximum rotation angle, the inclination angle of the terminal equipment is too large, and the user cannot observe the display content of the display screen normally, so that the sliding speed of the K line graph on the display screen is not changed any more. Screening out the micro-shaking operation of the user by presetting a minimum rotation angle in advance, so that the display content of the display screen accords with the expectation of the user; and the maximum rotation angle is preset in advance, so that the sliding speed is prevented from being changed continuously under the condition that the second rotation angle is larger than the preset maximum rotation angle, the data processing burden of the terminal equipment is reduced, the running speed is improved, and the user experience is improved.
Optionally, acquiring a drag operation of the user, and obtaining display content of the K line graph based on the first sliding speed and the second rotation direction includes: and obtaining the display content of the K line graph based on the dragging operation, the first sliding speed and the second rotating direction. Specifically, the user can tilt the terminal device and drag the display content of the display screen at the same time, so that the display content of the K line graph accords with the expectations of the user. For example, if the terminal device slides according to the first sliding speed and the second rotating direction, a drag operation of the user is obtained, and if the drag operation of the user is the same as the second rotating direction, the speed of sliding the K line graph on the display screen will be increased, and if the drag operation of the user is opposite to the second rotating direction, the speed of sliding the K line graph on the display screen will be decreased.
It can be seen that in the embodiment of the application, a user can drag the display content of the display screen at the same time when tilting the terminal device, and the speed of sliding the display screen to display the K line graph can be changed according to the first sliding speed and the drag operation of the user, so that the speed of sliding the display screen to display the K line graph accords with the expectation of the user, and the user experience is improved.
In one embodiment of the present application, after displaying the K-ray diagram on the display screen in a sliding manner according to the first sliding speed and the second rotating direction, if the K-ray diagram slides to the expected K-ray diagram area of the user, in order to facilitate the user to return the terminal device to the horizontal state so as to carefully browse the K-ray diagram content of the expected K-ray diagram area, the present application provides three display methods.
Specifically, the K line graph is displayed on the display screen in a sliding mode according to the first sliding speed and the second rotating direction, if the user rapidly rotates the terminal equipment at a certain moment, user intention recognition is started based on common operation habits of the user, at the moment, the intention of recognizing the user rapidly rotates the terminal equipment is that expected K line graph contents of the user appear in the display screen, and the user intends to keep the terminal equipment flat and carefully observe the expected K line graph contents. For example, if the inclination of the terminal device in the opposite direction to the second rotation direction is detected, acquiring a sixth rotation angle and an angular velocity of the terminal device by an angular velocity sensor; if the sixth rotation angle is larger than the minimum rotation angle and the angular velocity is larger than the preset angular velocity, wherein the sixth rotation angle is larger than the minimum rotation angle, the behavior of the user rotating the terminal equipment is not a tiny shake; if the angular velocity is greater than the preset angular velocity, the user is detected to rotate the terminal equipment rapidly at a certain moment, and the angular velocity of the rotating terminal equipment reaches the preset angular velocity; based on the user intention recognition, the K line graph content displayed on the display screen at the moment is indicated to have the expected K line graph content of the user.
The first display method is exemplified by: if the inclination of the terminal equipment to the opposite direction of the second rotation direction is detected, acquiring a sixth rotation angle and angular velocity of the terminal equipment through an angular velocity sensor; if the sixth rotation angle is larger than the minimum rotation angle and the angular velocity is larger than the preset angular velocity, starting user intention recognition, indicating that the content of the K line diagram displayed on the display screen has the expected K line diagram content of the user, and determining the expected K line diagram area of the user based on the content of the K line diagram displayed on the display screen. Specifically, the determination may be based on the historical operating habits of the user, such as: and performing touch operation on a display area in a certain period according to the user detected by the terminal equipment in the history, and determining an expected K line graph area based on the display area. It may also be determined from the display content of the K-ray diagram, for example: at a certain moment the change of the K-ray diagram reaches a peak or the rate of change of the K-ray diagram of a certain area is fast, and the expected K-ray diagram area is determined based on the content characteristics of the K-ray diagrams.
Further, a rotation duration of the terminal device changing to the horizontal state is determined based on the second rotation angle and the angular velocity. Further, determining a distance between the center of the expected K line graph area and the center of the display screen, and determining a second sliding speed of the K line graph based on the rotation duration and the distance; and sliding in the opposite direction of the second sliding speed and the second rotating direction, if the terminal equipment is changed to be in a horizontal state, so that the expected K line diagram area is displayed in the central area of the display screen. The central area is an area with a preset area positioned in the middle of the display screen.
It can be seen that, in the embodiment of the application, based on the historical operation habit of the user and the content of the K line graph, the expected K line graph area of the user in the display screen is determined, and the second sliding speed is calculated, so that when the user horizontally places the terminal device, the expected K line graph area of the user is just displayed in the central area of the display screen, thereby facilitating the browsing of the user and improving the user experience.
The second display method is exemplified by: if the terminal device is detected to incline in the opposite direction of the second rotation direction, and the angular velocity of the terminal device obtained through the angular velocity sensor is greater than the preset angular velocity, the first sliding velocity is set to a preset value, and the specific preset value can be zero. So that the K line graph area is expected to remain within the display range of the display screen when the user lays the terminal device flat.
The third display method is exemplified by: if the inclination of the terminal equipment to the opposite direction of the second rotation direction is detected, acquiring a sixth rotation angle and angular velocity of the terminal equipment through an angular velocity sensor; if the sixth rotation angle is larger than the minimum rotation angle and the angular velocity is larger than the preset angular velocity, recording the content and the position of the expected K line drawing area, if the user returns the terminal equipment to the horizontal state, judging whether the expected K line drawing area slides out of the display area of the display screen, if the expected K line drawing area has already slid out of the display area of the display screen, then the terminal equipment slides the expected K line drawing area back to the display area of the display screen at the preset sliding velocity based on the recorded content and the recorded position of the expected K line drawing area, and during the sliding period, the terminal equipment can receive the touch operation of the user, for example, if the double-click operation of the user is detected, the K line drawing stops sliding so that the user can fix the K line drawing interface which the user wants to watch. If the display screen area does not slide out, the terminal equipment does not need to adjust the display content.
Referring to fig. 6, fig. 6 is a schematic diagram of an animation effect according to an embodiment of the application.
In one embodiment of the present application, the terminal device may also display the animation effect on the page element through the display screen, as shown in fig. 6, and display the animation effect on the page element a by changing the rotation direction and rotation angle of the terminal device. It should be noted that the fourth sliding speed of the page element a is the same as the first sliding speed, and may be determined based on steps S201-S203, which is not described herein.
Specifically, as shown in fig. 6, the first display interface is an initial position of the page element a in the display screen, and if the user tilts the terminal device in the fourth rotation direction, as shown in the second display interface in fig. 6, the page element a slides to a position shown by the second display interface according to the fourth sliding speed and the fourth rotation direction. If the user continues to tilt the terminal device in the fifth rotation direction, as shown in the third display interface in fig. 6, the page element a slides to the position shown in the third display interface according to the fifth sliding speed and the fifth rotation direction, where the determination method of the fifth sliding speed of the page element a and the determination method of the first sliding speed may be the same, and may be determined based on steps S201-S203, which are not repeated herein.
It can be seen that in the embodiment of the application, by displaying the animation effect on the page element, the sliding of the page element is associated with the operation of the user, the interaction between the user and the page element is enhanced, the participation of the user is increased, and the user experience is improved.
In one embodiment of the present application, before the acquiring, by the angular velocity sensor, the first rotation angle and the first rotation direction of the terminal device if the change of the terminal device from the horizontal state to the inclined state is detected at the present time, further includes: the user opens the touch operation button, and the terminal equipment responds to the touch operation and starts to acquire a first rotation angle and a first rotation direction of the terminal equipment through the angular velocity sensor. In one embodiment of the present application, if the K-wire diagram slides to the starting point or the ending point in the display screen, at this time, the K-wire diagram cannot continue to slide, the terminal device may send a prompt message to prompt the user that the K-wire diagram has slid to the starting point or the ending point, and at the same time, the first sliding speed of the K-wire diagram is set to a preset value, where the preset value may be zero, and the prompt message may include a vibration prompt or a ringing prompt.
Referring to fig. 7, fig. 7 is a block diagram illustrating functional units of a display device for a K-line diagram according to an embodiment of the present application. The display device 700 of the K-line diagram includes: a transceiver unit 701 and a processing unit 702;
A transceiver unit 701, configured to obtain a first rotation angle and a first rotation direction of the terminal device through an angular velocity sensor if the change of the terminal device from a horizontal state to an inclined state is detected at the current moment;
a processing unit 702, configured to obtain a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction;
the processing unit 702 is configured to obtain, based on the second rotation angle and a display mode of the current display screen, a first sliding speed corresponding to the second rotation angle if the second rotation angle is greater than a preset minimum rotation angle and less than a preset maximum rotation angle, where the display mode is a horizontal screen display mode or a vertical screen display mode;
and the processing unit 702 is used for displaying the K line graph on the display screen in a sliding mode according to the first sliding speed and the second rotating direction.
In one embodiment of the present application, the processing unit 702 is specifically configured to, when obtaining the second rotation angle and the second rotation direction based on the first rotation angle and the first rotation direction:
the remainder operation is carried out on the first rotation angle, and a third rotation angle is obtained;
if the third rotation angle is within the first preset range, determining a second rotation angle based on the third rotation angle, and taking the first rotation direction as a second rotation direction;
And if the third rotation angle is within the second preset range or the third preset range, obtaining a second rotation angle based on the third rotation angle, and taking the opposite direction of the first rotation direction as a second rotation direction.
In one embodiment of the present application, the processing unit 702 is specifically configured to, when obtaining the second rotation angle based on the third rotation angle:
subtracting the third rotation angle from the preset rotation angle to obtain a fourth rotation angle;
adding the third rotation angle to a preset rotation angle to obtain a fifth rotation angle;
determining absolute values corresponding to the fourth rotation angle and the fifth rotation angle;
the minimum value of the absolute values is taken as the second rotation angle.
In one embodiment of the present application, the processing unit 702 is specifically configured to, based on the second rotation angle and the display mode of the current display screen, obtain the first sliding speed corresponding to the second rotation angle:
determining a first sliding speed based on the second rotation angle, the maximum sliding speed and the minimum sliding speed in the display mode;
the first slip speed is expressed by the following formula:
wherein A is the absolute value of the second rotation angle, minA is the preset minimum rotation angle, maxA is the preset maximum rotation angle, maxS is the maximum sliding speed in the display mode, and minS is the minimum sliding speed in the display mode.
In one embodiment of the present application, the processing unit 702 is specifically configured to, before determining the first sliding speed based on the second rotation angle, the maximum sliding speed and the minimum sliding speed in the display mode:
acquiring the display width of a display screen in a display mode;
based on the historical operation habit of the user, acquiring the longest sliding time and the shortest sliding time of the display content of the display screen from one end of the display screen to the other end of the display screen in a display mode;
based on the longest sliding time, the shortest sliding time, and the display width, the maximum sliding speed and the minimum sliding speed are obtained.
In one embodiment of the present application, the processing unit 702 is specifically configured to, after displaying the K-ray diagram on the display screen in a sliding manner according to the first sliding speed and the second rotating direction:
if the inclination of the terminal equipment to the opposite direction of the second rotation direction is detected, acquiring a sixth rotation angle and angular velocity of the terminal equipment through an angular velocity sensor;
if the sixth rotation angle is larger than the minimum rotation angle and the angular velocity is larger than the preset angular velocity, determining the rotation duration of the terminal equipment changing to the horizontal state based on the second rotation angle and the angular velocity;
Determining an expected K line graph area of a user based on the content of the K line graph displayed in the display screen when the terminal equipment is inclined towards the opposite direction of the second rotation direction;
determining the distance between the center of the expected K line graph area and the center of the display screen;
determining a second sliding speed of the K line graph based on the rotation duration and the distance;
and sliding in the opposite direction of the second sliding speed and the second rotating direction, if the terminal equipment is changed to be in a horizontal state, so that the expected K line diagram area is displayed in the central area of the display screen.
In one embodiment of the present application, the processing unit 702 is specifically configured to:
if the second rotation angle is smaller than or equal to the preset minimum rotation angle, fixedly displaying the content displayed at the previous moment on the display screen;
if the second rotation angle is larger than or equal to the preset maximum rotation angle, obtaining a third sliding speed corresponding to the second rotation angle based on the preset maximum rotation angle and the display mode of the current display screen;
and displaying the K line graph on the display screen in a sliding manner according to the third sliding speed and the second rotating direction.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 8, the electronic device 800 includes a transceiver 801, a processor 802, and a memory 803. Which are connected by a bus 804. The memory 803 is used to store computer programs and data, and the data stored in the memory 803 can be transferred to the processor 802.
The processor 802 is configured to read a computer program in the memory 803 to perform the following operations:
the transceiver 801 is controlled to acquire a first rotation angle and a first rotation direction of the terminal device through the angular velocity sensor if the change of the terminal device from the horizontal state to the inclined state is detected at the current moment;
obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction;
if the second rotation angle is larger than the preset minimum rotation angle and smaller than the preset maximum rotation angle, obtaining a first sliding speed corresponding to the second rotation angle based on the second rotation angle and a display mode of the current display screen, wherein the display mode is a horizontal screen display mode or a vertical screen display mode;
and displaying the K line graph on the display screen in a sliding manner according to the first sliding speed and the second rotating direction.
In one embodiment of the present application, the processor 802 is specifically configured to perform the following steps in obtaining the second rotation angle and the second rotation direction based on the first rotation angle and the first rotation direction:
the remainder operation is carried out on the first rotation angle, and a third rotation angle is obtained;
if the third rotation angle is within the first preset range, determining a second rotation angle based on the third rotation angle, and taking the first rotation direction as a second rotation direction;
And if the third rotation angle is within the second preset range or the third preset range, obtaining a second rotation angle based on the third rotation angle, and taking the opposite direction of the first rotation direction as a second rotation direction.
In one embodiment of the present application, the processor 802 is specifically configured to perform the following steps in obtaining the second rotation angle based on the third rotation angle:
subtracting the third rotation angle from the preset rotation angle to obtain a fourth rotation angle;
adding the third rotation angle to a preset rotation angle to obtain a fifth rotation angle;
determining absolute values corresponding to the fourth rotation angle and the fifth rotation angle;
the minimum value of the absolute values is taken as the second rotation angle.
In one embodiment of the present application, the processor 802 is specifically configured to, based on the second rotation angle and the display mode of the current display screen, obtain a first sliding speed corresponding to the second rotation angle, and perform the following steps:
determining a first sliding speed based on the second rotation angle, the maximum sliding speed and the minimum sliding speed in the display mode;
the first slip speed is expressed by the following formula:
wherein A is the absolute value of the second rotation angle, minA is the preset minimum rotation angle, maxA is the preset maximum rotation angle, maxS is the maximum sliding speed in the display mode, and minS is the minimum sliding speed in the display mode.
In one embodiment of the present application, the processor 802 is specifically configured to perform the following steps before determining the first sliding speed based on the second rotation angle, the maximum sliding speed in the display mode, and the minimum sliding speed:
acquiring the display width of a display screen in a display mode;
based on the historical operation habit of the user, acquiring the longest sliding time and the shortest sliding time of the display content of the display screen from one end of the display screen to the other end of the display screen in a display mode;
based on the longest sliding time, the shortest sliding time, and the display width, the maximum sliding speed and the minimum sliding speed are obtained.
In one embodiment of the present application, the processor 802 is specifically configured to perform the following steps after displaying the K-ray diagram on the display screen in a sliding manner according to the first sliding speed and the second rotating direction:
if the inclination of the terminal equipment to the opposite direction of the second rotation direction is detected, acquiring a sixth rotation angle and angular velocity of the terminal equipment through an angular velocity sensor;
if the sixth rotation angle is larger than the minimum rotation angle and the angular velocity is larger than the preset angular velocity, determining the rotation duration of the terminal equipment changing to the horizontal state based on the second rotation angle and the angular velocity;
Determining an expected K line graph area of a user based on the content of the K line graph displayed in the display screen when the terminal equipment is inclined towards the opposite direction of the second rotation direction;
determining the distance between the center of the expected K line graph area and the center of the display screen;
determining a second sliding speed of the K line graph based on the rotation duration and the distance;
and sliding in the opposite direction of the second sliding speed and the second rotating direction, if the terminal equipment is changed to be in a horizontal state, so that the expected K line diagram area is displayed in the central area of the display screen.
In one embodiment of the present application, the processor 802 is specifically configured to perform the following steps:
if the second rotation angle is smaller than or equal to the preset minimum rotation angle, fixedly displaying the content displayed at the previous moment on the display screen;
if the second rotation angle is larger than or equal to the preset maximum rotation angle, obtaining a third sliding speed corresponding to the second rotation angle based on the preset maximum rotation angle and the display mode of the current display screen;
and displaying the K line graph on the display screen in a sliding manner according to the third sliding speed and the second rotating direction.
Specifically, the transceiver 801 may be the transceiver unit 701 of the K-wire diagram display device 700 of the embodiment of fig. 7, and the processor 802 may be the processing unit 702 of the K-wire diagram display device 700 of the embodiment of fig. 7.
It should be understood that the electronic device in the present application may include a smart Phone (such as an Android mobile Phone, an iOS mobile Phone, a Windows Phone mobile Phone, etc.), a tablet computer, a palm computer, a notebook computer, a mobile internet device MID (Mobile Internet Devices, abbreviated as MID) or a wearable device, etc. The above-described electronic devices are merely examples and are not intended to be exhaustive and include, but are not limited to, the above-described electronic devices. In practical applications, the electronic device may further include: intelligent vehicle terminals, computer devices, etc.
The embodiment of the present application also provides a computer-readable storage medium storing a computer program that is executed by a processor to implement part or all of the steps of any one of the K-line drawing display methods described in the above method embodiments.
The embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps of any one of the K-line diagram display methods described in the above method embodiments.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as a division of units, merely a division of logic functions, and there may be additional divisions in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software program modules.
The integrated units, if implemented in the form of software program modules and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including when dry instructions are used to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of embodiments of the application, wherein the principles and embodiments of the application are explained in detail using specific examples, the above examples being provided solely to facilitate the understanding of the method and core concepts of the application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the idea of the present application, the present disclosure should not be construed as limiting the present application in summary.
Claims (6)
1. A display method of a K-ray diagram, characterized by being applied to a terminal device including an angular velocity sensor and a display screen, the method comprising:
responding to a first touch operation of a user on an operation button, and if the change of the terminal equipment from a horizontal state to an inclined state is detected at the current moment, acquiring a first rotation angle and a first rotation direction of the terminal equipment through the angular velocity sensor;
Obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction;
if the second rotation angle is larger than a preset minimum rotation angle and smaller than a preset maximum rotation angle, obtaining a first sliding speed corresponding to the second rotation angle based on the second rotation angle and a current display mode of the display screen, wherein the display mode is a horizontal screen display mode or a vertical screen display mode; comprising the following steps:
acquiring the display width of the display screen in the display mode;
based on the historical operation habit of the user, acquiring the longest sliding time and the shortest sliding time of the user in the display mode, wherein the display content of the display screen slides from one end of the display screen to the other end of the display screen;
obtaining a maximum sliding speed and a minimum sliding speed based on the longest sliding time, the shortest sliding time and the display width;
determining the first sliding speed based on the second rotation angle, the maximum sliding speed and the minimum sliding speed in the display mode;
the first slip speed is expressed by the following formula:
wherein a is the absolute value of the second rotation angle, minA is the preset minimum rotation angle, maxA is the preset maximum rotation angle, maxS is the maximum sliding speed, and minS is the minimum sliding speed;
According to the first sliding speed and the second rotating direction, the K line graph is displayed on the display screen in a sliding mode;
if the second rotation angle is smaller than or equal to the preset minimum rotation angle, fixedly displaying the content displayed at the previous moment on the display screen;
if the second rotation angle is larger than or equal to the preset maximum rotation angle, obtaining a third sliding speed corresponding to the second rotation angle based on the preset maximum rotation angle and the current display mode of the display screen;
according to the third sliding speed and the second rotating direction, the K line graph is displayed on the display screen in a sliding mode;
if the K line graph slides to the starting point or the ending point of the K line graph in the display screen, prompt information is sent to the user, and the sliding speed of the K line graph is determined to be a first preset speed;
the method further comprises the steps of:
if the inclination of the terminal equipment to the opposite direction of the second rotation direction is detected, acquiring a sixth rotation angle and angular velocity of the terminal equipment through the angular velocity sensor;
if the sixth rotation angle is larger than the minimum rotation angle and the angular velocity is larger than a preset angular velocity, determining the rotation duration of the terminal equipment changing to a horizontal state based on the second rotation angle and the angular velocity; determining an expected K line diagram area of a user based on the content of the K line diagram displayed in the display screen when the terminal equipment is inclined towards the opposite direction of the second rotation direction; determining the distance between the center of the expected K line graph area and the center of the display screen; determining a second sliding speed of the K-ray diagram based on the rotation duration and the distance; sliding in the opposite direction of the second sliding speed and the second rotating direction, if the terminal equipment changes to a horizontal state, so that the expected K line diagram area is displayed in the central area of the display screen;
Or if the sixth rotation angle is greater than the minimum rotation angle and the angular velocity is greater than the preset angular velocity, recording the content and the position of an expected K line graph area, and after the user returns the terminal device to the horizontal state, if the expected K line graph area has slipped out of the display area of the display screen, sliding the expected K line graph area to the display area of the display screen at a second preset velocity based on the content and the position of the expected K line graph area; and in the process of sliding the expected K line graph area to the display area of the display screen at the second preset speed, receiving a second touch operation of the user so that the K line graph stops sliding.
2. The method of claim 1, wherein the deriving a second angle of rotation and a second direction of rotation based on the first angle of rotation and the first direction of rotation comprises:
taking the remainder of the first rotation angle to obtain a third rotation angle;
if the third rotation angle is within a first preset range, determining the second rotation angle based on the third rotation angle, and taking the first rotation direction as the second rotation direction;
And if the third rotation angle is within a second preset range or a third preset range, obtaining the second rotation angle based on the third rotation angle, and taking the opposite direction of the first rotation direction as the second rotation direction.
3. The method of claim 2, wherein the deriving the second rotation angle based on the third rotation angle comprises:
subtracting the third rotation angle from a preset rotation angle to obtain a fourth rotation angle;
adding the third rotation angle to a preset rotation angle to obtain a fifth rotation angle;
determining absolute values corresponding to the fourth rotation angle and the fifth rotation angle;
and taking the minimum value in the absolute values as the second rotation angle.
4. A display device for a K-ray diagram, comprising: a transceiver unit and a processing unit; the apparatus for performing the method of any one of claims 1-3;
the receiving and transmitting unit is used for acquiring a first rotation angle and a first rotation direction of the terminal equipment through the angular velocity sensor if the terminal equipment is detected to change from a horizontal state to an inclined state at the current moment;
The processing unit is used for obtaining a second rotation angle and a second rotation direction based on the first rotation angle and the first rotation direction;
the processing unit is configured to obtain a first sliding speed corresponding to the second rotation angle based on the second rotation angle and a current display mode of the display screen if the second rotation angle is greater than a preset minimum rotation angle and less than a preset maximum rotation angle, where the display mode is a horizontal screen display mode or a vertical screen display mode;
and the processing unit is used for displaying the K line graph in a sliding manner on the display screen according to the first sliding speed and the second rotating direction.
5. An electronic device, comprising: a processor and a memory, the processor being connected to the memory, the memory being for storing a computer program, the processor being for executing the computer program stored in the memory to cause the electronic device to perform the method of any one of claims 1-3.
6. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which is executed by a processor to implement the method of any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311133091.1A CN116860146B (en) | 2023-09-05 | 2023-09-05 | K line graph display method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311133091.1A CN116860146B (en) | 2023-09-05 | 2023-09-05 | K line graph display method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116860146A CN116860146A (en) | 2023-10-10 |
CN116860146B true CN116860146B (en) | 2023-11-24 |
Family
ID=88225366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311133091.1A Active CN116860146B (en) | 2023-09-05 | 2023-09-05 | K line graph display method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116860146B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156555A (en) * | 2011-03-08 | 2011-08-17 | 惠州Tcl移动通信有限公司 | Page browsing method and electronic equipment using same |
WO2015096057A1 (en) * | 2013-12-25 | 2015-07-02 | Thomson Licensing | Method and device for scrolling a content on a display screen in response to a tilt angle |
CN105892848A (en) * | 2015-12-31 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Page browsing method and device |
JP2017107290A (en) * | 2015-12-07 | 2017-06-15 | コニカミノルタ株式会社 | Display system, display terminal, display method, and display program |
CN107861624A (en) * | 2017-11-30 | 2018-03-30 | 北京京东尚科信息技术有限公司 | Page control method and system |
CN108664145A (en) * | 2018-05-14 | 2018-10-16 | 珠海格力电器股份有限公司 | Interface display control method and device, storage medium and mobile terminal |
CN109710139A (en) * | 2018-12-20 | 2019-05-03 | 惠州Tcl移动通信有限公司 | A kind of page processing method, device, terminal and storage medium |
CN110427147A (en) * | 2019-07-19 | 2019-11-08 | 无线生活(杭州)信息科技有限公司 | A kind of page location localization method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9181760B2 (en) * | 2013-07-24 | 2015-11-10 | Innovations, Inc. | Motion-based view scrolling with proportional and dynamic modes |
US11328693B2 (en) * | 2019-07-19 | 2022-05-10 | Boe Technology Group Co., Ltd. | Image display device, method, medium and electronic device based on mobile terminal |
-
2023
- 2023-09-05 CN CN202311133091.1A patent/CN116860146B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156555A (en) * | 2011-03-08 | 2011-08-17 | 惠州Tcl移动通信有限公司 | Page browsing method and electronic equipment using same |
WO2015096057A1 (en) * | 2013-12-25 | 2015-07-02 | Thomson Licensing | Method and device for scrolling a content on a display screen in response to a tilt angle |
JP2017107290A (en) * | 2015-12-07 | 2017-06-15 | コニカミノルタ株式会社 | Display system, display terminal, display method, and display program |
CN105892848A (en) * | 2015-12-31 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Page browsing method and device |
CN107861624A (en) * | 2017-11-30 | 2018-03-30 | 北京京东尚科信息技术有限公司 | Page control method and system |
CN108664145A (en) * | 2018-05-14 | 2018-10-16 | 珠海格力电器股份有限公司 | Interface display control method and device, storage medium and mobile terminal |
CN109710139A (en) * | 2018-12-20 | 2019-05-03 | 惠州Tcl移动通信有限公司 | A kind of page processing method, device, terminal and storage medium |
CN110427147A (en) * | 2019-07-19 | 2019-11-08 | 无线生活(杭州)信息科技有限公司 | A kind of page location localization method and device |
Also Published As
Publication number | Publication date |
---|---|
CN116860146A (en) | 2023-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210365165A1 (en) | Method of performing a split-screen display, electronic device, and storage medium | |
CN105677182B (en) | A kind of information processing method and terminal | |
CN107358111B (en) | A kind of method for secret protection and mobile terminal | |
CN103246476B (en) | The spinning solution of a kind of screen content, device and terminal unit | |
CN108463799B (en) | Flexible display of electronic device and operation method thereof | |
CN105872713B (en) | Method and device for displaying additional media information | |
CN111309232B (en) | Display area adjusting method and device | |
CN103425401A (en) | Method for adjusting file playing angle and electronic terminal | |
CN105700789A (en) | Image sending method and terminal device | |
CN108694009B (en) | Terminal control method and device | |
CN105681657A (en) | Shooting focusing method and terminal device | |
CN106250503B (en) | Picture processing method and mobile terminal | |
CN116860146B (en) | K line graph display method and device, electronic equipment and storage medium | |
CN111597009B (en) | Application program display method and device and terminal equipment | |
CN109086113B (en) | Screen capturing method and device and mobile terminal | |
CN111666023B (en) | Interface display method and device, electronic equipment and readable storage medium | |
CN107609433A (en) | Method for secret protection and electronic equipment | |
CN113176904A (en) | Application starting animation adjusting method and device | |
WO2024012416A1 (en) | Display method and apparatus | |
CN110308854B (en) | Method and device for switching display of applications | |
CN112740178B (en) | Small game access method and related equipment | |
CN105549822A (en) | Icon moving method and mobile terminal | |
CN105843504B (en) | A kind of window regulation method and electronic equipment | |
CN105573618A (en) | Play progress control method and device | |
CN113761409A (en) | Interface operation information processing method, equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |