CN111182153B - System language setting method and device, storage medium and mobile terminal - Google Patents

System language setting method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN111182153B
CN111182153B CN202010005227.0A CN202010005227A CN111182153B CN 111182153 B CN111182153 B CN 111182153B CN 202010005227 A CN202010005227 A CN 202010005227A CN 111182153 B CN111182153 B CN 111182153B
Authority
CN
China
Prior art keywords
language
sim card
type code
information
selection information
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
CN202010005227.0A
Other languages
Chinese (zh)
Other versions
CN111182153A (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 Huasi Intelligent Intellectual Property Operation 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 CN202010005227.0A priority Critical patent/CN111182153B/en
Publication of CN111182153A publication Critical patent/CN111182153A/en
Application granted granted Critical
Publication of CN111182153B publication Critical patent/CN111182153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a method and a device for setting a system language, a storage medium and a mobile terminal, wherein the method comprises the following steps: when the SIM card is detected to be inserted, detecting whether the SIM card is inserted for the first time; if the SIM card is inserted for the first time, acquiring the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card; and determining a target language based on the network type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the target language as a system language. The system language is automatically set by reading the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card, so that the complexity of user operation is reduced, and the problem that the user cannot select the system language because the user cannot understand the system language is avoided.

Description

System language setting method and device, storage medium and mobile terminal
Technical Field
The application relates to the field of communication, in particular to a method and a device for setting a system language, a storage medium and a mobile terminal.
Background
In recent years, mobile terminals such as mobile phones and tablet computers are favored by users due to their portability, and many users frequently change the mobile phones, but a Subscriber Identity Module (SIM) card may not be changed, and the mobile phones initialize some settings each time a new mobile terminal is changed, one of which is a system language.
In the related art, when a user starts the mobile terminal for the first time, the mobile terminal provides the user with a choice of which system language to set, but when some mobile terminals are sold in other countries and bought by the user, the mobile terminal preferentially displays the languages of the country of sale, so that the user cannot understand and select the system language.
Disclosure of Invention
The embodiment of the application provides a method for setting a system language, which can avoid the problem that a user cannot select the system language because the user cannot understand the system language.
The embodiment of the application provides a method for setting a system language, which comprises the following steps:
when the SIM card is detected to be inserted, detecting whether the SIM card is inserted for the first time;
if the SIM card is inserted for the first time, acquiring the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card;
and determining a target language based on the network type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the target language as a system language.
An embodiment of the present application further provides a device for setting a system language, including:
the SIM card insertion device comprises a detection unit, a processing unit and a control unit, wherein the detection unit is used for detecting whether an SIM card is inserted for the first time or not when the SIM card is detected to be inserted;
the obtaining unit is used for obtaining the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card if the SIM card is inserted for the first time;
and the setting unit is used for determining a target language based on the network type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the target language as a system language.
An embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the setting method of the system language as described above.
The embodiment of the present application further provides a mobile terminal, where the mobile terminal includes a processor and a memory, and the memory stores a computer program, and the processor is configured to execute the method for setting the system language as described above by calling the computer program stored in the memory.
The method for setting the system language provided by the embodiment of the application comprises the following steps: when the SIM card is detected to be inserted, detecting whether the SIM card is inserted for the first time; if the SIM card is inserted for the first time, acquiring the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card; and determining a target language based on the network type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the target language as a system language. The system language is automatically set by reading the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card, so that the complexity of user operation is reduced, and the problem that the user cannot select the system language because the user cannot understand the system language is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart illustrating a method for setting a system language according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a SIM card with a network type 2G.
Fig. 3 is a schematic structural diagram of a SIM card with a network type of 3G or 4G.
Fig. 4 is a second flowchart illustrating a system language setting method according to an embodiment of the present application
Fig. 5 is a schematic structural diagram of a setting apparatus of a system language according to an embodiment of the present application.
Fig. 6 is a specific structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a first flowchart illustrating a method for setting a system language according to an embodiment of the present application. The system language setting method comprises the following steps:
step 101, when detecting that the SIM card is inserted, detecting whether the SIM card is inserted for the first time.
Specifically, when the SIM card is inserted, the mobile terminal may determine whether the SIM card is inserted for the first time through an operator of the SIM card, for example, if the operator of the SIM card inserted into the mobile terminal before is a first operator, and the operator of the SIM card inserted into the mobile terminal this time is a second operator, it may be determined that the SIM card is inserted for the first time. Or if the mobile terminal inserts the SIM card for the first time after leaving the factory, the SIM card can be directly determined to be inserted for the first time.
The mobile terminal can be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant and other devices capable of being inserted with an SIM card, and various application programs are stored in the mobile terminal, such as applications with entertainment functions (e.g., video applications, game applications, and reading software), and applications with service functions (e.g., map navigation applications, dining applications, and the like).
And 102, if the SIM card is inserted for the first time, acquiring the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card.
After determining that the SIM card is inserted for the first time, the network type of the SIM card is obtained (2G, 3G, and 4G in the existing phase, and certainly the same applies to the following 5G, 6G, etc., and this is not limited here), the preferred language information (2F 05), the language selection information (6F 05), and the International Mobile Subscriber Identity (IMSI) (6F 07).
Referring to fig. 2 and fig. 3, fig. 2 is a schematic structural diagram of a SIM card with a network type of 2G, and fig. 3 is a schematic structural diagram of a SIM card with a network type of 3G or 4G.
The preferred language information (2F 05), the language selection information (6F 05) and the International Mobile Subscriber identifier (International Mobile Subscriber Identity, IMSI) (6F 07) are folders for storing language type codes, the preferred language information (2F 05) is taken as an example, the preferred language information (2F 05) is provided with "6465666E 69746672", and 6465 indicates that the code "de" of the "de" is a country code abbreviation of german, which represents german language, the language selection information (6F 05) and the language type codes in the International Mobile Subscriber identifier (International Mobile Subscriber Identity, IMSI) (6F 07) have the same principle, but the coding mode is not limited.
And 103, determining a target language based on the network system type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the target language as a system language.
Specifically, because the SIM card with the network standard of 2G and the SIM card with the network standard of 3G or 4G have different structures, the setting flow for the SIM cards with different network standards is different, because 2F05 of the 2G card file is under the 3F00 file, and 6F05 is under the 7F20 file; while 6F05 for the 3G/4G card is under the root file, 2F05 is under the 3F00 file, and 6F05 is under the root file. Therefore, when the network type of the SIM card is 2G, it can be detected preferentially whether the language type code exists in 2F05, and if so, the language corresponding to the language type code in the preferred language information (2F 05) is determined directly as the target language.
Therefore, determining a target language based on the network type of the SIM card, the preferred language information, the language selection information, and the international mobile subscriber identifier includes:
if the network type of the SIM card is 2G, judging whether language type codes exist in the preferred language information;
and if the language type code exists in the preferred language information, determining the language corresponding to the language type code in the preferred language information as the target language.
If the language type code does not exist in the preferred language information (2F 05), whether the language type code exists or not can be judged from the language selection information (6F 05), and if the language type code exists, the language corresponding to the language type code in the language selection information (6F 05) can be directly determined as the target language. Therefore, the above steps may further include:
if the network type of the SIM card is 2G and the preferred language information does not have a language type code, judging whether the language type code exists in the language selection information or not;
and if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as the target language.
Of course, if the language type code is not determined to be present in the language selection information (6F 05), it is determined whether the language type code is present in the International Mobile Subscriber Identifier (IMSI) (6F 07), and if so, the language corresponding to the language type code in the International Mobile Subscriber Identifier (IMSI) (6F 07) may be determined as the target language. Therefore, the above steps may further include:
if the language type code does not exist in the language selection information, judging whether the language type code exists in the international mobile subscriber identifier or not;
and if the language type code exists in the international mobile subscriber identifier, determining the language corresponding to the language type code in the international mobile subscriber identifier as the target language.
Of course, after the target language is determined, it is also necessary to determine whether the target language has a corresponding language package in the mobile terminal, and the system language can be set only when the language package corresponding to the target language is stored in the mobile terminal.
Taking the SIM card of 3G/4G network standard type as an example, since 6F05 of the 3G/4G card is under the root file, it can be preferentially determined whether the language type code exists in the language selection information (6F 05), and if so, the language corresponding to the language type code in the language selection information (6F 05) is directly determined as the target language.
Therefore, determining a target language based on the network type of the SIM card, the preferred language information, the language selection information, and the international mobile subscriber identifier includes:
if the network type of the SIM card is 3G or 4G, judging whether language type codes exist in the language selection information;
and if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as the target language.
If the language type code does not exist in the language selection information (6F 05), whether the language type code exists or not can be judged from the preferred language information (2F 05), and if the language type code exists, the language corresponding to the language type code in the preferred language information (2F 05) can be directly determined as the target language. Therefore, the above steps may further include:
if the network type of the SIM card is 3G or 4G and the language type code does not exist in the language selection information, judging whether the language type code exists in the preferred language information or not;
and if the language type code exists in the preferred language information, determining the language corresponding to the language type code in the preferred language information as the target language.
Of course, if the preferred language information (2F 05) determines that the language type code does not exist, it determines whether the language type code exists from the International Mobile Subscriber Identifier (IMSI) (6F 07), and if so, it may directly determine the language corresponding to the language type code in the International Mobile Subscriber Identifier (IMSI) (6F 07) as the target language. Therefore, the above steps may further include:
if the language type code does not exist in the preferred language information, judging whether the language type code exists in the international mobile subscriber identifier or not;
and if the language type code exists in the international mobile subscriber identifier, determining the language corresponding to the language type code in the international mobile subscriber identifier as the target language.
The method for setting the system language provided by the embodiment of the application comprises the following steps: when the SIM card is detected to be inserted, detecting whether the SIM card is inserted for the first time; if the SIM card is inserted for the first time, acquiring the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card; and determining a target language based on the network type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the target language as a system language. The system language is automatically set by reading the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card, so that the complexity of user operation is reduced, and the problem that the user cannot select the system language because the user cannot understand the system language is avoided.
In some embodiments, as shown in fig. 4, a setting method of a system language is provided, the setting method of the system language including:
step 201, when detecting that the SIM card is inserted, detecting whether the SIM card is inserted for the first time.
Specifically, when the SIM card is inserted, the mobile terminal may determine whether the SIM card is inserted for the first time through an operator of the SIM card, for example, if the operator of the SIM card inserted into the mobile terminal before is a first operator, and the operator of the SIM card inserted into the mobile terminal this time is a second operator, it may be determined that the SIM card is inserted for the first time. Or if the mobile terminal inserts the SIM card for the first time after leaving the factory, the SIM card can be directly determined to be inserted for the first time.
The mobile terminal can be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant and other devices capable of being inserted with an SIM card, and various application programs are stored in the mobile terminal, such as applications with entertainment functions (e.g., video applications, game applications, and reading software), and applications with service functions (e.g., map navigation applications, dining applications, and the like).
Step 202, if the SIM card is inserted for the first time, the network type, the preferred language information, the voice selection information and the international mobile subscriber identifier of the SIM card are obtained.
After determining that the SIM card is inserted for the first time, the network type of the SIM card is obtained (2G, 3G, and 4G in the existing phase, and certainly the same applies to the following 5G, 6G, etc., and this is not limited here), the preferred language information (2F 05), the language selection information (6F 05), and the International Mobile Subscriber Identity (IMSI) (6F 07).
Referring to fig. 2 and fig. 3, fig. 2 is a schematic structural diagram of a SIM card with a network type of 2G, and fig. 3 is a schematic structural diagram of a SIM card with a network type of 3G or 4G.
The preferred language information (2F 05), the language selection information (6F 05) and the International Mobile Subscriber identifier (International Mobile Subscriber Identity, IMSI) (6F 07) are folders for storing language type codes, the preferred language information (2F 05) is taken as an example, the preferred language information (2F 05) is provided with "6465666E 69746672", and 6465 indicates that the code "de" of the "de" is a country code abbreviation of german, which represents german language, the language selection information (6F 05) and the language type codes in the International Mobile Subscriber identifier (International Mobile Subscriber Identity, IMSI) (6F 07) have the same principle, but the coding mode is not limited.
Step 203, if the network type of the SIM card is 2G, determining whether the language type code exists in the preferred language information.
Specifically, because the SIM card with the network standard of 2G and the SIM card with the network standard of 3G or 4G have different structures, the setting flow for the SIM cards with different network standards is different, because 2F05 of the 2G card file is under the 3F00 file, and 6F05 is under the 7F20 file; while 6F05 for the 3G/4G card is under the root file, 2F05 is under the 3F00 file, and 6F05 is under the root file. Therefore, when the network type of the SIM card is 2G, it can be detected preferentially whether the language type code exists in 2F 05.
And 204, if the language type code exists in the preferred language information, determining the language corresponding to the language type code in the preferred language information as the target language.
If the language exists, the language corresponding to the language type code in the preferred language information (2F 05) is directly determined as the target language.
Step 205, if the network type of the SIM card is 2G and the language type code does not exist in the preferred language information, determining whether the language type code exists in the language selection information.
If the network type of the SIM card is 2G and the language type code does not exist in the preferred language information (2F 05), whether the language type code exists or not can be judged from the language selection information (6F 05)
And step 206, if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as the target language.
If the language type code exists, the language corresponding to the language type code in the language selection information (6F 05) can be directly determined as the target language.
Step 207, if the language type code does not exist in the language selection information, determining whether the language type code exists in the international mobile subscriber identifier.
Of course, if the language type code is not determined to exist in the language selection information (6F 05), it is determined whether the language type code exists in the International Mobile Subscriber Identity (IMSI) (6F 07).
And step 208, if the language type code exists in the international mobile subscriber identifier, determining the language corresponding to the language type code in the international mobile subscriber identifier as the target language.
If the target language exists, the language corresponding to the language type code in the International Mobile Subscriber Identity (IMSI) (6F 07) can be directly determined as the target language.
Step 209, if the network type of the SIM card is 3G or 4G, determine whether the language type code exists in the language selection information.
Taking a 3G/4G network type SIM card as an example, since 6F05 of the 3G/4G card is under the root file, whether the language type code exists in the language selection information (6F 05) can be preferentially judged.
Step 210, if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as the target language.
If the language type code exists, the language corresponding to the language type code in the language selection information (6F 05) is directly determined as the target language.
Step 211, if the network type of the SIM card is 3G or 4G and the language type code does not exist in the language selection information, determining whether the language type code exists in the preferred language information.
If no language type code exists in the language selection information (6F 05), it can be determined from the preferred language information (2F 05) whether a language type code exists.
Step 212, if the language type code exists in the preferred language information, determining the language corresponding to the language type code in the preferred language information as the target language.
If the language type code exists, the language corresponding to the language type code in the preferred language information (2F 05) can be directly determined as the target language.
Step 213, if the language type code does not exist in the preferred language information, determining whether the language type code exists in the international mobile subscriber identity.
Of course, if the preferred language information (2F 05) does not include a language type code, it is determined whether a language type code is present from an International Mobile Subscriber Identity (IMSI) (6F 07).
And 214, if the language type code exists in the international mobile subscriber identifier, determining the language corresponding to the language type code in the international mobile subscriber identifier as the target language.
If the target language exists, the language corresponding to the language type code in the International Mobile Subscriber Identity (IMSI) (6F 07) can be directly determined as the target language.
The method for setting the system language provided by the embodiment of the application comprises the following steps: when the SIM card is detected to be inserted, detecting whether the SIM card is inserted for the first time; if the SIM card is inserted for the first time, acquiring the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card; and determining a target language based on the network type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the target language as a system language. The system language is automatically set by reading the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card, so that the complexity of user operation is reduced, and the problem that the user cannot select the system language because the user cannot understand the system language is avoided.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a setting device of a system language according to an embodiment of the present application. The setting device of the system language comprises: a detection unit 31, an acquisition unit 32, and a setting unit 33.
The detection unit 31 is configured to detect whether the SIM card is inserted for the first time when it is detected that the SIM card is inserted.
Specifically, when the SIM card is inserted, the mobile terminal may determine whether the SIM card is inserted for the first time through an operator of the SIM card, for example, if the operator of the SIM card inserted into the mobile terminal before is a first operator, and the operator of the SIM card inserted into the mobile terminal this time is a second operator, it may be determined that the SIM card is inserted for the first time. Or if the mobile terminal inserts the SIM card for the first time after leaving the factory, the SIM card can be directly determined to be inserted for the first time.
The mobile terminal can be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant and other devices capable of being inserted with an SIM card, and various application programs are stored in the mobile terminal, such as applications with entertainment functions (e.g., video applications, game applications, and reading software), and applications with service functions (e.g., map navigation applications, dining applications, and the like).
The obtaining unit 32 is configured to obtain a network type, preferred language information, language selection information, and an international mobile subscriber identifier of the SIM card if the SIM card is inserted for the first time.
After determining that the SIM card is inserted for the first time, the network type of the SIM card is obtained (2G, 3G, and 4G in the existing phase, and certainly the same applies to the following 5G, 6G, etc., and this is not limited here), the preferred language information (2F 05), the language selection information (6F 05), and the International Mobile Subscriber Identity (IMSI) (6F 07).
Referring to fig. 2 and fig. 3, fig. 2 is a schematic structural diagram of a SIM card with a network type of 2G, and fig. 3 is a schematic structural diagram of a SIM card with a network type of 3G or 4G.
The preferred language information (2F 05), the language selection information (6F 05) and the International Mobile Subscriber identifier (International Mobile Subscriber Identity, IMSI) (6F 07) are folders for storing language type codes, the preferred language information (2F 05) is taken as an example, the preferred language information (2F 05) is provided with "6465666E 69746672", and 6465 indicates that the code "de" of the "de" is a country code abbreviation of german, which represents german language, the language selection information (6F 05) and the language type codes in the International Mobile Subscriber identifier (International Mobile Subscriber Identity, IMSI) (6F 07) have the same principle, but the coding mode is not limited.
And a setting unit 33, configured to determine a target language based on the network type of the SIM card, the preferred language information, the language selection information, and the international mobile subscriber identifier, and set the target language as a system language.
Specifically, because the SIM card with the network standard of 2G and the SIM card with the network standard of 3G or 4G have different structures, the setting flow for the SIM cards with different network standards is different, because 2F05 of the 2G card file is under the 3F00 file, and 6F05 is under the 7F20 file; while 6F05 for the 3G/4G card is under the root file, 2F05 is under the 3F00 file, and 6F05 is under the root file. And determining a target language according to the network type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the determined target language as a system language.
Based on the method, the invention also provides a storage medium, wherein a plurality of instructions are stored on the storage medium, and the instructions are suitable for being loaded by a processor and executing the setting method of the system language.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Fig. 6 is a specific block diagram of a terminal according to an embodiment of the present invention, where the terminal may be used to implement the method for setting a system language, the storage medium, and the terminal provided in the foregoing embodiments.
As shown in fig. 6, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 6 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuit 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with a second device over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the method, apparatus, storage medium and mobile terminal for setting system language in the above embodiments, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120, so as to implement the function of mutual chip identification. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or a second non-volatile solid-state memory. In some examples, memory 120 may be a storage medium as described above.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and further, the touch-sensitive surface 131 may cover the display panel 141. The display interface of the mobile terminal in the above embodiment may be represented by the display unit 140, that is, the display content displayed by the display interface may be displayed by the display unit 140.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and a second sensor. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As for the second sensor such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, the detailed description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200, which can help a user send and receive e-mails, browse web pages, access streaming media, etc., provides the user with wireless broadband internet access through the transmission module 170.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Specifically, the processor 180 includes: an Arithmetic Logic Unit (ALU), an application processor, a Global Positioning System (GPS) and a control and status Bus (Bus) (not shown).
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 180 via a power management system in some embodiments to provide management of power, and power consumption via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a re-power system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein.
Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
when the SIM card is detected to be inserted, detecting whether the SIM card is inserted for the first time;
if the SIM card is inserted for the first time, acquiring the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card;
and determining a target language based on the network type of the SIM card, the preferred language information, the language selection information and the international mobile subscriber identifier, and setting the target language as a system language.
In some embodiments, when determining the target language based on the network type of the SIM card, the preferred language information, the language selection information, and the international mobile subscriber identifier, and setting the target language as the system language, the processor 380 may further execute the following instructions:
if the network type of the SIM card is 2G, judging whether language type codes exist in the preferred language information;
and if the language type code exists in the preferred language information, determining the language corresponding to the language type code in the preferred language information as the target language.
In some embodiments, processor 380 may also execute instructions to:
if the language type code does not exist in the preferred language information, judging whether the language type code exists in the language selection information or not;
and if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as the target language.
In some embodiments, processor 380 may also execute instructions to:
if the language type code does not exist in the language selection information, judging whether the language type code exists in the international mobile subscriber identifier or not;
and if the language type code exists in the international mobile subscriber identifier, determining the language corresponding to the language type code in the international mobile subscriber identifier as the target language.
In some embodiments, when determining the target language based on the network type of the SIM card, the preferred language information, the language selection information, and the international mobile subscriber identifier, and setting the target language as the system language, the processor 380 may further execute the following instructions:
if the network type of the SIM card is 3G or 4G, judging whether language type codes exist in the language selection information;
and if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as the target language.
In some embodiments, processor 380 may also execute instructions to:
if the language type code does not exist in the language selection information, judging whether the language type code exists in the preferred language information or not;
and if the language type code exists in the preferred language information, determining the language corresponding to the language type code in the preferred language information as the target language.
In some embodiments, processor 380 may also execute instructions to:
if the language type code does not exist in the preferred language information, judging whether the language type code exists in the international mobile subscriber identifier or not;
and if the language type code exists in the international mobile subscriber identifier, determining the language corresponding to the language type code in the international mobile subscriber identifier as the target language.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The method, the apparatus, the storage medium, and the mobile terminal for setting the system language provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (8)

1. A method for setting a system language, comprising:
when the SIM card is detected to be inserted, detecting whether the SIM card is inserted for the first time;
if the SIM card is inserted for the first time, acquiring the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card;
if the network type of the SIM card is 2G, judging whether language type codes exist in the preferred language information;
if the language type code exists in the preferred language information, determining a language corresponding to the language type code in the preferred language information as a target language;
if the network type of the SIM card is 3G or 4G, judging whether language type codes exist in the language selection information;
if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as a target language;
and setting the target language as a system language, wherein the language type code is a code corresponding to the country name after being coded.
2. The method for setting a system language according to claim 1, further comprising:
if the network type of the SIM card is 2G and the preferred language information does not have a language type code, judging whether the language type code exists in the language selection information or not;
and if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as the target language.
3. The setting method of a system language according to claim 2, wherein the method further comprises:
if the language type code does not exist in the language selection information, judging whether the language type code exists in the international mobile subscriber identifier or not;
and if the language type code exists in the international mobile subscriber identifier, determining the language corresponding to the language type code in the international mobile subscriber identifier as the target language.
4. The method for setting a system language according to claim 1, further comprising:
if the network type of the SIM card is 3G or 4G and the language type code does not exist in the language selection information, judging whether the language type code exists in the preferred language information or not;
and if the language type code exists in the preferred language information, determining the language corresponding to the language type code in the preferred language information as the target language.
5. The setting method of the system language according to claim 4, wherein the method further comprises:
if the language type code does not exist in the preferred language information, judging whether the language type code exists in the international mobile subscriber identifier or not;
and if the language type code exists in the international mobile subscriber identifier, determining the language corresponding to the language type code in the international mobile subscriber identifier as the target language.
6. A system language setting apparatus, comprising:
the SIM card insertion device comprises a detection unit, a processing unit and a control unit, wherein the detection unit is used for detecting whether an SIM card is inserted for the first time or not when the SIM card is detected to be inserted;
the obtaining unit is used for obtaining the network type, the preferred language information, the language selection information and the international mobile subscriber identifier of the SIM card if the SIM card is inserted for the first time;
the setting unit is used for judging whether the preferred language information has a language type code if the network type of the SIM card is 2G;
if the language type code exists in the preferred language information, determining a language corresponding to the language type code in the preferred language information as a target language;
if the network type of the SIM card is 3G or 4G, judging whether language type codes exist in the language selection information;
if the language type code exists in the language selection information, determining the language corresponding to the language type code in the language selection information as a target language;
and setting the target language as a system language, wherein the language type code is a code corresponding to the country name after being coded.
7. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, which when run on a computer, causes the computer to execute the setting method of the system language according to any one of claims 1 to 5.
8. A mobile terminal characterized in that it comprises a processor and a memory, the memory having stored therein a computer program, the processor being configured to execute the setting method of the system language according to any one of claims 1 to 5 by calling the computer program stored in the memory.
CN202010005227.0A 2020-01-03 2020-01-03 System language setting method and device, storage medium and mobile terminal Active CN111182153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010005227.0A CN111182153B (en) 2020-01-03 2020-01-03 System language setting method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010005227.0A CN111182153B (en) 2020-01-03 2020-01-03 System language setting method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN111182153A CN111182153A (en) 2020-05-19
CN111182153B true CN111182153B (en) 2021-09-28

Family

ID=70652439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010005227.0A Active CN111182153B (en) 2020-01-03 2020-01-03 System language setting method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN111182153B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113743946A (en) * 2021-09-16 2021-12-03 中国银行股份有限公司 Business handling method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355749A (en) * 2007-07-24 2009-01-28 华为技术有限公司 Method, system, server and terminal for configuring service parameter
CN101986739A (en) * 2010-10-28 2011-03-16 中兴通讯股份有限公司 Method for setting language by mobile terminal and mobile terminal
CN102761655A (en) * 2011-04-29 2012-10-31 希姆通信息技术(上海)有限公司 System and method for automatically switching interface language of mobile terminal
CN104580658A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Mobile terminal configuration method and device
CN106416331A (en) * 2014-05-30 2017-02-15 苹果公司 Electronic subscriber identity module selection
CN106792645A (en) * 2017-02-20 2017-05-31 苏州蜗牛数字科技股份有限公司 A kind of method of remote dummy usim card data transfer optimization
CN106973162A (en) * 2017-03-28 2017-07-21 上海与德科技有限公司 A kind of intelligent terminal system version-switching method and device

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1281086C (en) * 2002-03-12 2006-10-18 斯伦贝谢(北京)智能卡科技有限公司 User identification module card, method for activating user identification module card in sky and its system
WO2013004287A1 (en) * 2011-07-04 2013-01-10 Naxos Finance Sa Information distribution system, and method thereof
ITTO20110867A1 (en) * 2011-09-29 2013-03-30 Sisvel Technology Srl METHOD FOR THE TRANSMISSION AND RECEPTION IN RADIO MULTIPURPOSE POINT DISTRIBUTION OF MULTILINGUAL MESSAGES IN MOBILE MOBILE COMMUNICATIONS, MOBILE TELECOMMUNICATIONS NETWORK AND MOBILE TERMINAL FOR THE IMPLEMENTATION OF THE METHOD
CN103002149A (en) * 2012-11-30 2013-03-27 中兴通讯股份有限公司 Method and device for automatically switching terminal languages
WO2014086424A1 (en) * 2012-12-06 2014-06-12 Saronikos Trading And Services, Unipessoal Lda Method and devices for language determination for voice to text transcription of phone calls
CN104951364B (en) * 2014-03-31 2019-01-29 Tcl集团股份有限公司 A kind of language switching method and system based on Android platform
TWI577206B (en) * 2014-04-29 2017-04-01 宏碁股份有限公司 Method of managing cell broadcast messages
US9525959B1 (en) * 2015-06-11 2016-12-20 Sprint Communications Company L.P. Language selection for user equipment interface during initialization
CN105573757B (en) * 2015-12-15 2019-12-03 Tcl集团股份有限公司 The language update method and device of android system
CN107529154B (en) * 2016-06-22 2021-02-23 中兴通讯股份有限公司 Communication method and device of multimode terminal
CN106303013A (en) * 2016-08-10 2017-01-04 惠州Tcl移动通信有限公司 A kind of method and system that mobile terminal is set based on SIM automatization
CN106254675A (en) * 2016-09-12 2016-12-21 广东欧珀移动通信有限公司 The method of system language setting and terminal
JP7430628B2 (en) * 2018-02-19 2024-02-13 フリービット株式会社 Computer software program and data communication control server for controlling data communication and terminal functions of mobile information terminals
CN108901052B (en) * 2018-08-10 2020-04-03 北京邮电大学 Heterogeneous network switching method and device
CN109951289B (en) * 2019-01-25 2021-01-12 北京三快在线科技有限公司 Identification method, device, equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355749A (en) * 2007-07-24 2009-01-28 华为技术有限公司 Method, system, server and terminal for configuring service parameter
CN101986739A (en) * 2010-10-28 2011-03-16 中兴通讯股份有限公司 Method for setting language by mobile terminal and mobile terminal
CN102761655A (en) * 2011-04-29 2012-10-31 希姆通信息技术(上海)有限公司 System and method for automatically switching interface language of mobile terminal
CN104580658A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Mobile terminal configuration method and device
CN106416331A (en) * 2014-05-30 2017-02-15 苹果公司 Electronic subscriber identity module selection
CN106792645A (en) * 2017-02-20 2017-05-31 苏州蜗牛数字科技股份有限公司 A kind of method of remote dummy usim card data transfer optimization
CN106973162A (en) * 2017-03-28 2017-07-21 上海与德科技有限公司 A kind of intelligent terminal system version-switching method and device

Also Published As

Publication number Publication date
CN111182153A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN104852885B (en) Method, device and system for verifying verification code
CN112229507A (en) Ambient light detection method and device, storage medium and mobile terminal
CN104281394A (en) Method and device for intelligently selecting words
CN110837343B (en) Snapshot processing method and device and terminal
CN108270757B (en) User account switching method, device, client and system
CN109413256B (en) Contact person information processing method and device, storage medium and electronic equipment
CN111966436A (en) Screen display control method and device, terminal equipment and storage medium
CN111556248B (en) Shooting method, shooting device, storage medium and mobile terminal
CN111182153B (en) System language setting method and device, storage medium and mobile terminal
CN110958352B (en) Network signal display method, device, storage medium and mobile terminal
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN111309224B (en) Sound effect adjusting method and device, storage medium and mobile terminal
CN110716158B (en) Detection method, system, storage medium and mobile terminal
CN111601036B (en) Camera focusing method and device, storage medium and mobile terminal
CN111787228A (en) Shooting method, shooting device, storage medium and mobile terminal
CN111506535A (en) Calculation information processing method and device, storage medium and electronic equipment
CN110716908A (en) Log information writing method, system, storage medium and mobile terminal
CN110830723B (en) Shooting method, shooting device, storage medium and mobile terminal
CN110995932A (en) Memorandum setting method and device, storage medium and electronic equipment
CN111506439B (en) Data acquisition method and device, storage medium and mobile terminal
CN111862874A (en) Display method, display device, storage medium and mobile terminal
CN105988801B (en) Method and device for displaying annotation information
CN111182141B (en) Method, device and storage medium for acquiring state of terminal device
CN110989955A (en) Interface display method and device, storage medium and mobile terminal

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

Effective date of registration: 20240327

Address after: Room 410, No. 36 Xindi Road, Lanhe Town, Nansha District, Guangzhou City, Guangdong Province, 510000

Patentee after: Guangzhou Huasi Intelligent Intellectual Property Operation Co.,Ltd.

Country or region after: China

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

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

Country or region before: China

TR01 Transfer of patent right