CN112784179A - Class information display method, device, equipment and storage medium - Google Patents

Class information display method, device, equipment and storage medium Download PDF

Info

Publication number
CN112784179A
CN112784179A CN202110130834.4A CN202110130834A CN112784179A CN 112784179 A CN112784179 A CN 112784179A CN 202110130834 A CN202110130834 A CN 202110130834A CN 112784179 A CN112784179 A CN 112784179A
Authority
CN
China
Prior art keywords
time
information
time index
user
shifts
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.)
Granted
Application number
CN202110130834.4A
Other languages
Chinese (zh)
Other versions
CN112784179B (en
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.)
Hanhai Information Technology Shanghai Co Ltd
Original Assignee
Hanhai Information Technology Shanghai 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 Hanhai Information Technology Shanghai Co Ltd filed Critical Hanhai Information Technology Shanghai Co Ltd
Priority to CN202110130834.4A priority Critical patent/CN112784179B/en
Publication of CN112784179A publication Critical patent/CN112784179A/en
Application granted granted Critical
Publication of CN112784179B publication Critical patent/CN112784179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/951Indexing; Web crawling techniques
    • 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)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a shift information display method, a shift information display device, equipment and a storage medium, belongs to the technical field of information processing, and aims to provide more convenient shift search for a user, wherein the method comprises the following steps: obtaining time information of a plurality of shifts from the departure place to the destination according to the departure place and the destination in the search request; clustering the time information of each of the plurality of shifts to obtain a plurality of time index information; generating a time index axis according to the plurality of time index information; and displaying the detail information of each of the shifts on a user interactive interface, and displaying the time index axis on the user interactive interface in a floating manner.

Description

Class information display method, device, equipment and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a shift information display method, apparatus, device, and storage medium.
Background
With the development of internet technology, some network platforms provide users with online shift searches, for example, online train ticket searches, air ticket searches, and the like. Generally speaking, the number of shifts B which can be selected by a user is very large, the shifts have different departure times and arrival times, the operation cost of inquiring the shift with proper time by the user is high, and under the condition that the ticket is tense, the operation efficiency of the process of inquiring the shift is low, so that the user always misses the ticket purchasing opportunity.
Disclosure of Invention
In order to solve the above problems, the present application provides a shift information display method, apparatus, device and storage medium, and aims to provide a more convenient shift search for a user.
In a first aspect of the embodiments of the present application, a shift information display method is provided, where the method includes:
obtaining time information of a plurality of shifts from the departure place to the destination according to the departure place and the destination in the search request;
clustering the time information of each of the plurality of shifts to obtain a plurality of time index information;
generating a time index axis according to the plurality of time index information;
and displaying the detail information of each of the shifts on a user interactive interface, and displaying the time index axis on the user interactive interface in a floating manner.
Optionally, clustering the time information of each of the plurality of shifts to obtain a plurality of time index information, including:
dividing a preset time period according to the time span of a preset time length to obtain a plurality of time intervals, wherein two adjacent time intervals have a common time endpoint;
determining time intervals in which the respective time information of the shifts falls from the time intervals, and filtering out the time intervals in which the time intervals do not fall;
and respectively determining the time endpoints of the time intervals in which the shifts respectively fall as time index information.
Optionally, after obtaining time information for a plurality of shifts from the departure location to the destination, the method further comprises:
displaying the calendar information and the respective detail information of the plurality of shifts on a user interaction interface;
displaying the time index axis on the user interaction interface in a floating manner, wherein the displaying comprises:
hiding the calendar information and displaying the time index axis on the user interaction interface in a floating manner when the preset operation of a user in a first operation direction of the user interaction interface containing the calendar information is detected;
after hiding the calendar information and hover presenting the time index axis over the user interaction interface, the method further comprises:
when the preset operation of a user in a second operation direction of a user interaction interface containing a time index axis is detected, hiding the time index axis and recovering the display of calendar information on the user interaction interface, wherein the second operation direction is different from the first operation direction.
Optionally, after the time index axis is hover-presented on the user interaction interface, the method further comprises:
when preset operation of a user for target time index information on the time index shaft is detected, screening at least one target shift corresponding to the target time index information from the multiple shifts;
and displaying the at least one target shift on a user interactive interface.
Optionally, generating a time index axis according to the plurality of time index information includes:
sequentially arranging the plurality of time index information according to a preset first ordering mode, arranging at least one interaction option behind the plurality of time index information, and generating a time index axis of the first ordering mode, wherein the at least one interaction option is used for a user to inquire shift times, and perform ticket supplementing operation or ordering operation;
after the time-indexed axis is hover-presented on the user-interactive interface, the method further comprises:
when the switching operation that the user switches the first sequencing mode into the second sequencing mode is detected, the plurality of time index information are sequentially arranged according to the second sequencing mode, the at least one interaction option is arranged behind the plurality of time index information, a time index axis of the second sequencing mode is generated, and the time index axis of the first sequencing mode displayed on the user interaction interface in a suspension mode is updated to the time index axis of the second sequencing mode.
Optionally, after the time index axis is hover-presented on the user interaction interface, the method further comprises:
when a preset operation aiming at a first operation duration of target time index information on the time index shaft is detected, keeping each time index information on the time index shaft displayed in a first display mode, and displaying the target time index information in a second display mode in a preset display area around the target time index information;
and when the preset operation aiming at the second operation duration of the time index shaft is detected, displaying the respective detail information of each shift corresponding to the sliding operation on a user interaction interface according to the sliding operation of the user on each time index information on the time index shaft.
In a second aspect of the embodiments of the present application, there is provided a shift information display apparatus, including:
the time information acquisition module is used for acquiring time information of a plurality of times from the departure place to the destination according to the departure place and the destination in the search request;
the clustering module is used for clustering the time information of each of the shifts to obtain a plurality of time index information;
the index axis generating module is used for generating a time index axis according to the time index information;
and the display module is used for displaying the respective detail information of the shifts on a user interactive interface and displaying the time index axis on the user interactive interface in a suspension manner.
An embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when executed, the processor implements the shift information display method according to the first aspect or the second aspect.
The present application further provides a non-transitory computer-readable storage medium, and when instructions in the storage medium are executed by a processor, the operations performed by the shift information display method according to any one of the first aspect or the second aspect may be performed.
According to the method and the device, time information of a plurality of shifts from the departure place to the destination can be obtained according to the departure place and the destination in the search request; clustering respective time information of a plurality of shifts to obtain a plurality of time index information; generating a time index axis according to the plurality of time index information; when the detail information of each of the shifts is displayed on the user interaction interface, the time index axis is displayed on the user interaction interface in a floating mode.
In the embodiment of the application, the time index axis is generated according to the plurality of time index information, and the time index information is obtained by clustering the respective time information of the plurality of shifts, so that one time on the time index axis can correspond to the shift of the corresponding time information. Therefore, the time information of the shift can be used as the dimension to help the user to inquire the shift more accurately, the user can search the shift corresponding to the time information according to the time in the time index shaft displayed in a suspension mode, the user can be helped to quickly locate the shift of a certain departure time through the time index shaft, the time for the user to inquire the shift of the proper departure time is shortened, the shift search of the user is simplified, and the user experience is optimized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments or the related art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic flowchart illustrating steps of a shift information display method according to an embodiment of the present application;
FIG. 2 is a schematic interface diagram illustrating a time index axis displayed on a user interaction interface according to an embodiment of the present application;
FIG. 3 is a schematic diagram of another interface after a time index axis is displayed on a user interaction interface according to an embodiment of the application;
FIG. 4 is a flowchart illustrating a process for clustering temporal information of each of a plurality of shifts according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a user interaction interface in one scenario presented in one embodiment of the present application;
FIG. 6 is a schematic diagram of a user interaction interface in yet another scenario illustrated by an embodiment of the present application;
FIG. 7 is a schematic diagram of a user interface for displaying target time index information in an enlarged manner according to an embodiment of the present application;
fig. 8 is a frame diagram of a shift information display device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
In the related art, a user needs to quickly query a certain departure time or a certain arrival time among a plurality of returned shifts, for example, the user needs to query a shift of departure 10 am, and often needs to look up the shift one by one among the plurality of shifts before finding the shift, when the number of shifts is large, the time consumed by the user for querying is long, and the querying efficiency is greatly reduced.
In view of this, the present application aims to provide a technical scheme that can help a user improve shift efficiency for finding a certain departure time or a certain arrival time, and the technical scheme mainly adopts the following technical concepts: according to the searched time information of the shifts, a time index shaft is generated, the time index shaft can represent the searched departure time intervals or arrival time intervals of the shifts, and the time index shaft is displayed on the user interaction interface, so that when a user clicks the time on the time index shaft, the shift corresponding to the clicked time can be displayed on the user interaction interface, and the searching efficiency of the user for searching a shift according to the departure time or the arrival time is improved.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a shift information display method according to an embodiment of the present application, and as shown in fig. 1, the method may specifically include the following steps:
step S101: and obtaining time information of a plurality of shifts from the departure place to the destination according to the departure place and the destination in the search request.
In this embodiment, the search request may be sent from the client to the server, where the search request may carry a departure location and a destination, and certainly, the search request may also carry a departure date, so that the server may search a plurality of shifts from the departure location to the destination according to the departure location and the destination in the search request, where each shift in the plurality of shifts may include a departure time and an arrival time, and the departure time and the arrival time of each shift may be used as time information of the shift, so that respective time information of the plurality of shifts may be obtained.
In specific implementation, the server may return the time information of multiple shifts to the client, or the server may store the time information of multiple shifts. When the time information of each of the plurality of shifts is obtained, the detail information of each of the plurality of shifts may be obtained, and the detail information of the plurality of shifts may include information such as departure time, departure place, destination, arrival time, number of vehicles, fare, transfer place, and the like of the shift. The server can return the respective detail information of the multiple shifts to the client, so that the client can display the respective detail information of the multiple shifts on the user interaction interface in a list form.
Step S102: and clustering the time information of each of the plurality of shifts to obtain a plurality of time index information.
In this embodiment, if the server sends the time information of multiple shifts to the client, the client may cluster the time information of the multiple shifts, or the server may cluster the time information of the multiple shifts.
Wherein clustering the respective time information of the plurality of shifts may refer to: the time information of departure time in the same time interval is clustered into a group, so that a plurality of groups of clustered departure time can be obtained, a plurality of time index information can be obtained according to the time interval of the departure time in which the plurality of groups of clustered departure time are located, and one time index information can correspond to one group of time interval. Of course, in the clustering, clustering may also be performed according to the arrival time, which is not limited in the present application.
As described above, clustering the time information of each of the plurality of shifts corresponds to statistically listing the departure times or arrival times of the plurality of shifts by time intervals. For example, if departure time for shift A is 6:35 am, departure time for shift B is 8:35 am, departure time for shift C is 1:35 pm, and the time interval is set to 1 hour, the time index information for shifts A, B and C would be 6-7 hours, 8-9 hours, and 13-14 hours, respectively.
Step S103: and generating a time index axis according to the plurality of time index information.
In this embodiment, after obtaining the plurality of time index information, since one time index information corresponds to one group of time intervals, the plurality of time intervals can be obtained, and thus, a time index axis can be generated according to the time intervals, the time index axis can include time endpoints of the plurality of time intervals, and one time endpoint corresponds to one time value. Therefore, a plurality of time values can be arranged on the time index axis, and one time value can correspond to the time information falling into the time interval of the time value, so that the shift of the corresponding time information is obtained. One time on the time index axis may be associated with the shift corresponding to the time information, for example, clicking the time value of 8 points may correspond to 8 points to 9 shift for departure.
Step S101: and displaying the detail information of each of the shifts on a user interactive interface, and displaying the time index axis on the user interactive interface in a floating manner.
In this embodiment, the server may send the respective detail information of the multiple shifts to the client, so that the client may display the respective detail information of the shifts on the user interaction interface, and meanwhile, when the server generates the time index axis, the server may also send the time index axis to the client, and the client may also display the time index axis on the user interaction interface in a suspended manner. When the time index axis is displayed, the time index axis can be positioned on the left side or the right side of the user interaction interface and is displayed in a floating mode in the form of an index bar.
Referring to fig. 2, a schematic interface diagram is shown after a time index axis is displayed on the user interaction interface, where the time index axis is shown as a gray bar floating frame on the right side in fig. 2, the time index axis is displayed on the right side of the user interaction interface in a floating manner, and the detail information of each of a plurality of shifts is displayed in the middle position of the user interaction interface.
By adopting the technical scheme of the embodiment of the application, because a plurality of time values can be arranged on the time index shaft, one time value can correspond to the time information falling into the time interval of the time value, and thus, one time on the time index shaft can be related to the shift of the corresponding time information. Therefore, the user can search the time on the time index axis, so that the corresponding shift of the time information is obtained, the user is helped to quickly locate a shift at a certain departure time or a certain arrival time, the time for the user to inquire a proper shift is shortened, the shift search of the user is simplified, and the user experience is optimized.
Referring to fig. 3, an interface diagram of a user interaction interface is shown, and as shown in fig. 3, information presented on the user interaction interface may include details of a plurality of searched shifts, calendar information, and various types of shifts, for example, a shift of a transit type and a shift of a boarding ticket type. In this manner, multiple types of shifts may be provided to the user on the interactive interface to assist the user in successfully querying for shifts that may reach the destination. Wherein the calendar information is primarily used to assist the user in searching for a shift on which date.
Referring to fig. 3, a shift information display method according to an embodiment of the present application is described in detail.
First, referring to fig. 4, a flowchart illustrating a step of clustering time information of each of a plurality of shifts is shown, and as shown in fig. 4, the method may specifically include the following steps:
step S1021: and dividing the preset time period according to the time span of the preset time length to obtain a plurality of time intervals.
Wherein, two adjacent time intervals have a common time endpoint.
In this embodiment, the time span of the preset duration may refer to a time division standard for dividing the time interval, for example, if 1 hour is used as a time span, the time interval may be divided based on 1 hour. Wherein, the duration of one time interval is the duration corresponding to the time span.
The preset time period may be one day, for example, 24 hours. The 24 hours of the day may be divided into a plurality of time intervals on a time span basis. For example, with 1 hour as a time span, 24 hours of a day may be divided into 24 time intervals.
In a specific implementation, when a preset time period is divided according to a time span, the divided time interval corresponds to two time endpoints, namely a start time point and an end time point, and two adjacent time intervals have a common time endpoint. For example, when dividing 24 hours of a day into a plurality of time intervals according to a time span of 1 hour, the obtained first time interval may be 0:00 to 1:00, a starting time point of 0:00, an ending time point of 1:00, a second time interval of 1:00 to 2:00, the second time interval having a common time endpoint of 1:00 with the first time interval.
Step S1022: and determining time intervals in which the respective time information of the shifts falls from the time intervals, and filtering the time intervals in which the time intervals do not fall.
In this embodiment, a time interval in which the departure time of each of the plurality of shifts falls may be determined, or a time interval in which the arrival time of each of the plurality of shifts falls may be determined. In this way, shifts falling into the same time interval can be clustered into a group.
Of course, in some cases, some time intervals may not have time information of the corresponding shift, which is equivalent to that there is no shift departure or arrival in the time interval, so that the time intervals in which no time information falls can be filtered, and thus the remaining time intervals are all the intervals in which time information falls.
Step S1023: and respectively determining the time endpoints of the time intervals in which the shifts respectively fall as time index information.
In this embodiment, when a preset time period is divided according to a time span, the divided time interval corresponds to two time endpoints, so that the two time endpoints corresponding to the remaining time intervals can be used as time index information. For example, if the remaining time interval is 6:00 to 7:00, 6 points and 7 points may be respectively used as the time index information, and then, a plurality of time index information may be obtained.
For example, as shown in fig. 1, each time on the time index axis shown on the right side is a time index information, for example, the time shown has 5 o 'clock, 6 o' clock, 7 o 'clock, 8 o' clock, etc., and these times are all time index information.
Accordingly, after obtaining the plurality of time index information, the time index axis may be generated according to the plurality of time index information, and in this embodiment, the arrangement order of each time index information in the time index axis may be set and updated, for example, the arrangement order may be set as a first arrangement order, or the first arrangement order may be updated to a second arrangement order after the arrangement order is set as the first arrangement order, so that two selectable index time arrangement orders are provided for a user, so as to meet different operation habits of different users.
Since the information presented on the user interactive interface may include the searched details information of the plurality of shifts, the calendar information, and the plurality of shift types selectable, at least one interactive option may also be preset on the time index axis. And the at least one interactive option is used for the user to inquire the transfer number, perform ticket supplementing operation or order operation. In this manner, the user may be helped to successfully query for shifts that may reach the destination.
Specifically, the plurality of time index information may be sequentially arranged according to a preset first order, and the time index axis of the first order may be generated by arranging at least one interaction option after the plurality of time index information.
In this embodiment, the first ordering manner may refer to a time ordering manner, for example, a manner of ordering according to a time sequence, so that the time index axis may be generated according to the time sequence of the plurality of time index information.
In this embodiment, at least one interaction option may be listed in the time index axis, and since the at least one interaction option may correspond to a query transfer shift, a ticket replenishment shift, or a meal ordering operation, the interaction options may be arranged after the plurality of time index information that have been arranged in the first order, so as to obtain the time index axis.
When a switching operation that a user switches the first sorting mode into the second sorting mode is detected, the plurality of time index information may be sequentially arranged according to the second sorting mode, at least one interaction option is arranged after the plurality of time index information, a time index axis of the second sorting mode is generated, and the time index axis of the first sorting mode displayed in a suspended manner on the user interaction interface is updated to the time index axis of the second sorting mode.
In this embodiment, the second sorting manner may be a sorting manner opposite to the first sorting manner, for example, the first sorting manner is a time sequence of the time index information, that is, a positive time sequence, in which time index information with an earlier time point is arranged before and time index information with a later time point is arranged after. Thus, the second sorting manner may be a reverse time arrangement, in which the time index information with an earlier time point is arranged later and the time index information with a later time point is arranged earlier.
For example, when the time indexes are arranged according to the second sorting manner, the time index information of 24 to 5 points is arranged on the time index axis, and then the time index information of 4 to 1 point is arranged.
Of course, whether arranged in the second sorting manner or the first sorting manner, in an example, to facilitate the search of the user, the time index information of the time interval with higher departure frequency may be arranged in front, and the time index information of the time interval with lower departure frequency may be arranged in the back. Specifically, after the plurality of time index information corresponding to the preset time interval are screened out from the plurality of time index information, the remaining time index information may be arranged according to a first sorting manner or a second sorting manner, and the screened plurality of time index information may be arranged after the remaining time index information according to the first sorting manner or the second sorting manner.
For example, as shown in fig. 3, the time index information of 6 to 24 points is arranged on the time index axis, and then the time index information of 1 to 5 points is arranged. In this way, time information for a shift having a higher departure frequency after 5 points can be arranged in front of the time index axis to facilitate user search.
In this way, the client or the server may generate a time index axis meeting the user requirement according to the sorting requirement of the user on the time information on the time index axis, and the plurality of time index information on the time index axis may be arranged according to the arrangement order required by the user.
As shown in fig. 3, in the case where the information presented on the user interactive interface may include the searched detail information of the plurality of shifts and the calendar information, the calendar information and the respective detail information of the plurality of shifts may be both presented on the user interactive interface after obtaining the time information of the plurality of shifts from the departure place to the destination. Wherein the calendar information may be displayed over the details of the shift to facilitate selection of the shift date by the user.
For the display of the calendar information and the time index axis, as shown in fig. 5 and fig. 6, user interaction interface diagrams in two cases are respectively shown, and the display of the calendar information and the time index axis is respectively described through fig. 5 and fig. 6, which may specifically be performed in the following manner:
when the preset operation of a user in a first operation direction of a user interaction interface containing calendar information is detected, the calendar information is hidden, and the time index axis is displayed on the user interaction interface in a floating mode.
In this embodiment, the respective detail information of the multiple shifts displayed on the client may be displayed in a list form, generally speaking, when the number of the shifts is large, the detail information of all the shifts cannot be displayed on the user interaction interface, and the user needs to draw up to gradually display the subsequent shifts. In this case, the first operation direction may refer to a stroke operation performed by the user on the user interaction interface, and the stroke operation may indicate that the user wishes to view details of a shift that is not displayed on the user interaction interface.
When the preset operation in the first operation direction is detected, the calendar information can be hidden, so that the time index shaft is displayed on the user interaction interface in a floating manner, and the displayed time index shaft can help a user to inquire the corresponding shift through the time index information on the time index shaft.
After the calendar information is hidden and the time index axis is displayed on the user interaction interface in a floating mode, when the preset operation of a user in a second operation direction of the user interaction interface containing the time index axis is detected, the time index axis can be hidden and the display of the calendar information can be recovered on the user interaction interface, wherein the second operation direction is different from the first operation direction.
In this embodiment, the second operation direction may be a stroke operation of the user on the user interaction interface, which is a direction opposite to the first operation direction, and when the user strokes down, it may indicate that the user wishes to view the previous shift arranged in the previous shift, or to reselect the departure date of the shift.
As shown in fig. 5, when the user's stroke operation is detected, the calendar information is hidden on the displayed user interactive interface, and the time index axis is displayed on the right side of the user interactive interface. As shown in fig. 6, when a user's down-stroke operation on the interactive interface displaying the time index axis is detected, the time index axis is hidden above the displayed user interactive interface, and the display of the calendar information is resumed.
Accordingly, in this embodiment, the user may click on the time index axis, so that the shift corresponding to the time clicked by the user may be displayed on the user interaction interface. Specifically, when a preset operation of a user for target time index information on a time index axis is detected, at least one target shift corresponding to the target time index information can be screened from a plurality of shifts; and displaying the at least one target shift on a user interaction interface.
In this embodiment, the preset operation performed on the target time index information on the time index axis may be a click operation, where the click operation on the target time index information may indicate that the user wants to query a departure shift or an arrival shift near the time point, and since one time index information on the time index axis may be associated with the shift corresponding to the time information, at least one target shift whose departure time or arrival time is near the target time index information may be screened from a plurality of shifts according to the target time index information, and further, the detail information corresponding to the target shift may be displayed on the user interaction interface.
The area for displaying the details of the shift on the user interaction interface can be called a shift list area, and when the user clicks the target time index information, the screened details of the target shift can be displayed in the shift list area, so that the user can see the target shift in the shift list area.
In this embodiment, when the user slides the time index axis up and down, the details of the shift displayed on the user interface may also slide along with the sliding of the time index axis. Correspondingly, when the preset operation of the second operation duration aiming at the time index axis is detected, the respective detail information of each shift corresponding to the sliding operation is displayed on the user interaction interface according to the sliding operation of the user on each time index information on the time index axis.
In this embodiment, the preset operation of the second operation duration may be a long-press operation, for example, when it is detected that the long-press operation of the user on the time index axis reaches the second operation duration, it indicates that the user wants to perform a sliding operation on the time index axis, for example, the time index information on the time index axis is scribed up or pulled down, so that the detail information of each shift corresponding to the sliding operation may be displayed on the user interaction interface according to the sliding operation of the user on each time index information.
In specific implementation, the detailed information of each shift can be displayed on the user interaction interface in a rolling manner according to the sliding operation of the user on each time index information. For example, if the user performs a stroke operation on each time index information on the time index axis, the detail information of each shift is continuously displayed in an upward rolling manner on the user interaction interface so as to display the next shift in a rolling manner. If the user performs the down-stroke operation on each time index information on the time index shaft, the detail information of each shift is continuously displayed on the user interaction interface in a downward rolling manner so as to display the previous shift in a rolling manner.
By adopting the embodiment, in an actual application scene, a user can firstly perform long-time pressing operation on the time index axis and then perform sliding operation on the time index axis, so that the detail information of each shift displayed on the user interaction interface can be displayed in a rolling manner along with the sliding operation of the user, and the user can be helped to quickly browse departure time or arrival time of each shift.
Of course, in an example, as shown in fig. 7, a schematic view of a user interface for showing a certain time index information on a time index axis in an enlarged manner is shown, and as shown in fig. 7, when a user clicks a certain time index information on the time index axis, the clicked time index information may also be shown in an enlarged manner.
Specifically, when a preset operation for a first operation duration of the target time index information on the time index axis is detected, the display of each time index information on the time index axis in a first display mode is maintained, and the target time index information is displayed in a second display mode in a preset display area around the target time index information.
In this embodiment, the first operation duration is shorter than the second operation duration, and the preset operation of the first operation duration may be a click operation, where on one hand, when the preset operation of the first operation duration performed on the target time index information by the user is detected, at least one target shift corresponding to the target time index information may be screened from the multiple shifts; and presenting the at least one target shift on the user interaction interface. On the other hand, the target time index information can be displayed in an enlarged mode.
In specific implementation, the target time index information may be displayed in a second display mode in a preset display area around the target time index information. The preset display area may be a display area in the user interaction interface, where the distance from the target time index information is smaller than a preset distance, the first display mode may be display according to a preset font size, and the second display mode may be display in an enlarged manner, for example, display after enlarging a font of the target time index information by N times.
As shown in fig. 7, when the target time index information 9 is clicked, each time index information on the time index axis may be displayed in a standard font, and the display area located near 9 on the user interaction interface may be displayed after enlarging 9 by 3 times.
By adopting the technical scheme of the embodiment of the application, the problem that time index information cannot be clearly displayed when the time index shaft is displayed on the small-screen terminal can be avoided, the target time index information can be displayed in an enlarged mode, and the target time index information selected by a user can be clearly displayed on the small-screen terminal so as to avoid misjudgment of the user.
Based on the same inventive concept as the above embodiment, a second aspect of the embodiment of the present application provides a shift information display apparatus, and as shown in fig. 8, a structural block diagram of the shift information display apparatus provided in the embodiment is shown, and as shown in fig. 8, the shift information display apparatus may specifically include the following modules:
a shift information obtaining module 801, configured to obtain time information of multiple shifts from a departure place to a destination according to the departure place and the destination in the search request;
a clustering module 802, configured to cluster the respective time information of the multiple shifts to obtain multiple time index information;
an index axis generating module 803, configured to generate a time index axis according to the multiple pieces of time index information;
a display module 804, configured to display the detail information of each of the shifts on a user interaction interface, and display the time index axis on the user interaction interface in a floating manner.
Optionally, the clustering module may specifically include the following units:
the time division unit is used for dividing a preset time period according to a time span of a preset duration to obtain a plurality of time intervals, wherein two adjacent time intervals have a common time endpoint;
a first determining unit, configured to determine, from the multiple time intervals, a time interval in which the time information of each of the multiple shifts falls, and filter out a time interval in which none of the multiple time intervals falls;
and the second determining unit is used for determining the time endpoints of the time intervals in which the shifts respectively fall as time index information.
Optionally, the apparatus may further include the following modules:
the information display module is used for displaying the calendar information and the respective detail information of the shifts on a user interaction interface;
the display module may be specifically configured to hide the calendar information and display the time index axis on the user interaction interface in a floating manner when a preset operation of a user in a first operation direction of the user interaction interface including the calendar information is detected;
the information display control module is used for hiding the time index axis and restoring the display of the calendar information on the user interaction interface when the preset operation of a user in a second operation direction of the user interaction interface containing the time index axis is detected, wherein the second operation direction is different from the first operation direction.
Optionally, the apparatus may further include the following modules:
the screening module is used for screening at least one target shift corresponding to the target time index information from the plurality of shifts when preset operation of a user on the target time index information on the time index shaft is detected;
and the screening information display module is used for displaying the at least one target shift on the user interaction interface.
Optionally, the index axis generating module may specifically include the following units:
the first display arrangement unit is used for sequentially arranging the plurality of time index information according to a preset first arrangement mode, arranging at least one interaction option behind the plurality of time index information and generating a time index axis of the first arrangement mode, wherein the at least one interaction option is used for a user to inquire and transfer a shift, and perform ticket replenishment operation or ordering operation;
and the second display arrangement unit is used for sequentially arranging the plurality of time index information according to the second sorting mode when the switching operation of switching the first sorting mode into the second sorting mode by the user is detected, arranging the at least one interaction option in the plurality of time index information, generating a time index axis of the second sorting mode, and updating the time index axis of the first sorting mode displayed in a suspended manner on the user interaction interface into the time index axis of the second sorting mode.
Optionally, the apparatus may further include the following modules:
the first display module is used for keeping each piece of time index information on the time index shaft displayed in a first display mode when a preset operation of a first operation duration aiming at the target time index information on the time index shaft is detected, and displaying the target time index information in a second display mode in a preset display area around the target time index information;
and the second display module is used for displaying the respective detail information of each shift corresponding to the sliding operation on the user interaction interface according to the sliding operation of the user on each time index information on the time index shaft when the preset operation aiming at the second operation duration of the time index shaft is detected.
It should be noted that the device embodiments are similar to the method embodiments, so that the description is simple, and reference may be made to the method embodiments for relevant points.
The embodiment of the invention also provides electronic equipment which can comprise a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor is configured to execute the shift information presentation method.
The embodiments of the present application also provide a non-transitory computer-readable storage medium, and when executed by a processor, enable the processor to perform an operation performed to implement the shift information display method described above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The shift information display method, device, equipment and storage medium provided by the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A shift information display method is characterized by comprising the following steps:
obtaining time information of a plurality of shifts from the departure place to the destination according to the departure place and the destination in the search request;
clustering the time information of each of the plurality of shifts to obtain a plurality of time index information;
generating a time index axis according to the plurality of time index information;
and displaying the detail information of each of the shifts on a user interactive interface, and displaying the time index axis on the user interactive interface in a floating manner.
2. The method of claim 1, wherein clustering the time information for each of the plurality of shifts to obtain a plurality of time index information comprises:
dividing a preset time period according to the time span of a preset time length to obtain a plurality of time intervals, wherein two adjacent time intervals have a common time endpoint;
determining time intervals in which the respective time information of the shifts falls from the time intervals, and filtering out the time intervals in which the time intervals do not fall;
and respectively determining the time endpoints of the time intervals in which the shifts respectively fall as time index information.
3. The method of claim 1, wherein after obtaining time information for a plurality of shifts from the origin to the destination, the method further comprises:
displaying the calendar information and the respective detail information of the plurality of shifts on a user interaction interface;
displaying the time index axis on the user interaction interface in a floating manner, wherein the displaying comprises:
hiding the calendar information and displaying the time index axis on the user interaction interface in a floating manner when the preset operation of a user in a first operation direction of the user interaction interface containing the calendar information is detected;
after hiding the calendar information and hover presenting the time index axis over the user interaction interface, the method further comprises:
when the preset operation of a user in a second operation direction of a user interaction interface containing a time index axis is detected, hiding the time index axis and recovering the display of calendar information on the user interaction interface, wherein the second operation direction is different from the first operation direction.
4. The method of claim 3, wherein after the time-indexed axis is hover presented on the user-interactive interface, the method further comprises:
when preset operation of a user for target time index information on the time index shaft is detected, screening at least one target shift corresponding to the target time index information from the multiple shifts;
and displaying the at least one target shift on a user interactive interface.
5. The method of claim 3, wherein generating a time index axis from the plurality of time index information comprises:
sequentially arranging the plurality of time index information according to a preset first ordering mode, arranging at least one interaction option behind the plurality of time index information, and generating a time index axis of the first ordering mode, wherein the at least one interaction option is used for a user to inquire shift times, and perform ticket supplementing operation or ordering operation;
after the time-indexed axis is hover-presented on the user-interactive interface, the method further comprises:
when the switching operation that the user switches the first sequencing mode into the second sequencing mode is detected, the plurality of time index information are sequentially arranged according to the second sequencing mode, the at least one interaction option is arranged behind the plurality of time index information, a time index axis of the second sequencing mode is generated, and the time index axis of the first sequencing mode displayed on the user interaction interface in a suspension mode is updated to the time index axis of the second sequencing mode.
6. The method of any of claims 1-5, wherein after the time-indexed axis is hover presented on the user interface, the method further comprises:
when a preset operation aiming at a first operation duration of target time index information on the time index shaft is detected, keeping each time index information on the time index shaft displayed in a first display mode, and displaying the target time index information in a second display mode in a preset display area around the target time index information;
and when the preset operation aiming at the second operation duration of the time index shaft is detected, displaying the respective detail information of each shift corresponding to the sliding operation on a user interaction interface according to the sliding operation of the user on each time index information on the time index shaft.
7. A shift information display device, the device comprising:
the time information acquisition module is used for acquiring time information of a plurality of times from the departure place to the destination according to the departure place and the destination in the search request;
the clustering module is used for clustering the time information of each of the shifts to obtain a plurality of time index information;
the index axis generating module is used for generating a time index axis according to the time index information;
and the display module is used for displaying the respective detail information of the shifts on a user interactive interface and displaying the time index axis on the user interactive interface in a suspension manner.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executed, implements the shift information presentation method of any one of claims 1-6.
9. A computer-readable storage medium storing a computer program for causing a processor to execute the shift information presentation method according to any one of claims 1 to 6.
CN202110130834.4A 2021-01-29 2021-01-29 Class information display method, device, equipment and storage medium Active CN112784179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110130834.4A CN112784179B (en) 2021-01-29 2021-01-29 Class information display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110130834.4A CN112784179B (en) 2021-01-29 2021-01-29 Class information display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112784179A true CN112784179A (en) 2021-05-11
CN112784179B CN112784179B (en) 2022-10-18

Family

ID=75760003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110130834.4A Active CN112784179B (en) 2021-01-29 2021-01-29 Class information display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112784179B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722598A (en) * 2021-09-02 2021-11-30 上海蒜芽信息科技有限公司 Flight search interaction method, system, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182799A (en) * 2014-09-16 2014-12-03 成都北纬航信网络科技有限责任公司 Flight ticket booking and flight information inquiry method and system based on mobile internet
CN105224552A (en) * 2014-06-10 2016-01-06 腾讯科技(北京)有限公司 The disposal route of the network information, device and system
CN106407415A (en) * 2016-09-23 2017-02-15 乐视控股(北京)有限公司 A search method and device based on a calendar application
CN107957842A (en) * 2016-10-18 2018-04-24 腾讯科技(深圳)有限公司 The methods of exhibiting and terminal device of a kind of user-generated content
WO2018077046A1 (en) * 2016-10-26 2018-05-03 阿里巴巴集团控股有限公司 Method and apparatus for providing information
CN108536373A (en) * 2018-04-13 2018-09-14 中国民航信息网络股份有限公司 Portable terminal version SKYONE page processing methods, device, equipment and medium
CN109542430A (en) * 2017-09-22 2019-03-29 阿里巴巴集团控股有限公司 For realizing the method, apparatus and electronic equipment of interface alternation effect
CN111292153A (en) * 2018-12-10 2020-06-16 北京京东尚科信息技术有限公司 Information recommendation method, device, system and storage medium
CN111833153A (en) * 2020-07-17 2020-10-27 深圳市活力天汇科技股份有限公司 Method for recommending flights during high-speed railway ticket purchase

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224552A (en) * 2014-06-10 2016-01-06 腾讯科技(北京)有限公司 The disposal route of the network information, device and system
CN104182799A (en) * 2014-09-16 2014-12-03 成都北纬航信网络科技有限责任公司 Flight ticket booking and flight information inquiry method and system based on mobile internet
CN106407415A (en) * 2016-09-23 2017-02-15 乐视控股(北京)有限公司 A search method and device based on a calendar application
CN107957842A (en) * 2016-10-18 2018-04-24 腾讯科技(深圳)有限公司 The methods of exhibiting and terminal device of a kind of user-generated content
WO2018077046A1 (en) * 2016-10-26 2018-05-03 阿里巴巴集团控股有限公司 Method and apparatus for providing information
CN109542430A (en) * 2017-09-22 2019-03-29 阿里巴巴集团控股有限公司 For realizing the method, apparatus and electronic equipment of interface alternation effect
CN108536373A (en) * 2018-04-13 2018-09-14 中国民航信息网络股份有限公司 Portable terminal version SKYONE page processing methods, device, equipment and medium
CN111292153A (en) * 2018-12-10 2020-06-16 北京京东尚科信息技术有限公司 Information recommendation method, device, system and storage medium
CN111833153A (en) * 2020-07-17 2020-10-27 深圳市活力天汇科技股份有限公司 Method for recommending flights during high-speed railway ticket purchase

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722598A (en) * 2021-09-02 2021-11-30 上海蒜芽信息科技有限公司 Flight search interaction method, system, electronic equipment and storage medium
CN113722598B (en) * 2021-09-02 2024-05-10 上海蒜芽信息科技有限公司 Flight search interaction method, system, electronic device and storage medium

Also Published As

Publication number Publication date
CN112784179B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
US11269476B2 (en) Concurrent display of search results from differing time-based search queries executed across event data
JP7175276B2 (en) Method, Client and Server for Displaying Service Objects and Processing Map Data
CN107423355B (en) Information recommendation method and device, electronic equipment
CN104065565B (en) The method of PUSH message, server, client terminal device and system
US8117192B1 (en) Computerized information system for creating patent data summaries and method therefor
CN102946566A (en) Video recommending method and device based on historical information
CN102999550A (en) Event searching
US9594540B1 (en) Techniques for providing item information by expanding item facets
CN102037464A (en) Search results with most clicked next objects
CN105404680A (en) Searching recommendation method and apparatus
CN106326371A (en) Method and device for pushing services
EP3312738A2 (en) Method and device for displaying keyword
US20150040018A1 (en) Rating and review interface
CN109977296A (en) A kind of information-pushing method, device, equipment and storage medium
CN108763369B (en) Video searching method and device
CN112784179B (en) Class information display method, device, equipment and storage medium
CN113849682A (en) Video searching method, device, equipment and medium
CN109146551A (en) A kind of advertisement recommended method, server and computer-readable medium
CN105718147A (en) Input method panel enabling method and device and input method and input method system
CN114722292A (en) Book searching method, device, equipment and storage medium
CN110008395A (en) Comment on rendering method, device, storage medium and the terminal of content
CN110569440A (en) Data query method and device, electronic equipment and storage medium
CN109949090A (en) Lead referral method, apparatus, electronic equipment and medium
CN115203565A (en) Cold start method and device of recommendation system, electronic equipment and storage medium
CN111552867B (en) Service information recommendation method and device

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