CN110018760B - A time selection method, storage medium, device and system - Google Patents
A time selection method, storage medium, device and system Download PDFInfo
- Publication number
- CN110018760B CN110018760B CN201810023300.XA CN201810023300A CN110018760B CN 110018760 B CN110018760 B CN 110018760B CN 201810023300 A CN201810023300 A CN 201810023300A CN 110018760 B CN110018760 B CN 110018760B
- Authority
- CN
- China
- Prior art keywords
- time
- selection
- component
- time period
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000010187 selection method Methods 0.000 title claims abstract description 20
- 238000000034 method Methods 0.000 claims abstract description 14
- 230000006870 function Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 12
- 230000003068 static effect Effects 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 6
- 230000008901 benefit Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000011423 initialization method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005316 response function Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及时间选择技术领域,具体涉及一种时间选择方法、存储介质、设备及系统。The present invention relates to the technical field of time selection, in particular to a time selection method, storage medium, device and system.
背景技术Background technique
现阶段,用户在查看数据报表、历史记录等需要进行某种时间区间选择操作时,通常只能精确到天数,比如:2017-10-01--2017-10-10这样的区间,传统的操作方式主要存在操作的粒度过粗,无法看到精准数据的问题。At this stage, when users need to select a certain time interval when viewing data reports, historical records, etc., they can usually only be accurate to the number of days. The main problem of this method is that the granularity of the operation is too coarse and accurate data cannot be seen.
而现有的解决此办法的方式多为:提供对应的输入框让用户数据时间区间的起始时间戳和截止时间戳,然后再进行相应的计算;However, the existing methods to solve this problem are mostly: provide corresponding input boxes for the start timestamp and end timestamp of the user data time interval, and then perform corresponding calculations;
但现有的解决方式虽解决了无法提供更精准的操作粒度的问题,但用户操作过于复杂,用户每次使用需将相关的时间转换成时间戳。However, although the existing solution solves the problem that more accurate operation granularity cannot be provided, the user operation is too complicated, and the user needs to convert the relevant time into a timestamp each time it is used.
发明内容SUMMARY OF THE INVENTION
针对现有技术中存在的缺陷,本发明的目的在于提供一种时间选择方法、存储介质、设备及系统,能够选择适当的时间段,进行精准的时间选择,操作简单。In view of the defects existing in the prior art, the purpose of the present invention is to provide a time selection method, storage medium, device and system, which can select an appropriate time period, perform precise time selection, and are simple to operate.
为达到以上目的,本发明采取的技术方案是:In order to achieve the above purpose, the technical scheme adopted in the present invention is:
一种时间选择方法,其用于客户端进行时间选择,该方法包括以下步骤:A time selection method, which is used for time selection by a client, includes the following steps:
预先设置基准时间,所述基准时间为用户当地时间;A reference time is preset, and the reference time is the user's local time;
使用基准时间,基于各预设规则,以当前时间为终点设定多个时间段,并对每一所述时间段对应生成一时间选择控件;Using the reference time, based on each preset rule, a plurality of time periods are set with the current time as the end point, and a time selection control is correspondingly generated for each of the time periods;
根据用户选择的所述时间选择控件返回对应的所述时间段;其中,Return the corresponding time period according to the time selection control selected by the user; wherein,
所述预先设置基准时间,具体包括以下步骤:The preset reference time specifically includes the following steps:
在客户端创建一用于提供所述时间段的时间组件,向所述时间组件配置所述基准时间,对所述时间组件进行初始化操作;Create a time component for providing the time period on the client side, configure the reference time to the time component, and perform an initialization operation on the time component;
所有所述预设规则被定义成实现所述时间组件的类的静态成员,以数组形式配置在所述时间组件内;All the preset rules are defined as static members of the class implementing the time component, and are configured in the time component in the form of an array;
所述使用基准时间,基于各预设规则,以当前时间为终点设定多个时间段,包括以下步骤:The use of the reference time, based on each preset rule, sets a plurality of time periods with the current time as the end point, including the following steps:
遍历规则数组,从规则数组的成员中获得所述预设规则的具体描述;Traverse the rule array, and obtain the specific description of the preset rule from the members of the rule array;
传递基准时间,以计算出所述时间段的数值;Pass the base time to calculate the value of the time period;
根据所述时间段的数值生成HTML元素插入所述时间组件的面板;其中,According to the numerical value of the time period, an HTML element is generated and inserted into the panel of the time component; wherein,
所述基准时间由用户传递或为当前时间,所述规则数组包括至少一个所述预设规则;The reference time is passed by the user or is the current time, and the rule array includes at least one of the preset rules;
所述时间段包括开始时间和结束时间,配置有对应的计算函数。The time period includes a start time and an end time, and a corresponding calculation function is configured.
在上述技术方案的基础上,所述时间选择方法还包括以下步骤:On the basis of the above technical solution, the time selection method further comprises the following steps:
开发端接收返回的所述时间段,并生成用于时间选择的时间参数;The development terminal receives the returned time period, and generates time parameters for time selection;
所述开发端根据所述时间参数进行时间选择工作。The development terminal performs time selection work according to the time parameter.
在上述技术方案的基础上,所述时间选择方法还包括以下步骤;On the basis of the above technical solution, the time selection method further comprises the following steps;
创建一回调函数,其用于获取所述时间参数并反馈至所述开发端。Create a callback function, which is used to obtain the time parameter and feed it back to the development end.
在上述技术方案的基础上,所述时间选择方法内:所述基准时间通过人工预设或同步系统时间进行设置。On the basis of the above technical solution, in the time selection method: the reference time is set by manual preset or by synchronizing the system time.
本发明还公开一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述时间选择方法的步骤。The invention also discloses a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned time selection method are implemented.
本发明还公开一种时间选择设备,包括存储器、处理器及存储在所述存储器上并在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述时间选择方法的步骤。The present invention also discloses a time selection device, comprising a memory, a processor and a computer program stored on the memory and running on the processor, when the processor executes the computer program, the above-mentioned time selection method is implemented. step.
本发明还公开一种时间选择系统,该系统包括:The invention also discloses a time selection system, which includes:
基准时间设置单元,其用于预先设置基准时间,所述基准时间为用户当地时间;a reference time setting unit, which is used to preset a reference time, where the reference time is the local time of the user;
时间段单元,其用于使用基准时间,基于各预设规则,以当前时间为终点设定多个时间段,并对每一所述时间段对应生成一时间选择控件;a time period unit, which is used for using the reference time, and based on each preset rule, sets a plurality of time periods with the current time as the end point, and generates a time selection control corresponding to each of the time periods;
时间段返回单元,其用于根据用户选择的所述时间选择控件返回对应的所述时间段;其中,a time period returning unit, configured to return the corresponding time period according to the time selection control selected by the user; wherein,
所述基准时间设置单元具体用于在客户端创建一用于提供所述时间段的时间组件,向所述时间组件配置所述基准时间,对所述时间组件进行初始化操作;The reference time setting unit is specifically configured to create a time component for providing the time period at the client, configure the reference time to the time component, and perform an initialization operation on the time component;
所有所述预设规则被定义成实现所述时间组件的类的静态成员,以数组形式配置在所述时间组件内;All the preset rules are defined as static members of the class implementing the time component, and are configured in the time component in the form of an array;
所述时间段单元还用于遍历规则数组,从规则数组的成员中获得所述预设规则的具体描述;The time period unit is also used to traverse the rule array, and obtain the specific description of the preset rule from the members of the rule array;
所述时间段单元传递基准时间,以计算出所述时间段的数值;The time period unit transmits the reference time to calculate the value of the time period;
所述时间段单元根据所述时间段的数值生成HTML元素插入所述时间组件的面板;其中,The time period unit generates an HTML element to be inserted into the panel of the time component according to the value of the time period; wherein,
所述基准时间由用户传递或为当前时间,所述规则数组包括至少一个所述预设规则;The reference time is passed by the user or is the current time, and the rule array includes at least one of the preset rules;
所述时间段包括开始时间和结束时间,配置有对应的计算函数。The time period includes a start time and an end time, and a corresponding calculation function is configured.
在上述技术方案的基础上,时间选择系统还包括:On the basis of the above technical solutions, the time selection system further includes:
时间参数生成单元,其用于根据所述时间段生成用于时间选择的时间参数;a time parameter generating unit, configured to generate a time parameter for time selection according to the time period;
时间选择单元,其用于根据所述时间参数进行时间选择工作。A time selection unit, which is used for performing time selection work according to the time parameter.
在上述技术方案的基础上,时间选择系统内:所述时间参数生成单元内包含一回调函数子单元;On the basis of the above technical solution, in the time selection system: the time parameter generation unit includes a callback function subunit;
所述回调函数子单元,其用于获取所述时间参数并反馈至所述时间参数生成单元。The callback function subunit is used for acquiring the time parameter and feeding it back to the time parameter generating unit.
在上述技术方案的基础上,时间选择系统内:On the basis of the above technical solutions, in the time selection system:
所述基准时间通过人工预设或同步系统时间进行设置。The reference time is set by manually presetting or synchronizing the system time.
与现有技术相比,本发明的优点在于:Compared with the prior art, the advantages of the present invention are:
(1)本发明利用预先设置的基准时间配合当前时间设定多个时间段,并根据多个时间段生成时间选择空间,根据客户选择的时间选择控件返回对应的时间段;(1) the present invention utilizes the preset reference time to cooperate with the current time to set multiple time periods, and generates a time selection space according to the multiple time periods, and returns the corresponding time period according to the time selection control selected by the customer;
与现有技术相比,本发明能够选择适当的时间段,进行精准的时间选择,操作简单,不需要用户进行繁琐的操作。Compared with the prior art, the present invention can select an appropriate time period, perform accurate time selection, and is simple to operate, and does not require the user to perform cumbersome operations.
附图说明Description of drawings
图1为本发明实施例中时间选择方法的流程图;1 is a flowchart of a time selection method in an embodiment of the present invention;
图2为本发明实施例中时间选择设备的结构框图;2 is a structural block diagram of a time selection device in an embodiment of the present invention;
图3为本发明实施例中时间选择系统的结构框图。FIG. 3 is a structural block diagram of a time selection system in an embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图对本发明的实施例作进一步详细说明。The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
参见图1所示,本发明实施例提供一种时间选择方法,其用于客户端进行时间选择,该方法包括以下步骤:Referring to FIG. 1 , an embodiment of the present invention provides a time selection method, which is used for a client to perform time selection, and the method includes the following steps:
预先设置基准时间,基准时间为用户当地时间;The reference time is preset, and the reference time is the user's local time;
使用基准时间并以当前时间为终点设定多个时间段,并对每一时间段对应生成一时间选择控件;Use the reference time and set multiple time periods with the current time as the end point, and generate a time selection control corresponding to each time period;
根据用户选择的时间选择控件返回对应的时间段。Returns the corresponding time period according to the time selection control selected by the user.
本发明中,根据不同的用户,其基准时间均存在区别,基准时间用于作为时间选择的基础,作为一种参考数据;In the present invention, according to different users, the reference time is different, and the reference time is used as the basis for time selection, as a kind of reference data;
多个时间段则为用户提供多种时间选择的可能,时间段的精度可根据实际需求进行调整,而由于每一时间段对应生成一时间选择控件,因此客户只需要选择时间选择空间,即可选择对应的时间段,从而进行时间选择工作;Multiple time periods provide users with multiple time selection possibilities. The accuracy of the time period can be adjusted according to actual needs. Since each time period corresponds to a time selection control, the customer only needs to select the time selection space. Select the corresponding time period to perform time selection work;
本发明能够选择适当的时间段,进行精准的时间选择,操作简单,不需要用户进行繁琐的操作。The present invention can select an appropriate time period, perform accurate time selection, and is simple to operate, and does not require users to perform cumbersome operations.
其中,生成基准时间的方式可以是以下步骤:Wherein, the way of generating the reference time may be the following steps:
可在客户端内创建一时间组件,而时间组件的用途是提供给用户精准的时间段数值,需要提供给组件基准时间,让组件初始化;A time component can be created in the client, and the purpose of the time component is to provide users with accurate time period values. It needs to provide the component reference time to initialize the component;
组件的初始化如下:The initialization of the component is as follows:
<RelativeTimePicker<RelativeTimePicker
from={this.state.from}from={this.state.from}
till={this.state.till}till={this.state.till}
loading={this.state.loading}loading={this.state.loading}
onChange={(from,till)=>{onChange={(from, till)=>{
}}}}
/>/>
其中from是开始时间,till是结束时间,loading客户端在响应操作者事件时的加载动画,而onChange则是当用户选择时间段完毕之后,将数值传递给时间组件的开发人员所需要的回调函数;where from is the start time, till is the end time, the loading animation of the loading client in response to the operator event, and onChange is the callback function required by the developer to pass the value to the developer of the time component after the user selects the time period. ;
当使用组件的开发人员没有传递from和till这两个基准时间值是,那么组件所使用的基准时间是当前运行客户端所在时区的当地时间;When the developer using the component does not pass the two base time values of from and till, then the base time used by the component is the local time of the time zone where the client is currently running;
以上初始化方式让时间组件的使用更加灵活,因为当大多数需求不需要提供指定的时间,那么通过时间组件自动获取就可以满足用户的需求,同时如果有特殊的需求,那么用户可以自行指定起始时间值,这样就可以满足不同的需求。The above initialization method makes the use of the time component more flexible, because when most of the requirements do not need to provide the specified time, the automatic acquisition of the time component can meet the user's needs. At the same time, if there are special requirements, the user can specify the starting point by himself. time value, so that different needs can be met.
另外,本实施例中给出一设定时间段的规则:In addition, a rule for setting a time period is given in this embodiment:
当有了基准的时间值之后,组件还需要提供一系列的规则来让组件生成不同的时间段。When there is a baseline time value, the component also needs to provide a series of rules to allow the component to generate different time periods.
规则的具体定义如下:The specific definitions of the rules are as follows:
static durations=[static durations=[
{{
last2Days:{last2Days:{
text:'Last 2days',text:'Last 2days',
expr:(date)=>{expr:(date)=>{
const d=new Date(date);const d = new Date(date);
return{return{
from:d.setDate(d.getDate()-2),from:d.setDate(d.getDate()-2),
till:date,till: date,
};};
},},
},},
last7Days:{last7Days:{
text:'Last 7 days',text:'Last 7 days',
expr:(date)=>{expr:(date)=>{
const d=new Date(date);const d = new Date(date);
return{return{
from:d.setDate(d.getDate()-7),from:d.setDate(d.getDate()-7),
till:date,till: date,
};};
},},
},},
last30Days:{last30Days:{
text:'Last 30 days',text:'Last 30 days',
expr:(date)=>{expr:(date)=>{
const d=new Date(date);const d = new Date(date);
return{return{
from:d.setDate(d.getDate()-30),from:d.setDate(d.getDate()-30),
till:date,till: date,
};};
},},
},},
last90Days:{last90Days:{
text:'Last 90 days',text:'Last 90 days',
expr:(date)=>{expr:(date)=>{
const d=new Date(date);const d = new Date(date);
return{return{
from:d.setDate(d.getDate()-90),from:d.setDate(d.getDate()-90),
till:date,till: date,
};};
},},
},},
last6months:{last6months:{
text:'Last 6months',text:'Last 6months',
expr:(date)=>{expr:(date)=>{
const d=new Date(date);const d = new Date(date);
return{return{
from:d.setMonth(d.getMonth()-6),from:d.setMonth(d.getMonth()-6),
till:date,till: date,
};};
},},
},},
……
}}
在时间组件的实现中,规则被定义成了实现时间组件的类的静态成员,这个规则静态成员为一个数组,数组中定义了一个个具体的规则。例如last2Days,可以很明显的知道这是获取从基准的开始时间为止的前两天的时间段;In the implementation of the time component, the rule is defined as a static member of the class that implements the time component. The static member of the rule is an array in which specific rules are defined. For example, last2Days, it is obvious that this is the time period of the first two days from the start time of the benchmark;
而上述方式的优点在于:将规则定义成了类的静态成员,一方面让时间组件的实现遵从面对对象的原则,因为规则也是时间组件类的一部分,需要封装,另外一方面,由于规则是所有的类的实例共有的,不需要进行特例化,因此实现成静态成员更符合语义。The advantage of the above method is that the rules are defined as static members of the class. On the one hand, the implementation of the time component follows the object-oriented principle, because the rules are also part of the time component class and need to be encapsulated. On the other hand, because the rules are It is common to all instances of the class and does not need to be specialised, so it is more semantic to implement it as a static member.
并且,本实施例还给出一根据上述规则以及基准时间生成不同时间段的方法:In addition, this embodiment also provides a method for generating different time periods according to the above rules and the reference time:
当时间组件接收到了基准时间值之后,根据规则就可以生成不同的时间段了;When the time component receives the reference time value, different time periods can be generated according to the rules;
首先时间组件会遍历规则数组,从数组的成员如last2Days:{First, the time component will traverse the rule array, starting from the members of the array such as last2Days:{
text:'Last 2days',text:'Last 2days',
expr:(date)=>{expr:(date)=>{
const d=new Date(date);const d = new Date(date);
return{return{
from:d.setDate(d.getDate()-2),from:d.setDate(d.getDate()-2),
till:date,till: date,
};};
},},
},},
从其text成员中就可以获得这个规则的具体描述。然后调用expr,传递基准时间(可以是用户传递的,也可以是组件自动从后去的当前时间)。就可以计算出具体的数值了,其中from和till构成了时间段的数值。最后将根据数值生成HTML元素插入组件的面板即可The specific description of this rule can be obtained from its text member. Then call expr, passing the reference time (it can be passed by the user, or it can be the current time that the component automatically goes from later). The specific value can be calculated, where from and till constitute the value of the time period. Finally, generate HTML elements according to the values and insert them into the panel of the component.
同时,元素上被加入了事件响应函数,当此时间值对应的HTML元素被点击的时候,组件内部将使用这个时间区间的from和till数值更新内部状态;At the same time, an event response function is added to the element. When the HTML element corresponding to this time value is clicked, the component will use the from and till values of this time interval to update the internal state;
而上述设置方式的优点在于,由于规则提供了统一的成员和计算函数,那么在组件循环生成对应的HTML元素的时候,就可以更加高效了,只需要统一从text获取到时间区间的描述,调用expr传递基准时间就可以获取时间段的具体数值了,而后期扩展时间组件时,只需要按照相同的约束就可以添加更多的时间段。The advantage of the above setting method is that since the rules provide unified members and calculation functions, it can be more efficient when the component loops to generate the corresponding HTML elements. It is only necessary to obtain the description of the time interval from the text and call The specific value of the time period can be obtained by passing the reference time to expr, and when the time component is expanded later, more time periods can be added according to the same constraints.
本实施例中,时间选择方法还包括以下步骤:In this embodiment, the time selection method further includes the following steps:
开发端接收返回的时间段,并生成用于时间选择的时间参数;The development end receives the returned time period and generates time parameters for time selection;
开发端根据时间参数进行时间选择工作。The development side performs time selection work according to time parameters.
而跟具体的,时间选择方法还包括以下步骤;Specifically, the time selection method further includes the following steps;
创建一回调函数,其用于获取时间参数并反馈至开发端;Create a callback function, which is used to obtain time parameters and feed them back to the developer;
具体讲时间参数反馈给开发端即开发人员的方式为:Specifically, the way the time parameter is fed back to the developer, that is, the developer, is as follows:
当用户在选择了时间选择控件之后,客户端内的时间组件会通过开发人员提供的onChange回调函数,将时间组件内部维护的from和till两个数值传递给开发人员,以便开发人员进行下一步工作;After the user selects the time selection control, the time component in the client will pass the from and till values maintained in the time component to the developer through the onChange callback function provided by the developer, so that the developer can proceed to the next step. ;
而采用回调函数的机制,而不是让用户自行获取时间组件内部的状态,这样避免了破坏时间组件的封装性,便于开发人员进行操作。Instead of allowing users to obtain the internal state of the time component by themselves, the callback function mechanism is used, which avoids destroying the encapsulation of the time component and facilitates the operation by developers.
本实施例中,时间选择方法内:基准时间通过人工预设或同步系统时间进行设置。In this embodiment, in the time selection method: the reference time is set by manual preset or by synchronizing the system time.
本发明实施例提供一种存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述时间选择方法的步骤。An embodiment of the present invention provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method for time selection are implemented.
参见图2所示,本发明实施例提供一种时间选择设备,包括存储器、处理器及存储在存储器上并在处理器上运行的计算机程序,处理器执行计算机程序时实现上述时间选择方法的步骤。Referring to FIG. 2, an embodiment of the present invention provides a time selection device, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the steps of the time selection method when executing the computer program .
参见图3所示,本发明实施例提供一种时间选择系统,该系统包括:Referring to FIG. 3, an embodiment of the present invention provides a time selection system, which includes:
基准时间设置单元,其用于预先设置基准时间,基准时间为用户当地时间;a reference time setting unit, which is used to preset a reference time, and the reference time is the local time of the user;
时间段单元,其用于使用基准时间并以当前时间为终点设定多个时间段,并对每一时间段对应生成一时间选择控件;a time period unit, which is used for setting a plurality of time periods with the current time as the end point using the reference time, and correspondingly generating a time selection control for each time period;
时间段返回单元,其用于根据用户选择的时间选择控件返回对应的时间段。The time period returning unit is used for returning the corresponding time period according to the time selection control selected by the user.
本实施例中,时间选择系统还包括:In this embodiment, the time selection system further includes:
时间参数生成单元,其用于根据时间段生成用于时间选择的时间参数;a time parameter generating unit for generating time parameters for time selection according to a time period;
时间选择单元,其用于根据时间参数进行时间选择工作。The time selection unit is used for time selection work according to the time parameter.
本实施例中,时间选择系统内:时间参数生成单元内包含一回调函数子单元;In this embodiment, in the time selection system: the time parameter generation unit includes a callback function subunit;
回调函数子单元,其用于获取时间参数并反馈至时间参数生成单元。The callback function subunit, which is used to obtain the time parameter and feed it back to the time parameter generation unit.
本实施例中,时间选择系统内:In this embodiment, in the time selection system:
基准时间通过人工预设或同步系统时间进行设置。The base time is set by manual preset or by synchronizing the system time.
需要说明的是:上述实施例提供的系统在实现时间选择操作时,仅以上述各功能模块的划分进行举例说明,实际应用中,可根据需要而将上述功能分配由不同功能模块完成,即将系统的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that: when the system provided by the above-mentioned embodiment implements the time selection operation, only the division of the above-mentioned functional modules is used as an example. The internal structure is divided into different functional modules to complete all or part of the functions described above.
本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。The present invention is not limited to the above-mentioned embodiments. For those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also regarded as the protection of the present invention. within the range.
本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。Contents not described in detail in this specification belong to the prior art known to those skilled in the art.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810023300.XA CN110018760B (en) | 2018-01-10 | 2018-01-10 | A time selection method, storage medium, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810023300.XA CN110018760B (en) | 2018-01-10 | 2018-01-10 | A time selection method, storage medium, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110018760A CN110018760A (en) | 2019-07-16 |
CN110018760B true CN110018760B (en) | 2021-09-07 |
Family
ID=67188100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810023300.XA Expired - Fee Related CN110018760B (en) | 2018-01-10 | 2018-01-10 | A time selection method, storage medium, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110018760B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004632A (en) * | 2009-09-01 | 2011-04-06 | 阿里巴巴集团控股有限公司 | Method and device for setting time information |
CN104598252A (en) * | 2015-02-15 | 2015-05-06 | 北京恒华伟业科技股份有限公司 | Time control as well as method for determining time based on time control |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070268784A1 (en) * | 2006-05-17 | 2007-11-22 | Hongtao Xu | Alarm Clock Having Triple Weekly Alarms |
-
2018
- 2018-01-10 CN CN201810023300.XA patent/CN110018760B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004632A (en) * | 2009-09-01 | 2011-04-06 | 阿里巴巴集团控股有限公司 | Method and device for setting time information |
CN104598252A (en) * | 2015-02-15 | 2015-05-06 | 北京恒华伟业科技股份有限公司 | Time control as well as method for determining time based on time control |
Non-Patent Citations (1)
Title |
---|
最新版手机工商银行怎么查询账户明细;FC行者如风;《百度经验》;20170724;正文1-5页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110018760A (en) | 2019-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190220159A1 (en) | Page display method, apparatus, terminal, and server, and storage medium | |
KR102162872B1 (en) | Multi-task scheduling method, system, application server and computer-readable storage medium | |
US10255067B2 (en) | Development of internet of things (IoT) applications | |
CN109542556B (en) | Method and system for interaction between process and form based on Activiti | |
US20210034336A1 (en) | Executing a process-based software application in a first computing environment and a second computing environment | |
US11093242B2 (en) | Automatically mapping data while designing process flows | |
WO2018036342A1 (en) | Csar-based template design visualization method and device | |
CN107209773B (en) | Automatic invocation of unified visual interface | |
JP2011028752A5 (en) | ||
CN108762760A (en) | Software interface customizing method, device, computer equipment and storage medium | |
WO2019144769A1 (en) | Traffic switching method and apparatus, and computer device | |
DE102007025681A1 (en) | Mobile electronic device, method and computer readable medium for dynamically setting the display order of feature options | |
CN109582936B (en) | Method and device for configuring report information | |
CN110502415A (en) | One kind burying a setting method, device and equipment | |
CN109976966A (en) | A kind of application program launching time counting method, apparatus and system | |
CN111444158A (en) | Long-short term user portrait generation method, device, equipment and readable storage medium | |
WO2016036386A1 (en) | Dynamically generating an aggregation routine | |
CN106155719A (en) | A kind of method and system utilizing USB device to realize openstack rapid deployment | |
CN103544058A (en) | Method and device for achieving plug-in | |
CN110018760B (en) | A time selection method, storage medium, device and system | |
CN106341469B (en) | Loading method and device of tree node data | |
CN118626550B (en) | Metadata acquisition method, device and storage medium | |
CN110941634A (en) | Data processing method and device, storage medium and electronic device | |
WO2019199308A1 (en) | User interface optimization for delayed data | |
CN112540760A (en) | UI (user interface) quick construction method based on data source field |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210907 |
|
CF01 | Termination of patent right due to non-payment of annual fee |