CN112817668A - Interaction method and device of date selector - Google Patents

Interaction method and device of date selector Download PDF

Info

Publication number
CN112817668A
CN112817668A CN201911129626.1A CN201911129626A CN112817668A CN 112817668 A CN112817668 A CN 112817668A CN 201911129626 A CN201911129626 A CN 201911129626A CN 112817668 A CN112817668 A CN 112817668A
Authority
CN
China
Prior art keywords
date
segment
selector
clicked
displayed
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
CN201911129626.1A
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 Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201911129626.1A priority Critical patent/CN112817668A/en
Publication of CN112817668A publication Critical patent/CN112817668A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

The embodiment of the invention provides an interaction method and device of a date selector, and belongs to the technical field of computers. The method comprises the following steps: receiving an external input; responding to the external input, and judging a position and a gesture corresponding to the external input; and selecting the date and/or the date section according to the position, the gesture and the content currently displayed by the date selector. The date selector interaction method and device can enable a user to select the date section more conveniently.

Description

Interaction method and device of date selector
Technical Field
The invention relates to the technical field of computers, in particular to an interaction method and device of a date selector.
Background
In the date selector, due to the limitation of an interactive mode, the date section cannot be well selected according to the purpose of the user, and particularly, under the condition that the date section is displayed by the date selector, the purpose of modification or adjustment cannot be well completed, so that the user experience is poor.
Disclosure of Invention
The embodiment of the invention aims to provide an interaction method and device of a date selector, which can enable a user to select a date section more conveniently.
In order to achieve the above object, an embodiment of the present invention provides an interaction method for a date selector, where the method includes: receiving an external input; responding to the external input, and judging a position and a gesture corresponding to the external input; and selecting the date and/or the date section according to the position, the gesture and the content currently displayed by the date selector.
Preferably, the gesture comprises: at least one of click date, click date stroked to the left, click date stroked to the right, click date stroked to the left and then to the right after click date, click date stroked to the right and then to the left.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector displays the current unselected date, selecting the clicked date as the earliest or latest date of the date section under the condition that the date is clicked at any position; and when the date selector currently displays the selected date, under the condition that the date is clicked at any position, taking the clicked date to the displayed selected date as a selected date section.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays a selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the left, the earliest date from the clicked date to the displayed selected date segment is taken as the selected date segment; when the date selector currently displays the selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the right, the latest date from the clicked date to the displayed selected date segment is taken as the selected date segment.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays the selected date segment, under the condition that the date which is earlier than the displayed selected date segment is clicked and is stroked to the right, the clicked date to the latest date of the displayed selected date segment is taken as the selected date segment; when a date later than the selected date piece is clicked and the date is stroked to the left while the selected date piece is currently displayed on the date selector, the date clicked to the earliest date of the displayed selected date piece is taken as the selected date piece.
The embodiment of the invention provides an interactive device of a date selector, which comprises: the device comprises a receiving unit, a judging unit and a selecting unit, wherein the receiving unit is used for receiving external input; the judging unit is used for responding to the external input and judging the position and the gesture corresponding to the external input; the selection unit is used for selecting the date and/or the date section according to the position, the gesture and the content currently displayed by the date selector.
Preferably, the gesture comprises: at least one of click date, click date stroked to the left, click date stroked to the right, click date stroked to the left and then to the right after click date, click date stroked to the right and then to the left.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector displays the current unselected date, selecting the clicked date as the earliest or latest date of the date section under the condition that the date is clicked at any position; and when the date selector currently displays the selected date, under the condition that the date is clicked at any position, taking the clicked date to the displayed selected date as a selected date section.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays a selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the left, the earliest date from the clicked date to the displayed selected date segment is taken as the selected date segment; when the date selector currently displays the selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the right, the latest date from the clicked date to the displayed selected date segment is taken as the selected date segment.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays the selected date segment, under the condition that the date which is earlier than the displayed selected date segment is clicked and is stroked to the right, the clicked date to the latest date of the displayed selected date segment is taken as the selected date segment; when a date later than the selected date piece is clicked and the date is stroked to the left while the selected date piece is currently displayed on the date selector, the date clicked to the earliest date of the displayed selected date piece is taken as the selected date piece.
Preferably, an embodiment of the present invention further provides a machine-readable storage medium storing a program, which when executed implements the date selector interaction method described above.
Preferably, an embodiment of the present invention further provides an apparatus, where the apparatus includes: a bus; at least one processor; at least one memory in communication with the at least one processor via the bus for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the date selector interaction method described above.
According to the technical scheme, by adopting the interaction method and the interaction device of the date selector, the external input is received firstly, then the position and the gesture corresponding to the external input are judged in response to the external input, and finally the date and/or the date section are selected according to the position, the gesture and the content currently displayed by the date selector. The operation of the user and the current displayed content of the date selector are used as the selection basis of the date field, so that the operation of selecting the date and modifying the date field can be distinguished, and the date field can be more conveniently selected by the user.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a flow chart of an interaction method for a date selector provided by an embodiment of the present invention;
FIG. 2 is a detailed operation diagram of date field selection provided by an embodiment of the present invention;
FIG. 3 is a detailed operation diagram of date field selection provided by another embodiment of the present invention;
FIG. 4 is a block diagram of an interactive device of a date selector according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Description of the reference numerals
1 receiving unit 2 judging unit
3 selection unit
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart of an interaction method of a date selector according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S11, receiving an external input;
specifically, the external input is mainly a user operation such as an operation performed by a mouse or by a touch panel or the like.
Step S12, responding to the external input, and judging the position and the gesture corresponding to the external input;
specifically, the gesture corresponding to the external input may include, for example, clicking on a date and swiping left, clicking on a date and swiping right, swiping left and swiping right after clicking on a date, or swiping right and swiping left after clicking on a date. Since each date in the date selector has a different position, the position corresponding to the external input can be represented by a date in the date selector. For example, receiving an external input at location a, which is a location at day 14, the location corresponding to the external input may be represented by day 14.
And step S13, selecting the date and/or the date section according to the position, the gesture and the content currently displayed by the date selector.
Specifically, the date selector displays the following contents: unselected dates, unselected date segments, selected dates and selected date segments.
Thus, the embodiment of the present invention provides the following corresponding date segment selection manners:
when the date selector currently displays no selected date or no selected date section (namely, no selection is made), the clicked date and the date which is finally stroked stop are formed into the selected date section no matter whether the gesture is to click the date and stroke the date to the left, click the date and stroke the date to the right, firstly stroke the date to the left and then stroke the date to the right after clicking the date or firstly stroke the date to the right and then stroke the date to the left. For example, if the user clicks 10 days, and strokes are performed for 13 days and finally stops for 11 days, 10-11 days form a selected date section;
when the date selector currently displays a non-selected date (at which time it is possible to display a selected date piece or a non-selected date piece), in the case of clicking a date at an arbitrary position, the clicked date is selected as the earliest or latest date of the date piece. That is, the date clicked at this time is an end point of the date field, and whether it is the earliest date or the latest date depends on whether the date clicked next is earlier or later than the date. If the selected date field is displayed, two conditions exist, one is that when the date is clicked at any position, the currently displayed selected date field is cleared; another is to not clear the currently displayed selected date segment when clicking on the date at any location. The embodiment of the invention can set that the currently displayed selected date segment is cleared when the date is clicked at any position by default. If the currently displayed selected date segment is not to be cleared, the "not clear date segment" option in the date selector may be clicked. When the "not clear date segment" option is selected, the displayed selected date segment is not cleared regardless of any operation being performed. For example, currently, a selected date segment of 10-12 days is displayed, and in a default case, when 14 days are clicked, the selected date segment of 10-12 days is cleared, and the selected date of 14 days is displayed; if the "not clear date segment" option is selected, then when 14 days are clicked, the selected date segment 10-12 days will remain displayed while the selected date 14 days is displayed.
When the date selector currently displays the selected date (at this time, the selected date field may be displayed or the non-selected date field may be displayed), if the date is clicked at any position, the clicked date to the displayed selected date is taken as the selected date field. The date clicked at this time and the selected date displayed can form a date field;
when the date selector currently displays a selected date segment, in the case where a date is clicked and stroked to the left in the selected date segment (the distance of stroking is not limited in the present invention, and the same applies hereinafter), the clicked date to the earliest date of the displayed selected date segment is taken as the selected date segment. For example, the displayed selected date segment is 10 days-16 days, the clicked date is 11 days (located in the displayed selected date segment from 10 days-16 days), and the click is performed leftwards after 11 days, so that 10 days (the earliest date in 10 days-16 days) to 11 days are taken as the selected date segment, namely, a part of the date segments are reduced on the basis of the original selected date segment;
when the date selector currently displays a selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the right, taking the latest date from the clicked date to the displayed selected date segment as the selected date segment; for example, the displayed selected date segment is 10 days to 16 days, the click date is 11 days (located in the displayed selected date segment from 10 days to 16 days), and if the click is made right after 11 days, 16 days (the latest date in the displayed selected date segment from 10 days to 16 days) to 11 days are taken as the selected date segment, which is equivalent to a reduction of a part of the date segment on the basis of the original selected date segment. The specific operation is schematically shown in fig. 2.
When the date selector currently displays the selected date segment, under the condition that the date which is earlier than the displayed selected date segment is clicked and is stroked to the right, the clicked date to the latest date of the displayed selected date segment is taken as the selected date segment; for example, the displayed selected date segment is 10 days to 16 days, the click date is 8 days (earlier than the displayed selected date segment by 10 days to 16 days), and the click 8 days later is stroked to the right, so that 8 days to 16 days (the latest date of 10 days to 16 days) are taken as the selected date segment, which is equivalent to adding a part of the date segment on the basis of the original selected date segment. If the date selector currently displays a plurality of selected dates, a dialog box is popped up to inquire which selected date is added with the date;
when a date later than the selected date piece is clicked and the date is stroked to the left while the selected date piece is currently displayed on the date selector, the date clicked to the earliest date of the displayed selected date piece is taken as the selected date piece. For example, the displayed selected date segment is 10 days to 16 days, the click date is 19 days (which is later than the displayed selected date segment by 10 days to 16 days), and if the click date is moved to the left after 19 days, the selected date segment is formed by taking the date from 19 days to 10 days (which is the earliest date of the date from 10 days to 16 days), which is equivalent to adding a part of the date segment on the basis of the original selected date segment. The specific operation is schematically shown in fig. 3. Similarly, if there are multiple selected date segments currently displayed by the date selector, a pop-up dialog may query which selected date segment to add to the date segment.
As shown in fig. 2-3, clicking the "reset" button may clear the selected date and/or date segment in the date selector, clicking the "cancel" button in the date selector may cancel the date selector, and clicking the "ok" button in the date selector may indicate that the selection is complete to record the displayed selected date segment.
Fig. 4 is a block diagram of an interaction device of a date selector according to an embodiment of the present invention. As shown in fig. 4, the apparatus includes: the device comprises a receiving unit 1, a judging unit 2 and a selecting unit 3, wherein the receiving unit 1 is used for receiving external input; the judging unit 2 is used for responding to the external input and judging a position and a gesture corresponding to the external input; the selection unit 3 is used for selecting the date and/or the date segment according to the position, the gesture and the content currently displayed by the date selector.
Preferably, the gesture comprises: at least one of click date, click date stroked to the left, click date stroked to the right, click date stroked to the left and then to the right after click date, click date stroked to the right and then to the left.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector displays the current unselected date, selecting the clicked date as the earliest or latest date of the date section under the condition that the date is clicked at any position; and when the date selector currently displays the selected date, under the condition that the date is clicked at any position, taking the clicked date to the displayed selected date as a selected date section.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays a selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the left, the earliest date from the clicked date to the displayed selected date segment is taken as the selected date segment; when the date selector currently displays the selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the right, the latest date from the clicked date to the displayed selected date segment is taken as the selected date segment.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays the selected date segment, under the condition that the date which is earlier than the displayed selected date segment is clicked and is stroked to the right, the clicked date to the latest date of the displayed selected date segment is taken as the selected date segment; when a date later than the selected date piece is clicked and the date is stroked to the left while the selected date piece is currently displayed on the date selector, the date clicked to the earliest date of the displayed selected date piece is taken as the selected date piece.
The interaction device of the date selector is similar to the embodiment of the interaction method of the date selector, and is not described herein again.
An embodiment of the present invention provides a storage medium having a program stored thereon, which when executed by a processor implements the date selector interaction method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes the interactive method of the date selector during running.
An embodiment of the present invention provides an apparatus, which includes at least one processor 501, and at least one memory 502 and a bus 503 connected to the processor 501, as shown in fig. 5; the processor 501 and the memory 502 complete communication with each other through the bus 503; the receiving unit 1, the judging unit 2, the selecting unit 3, and the like are all stored in the memory 502 as program units, the memory 502 may include a volatile memory in a computer readable medium, a Random Access Memory (RAM) and/or a nonvolatile memory, such as a Read Only Memory (ROM) or a flash memory (flash RAM), and the memory 502 includes at least one memory chip. The processor 501 is arranged to call program instructions in the memory 502 to perform the date selector interaction method described above. The processor 501 includes a kernel, and the kernel calls a corresponding program unit from the memory 502. The kernel can be provided with one or more than one, and the date field can be more conveniently selected by a user through adjusting the kernel parameters. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The processor 501 executes a program to implement the following steps:
receiving an external input; responding to the external input, and judging a position and a gesture corresponding to the external input; and selecting the date and/or the date section according to the position, the gesture and the content currently displayed by the date selector.
Preferably, the gesture comprises: at least one of click date, click date stroked to the left, click date stroked to the right, click date stroked to the left and then to the right after click date, click date stroked to the right and then to the left.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector displays the current unselected date, selecting the clicked date as the earliest or latest date of the date section under the condition that the date is clicked at any position; and when the date selector currently displays the selected date, under the condition that the date is clicked at any position, taking the clicked date to the displayed selected date as a selected date section.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays a selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the left, the earliest date from the clicked date to the displayed selected date segment is taken as the selected date segment; when the date selector currently displays the selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the right, the latest date from the clicked date to the displayed selected date segment is taken as the selected date segment.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays the selected date segment, under the condition that the date which is earlier than the displayed selected date segment is clicked and is stroked to the right, the clicked date to the latest date of the displayed selected date segment is taken as the selected date segment; when a date later than the selected date piece is clicked and the date is stroked to the left while the selected date piece is currently displayed on the date selector, the date clicked to the earliest date of the displayed selected date piece is taken as the selected date piece.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
receiving an external input; responding to the external input, and judging a position and a gesture corresponding to the external input; and selecting the date and/or the date section according to the position, the gesture and the content currently displayed by the date selector.
Preferably, the gesture comprises: at least one of click date, click date stroked to the left, click date stroked to the right, click date stroked to the left and then to the right after click date, click date stroked to the right and then to the left.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector displays the current unselected date, selecting the clicked date as the earliest or latest date of the date section under the condition that the date is clicked at any position; and when the date selector currently displays the selected date, under the condition that the date is clicked at any position, taking the clicked date to the displayed selected date as a selected date section.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays a selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the left, the earliest date from the clicked date to the displayed selected date segment is taken as the selected date segment; when the date selector currently displays the selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the right, the latest date from the clicked date to the displayed selected date segment is taken as the selected date segment.
Preferably, the selecting a date and/or a date segment according to the position, the gesture and the content currently displayed by the date selector comprises: when the date selector currently displays the selected date segment, under the condition that the date which is earlier than the displayed selected date segment is clicked and is stroked to the right, the clicked date to the latest date of the displayed selected date segment is taken as the selected date segment; when a date later than the selected date piece is clicked and the date is stroked to the left while the selected date piece is currently displayed on the date selector, the date clicked to the earliest date of the displayed selected date piece is taken as the selected date piece.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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 apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method of date selector interaction, the method comprising:
receiving an external input;
responding to the external input, and judging a position and a gesture corresponding to the external input;
and selecting the date and/or the date section according to the position, the gesture and the content currently displayed by the date selector.
2. The interactive method of date selectors according to claim 1, wherein the gesture comprises:
at least one of click date, click date stroked to the left, click date stroked to the right, click date stroked to the left and then to the right after click date, click date stroked to the right and then to the left.
3. The method of claim 2, wherein said selecting a date and/or a date segment according to said location, said gesture and said content currently displayed by said date selector comprises:
when the date selector displays the current unselected date, selecting the clicked date as the earliest or latest date of the date section under the condition that the date is clicked at any position;
and when the date selector currently displays the selected date, under the condition that the date is clicked at any position, taking the clicked date to the displayed selected date as a selected date section.
4. The method of claim 2, wherein said selecting a date and/or a date segment according to said location, said gesture and said content currently displayed by said date selector comprises:
when the date selector currently displays a selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the left, the earliest date from the clicked date to the displayed selected date segment is taken as the selected date segment;
when the date selector currently displays the selected date segment, under the condition that the date is clicked in the selected date segment and is stroked to the right, the latest date from the clicked date to the displayed selected date segment is taken as the selected date segment.
5. The method of claim 2, wherein said selecting a date and/or a date segment according to said location, said gesture and said content currently displayed by said date selector comprises:
when the date selector currently displays the selected date segment, under the condition that the date which is earlier than the displayed selected date segment is clicked and is stroked to the right, the clicked date to the latest date of the displayed selected date segment is taken as the selected date segment;
when a date later than the selected date piece is clicked and the date is stroked to the left while the selected date piece is currently displayed on the date selector, the date clicked to the earliest date of the displayed selected date piece is taken as the selected date piece.
6. An interactive device for a date selector, the device comprising:
a receiving unit, a judging unit and a selecting unit, wherein,
the receiving unit is used for receiving external input;
the judging unit is used for responding to the external input and judging the position and the gesture corresponding to the external input;
the selection unit is used for selecting the date and/or the date section according to the position, the gesture and the content currently displayed by the date selector.
7. The date selector interaction device of claim 6, wherein the gesture comprises:
at least one of click date, click date stroked to the left, click date stroked to the right, click date stroked to the left and then to the right after click date, click date stroked to the right and then to the left.
8. The date selector interactive apparatus of claim 7, wherein said date and/or date segment selection based on said location, gesture and content currently displayed by said date selector comprises:
when the date selector displays the current unselected date, selecting the clicked date as the earliest or latest date of the date section under the condition that the date is clicked at any position;
and when the date selector currently displays the selected date, under the condition that the date is clicked at any position, taking the clicked date to the displayed selected date as a selected date section.
9. A machine readable storage medium, characterized in that the readable storage medium stores a program which, when executed, implements the date selector interaction method of any one of claims 1-5.
10. An apparatus, characterized in that the apparatus comprises:
a bus;
at least one processor;
at least one memory in communication with the at least one processor via the bus for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the date selector interaction method of any of claims 1-5.
CN201911129626.1A 2019-11-18 2019-11-18 Interaction method and device of date selector Pending CN112817668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911129626.1A CN112817668A (en) 2019-11-18 2019-11-18 Interaction method and device of date selector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911129626.1A CN112817668A (en) 2019-11-18 2019-11-18 Interaction method and device of date selector

Publications (1)

Publication Number Publication Date
CN112817668A true CN112817668A (en) 2021-05-18

Family

ID=75852581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911129626.1A Pending CN112817668A (en) 2019-11-18 2019-11-18 Interaction method and device of date selector

Country Status (1)

Country Link
CN (1) CN112817668A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293406A (en) * 2016-07-28 2017-01-04 乐视控股(北京)有限公司 A kind of calendar information adding method and terminal unit
CN106406829A (en) * 2015-07-29 2017-02-15 阿里巴巴集团控股有限公司 Calendar event processing method and apparatus
CN107577416A (en) * 2017-09-26 2018-01-12 携程旅游信息技术(上海)有限公司 Hire a car and take exchange method, system, equipment and the storage medium of also selection of time
CN107704156A (en) * 2017-10-25 2018-02-16 珠海市魅族科技有限公司 Event creation method, device, computer installation and computer-readable recording medium
CN305098464S (en) * 2019-04-05
US20190265846A1 (en) * 2018-02-23 2019-08-29 Oracle International Corporation Date entry user interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN305098464S (en) * 2019-04-05
CN106406829A (en) * 2015-07-29 2017-02-15 阿里巴巴集团控股有限公司 Calendar event processing method and apparatus
CN106293406A (en) * 2016-07-28 2017-01-04 乐视控股(北京)有限公司 A kind of calendar information adding method and terminal unit
CN107577416A (en) * 2017-09-26 2018-01-12 携程旅游信息技术(上海)有限公司 Hire a car and take exchange method, system, equipment and the storage medium of also selection of time
CN107704156A (en) * 2017-10-25 2018-02-16 珠海市魅族科技有限公司 Event creation method, device, computer installation and computer-readable recording medium
US20190265846A1 (en) * 2018-02-23 2019-08-29 Oracle International Corporation Date entry user interface

Similar Documents

Publication Publication Date Title
US11150790B2 (en) Application interface management method and apparatus
CN109446570B (en) Business process display method, device, computer equipment and storage medium
US20130339901A1 (en) Organizing graphical representations on computing devices
JP2019504427A (en) Page positioning method and apparatus for input information with error
CN110737490A (en) guide information display method and device
CN103885980A (en) Bookmark adding method and browser
US9996600B1 (en) Asynchronous communication of transaction data to clients
CN111142997A (en) Application display method, vehicle machine and computer storage medium
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
CN111897607A (en) Application interface loading and interaction method, device and storage medium
CN113434063A (en) Information display method, device and equipment
CN109977317B (en) Data query method and device
CN112235132A (en) Method, device, medium and server for dynamically configuring service
US9871694B1 (en) Parallel processing for transaction data generation
CN112559050A (en) Method and device for processing concurrency number of client asynchronous request information
CN112560403A (en) Text processing method and device and electronic equipment
CN112817668A (en) Interaction method and device of date selector
US20130326414A1 (en) Working context for business applications
US11093041B2 (en) Computer system gesture-based graphical user interface control
CN110020285B (en) Histogram processing method and device
CN107092485B (en) Tab label dynamic updating method and device
CN112578956A (en) Date and time range processing method, storage medium and electronic device
CN112416188B (en) Component control method, device, processor and machine-readable storage medium
CN113055209A (en) Arranging method and device for edge calculation
US20190243515A1 (en) Invoke a Service in an Electronic Document Using a Trigger Entry

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