Weather information short message service system and method
[technical field]
The present invention relates to the note service system in a kind of moving communicating field, particularly relate to a kind of note service system that weather information is provided.
The invention still further relates to a kind of short message service method that weather information is provided.
[background technology]
The meteorological comings and goings on the mankind has great impact, knows that in advance weather information has great help for the mankind.
Forecast with unerring accuracy diastrous weathers such as hail, typhoon and heavy rain by weather information wide-scale distribution in time of meteorological department, make masses can with convenient and efficiently mode grasp up-to-date weather information, thereby Loss Caused by Meteorological Disasters is minimized.
Some relevant to weather that meteorological department provides, as counties and cities' weather, domestic provincial capital and tourist city weather inside the province, weather on and off duty, the life meteorological index, the festivals or holidays weather information such as weather, sudden change weather, also can greatly facilitate broad masses of the people's daily life.
Enter 21 century, development along with computer technology and mechanics of communication, meteorological department meets enterprises and institutions and broad masses to the demand of Weather Forecast Information and the meteorological support needs of big-and-middle-sized engineering construction project, extensively carried out various Meteorological Services, method of service comprises the various ways such as phone, fax, letter, QixiangYujingji, note, website, Site Service.
Because the significantly increase of mobile communication subscriber, using the mobile communication means is " Mobile Meteorological Station " that the society construction is applicable to needs, particularly utilizes note to obtain weather information, becomes the new way of the public's active demand and industry technical development.
Mainly there is following shortcoming in existing weather information short message service system:
At first, the user is passive reception weather information, between user and system, lacks interactivity;
Secondly, the user does not have independence in the process that obtains the weather information service, neither can select the time of weather information short message receiving-transmitting, can't and need the selection weather information by the own focus of paying close attention to yet.
Its three, existing weather information short message service system is subject to region limits, lacks flexibility, when the user other places of going on business, sends to user's weather information to remain the weather information of former residence.
Its four, what existing weather information short message service system provided to the user is simple meteorological data, not meteorological data is not met the processing of people's demand.For example, certain user plans to water flowers today, but does not know whether weather conditions are applicable to watering flowers, the meteorological data obtained by existing weather information short message service system, and the user can't judge whether be applicable to watering flowers today.
In sum, existing weather information short message service system is the reception weather information that the user is passive, along with the development of social productive forces and broad masses of the people's living standard improve day by day, various circles of society become more diverse and personalization to the requirement of Meteorological Services, traditional Meteorological Services platform can't be met consumers' demand, and is necessary to be improved.
[summary of the invention]
Main purpose of the present invention is to provide a kind of personalization, can initiatively asks for note service system and the method for weather information, and the user can customize Meteorological Services, selects the weather information of oneself paying close attention to, the time of determining the note transmission; When the user goes on business other places, can obtain in real time the weather information in city, current place; The user can send problem and obtain answer by editing short message.
In order to achieve the above object, technical scheme of the present invention is as follows:
A kind of weather information short message service system comprises: Short Message Service Gateway is connected and communicates with short message receiving terminal by mobile communications network; And application server, by the Internet, with this Short Message Service Gateway, be connected, receive from Short Message Service Gateway the note that the user sends for this, short message content is carried out to semantic analysis, carry out intelligent decision according to analysis result, generate answer short message and send to the user.
Preferably, weather information short message service system further comprises the intelligent decision storehouse, with this application server, is connected, and carries out the foundation of intelligent decision according to analysis result as this application server for storing meteorological knowledge.
Preferably, this application server is also for according to user's Meteorological Services, customization requires the generation answer short message to send to the user.
Preferably, weather information short message service system further comprises Meteorological Services portal website, by the Internet, with this application server, is connected, for send Meteorological Services customization requirement for the user.
Preferably, weather information short message service system further comprises database, with this application server, is connected, for the note of storing subscriber information and the customization of user's Meteorological Services requirement, meteorological data and reception and transmission.
Preferably, this application server comprises: the note receiver module, for from this Short Message Service Gateway, receiving the note that the user sends; Short message processing device, comprise semantic module and intelligent decision module, this semantic module is carried out semantic analysis to the content that receives note, and this intelligent decision module provides the problem of user's consulting and answers and generate answer short message according to this intelligent decision storehouse of analysis result query and database; Service executing apparatus, the Meteorological Services of carrying out customization requires Query Database to generate answer short message; And SMS transmission module, the answer short message produced in this short message processing device and this service executing apparatus is sent to the user.
Preferably, it is that short message content is carried out to morphological analysis that this application server is carried out the semantic analysis operation, finds out the keywords such as time, place and activity as analysis result; It is to draw the meteorological data in this time, this place according to this time and this place Query Database that this application server is carried out intelligent decision operation, then inquires about the judgement of intelligent decision storehouse whether be applicable to carrying out this activity under this meteorological data.
The present invention also provides a kind of weather information short message service method, comprises the steps: to receive the note that the user sends; Content to this note is carried out semantic analysis; Carry out intelligent decision generation answer short message according to analysis result and send to the user.
Preferably, weather information short message service method further comprises the steps: to provide the intelligent decision storehouse, storage meteorological knowledge and as the foundation of intelligent decision.
Preferably, weather information short message service method further comprises the steps: to provide database, the note of storing subscriber information, the customization of user's Meteorological Services requirement, meteorological data and reception and transmission.
Preferably, in this semantic analysis step, short message content is carried out to morphological analysis, find out the keywords such as time, place and activity as analysis result; In this intelligent decision step, according to this time and this place Query Database, draw the meteorological data in this time, this place, then inquire about the judgement of intelligent decision storehouse whether be applicable to carrying out this activity under this meteorological data.
Preferably, weather information short message service method further comprises the steps: that customization requires Query Database generation answer short message to send to the user according to user's Meteorological Services.
Preferably, weather information short message service method further comprises the steps: to provide Meteorological Services portal website, for the user, sends Meteorological Services customization requirement, and the customization of user's Meteorological Services requires to deposit in database.
Owing to adopting above-mentioned technical scheme, beneficial effect of the present invention comprises:
1, the present invention adopts semantic analysis and intelligent decision, can reply in real time the problem of the relevant meteorology of user's consulting;
2, the present invention carries out focus that the user pays close attention to according to oneself, interest and other requires the Meteorological Services of customization, possesses independence and flexibility.
In sum, the present invention has obtained personalized Meteorological Services, has realized that the user can initiatively ask for the service of weather information.
[accompanying drawing explanation]
For further understanding feature of the present invention and technology contents, refer to following relevant accompanying drawing of the present invention, yet appended graphic reference and the explanation use of only providing not is used for the present invention is limited.
Fig. 1 is the theory diagram of weather information short message service system of the present invention;
Fig. 2 is the theory diagram of the application server in weather information short message service system of the present invention;
Fig. 3 and Fig. 4 are the flow charts of weather information short message service method of the present invention.
[embodiment]
Below in conjunction with accompanying drawing, by the specific embodiment of the present invention is described in detail, will make technical scheme of the present invention and other beneficial effects apparent.
As shown in Figure 1, weather information short message service system of the present invention comprises: Short Message Service Gateway, application server, intelligent decision storehouse, database and meteorological service door website.
Short Message Service Gateway by mobile communications network and short message receiving terminal (for example, mobile phone or other terminal) connect and communicate, Short Message Service Gateway also transmits intermediary is provided between mobile communications network and the Internet for note, mobile communications network comprises GSM and CDMA, and intelligence letter gateway can be any or the combination in China Mobile's gateway, CHINAUNICOM's gateway and China Telecom's gateway in China.
Application server is connected by the Internet with Short Message Service Gateway; Intelligent decision storehouse, database, Meteorological Services portal website are connected with application server, and the connection between them can connect by the Internet according to actual needs, connect or the alternate manner connection by in-house network.
Meteorological Services portal website provides interactive interface for the customization Meteorological Services, referring to Fig. 5, the user is by being connected in the various browser access Meteorological Services portal website of the Internet, according to the focus of concern of oneself, interest etc. are sent the customization requirement, for example, whether general Meteorological Services (rains, temperature, wind direction, humidity, uitraviolet intensity, fishing exponential sum carwash index etc.), sudden Meteorological Services (comprises heavy rain, typhoon, burning sun, sandstorm, air pollution etc.) and specific Meteorological Services (when city, the current place of user changes, system provides this city up-to-date weather information by note).
Database is used for the note that storing subscriber information (for example, the relevant informations such as user mobile phone number, current and historical location), user's Meteorological Services customization requirement, meteorological data, system receive and send.
The intelligent decision storehouse is used for storing scientific common sense and the suggestion that treated meteorology is relevant, for example, at certain, under concrete weather condition, whether is applicable to carrying out carwash, morning exercises, climbs the mountain, waters flowers, the activity such as fishing.
Application server is carried out the operation of two aspects: the one, and note is processed, and comprises the reception note, short message content is carried out to semantic analysis and intelligent decision; The 2nd, the Meteorological Services of execution customization.As shown in Figure 2, application server comprises note receiver module, short message processing device, service executing apparatus and SMS transmission module.The note receiver module receives from Short Message Service Gateway the note that the user sends, then note is submitted to short message processing device; Answer short message is processed and generated to short message processing device to the note received, short message processing device comprises semantic module and intelligent decision module, semantic module is carried out semantic analysis to the content that receives note, for example morphological analysis, adopt Chinese words segmentation and keyword matching technique to be analyzed short message content, draw comprising time, place and activity; The intelligent decision module draws the meteorological data in preset time, place according to the when and where Query Database, then inquires about intelligent decision storehouse judgement whether be applicable to carrying out activity under this meteorological data, generates answer short message; The Meteorological Services customization requirement that service executing apparatus customizes by Portal Websites of Meteorological Bureau according to the user, Query Database also generates answer short message; SMS transmission module sends to Short Message Service Gateway to send to the user answer short message of short message processing device and service executing apparatus generation again.
As shown in Figure 3 and Figure 4, weather information short message service method of the present invention is as follows:
At first, the database of the note of storing subscriber information, the customization of user's Meteorological Services requirement, meteorological data and reception and transmission is provided; Provide the storage meteorological knowledge and as the intelligent decision storehouse of the foundation of intelligent decision; Meteorological Services portal website is provided, and for the customization Meteorological Services, the customization of user's Meteorological Services requires to deposit in database;
Then, receive the note that the user sends; Content to this note is carried out semantic analysis, and for example morphological analysis adopts Chinese words segmentation to be analyzed short message content, draw comprising time, place and the keyword such as movable as analysis result; Carry out intelligent decision according to analysis result, draw the meteorological data in this time, this place according to the when and where Query Database, then inquire about intelligent decision storehouse judgement whether be applicable to carrying out this activity under this meteorological data; Generate answer short message and send to the user;
In addition, also according to user's Meteorological Services, customization requires Query Database generation note to send to the user.
Embodiment 1:A ground cellphone subscriber (number A1) is with username and password Website login (current date A2), select " weather every day " service entry, and select receive note 8 of every days, application server is at Query Database 7: 59 every day, (for example obtain the weather on the same day, fine day, temperature 23-33 degree, gentle breeze), then by user's phone number A1 and meteorological according to submitting to Short Message Service Gateway, this user received 7: 59: 50 every day that short message content was " Shenzhen is fine day temperature 23-33 degree gentle breeze in such a month, and on such a day ".
Embodiment 2: cellphone subscriber (number C1) edits note in date C2 and send to the system service number 7: 30 morning, content is " can water flowers today ", after application server is received short message content, show that according to phone number C1 the current location of user is Shenzhen, note is carried out to word segmentation processing and show that time noun " today ", animate noun " water flowers ".The application server Query Database draws Shenzhen meteorological data of following two days (8 days: cloudy day, gentle breeze, rainfall probability 30%; Cloudy day on the 9th, southeaster 3-4 level, rainfall probability 50%).The intelligent decision module judges result " the larger suggestion of rainfall probability is not watered flowers " according to this weather, application server is submitted to Short Message Service Gateway by subscriber phone number C1 and judged result, in 7: 30: 20 morning of date C2, the user receives and answers short message content " the larger suggestion of rainfall probability is not watered flowers ".
In the present invention, the user can customize Meteorological Services by website, selects the weather information of oneself paying close attention to, the time of determining the note transmission; When the user goes on business other places, will obtain in real time the weather information in city, current place; The user can editing mobile phone note transmission problem arrive Provincial Meteorological Service Message Flatform, and for the problem of user's consulting, system will give the user and reasonably answer.
As known by the technical knowledge, the present invention can realize by other the embodiment that does not break away from its Spirit Essence or essential feature.Therefore, above-mentioned disclosed embodiment, with regard to each side, all just illustrate, and is not only.Change within the scope of the present invention all or within being equal to scope of the present invention all is included in the invention.