CN107798419A - Mobile terminal and air quality display processing method and storage medium - Google Patents

Mobile terminal and air quality display processing method and storage medium Download PDF

Info

Publication number
CN107798419A
CN107798419A CN201710895490.XA CN201710895490A CN107798419A CN 107798419 A CN107798419 A CN 107798419A CN 201710895490 A CN201710895490 A CN 201710895490A CN 107798419 A CN107798419 A CN 107798419A
Authority
CN
China
Prior art keywords
air quality
mobile terminal
days
history
processing method
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
CN201710895490.XA
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710895490.XA priority Critical patent/CN107798419A/en
Publication of CN107798419A publication Critical patent/CN107798419A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Abstract

The invention discloses mobile terminal and air quality display processing method and storage medium, methods described to include:Get Date;According to the data prediction current air mass in history air quality data storehouse;By the current air mass display output of prediction.The present invention makes user also to obtain relevant air quality report in the case of no network to provide a kind of method, so that user understands air quality in time, lifts Consumer's Experience, is brought convenience for user.

Description

Mobile terminal and air quality display processing method and storage medium
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of mobile terminal and air quality display processing side Method and storage medium.
Background technology
With the improvement of people's living standards, people focus more on for environment and health, thus on TV, net The report of air quality is also proposed on network at present so that people's trip is referred to.Meanwhile with the hair of mobile terminal technology Exhibition, it is no longer difficult matter to be surfed the Net using mobile terminal, and the present mobile terminal of people generally uses online from associated nets Network obtains air quality report.Above- mentioned information obtains and all relies on network in the prior art, however it is some in particular cases User can not surf the Net, and such as come local one place that there is no mobile phone signal to cover, and user will be unable to obtain in this case Air quality is reported, so as to be made troubles for user.
Therefore, the prior art is defective, has much room for improvement and develops.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided a kind of mobile terminal and Air quality display processing method and storage medium.The present invention proposes the air quality display methods under a kind of no wireless signal, User is set also to obtain relevant air quality report in the case of no network to provide a kind of method, so that user is timely Understand air quality, brought convenience for user.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of mobile terminal air quality display processing method, wherein, including:
Get Date;
According to the data prediction current air mass in history air quality data storehouse;
By the current air mass display output of prediction.
The mobile terminal air quality display processing method, wherein, also include before the step that gets Date:
Mobile terminal is collected and stores history air quality in advance, history of forming air quality data storehouse.
The mobile terminal air quality display processing method, wherein, acquired current date only includes the moon, day.
The mobile terminal air quality display processing method, wherein, in the storehouse according to history air quality data The step of data prediction current air mass, specifically includes:
B1, current date is set as x days month y, obtain the air quality report of continuous n days forward in history air quality data storehouse And save as tq;
B2, search in history air quality data storehouse all days x months y forward, the air quality information of each m days backward, if Meet the air quality information of continuous n days and acquire that tq is consistent in step B1, then the sky for that day that preserves this after continuous n days Gas quality information is into pr;
The most air quality information item of same number is the current date air quality report predicted in B3, pr.
The mobile terminal air quality display processing method, wherein, receive user's by a menu pre-set Operational order sets n and m.
The mobile terminal air quality display processing method, wherein, the air quality includes:It is excellent, good and/or poor.
A kind of mobile terminal, wherein, including processor, and the memory being connected with the processor, the memory Air quality DP display processor is stored with, the air quality DP display processor is realized following walk during the computing device Suddenly:
Mobile terminal is collected and stores history air quality in advance, history of forming air quality data storehouse;
Get Date;
According to the data prediction current air mass in history air quality data storehouse;
By the current air mass display output of prediction;
The processor is used to call the air quality DP display processor to instruct.
The mobile terminal, wherein, when the air quality DP display processor is by the computing device, also realize with Lower step;
B1, current date is set as x days month y, obtain the air quality report of continuous n days forward in history air quality data storehouse And save as tq;
B2, search in history air quality data storehouse all days x months y forward, the air quality information of each m days backward, if Meet the air quality information of continuous n days and acquire that tq is consistent in step B1, then the sky for that day that preserves this after continuous n days Gas quality information is into pr;
The most air quality information item of same number is the current date air quality report predicted in B3, pr.
The mobile terminal, wherein, acquired current date only includes the moon, day;The air quality includes:It is excellent, good It is and/or poor
The operational order that user is received by a menu pre-set sets n and m.
A kind of storage medium, wherein, the storage medium is stored with air quality DP display processor, and the air quality shows Show the step of mobile terminal air quality display processing method is realized when processing routine is executed by processor.
Beneficial effect:Mobile terminal provided by the present invention and air quality display processing method and storage medium, it is described Method is by getting Date;By the data prediction current air mass in history air quality data storehouse.To provide one kind Method makes user also to obtain relevant air quality report in the case of no network, so that user understands air matter in time Amount, brings convenience for user.
Brief description of the drawings
Fig. 1 is the flow chart of the preferred embodiment of mobile terminal air quality display processing method of the present invention.
Fig. 2 is mobile terminal preferred embodiment functional schematic block diagram of the present invention.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to It is of the invention in limiting.
Embodiment one
Fig. 1 is referred to, Fig. 1 is the flow chart of the preferred embodiment of mobile terminal air quality display processing method of the present invention.Such as Shown in Fig. 1, mobile terminal air quality display processing method, comprises the following steps described in the embodiment of the present invention:
Step S10, get Date.
Get Date for example, June 1, perform step S20 afterwards.In the embodiment of the present invention, the acquired date Only includeThe moon, day, do not includeYear
Wherein, also include before the step that gets Date:Mobile terminal is collected and stores history air in advance Quality, history of forming air quality data storehouse.Such as history air quality data over the years is stored in the terminal, after convenient It is continuous to search contrast.
Step S20, the data prediction current air mass in history air quality data storehouse.
Wherein, the step of data prediction current air mass in the storehouse according to history air quality data specifically wraps Include:
B1, current date is set as x days month y, obtain the air quality report of continuous n days forward in history air quality data storehouse And save as tq;
B2, search in history air quality data storehouse all days x months y forward, the air quality information of each m days backward, if Meet the air quality information of continuous n days and acquire that tq is consistent in step B1, then the sky for that day that preserves this after continuous n days Gas quality information is into pr;
The most air quality information item of same number is the current date air quality report predicted in B3, pr.
In the embodiment of the present invention, the operational order that user can be received by a menu pre-set sets n and m tool Body number of days.Wherein, the air quality includes:It is excellent, good and/or poor.
Step S30, by the current air mass display output of prediction.
The present invention is described in further detail below by way of a concrete application embodiment:
Step S1, get Date, for example, June 1, perform step S2 afterwards;
Step S2, obtained forward continuous n days from June 1 in history air quality data storehouse(Such as n=5)Air quality letter Breath, i.e. on May 31st, 2016, on May 30th, 2016, on May 29th, 2016, on May 28th, 2016, on May 27th, 2016 Air quality information simultaneously saves as tq, therefore tq contains the above air quality information of continuous 5 days;Step S3 is performed afterwards;
Step S3, searched in history air quality data storehouse June 1 forward, the air quality information of m days backward(Such as m= 10)If meeting that the air quality information in continuous 5 (because n=5) days is consistent with the tq obtained in step S2, preserve one day after Air quality information into pr;Step S4 is performed afterwards;
For example, on May 31st, 2016, on May 30th, 2016, on May 29th, 2016, on May 28th, 2016, May 27 in 2016 Day continuous air quality information that is stored in tq for five days is:It is excellent, good, poor, excellent, excellent.
Following table be history air quality data storehouse on June 11,22 days ~ 2015 May in 2015, on May 22nd, 2016 ~ The air quality information on May 31st, 2016.Wherein, air quality state on May 30,26 days ~ 2015 May in 2015 and tq Unanimously, therefore the air quality information " good " on May 31st, 2015 is preserved into pr;Similarly, on June 4th, 2015 is preserved Air quality information " good " is into pr;The air quality information " poor " on June 10th, 2015 is into pr;On May 30th, 2016 Air quality information " good " is into pr.
Step S4, the most air quality information item of same number is that the current date air quality predicted is pre- in pr Report;For example, the pr obtained according to step S3,3 " good " and 1 " poor ", so current date air matter on June 1st, 2016 Amount forecast is " good ".
Wherein, the step S4, if pr for sky, or in pr various air quality information items number it is equal, then show " history air quality data storage capacity deficiency, unpredictable current air mass ".
Wherein, in above-mentioned steps S1 ~ S4, n and m is user's setting option, and user can be set by menu.
Therefore the air quality display methods under a kind of no wireless signal of the present invention, methods described are worked as by obtaining The preceding date;By the data prediction current air mass in history air quality data storehouse.Do not having user to provide a kind of method Also relevant air quality report can be obtained in the case of having network, so that user understands air quality in time, lifts user's body Test, brought convenience for user.
Based on above-described embodiment, present invention also offers a kind of mobile terminal, as shown in Fig. 2 the mobile end of the present embodiment End includes processor 10, and the memory 20 being connected with the processor, and the memory 20 is stored with air quality and shown Processing routine, the air quality DP display processor realize following steps when being performed by the processor 10:
Mobile terminal is collected and stores history air quality in advance, history of forming air quality data storehouse;
Get Date;
According to the data prediction current air mass in history air quality data storehouse;
By the current air mass display output of prediction;As detailed above;
The processor is used to call the air quality DP display processor to instruct.
Further, when the air quality DP display processor is by the computing device, following steps are also realized;
B1, current date is set as x days month y, obtain the air quality report of continuous n days forward in history air quality data storehouse And save as tq;
B2, search in history air quality data storehouse all days x months y forward, the air quality information of each m days backward, if Meet the air quality information of continuous n days and acquire that tq is consistent in step B1, then the sky for that day that preserves this after continuous n days Gas quality information is into pr;
The most air quality information item of same number is the current date air quality report predicted in B3, pr, specifically As described above.
Further, acquired current date only includes the moon, day;The air quality includes:It is excellent, good and/or poor.
The operational order that user is received by a menu pre-set sets n and m, as detailed above.
Based on above-described embodiment, present invention also offers a kind of storage medium, the storage medium storage of the present embodiment There is air quality DP display processor, the air quality DP display processor realizes that the mobile terminal is empty when being executed by processor The step of makings amount display processing method.
In summary, mobile terminal provided by the present invention and air quality display processing method and storage medium, it is described Method is by getting Date;By the data prediction current air mass in history air quality data storehouse.To provide one kind Method makes user also to obtain relevant air quality report in the case of no network, so that user understands air matter in time Amount, brings convenience for user.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (10)

  1. A kind of 1. mobile terminal air quality display processing method, it is characterised in that including:
    Get Date;
    According to the data prediction current air mass in history air quality data storehouse;
    By the current air mass display output of prediction.
  2. 2. mobile terminal air quality display processing method according to claim 1, it is characterised in that obtained currently described Also include before date step:
    Mobile terminal is collected and stores history air quality in advance, history of forming air quality data storehouse.
  3. 3. mobile terminal air quality display processing method according to claim 1, it is characterised in that acquired works as the day before yesterday Phase only includes the moon, day.
  4. 4. mobile terminal air quality display processing method according to claim 1, it is characterised in that described empty according to history The step of data prediction current air mass in gas quality database, specifically includes:
    B1, current date is set as x days month y, obtain the air quality report of continuous n days forward in history air quality data storehouse And save as tq;
    B2, search in history air quality data storehouse all days x months y forward, the air quality information of each m days backward, if Meet the air quality information of continuous n days and acquire that tq is consistent in step B1, then the sky for that day that preserves this after continuous n days Gas quality information is into pr;
    The most air quality information item of same number is the current date air quality report predicted in B3, pr.
  5. 5. mobile terminal air quality display processing method according to claim 4, it is characterised in that pre-set by one Menu receive user operational order set n and m.
  6. 6. mobile terminal air quality display processing method according to claim 1, it is characterised in that the air quality bag Include:It is excellent, good and/or poor.
  7. A kind of 7. mobile terminal, it is characterised in that including processor, and the memory being connected with the processor, it is described to deposit Reservoir is stored with air quality DP display processor, the air quality DP display processor by during the computing device realize with Lower step:
    Mobile terminal is collected and stores history air quality in advance, history of forming air quality data storehouse;
    Get Date;
    According to the data prediction current air mass in history air quality data storehouse;
    By the current air mass display output of prediction;
    The processor is used to call the air quality DP display processor to instruct.
  8. 8. mobile terminal according to claim 6, it is characterised in that the air quality DP display processor is by the processing When device performs, following steps are also realized;
    B1, current date is set as x days month y, obtain the air quality report of continuous n days forward in history air quality data storehouse And save as tq;
    B2, search in history air quality data storehouse all days x months y forward, the air quality information of each m days backward, if Meet the air quality information of continuous n days and acquire that tq is consistent in step B1, then the sky for that day that preserves this after continuous n days Gas quality information is into pr;
    The most air quality information item of same number is the current date air quality report predicted in B3, pr.
  9. 9. mobile terminal according to claim 6, it is characterised in that acquired current date only includes the moon, day;It is described Air quality includes:It is excellent, good and/or poor;
    The operational order that user is received by a menu pre-set sets n and m.
  10. 10. a kind of storage medium, it is characterised in that the storage medium is stored with air quality DP display processor, the air Quality DP display processor is realized when being executed by processor at any one of the claim 1-6 mobile terminal air quality displays The step of reason method.
CN201710895490.XA 2017-09-28 2017-09-28 Mobile terminal and air quality display processing method and storage medium Pending CN107798419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710895490.XA CN107798419A (en) 2017-09-28 2017-09-28 Mobile terminal and air quality display processing method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710895490.XA CN107798419A (en) 2017-09-28 2017-09-28 Mobile terminal and air quality display processing method and storage medium

Publications (1)

Publication Number Publication Date
CN107798419A true CN107798419A (en) 2018-03-13

Family

ID=61532709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710895490.XA Pending CN107798419A (en) 2017-09-28 2017-09-28 Mobile terminal and air quality display processing method and storage medium

Country Status (1)

Country Link
CN (1) CN107798419A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166710A (en) * 2014-08-12 2014-11-26 Tcl通讯(宁波)有限公司 Weather forecasting method based on mobile terminal and mobile terminal
CN104881582A (en) * 2015-05-28 2015-09-02 象辑知源(武汉)科技有限公司 Air quality prediction method and device
CN105069537A (en) * 2015-08-25 2015-11-18 中山大学 Constructing method of combined air quality forecasting model
CN105738974A (en) * 2016-02-05 2016-07-06 北京市环境保护监测中心 Air heavy pollution weather forecast method and system
CN105760970A (en) * 2016-03-21 2016-07-13 重庆灵狐科技股份有限公司 Method for predicting AQI
US20170184561A1 (en) * 2015-12-28 2017-06-29 International Business Machines Corporation Integrated Air Quality Forecasting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166710A (en) * 2014-08-12 2014-11-26 Tcl通讯(宁波)有限公司 Weather forecasting method based on mobile terminal and mobile terminal
CN104881582A (en) * 2015-05-28 2015-09-02 象辑知源(武汉)科技有限公司 Air quality prediction method and device
CN105069537A (en) * 2015-08-25 2015-11-18 中山大学 Constructing method of combined air quality forecasting model
US20170184561A1 (en) * 2015-12-28 2017-06-29 International Business Machines Corporation Integrated Air Quality Forecasting
CN105738974A (en) * 2016-02-05 2016-07-06 北京市环境保护监测中心 Air heavy pollution weather forecast method and system
CN105760970A (en) * 2016-03-21 2016-07-13 重庆灵狐科技股份有限公司 Method for predicting AQI

Similar Documents

Publication Publication Date Title
CN103677942B (en) A kind of method and apparatus of movable terminal to browse network pictures
CN101646139A (en) Method and device for downloading mobile terminal resource
CN109948077A (en) User behavior data acquisition method, device, equipment and computer storage medium
WO2006056992A3 (en) Obtaining and assessing objective data relating to network resources
CN105867714A (en) Application downloading method, apparatus and system
CN105991415B (en) A kind of information push method and mobile terminal
CN107276913A (en) Transmission method, terminal and the computer-readable recording medium of batch documents
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN107391108A (en) A kind of informing Information revision method and its device, electronic equipment
CN106686545B (en) A kind of application method and device of Wireless Fidelity national code
CN107818046A (en) The A/B method of testings and device of the application program page
CN110033769A (en) A kind of typing method of speech processing, terminal and computer readable storage medium
CN103812671B (en) A kind of telecommunication service subscriber perceptibility appraisal procedure and system
CN109126124A (en) Engine adaptation method, relevant device and computer readable storage medium
CN108763478A (en) User's recessive character computational methods, server and computer readable storage medium
CN103150172B (en) A kind of method and apparatus realizing individual scene
CN108200287B (en) Information processing method, terminal and computer readable storage medium
CN104077214B (en) Software systems loading procedure image-recognizing method and system
CN103207796B (en) Method, wireless telecommunications system and the system of application are installed according to user type
CN108595672A (en) The method, apparatus and readable storage medium storing program for executing of file type are downloaded in a kind of identification
CN107798419A (en) Mobile terminal and air quality display processing method and storage medium
CN110457604A (en) Recommended method and relevant device based on artificial intelligence
Ongena et al. Displacement and supplemental effects of the mobile Internet on fixed Internet use
CN109814953A (en) Wearable device view processing method, device, wearable device and storage medium
CN104765527B (en) A kind of method and mobile terminal for showing setting options

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180313

RJ01 Rejection of invention patent application after publication