CN110909261A - Time axis processing method, device, equipment and storage medium - Google Patents

Time axis processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN110909261A
CN110909261A CN201911198777.2A CN201911198777A CN110909261A CN 110909261 A CN110909261 A CN 110909261A CN 201911198777 A CN201911198777 A CN 201911198777A CN 110909261 A CN110909261 A CN 110909261A
Authority
CN
China
Prior art keywords
time
time axis
position information
operation position
display
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
CN201911198777.2A
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 Ruian Technology Co Ltd
Original Assignee
Beijing Ruian 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 Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN201911198777.2A priority Critical patent/CN110909261A/en
Publication of CN110909261A publication Critical patent/CN110909261A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a time axis processing method, a time axis processing device, time axis processing equipment and a storage medium, wherein the time axis processing method comprises the following steps: acquiring operation position information of a target object on a time axis display page; determining the time corresponding to the operation position information on a time axis and an event corresponding to the time; time and events are displayed. The technical scheme of the embodiment of the invention can enable the user to timely know the interested time on the time axis and the event corresponding to the interested time, thereby improving the user experience.

Description

Time axis processing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of time axes, in particular to a time axis processing method, a time axis processing device, time axis processing equipment and a storage medium.
Background
The existing tools for recording events or nodes generally comprise a calendar and a time axis, wherein the calendar is generally used for recording small events encountered in daily life, and the time axis can be used for connecting one or more events in series to form a relatively complete recording system according to time sequence through the internet technology, and then is presented to a user in the form of pictures and texts. The existing time shaft can only display time and corresponding events statically or display time and corresponding events in sequence from initial time, and user experience is poor.
Disclosure of Invention
The invention provides a time axis processing method, a time axis processing device, time axis processing equipment and a storage medium, which can enable a user to timely know interested time and corresponding events and improve user experience.
In a first aspect, an embodiment of the present invention provides a timeline processing method, where the method includes:
acquiring operation position information of a target object on a time axis display page;
determining the time corresponding to the operation position information on a time axis and an event corresponding to the time;
displaying the time and the event.
In a second aspect, an embodiment of the present invention further provides a timeline processing apparatus, where the apparatus includes:
the operation position information acquisition module is used for acquiring the operation position information of the target object on a time axis display page;
the information determining module is used for determining the time corresponding to the operation position information on a time axis and the event corresponding to the time;
and the information display module is used for displaying the time and the event.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the timeline processing method according to any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the timeline processing method according to any embodiment of the present invention.
According to the embodiment of the invention, the operation position information of the target object on the time axis display page is acquired, the time corresponding to the operation position information on the time axis and the event corresponding to the time are determined, and then the time and the event are displayed, so that the user can timely know the interested time on the time axis and the event corresponding to the interested time, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1a is a flow chart of a timeline processing method according to a first embodiment of the present invention;
FIG. 1b is a schematic diagram illustrating time display corresponding to a target object performing a sliding operation according to an embodiment of the present invention;
FIG. 1c is a schematic diagram illustrating time display corresponding to a target object performing a click operation according to an embodiment of the present invention;
FIG. 2 is a flowchart of a timeline processing method according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a timeline processing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1a is a flowchart of a timeline processing method according to an embodiment of the present invention, where the embodiment is suitable for a situation where a time axis is used to check a time of interest and a corresponding event, the method may be executed by a timeline processing apparatus, the apparatus may be implemented in software and/or hardware, and the apparatus may be configured in a computer device. As shown in fig. 1, the method may specifically include the following steps:
and S110, acquiring the operation position information of the target object on the time axis display page.
In this embodiment, the time axis is based on a time sequence, and on one hand, events in one or more aspects are connected in series through an internet technology, and a relatively complete recording system is presented to a user in a form of graphics and text, that is, the time axis can display time and events corresponding to corresponding time for the user in a preset time axis display mode. In the process of playing the time axis, the time axis progress bar can also be displayed at the same time, so that a user can intuitively know the playing progress of the time axis. For example, the preset time axis display mode may be that the time and the event corresponding to the time are displayed simultaneously, or only the time is displayed before any operation request of the target object is not received, and after the operation request of the target object is received, the event corresponding to the corresponding time is determined and displayed. Here, the preset display mode is preferably set according to actual needs, and is not particularly limited herein.
For example, the target object may be a target user, and the operation performed by the target object on the timeline display page may preferably be a swipe operation performed on the timeline display page (the swipe operation may be performed by the target object sliding on a touch screen, or the target object may be performed by an external device such as a mouse), or may also be a click operation performed on the timeline display page, or the like (the swipe operation may be performed by the target object clicking on the touch screen, or the target object may be performed by an external device such as a mouse). It should be noted here that the above-mentioned sliding operation and the clicking operation are only examples of operations that can be performed by the target object on the time axis display page, and do not constitute a limitation, and for example, the operations that can be performed by the target object on the time axis display page may also include a dragging operation and the like.
The operation position information may preferably be information corresponding to a position of an operation performed by the target object on the time axis display interface, and the operation position information corresponding to the sliding operation may exemplarily include at least one of start position information corresponding to a start point of the sliding operation, intermediate position information corresponding to each position point passed through during the sliding operation, and end position information corresponding to an end point of the sliding operation.
And S120, determining the time corresponding to the operation position information on the time axis and the event corresponding to the time.
The time periods are different for different front and rear positions (here, front and rear positions are relative to the start position point and the end position point of the time axis) on the time axis. Preferably, if the operation position corresponding to the operation performed by the target object on the time axis display interface is a corresponding position on the time axis, the time corresponding to the time on the time axis and the event corresponding to the time can be determined according to the operation position information.
And S130, displaying time and events.
After the time corresponding to the operation position information on the time axis and the event corresponding to the time are obtained, the time and the event can be displayed at the preset display position according to the preset display mode, wherein the preset display mode can comprise the preset time display mode and the preset event display mode, and the preset display position comprises the preset time display position and the preset event display position. For example, the preset time display position may be a corresponding position above the time axis, and the preset event display position may be a corresponding position below the time axis.
For example, the preset time display mode may include displaying the date, the day of the week and the time point in the time display bullet frame at the same time, displaying the date and the time point in the time display bullet frame at the same time, displaying the day of the week and the time point in the time display bullet frame at the same time, displaying only the time point in the time display bullet frame, and the like.
The time display bullet frame is in any shape, preferably a polygonal bullet frame, a circular bullet frame or an irregular bullet frame, and meanwhile, a corresponding bullet window color can be rendered for the time display bullet frame.
The display style of the date may be either xxxx/xxxx, such as 1990/07/30, or xxxx/xxxx, such as 1990.07.30 or the like; the display pattern of the week may be tuesday, for example wednesday, or wednesday, for example wednesday, etc.; the display style of the time point may be ×: xxx, e.g., 09: 00, etc. Accordingly, corresponding colors may also be rendered for the date, week, and point in time of display. The preset event display mode may include displaying the corresponding event in a text form, displaying the corresponding event in a picture form, displaying the corresponding event in a video form, and the like.
For example, taking the target object to perform the sliding operation on the time axis as an example, the above process is specifically described:
the target object executes the sliding operation on the time axis, and the operation position information corresponding to the sliding operation comprises starting position information corresponding to the starting point of the sliding operation on the time axis, middle position information corresponding to each position point passing through the time axis in the sliding operation process and ending position information corresponding to the ending point of the sliding operation on the time axis. During the sliding operation, the time and event corresponding to the start position information, the time and event corresponding to the intermediate position information and the time and event corresponding to the end position information can be determined. Accordingly, when the sliding operation reaches to which position point, the time and the event corresponding to the position point are displayed. As shown in fig. 1b (colors are all shown in grayscale), the sliding operation slides to a position corresponding to 9 o' clock on friday 23, and at this time, the time can be displayed above the time axis in the form of displaying the time 09 rendered to white in a rectangular time display popup rendered to purple: 00.
according to the time axis processing method provided by the embodiment, the operation position information of the target object on the time axis display page is acquired, the time corresponding to the operation position information on the time axis and the event corresponding to the time are determined, and then the time and the event are displayed, so that a user can timely know the time of interest on the time axis and the event corresponding to the time of interest, and the user experience is improved.
On the basis of the foregoing embodiments, further, after determining the time corresponding to the operation position information on the time axis and the event corresponding to the time, the method further includes:
determining a time proportion according to the time corresponding to the operation position information on the time axis and the total time on the time axis;
and adjusting the display position of the time axis progress bar according to the time proportion.
Preferably, after determining the time corresponding to the operation position information on the time axis and the event corresponding to the time, in addition to displaying the time and the corresponding event, when the operation performed by the target object on the time axis display page is a click operation, the display position of the time axis progress bar may be adjusted to the operation position of the target object so that the time axis progress bar corresponds to the time. It can be understood that, when the target object performs the click operation, the playing progress of the time axis jumps to the time corresponding to the current operation position, and at this time, if the time axis progress bar exists, it is preferable that the time axis progress bar also jumps to the current operation position.
Specifically, the ratio between the time of the operation position information on the time axis and the total time of the time axis can be determined, the ratio between the displayed time axis progress bar and the total length of the time axis progress bar is determined, the display length of the time axis progress bar is determined based on the ratio, and then the display position of the time axis progress bar is determined. Illustratively, the total time of the time axis may be determined by a start time of the time axis and an end time of the time axis. Preferably, the determined time and the total time of the time axis may be converted into milliseconds, respectively, and then the ratio between the time corresponding to the operation position information on the time axis and the total time of the time axis may be determined.
Preferably, the display position of the time axis progress bar may be adjusted in a color rendering manner, specifically, after the display scale of the time axis progress bar is determined, the display length of the time axis progress bar may be determined according to the display scale, and the time axis progress bar to be displayed is rendered into a preset color.
As shown in fig. 1c (colors in the figure are all shown in gray scale), after the target object performs the click operation on the display interface, the length of the timeline progress bar is determined according to the operation position information corresponding to the click operation, the color of the timeline progress bar is rendered to be purple, and the time "friday 2316: 00" corresponding to the operation position information is displayed above the timeline, wherein the color of the time display bullet frame is white, and the color of the font is black.
On the basis of the foregoing embodiments, further, the time axis processing method further includes:
and when the display position of the time axis progress bar is detected to reach the position corresponding to the time axis termination time, adjusting the time axis progress bar to the initial position of the time axis progress bar.
In this embodiment, the time axis progress bar reflects the playing progress of the time axis, and when it is detected that the display position of the time axis progress bar reaches the position corresponding to the time axis ending time, it can be determined that the playing of the time axis is completed. At this time, preferably, the timeline progress bar may be adjusted to the initial position of the timeline progress bar to enable the timeline to be played again.
On the basis of the foregoing embodiments, further, the time axis processing method further includes:
and according to the playing instruction, advancing the time on the time axis based on the equal time interval, displaying the event corresponding to the time, and adjusting the display position of the time axis progress bar at a constant speed.
In this embodiment, in the process of playing the time axis, if the operation request of the target object is not received, the time on the time axis can be played at a constant speed. The time and corresponding events included in the preset time period on the time axis are played at a constant speed, that is, the time and corresponding events included in the preset time period on the time axis are played in each time unit, for example, 2 days/minute, that is, the time and corresponding events included in 2 days on the time axis are played every minute, wherein the specific time included in 2 days can be determined when the time axis is created, for example, 4 times can be included in two days, which are 9:00 am on the first day, 14:00 pm on the first day, 9:00 am on the second day, and 14:00 pm on the second day, respectively. The time axis is played at a constant speed, the display position of the time axis progress bar can be preferably adjusted at a constant speed, and the length of the time axis progress bar is increased at a constant speed.
On the basis of the foregoing embodiments, further before acquiring the operation position information of the target object on the time axis display page, the method further includes:
determining time axis content according to the acquired time axis starting time and the acquired time axis ending time, wherein the time axis content comprises time axis starting date, time axis ending date, date between the time axis starting time and the time axis ending time and week corresponding to the corresponding date;
the time axis is initialized and rendered in the display page.
In this embodiment, before obtaining the operation position information of the target object on the time axis display page, it is preferable to create a time axis container, where the time axis container includes time axis content, a time axis list, a time module, and the like. The time axis content preferably includes a time axis starting date, a time axis ending date, a date between the time axis starting time and the time axis ending time, a week corresponding to the corresponding date, and the like; the timeline list may include a corresponding list between weeks and dates; the time module may include a timeline progress bar and a time display bullet box, among others.
After the time axis start time and the time axis end time are acquired, the date interval and the corresponding relationship between the date and the week can be determined according to the time axis start date and the time axis end date, and then the time axis content can be determined. After the time axis content is determined, the time axis is initialized so that the time axis corresponds to the determined time axis content.
On the basis of the foregoing embodiments, further, initializing the time axis includes initializing a style of the time axis, where the style includes at least one of a display manner of the time axis, a button type of the time axis, and a color of the progress bar.
Initializing the time axis may include initializing the content of the time axis and may also include initializing the style of the time axis.
The style of the time axis preferably includes a display manner of the time axis, for example, the display manner of the time axis may be a vertical display, a horizontal display, or an inclined display.
The style of the time axis may preferably further include a button type of the time axis, and the buttons may include at least one of a start button, a pause button, and an end button, for example, wherein the start button and the pause button may be generally combined into one button so as to perform the corresponding operation. The start button can control the time shaft to play at a constant speed or a non-constant speed according to a time sequence until the playing is finished. The pause button can control the timeline to pause, and the stop button can control the timeline to stop playing.
In addition, the style of the timeline may further include at least one of a timeline progress bar color, a time display bullet box inner font color, a timeline color, and a timeline inner font color.
Example two
Fig. 2 is a flowchart of a timeline processing method according to a second embodiment of the present invention. This embodiment may be combined with any optional solutions in one or more of the above embodiments, and in this embodiment, determining a time corresponding to the operation position information on a time axis includes:
determining a current time axis coordinate corresponding to the corresponding operation according to the operation position information, wherein the current time axis coordinate is a time axis coordinate corresponding to a current display time area of the time axis in the time axis display page;
and determining the time corresponding to the operation position information on a time axis according to the time axis coordinate offset and the current time axis coordinate, wherein the time axis coordinate offset is the coordinate offset of the current display time area relative to the time axis starting time.
As shown in fig. 2, the method of this embodiment specifically includes:
s210, acquiring operation position information of the target object on a time axis display page.
And S220, determining the current time axis coordinate corresponding to the corresponding operation according to the operation position information, wherein the current time axis coordinate is the time axis coordinate corresponding to the current display time area of the time axis in the time axis display page.
Preferably, the corresponding operation includes a slide operation or a click operation of the target object performed on the time axis display page.
In this embodiment, the current time axis coordinate corresponding to the corresponding operation may be determined according to the corresponding coordinate on the terminal screen by the corresponding operation, and by combining the conversion relationship between the screen coordinate and the time axis display interface coordinate. Illustratively, the initial coordinate value of the current display time region of the time axis is 0, and the step size between each two adjacent coordinates can be set according to the actual situation, for example, the step size can be 1 mm. Preferably, for each step, the current coordinate value of the time axis can be increased by 1.
And S230, determining the time corresponding to the operation position information on the time axis according to the time axis coordinate offset and the current time axis coordinate, wherein the time axis coordinate offset is the coordinate offset of the current display time area relative to the time axis starting time.
In this case, it is preferable that the actual time axis coordinate corresponding to the operation position information on the time axis is determined according to the time axis coordinate offset and the current time axis coordinate. And determining corresponding time according to the actual time axis coordinate, the time axis initial coordinate, the time corresponding to the time axis initial coordinate and the time period corresponding to each coordinate.
In creating the time axis, time axis coordinates may be set in advance, for example, the initial coordinate value of the whole time axis coordinate may be 0, or may not be 0, and the step length between adjacent coordinates on the whole time axis may be set according to the actual situation, for example, the step length may be 1 mm. Preferably, every time a step is added, the coordinate value of the time axis can be correspondingly added by 1.
It should be noted that, the step length between each adjacent coordinate in the current display time region of the time axis is the same as the step length between adjacent coordinates on the whole time axis, and the variation corresponding to the current time axis coordinate value is the same as the variation corresponding to the time axis coordinate value every time the step length is increased.
Preferably, the determining, according to the time axis coordinate offset and the current time axis coordinate, the time corresponding to the operation position information on the time axis includes:
determining an actual time axis coordinate corresponding to the operation position information according to the time axis coordinate offset and the current time axis coordinate;
and determining the time corresponding to the operation position information on the time axis according to the first millisecond value corresponding to the actual time axis coordinate, the second millisecond value corresponding to the time axis starting coordinate and the time axis starting time.
Preferably, each time axis coordinate may correspond to one millisecond value (but, when displayed, a specific date and a specific time) when the time axis is created, and after the actual time axis coordinate corresponding to the operation position information is determined, the first millisecond value corresponding to the actual time axis coordinate may be determined. And determining a millisecond difference value between the operation position and the time axis starting position according to the first millisecond value and a second millisecond value corresponding to the time axis starting coordinate, converting the millisecond difference value into a corresponding time difference value on a time axis, and adding the time difference value on the basis of the time axis starting time, namely the time corresponding to the operation position information on the time axis.
Illustratively, the first millisecond value corresponding to the actual time axis coordinate is 259200, the second millisecond value corresponding to the time axis starting coordinate is 86400, and the time axis starting time is 9 am # 23, if the millisecond difference between the first millisecond value 259200 and the second millisecond value 86400 is 172800, that is, if the difference between the first millisecond value and the second millisecond value is two days, the time corresponding to the actual time axis coordinate is 9 am # 25, which is the time corresponding to the operation position information on the time axis.
And S240, determining the event corresponding to the time.
And S250, displaying time and events.
In the time axis processing method provided by the embodiment, operation position information of a target object on a time axis display page is acquired, and a current time axis coordinate corresponding to a corresponding operation is determined according to the operation position information, where the current time axis coordinate is a time axis coordinate corresponding to a current display time region of a time axis in the time axis display page; according to the time axis coordinate offset and the current time axis coordinate, the time corresponding to the operation position information on the time axis is determined, the time axis coordinate offset is the coordinate offset of the current display time area relative to the time axis starting time, the event corresponding to the time is determined, then the time and the event are displayed, the time of interest on the time axis and the event corresponding to the time of interest can be obtained by a user in time, and the user experience is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a timeline processing apparatus according to a third embodiment of the present invention. As shown in fig. 3, the apparatus of the present embodiment includes:
an operation position information obtaining module 310, configured to obtain operation position information of a target object on a time axis display page;
an information determining module 320, configured to determine a time corresponding to the operation position information on a time axis and an event corresponding to the time;
and an information display module 330 for displaying time and events.
According to the time axis processing device provided by the embodiment, the operation position information of the target object on the time axis display page is acquired by the operation position information acquisition module, the time corresponding to the operation position information on the time axis and the event corresponding to the time are determined by the information determination module, and then the time and the event are displayed by the information display module, so that a user can timely know the time of interest on the time axis and the event corresponding to the time of interest, and the user experience is improved.
On the basis of the above technical solutions, optionally, the information determining module 320 may include:
the current time axis coordinate determining unit is used for determining the current time axis coordinate corresponding to the corresponding operation according to the operation position information, and the current time axis coordinate is the time axis coordinate corresponding to the current display time area of the time axis in the time axis display page;
and the time determining unit is used for determining the time corresponding to the operation position information on the time axis according to the time axis coordinate offset and the current time axis coordinate, wherein the time axis coordinate offset is the coordinate offset of the current display time area relative to the time axis starting time.
On the basis of the above technical solutions, optionally, the time determining unit may include:
the actual time axis coordinate determining subunit is used for determining the actual time axis coordinate corresponding to the operation position information according to the time axis coordinate offset and the current time axis coordinate;
and the time determining subunit is used for determining the time corresponding to the operation position information on the time axis according to the first millisecond value corresponding to the actual time axis coordinate, the second millisecond value corresponding to the time axis starting coordinate and the time axis starting time.
On the basis of the above technical solutions, optionally, the corresponding operation includes a sliding operation or a clicking operation performed by the target object on the time axis display page.
On the basis of the above technical solutions, optionally, the time axis processing apparatus may further include:
the time proportion determining module is used for determining the time proportion according to the time corresponding to the operation position information on the time axis and the total time on the time axis after determining the time corresponding to the operation position information on the time axis and the event corresponding to the time;
and the first progress bar adjusting module is used for adjusting the display position of the time axis progress bar according to the time proportion.
On the basis of the foregoing technical solutions, optionally, the time axis processing apparatus may further include a second progress bar adjusting module, configured to adjust the time axis progress bar to an initial position of the time axis progress bar when it is detected that the display position of the time axis progress bar reaches a position corresponding to the time axis end time.
On the basis of the above technical solutions, optionally, the time axis processing apparatus may further include a constant speed adjustment module, configured to advance time on the time axis based on the equal time interval according to the play instruction, display an event corresponding to the time, and adjust a display position of the time axis progress bar at a constant speed.
On the basis of the foregoing technical solutions, optionally, the time axis processing apparatus may further include a time axis creating module, configured to determine time axis content according to the acquired time axis starting time and time axis ending time before acquiring the operation position information of the target object on the time axis display page, where the time axis content includes a time axis starting date, a time axis ending date, a date between the time axis starting time and the time axis ending time, and a week corresponding to the corresponding date;
the time axis is initialized and rendered in the display page.
On the basis of the above technical solutions, optionally, the time axis creating module may be specifically configured to initialize a style of the time axis, where the style includes at least one of a display mode of the time axis, a button type of the time axis, and a color of the progress bar.
The time axis processing device provided by the embodiment of the invention can execute the time axis processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 412 suitable for use in implementing embodiments of the present invention. The computer device 412 shown in FIG. 4 is only one example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 412 is in the form of a general purpose computing device. Components of computer device 412 may include, but are not limited to: one or more processors 416, a memory 428, and a bus 418 that couples the various system components (including the memory 428 and the processors 416).
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 428 can include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)430 and/or cache memory 432. The computer device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Memory 428 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in memory 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The computer device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 424, etc., where the display 424 may be configurable or not as desired), one or more devices that enable a user to interact with the computer device 412, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, computer device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) through network adapter 420. As shown, network adapter 420 communicates with the other modules of computer device 412 over bus 418. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with the computer device 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage, among others.
The processor 416 executes various functional applications and data processing, for example, implementing the timeline processing method provided by the embodiments of the present invention, by executing programs stored in the memory 428.
EXAMPLE five
Fifth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a timeline processing method according to a fifth embodiment of the present invention, where the computer program includes:
acquiring operation position information of a target object on a time axis display page;
determining the time corresponding to the operation position information on a time axis and an event corresponding to the time;
time and events are displayed.
Of course, the computer-readable storage medium provided by the embodiments of the present invention, on which the computer program is stored, is not limited to performing the method operations described above, and may also perform related operations in the computer device based timeline processing method provided by any embodiments of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A timeline processing method, comprising:
acquiring operation position information of a target object on a time axis display page;
determining the time corresponding to the operation position information on a time axis and an event corresponding to the time;
displaying the time and the event.
2. The method of claim 1, wherein determining the time corresponding to the operation position information on a time axis comprises:
determining a current time axis coordinate corresponding to the corresponding operation according to the operation position information, wherein the current time axis coordinate is a time axis coordinate corresponding to a current display time area of the time axis in the time axis display page;
and determining the time corresponding to the operation position information on a time axis according to the time axis coordinate offset and the current time axis coordinate, wherein the time axis coordinate offset is the coordinate offset of the current display time area relative to the time axis starting time.
3. The method of claim 2, wherein determining the time corresponding to the operation position information on the time axis according to the time axis coordinate offset and the current time axis coordinate comprises:
determining an actual time axis coordinate corresponding to the operation position information according to the time axis coordinate offset and the current time axis coordinate;
and determining the time corresponding to the operation position information on the time axis according to the first millisecond value corresponding to the actual time axis coordinate, the second millisecond value corresponding to the time axis starting coordinate and the time axis starting time.
4. The method according to claim 2, wherein the respective operation comprises a swipe operation or a click operation performed by the target object on the timeline display page.
5. The method of claim 1, further comprising, after determining a time corresponding to the operation position information on the time axis and an event corresponding to the time, the step of:
determining the time proportion according to the time corresponding to the operation position information on the time axis and the total time on the time axis;
and adjusting the display position of the time axis progress bar according to the time proportion.
6. The method of claim 5, further comprising:
and when the display position of the time axis progress bar is detected to reach the position corresponding to the time axis termination time, adjusting the time axis progress bar to the initial position of the time axis progress bar.
7. The method of claim 5, further comprising:
and according to the playing instruction, advancing the time on the time axis based on the equal time interval, displaying the event corresponding to the time, and uniformly adjusting the display position of the time axis progress bar.
8. The method according to claim 5, before acquiring the operation position information of the target object on the time axis display page, further comprising:
determining time axis content according to the acquired time axis starting time and the acquired time axis ending time, wherein the time axis content comprises time axis starting date, time axis ending date, date between the time axis starting time and the time axis ending time and week corresponding to the corresponding date;
initializing the time axis and rendering the time axis in a display page.
9. The method of claim 8, wherein initializing the timeline comprises initializing a style of the timeline, wherein the style comprises at least one of a presentation of the timeline, a button type of the timeline, and a progress bar color.
10. A timeline processing apparatus, characterized by comprising:
the operation position information acquisition module is used for acquiring the operation position information of the target object on a time axis display page;
the information determining module is used for determining the time corresponding to the operation position information on a time axis and the event corresponding to the time;
and the information display module is used for displaying the time and the event.
11. A computer device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the timeline processing method of any of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the timeline processing method according to any of claims 1-9.
CN201911198777.2A 2019-11-29 2019-11-29 Time axis processing method, device, equipment and storage medium Pending CN110909261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911198777.2A CN110909261A (en) 2019-11-29 2019-11-29 Time axis processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911198777.2A CN110909261A (en) 2019-11-29 2019-11-29 Time axis processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110909261A true CN110909261A (en) 2020-03-24

Family

ID=69820607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911198777.2A Pending CN110909261A (en) 2019-11-29 2019-11-29 Time axis processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110909261A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953920A (en) * 2020-08-14 2020-11-17 杭州视洞科技有限公司 Historical video data display and interaction in vertical time axis mode
CN115954079A (en) * 2022-12-21 2023-04-11 北京和兴创联健康科技有限公司 ICU patient diagnosis and treatment data visualization display method based on data aggregation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477438A (en) * 2009-01-24 2009-07-08 无锡迈思奇科技有限公司 Coordinate axis transform method
US20110122247A1 (en) * 2009-11-25 2011-05-26 Lg Electronics Inc. Surveillance system
CN103412957A (en) * 2013-08-30 2013-11-27 天脉聚源(北京)传媒科技有限公司 Data display method and device based on time axis

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477438A (en) * 2009-01-24 2009-07-08 无锡迈思奇科技有限公司 Coordinate axis transform method
US20110122247A1 (en) * 2009-11-25 2011-05-26 Lg Electronics Inc. Surveillance system
CN103412957A (en) * 2013-08-30 2013-11-27 天脉聚源(北京)传媒科技有限公司 Data display method and device based on time axis

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953920A (en) * 2020-08-14 2020-11-17 杭州视洞科技有限公司 Historical video data display and interaction in vertical time axis mode
CN115954079A (en) * 2022-12-21 2023-04-11 北京和兴创联健康科技有限公司 ICU patient diagnosis and treatment data visualization display method based on data aggregation

Similar Documents

Publication Publication Date Title
CN110297550B (en) Label display method and device, screen throwing equipment, terminal and storage medium
TWI453603B (en) Platform independent information handling system, communication method, and computer program product thereof
CN111324252B (en) Display control method and device in live broadcast platform, storage medium and electronic equipment
CN111882634B (en) Image rendering method, device, equipment and storage medium
CN110990090A (en) Dynamic wallpaper display method, device and computer readable medium
CN114237419B (en) Display device and touch event identification method
US11516169B2 (en) Electronic messaging platform that allows users to change the content and attachments of messages after sending
CN108492349B (en) Processing method, device and equipment for writing strokes and storage medium
CN110909261A (en) Time axis processing method, device, equipment and storage medium
CN111428165A (en) Three-dimensional model display method and device and electronic equipment
CN113741753A (en) Revocation method, electronic device, storage medium, and computer program product
CN111918102A (en) Bullet screen management method, bullet screen management device, bullet screen management equipment and storage medium
CN112000412A (en) Data acquisition method, device, equipment and storage medium
CN112085480A (en) Conference assistance system, method, electronic device, and storage medium
CN110075519B (en) Information processing method and device in virtual reality, storage medium and electronic equipment
US20180004374A1 (en) Process visualization toolkit
EP3103081B1 (en) Collaborative group video production system
CN107391015B (en) Control method, device and equipment of intelligent tablet and storage medium
CN112492399B (en) Information display method and device and electronic equipment
CN113419711A (en) Page guiding method and device, electronic equipment and storage medium
CN107885807B (en) File saving method and device, intelligent tablet and storage medium
CN105468206B (en) Interactive demonstration method and equipment
CN111026463B (en) Page loading method, device, equipment and storage medium
CN114245193A (en) Display control method and device and electronic equipment
CN113559503A (en) Video generation method, device and computer readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200324