CN113242511A - Method for setting short message coding range based on attribution language, positioning information and short message content - Google Patents
Method for setting short message coding range based on attribution language, positioning information and short message content Download PDFInfo
- Publication number
- CN113242511A CN113242511A CN202110490347.9A CN202110490347A CN113242511A CN 113242511 A CN113242511 A CN 113242511A CN 202110490347 A CN202110490347 A CN 202110490347A CN 113242511 A CN113242511 A CN 113242511A
- Authority
- CN
- China
- Prior art keywords
- short message
- country
- user
- gsm7
- language
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method for setting a short message coding range based on a home location language, positioning information and short message content, which comprises the following steps: after the terminal roams to a foreign network, searching which country the roaming network belongs to through a currently registered Public Land Mobile Network (PLMN); confirming the specific operator of the user and the city or area matched with the operator through the registered MCC and MNC information, and confirming the city information; when the user terminal is located in a city or region of a country, it is determined which language code is used according to the language use habit of the region, and the corresponding GSM7 default code replacement table and GSM7 extended code replacement table combination are inquired and set in the terminal. The invention solves the problem that the GSM7 extension code substitution table corresponding to a plurality of languages is timely and accurately loaded and confirmed under the condition that the languages exist in a country.
Description
Technical Field
The invention relates to the field of short message language coding, in particular to a method for setting a short message coding range based on a home location language, positioning information and short message content.
Background
When the terminal roams to a foreign network, the terminal can send short messages to communicate with the foreign network by using foreign local language characters with high probability. At this time, when the user terminal communicates with the foreign user, the user terminal generally communicates with the foreign user through the foreign language and character short message. The prior art can only inquire a corresponding GSM7 default code alternative table and a GSM7 extended code alternative table according to the country code of a SIM card inserted by a user terminal. When there are multiple language codes in a country (the same MCC) (for example, india) and the languages corresponding to different bangs are different, the GSM7 extension code substitution table corresponding to the language cannot be accurately loaded and confirmed in time only by the MCC of the SIM card.
Disclosure of Invention
The invention provides a method for setting a short message coding range based on a home location language, positioning information and short message content, which solves the problem that a GSM7 extended code substitution table corresponding to a language is timely and accurately loaded and confirmed under the condition that a plurality of language codes exist in one country.
The technical problem to be solved by the invention is realized by the following technical scheme:
the invention provides a method for setting a short message coding range based on a home location language, positioning information and short message content, which is characterized by comprising the following steps: after the terminal roams to a foreign network, searching which country the roaming network belongs to through a currently registered Public Land Mobile Network (PLMN); confirming the specific operator of the user and the city or area matched with the operator through the registered MCC and MNC information, and confirming the city information; when the user terminal is located in a city or region of a country, it is determined which language code is used according to the language use habit of the region, and the corresponding GSM7 default code replacement table and GSM7 extended code replacement table combination are inquired and set in the terminal.
Preferably, when editing the short message, the GSM7 extended code substitution table of the country is traversed preferentially.
Preferably, when the user uses the terminal to communicate with the foreign user by short messages, the country code is determined by judging the home location of the foreign user number, the user selects between the country to which the roaming network belongs and the country of the foreign user, and then the corresponding combination of the GSM7 default code replacement table and the GSM7 extended code replacement table is inquired according to the country code and is set in the terminal.
Preferably, when the user uses the terminal to communicate with the foreign user short message, the user can judge which country character is according to the foreign language character contained in the short message, the user selects between the country to which the roaming network belongs and the country of the foreign user, and then the corresponding GSM7 default code replacement table and the GSM7 extended code replacement table are inquired according to the country code and set in the terminal.
The invention has the advantages that when a plurality of language codes exist in a country, the GSM7 extension code alternative list corresponding to the language can be timely and accurately loaded and confirmed.
Drawings
Fig. 1 is a flow chart of the method for setting the short message coding range based on the home location language, the positioning information and the short message content through roaming information query according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a flow chart of querying through roaming information by the method for setting a short message encoding range based on a home language, positioning information and short message content according to the embodiment. When a user uses the terminal to roam to a foreign network, the terminal can inquire the current registered PLMN, the PLMN is composed of MCC and MNC, and the country in which the terminal roams can be confirmed according to the MCC. The specific operator of the subscriber can be identified by the registered MCC MNC information. Some operators in countries such as India only match with fixed cities, can confirm city information through the information of the operators, inquire the corresponding GSM7 default code replacement table and the GSM7 extended code replacement table combination to be arranged in a terminal, when editing short messages, preferentially traverse the GSM7 extended code replacement table of the country, reduce interface delay and performance reduction caused by excessive traverse of the GSM7 language code table, and also reduce the byte length of short message transmission. For example, the operator corresponding to indian andela bang is aiccel, the MCC MNC of the operator at indian andela bang is 405801, when the terminal takes the MCC MNC information, it can be confirmed that the operator is at andela bang, the common language corresponding to the bang is tylugu, and at this time, the GSM7 default code substitution table and the GSM7 extended code substitution table corresponding to tylugu are automatically loaded, so as to reduce the occupation of more channel resources by the user input characters in transmission. If not, the method must be converted into UCS2 coding, UCS2 codes a character occupies 2 bytes, and GSM 7bit Default Alphabet and GSM 7bit extension codes corresponding to Telugu language only occupy 7 bits.
When a user uses a terminal to exchange short messages with foreign users, the country code of the user is determined by judging the home location of the foreign user number, the user selects between the country to which the roaming network belongs and the country of the foreign user, then the corresponding combination of the GSM7 default code replacement table and the GSM7 extension code replacement table is inquired according to the country code and is arranged in the terminal, when the short messages are edited, the GSM7 extension code replacement table of the country is preferentially traversed, the interface delay and the performance reduction caused by too many traversed GSM7 language code tables are reduced, and the byte length sent by the short messages can be reduced. For example: when the user terminal carries out short message communication with the mobile phone number of the Turkish, the user terminal can take the number of the Turkish, and judge that the number prefix is at the beginning of 90, the user terminal can be considered to be in short message communication with the user of the Turkish, so that a GSM7 Default code replacement Table and a GSM7 extended code replacement Table of the Turkish can be loaded according to the country code of the Turkish, and a GSM 7bit Default letter Table can be replaced by a Turkish National Language Locking Shift Table, so that more channel resources occupied by the user input characters in transmission can be reduced.
When a user uses a terminal to exchange with a foreign user short message, the user judges which country character is according to foreign language characters contained in the short message, the user selects between the country to which the roaming network belongs and the country of the foreign user, then the corresponding GSM7 default code replacement table and the GSM7 extension code replacement table are inquired according to country codes and are arranged in the terminal, when the short message is edited, the GSM7 extension code replacement table of the country is preferentially traversed, and the problem that the GS replacement table is traversed due to the fact that the GS is traversed is reducedThe excessive M7 language coding tables cause interface jamming and performance degradation, and can also reduce the byte length of short message transmission. For example: when traversing the content of the short message, the short message is found to contain When the letters of Turkish are used, the user can be determined to be exchanging with the short message of the Turkish user, so that the GSM7 Default code substitution Table and the GSM7 extended code substitution Table of the Turkish can be loaded according to the country code of the Turkish, and the GSM 7bit Default code Shift Table can be replaced by the Turkish National Language Locking Shift Table, so that more channel resources are occupied by the user input characters in transmission. If not, the method must be converted into UCS2 encoding, UCS2 encoding one character occupies 2 bytes, and one character of 'GSM 7bit Default alpha beta' and 'Turkish National Language Locking Shift Table' only occupies 7 bits.
Claims (4)
1. A method for setting short message coding range based on attribution language, positioning information and short message content is characterized in that: after the terminal roams to a foreign network, searching which country the roaming network belongs to through a currently registered Public Land Mobile Network (PLMN); confirming the specific operator of the user and the city or area matched with the operator through the registered MCC and MNC information, and confirming the city information; when the user terminal is located in a city or region of a country, it is determined which language code is used according to the language use habit of the region, and the corresponding GSM7 default code replacement table and GSM7 extended code replacement table combination are inquired and set in the terminal.
2. The method of claim 1, wherein the method for setting the encoding range of the short message based on the home language, the positioning information and the content of the short message comprises: when editing the short message, the GSM7 extension code substitution table of the country is preferentially traversed.
3. The method of claim 1, wherein the method for setting the encoding range of the short message based on the home language, the positioning information and the content of the short message comprises: when the user uses the terminal to exchange with the foreign user by short messages, the country code is determined by judging the attribution of the foreign user number, the user selects between the country of the roaming network attribution and the country of the foreign user, and then the corresponding GSM7 default code replacement table and the GSM7 extended code replacement table are inquired and set in the terminal according to the country code.
4. The method of claim 1, wherein the method for setting the encoding range of the short message based on the home language, the positioning information and the content of the short message comprises: when the user uses the terminal to communicate with the foreign user short message, the user can judge which country character is according to the foreign language character contained in the short message, the user can select between the country of the roaming network and the country of the foreign user, and then the corresponding GSM7 default code replacement table and the GSM7 extension code replacement table are inquired according to the country code and are arranged in the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110490347.9A CN113242511A (en) | 2021-05-06 | 2021-05-06 | Method for setting short message coding range based on attribution language, positioning information and short message content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110490347.9A CN113242511A (en) | 2021-05-06 | 2021-05-06 | Method for setting short message coding range based on attribution language, positioning information and short message content |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113242511A true CN113242511A (en) | 2021-08-10 |
Family
ID=77132078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110490347.9A Pending CN113242511A (en) | 2021-05-06 | 2021-05-06 | Method for setting short message coding range based on attribution language, positioning information and short message content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113242511A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101986739A (en) * | 2010-10-28 | 2011-03-16 | 中兴通讯股份有限公司 | Method for setting language by mobile terminal and mobile terminal |
CN106171019A (en) * | 2014-09-18 | 2016-11-30 | 华为技术有限公司 | Determine the method for terminal roaming status, device, terminal and server |
CN106254675A (en) * | 2016-09-12 | 2016-12-21 | 广东欧珀移动通信有限公司 | The method of system language setting and terminal |
CN106604246A (en) * | 2016-12-09 | 2017-04-26 | 惠州Tcl移动通信有限公司 | Method and system for setting the short message coding range based on national codes and mobile terminal |
-
2021
- 2021-05-06 CN CN202110490347.9A patent/CN113242511A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101986739A (en) * | 2010-10-28 | 2011-03-16 | 中兴通讯股份有限公司 | Method for setting language by mobile terminal and mobile terminal |
CN106171019A (en) * | 2014-09-18 | 2016-11-30 | 华为技术有限公司 | Determine the method for terminal roaming status, device, terminal and server |
CN106254675A (en) * | 2016-09-12 | 2016-12-21 | 广东欧珀移动通信有限公司 | The method of system language setting and terminal |
CN106604246A (en) * | 2016-12-09 | 2017-04-26 | 惠州Tcl移动通信有限公司 | Method and system for setting the short message coding range based on national codes and mobile terminal |
Non-Patent Citations (1)
Title |
---|
3GPP: "3rd Generation Partnership Project;", 《3GPP TS 23.038 V13.0.0》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2332813C2 (en) | Transparent broadcast services for multimode wireless device | |
KR101115264B1 (en) | Short message conversion between different formats for wireless communication systems | |
AU781041B2 (en) | Roaming service for mobile communications | |
US7920846B2 (en) | Method for implementing access restriction of mobile networks | |
CN111314908B (en) | Wireless communication method, network equipment and terminal equipment | |
US6445929B2 (en) | Conversion of international mobile station identity (IMSI) number | |
US8180383B2 (en) | Method and system for routing of short messages in a telecommunication system | |
KR101434330B1 (en) | A method and apparatus for selective message service blocking | |
EP1829340A1 (en) | Method and apparatus for supporting enhanced international dialing in cellular telecommunications systems | |
CN101313605A (en) | Method and system for acquiring subscriber terminal apparatus information and short message service center | |
CN1665335A (en) | A method of automatic roaming location identification and called number adjustment for mobile terminal | |
CN101291542A (en) | Method, mobile terminal and system for realizing intelligent communication of mobile terminal | |
US20030003931A1 (en) | Transmission of messages in telecommunication system | |
CN113242511A (en) | Method for setting short message coding range based on attribution language, positioning information and short message content | |
KR101102153B1 (en) | Apparatus, and associated method, by which to store specific network identifiers at a wireless device | |
CN105245694B (en) | Conversion method of digital coding and non-digital coding, communication system and communication method | |
US20040198330A1 (en) | Method for inputting a call number in a call number memory of a telecommunication terminal, terminal and telecommunication network for carrying out said method | |
KR100718790B1 (en) | Apparatus and method for processing wcdma sms in cdma network | |
KR100956793B1 (en) | Method and Server for Transforming Message Format for Interworking between Different Message Standards | |
KR101183994B1 (en) | Global roaming service system and its method using by a mobile communication terminal | |
CN100502577C (en) | Method for PHS system to broadcast short message, short message structure and its system | |
KR100514636B1 (en) | Method and System for Providing Call Back Number Service in WCDMA Communication System | |
KR100911932B1 (en) | System and Method for Providing Charging Data of Outbound Roaming Area and Home Location Register | |
CN114902641A (en) | Method and system for character display in user equipment | |
CN111372208A (en) | Short message connection method, device and computer readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210810 |