CN101902708B - Method for acquiring weather forecast by mobile communication terminal - Google Patents

Method for acquiring weather forecast by mobile communication terminal Download PDF

Info

Publication number
CN101902708B
CN101902708B CN201010232950.9A CN201010232950A CN101902708B CN 101902708 B CN101902708 B CN 101902708B CN 201010232950 A CN201010232950 A CN 201010232950A CN 101902708 B CN101902708 B CN 101902708B
Authority
CN
China
Prior art keywords
weather forecast
ussd
mobile communication
communication terminal
weather
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
CN201010232950.9A
Other languages
Chinese (zh)
Other versions
CN101902708A (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.)
Guangzhou Shengxia Intellectual Property Operation Co ltd
HEZE SHUANGLONG METALLURGICAL MACHINERY 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 CN201010232950.9A priority Critical patent/CN101902708B/en
Publication of CN101902708A publication Critical patent/CN101902708A/en
Application granted granted Critical
Publication of CN101902708B publication Critical patent/CN101902708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention is applicable to mobile communication terminals, and provides a method for acquiring weather forecast by a mobile communication terminal. The method comprises the following steps that: a, the mobile communication terminal transmits a USSD weather forecast request message to a mobile operator server, wherein the USSD weather forecast request message carries a target area code of a target area which a user needs to inquire; and b, the mobile communication terminal receives a USSD weather forecast response message fed back by the mobile operator server, wherein the USSD weather forecast response message carries the weather forecast of the target area. Compared with the conventional method for acquiring the weather forecast by the mobile communication terminal, the technical scheme provided by the invention is implemented more simply and quickly; and the user can inquire the weather forecast of any area in real time without consuming flow.

Description

The method of acquiring weather forecast by mobile communication terminal
Technical field
The invention belongs to mobile communication technology field, relate in particular to a kind of method of acquiring weather forecast by mobile communication terminal.
Background technology
USSD(unstructured supplementary service data, unstructured supplementary data traffic), be defined as the one mechanism through attaching position register (HLR) transmission of information and instruction between travelling carriage and network application, it provides text based interface for mobile communication subscriber, for the business of leading subscriber.Then press transmission (Send) key this request is sent to network as user can input " * #SC*n characters# " in dialing interface, wherein " SC " is service code, and " n characters " is other required codes of this request, can be empty.For example " * 21*1234567# " may be expressed as request network all-calls is forwarded to number 1234567.
The existing mobile communication terminal that passes through, as mobile phone, obtain weather forecast mainly by two kinds of modes: first customization weather forecast Short Message Service, mobile operator regularly sends weather forecast short message to mobile communication terminal, the defect of this mode is that the weather forecast that mobile communication terminal receives is for fixing regional (as the ownership place of mobile communication terminal), and can not real-time update; It two is that mobile communication terminal passes through network inquiry weather forecast, and this mode needs mobile communication terminal Internet enabled, and the every inquiry of user once, need to expend certain flow.
Therefore, need a kind of technical scheme, make user can pass through the real-time inquiry weather forecast of mobile communication terminal, and do not need to expend flow.
Summary of the invention
The object of the present invention is to provide a kind of method of acquiring weather forecast by mobile communication terminal, be intended to solve mobile communication terminal and obtain the problem of weather forecast by USSD.
The present invention is achieved in that a kind of method of acquiring weather forecast by mobile communication terminal, and described method comprises:
A, mobile communication terminal send USSD weather report request message to mobile operator server, in described USSD weather report request message, carry the target area code that user need to inquire about;
B, described mobile communication terminal receive the USSD weather forecast response message of described mobile operator server feedback, carry the weather forecast of described target area in described USSD weather forecast response message.
More specifically, wherein step a specifically comprises:
The target area that a1, described mobile communication terminal are selected from weather forecast query menu according to user, generates described USSD weather report request message, in described USSD weather report request message, carries the target area code that user need to inquire about;
The USSD of generation is sent to described mobile operator server by a2, described mobile communication terminal.
More specifically, described USSD weather report request message comprises the service code of mark weather forecast business, after mobile operator server receives USSD weather report request message, it is resolved, judge by the service code in this message whether this message is weather forecast query message, and, judge the target area of inquiry by target area code.
More specifically, wherein between step a and step b, also comprise:
Described mobile operator server receives described USSD weather report request message, inquires about its database, obtains the weather forecast of target area, and the weather forecast of described target area is fed back to described mobile communication terminal.
More specifically, specifically comprise:
Described mobile operator server receives described USSD weather report request message, inquire about its database, obtain the data of weather forecast of described target area, pre-the weather of described target area datagram is arrived to described mobile communication terminal by Release Complete message feedback.
More specifically, described Release Complete message comprises the character that identifies weather forecast.
More specifically, in described Release Complete message, carry described data of weather forecast by other optional information fields in described Release Complete message.
More specifically, wherein after step b, also comprise:
C, described mobile communication terminal are resolved the USSD weather forecast response message of described mobile operator server feedback, therefrom parse weather forecast, and described weather forecast is shown to user.
More specifically, described weather forecast be shown to user specifically comprise described in step c wherein:
Described weather forecast is shown to user by the user interface of described mobile communication terminal with menu mode.
More specifically, described mobile communication terminal is mobile phone.
The present invention overcomes the deficiencies in the prior art, the technical scheme providing is: mobile communication terminal sends USSD weather report request message to mobile operator, mobile operator feeds back USSD weather forecast response message, and mobile communication terminal parses weather forecast information from USSD weather forecast response message.Technical scheme provided by the invention is compared the mode of existing acquiring weather forecast by mobile communication terminal, realizes more simple and fast, and user can each regional weather forecast of real-time query, and does not need to expend flow.
Brief description of the drawings
Fig. 1 is the embodiment of the present invention " weather forecast query " menu schematic diagram;
Fig. 2 is the embodiment of the present invention " weather forecast menu " schematic diagram;
Fig. 3 is embodiment of the present invention flow chart.
Embodiment
Technical scheme provided by the invention is: mobile communication terminal sends USSD weather report request message to mobile operator, mobile operator feeds back USSD weather forecast response message, and mobile communication terminal parses weather forecast information from USSD weather forecast response message.
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
When specific implementation technical scheme provided by the invention, in the USSD weather report request message that mobile communication terminal generates, need to represent that this message is weather report request message by service code, this service code can be determined by mobile operator.In addition,, because the weather forecast of user's inquiry may relate to different regions, also need the coded representation query aim region by other.The form of weather report request message is as " * #SC*n characters# ", the wherein corresponding service code that represents weather report request of SC, the corresponding code that represents query aim region of n characters, can be determined according to certain rule by mobile operator, taking facilitate user to remember and use as principle, as postcode, area code etc.
The USSD weather report request message generating as, mobile communication terminal be " * #55*086021# ", and wherein, " 55 " for representing the service code of weather report request, " 086021 " represents that the target area of inquiring about is " Chinese Shanghai ".
Use for the convenience of the user, can in mobile communication terminal, set up " weather forecast query " menu, as shown in Figure 1.In the time that user need to inquire about the weather forecast in somewhere, choose this " weather forecast query " menu, in drop-down list corresponding to " country " option therein, choose the objective area " Shanghai " of choosing inquiry in drop-down list corresponding to the target country " China " of inquiry, " area " option therein, then confirm.
After user confirms, according to user, the selection result in this menu generates USSD weather report request message " * #55*086021# " to mobile communication terminal automatically, and this transmission of messages is arrived to mobile operator server.Mobile operator server receives USSD weather report request message " * #55*086021# " afterwards, it is resolved, judge that by the service code in this message " 55 " this message is weather forecast query message, the target area that judges inquiry by other service codes " 086021 " is " Chinese Shanghai ", mobile operator server is inquired about its database, obtains the weather forecast in Chinese Shanghai area.
When mobile operator server feeds back weather forecast response message to mobile communication terminal, can adopt Release Complete(to discharge) message, as the response to USSD weather report request.For making this response message be different from other USSD and being convenient to mobile communication terminal identifying processing, can add therein the character of some mark weather forecast, as * W*T, specifically can be consulted to determine by operator and terminal equipment manufacturer.The form of Weather information is exemplified as:
Shanghai,25℃,sunny,30%,west?2;
Demarcate city (Shanghai) with comma, temperature (25C DEG C), weather (sunny), humidity (30%), wind direction and wind-force (west 2).Certainly, also can, according to the ability of information that mobile operator server provides, add more Weather information, as air pressure, ultraviolet index etc.
According to 3GPP(3rd Generation Partnership Project, third generation partner program) agreement, Release Complete message is made up of 4 parts:
1, Protocol discriminator agreement difference;
2, Transaction identifier behavior identifier;
3, Message Type type of message, if this part is xx101010, is expressed as Release Complete message;
4, other optional information fields.
Other optional information fields wherein comprise Cause and Facility information element, in Facility, the word string of weather forecast directly can be added as ussd-string, are about to " * W*T Shanghai; 25 DEG C; sunny, 30%, west 2 " and mail to mobile communication terminal as message body.
Mobile communication terminal receives after Release Complete message, and message body is resolved, and if beginning in ussd-string is * W*T, what can confirm to return is that weather forecast " Shanghai, 25 DEG C, sunny, 30%, west 2 " is latitude and longitude coordinates.
Concerning domestic consumer, this content is very not directly perceived, the weather forecast of returning can be shown to user by more attractive in appearance and detailed mode, as shown in " weather forecast " menu of Fig. 2, and can add the picture that some represent weather, makes interface more friendly.
The flow chart of the embodiment of the present invention as shown in Figure 3, specifically comprises following step:
1, user starts the weather forecast query function of mobile communication terminal, selects to need the target area of inquiry;
2 mobile communication terminals generate USSD weather report request message according to user's selection;
3, the USSD weather report request message of generation is sent to mobile operator server by mobile communication terminal;
4, mobile operator server receives this USSD weather report request message, inquires about its database, obtains the weather forecast of target area;
5, mobile operator server arrives mobile communication terminal by the weather forecast of obtaining by Release Complete message feedback;
6, mobile communication terminal parses weather forecast from Release Complete message, shows by the user interface of mobile communication terminal.
The method advantage of obtaining weather forecast by USSD provided by the invention is more quick and easy, and without any need for GPRS data traffic, has saved user's communication cost.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (4)

1. a method for acquiring weather forecast by mobile communication terminal, described method comprises:
A, mobile communication terminal send USSD weather report request message to mobile operator server, in described USSD weather report request message, carry the target area code that user need to inquire about;
B, described mobile communication terminal receive the USSD weather forecast response message of described mobile operator server feedback, carry the weather forecast of described target area in described USSD weather forecast response message;
Wherein step a specifically comprises:
The target area that a1, described mobile communication terminal are selected from weather forecast query menu according to user, generates described USSD weather report request message, in described USSD weather report request message, carries the target area code that user need to inquire about;
The USSD of generation is sent to described mobile operator server by a2, described mobile communication terminal;
And; described USSD weather report request message comprises the service code of mark weather forecast business; after mobile operator server receives USSD weather report request message; it is resolved; judge by the service code in this message whether this message is weather forecast query message; and, judge the target area of inquiry by target area code;
Wherein, when mobile operator server feeds back weather forecast response message to mobile communication terminal, can adopt Release Complete message, as the response to USSD weather report request; For making this response message be different from other USSD and being convenient to mobile communication terminal identifying processing, add therein the character of inlet identity weather forecast, specifically consulted to determine by operator and terminal equipment manufacturer;
Wherein between step a and step b, also comprise:
Described mobile operator server receives described USSD weather report request message, inquires about its database, obtains the weather forecast of target area, and the weather forecast of described target area is fed back to described mobile communication terminal;
Specifically comprise:
Described mobile operator server receives described USSD weather report request message; inquire about its database; obtain the data of weather forecast of described target area, pre-the weather of described target area datagram is arrived to described mobile communication terminal by Release Complete message feedback;
Described Release Complete message comprises the character that identifies weather forecast;
In described Release Complete message, carry described data of weather forecast by other optional information fields in described Release Complete message.
2. method according to claim 1, is characterized in that, wherein after step b, also comprises:
C, described mobile communication terminal are resolved the USSD weather forecast response message of described mobile operator server feedback, therefrom parse weather forecast, and described weather forecast is shown to user.
3. method according to claim 2, is characterized in that, wherein described weather forecast is shown to user specifically comprises described in step c:
Described weather forecast is shown to user by the user interface of described mobile communication terminal with menu mode.
4. method according to claim 1, is characterized in that, described mobile communication terminal is mobile phone.
CN201010232950.9A 2010-07-21 2010-07-21 Method for acquiring weather forecast by mobile communication terminal Active CN101902708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010232950.9A CN101902708B (en) 2010-07-21 2010-07-21 Method for acquiring weather forecast by mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010232950.9A CN101902708B (en) 2010-07-21 2010-07-21 Method for acquiring weather forecast by mobile communication terminal

Publications (2)

Publication Number Publication Date
CN101902708A CN101902708A (en) 2010-12-01
CN101902708B true CN101902708B (en) 2014-07-30

Family

ID=43227832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010232950.9A Active CN101902708B (en) 2010-07-21 2010-07-21 Method for acquiring weather forecast by mobile communication terminal

Country Status (1)

Country Link
CN (1) CN101902708B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102790952B (en) * 2011-05-19 2016-05-25 中兴通讯股份有限公司 A kind of method and terminal that realizes unstructured supplementary data traffic
CN102333290A (en) * 2011-06-17 2012-01-25 中兴通讯股份有限公司 Realizing method and system of calling service as well as mobile equipment
CN102591271A (en) * 2012-01-10 2012-07-18 中国铁道科学研究院电子计算技术研究所 Computer room environment monitoring system and method
CN102711062A (en) * 2012-05-24 2012-10-03 惠州Tcl移动通信有限公司 Mobile terminal based method for acquiring weather forecast and mobile terminal
CN109241465B (en) * 2018-07-19 2021-02-09 华为技术有限公司 Interface display method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1360456A (en) * 2000-12-18 2002-07-24 华为技术有限公司 Method for providing service to user by unstructured supplementary service data center
CN101252702A (en) * 2008-03-31 2008-08-27 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, system and control method of unstructured supplementary data traffic
CN101409918A (en) * 2007-10-10 2009-04-15 江江 Method for querying personalized information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MXPA06000931A (en) * 2003-07-31 2006-05-04 Ericsson Telefon Ab L M A method and system for including location information in a ussd message by a network node.

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1360456A (en) * 2000-12-18 2002-07-24 华为技术有限公司 Method for providing service to user by unstructured supplementary service data center
CN101409918A (en) * 2007-10-10 2009-04-15 江江 Method for querying personalized information
CN101252702A (en) * 2008-03-31 2008-08-27 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, system and control method of unstructured supplementary data traffic

Also Published As

Publication number Publication date
CN101902708A (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN101627642B (en) System and method for providing converged messaging service
CN100396120C (en) Method for obtaining multicast program address by user's device
CN101902708B (en) Method for acquiring weather forecast by mobile communication terminal
EP2955953B1 (en) Device management server, device management client, and method for locating a target operation object
CN101835117A (en) Method for acquiring position information by mobile communication terminal
CN101473664B (en) Local calling area determination in wireless networks
WO2010012144A1 (en) Service content information inquiry method, system and service provider
CN103037334B (en) The processing method and system of effective time in a kind of triggering information
CN101815339A (en) Method and system for controlling regional service
CN101656933A (en) Method, device and system in group system for positioning by short message
KR101549848B1 (en) Method and apparatus for indentifying mobile stations associated with a geographical area
US20070136431A1 (en) Short message website-address device and system and method for implementing short message value-added service
CN101291542A (en) Method, mobile terminal and system for realizing intelligent communication of mobile terminal
CN1997079A (en) Method, system and mobile terminal for inquiry of the linkman state
CN105472090A (en) Address list contact person merging method and device
CN106453617A (en) Information pushing method and information pushing platform
CN101998226A (en) Mobile searching method and system
CN102469442B (en) Method and device for determining service supported by user terminal
CN101222687B (en) Management method, system and equipment for value-added service
CN101420680A (en) Multimedia message transferring system and method thereof
CN102098643A (en) Mobile communication terminal and method for inquiring telephone fee information
CN100362876C (en) Method for reading color message content
CN101895832A (en) Method and device for configuring access point name and application message and mobile terminals
CN102761846B (en) USSD service providing method, USSD service providing apparatus and system
CN101895839A (en) Method and system for sending short message actively upon detection of location change of mobile user

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
TR01 Transfer of patent right

Effective date of registration: 20201228

Address after: Northeast corner of the intersection of Beihuan road and Linji Road, Dingtao District, Heze City, Shandong Province

Patentee after: HEZE SHUANGLONG METALLURGICAL MACHINERY Co.,Ltd.

Address before: 510000 No.106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province (self compiled Building 1) x1301-a4845 (cluster registration) (JM)

Patentee before: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Effective date of registration: 20201228

Address after: 510000 No.106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province (self compiled Building 1) x1301-a4845 (cluster registration) (JM)

Patentee after: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 23 District

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right