WO2017113889A1 - 用于语言设置的方法及装置 - Google Patents

用于语言设置的方法及装置 Download PDF

Info

Publication number
WO2017113889A1
WO2017113889A1 PCT/CN2016/098948 CN2016098948W WO2017113889A1 WO 2017113889 A1 WO2017113889 A1 WO 2017113889A1 CN 2016098948 W CN2016098948 W CN 2016098948W WO 2017113889 A1 WO2017113889 A1 WO 2017113889A1
Authority
WO
WIPO (PCT)
Prior art keywords
language
electronic device
location information
setting
geographic location
Prior art date
Application number
PCT/CN2016/098948
Other languages
English (en)
French (fr)
Inventor
朱文博
喻伟
宋嘉宁
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Publication of WO2017113889A1 publication Critical patent/WO2017113889A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/263Language identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for language setting.
  • the present disclosure provides a method and apparatus for language setting.
  • a method for language setting comprising:
  • the method further includes:
  • the language setting information is received, and the language indicated by the language setting information is set as a result of setting the language option in the electronic device.
  • At least one language is inserted into a specified location of the preset language list, including:
  • the method further includes:
  • extracting at least one language associated with the geographic location information from the list of preset languages including:
  • a country code that reads geographic location information from system attributes of the electronic device
  • the preset correspondence is used to store a correspondence between the country code and the language.
  • obtaining current geographic location information of the electronic device including:
  • the GPS Global Positioning System
  • the GPS Global Positioning System
  • the geographical location information acquired by the GPS is used as the current geographical location information of the electronic device.
  • the method further includes:
  • the step of triggering the acquisition of the current geographic location information of the electronic device is triggered.
  • the method further includes:
  • the method further includes:
  • one of the at least one language is used as a result of setting the language option in the electronic device.
  • a method for language setting comprising:
  • an apparatus for language setting comprising:
  • An information acquiring module configured to acquire current geographic location information of the electronic device
  • a language extraction module configured to extract at least one language associated with the geographic location information acquired by the information acquisition module from the preset language list
  • the language insertion module is configured to insert at least one language extracted by the language extraction module into a specified location of the preset language list.
  • the device further includes:
  • a display module configured to display at least one language at a specified location determined by the language insertion module in a current interface of the electronic device
  • the first setting module is configured to receive language setting information, and the language indicated by the language setting information is a result of setting a language option in the electronic device.
  • the language insertion module includes:
  • a sorting sub-module configured to sort at least one language in order of popularity of obtaining sub-modules from high to low
  • Inserting a submodule configured to insert at least one language sorted by the sorting submodule into a specified position of the preset language list.
  • the device further includes:
  • a list obtaining module configured to acquire the preset location list by obtaining the last acquired geographic location information, and recovering the at least one language associated with the last acquired geographic location information from the specified location to obtain a preset language list; or, reading Take a list of preset languages that are pre-stored in the electronic device and remain unchanged.
  • the language extraction module includes:
  • a read submodule configured to read a country code of geographic location information from system attributes of the electronic device
  • the query sub-module is configured to query, from the preset correspondence relationship, at least one language corresponding to the country code read by the reading sub-module, where the preset correspondence relationship is used to store a correspondence between the country code and the language.
  • the information acquisition module includes:
  • a first obtaining sub-module configured to acquire a setting result of a region option in the electronic device; and the geographical location information indicated by the setting result is used as the current geographic location information of the electronic device;
  • the second obtaining sub-module is configured to acquire the geographical location information indicated by the SIM card in the electronic device; and use the geographical location information indicated by the SIM card as the current geographic location information of the electronic device;
  • a third obtaining sub-module configured to acquire geographical location information indicated by the network information registered by the electronic device; and the geographical location information indicated by the network information is used as the current geographical location information of the electronic device;
  • the fourth obtaining sub-module is configured to acquire the geographical location information by using the GPS; and the geographical location information acquired by the GPS is used as the current geographical location information of the electronic device.
  • the device when the current geographic location information of the electronic device is a setting result of a region option in the electronic device, the device further includes:
  • the first receiving module is configured to receive the regional setting information, and the region indicated by the regional setting information is used as a setting result of the regional option;
  • the first jump module is configured to trigger the information acquiring module to perform the step of acquiring the current geographic location information of the electronic device.
  • the device when the current geographic location information of the electronic device is a setting result of a region option in the electronic device, the device further includes:
  • the second receiving module is configured to receive the regional setting information, and use the region indicated by the regional setting information as a setting result of the regional option;
  • the second jump module is configured to receive a triggering operation on the language option, and the triggering information acquiring module performs the step of acquiring the current geographic location information of the electronic device according to the triggering operation.
  • the device further includes:
  • the second setting module is configured to use one of the at least one language as a result of the setting of the language option in the electronic device when the electronic device is powered on for the first time.
  • an apparatus for language setting comprising:
  • An acquiring module configured to acquire current geographic location information of the electronic device when the electronic device is powered on for the first time
  • a determining module configured to determine at least one language associated with the geographic location information acquired by the obtaining module from a preset language list of the electronic device
  • the setting module is configured to select one of the at least one language obtained from the determining module as a result of the setting of the language option in the electronic device.
  • an apparatus for language setting comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • an apparatus for language setting comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the electronic device can directly provide the at least one language to the user, so that the user can obtain at least one language associated with the current geographical location information without directly flipping the language list for searching, and directly selecting the language.
  • the language provides convenience for the user to set the language option, and solves the problem that the user needs to scroll up and down the language list to find the language associated with the current geographical location information, thereby improving the electronic device. The effect of setting the efficiency of the language option.
  • the user by displaying at least one language at the specified location in the current interface of the electronic device; receiving the language setting information, and setting the language indicated by the language setting information as a result of setting the language option in the electronic device, Displaying at least one language associated with the geographic location information, since the probability that the at least one language is set as the setting result of the language option is higher, the user selects one language from the displayed at least one language as the language The probability of setting the result of the option is higher, which improves the efficiency of setting the language option.
  • At least one sorted language is inserted into a designated position for display, and since the probability of the user selecting a language with a high degree of popularity is high, the user is The language with high popularity can be directly selected according to the sorting, and the problem that the user needs to find the language from the at least one language is solved, and the language option in the electronic device is improved. The effect of setting efficiency.
  • At least one language associated with the last acquired geographic location information is restored from the specified location to the respective initial location to obtain a preset language list; or, the electronic device is read.
  • a list of preset languages that are pre-stored and remain unchanged, so that in addition to changes in the position of at least one language associated with the current geographic location information, other languages are arranged in their initial positions and remain unchanged if the user does not.
  • At a specified location Arranged at a specified location, and at least one language associated with the last acquired geographic location information is arranged in an adjacent position after the specified location, resulting in an unfixed location of other languages, which is inconvenient for the user to find, and is improved.
  • the electronic device when the electronic device is powered on for the first time, determining at least one language associated with the current geographic location information of the electronic device, and solving one of the at least one language as the default language of the electronic device,
  • the electronic device sets the language of the first region as the default language and is exported from the first region to the second region, since the language of the first region is different from the language of the second region, the users of the second region cannot understand the first language.
  • the problem of the language of a region which makes it impossible to use electronic devices, increases the probability that electronic devices will be used normally.
  • FIG. 1A is a flow chart showing a method for language setting, according to an exemplary embodiment.
  • FIG. 1B is a flow chart showing another method for language setting, according to another exemplary embodiment.
  • 2A is a flow chart of a method for language setting, according to another exemplary embodiment.
  • FIG. 2B is a scene diagram of determining a setting result of a region option, according to an exemplary embodiment.
  • 2C is a scene diagram showing a language option, according to an exemplary embodiment.
  • FIG. 2D is a scene diagram showing at least one language, according to an exemplary embodiment.
  • FIG. 2E is a scene diagram of determining a setting result of a language option, according to an exemplary embodiment.
  • 2F is a flow chart of a method for language setting, according to another exemplary embodiment.
  • 2G is a flow chart of a method for language setting, according to another exemplary embodiment.
  • 2H is a flow chart of a method for language setting, according to another exemplary embodiment.
  • FIG. 3A is a block diagram of an apparatus for language setting, according to an exemplary embodiment.
  • FIG. 3B is a block diagram of an apparatus for language setting, according to another exemplary embodiment.
  • FIG. 4A is a block diagram of an apparatus for language setting, according to an exemplary embodiment.
  • FIG. 4B is a block diagram of an apparatus for language setting, according to another exemplary embodiment.
  • FIG. 5 is a block diagram of an apparatus for language setting, according to an exemplary embodiment.
  • FIG. 1A is a flowchart illustrating a method for language setting according to an exemplary embodiment.
  • the embodiment applies the method for language setting to an electronic device as an example, as shown in FIG. 1A.
  • the method for language setting includes the following steps.
  • step 101 the current geographic location information of the electronic device is obtained.
  • step 102 at least one language associated with the geographic location information is extracted from the list of preset languages.
  • step 103 the at least one language is inserted into a specified location of the preset language list.
  • the method for language setting obtains at least one language associated with the geographic location information by acquiring current geographic location information of the electronic device;
  • the language is inserted into a specified position of the preset language list, so that the subsequent user can provide the at least one language directly to the user when setting the language option, so that the user does not need to
  • the user needs to scroll up and down the language list to find the language associated with the geographic location information, and achieve the effect of improving the setting efficiency of the language options in the electronic device.
  • the method may further include:
  • step 104 the at least one language at the specified location is displayed in a current interface of the electronic device.
  • step 105 language setting information is received, and the language indicated by the language setting information is used as a setting result of the language option in the electronic device.
  • the method for language setting is to display at least one language at a specified location in a current interface of the electronic device; receive language setting information, and the language indicated by the language setting information As a result of the setting of the language option in the electronic device, at least one language associated with the current geographic location information may be displayed, and since the probability that the at least one language is set as the setting result of the language option is higher, The probability that the user selects one language from the displayed at least one language as the setting result of the language option is higher, and the setting efficiency of the language option is improved.
  • FIG. 2A is a diagram for a language according to another exemplary embodiment.
  • a flowchart of the method of setting, the embodiment of the method for applying language settings is applied to an electronic device as an example. As shown in FIG. 2A, the method for language setting includes the following steps.
  • step 201 the area setting information is received, and the area indicated by the area setting information is used as the setting result of the area option.
  • the electronic device when the user needs to modify the language option in the electronic device, the electronic device can display the provided multiple languages as a preset language list in the current interface. Since the electronic device provides more languages, the user needs to go up and down. Flip the list of preset languages to find the language you want to set, making the setting of language options less efficient.
  • the electronic device in this embodiment associates a language with a region, and the user first performs regional setting by using a regional option, and the electronic device displays the language corresponding to the region in the current interface, and the user displays the language again.
  • the words are set so that the language to be set can be found without flipping the language list up and down, improving the efficiency of setting language options.
  • the electronic device first needs to receive the region setting information triggered by the user, and the region indicated by the region setting information is used as the setting result of the region option.
  • a region option 2 is provided in the display interface 1 of the electronic device. After the user triggers the region option 2, a region list 3 appears, the user selects China from the region list, and the electronic device uses China as a region. The result of the setting of option 2.
  • the electronic device can directly perform step 203. That is, after the regional option is set, the user does not need to perform the trigger operation, and the electronic device automatically modifies the preset language list according to the region, thereby reducing the operation performed by the user in the process of setting the language option, and improving the setting efficiency of the language option.
  • the electronic device may also perform step 202. At this time, the user is required to manually trigger the language option displayed by the electronic device, and after receiving the triggering operation, the electronic device may modify the preset language list according to the region. At this time, it can be avoided that the user only needs to set the regional option, and when the language option is not set, the problem of waste of resources caused by automatically modifying the preset language list is achieved, and the effect of saving resources is achieved.
  • step 202 a triggering operation on a language option is received.
  • the user manually triggers the language option provided by the electronic device, triggers the electronic device to modify the preset language list for the user to set the language, and the electronic device receives the trigger operation.
  • a language option 4 is provided in the display interface 1 of the electronic device, and the user triggers the language option 4, and the electronic device modifies the preset language list.
  • step 203 a setting result of the region option in the electronic device is acquired.
  • the setting result of the regional option acquired by the electronic device is the current geographic location information of the electronic device.
  • step 204 the country code of the setting result is read from the system attribute of the electronic device.
  • the electronic device may associate the setting result with the language in advance.
  • the country code of the setting result may be associated with the language.
  • the electronic device needs to first determine the country code according to the setting result. Among them, the country code is used to uniquely identify a region. For example: China's country code is 86.
  • the system attribute of the electronic device includes the country code of the setting result. After the electronic device sets the regional option, the country code corresponding to the system attribute is modified to the country code corresponding to the current setting result, because Therefore, the electronic device can directly read the country code of the setting result from the system attribute.
  • the electronic device reads the country code of the setting result from the system attribute ro.miui.region.
  • step 205 at least one language corresponding to the country code is queried from the preset correspondence, and the preset correspondence is used to store a correspondence between the country code and the language.
  • the preset correspondence between the country code and the at least one language corresponding to the country code is stored in the electronic device, and after the country code is read, at least one corresponding to the country code is obtained by querying the preset correspondence relationship. Language.
  • the preset correspondence relationship shown in Table 1 below if the setting result of the regional option in the electronic device is China, the reading system attribute is obtained in China with the country code of 86, and the corresponding language is Chinese simplified and Chinese traditional.
  • step 206 a list of preset languages pre-stored in the electronic device and remaining unchanged is read.
  • the preset language list is pre-stored in the electronic device, and the preset language list includes languages corresponding to at least two regions, and the arrangement positions of the languages in the preset language list remain unchanged.
  • the arrangement position of the language in the preset language list may be arranged according to the popularity of each language, the first letter order of the language name, or the length of the language name, which is not limited in this embodiment.
  • step 207 the last setting result of the region option is obtained, and at least one language associated with the last setting result is restored from the specified location to the respective initial location. , get a list of default languages.
  • the last setting result is the geographical location information acquired by the electronic device last time.
  • the electronic device can restore at least one of the language associated with the setting result of the last regional option to the initial position when obtaining the preset language list, and obtain the original preset language. List.
  • Step 206 and step 207 need to be performed before step 208. This embodiment does not limit the sequence of execution of step 206, step 207 and other steps.
  • step 208 at least one language associated with the set result is extracted from the list of preset languages.
  • the preset language list includes at least one language corresponding to each region. Since at least one language corresponding to the setting result is obtained in step 205, the electronic device may directly extract the at least one from the preset language list. Language.
  • step 209 the popularity of at least one language is obtained.
  • the popularity of the language can indicate the probability that the user will set the language as the result of setting the language option. There is a positive correlation between popularity and probability, that is, the higher the popularity, the higher the probability that the user will set the language as the result of setting the language option.
  • the popularity of the language can be obtained by counting the setting results of the language options of a plurality of users, which is not limited in this embodiment.
  • step 210 at least one language is sorted in descending order of popularity.
  • step 211 the sorted at least one language is inserted into a specified position of the preset language list.
  • the user can directly select a language with high popularity according to the sorting, and solve the problem that the user needs to find a language from the at least one language, thereby improving the electronic device.
  • the specified location is the location that can be displayed in the current interface.
  • the specified location may be the first n digits of the preset language list, n is a positive integer; when the electronic device displays the preset language list in a scroll wheel manner , the specified location can be a scroll wheel Central location.
  • step 212 at least one language at the specified location is displayed in a current interface of the electronic device.
  • the electronic device displays an operation control of the preset language list in the interface, and the user manually triggers the operation control, and the electronic device displays the at least one language at the specified position after receiving the trigger operation.
  • the electronic device displays the at least one language at the specified position after receiving the trigger operation.
  • the current interface of the electronic device for the user to select.
  • the electronic device automatically displays the at least one language at the specified location in the current interface of the electronic device for the user to select. , which reduces the user's operations during the setting of language options, and improves the efficiency of setting language options.
  • the electronic device determines that the setting result of the regional option is China
  • the Chinese simplified and the Chinese traditional are displayed in the order of popularity from the highest to the lowest in the current interface.
  • the first two digits, FIG. 2D are described by taking the display interface of the display interface 1 as the display result of the display region option as an example.
  • the electronic device may jump to a new display interface to display a preset language list after determining the setting result of the regional option, which is not limited in this embodiment.
  • step 213 language setting information is received, and the language indicated by the language setting information is used as a setting result of the language option in the electronic device.
  • the user selects one language in at least one language displayed on the current interface, and the electronic device receives the language setting information triggered by the user, and uses the language indicated by the language setting information as the setting result of the language option.
  • the user may select a language from another location in the preset language list, and the electronic device receives the language setting information triggered by the user, and sets the language setting information.
  • the indicated language is the result of the setting of the language option.
  • multiple languages are provided in the display interface 1 of the electronic device, and the user selects Chinese simplified from the multiple languages, and the electronic device uses Chinese simplified as the setting result of the language option 5.
  • the other languages are arranged at their initial positions and remain unchanged. If the user does not need to select the at least one language, it is necessary to The location selection language ensures that the user can quickly locate the initial location of the language, thereby quickly finding the language and solving at least one language that will be associated with the results of this setup.
  • Arranged at a specified location, and at least one language associated with the last set result is arranged in an adjacent position after the specified position, resulting in an unfixed position of other languages, which is inconvenient for the user to find, and improves the language. Find the effect of efficiency.
  • the method for language setting obtains a setting result of a region option in an electronic device, and extracts at least one language associated with the setting result from the preset language list;
  • the language is inserted into the specified position of the preset language list, so that the subsequent user can provide the at least one language directly to the user when setting the language option, so that the user can obtain the original without flipping the language list up and down.
  • the at least one language associated with the region directly selects one of the languages as the setting result of the language option in the electronic device, and solves the problem that the user needs to scroll up and down the language list to find the language of the local area after setting the regional option. , to achieve the effect of improving the efficiency of setting language options in electronic devices.
  • At least one sorted language is inserted into a designated position for display, and since the probability of the user selecting a language with a high degree of popularity is high, the user is The language with high popularity can be directly selected according to the sorting, and the problem that the user needs to find the language from the at least one language is solved, and the effect of improving the setting efficiency of the language option in the electronic device is achieved.
  • At least one language associated with the last setting result is restored from the specified location to the respective initial location to obtain a preset language list; or, the pre-stored electronic device is read.
  • the list of preset languages that remain unchanged, so that in addition to the change in the position of at least one language associated with the result of the setting, the other languages are arranged at their initial positions and remain unchanged if the user does not need to select the at least A language that requires language selection from other locations to ensure that the user can quickly locate the initial location of the language, thereby quickly finding the language and resolving at least one language associated with the results of the setup in a specified location.
  • at least one language associated with the last set of results is ranked adjacent to the specified location, resulting in a location in another language It is not fixed, and it is not convenient for the user to find the problem, and the effect of improving the search efficiency of the language is achieved.
  • the current geographic location information of the electronic device is determined according to the SIM card in the electronic device.
  • Steps 201-203 may be replaced with the following steps 201f and 202f.
  • FIG. 2F FIG. 2F.
  • a flowchart of a method for language setting, according to another exemplary embodiment, as shown in FIG. 2F, the method for language setting includes the following steps.
  • step 201f geographic location information indicated by the SIM card in the electronic device is acquired.
  • step 202f the geographical location information indicated by the SIM card is used as the current geographic location information of the electronic device.
  • the electronic device When the electronic device obtains the current geographical location information by acquiring the geographical location information indicated by the SIM card, the electronic device can read the IMSI (International Mobile Subscriber Identification Number) indicated by the preset field in the SIM card.
  • the current geographic location information of the electronic device is determined according to the IMSI.
  • the IMSI includes at least an MCC (Mobile Country Code), and the MCC is composed of three digits and is used to uniquely identify the country to which the SIM card belongs. For example, when the MCC is 460, the country to which the SIM card belongs is China. .
  • step 204f the country code of the geographic location information is read from the system attribute of the electronic device.
  • step 207f the last acquired geographic location information is acquired, and at least one language associated with the last acquired geographic location information is restored from the designated location to the respective initial location, and the pre-prepared Set the language list.
  • step 208f at least one language associated with the geographic location information is extracted from the list of preset languages.
  • the current geographic location information of the electronic device is determined according to the network information registered by the electronic device, and the steps 201-203 may be replaced with the following steps 201g and 202g.
  • a flowchart of a method for language setting, according to another exemplary embodiment, as shown in FIG. 2G, the method for language setting includes the following steps.
  • step 201g geographic location information indicated by the network information registered by the electronic device is acquired.
  • step 202g the geographical location information indicated by the network information is used as the current geographical location information of the electronic device.
  • the electronic device When the electronic device obtains the current geographical location information by acquiring the geographical location information indicated by the registered network information, the electronic device may receive the IMSI-capable network information broadcasted by the base station, read the IMSI from the network information, and determine the IMSI according to the IMSI.
  • the current geographic location information of the electronic device The related description of the IMSI is shown in the embodiment shown in FIG. 2F, and details are not described herein.
  • step 204g the country code of the geographical location information is read from the system attribute of the electronic device.
  • step 207g the last acquired geographic location information is acquired, and at least one language associated with the last acquired geographic location information is restored from the designated location to the respective initial location, and the pre-prepared Set the language list.
  • step 208g at least one language associated with the geographic location information is extracted from the list of preset languages.
  • the current geographic location information of the electronic device is determined according to the GPS.
  • the steps 201-203 may be replaced by the following steps 201h and 202h.
  • FIG. 2H which is based on another exemplary A flowchart of a method for language setting is shown in the embodiment, as shown in FIG. 2H, the method for language setting includes the following steps.
  • step 201h geographic location information is acquired using GPS.
  • step 202h the geographical location information acquired by the GPS is taken as the current geographical location information of the electronic device.
  • the electronic device may calculate the current latitude and longitude information of the electronic device according to the GPS signal received by the GPS receiver in the electronic device, and determine the current geographic location of the electronic device according to the calculated latitude and longitude information. location information.
  • step 204h the country code of the geographical location information is read from the system attribute of the electronic device.
  • step 207h the last acquired geographic location information is acquired, and at least one language associated with the last acquired geographic location information is restored from the designated location to the respective initial location, and the pre-prepared Set the language list.
  • step 208h at least one language associated with the geographic location information is extracted from the list of preset languages.
  • the electronic device since the electronic device is exported from the first region to the second region, and the language of the first region is different from the language of the second region, if the default language of the electronic device is the language of the first region, then the second Users in the region may not be able to understand the language of the first region, so the electronic device cannot be used. Therefore, the electronic device obtains the current geographical location information when the device is first turned on, and obtains the current language information from the preset language list.
  • Extracting at least one language associated with the geographic location information inserting the at least one language into a specified location of the preset language list, and using one of the at least one language associated with the geographic location information as
  • the result of setting the language option in the electronic device causes the language to be the default language of the electronic device, increasing the probability that the electronic device is normally used.
  • the information obtained by the electronic device to obtain the current geographic location information may be obtained by the method shown in step 201 to step 203 in FIG. 2A; or may be obtained by the method shown in step 201f to step 202f in FIG. 2F; It is obtained in the manner shown in the step 201g-step 202g. It can also be obtained in the manner shown in the step 201h-step 202h in FIG. 2H, which is not limited in this embodiment.
  • any one of the at least one language may be selected according to a random algorithm, or may be popularized according to at least one language. Selecting a language with the highest degree of popularity, and selecting a language with the highest order according to the arrangement order of at least one language initials. This embodiment does not select an electronic device from at least one language. The choice is limited.
  • the electronic device may be determined from the preset language list of the electronic device without directly changing the preset language list in the electronic device. At least one language of the association, the language of the at least one language is set as a result of the language option in the electronic device, so that the language is used as the default language of the electronic device, and the electronic device is used normally. Probability.
  • the information obtained by the electronic device to obtain the current geographic location information may be obtained by the method shown in step 201 to step 203 in FIG. 2A; or may be obtained by the method shown in step 201f to step 202f in FIG. 2F; It is obtained in the manner shown in the step 201g-step 202g. It can also be obtained in the manner shown in the step 201h-step 202h in FIG. 2H, which is not limited in this embodiment.
  • any one of the at least one language may be selected according to a random algorithm, or may be popularized according to at least one language.
  • the degree of choice is the most popular language, and can also be based on at least one
  • the order in which the initials of the language are arranged selects the language in which the order is the highest. This embodiment does not limit the selection manner in which the electronic device selects a language from at least one language.
  • FIG. 3A is a block diagram of an apparatus for language setting, which is applied to an electronic device, as shown in FIG. 3A.
  • the apparatus for language setting includes: The information acquisition module 310, the language extraction module 320, and the language insertion module 330.
  • the information acquiring module 310 is configured to acquire current geographic location information of the electronic device.
  • the language extraction module 320 is configured to extract at least one language associated with the geographic location information acquired by the information acquisition module 310 from the preset language list;
  • the language insertion module 330 is configured to insert at least one language extracted by the language extraction module 320 into a specified location of the preset language list.
  • the apparatus for language setting obtains at least one language associated with the geographic location information by acquiring current geographic location information of the electronic device;
  • the language is inserted into a specified position of the preset language list, so that the subsequent user can provide the at least one language directly to the user when setting the language option, so that the user can obtain and current without flipping the language list up and down.
  • the at least one language associated with the geographic location information directly selecting one of the languages as the setting result of the language option in the electronic device, and solving the problem that after setting the regional option, the user needs to scroll up and down the language list to find the geographical location
  • the problem of the language associated with the information achieves the effect of improving the efficiency of setting language options in the electronic device.
  • the apparatus may further include: a display module 340 and a first setting module 350.
  • the display module 340 is configured to display at least one language at a specified location determined by the language insertion module 330 in a current interface of the electronic device;
  • the first setting module 350 is configured to receive language setting information, and the language indicated by the language setting information is a result of setting a language option in the electronic device.
  • the apparatus for language setting displays at least one language at a specified location in a current interface of the electronic device; receives language setting information, and the language indicated by the language setting information As a result of the setting of the language option in the electronic device, at least one language associated with the current geographic location information may be displayed, and since the probability that the at least one language is set as the setting result of the language option is higher, The user selects one of at least one of the displayed languages The probability that the language is set as a language option is higher, which improves the efficiency of setting language options.
  • FIG. 4A is a block diagram of an apparatus for language setting, which is applied to an electronic device, as shown in FIG. 4A, the apparatus for language setting, according to an exemplary embodiment, includes: The information acquisition module 410, the language extraction module 420, and the language insertion module 430.
  • the information obtaining module 410 is configured to acquire current geographic location information of the electronic device.
  • the language extraction module 420 is configured to extract at least one language associated with the geographic location information acquired by the information acquisition module 410 from the preset language list;
  • the language insertion module 430 is configured to insert at least one language extracted by the language extraction module 420 into a specified location of the preset language list.
  • the device further includes: a display module 440, and a first setting module 450.
  • the display module 440 is configured to display at least one language at a specified location determined by the language insertion module 430 in a current interface of the electronic device;
  • the first setting module 450 is configured to receive language setting information, and the language indicated by the language setting information is used as a setting result of a language option in the electronic device.
  • the language insertion module 430 includes: an obtaining submodule 431, a sorting submodule 432, and an inserting submodule 433.
  • the obtaining submodule 431 is configured to acquire popularity of at least one language
  • the sorting sub-module 432 is configured to sort the at least one language according to the order of popularity of the obtaining sub-module 431 from high to low;
  • the insertion sub-module 433 is configured to insert at least one language sorted by the sorting sub-module 432 into a specified position of the preset language list.
  • the device further includes: a list obtaining module 460.
  • the list obtaining module 460 is configured to obtain the previously acquired geographic location information, and restore at least one language associated with the last acquired geographic location information from the specified location to the respective initial location to obtain a preset language list; Alternatively, a list of preset languages that are pre-stored in the electronic device and remain unchanged are read.
  • the language extraction module 420 includes: a read submodule 421 and a query submodule 422.
  • the reading submodule 421 is configured to read a country code of geographic location information from system attributes of the electronic device;
  • the query sub-module 422 is configured to query, from the preset correspondence relationship, at least one language corresponding to the country code read by the reading sub-module 421, where the preset correspondence relationship is used to store a correspondence between the country code and the language. relationship.
  • the information obtaining module 410 includes: a first obtaining submodule 411, a second obtaining submodule 412, a third obtaining submodule 413, and a fourth obtaining submodule 414.
  • the first obtaining sub-module 411 is configured to acquire a setting result of a region option in the electronic device; the geographic location information indicated by the setting result is used as the current geographic location information of the electronic device;
  • the second obtaining sub-module 412 is configured to acquire geographic location information indicated by the SIM card of the user identification module in the electronic device; and use the geographical location information indicated by the SIM card as current geographic location information of the electronic device;
  • the third obtaining sub-module 413 is configured to acquire the geographical location information indicated by the network information registered by the electronic device, and use the geographical location information indicated by the network information as the current geographic location information of the electronic device;
  • the fourth obtaining sub-module 414 is configured to acquire geographic location information by using a global positioning system (GPS); and the geographical location information acquired by the GPS is used as current geographic location information of the electronic device.
  • GPS global positioning system
  • the device when the current geographic location information of the electronic device is a setting result of the regional option in the electronic device, the device further includes: a first receiving module 470, a first jumping module 480.
  • the first receiving module 470 is configured to receive the area setting information, and the area indicated by the area setting information is used as a setting result of the area option;
  • the first jump module 480 is configured to trigger the information acquiring module 410 to perform the step of acquiring the current geographic location information of the electronic device.
  • the device when the current geographic location information of the electronic device is the setting result of the regional option in the electronic device, the device further includes: a second receiving module 490, and a second jumping module 491.
  • the second receiving module 490 is configured to receive the area setting information, and the area indicated by the area setting information is used as a setting result of the area option;
  • the second jump module 491 is configured to receive a triggering operation on the language option, and the triggering information acquiring module 410 performs the step of acquiring the current geographic location information of the electronic device according to the triggering operation.
  • the device further includes: a second setting module 492.
  • the second setting module 492 is further configured to use one of the at least one language as a result of the setting of the language option in the electronic device when the electronic device is powered on for the first time.
  • the apparatus for language setting obtains at least one language associated with the geographic location information by acquiring current geographic location information of the electronic device;
  • the language is inserted into a specified position of the preset language list, so that the subsequent user can provide the at least one language directly to the user when setting the language option, so that the user can obtain and current without flipping the language list up and down.
  • the at least one language associated with the geographic location information directly selects one of the languages as a result of setting the language option in the electronic device, and solves the problem that the user needs to scroll up and down the language list to find the language associated with the current geographic location information.
  • the problem is that the effect of improving the setting efficiency of language options in the electronic device is achieved.
  • the user by displaying at least one language at the specified location in the current interface of the electronic device; receiving the language setting information, and setting the language indicated by the language setting information as a result of setting the language option in the electronic device, Displaying at least one language associated with the geographic location information, since the probability that the at least one language is set as the setting result of the language option is higher, the user selects one language from the displayed at least one language as the language The probability of setting the result of the option is higher, which improves the efficiency of setting the language option.
  • At least one sorted language is inserted into a designated position for display, and since the probability of the user selecting a language with a high degree of popularity is high, the user is The language with high popularity can be directly selected according to the sorting, and the problem that the user needs to find the language from the at least one language is solved, and the effect of improving the setting efficiency of the language option in the electronic device is achieved.
  • At least one language associated with the last acquired geographic location information is restored from the specified location to the respective initial location to obtain a preset language list; or, the electronic device is read.
  • a list of preset languages that are pre-stored and remain unchanged, so that in addition to changes in the position of at least one language associated with the current geographic location information, other languages are arranged in their initial positions and remain unchanged if the user does not.
  • At a specified location and at least one language associated with the last acquired geographic location information is arranged in an adjacent location after the specified location, resulting in an unfixed location of other languages, which is inconvenient for the user to find, and the improvement is achieved.
  • Language The effect of the search efficiency.
  • the electronic device when the electronic device is powered on for the first time, determining at least one language associated with the current geographic location information of the electronic device, and solving one of the at least one language as the default language of the electronic device,
  • the electronic device sets the language of the first region as the default language and is exported from the first region to the second region, since the language of the first region is different from the language of the second region, the users of the second region cannot understand the first language.
  • the problem of the language of a region which makes it impossible to use electronic devices, increases the probability that electronic devices will be used normally.
  • FIG. 4B is a block diagram of an apparatus for language setting, which is applied to an electronic device, as shown in FIG. 4A.
  • the apparatus for language setting includes: The acquisition module 493, the determination module 494, and the setup module 495.
  • the obtaining module 493 is configured to acquire current geographic location information of the electronic device when the electronic device is powered on for the first time;
  • the determining module 494 is configured to determine, from the preset language list of the electronic device, at least one language associated with the geographic location information acquired by the obtaining module 493;
  • the setting module 495 is configured to select one of the at least one language obtained from the determining module 494 as a result of the setting of the language option in the electronic device.
  • An exemplary embodiment of the present disclosure provides an apparatus for language setting, which is capable of implementing the method for language setting provided by the present disclosure, the apparatus for language setting comprising: a processor, executable for a storage processor Memory of instructions;
  • processor is configured to:
  • An exemplary embodiment of the present disclosure provides an apparatus for language setting, which is capable of implementing a method for language setting provided by the present disclosure, the apparatus for language setting comprising: a processor, for storing a memory in which the processor can execute instructions;
  • processor is configured to:
  • FIG. 5 is a block diagram of an apparatus 500 for language setting, according to an exemplary embodiment.
  • device 500 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 500 can include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, And a communication component 516.
  • Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 502 can include one or more processors 518 to execute instructions to perform all or part of the steps described above.
  • processing component 502 can include one or more modules to facilitate interaction between component 502 and other components.
  • processing component 502 can include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
  • Memory 504 is configured to store various types of data to support operation at device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 504 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Electrically erasable programmable read only memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 506 provides power to various components of device 500.
  • Power component 506 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 500.
  • the multimedia component 508 includes a screen between the device 500 and the user that provides an output interface screen.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 508 includes a front camera and/or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 510 is configured to output and/or input an audio signal.
  • audio component 510 includes a microphone (MIC) that is configured to receive an external audio signal when device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 504 or transmitted via communication component 516.
  • audio component 510 also includes a speaker for outputting an audio signal.
  • the I/O interface 512 provides an interface between the processing component 502 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 514 includes one or more sensors for providing device 500 with various aspects of status assessment.
  • sensor assembly 514 can detect an open/closed state of device 500, a relative positioning of components, such as the display and keypad of device 500, and sensor component 514 can also detect a change in position of one component of device 500 or device 500. The presence or absence of user contact with device 500, device 500 orientation or acceleration/deceleration, and temperature variation of device 500.
  • Sensor assembly 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 514 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices.
  • the device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 516 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication group Block 516 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 504 comprising instructions executable by processor 518 of apparatus 500 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Abstract

一种用于语言设置的方法及装置,属于计算机技术领域。所述方法包括:获取电子设备当前的地理位置信息(101);从预设语言列表中抽取与所述地理位置信息相关联的至少一种语言(102);将所述至少一种语言插入到所述预设语言列表的指定位置(103),以便后续用户在设置语言选项时,电子设备可以将该至少一种语言直接提供给用户,使得用户无需上下翻动语言列表进行查找,就可以得到与地理位置信息相关联的至少一种语言,直接选择其中的一种语言作为电子设备中的语言选项的设置结果,为用户设置语言选项提供了便利,解决了用户需要上下翻动语言列表来查找与地理位置信息相关联的语言的问题,达到了提高电子设备中语言选项的设置效率的效果。

Description

用于语言设置的方法及装置
本申请要求于2015年12月29日提交中国专利局、申请号为201511017747.9、发明名称为“用于语言设置的方法及装置”的专利申请的优先权,以及于2016年08月17日提交中国专利局、申请号为201610681553.7、发明名称为“用于语言设置的方法及装置”的专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及计算机技术领域,特别涉及一种用于语言设置的方法及装置。
背景技术
随着进出口贸易的发展,一个国家生产的电子设备可能被其他国家的用户使用,当其他国家的用户使用的语言与该国家的用户使用的语言不同时,需要对电子设备中的语言进行设置。
发明内容
为解决相关技术中的问题,本公开提供了一种用于语言设置的方法及装置。
根据本公开实施例的第一方面,提供一种用于语言设置的方法,该方法包括:
获取电子设备当前的地理位置信息;
从预设语言列表中抽取与地理位置信息相关联的至少一种语言;
将该至少一种语言插入到预设语言列表的指定位置
可选的,该方法还包括:
将该指定位置处的至少一种语言显示在电子设备的当前界面中;
接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果。
可选的,将至少一种语言插入到预设语言列表的指定位置,包括:
获取至少一种语言的普及程度;
按照普及程度由高到低的顺序,对至少一种语言进行排序;
将排序后的至少一种语言插入到预设语言列表的指定位置。
可选的,该方法还包括:
获取上次获取的地理位置信息,将与上次获取的地理位置信息相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表;或者,
读取电子设备中预存的,且保持不变的预设语言列表。
可选的,从预设语言列表中抽取与地理位置信息相关联的至少一种语言,包括:
从电子设备的系统属性中读取地理位置信息的国家码;
从预设对应关系中查询与该国家码对应的至少一种语言,该预设对应关系用于存储国家码与语言之间的对应关系。
可选的,获取电子设备当前的地理位置信息,包括:
获取电子设备中的地区选项的设置结果;将设置结果指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
获取电子设备中的SIM(Subscriber Identity Module,用户识别模块)卡指示的地理位置信息;将SIM卡指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
获取电子设备注册的网络信息指示的地理位置信息;将网络信息指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
利用GPS(Global Positioning System,全球定位系统)获取地理位置信息;将GPS获取的地理位置信息作为电子设备当前的地理位置信息。
可选的,当电子设备当前的地理位置信息是电子设备中的地区选项的设置结果时,该方法还包括:
接收地区设置信息,将该地区设置信息所指示的地区作为地区选项的设置结果;
触发执行获取电子设备当前的地理位置信息的步骤。
可选的,当电子设备当前的地理位置信息是电子设备中的地区选项的设置结果时,该方法还包括:
接收地区设置信息,将该地区设置信息所指示的地区作为地区选项的设置结果;
接收对语言选项的触发操作,根据该触发操作触发执行获取电子设备当前的地理位置信息的步骤。
可选的,该方法还包括:
当电子设备是首次开机时,将至少一种语言中的一种语言作为电子设备中的语言选项的设置结果。
根据本公开实施例的第二方面,提供一种用于语言设置的方法,该方法包括:
当电子设备首次开机时,获取电子设备当前的地理位置信息;
从电子设备的预设语言列表中确定与地理位置信息相关联的至少一种语言;
从至少一种语言中选择一种语言作为电子设备中语言选项的设置结果。
根据本公开实施例的第三方面,提供一种用于语言设置的装置,该装置包括:
信息获取模块,被配置为获取电子设备当前的地理位置信息;
语言抽取模块,被配置为从预设语言列表中抽取与信息获取模块获取的地理位置信息相关联的至少一种语言;
语言插入模块,被配置为将语言抽取模块抽取的至少一种语言插入到预设语言列表的指定位置。
可选的,该装置还包括:
显示模块,被配置为将语言插入模块确定的指定位置处的至少一种语言显示在电子设备的当前界面中;
第一设置模块,被配置为接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果。
可选的,该语言插入模块,包括:
获取子模块,被配置为获取至少一种语言的普及程度;
排序子模块,被配置为按照获取子模块获取的普及程度由高到低的顺序,对至少一种语言进行排序;
插入子模块,被配置为将排序子模块排序后的至少一种语言插入到预设语言列表的指定位置。
可选的,该装置还包括:
列表获取模块,被配置为上次获取的地理位置信息,将与上次获取的地理位置信息相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表;或者,读取电子设备中预存的,且保持不变的预设语言列表。
可选的,该语言抽取模块,包括:
读取子模块,被配置为从电子设备的系统属性中读取地理位置信息的国家码;
查询子模块,被配置为从预设对应关系中查询与读取子模块读取的国家码对应的至少一种语言,该预设对应关系用于存储国家码与语言之间的对应关系。
可选的,信息获取模块,包括:
第一获取子模块,被配置为获取电子设备中的地区选项的设置结果;将设置结果指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
第二获取子模块,被配置为获取电子设备中的SIM卡指示的地理位置信息;将SIM卡指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
第三获取子模块,被配置为获取电子设备注册的网络信息指示的地理位置信息;将网络信息指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
第四获取子模块,被配置为利用GPS获取地理位置信息;将GPS获取的地理位置信息作为电子设备当前的地理位置信息。
可选的,当所述电子设备当前的地理位置信息是所述电子设备中的地区选项的设置结果时,该装置还包括:
第一接收模块,被配置为接收地区设置信息,将该地区设置信息所指示的地区作为地区选项的设置结果;
第一跳转模块,被配置为触发信息获取模块执行获取电子设备当前的地理位置信息的步骤。
可选的,当所述电子设备当前的地理位置信息是所述电子设备中的地区选项的设置结果时,该装置还包括:
第二接收模块,被配置为接收地区设置信息,将该地区设置信息所指示的地区作为地区选项的设置结果;
第二跳转模块,被配置为接收对语言选项的触发操作,根据该触发操作触发信息获取模块执行获取电子设备当前的地理位置信息的步骤。
可选的,该装置还包括:
第二设置模块,被配置为当电子设备是首次开机时,将至少一种语言中的一种语言作为电子设备中的语言选项的设置结果。
根据本公开实施例的第四方面,提供一种用于语言设置的装置,该装置包括:
获取模块,被配置为当电子设备首次开机时,获取电子设备当前的地理位置信息;
确定模块,被配置为从电子设备的预设语言列表中确定与获取模块获取的地理位置信息相关联的至少一种语言;
设置模块,被配置为从确定模块得到的至少一种语言中选择一种语言作为电子设备中语言选项的设置结果。
根据本公开实施例的第五方面,提供一种用于语言设置的装置,该装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
获取电子设备当前的地理位置信息;
从预设语言列表中抽取与所述地理位置信息相关联的至少一种语言;
将至少一种语言插入到预设语言列表的指定位置。
根据本公开实施例的第六方面,提供一种用于语言设置的装置,该装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
当电子设备首次开机时,获取所述电子设备当前的地理位置信息;
从所述电子设备的预设语言列表中确定与所述地理位置信息相关联的至少一种语言;
从所述至少一种语言中选择一种语言作为所述电子设备中语言选项的设置结果。
本公开的实施例提供的技术方案可以包括以下有益效果:
通过获取电子设备当前的地理位置信息;从预设语言列表中抽取与该地理位置信息相关联的至少一种语言;将该至少一种语言插入到预设语言列表的指定位置,以便后续用户在设置语言选项时,电子设备可以将该至少一种语言直接提供给用户,使得用户无需上下翻动语言列表进行查找,就可以得到与当前的地理位置信息相关联的至少一种语言,直接选择其中的一种语言作为电子设备中的语言选项的设置结果,为用户设置语言选项提供了便利,解决了用户需要上下翻动语言列表来查找与当前地理位置信息相关联的语言的问题,达到了提高电子设备中语言选项的设置效率的效果。
另外,通过将指定位置处的至少一种语言显示在电子设备的当前界面中;接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果,可以对与当前的地理位置信息相关联的至少一种语言进行显示,由于该至少一种语言被设置为语言选项的设置结果的概率较高,因此,用户从显示的至少一种语言中选择一种语言作为语言选项的设置结果的概率较高,提高了语言选项的设置效率。
另外,通过将每个地区的至少一种语言按照普及程度进行排序,将排序后的至少一种语言插入到指定位置进行显示,由于用户选择普及程度较高的语言的概率较高,因此,用户可以按照排序直接选择普及程度高的语言,解决了用户需要从该至少一种语言中查找语言的问题,达到了提高电子设备中语言选项 的设置效率的效果。
另外,通过获取上次获取的地理位置信息,将与上次获取的地理位置信息相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表;或者,读取电子设备中预存的,且保持不变的预设语言列表,使得除了与当前的地理位置信息相关联的至少一种语言的位置发生变化外,其他语言排列在其初始位置且保持不变,若用户不需要选择该至少一种语言,需要从其他位置选择语言,可以保证用户能够快速定位到该语言的初始位置,从而快速查找到该语言,解决了将与当前地理位置信息相关联的至少一种语言排列在指定位置,且与上次获取的地理位置信息相关联的至少一种语言排列在该指定位置之后的相邻位置,导致其他语言的位置不固定,不便于用户查找的问题,达到了提高对语言的查找效率的效果。
另外,当电子设备是首次开机时,确定与该电子设备当前的地理位置信息相关联的至少一种语言,将该至少一种语言中的一种语言作为该电子设备的默认语言,解决了该电子设备将第一地区的语言设置为默认语言、且从第一地区被出口到第二地区时,由于第一地区的语言与第二地区的语言不同,使得第二地区的用户无法看懂第一地区的语言,从而无法使用电子设备的问题,提高了电子设备被正常使用的概率。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本公开说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1A是根据一示例性实施例示出的一种用于语言设置的方法的流程图。
图1B是根据另一示例性实施例示出的另一种用于语言设置的方法的流程图。
图2A是根据另一示例性实施例示出的一种用于语言设置的方法的流程图。
图2B是根据一示例性实施例示出的一种确定地区选项的设置结果的场景图。
图2C是根据一示例性实施例示出的一种提供语言选项的场景图。
图2D是根据一示例性实施例示出的一种显示至少一种语言的场景图。
图2E是根据一示例性实施例示出的一种确定语言选项的设置结果的场景图。
图2F是根据另一示例性实施例示出的一种用于语言设置的方法的流程图。
图2G是根据另一示例性实施例示出的一种用于语言设置的方法的流程图。
图2H是根据另一示例性实施例示出的一种用于语言设置的方法的流程图。
图3A是根据一示例性实施例示出的一种用于语言设置的装置的框图。
图3B是根据另一示例性实施例示出的一种用于语言设置的装置的框图。
图4A是根据一示例性实施例示出的一种用于语言设置的装置的框图。
图4B是根据另一示例性实施例示出的一种用于语言设置的装置的框图。
图5是根据一示例性实施例示出的一种用于语言设置的装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
图1A是根据一示例性实施例示出的一种用于语言设置的方法的流程图,本实施例将该用于语言设置的方法应用于电子设备中来举例说明,如图1A所示,该用于语言设置的方法包括以下步骤。
在步骤101中,获取电子设备当前的地理位置信息。
在步骤102中,从预设语言列表中抽取与地理位置信息相关联的至少一种语言。
在步骤103中,将该至少一种语言插入到预设语言列表的指定位置。
综上所述,本公开提供的用于语言设置的方法,通过获取电子设备当前的地理位置信息;从预设语言列表中抽取与该地理位置信息相关联的至少一种语言;将该至少一种语言插入到预设语言列表的指定位置,以便后续用户在设置语言选项时,电子设备可以将该至少一种语言直接提供给用户,使得用户无需 上下翻动语言列表进行查找,就可以得到与当前的地理位置信息相关联的至少一种语言,直接选择其中的一种语言作为电子设备中的语言选项的设置结果,解决了在设置完地区选项后,用户需要上下翻动语言列表来查找与地理位置信息相关联的语言的问题,达到了提高电子设备中语言选项的设置效率的效果。
可选的,请参考图1B示出的另一种用于语言设置的方法的流程图,如图1B所示,在步骤103之后还可以包括:
在步骤104中,将该指定位置处的至少一种语言显示在电子设备的当前界面中。
在步骤105中,接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果。
综上所述,本实施例提供的用于语言设置的方法,通过将指定位置处的至少一种语言显示在电子设备的当前界面中;接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果,可以对与当前的地理位置信息相关联的至少一种语言进行显示,由于该至少一种语言被设置为语言选项的设置结果的概率较高,因此,用户从显示的至少一种语言中选择一种语言作为语言选项的设置结果的概率较高,提高了语言选项的设置效率。
在第一种实现方式中,电子设备当前的地理位置信息是用户对地区选项进行设置之后得到的设置结果,请参考图2A,图2A是根据另一示例性实施例示出的一种用于语言设置的方法的流程图,本实施例将该用于语言设置的方法应用于电子设备中来举例说明,如图2A所示,该用于语言设置的方法包括如下步骤。
在步骤201中,接收地区设置信息,将该地区设置信息所指示的地区作为地区选项的设置结果。
相关技术中,当用户需要修改电子设备中的语言选项时,电子设备可以将提供的多种语言作为预设语言列表显示在当前界面中,由于电子设备提供的语言较多,因此,用户需要上下翻动预设语言列表来查找需要设置的语言,使得语言选项的设置效率较低。
本实施例中的电子设备将语言与地区相关联,用户先通过地区选项进行地区设置,电子设备将该地区对应的语言显示在当前界面中,用户再对显示的语 言进行设置,从而无需上下翻动语言列表即可找到需要设置的语言,提高了语言选项的设置效率。
根据本实施例提供的方法,电子设备首先需要接收用户触发的地区设置信息,将该地区设置信息所指示的地区作为地区选项的设置结果。例如:如图2B所示,在电子设备的显示界面1中提供了地区选项2,用户触发该地区选项2后,出现地区列表3,用户从该地区列表中选择中国,电子设备将中国作为地区选项2的设置结果。
电子设备在设置完地区选项后,还需要设置语言选项,此时,电子设备可以直接执行步骤203。即,在设置完地区选项后,无需用户执行触发操作,电子设备自动根据地区修改预设语言列表,减少了用户在设置语言选项的过程中执行的操作,提高了语言选项的设置效率。或者,电子设备也可以执行步骤202,此时,需要用户手动触发电子设备显示的语言选项,电子设备在接收到该触发操作后,根据地区修改预设语言列表。此时,可以避免用户只需要设置地区选项,不需要设置语言选项时,自动修改预设语言列表造成资源浪费的问题,达到了节省资源的效果。
在步骤202中,接收对语言选项的触发操作。
用户手动触发电子设备提供的语言选项,触发电子设备修改预设语言列表以供用户进行语言设置,电子设备接收该触发操作。
例如:如图2C所示,在电子设备的显示界面1中提供了语言选项4,用户触发该语言选项4,电子设备修改预设语言列表。
在步骤203中,获取电子设备中的地区选项的设置结果。
可选的,电子设备获取到的地区选项的设置结果即为该电子设备当前的地理位置信息。
在步骤204中,从电子设备的系统属性中读取设置结果的国家码。
为了方便用户选择与地区选项的设置结果相关联的语言,电子设备可以预先将设置结果与语言相关联。在实现时,可以将设置结果的国家码与语言相关联,此时,电子设备需要先根据设置结果确定国家码。其中,国家码用于唯一标识一个地区。例如:中国的国家码是86。
电子设备的系统属性中包含设置结果的国家码,在电子设备设置完地区选项后,会将系统属性中的国家码对应修改为该本次设置结果对应的国家码,因 此,电子设备可以直接从系统属性中读取该设置结果的国家码。
例如:电子设备从系统属性ro.miui.region中读取设置结果的国家码。
在步骤205中,从预设对应关系中查询与该国家码对应的至少一种语言,该预设对应关系用于存储国家码与语言之间的对应关系。
电子设备中存储着国家码和与该国家码对应的至少一种语言的预设对应关系,在读取到国家码后,通过查询该预设对应关系,即可得到该国家码对应的至少一种语言。
例如:如下表一所示的预设对应关系,若电子设备中地区选项的设置结果为中国,读取系统属性得到中国的国家码为86,对应语言为中文简体和中文繁体。
表一
设置结果 国家码 语言
中国 86 中文简体/中文繁体
加拿大 124 英语/法语/印第安语
…… ……. ……..
在步骤206中,读取电子设备中预存的,且保持不变的预设语言列表。
电子设备中预存有预设语言列表,该预设语言列表中包含至少两个地区对应的语言,且该预设语言列表中的语言的排列位置保持不变。该预设语言列表中语言的排列位置可以按照每种语言的普及程度、语言名称首字母顺序或者语言名称的长短等规则排列,本实施例不作限定。
例如:如下表二所示的电子设备中存储的预设语言列表。
表二
英文
中文简体
法文
中文繁体
韩文
日文
阿拉伯文
…….
可选的,作为步骤206的一种可替代方案,在步骤207中,获取地区选项的上次设置结果,将与上次设置结果相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表。其中,上次设置结果即为电子设备上次获取的地理位置信息。
若用户不是第一次设置语言选项,则电子设备在获得预设语言列表时,可以将与上次地区选项的设置结果相关联的至少一种与语言恢复到初始位置,得到最初的预设语言列表。
假设上次设置结果为中国,且中文简体排在预设语言列表的第一位,中文繁体排在预设语言列表的第二位,初始预设语言列表如表二所示,则将中文简体由第一位恢复到第二位,将中文繁体由第二位恢复到第四位。
其中,步骤206、步骤207需要在步骤208之前执行,本实施例不限定步骤206、步骤207和其他步骤的先后执行顺序。
在步骤208中,从预设语言列表中抽取与设置结果相关联的至少一种语言。
该预设语言列表中包含每个地区对应的至少一种语言,由于在步骤205中可以得到设置结果对应的至少一种语言,因此,电子设备可以直接从预设语言列表中抽取该至少一种语言。
在步骤209中,获取至少一种语言的普及程度。
语言的普及程度可以表示用户将该语言设置为语言选项的设置结果的概率。普及程度与概率呈正相关关系,即,普及程度越高,用户将该语言设置为语言选项的设置结果的概率越高。
语言的普及程度可以由对多个用户对语言选项的设置结果进行统计得到,本实施例不作限定。
在步骤210中,按照普及程度由高到低的顺序,对至少一种语言进行排序。
在步骤211中,将排序后的至少一种语言插入到预设语言列表的指定位置。
由于用户选择普及程度较高的语言的概率较高,因此,用户可以按照排序直接选择普及程度高的语言,解决了用户需要从该至少一种语言中查找语言的问题,达到了提高电子设备中语言选项的设置效率的效果。
指定位置是指能够在当前界面中显示的位置。例如,当电子设备按照由前往后的顺序显示预设语言列表时,该指定位置可以是该预设语言列表的前n位,n为正整数;当电子设备以滚轮方式显示预设语言列表时,指定位置可以是滚轮 中央的位置。
在步骤212中,将该指定位置处的至少一种语言显示在电子设备的当前界面中。
在一种可能的实现方式中,电子设备在界面中显示预设语言列表的操作控件,用户手动触发该操作控件,电子设备在接收到该触发操作后,将指定位置处的至少一种语言显示在电子设备的当前界面中,以供用户选择。
在另一种可能的实现方式中,在完成地区信息的设置后,无需用户执行触发操作,电子设备自动将该指定位置处的至少一种语言显示在电子设备的当前界面中,以供用户选择,减少了用户在设置语言选项的过程中执行的操作,提高了语言选项的设置效率。
例如:如图2D所示,若电子设备确定地区选项的设置结果为中国,则在电子设备的显示界面1中,将中文简体和中文繁体按照普及程度由高到低的顺序显示在当前界面的前两位,图2D以显示界面1为显示地区选项的设置结果的显示界面为例进行说明。在实际实现时,电子设备可以在确定地区选项的设置结果后,跳转到新的显示界面显示预设语言列表,本实施例不作限定。
在步骤213中,接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果。
用户在当前界面显示的至少一种语言中选择一种语言,电子设备接收用户触发的语言设置信息,并将该语言设置信息所指示的语言作为语言选项的设置结果。
可选的,若用户不需要从该至少一种语言中选择语言,也可以从预设语言列表中的其他位置选择一种语言,电子设备接收用户触发的语言设置信息,并将该语言设置信息所指示的语言作为语言选项的设置结果。
例如:如图2E所示,在电子设备的显示界面1中提供了多种语言,用户从该多种语言中选择了中文简体,电子设备将中文简体作为语言选项5的设置结果。
本实施例中,除了与本次设置结果相关联的至少一种语言的位置发生变化外,其他语言排列在其初始位置且保持不变,若用户不需要选择该至少一种语言,需要从其他位置选择语言,可以保证用户能够快速定位到该语言的初始位置,从而快速查找到该语言,解决了将与本次设置结果相关联的至少一种语言 排列在指定位置,且与上次设置结果相关联的至少一种语言排列在该指定位置之后的相邻位置,导致其他语言的位置不固定,不便于用户查找的问题,达到了提高对语言的查找效率的效果。
综上所述,本公开提供的用于语言设置的方法,通过获取电子设备中的地区选项的设置结果;从预设语言列表中抽取与设置结果相关联的至少一种语言;将该至少一种语言插入到预设语言列表的指定位置,以便后续用户在设置语言选项时,电子设备可以将该至少一种语言直接提供给用户,使得用户无需上下翻动语言列表进行查找,就可以得到与本地区相关联的至少一种语言,直接选择其中的一种语言作为电子设备中的语言选项的设置结果,解决了在设置完地区选项后,用户需要上下翻动语言列表来查找本地区的语言的问题,达到了提高电子设备中语言选项的设置效率的效果。
另外,通过将指定位置处的至少一种语言显示在电子设备的当前界面中;接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果,可以对与本地区相关联的至少一种语言进行显示,由于该至少一种语言被设置为语言选项的设置结果的概率较高,因此,用户从显示的至少一种语言中选择一种语言作为语言选项的设置结果的概率较高,提高了语言选项的设置效率。
另外,通过将每个地区的至少一种语言按照普及程度进行排序,将排序后的至少一种语言插入到指定位置进行显示,由于用户选择普及程度较高的语言的概率较高,因此,用户可以按照排序直接选择普及程度高的语言,解决了用户需要从该至少一种语言中查找语言的问题,达到了提高电子设备中语言选项的设置效率的效果。
另外,通过获取地区选项的上次设置结果,将与上次设置结果相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表;或者,读取电子设备中预存的,且保持不变的预设语言列表,使得除了与本次设置结果相关联的至少一种语言的位置发生变化外,其他语言排列在其初始位置且保持不变,若用户不需要选择该至少一种语言,需要从其他位置选择语言,可以保证用户能够快速定位到该语言的初始位置,从而快速查找到该语言,解决了将与本次设置结果相关联的至少一种语言排列在指定位置,且与上次设置结果相关联的至少一种语言排列在该指定位置之后的相邻位置,导致其他语言的位置 不固定,不便于用户查找的问题,达到了提高对语言的查找效率的效果。
在第二种实现方式中,电子设备当前的地理位置信息是根据该电子设备中的SIM卡确定的,此时步骤201-203可以替换为下面的步骤201f和202f,请参考图2F,图2F是根据另一示例性实施例示出的一种用于语言设置的方法的流程图,如图2F所示,该用于语言设置的方法包括如下步骤。
在步骤201f中,获取电子设备中的SIM卡指示的地理位置信息。
在步骤202f中,将SIM卡指示的地理位置信息作为电子设备当前的地理位置信息。
当电子设备通过获取SIM卡指示的地理位置信息来获取当前的地理位置信息时,电子设备可以读取SIM卡中的预设字段指示的IMSI(International Mobile Subscriber Identification Number,国际移动用户识别码),根据该IMSI确定出电子设备当前的地理位置信息。其中,IMSI至少包括MCC(Mobile Country Code,移动国家号码),该MCC由3位数字组成,且用于唯一地识别SIM卡所属的国家,比如:MCC为460时代表SIM卡所属的国家为中国。
此时,作为步骤204的可替换步骤,在步骤204f中,从电子设备的系统属性中读取地理位置信息的国家码。
作为步骤207的可替换步骤,在步骤207f中,获取上次获取的地理位置信息,将与上次获取的地理位置信息相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表。
作为步骤208的可替换步骤,在步骤208f中,从预设语言列表中抽取与地理位置信息相关联的至少一种语言。
在第三种实现方式中,电子设备当前的地理位置信息是根据该电子设备注册的网络信息确定的,此时步骤201-203可以替换为下面的步骤201g和202g,请参考图2G,图2G是根据另一示例性实施例示出的一种用于语言设置的方法的流程图,如图2G所示,该用于语言设置的方法包括如下步骤。
在步骤201g中,获取电子设备注册的网络信息指示的地理位置信息。
在步骤202g中,将网络信息指示的地理位置信息作为电子设备当前的地理位置信息。
当电子设备通过获取注册的网络信息指示的地理位置信息来获取当前的地理位置信息时,电子设备可以接收基站广播的携带IMSI的网络信息,从该网络信息中读取IMSI,根据该IMSI确定出电子设备当前的地理位置信息。其中,IMSI的相关描述详见图2F所示的实施例,在此不作赘述。
此时,作为步骤204的可替换步骤,在步骤204g中,从电子设备的系统属性中读取地理位置信息的国家码。
作为步骤207的可替换步骤,在步骤207g中,获取上次获取的地理位置信息,将与上次获取的地理位置信息相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表。
作为步骤208的可替换步骤,在步骤208g中,从预设语言列表中抽取与地理位置信息相关联的至少一种语言。
在第四种实现方式中,电子设备当前的地理位置信息是根据GPS确定的,此时步骤201-203可以替换为下面的步骤201h和202h,请参考图2H,图2H是根据另一示例性实施例示出的一种用于语言设置的方法的流程图,如图2H所示,该用于语言设置的方法包括如下步骤。
在步骤201h中,利用GPS获取地理位置信息。
在步骤202h中,将GPS获取的地理位置信息作为电子设备当前的地理位置信息。
当电子设备利用GPS获取地理位置信息时,电子设备可以根据该电子设备中的GPS接收器接收的GPS信号计算当前该电子设备的经纬度信息,根据计算出的经纬度信息确定出该电子设备当前的地理位置信息。
此时,作为步骤204的可替换步骤,在步骤204h中,从电子设备的系统属性中读取地理位置信息的国家码。
作为步骤207的可替换步骤,在步骤207h中,获取上次获取的地理位置信息,将与上次获取的地理位置信息相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表。
作为步骤208的可替换步骤,在步骤208h中,从预设语言列表中抽取与地理位置信息相关联的至少一种语言。
可选的,由于当电子设备由第一地区出口到第二地区,且第一地区的语言和第二地区的语言不同时,若电子设备的默认语言是第一地区的语言,那么,第二地区的用户可能无法看懂第一地区的语言,从而无法使用该电子设备,因此,电子设备会在首次开机时,获取当前的地理位置信息,在获取到地理位置信息后,从预设语言列表中抽取与地理位置信息相关联的至少一种语言,将该至少一种语言插入到预设语言列表的指定位置,并将与该地理位置信息相关联的至少一种语言中的一种语言作为该电子设备中的语言选项的设置结果,使得该语言作为该电子设备的默认语言,提高了该电子设备被正常使用的概率。电子设备获取当前的地理位置信息可以通过图2A中的步骤201-步骤203所示的方式获取;也可以通过图2F中的步骤201f-步骤202f所示的方式获取;还可以通过图2G中的步骤201g-步骤202g所示的方式获取;还可以通过图2H中的步骤201h-步骤202h所示的方式获取,本实施例不作限定。
其中,电子设备在从至少一种语言中选择作为语言选项的设置结果的一种语言时,可以根据随机算法选择该至少一种语言中的任意一种语言,也可以根据至少一种语言的普及程度选择普及程度最高的一种语言,还可以根据至少一种语言首字母的排列顺序选择排列顺序最靠前的一种语言,本实施例不对电子设备从至少一种语言中选择一种语言的选择方式作限定。
可选的,电子设备在首次开机,且在获取到地理位置信息后,还可以不改变电子设备中的预设语言列表,直接从该电子设备的预设语言列表中确定与该地理位置信息相关联的至少一种语言,将该至少一种语言中的一种语言作为该电子设备中的语言选项的设置结果,使得该语言作为该电子设备的默认语言,提高了该电子设备被正常使用的概率。电子设备获取当前的地理位置信息可以通过图2A中的步骤201-步骤203所示的方式获取;也可以通过图2F中的步骤201f-步骤202f所示的方式获取;还可以通过图2G中的步骤201g-步骤202g所示的方式获取;还可以通过图2H中的步骤201h-步骤202h所示的方式获取,本实施例不作限定。
其中,电子设备在从至少一种语言中选择作为语言选项的设置结果的一种语言时,可以根据随机算法选择该至少一种语言中的任意一种语言,也可以根据至少一种语言的普及程度选择普及程度最高的一种语言,还可以根据至少一 种语言首字母的排列顺序选择排列顺序最靠前的一种语言,本实施例不对电子设备从至少一种语言中选择一种语言的选择方式作限定。
图3A是根据一示例性实施例示出的一种用于语言设置的装置的框图,该用于语言设置的装置应用于电子设备中,如图3A所示,该用于语言设置的装置包括:信息获取模块310、语言抽取模块320和语言插入模块330。
该信息获取模块310,被配置为获取电子设备当前的地理位置信息;
该语言抽取模块320,被配置为从预设语言列表中抽取与信息获取模块310获取的地理位置信息相关联的至少一种语言;
该语言插入模块330,被配置为将语言抽取模块320抽取的至少一种语言插入到预设语言列表的指定位置。
综上所述,本公开提供的用于语言设置的装置,通过获取电子设备当前的地理位置信息;从预设语言列表中抽取与该地理位置信息相关联的至少一种语言;将该至少一种语言插入到预设语言列表的指定位置,以便后续用户在设置语言选项时,电子设备可以将该至少一种语言直接提供给用户,使得用户无需上下翻动语言列表进行查找,就可以得到与当前的地理位置信息相关联的至少一种语言,直接选择其中的一种语言作为电子设备中的语言选项的设置结果,解决了在设置完地区选项后,用户需要上下翻动语言列表来查找与地理位置信息相关联的语言的问题,达到了提高电子设备中语言选项的设置效率的效果。
可选的,请参考图3B示出的另一种用于语言设置的装置的框图,如图3B所示,该装置还可以包括:显示模块340、第一设置模块350。
该显示模块340,被配置为将语言插入模块330确定的指定位置处的至少一种语言显示在电子设备的当前界面中;
该第一设置模块350,被配置为接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果。
综上所述,本实施例提供的用于语言设置的装置,通过将指定位置处的至少一种语言显示在电子设备的当前界面中;接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果,可以对与当前的地理位置信息相关联的至少一种语言进行显示,由于该至少一种语言被设置为语言选项的设置结果的概率较高,因此,用户从显示的至少一种语言中选择一种 语言作为语言选项的设置结果的概率较高,提高了语言选项的设置效率。
图4A是根据一示例性实施例示出的一种用于语言设置的装置的框图,该用于语言设置的装置应用于电子设备中,如图4A所示,该用于语言设置的装置包括:信息获取模块410、语言抽取模块420和语言插入模块430。
该信息获取模块410,被配置为获取电子设备当前的地理位置信息;
该语言抽取模块420,被配置为从预设语言列表中抽取与信息获取模块410获取的地理位置信息相关联的至少一种语言;
该语言插入模块430,被配置为将语言抽取模块420抽取的至少一种语言插入到预设语言列表的指定位置。
可选的,该装置还包括:显示模块440、第一设置模块450。
该显示模块440,被配置为将语言插入模块430确定的指定位置处的至少一种语言显示在电子设备的当前界面中;
该第一设置模块450,被配置为接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果。
可选的,该语言插入模块430,包括:获取子模块431、排序子模块432、插入子模块433。
该获取子模块431,被配置为获取至少一种语言的普及程度;
该排序子模块432,被配置为按照获取子模块431获取的普及程度由高到低的顺序,对至少一种语言进行排序;
该插入子模块433,被配置为将排序子模块432排序后的至少一种语言插入到预设语言列表的指定位置。
可选的,该装置还包括:列表获取模块460。
该列表获取模块460,被配置为获取上次获取的地理位置信息,将与上次获取的地理位置信息相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表;或者,读取电子设备中预存的,且保持不变的预设语言列表。
可选的,该语言抽取模块420,包括:读取子模块421、查询子模块422。
该读取子模块421,被配置为从电子设备的系统属性中读取地理位置信息的国家码;
该查询子模块422,被配置为从预设对应关系中查询与读取子模块421读取的国家码对应的至少一种语言,该预设对应关系用于存储国家码与语言之间的对应关系。
可选的,信息获取模块410,包括:第一获取子模块411、第二获取子模块412、第三获取子模块413、第四获取子模块414。
该第一获取子模块411,被配置为获取电子设备中的地区选项的设置结果;将设置结果指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
该第二获取子模块412,被配置为获取电子设备中的用户识别模块SIM卡指示的地理位置信息;将SIM卡指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
该第三获取子模块413,被配置为获取电子设备注册的网络信息指示的地理位置信息;将网络信息指示的地理位置信息作为电子设备当前的地理位置信息;
或者,
该第四获取子模块414,被配置为利用全球定位系统GPS获取地理位置信息;将GPS获取的地理位置信息作为电子设备当前的地理位置信息。
可选的,当所述电子设备当前的地理位置信息是所述电子设备中的地区选项的设置结果时,该装置还包括:第一接收模块470、第一跳转模块480。
该第一接收模块470,被配置为接收地区设置信息,将该地区设置信息所指示的地区作为地区选项的设置结果;
该第一跳转模块480,被配置为触发信息获取模块410执行获取电子设备当前的地理位置信息的步骤。
可选的,当所述电子设备当前的地理位置信息是所述电子设备中的地区选项的设置结果时,该装置还包括:第二接收模块490、第二跳转模块491。
该第二接收模块490,被配置为接收地区设置信息,将该地区设置信息所指示的地区作为地区选项的设置结果;
该第二跳转模块491,被配置为接收对语言选项的触发操作,根据该触发操作触发信息获取模块410执行获取电子设备当前的地理位置信息的步骤。
可选的,该装置还包括:第二设置模块492。
第二设置模块492,还被配置为当电子设备是首次开机时,将至少一种语言中的一种语言作为电子设备中的语言选项的设置结果。
综上所述,本公开提供的用于语言设置的装置,通过获取电子设备当前的地理位置信息;从预设语言列表中抽取与该地理位置信息相关联的至少一种语言;将该至少一种语言插入到预设语言列表的指定位置,以便后续用户在设置语言选项时,电子设备可以将该至少一种语言直接提供给用户,使得用户无需上下翻动语言列表进行查找,就可以得到与当前的地理位置信息相关联的至少一种语言,直接选择其中的一种语言作为电子设备中的语言选项的设置结果,解决了用户需要上下翻动语言列表来查找与当前地理位置信息相关联的语言的问题,达到了提高电子设备中语言选项的设置效率的效果。
另外,通过将指定位置处的至少一种语言显示在电子设备的当前界面中;接收语言设置信息,将该语言设置信息所指示的语言作为电子设备中的语言选项的设置结果,可以对与当前的地理位置信息相关联的至少一种语言进行显示,由于该至少一种语言被设置为语言选项的设置结果的概率较高,因此,用户从显示的至少一种语言中选择一种语言作为语言选项的设置结果的概率较高,提高了语言选项的设置效率。
另外,通过将每个地区的至少一种语言按照普及程度进行排序,将排序后的至少一种语言插入到指定位置进行显示,由于用户选择普及程度较高的语言的概率较高,因此,用户可以按照排序直接选择普及程度高的语言,解决了用户需要从该至少一种语言中查找语言的问题,达到了提高电子设备中语言选项的设置效率的效果。
另外,通过获取上次获取的地理位置信息,将与上次获取的地理位置信息相关联的至少一种语言由指定位置恢复到各自的初始位置,得到预设语言列表;或者,读取电子设备中预存的,且保持不变的预设语言列表,使得除了与当前的地理位置信息相关联的至少一种语言的位置发生变化外,其他语言排列在其初始位置且保持不变,若用户不需要选择该至少一种语言,需要从其他位置选择语言,可以保证用户能够快速定位到该语言的初始位置,从而快速查找到该语言,解决了将与地理位置信息相关联的至少一种语言排列在指定位置,且与上次获取的地理位置信息相关联的至少一种语言排列在该指定位置之后的相邻位置,导致其他语言的位置不固定,不便于用户查找的问题,达到了提高对语 言的查找效率的效果。
另外,当电子设备是首次开机时,确定与该电子设备当前的地理位置信息相关联的至少一种语言,将该至少一种语言中的一种语言作为该电子设备的默认语言,解决了该电子设备将第一地区的语言设置为默认语言、且从第一地区被出口到第二地区时,由于第一地区的语言与第二地区的语言不同,使得第二地区的用户无法看懂第一地区的语言,从而无法使用电子设备的问题,提高了电子设备被正常使用的概率。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图4B是根据一示例性实施例示出的一种用于语言设置的装置的框图,该用于语言设置的装置应用于电子设备中,如图4A所示,该用于语言设置的装置包括:获取模块493、确定模块494和设置模块495。
该获取模块493,被配置为当电子设备首次开机时,获取电子设备当前的地理位置信息;
该确定模块494,被配置为从电子设备的预设语言列表中确定与获取模块493获取的地理位置信息相关联的至少一种语言;
该设置模块495,被配置为从确定模块494得到的至少一种语言中选择一种语言作为电子设备中语言选项的设置结果。
本公开一示例性实施例提供了一种用于语言设置的装置,能够实现本公开提供的用于语言设置的方法,该用于语言设置的装置包括:处理器、用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
获取电子设备当前的地理位置信息;
从预设语言列表中抽取与该地理位置信息相关联的至少一种语言;
将至少一种语言插入到预设语言列表的指定位置。
本公开一示例性实施例提供了一种用于语言设置的装置,能够实现本公开提供的用于语言设置的方法,该用于语言设置的装置包括:处理器、用于存储 处理器可执行指令的存储器;
其中,处理器被配置为:
当电子设备首次开机时,获取电子设备当前的地理位置信息;
从电子设备的预设语言列表中确定与地理位置信息相关联的至少一种语言;
从至少一种语言中选择一种语言作为电子设备中语言选项的设置结果。
图5是根据一示例性实施例示出的一种用于语言设置的装置500的框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。
处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器518来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。
存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件506为装置500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。
多媒体组件508包括在所述装置500和用户之间的提供一个输出接口的屏 幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。
I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组 件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器518执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (22)

  1. 一种用于语言设置的方法,其特征在于,所述方法包括:
    获取电子设备当前的地理位置信息;
    从预设语言列表中抽取与所述地理位置信息相关联的至少一种语言;
    将所述至少一种语言插入到所述预设语言列表的指定位置。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    将所述指定位置处的所述至少一种语言显示在所述电子设备的当前界面中;
    接收语言设置信息,将所述语言设置信息所指示的语言作为所述电子设备中的语言选项的设置结果。
  3. 根据权利要求1所述的方法,其特征在于,所述将所述至少一种语言插入到所述预设语言列表的指定位置,包括:
    获取所述至少一种语言的普及程度;
    按照普及程度由高到低的顺序,对所述至少一种语言进行排序;
    将排序后的所述至少一种语言插入到所述预设语言列表的指定位置。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取上次获取的地理位置信息,将与所述上次获取的地理位置信息相关联的至少一种语言由所述指定位置恢复到各自的初始位置,得到所述预设语言列表;或者,
    读取所述电子设备中预存的,且保持不变的所述预设语言列表。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述从预设语言列表中抽取与所述地理位置信息相关联的至少一种语言,包括:
    从所述电子设备的系统属性中读取所述地理位置信息的国家码;
    从预设对应关系中查询与所述国家码对应的至少一种语言,所述预设对应关系用于存储国家码与语言之间的对应关系。
  6. 根据权利要求1至4任一所述的方法,其特征在于,所述获取电子设备当前的地理位置信息,包括:
    获取所述电子设备中的地区选项的设置结果;将所述设置结果指示的地理位置信息作为所述电子设备当前的地理位置信息;
    或者,
    获取所述电子设备中的用户识别模块SIM卡指示的地理位置信息;将所述SIM卡指示的地理位置信息作为所述电子设备当前的地理位置信息;
    或者,
    获取所述电子设备注册的网络信息指示的地理位置信息;将所述网络信息指示的地理位置信息作为所述电子设备当前的地理位置信息;
    或者,
    利用全球定位系统GPS获取地理位置信息;将所述GPS获取的地理位置信息作为所述电子设备当前的地理位置信息。
  7. 根据权利要求6所述的方法,其特征在于,当所述电子设备当前的地理位置信息是所述电子设备中的地区选项的设置结果时,所述方法还包括:
    接收地区设置信息,将所述地区设置信息所指示的地区作为所述地区选项的设置结果;
    触发执行所述获取电子设备当前的地理位置信息的步骤。
  8. 根据权利要求6所述的方法,其特征在于,当所述电子设备当前的地理位置信息是所述电子设备中的地区选项的设置结果时,所述方法还包括:
    接收地区设置信息,将所述地区设置信息所指示的地区作为所述地区选项的设置结果;
    接收对语言选项的触发操作,根据所述触发操作触发执行所述获取电子设备当前的地理位置信息的步骤。
  9. 根据权利要求1至4任一所述的方法,其特征在于,所述方法还包括:
    当所述电子设备是首次开机时,将所述至少一种语言中的一种语言作为所 述电子设备中的语言选项的设置结果。
  10. 一种用于语言设置的方法,其特征在于,所述方法包括:
    当电子设备首次开机时,获取所述电子设备当前的地理位置信息;
    从所述电子设备的预设语言列表中确定与所述地理位置信息相关联的至少一种语言;
    从所述至少一种语言中选择一种语言作为所述电子设备中语言选项的设置结果。
  11. 一种用于语言设置的装置,其特征在于,所述装置包括:
    信息获取模块,被配置为获取电子设备当前的地理位置信息;
    语言抽取模块,被配置为从预设语言列表中抽取与所述信息获取模块获取的所述地理位置信息相关联的至少一种语言;
    语言插入模块,被配置为将所述语言抽取模块抽取的所述至少一种语言插入到所述预设语言列表的指定位置。
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    显示模块,被配置为将所述语言插入模块确定的所述指定位置处的所述至少一种语言显示在所述电子设备的当前界面中;
    第一设置模块,被配置为接收语言设置信息,将所述语言设置信息所指示的语言作为所述电子设备中的语言选项的设置结果。
  13. 根据权利要求11所述的装置,其特征在于,所述语言插入模块,包括:
    获取子模块,被配置为获取所述至少一种语言的普及程度;
    排序子模块,被配置为按照所述获取子模块获取的所述普及程度由高到低的顺序,对所述至少一种语言进行排序;
    插入子模块,被配置为将所述排序子模块排序后的所述至少一种语言插入到所述预设语言列表的指定位置。
  14. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    列表获取模块,被配置为获取上次获取的地理位置信息,将与所述上次获取的地理位置信息相关联的至少一种语言由所述指定位置恢复到各自的初始位置,得到所述预设语言列表;或者,读取所述电子设备中预存的,且保持不变的所述预设语言列表。
  15. 根据权利要求11至14任一所述的装置,其特征在于,所述语言抽取模块,包括:
    读取子模块,被配置为从所述电子设备的系统属性中读取所述地理位置信息的国家码;
    查询子模块,被配置为从预设对应关系中查询与所述读取子模块读取的所述国家码对应的至少一种语言,所述预设对应关系用于存储国家码与语言之间的对应关系。
  16. 根据权利要求11至14任一所述的装置,其特征在于,所述信息获取模块,包括:
    第一获取子模块,被配置为获取所述电子设备中的地区选项的设置结果;将所述设置结果指示的地理位置信息作为所述电子设备当前的地理位置信息;
    或者,
    第二获取子模块,被配置为获取所述电子设备中的用户识别模块SIM卡指示的地理位置信息;将所述SIM卡指示的地理位置信息作为所述电子设备当前的地理位置信息;
    或者,
    第三获取子模块,被配置为获取所述电子设备注册的网络信息指示的地理位置信息;将所述网络信息指示的地理位置信息作为所述电子设备当前的地理位置信息;
    或者,
    第四获取子模块,被配置为利用全球定位系统GPS获取地理位置信息;将所述GPS获取的地理位置信息作为所述电子设备当前的地理位置信息。
  17. 根据权利要求16所述的方法,其特征在于,当所述电子设备当前的地 理位置信息是所述电子设备中的地区选项的设置结果时,所述装置还包括:
    第一接收模块,被配置为接收地区设置信息,将所述地区设置信息所指示的地区作为所述地区选项的设置结果;
    第一跳转模块,被配置为触发所述信息获取模块执行所述获取电子设备当前的地理位置信息的步骤。
  18. 根据权利要求16所述的装置,其特征在于,当所述电子设备当前的地理位置信息是所述电子设备中的地区选项的设置结果时,所述装置还包括:
    第二接收模块,被配置为接收地区设置信息,将所述地区设置信息所指示的地区作为所述地区选项的设置结果;
    第二跳转模块,被配置为接收对语言选项的触发操作,根据所述触发操作触发所述信息获取模块执行所述获取电子设备当前的地理位置信息的步骤。
  19. 根据权利要求11至14任一所述的方法,其特征在于,所述装置还包括:
    第二设置模块,被配置为当所述电子设备是首次开机时,将所述至少一种语言中的一种语言作为所述电子设备中的语言选项的设置结果。
  20. 一种用于语言设置的装置,其特征在于,所述装置包括:
    获取模块,被配置为当电子设备首次开机时,获取所述电子设备当前的地理位置信息;
    确定模块,被配置为从所述电子设备的预设语言列表中确定与所述获取模块获取的所述地理位置信息相关联的至少一种语言;
    设置模块,被配置为从所述确定模块得到的所述至少一种语言中选择一种语言作为所述电子设备中语言选项的设置结果。
  21. 一种用于语言设置的装置,其特征在于,所述装置包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取电子设备当前的地理位置信息;
    从预设语言列表中抽取与所述地理位置信息相关联的至少一种语言;
    将所述至少一种语言插入到所述预设语言列表的指定位置。
  22. 一种用于语言设置的装置,其特征在于,所述装置包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    当电子设备首次开机时,获取所述电子设备当前的地理位置信息;
    从所述电子设备的预设语言列表中确定与所述地理位置信息相关联的至少一种语言;
    从所述至少一种语言中选择一种语言作为所述电子设备中语言选项的设置结果。
PCT/CN2016/098948 2015-12-29 2016-09-14 用于语言设置的方法及装置 WO2017113889A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201511017747.9 2015-12-29
CN201511017747.9A CN105653276A (zh) 2015-12-29 2015-12-29 用于语言设置的方法及装置
CN201610681553.7A CN106648575A (zh) 2015-12-29 2016-08-17 用于语言设置的方法及装置
CN201610681553.7 2016-08-17

Publications (1)

Publication Number Publication Date
WO2017113889A1 true WO2017113889A1 (zh) 2017-07-06

Family

ID=56477399

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098948 WO2017113889A1 (zh) 2015-12-29 2016-09-14 用于语言设置的方法及装置

Country Status (3)

Country Link
US (1) US20170185579A1 (zh)
CN (2) CN105653276A (zh)
WO (1) WO2017113889A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653276A (zh) * 2015-12-29 2016-06-08 小米科技有限责任公司 用于语言设置的方法及装置
CN106204972B (zh) * 2016-07-22 2018-10-12 恒宝股份有限公司 Pos机语言设置系统及方法、pos机和手机
US10460746B2 (en) * 2017-10-31 2019-10-29 Motorola Solutions, Inc. System, method, and device for real-time language detection and real-time language heat-map data structure creation and/or modification
TWM563000U (zh) * 2018-02-14 2018-07-01 光陽工業股份有限公司 車輛之儀表語系切換系統
CN109032379B (zh) * 2018-07-25 2023-06-02 维沃移动通信有限公司 一种语言选项显示方法及终端
CN109240785B (zh) * 2018-08-31 2021-01-22 维沃移动通信有限公司 一种设置语言的方法、终端及存储介质
CN109542569B (zh) * 2018-11-26 2022-07-15 Oppo(重庆)智能科技有限公司 设置显示语言的方法、装置、终端及存储介质
CN109739466B (zh) * 2018-12-29 2021-07-16 联想(北京)有限公司 一种信息处理方法和电子设备
US20220147368A1 (en) * 2019-07-26 2022-05-12 Hewlett-Packard Development Company, L.P. Configuring localizations based on peripheral device localization settings
CN110414014B (zh) * 2019-08-05 2020-12-04 珠海格力电器股份有限公司 一种语音设备控制方法、装置、存储介质及语音设备
CN111614982B (zh) * 2020-05-13 2022-05-17 青岛海信传媒网络技术有限公司 一种语言选项和国家选项的显示方法及显示设备
CN111816175A (zh) * 2020-06-29 2020-10-23 青岛歌尔智能传感器有限公司 蓝牙耳机的播报语言确定方法、装置、设备及存储介质
CN112114921A (zh) * 2020-09-14 2020-12-22 青岛海尔科技有限公司 一种语言推荐方法及装置
CN113329394A (zh) * 2021-06-09 2021-08-31 希姆通信息技术(上海)有限公司 一种基于Android设备的国家码菜单及其使用方法
CN114896018B (zh) * 2022-05-27 2023-08-11 苏州浪潮智能科技有限公司 一种bmc应用界面语言切换的方法、装置及介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050192794A1 (en) * 2000-11-01 2005-09-01 Microsoft Corporation System and method for providing regional settings for server-based applications
CN102158585A (zh) * 2010-02-11 2011-08-17 上海贝尚通信科技有限公司 手机语言、输入法切换装置及切换方法
CN102761655A (zh) * 2011-04-29 2012-10-31 希姆通信息技术(上海)有限公司 自动切换移动终端界面语言的系统和方法
CN104598271A (zh) * 2014-12-29 2015-05-06 福建联迪商用设备有限公司 一种互联网设备自动设置语言的方法、装置及系统
CN105578285A (zh) * 2015-12-22 2016-05-11 康佳集团股份有限公司 一种电视机自动定位设置多国语言的方法及电视机
CN105653276A (zh) * 2015-12-29 2016-06-08 小米科技有限责任公司 用于语言设置的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770793B (zh) * 2008-12-31 2013-11-06 鸿富锦精密工业(深圳)有限公司 自动设定语言的方法
US9104744B2 (en) * 2011-06-30 2015-08-11 Google Inc. Cluster-based language detection
US20140180671A1 (en) * 2012-12-24 2014-06-26 Maria Osipova Transferring Language of Communication Information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050192794A1 (en) * 2000-11-01 2005-09-01 Microsoft Corporation System and method for providing regional settings for server-based applications
CN102158585A (zh) * 2010-02-11 2011-08-17 上海贝尚通信科技有限公司 手机语言、输入法切换装置及切换方法
CN102761655A (zh) * 2011-04-29 2012-10-31 希姆通信息技术(上海)有限公司 自动切换移动终端界面语言的系统和方法
CN104598271A (zh) * 2014-12-29 2015-05-06 福建联迪商用设备有限公司 一种互联网设备自动设置语言的方法、装置及系统
CN105578285A (zh) * 2015-12-22 2016-05-11 康佳集团股份有限公司 一种电视机自动定位设置多国语言的方法及电视机
CN105653276A (zh) * 2015-12-29 2016-06-08 小米科技有限责任公司 用于语言设置的方法及装置

Also Published As

Publication number Publication date
US20170185579A1 (en) 2017-06-29
CN106648575A (zh) 2017-05-10
CN105653276A (zh) 2016-06-08

Similar Documents

Publication Publication Date Title
WO2017113889A1 (zh) 用于语言设置的方法及装置
US9953212B2 (en) Method and apparatus for album display, and storage medium
JP6134454B2 (ja) アクセスポイントリスト表示方法、装置、プログラム、及び記録媒体
WO2016026269A1 (zh) 实时视频提供方法、装置及服务器、终端设备
WO2016145796A1 (zh) 应用消息显示方法、装置及终端
WO2016206292A1 (zh) 文本输入方法和装置
US9654621B2 (en) Methods and devices for prompting calling request
US11281363B2 (en) Method and device for setting identity image
US11243660B2 (en) Method and device for displaying application, and storage medium
US20150339016A1 (en) Tab creation method, device, and terminal
CN107423386B (zh) 生成电子卡片的方法及装置
US20170090684A1 (en) Method and apparatus for processing information
WO2016082461A1 (zh) 推荐信息获取方法、终端及服务器
CN107273448B (zh) 信息显示方法、装置及计算机可读存储介质
CN107229403B (zh) 一种信息内容选择方法及装置
CN107402767B (zh) 显示推送消息的方法和装置
CN107493366B (zh) 通讯录信息更新方法、装置及存储介质
CN111046210A (zh) 一种信息推荐方法、装置和电子设备
CN106331328B (zh) 信息提示的方法及装置
CN104951522B (zh) 一种进行搜索的方法和装置
CN105704322B (zh) 天气信息获取方法及装置
CN105488074B (zh) 照片聚类的方法及装置
JP2017520877A5 (zh)
CN105740356B (zh) 一种对目标音频进行标记的方法和装置
CN105260088B (zh) 信息分类展示处理的方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16880682

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16880682

Country of ref document: EP

Kind code of ref document: A1