CN102184102B - Web page data range selecting system - Google Patents

Web page data range selecting system Download PDF

Info

Publication number
CN102184102B
CN102184102B CN2011101137741A CN201110113774A CN102184102B CN 102184102 B CN102184102 B CN 102184102B CN 2011101137741 A CN2011101137741 A CN 2011101137741A CN 201110113774 A CN201110113774 A CN 201110113774A CN 102184102 B CN102184102 B CN 102184102B
Authority
CN
China
Prior art keywords
date value
value
date
range
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2011101137741A
Other languages
Chinese (zh)
Other versions
CN102184102A (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.)
CHONGQING DALONG NET TECHNOLOGY Co Ltd
Original Assignee
CHONGQING DALONG NET 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 CHONGQING DALONG NET TECHNOLOGY Co Ltd filed Critical CHONGQING DALONG NET TECHNOLOGY Co Ltd
Priority to CN2011101137741A priority Critical patent/CN102184102B/en
Publication of CN102184102A publication Critical patent/CN102184102A/en
Application granted granted Critical
Publication of CN102184102B publication Critical patent/CN102184102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a web page data range selecting system which comprises an input module, a storage module, a center control module and a control module, wherein the center control module calls a working mode parameter in the storage module to judge whether a date value is a single date value or range date value, the single date value is displayed by the display module if the date value is the single date value; and the center control module calls a range selection state parameter in the storage module to judge whether the range date value is a starting range date value or ending range date value, the starting range date value is stored in the storage module if the range date value is the starting range date value, the size of the ending range date value is compared with the size of the starting range date value in the storage module if the range date value is the ending range date value, and the starting range date value and the ending range date value are exchanged if the ending range date value is less than the starting range date value. According to the invention, one single date can be selected on the web page, and the date range can be selected.

Description

The selective system of web page date range
Technical field
The present invention relates to the selective system on a kind of web page date, relate in particular to the selective system of web page date range.
Background technology
In the application and development based on the web page, run into input and the demonstration on date through regular meeting.The selective system on existing web page date is to be imported the character string of specific format by the user, and program is in the validity of client or server end checking input date format.The defective that this selective system exists is that the user must import according to the named date form fully, seems loaded down with trivial details, careless slightly will makeing mistakes will be required to rewrite, and be dull, secondly this scheme also must be verified user's input, has increased the complexity of programmed logic.Select control so many dates occurred, implementation is had nothing in common with each other, but thinking is similar, simply say to be exactly with patterned mode displaying calendar on the web page, the drop-down menu of user by the simple mouse action date carries out the date input, but most realize support date not scope and selection and demonstration.
Summary of the invention
The technical matters that the present invention solves is: a kind of selective system of web page date range is provided, not only can selects a phase in odd-numbered day at the web page, can also option date scope.
Technical scheme of the present invention is: a kind of selective system of web page date range, it is characterized in that, and comprise that load module is used for receiving the date value that the user imports; Memory module, be used for storage " mode of operation " parameter, date value and " scope selection mode " parameter, wherein, the date value that " mode of operation " parameter is used for this time input of judgement user is the odd-numbered day time value or is the scope date value that " scope selection mode " parameter is the start range date value for the determination range date value or is the end range date value; Central Control Module, be used for receiving the date value of load module, and " mode of operation " parameter of calling in the memory module is the odd-numbered day time value or is the scope date value to judge this date value, if the odd-numbered day time value then directly should show by display module by the odd-numbered day time value, if " scope selection mode " parameter that the scope date value is then called in the memory module is the start range date value or is the end range date value to judge this scope date value, if the start range date value stores this start range date value in the memory module into, and change " scope selection mode " parameter is end range date sign, if the end range date value then compares the size of the start range date value in end range date value and the memory module, if the end range date value is then exchanged end range date value and start range date value mutually less than the start range date value, and change " scope selection mode " parameter identified for the start range date again, at last with the start range date value, date value between end range date value and start range date value and the end range date value all sends to display module; Display module is used for described date value is presented at the web page; Load module, memory module and display module are connected by signal wire with Central Control Module respectively.
Described load module comprises monitor unit and identifying unit, and described monitor unit is used for the click event of monitoring user, and described identifying unit is used for judging the value at exact date that the user imports according to user's click event.
Described memory module comprises mode of operation unit, date value unit and scope selection mode unit, described mode of operation unit is used for storage described " mode of operation " parameter, described date value unit is used for the described start range date value of storage, and described scope selection mode unit is used for storage described " scope selection mode " parameter.
Described Central Control Module comprises control module, reading unit, storage unit, phase in odd-numbered day processing unit and scope date processing unit, and described reading unit, storage unit, phase in odd-numbered day processing unit and scope date processing unit are connected with described control module by data line respectively; Described reading unit is used for reading " mode of operation " parameter, date value and " scope selection mode " parameter of described memory module under the control of described control module; Described storage unit is used for storing the start range date value into described memory module under the control of described control module, and described phase in odd-numbered day processing unit is used for the odd-numbered day time value is sent to display module; Described scope date processing unit is the start range date value for the determination range date value or is the end range date value, if the start range date value stores this start range date value in the memory module into, and change " scope selection mode " parameter is end range date sign, if the end range date value then compares the size of the start range date value in end range date value and the memory module, if the end range date value is then exchanged end range date value and start range date value mutually less than the start range date value, and change " scope selection mode " parameter identified for the start range date again, at last with the start range date value, date value between end range date value and start range date value and the end range date value all sends to display module.
Described display module comprises clearing cell and drawing unit, and described clearing cell is used for removing the date value that last time showed of the web page, and described drawing unit is used for drawing Central Control Module when time date value of input at the web page.
The invention has the beneficial effects as follows: the present invention not only can select a phase in odd-numbered day at the web page, can also option date scope.
Description of drawings
Fig. 1 is high-level schematic functional block diagram of the present invention.
Embodiment
The invention will be further described below in conjunction with drawings and Examples:
Referring to Fig. 1, a kind of selective system of web page date range, comprise load module 10, memory module 20, Central Control Module 30 and display module 40, load module 10, memory module 20 and display module 40 are connected by signal wire with Central Control Module 30 respectively respectively.Load module 10 is used for receiving the date value of user's input, and it comprises monitor unit 11 and identifying unit 12, and monitor unit 11 is used for the click event of monitoring user, and identifying unit 12 is used for judging the value at exact date that the user imports according to user's click event.Memory module 20 is used for storage " mode of operation " parameter, date value and " scope selection mode " parameter, wherein, the date value that " mode of operation " parameter is used for this time input of judgement user is the odd-numbered day time value or is the scope date value, " scope selection mode " parameter is the start range date value for the determination range date value or is the end range date value, memory module 20 comprises mode of operation unit 21, date value unit 22 and scope selection mode unit 23, mode of operation unit 21 is used for storage " mode of operation " parameter, date value unit 22 is used for storage start range date value, and scope selection mode unit 23 is used for storage " scope selection mode " parameter.Central Control Module 30 comprises control module 31, reading unit 32, storage unit 33, phase in odd-numbered day processing unit 34 and scope date processing unit 35, and reading unit 32, storage unit 33, phase in odd-numbered day processing unit 34 and scope date processing unit 35 are connected with control module 31 by data line respectively.Reading unit 32 is used for reading " mode of operation " parameter, date value and " scope selection mode " parameter of memory module 20 under the control of control module 31; Storage unit 33 is used for storing the start range date value into memory module under the control of control module 31, and phase in odd-numbered day processing unit 34 is used for the odd-numbered day time value is sent to display module 40; Scope date processing unit 35 is the start range date value for the determination range date value or is the end range date value, if the start range date value stores this start range date value in the memory module 20 into, and change " scope selection mode " parameter is end range date sign, if the end range date value then compares the size of the start range date value in end range date value and the memory module 20, if the end range date value is then exchanged end range date value and start range date value mutually less than the start range date value, and change " scope selection mode " parameter identified for the start range date again, at last with the start range date value, date value between end range date value and start range date value and the end range date value all sends to display module.
The control module 31 of Central Control Module receives the date value of load module 10, and " mode of operation " parameter of calling in the memory module 20 by reading unit 32 is the odd-numbered day time value or is the scope date value to judge this date value, if the odd-numbered day time value then directly should be presented at the web page by display module by the odd-numbered day time value, if " scope selection mode " parameter that the scope date value is then called in the memory module is the start range date value or is the end range date value to judge this scope date value, if the start range date value stores this start range date value in the memory module 20 into, and change " scope selection mode " parameter is end range date sign, if the end range date value then compares the size of the start range date value in end range date value and the memory module 20, if the end range date value is then exchanged end range date value and start range date value mutually less than the start range date value, and change " scope selection mode " parameter identified for the start range date again, at last with the start range date value, date value between end range date value and start range date value and the end range date value all sends to display module 40 to be presented at the web page.Display module 40 comprises clearing cell 41 and drawing unit 42, and clearing cell 41 is used for removing the date value that last time showed of the web page, and drawing unit 42 is used for drawing Central Control Module when time date value of input at the web page.
Below respectively to select phase in odd-numbered day " on March 1st, 2010 " and scope date " on August 10,1 day~2010 May in 2010 " to illustrate.
First kind of situation, select the phase in odd-numbered day " on March 1st, 2010 ": the user clicks " on March 1st, 2010 " by mouse action, monitor unit 11 obtains this click action and the information of this click action is passed to identifying unit 12, the value at exact date that identifying unit 12 calculates this click action is " 20100301 ", and date value " 20100301 " is sent to control module 31, control module 31 receives after this date value by reading unit 32 and transfers " mode of operation " parameter in the mode of operation unit 21, control module 31 is according to should " mode of operation " parameter judging that the date value " 20100301 " of this time input was the odd-numbered day time value, control module 31 directly should be sent to phase in odd-numbered day processing unit 34 by odd-numbered day time value " 20100301 " then, phase in odd-numbered day processing unit 34 sends to display module with odd-numbered day time value " 20100301 " subsequently, after display module receives this odd-numbered day time value " 20100301 ", at first remove the date value that last time showed of the web page by the clearing cell 41 of display module, should draw demonstration " on March 1st, 2010 " at the web page by odd-numbered day time value " 20100301 " by drawing unit 42 then, finish the selection of this odd-numbered day time value.
Second kind of situation, the range of choice date " on August 10,1 day~2010 May in 2010 ": the first step, the user clicks " on May 1st, 2010 " by mouse action, monitor unit 11 obtains this click action and the information of this click action is passed to identifying unit 12, the value at exact date that identifying unit 12 calculates this click action is " 20100501 ", and date value " 20100501 " is sent to control module 31, control module 31 receives after this date value by reading unit 32 and transfers " mode of operation " parameter in the mode of operation unit 21, control module 31 is according to should " mode of operation " parameter judging that the date value " 20100501 " of this time input was the scope date value, control module 31 is transferred " scope selection mode " parameter of scope selection mode unit 23 by storage unit 33 simultaneously, the initial marking of " scope selection mode " parameter is shown as start range date value sign at this moment, control module 31 is sent to scope date processing unit 35 with date value " 20100501 " and " scope selection mode " parameter, these " scope selection mode " parameters of scope date processing unit 35 identification be designated the start range date value time, namely " 20100501 " are the start range date value, scope date processing unit 35 by control module 31 and storage unit 33 just date value " 20100501 " store date value unit 22 into, simultaneously " scope selection mode " parameter change is read during for next date value input for end range date value sign.Second step, the user clicks " on 08 10th, 2010 " by mouse action, monitor unit 11 is to this click action and the information of this click action is passed to identifying unit 12, the value at exact date that identifying unit 12 calculates this click action is " 20100810 ", and date value " 20100810 " is sent to control module 31, control module 31 receives after this date value by reading unit 32 and transfers " mode of operation " parameter in the mode of operation unit 21, control module 31 is according to should " mode of operation " parameter judging that the date value " 20100810 " of this time input was the scope date value, control module 31 is transferred " scope selection mode " parameter of scope selection mode unit 23 by storage unit 33 simultaneously, the initial marking of " scope selection mode " parameter is shown as end range date value sign at this moment, be that date value " 20100810 " is the end range date value, scope date processing unit 35 compares end range date value " 20100810 " and the start range date value " 20100501 " that is stored in the date value unit 22, because the value of " 20100810 " is greater than the value of " 20100501 ", therefore end range date value " 20100810 " is not exchanged with start range date value " 20100501 ", scope date processing unit 35 will be worth " 20100501 " Start Date subsequently, date value " 20100501~20100810 " between closing day time value " 20100810 " and value Start Date " 20100501 " and the closing day time value " 20100810 " all sends to display module, the clearing cell 41 of display module is at first removed the date value that last time showed of the web page, draw at the web page by drawing unit 42 then and show " on May 1st, 2010 ", on all dates between " on August 10th, 2010 " and " on May 1st, 2010 "~" on August 10th, 2010 ", finish the selection of this underrange date value.
The third situation, the range of choice date " on August 10,1 day~2010 May in 2010 ": the first step, the user at first clicks " on August 10th, 2010 " by mouse action, monitor unit 11 is to this click action and the information of this click action is passed to identifying unit 12, the value at exact date that identifying unit 12 calculates this click action is " 20100810 ", and date value " 20100810 " is sent to control module 31, control module 31 receives after this date value by reading unit 32 and transfers " mode of operation " parameter in the mode of operation unit 21, control module 31 is according to should " mode of operation " parameter judging that the date value " 20100810 " of this time input was the scope date value, control module 31 is transferred " scope selection mode " parameter of scope selection mode unit 23 by storage unit 33 simultaneously, the initial marking of " scope selection mode " parameter is shown as start range date value sign at this moment, control module 31 is sent to scope date processing unit 35 with date value " 20100810 " and " scope selection mode " parameter, these " scope selection mode " parameters of scope date processing unit 35 identification be designated the start range date value time, scope date processing unit 35 by control module 31 and storage unit 33 just date value " 20100810 " store date value unit 22 into, simultaneously " scope selection mode " parameter change is read during for next date value input for end range date value sign.Second step, the user clicks " on May 1st, 2010 " by mouse action, monitor unit 11 is to this click action and the information of this click action is passed to identifying unit 12, the value at exact date that identifying unit 12 calculates this click action is " 20100501 ", and date value " 20100501 " is sent to control module 31, control module 31 receives after this date value by reading unit 32 and transfers " mode of operation " parameter in the mode of operation unit 21, control module 31 is according to should " mode of operation " parameter judging that the date value " 20100501 " of this time input was the scope date value, control module 31 is transferred " scope selection mode " parameter of scope selection mode unit 23 by storage unit 33 simultaneously, the initial marking of " scope selection mode " parameter is shown as end range date value sign at this moment, be that date value " 20100501 " is the end range date value, scope date processing unit 35 compares closing day time value " 20100501 " and the start range date value " 20100810 " that is stored in the date value unit 22, because the value of " 20100501 " is less than the value of " 20100810 ", therefore end range date value " 20100501 " and start range date value " 20100810 " are exchanged, namely after the exchange, the start range date value changes to " 20100501 ", the end range date value changes to " 20100810 ", scope date processing unit 35 will be worth " 20100501 " Start Date subsequently, date value " 20100501~20100810 " between closing day time value " 20100810 " and value Start Date " 20100501 " and the closing day time value " 20100810 " all sends to display module, the clearing cell 41 of display module is at first removed the date value that last time showed of the web page, draw at the web page by drawing unit 42 then and show " on May 1st, 2010 ", on all dates between " on August 10th, 2010 " and " on May 1st, 2010 "~" on August 10th, 2010 ", finish the selection of this underrange date value.

Claims (5)

1. the selective system of a web page date range is characterized in that: comprises,
Load module is used for receiving the date value that the user imports;
Memory module, be used for storage " mode of operation " parameter, date value and " scope selection mode " parameter, wherein, the date value that " mode of operation " parameter is used for judgement user's input is the odd-numbered day time value or is the scope date value that " scope selection mode " parameter is the start range date value for the determination range date value or is the end range date value;
Central Control Module, be used for receiving the date value of load module, and " mode of operation " parameter of calling in the memory module is the odd-numbered day time value or is the scope date value to judge this date value, if the odd-numbered day time value then directly should show by display module by the odd-numbered day time value, if " scope selection mode " parameter that the scope date value is then called in the memory module is the start range date value or is the end range date value to judge this scope date value, if the start range date value stores this start range date value in the memory module into, and change " scope selection mode " parameter is end range date sign, if the end range date value then compares the size of the start range date value in end range date value and the memory module, if the end range date value is then exchanged end range date value and start range date value mutually less than the start range date value, and change " scope selection mode " parameter identified for the start range date again, at last with the start range date value, date value between end range date value and start range date value and the end range date value all sends to display module;
Display module is used for described date value is presented at the web page;
Load module, memory module and display module are connected by signal wire with Central Control Module respectively.
2. according to the selective system of the described web page of claim 1 date range, it is characterized in that: described load module comprises monitor unit and identifying unit, described monitor unit is used for the click event of monitoring user, and described identifying unit is used for judging the value at exact date that the user imports according to user's click event.
3. according to the selective system of the described web page of claim 1 date range, it is characterized in that: described memory module comprises mode of operation unit, date value unit and scope selection mode unit, described mode of operation unit is used for storage described " mode of operation " parameter, described date value unit is used for the described start range date value of storage, and described scope selection mode unit is used for storage described " scope selection mode " parameter.
4. according to the selective system of the described web page of claim 1 date range, it is characterized in that: described Central Control Module comprises control module, reading unit, storage unit, phase in odd-numbered day processing unit and scope date processing unit, and described reading unit, storage unit, phase in odd-numbered day processing unit and scope date processing unit are connected with described control module by data line respectively; Described reading unit is used for reading " mode of operation " parameter, date value and " scope selection mode " parameter of described memory module under the control of described control module; Described storage unit is used for storing the start range date value into described memory module under the control of described control module, and described phase in odd-numbered day processing unit is used for the odd-numbered day time value is sent to display module; Described scope date processing unit is the start range date value for the determination range date value or is the end range date value, if the start range date value stores this start range date value in the memory module into, and change " scope selection mode " parameter is end range date sign, if the end range date value then compares the size of the start range date value in end range date value and the memory module, if the end range date value is then exchanged end range date value and start range date value mutually less than the start range date value, and change " scope selection mode " parameter identified for the start range date again, at last with the start range date value, date value between end range date value and start range date value and the end range date value all sends to display module.
5. according to the selective system of the described web page of claim 1 date range, it is characterized in that: described display module comprises clearing cell and drawing unit, described clearing cell is used for removing the date value that last time showed of the web page, and described drawing unit is used for drawing Central Control Module when time date value of input at the web page.
CN2011101137741A 2011-05-04 2011-05-04 Web page data range selecting system Active CN102184102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101137741A CN102184102B (en) 2011-05-04 2011-05-04 Web page data range selecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101137741A CN102184102B (en) 2011-05-04 2011-05-04 Web page data range selecting system

Publications (2)

Publication Number Publication Date
CN102184102A CN102184102A (en) 2011-09-14
CN102184102B true CN102184102B (en) 2013-09-11

Family

ID=44570283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101137741A Active CN102184102B (en) 2011-05-04 2011-05-04 Web page data range selecting system

Country Status (1)

Country Link
CN (1) CN102184102B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123633A (en) * 2014-07-24 2014-10-29 北京嘉和美康信息技术有限公司 Calendar control
CN105049939A (en) * 2015-07-06 2015-11-11 无锡天脉聚源传媒科技有限公司 Electronic program menu exporting prompting method and device
CN109491650A (en) * 2018-10-12 2019-03-19 平安科技(深圳)有限公司 A kind of date-time component setting method, device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6856315B2 (en) * 2000-09-08 2005-02-15 James B. Eberlein Pain migration tracking and display method
CN101080075A (en) * 2007-06-28 2007-11-28 中兴通讯股份有限公司 A menu-configurable mobile terminal and its menu configuration method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1884846A1 (en) * 2006-08-01 2008-02-06 Siemens Aktiengesellschaft System and method for displaying a variable status

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6856315B2 (en) * 2000-09-08 2005-02-15 James B. Eberlein Pain migration tracking and display method
CN101080075A (en) * 2007-06-28 2007-11-28 中兴通讯股份有限公司 A menu-configurable mobile terminal and its menu configuration method

Also Published As

Publication number Publication date
CN102184102A (en) 2011-09-14

Similar Documents

Publication Publication Date Title
WO2020215894A1 (en) Alarm method, device and system
CN105138630A (en) Schedule prompt method and terminal
WO2013177416A3 (en) Systems, methods, and computer program products for providing a contactless protocol
CN101252640B (en) Method for writing sequence number to set top box
CN103309560A (en) Multi-interface information display method and terminal
CN103455632A (en) Method and client for display web pages
CN102184102B (en) Web page data range selecting system
JP2014222441A5 (en)
CN103714069A (en) Method and device for opening pages in background
CN102842100A (en) Graphicalization management system and graphicalization management method of financial instruments
CN103218196A (en) System and method for realizing double-screen display of automatic test system
CN111028074B (en) Method, system, server and storage medium for updating and inquiring overdue bill
CN104123104B (en) Daily record control system and method
CN105630893B (en) A kind of display methods and device of group picture title
CN103399776A (en) Creation method and system for reusable MOCK
CN112256574A (en) Vehicle diagnosis method and system and related equipment
US20170357629A1 (en) Systems and methods for generating a report from stream data
CN101419618B (en) In-text information displaying method and apparatus
CN103488549B (en) Roll-back processing system and roll-back processing method for multi-mirror-image data
CN110515771A (en) A kind of object storage device setting method, system, equipment and computer media
CN104252366B (en) System recovery method, device, processor and memory
CN202904626U (en) RFID (Radio frequency identification) technology-based content composer of dynamic display system
CN105512887A (en) Consumption card management system and method
CN108287810A (en) A kind of business datum display methods, device, equipment and storage medium
CN103530353A (en) Self-identification method of GPS user data format

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Office building, 5th floor, building B, 156 Ruitian Road, Yuzhong District, Chongqing, 400010

Patentee after: Chongqing Dlong network science and Technology Group Co.,Ltd.

Address before: 400010, Chongqing, Yuzhong temple, global Plaza, 26, 27 floor

Patentee before: CHONGQING DALONG NET TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address