Weather information note 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]
Meteorological comings and goings to the mankind has great influence, knows that in advance weather information has great help for the mankind.
Forecast with unerring accuracy diastrous weather such as hail, typhoon and heavy rain and of meteorological department with weather information wide-scale distribution in time, make masses can with convenient and efficiently mode grasp up-to-date weather information, thereby the meteorological disaster loss is minimized.
Some relevant with weather that meteorological department provides also can greatly make things convenient for broad masses of the people's daily life as counties and cities' weather, domestic provincial capital and tourist city weather inside the province, weather on and off duty, the meteorological index of life, festivals or holidays weather information such as weather, sudden change weather.
Enter 21 century, development along with computer technology and mechanics of communication, meteorological department satisfies 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 multiple modes such as phone, fax, letter, QixiangYujingji, note, website, on-the-spot service.
Because the significantly increase of mobile communication subscriber, utilization mobile communication means particularly utilize note to obtain weather information for " the mobile meteorological observatory " of the suitable needs of society construction, become the new way of the public's active demand and industry technical development.
Mainly there is following shortcoming in existing weather information note service system:
At first, the user is passive reception weather information, lacks interactivity between user and the system;
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 by the focus of oneself paying close attention to and need to select weather information yet.
Its three, existing weather information note service system is subjected to region limits, lacks flexibility, when the user other places of going on business, the weather information that sends to the user remains the weather information of former residence.
Its four, what existing weather information note service system provided to the user is simple meteorological data, 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 fit to water flowers, and by the meteorological data that existing weather information note service system obtains, the user can't judge whether be fit to water flowers today.
In sum, existing weather information note service system is the passive reception weather information of user, along with development of social productivity and broad masses of the people's living standard improves 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 provides a kind of personalization, can initiatively ask for the 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 the other places, can obtain the weather information in city, current place in real time; 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 note service system comprises: Short Message Service Gateway is connected with short message receiving terminal by mobile communications network and communicates; And application server, be connected with this Short Message Service Gateway by the Internet, be used for this and receive the note that the user sends from Short Message Service Gateway, short message content is carried out semantic analysis, carry out intelligent decision according to analysis result, generate answer short message and send to the user.
Preferably, the weather information note service system further comprises the intelligent decision storehouse, is connected with this application server, is used to store meteorological knowledge and the foundation of carrying out intelligent decision as this application server according to analysis result.
Preferably, this application server also is used for sending to the user according to user's Meteorological Services customization requirement generation answer short message.
Preferably, the weather information note service system further comprises Meteorological Services portal website, is connected with this application server by the Internet, is used for sending Meteorological Services customization requirement for the user.
Preferably, the weather information note service system further comprises database, is connected with this application server, is used for the note of storing subscriber information and user's Meteorological Services customization requirement, meteorological data and reception and transmission.
Preferably, this application server comprises: the note receiver module is used for receiving the note that the user sends from this Short Message Service Gateway; 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 according to this intelligent decision storehouse of analysis result query and database and to the problem of user's consulting and answers and generate answer short message; 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 that produces 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 morphological analysis that this application server is carried out the semantic analysis operation, finds out 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 the intelligent decision operation, inquires about the intelligent decision storehouse again and judges whether be fit to carry 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 morphological analysis, find out keywords such as time, place and activity as analysis result; In this intelligent decision step, draw the meteorological data in this time, this place, inquire about the intelligent decision storehouse again and judge under this meteorological data, whether to be fit to carry out this activity according to this time and this place Query Database.
Preferably, weather information short message service method comprises the steps: that further 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, sends Meteorological Services customization requirement for the user, and the customization of user's Meteorological Services requires to deposit in database.
Because adopt above-mentioned technical scheme, beneficial effect of the present invention comprises:
1, the present invention adopts semantic analysis and intelligent decision, can reply the problem of the relevant meteorology of user's consulting in real time;
2, the present invention carries out the Meteorological Services of user according to the focus of oneself paying close attention to, interest and other requirement 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.
[description of drawings]
For further understanding feature of the present invention and technology contents, see also following relevant accompanying drawing of the present invention, yet appended graphic reference and the explanation usefulness of only providing not is to be used for the present invention is limited.
Fig. 1 is the theory diagram of weather information note service system of the present invention;
Fig. 2 is the theory diagram of the application server in the weather information note 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,, will make technical scheme of the present invention and other beneficial effects apparent by the specific embodiment of the present invention is described in detail.
As shown in Figure 1, weather information note 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 between mobile communications network and the Internet for note provides intermediary, mobile communications network comprises GSM and CDMA, and intelligence letter gateway can be any or combination in China Mobile's gateway, CHINAUNICOM's gateway and the China Telecom's gateway in China.
Application server and Short Message Service Gateway are by Internet connection; Intelligent decision storehouse, database, Meteorological Services portal website are connected with application server, and the connection between them according to actual needs can be by Internet connection, by in-house network connection or alternate manner connection.
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 changed, system provided this city up-to-date weather information by note).
Database is used for the note that storing subscriber information (for example, 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 treated meteorology relevant scientific common sense and suggestion, for example, whether is fit to carry out carwash, morning exercises under certain concrete weather condition, climbs the mountain, waters flowers, activity such as fishing.
Application server is carried out the operation of two aspects: the one, and note is handled, and comprises the reception note, short message content is carried out 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 the note that the user sends from Short Message Service Gateway, again note is submitted to short message processing device; Answer short message is handled and generated to short message processing device to the note that receives, 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 that short message content is analyzed, 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, inquires about the intelligent decision storehouse again and judges whether be fit to carry out activity under this meteorological data, generates answer short message; Service executing apparatus is according to the Meteorological Services customization requirement of user by the customization of meteorological portal website, and Query Database also generates answer short message; The answer short message that SMS transmission module generates short message processing device and service executing apparatus sends to Short Message Service Gateway and sends to the user again.
As shown in Figure 3 and Figure 4, weather information short message service method of the present invention is as follows:
The database of the note of storing subscriber information, the customization of user's Meteorological Services requirement, meteorological data and reception and transmission at first, 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 that short message content is analyzed, draw comprising keywords such as time, place and activity as analysis result; Carry out intelligent decision according to analysis result, draw the meteorological data in this time, this place, inquire about the intelligent decision storehouse again and judge under this meteorological data, whether to be fit to carry out this activity according to the when and where Query Database; Generate answer short message and send to the user;
In addition, also customization requires Query Database generation note to send to the user according to user's Meteorological Services.
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, the weather that obtains the same day (for example, fine, temperature 23-33 degree, gentle breeze), then user's phone number A1 and meteorological certificate are submitted to Short Message Service Gateway, this user received 7: 59: 50 every day that short message content was " Shenzhen in such a month, and on such a day fine temperature 23-33 degree gentle breeze ".
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, drawing the current location of user according to phone number C1 is Shenzhen, note is carried out word segmentation processing draws time noun " today ", animate noun " is watered flowers ".The application server Query Database drew following two days the meteorological data in Shenzhen (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 is made judged result " the bigger suggestion of rainfall probability is not watered flowers " according to this weather, application server is submitted to Short Message Service Gateway with subscriber phone number C1 and judged result, in 7: 30: 20 morning of date C2, the user receives and answers short message content " the bigger suggestion of rainfall probability is not watered flowers ".
Among the present invention, the user can customize Meteorological Services by the website, selects the weather information of oneself paying close attention to, the time of determining the note transmission; When the user goes on business the other places, will obtain the weather information in city, current place in real time; The user can editing mobile phone note transmission problem to the Meteorological Services SMS platform, at 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 or essential feature.Therefore, above-mentioned disclosed embodiment with regard to each side, all just illustrates, and is not only.All within the scope of the present invention or the change in being equal to scope of the present invention all be included in the invention.