System language switching method and device and electronic equipment

By detecting the user's voice and automatically switching the system language, the problem of frequent manual switching of system languages ​​for multiple people when operating the mobile phone is solved, and the flexibility and efficiency of electronic devices are improved.

CN119668748APending Publication Date: 2025-03-21VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411727254.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

When multiple people operate the same mobile phone, due to different personal usage habits or language differences, they need to frequently manually switch the system language of the mobile phone, resulting in low flexibility and efficiency in system language switching of electronic devices.

Method used

By detecting whether there is a user and the user's voice, it is determined whether any user has an operational requirement for the electronic device, and when the user's voice indicates operational requirement is detected, the system language is automatically switched to match the language used by the user.

Benefits of technology

It realizes automatic switching of system language without the need for manual operation of users, reducing operation time and improving the flexibility and efficiency of electronic devices in system language switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668748A_ABST
    Figure CN119668748A_ABST
Patent Text Reader

Abstract

The invention discloses a system language switching method and device and electronic equipment, and belongs to the technical field of electronic equipment. The method comprises the following steps: operating a first system of first electronic equipment, wherein the system language of the first system is a first language; under the condition that the first user and the first voice of the first user are detected, switching the system language currently used by the first electronic equipment from the first language to a second language; wherein the first voice is used for indicating that the first user has an operation requirement on the first electronic equipment, and the second language is determined based on the language corresponding to the first voice.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a system language switching method, device, and electronic equipment. Background Art

[0002] In various scenarios of daily life and work, users often need other people to operate their mobile phones to complete certain tasks, that is, the need for multiple people to operate the same mobile phone. When other people operate the user's mobile phone, due to different personal usage habits or language differences, it is often necessary to switch the system language of the mobile phone.

[0003] For example, when users travel to other countries, due to language and cultural differences, users will encounter many inconveniences when using mobile phones for navigation or information query, and often need to rely on local people to operate their own mobile phones. Specifically, for example, user A travels to a certain country, asks passerby A for directions and uses a mobile phone for navigation. User A first switches the system language of the mobile phone to a language familiar to passerby A, and after handing the mobile phone to passerby A, passerby A can operate the mobile phone to trigger the mobile phone to enter the navigation application software, so that passerby A enters the destination required by user A in the navigation application software and starts navigation.

[0004] However, in the above method, when passerby A uses user A's mobile phone to help user A complete navigation needs, the user needs to manually switch the system language, so it takes time for the user to trigger the system language switching operation. As a result, the flexibility and efficiency of electronic devices in switching system languages ​​are low. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a system language switching method, device, and electronic device, which can improve the flexibility and efficiency of system language switching of the electronic device.

[0006] In a first aspect, an embodiment of the present application provides a system language switching method, the method comprising: running a first system of a first electronic device, the system language of the first system being a first language; when a first user and a first voice of the first user are detected, switching the system language currently used by the first electronic device from the first language to a second language; wherein the first voice is used to indicate that the first user has an operation requirement for the first electronic device, and the second language is determined based on the language corresponding to the first voice.

[0007] In a second aspect, an embodiment of the present application provides a system language switching device, the device comprising: a processing module. The processing module is used to run a first system of a first electronic device, the system language of the first system is a first language; and, when a first user and a first voice of the first user are detected, the system language currently used by the first electronic device is switched from the first language to a second language; wherein the first voice is used to indicate that the first user has an operation requirement for the first electronic device, and the second language is determined based on the language corresponding to the first voice.

[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0012] In an embodiment of the present application, a first electronic device runs a first system whose system language is a first language. When a first user and a first voice of the first user are detected, the system language currently used by the first electronic device is switched from the first language to a second language. The first voice is used to indicate that the first user has an operation requirement for the first electronic device, and the second language is determined based on the language corresponding to the first voice. In this solution, since when a system is running, it is possible to determine whether a user has an operation requirement for the first electronic device by detecting whether a user and the user's voice exist, so that when the detected user's voice indicates that the user has an operation requirement for the first electronic device, and the language corresponding to the user's voice (i.e., the language used by the user) is different from the currently used system language, the system language can be automatically switched by switching the currently used system language to another language related to the language used by the user. In this way, when any user needs to switch the system language of the first electronic device or when there are multiple people operating the first electronic device, there is no need for the user to manually switch the system language, which reduces the time-consuming operation of the user triggering the switching of the system language and improves the flexibility and efficiency of the electronic device in switching the system language. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is one of the flow charts of the system language switching method provided in the embodiment of the present application;

[0014] Figure 2 is a schematic diagram of a navigation interface corresponding to a first language when the system language currently used by a mobile phone provided in an embodiment of the present application;

[0015] Figure 3 is a schematic diagram of a navigation interface corresponding to a second language when the system language currently used by a mobile phone provided in an embodiment of the present application;

[0016] Figure 4 This is the second flowchart of the system language switching method provided in the embodiment of the present application;

[0017] Figure 5 This is the third flowchart of the system language switching method provided in the embodiment of the present application;

[0018] Figure 6 This is the fourth flowchart of the system language switching method provided in the embodiment of the present application;

[0019] Figure 7 This is the fifth flowchart of the system language switching method provided in the embodiment of the present application;

[0020] Figure 8 This is the sixth flowchart of the system language switching method provided in the embodiment of the present application;

[0021] Fig. 9This is one of the schematic diagrams of the system language switching device provided in the embodiment of the present application;

[0022] Fig.10 This is the second schematic diagram of the system language switching device provided in the embodiment of the present application;

[0023] Fig.11 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0024] Fig.12 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0027] The terms "at least one (item)", "at least one of" and the like in this application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0028] The system language switching method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0029] The embodiments of the present application may be applied to a scenario where a user needs to switch the system language of a first electronic device or where multiple people need to operate the first electronic device.

[0030] The following uses some specific scenarios as examples to exemplify the system language switching method provided in the embodiments of the present application.

[0031] Scenario 1: The system language of the first system of user A's mobile phone A is Chinese. User A is traveling in country A and asks passerby A for directions and uses mobile phone A for navigation. The language used by passerby A and user A in the communication process is language A used in country A.

[0032] Mobile phone A of user A runs a first system, the system language of which is Chinese. User A is traveling in country A. User A asks passerby A for directions and uses mobile phone A for navigation. Mobile phone A detects passerby A and voice A of passerby A, which indicates that passerby A has an operation requirement for mobile phone A, and the language corresponding to voice A is language A. Then mobile phone A switches the system language currently used by mobile phone A from Chinese to language A.

[0033] Scenario 2: The system language of the first system of user B's mobile phone B is Chinese. User B is traveling in country B, where the language used is language B. He asks passerby B for directions and uses mobile phone B for navigation. The language used by passerby B in the communication with user B is language C used in country C. The system language of passerby B's mobile phone C is language D.

[0034] Mobile phone B of user B runs a first system, the system language of which is Chinese. User B is traveling in country B. User B asks passerby B for directions and uses mobile phone B for navigation. Mobile phone B detects passerby B and voice B of passerby B, which indicates that passerby B has an operation requirement for mobile phone B. The language corresponding to voice B is language C. Then mobile phone B switches the system language currently used by mobile phone B from Chinese to a second language, which is determined based on language C and can be language C or language D, the system language used by mobile phone C of passerby B.

[0035] It should be noted that the above-mentioned scenarios 1 and 2 are merely illustrative examples of some scenarios in which the embodiments of the present application may be applied. In actual implementation, the embodiments of the present application can also be applied to more scenarios that require switching system languages, and the embodiments of the present application are not limited here.

[0036] Based on the above scenario applied by the embodiment of the present application, the system language switching method provided by the embodiment of the present application, the first electronic device runs a first system with a first language as the system language, and when a first user and a first voice of the first user are detected, the system language currently used by the first electronic device is switched from the first language to the second language, the first voice is used to indicate that the first user has an operation requirement for the first electronic device, and the second language is determined based on the language corresponding to the first voice. In this scheme, since when a system is running, it is possible to determine whether a user has an operation requirement for the first electronic device by detecting whether there is a user and the user's voice, so that when the detected user's voice indicates that the user has an operation requirement for the first electronic device, and the language corresponding to the user's voice (that is, the language used by the user) is different from the currently used system language, the system language can be automatically switched by switching the currently used system language to another language related to the language used by the user, so that when any user needs to switch the system language of the first electronic device or when there is a need for multiple people to operate the first electronic device, there is no need for the user to manually switch the system language, which reduces the time-consuming operation of the user triggering the switching of the system language, and improves the flexibility and efficiency of the electronic device in switching the system language.

[0037] The execution subject of the system language switching method provided in the embodiment of the present application may be a system language switching device, which may be an electronic device, or a functional module or functional entity in the electronic device. The technical solution provided in the embodiment of the present application is described below using an electronic device as an example.

[0038] Figure 1 FIG. 1 is a flow chart of a system language switching method provided by an embodiment of the present application. Figure 1 As shown, the system language switching method provided in the embodiment of the present application may include the following steps 201 and 202.

[0039] Step 201: A first electronic device runs a first system of the first electronic device.

[0040] In the embodiment of the present application, the system language of the first system is the first language.

[0041] Optionally, in an embodiment of the present application, the first system may be an operating system of the first electronic device, and the first system may provide all functions of the first electronic device, such as communication, entertainment, office, payment, navigation and other functions.

[0042] Optionally, in the embodiment of the present application, the first language may be any language recognized and used worldwide, such as Chinese, English, French, etc. The specific language may be determined according to actual use requirements, and the embodiment of the present application does not limit it.

[0043] Optionally, in the embodiment of the present application, the first language may include but is not limited to any one of the following: a language set by a user of the first electronic device, and a system default language of the first electronic device.

[0044] It can be understood that the system language of the above-mentioned first system is the first language, which means that all interface contents under the first system, such as system prompts, menu options, display texts of application programs, etc., can be presented in the first language.

[0045] For example, the electronic device is a mobile phone and the first language is Chinese. Figure 2 As shown, the mobile phone displays a navigation interface 20, and the displayed texts in the navigation interface 20 are all presented in Chinese.

[0046] It should be noted that, in the embodiment of the present application, the first electronic device running the first system of the first electronic device means that the first electronic device is currently running the first system, that is, the interface content of the first system is currently displayed in the first electronic device in the first language.

[0047] Step 202: When the first user and the first voice of the first user are detected, the first electronic device switches the system language currently used by the first electronic device from the first language to the second language.

[0048] In the embodiment of the present application, the first voice is used to indicate that the first user has an operation requirement for the first electronic device.

[0049] In the embodiment of the present application, the second language is determined based on the language corresponding to the first voice.

[0050] Optionally, in the embodiment of the present application, the first user may be the user of the first electronic device or other users, where the other users are users of other electronic devices other than the first electronic device. The languages ​​corresponding to the first voices of these users are different from the first language.

[0051] Optionally, in an embodiment of the present application, the first electronic device may detect the first user through a face image acquisition module.

[0052] Optionally, in the embodiment of the present application, the above-mentioned face image acquisition module may include but is not limited to any one of the following: a 3D scanner, an infrared sensor, a laser radar, a camera, etc. The specific one may be determined according to actual use requirements and is not limited in the embodiment of the present application.

[0053] Optionally, in the embodiment of the present application, the first electronic device may detect the first voice of the first user through a voice collection module.

[0054] Optionally, in an embodiment of the present application, the above-mentioned voice acquisition module may include but is not limited to any one of the following: a microphone, a line input interface, a sound card, etc.

[0055] In the embodiment of the present application, the content of the above-mentioned first voice can be any content that can indicate that the above-mentioned first user has an operation demand for the first electronic device, for example: Let me take a look at your mobile phone, I will help you operate the mobile phone, etc.

[0056] Optionally, in the embodiment of the present application, the language corresponding to the first voice may be any language recognized and used worldwide, such as Chinese, English, French, etc. The specific language may be determined according to actual use requirements, and the embodiment of the present application does not limit it.

[0057] Optionally, in the embodiment of the present application, the second language may include but is not limited to any of the following: a language corresponding to the first voice, and another language obtained based on the language corresponding to the first voice. It should be noted that the method for determining the second language can be referred to the description in the following embodiment, which will not be repeated here.

[0058] It is understandable that the first electronic device switches the system language currently used by the first electronic device from the first language to the second language, indicating that all interface content of the first electronic device, such as system prompts, menu options, display text of the application, etc., can be presented in the second language.

[0059] For example, the electronic device is a mobile phone and the second language is English. Figure 3 As shown, the system language currently used by the mobile phone is switched from Chinese to English, and the mobile phone displays a navigation interface 30 in which all displayed texts are presented in English.

[0060] An embodiment of the present application provides a system language switching method. When a system is running, it is possible to determine whether a user has an operation requirement for a first electronic device by detecting whether a user exists and the user's voice. Therefore, when the detected user's voice indicates that the user has an operation requirement for the first electronic device, and the language corresponding to the user's voice (that is, the language used by the user) is different from the currently used system language, the system language can be automatically switched by switching the currently used system language to another language related to the language used by the user. In this way, when any user needs to switch the system language of the first electronic device or when there is a need for multiple people to operate the first electronic device, there is no need for the user to manually switch the system language, thereby reducing the time spent by the user in triggering the switching of the system language and improving the flexibility and efficiency of the electronic device in switching the system language.

[0061] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 4As shown, the above step 202 can be specifically implemented through the following step 202a or step 202b.

[0062] Step 202a: When the first user and the first user's first voice are detected, the first electronic device switches the system language of the first system from the first language to the second language.

[0063] In an embodiment of the present application, when a first user and a first voice of the first user are detected, the first electronic device can switch the system language currently used by the first electronic device by directly switching the system language of the first system from a first language to a second language without switching the currently running first system.

[0064] Step 202b: When the first user and the first voice of the first user are detected, the first electronic device switches from the first system to the second system.

[0065] In the embodiment of the present application, the system language of the second system is the second language.

[0066] In an embodiment of the present application, the second system is a mirror image of the first system, that is, the second system is a system obtained by copying or cloning the first system. The display content of the second system is completely consistent with that of the first system except for the system language. The second system displays the interface content of the corresponding first system in another language. For example, the first system currently displays the navigation interface, and the corresponding second system running in the background is also currently in the navigation interface.

[0067] It can be understood that the system language of the above-mentioned second system is the second language, which means that all interface contents under the second system, such as system prompts, menu options, display texts of application programs, etc., can be presented in the second language.

[0068] It should be noted that in the embodiment of the present application, when the first electronic device is running the first system, that is, when the interface content under the first system is currently displayed in the first electronic device, the second system is running in parallel in the background at the same time. The first electronic device switches from the first system to the second system, that is, when the interface content under the second system is currently displayed in the first electronic device, the first system is running in parallel in the background at the same time.

[0069] In an embodiment of the present application, when the detected user's voice indicates that the user has an operation demand on the first electronic device, and the language corresponding to the user's voice (that is, the language used by the user) is different from the system language currently used, the system language of the first system can be directly switched from the first language to the second language, or from the first system to the second system whose system language is the second language, to achieve automatic switching of the system language. In this way, when any user needs to switch the system language of the first electronic device or there is a need for multiple people to operate the first electronic device, the user does not need to manually switch the system language, and the system language currently used by the first electronic device can be switched in a variety of ways, which reduces the time spent by the user in triggering the switching of the system language and improves the flexibility and efficiency of the electronic device in switching the system language.

[0070] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 5 As shown, the system language switching method provided in the embodiment of the present application may further include the following step 301, and the above step 202 may be specifically implemented by the following step 202c.

[0071] Step 301: A first electronic device obtains location information.

[0072] In the embodiment of the present application, the above-mentioned location information is used to characterize the geographical area where the first electronic device is currently located.

[0073] Optionally, in an embodiment of the present application, the method for the first electronic device to obtain location information may include but is not limited to any one of the following: GPS (Global Positioning System) positioning, Wi-Fi positioning, cellular network positioning, etc.

[0074] In the embodiment of the present application, the above-mentioned geographical area refers to a geographical space unit with a clear location and boundaries, such as: a country, a city, or a region.

[0075] For example, mobile phone A obtains the current location information of user A to which mobile phone A belongs as country A through GPS positioning.

[0076] Optionally, in an embodiment of the present application, the first electronic device can determine a permanent area of ​​a user to which the first electronic device belongs based on positioning technology and a data analysis algorithm.

[0077] It can be understood that the resident area of ​​the user to whom the first electronic device belongs is a geographical area frequently visited by the user, which is identified by the first electronic device using a data analysis algorithm and by continuously collecting the user's positioning data through positioning technology.

[0078] For example, mobile phone A determines that the permanent residence area of ​​user A to which mobile phone A belongs is country N through GPS positioning combined with a data analysis algorithm.

[0079] In an embodiment of the present application, the geographical area corresponding to the above-mentioned location information is used to subsequently determine whether the geographical area where the user of the first electronic device is currently located is the user's permanent area, or, based on the geographical area corresponding to the location information, the language corresponding to the geographical area is obtained, which is used to subsequently determine whether the language matches the language corresponding to the user's permanent area, so as to perform further operations.

[0080] Step 202c: when the first user and the first user's first voice are detected and the location information satisfies the first condition, the first electronic device determines the second language based on the language corresponding to the first voice and the language used in the geographical area, and switches the system language currently used by the first electronic device from the first language to the second language.

[0081] Optionally, in an embodiment of the present application, the first condition may be that the geographical area corresponding to the location information is not the permanent area of ​​the user to which the first electronic device belongs (for example, the user has gone abroad), or, the language corresponding to the geographical area does not match the language corresponding to the permanent area of ​​the user to which the first electronic device belongs (for example, although the user has not gone abroad, the language corresponding to the current geographical area does not match the language the user is familiar with, that is, the languages ​​are different).

[0082] It should be noted that if the above-mentioned location information satisfies any one of the above-mentioned first conditions, it means that the geographical area where the user of the first electronic device is currently located is not the user's permanent area, or the language corresponding to the geographical area does not match the language familiar to the user. In the above case, when the user needs other people to assist in operating the first electronic device to complete certain matters in the current geographical area, the first electronic device can switch the system language currently used by the first electronic device accordingly to ensure that other people can operate the first electronic device smoothly. Therefore, when the first user and the first user's first voice are detected, and the location information satisfies the first condition, the first electronic device determines the second language based on the language corresponding to the first voice and the language used in the geographical area. For example, the language corresponding to the first voice or the system language used by the first user's electronic device can be determined as the second language, and the system language currently used by the first electronic device is switched from the first language to the second language.

[0083] It should be noted that, for the specific method of determining the second language based on the language corresponding to the first voice and the language used in the geographical area, reference may be made to the description in the following embodiments, which will not be described in detail here.

[0084] It should be noted that the above step 301 may be performed after the above step 201, or may be performed simultaneously with the above step 201. Figure 5 The example in which step 301 is performed after step 201 and before step 202c is used for illustration.

[0085] In an embodiment of the present application, the first electronic device obtains current location information. When the location information satisfies a first condition, that is, the geographical area where the user to whom the first electronic device belongs is currently located is not the user's permanent area, or the language corresponding to the geographical area does not match the language familiar to the user, and when the detected user's voice indicates that the user has an operation requirement for the first electronic device, and the language corresponding to the user's voice (that is, the language used by the user) is different from the system language currently used, a second language can be determined based on the language corresponding to the user's voice and the language used in the geographical area, and the system language currently used by the first electronic device is switched from the first language to the second language, thereby achieving rapid switching of the system language. In this way, when any user needs to switch the system language of the first electronic device or when there is a need for multiple people to operate the first electronic device, the user does not need to manually switch the system language, and the second language can be determined in a variety of ways, and the system language currently used by the first electronic device is switched to the second language, so that the second language after switching is more in line with the user's needs, reducing the time consumed by the user to trigger the switching of the system language, and improving the flexibility and efficiency of the electronic device in switching the system language.

[0086] Optionally, in the embodiment of the present application, combined with Figure 5 ,like Figure 6 As shown, the above step 202c can be specifically implemented through the following step 202c1 or step 202c2.

[0087] Step 202c1: When it is detected that the first user and the first voice of the first user and the location information satisfy the first condition, and the language corresponding to the first voice matches the language used in the geographical area, the first electronic device determines the language corresponding to the first voice as the second language, and switches the system language currently used by the first electronic device from the first language to the second language.

[0088] Optionally, in an embodiment of the present application, when it is detected that the first user and the first user's first voice and location information satisfy the first condition, and the language corresponding to the first voice matches the language used in the geographical area, the first electronic device switches the system language of the first system from the first language to the language corresponding to the above-mentioned first voice.

[0089] Optionally, in an embodiment of the present application, when the above-mentioned location information satisfies the first condition, the first electronic device may set the language used in the geographical area corresponding to the location information as the system language of the second system.

[0090] Example 1: Assume that mobile phone A obtains the current location information of user A to which mobile phone A belongs through GPS positioning, which is country A, and country A uses language B. Mobile phone A determines through GPS positioning combined with a data analysis algorithm that the permanent area of ​​user A to which mobile phone A belongs is country N, and country N uses language A. Then country A does not match country N, that is, the location information meets the first condition, and mobile phone A sets language B used in country A as the system language of the second system.

[0091] In an embodiment of the present application, when the location information satisfies the first condition, that is, when the geographical area where the user of the first electronic device is currently located is not the user's permanent area, or when the language corresponding to the geographical area does not match the language familiar to the user, it is most likely that the language used by other users other than the user is the language corresponding to the geographical area, and the first electronic device sets the language used in the geographical area as the system language of the second system. In this way, when the user of the first electronic device asks other users to assist in operating the first electronic device, since the system language of the second system is the language used in the geographical area, and it is most likely that the language used by other users is the language used in the geographical area, when the first electronic device switches from the first system to the second system, it can directly use the language that has been set for the second system, without having to switch the system language of the second system again, and can directly display the interface content under the second system based on the language used in the geographical area, thereby improving the efficiency of the electronic device in switching the system language.

[0092] Optionally, in an embodiment of the present application, when the language corresponding to the first voice matches the language used in the geographical area, the first electronic device directly switches from the first system to the second system, and the system language of the second system is the language used in the geographical area, that is, the language corresponding to the first voice. It can be understood that, when the language corresponding to the first voice matches the language used in the geographical area, the first electronic device switches the currently used system language from the first language to the second language by switching from the first system to the second system, and the second language is the language corresponding to the first voice.

[0093] In an embodiment of the present application, the language corresponding to the above-mentioned first voice matches the language used in the above-mentioned geographical area, that is, the language used by the above-mentioned first user matches the language used in the geographical area corresponding to the above-mentioned location information, and the first electronic device has set the language used in the geographical area as the system language of the second system, that is, the language used by the first user is consistent with the system language of the current second system, then the first electronic device can directly switch from the first system to the second system to switch the currently used system language to the language corresponding to the first voice, that is, the second language, and at this time, the first system is running in parallel in the background.

[0094] Example 2, combined with the above example 1, after mobile phone A detects the first user A and the first voice A of the first user A, it is analyzed that the language corresponding to the first voice A is language B, and the language corresponding to the first voice A matches the language used in country A. Mobile phone A directly switches from the first system to the second system. At this time, the system language of the second system is language B.

[0095] In the embodiment of the present application, when the above-mentioned location information satisfies the first condition, that is, when the geographical area where the user of the first electronic device is currently located is not the user's permanent area, or when the language corresponding to the geographical area does not match the language familiar to the user, the first electronic device sets the language used in the geographical area as the system language of the second system, and when the language used by the first user who is about to operate the first electronic device matches the language used in the geographical area, directly switches from the first system to the second system, that is, directly based on the language used in the geographical area, displays the interface content under the second system. In this way, the first electronic device sets the system language of the second system to the language most likely to be switched by the user in advance, that is, the language of the geographical area where the user is currently located. When it is detected that the language used by the first user matches the language of the geographical area where the user is currently located, when the first electronic device switches from the first system to the second system, it can directly use the language that has been set in the second system, without having to switch the system language of the second system again, and can directly display the interface content under the second system based on the language used in the geographical area, thereby improving the efficiency of the electronic device in switching the system language.

[0096] Step 202c2: When it is detected that the first user and the first voice and location information of the first user satisfy the first condition, and the language corresponding to the first voice does not match the language used in the geographical area, the first electronic device determines the language corresponding to the first voice or the language used by the second electronic device as the second language, and switches the system language currently used by the first electronic device from the first language to the second language.

[0097] In the embodiment of the present application, the second electronic device is the electronic device of the first user.

[0098] Optionally, in an embodiment of the present application, when it is detected that the first user and the first user's first voice and location information satisfy the first condition, and the language corresponding to the first voice does not match the language used in the geographical area, the first electronic device switches the system language of the first system from the first language to the language corresponding to the above-mentioned first voice or the language used by the second electronic device.

[0099] Optionally, in an embodiment of the present application, when the language corresponding to the first voice and the language used in the geographical area do not match, since the first electronic device has set the language used in the geographical area corresponding to the above-mentioned location information as the system language of the second system, the first electronic device first switches the system language of the second system to the language corresponding to the first voice or the language used by the second electronic device, and then the first electronic device switches from the first system to the second system. It can be understood that, when the language corresponding to the first voice and the language used in the geographical area do not match, the first electronic device switches the currently used system language from the first language to the second language by switching from the first system to the second system, and the second language is the language corresponding to the first voice or the language used by the second electronic device.

[0100] In an embodiment of the present application, the language corresponding to the above-mentioned first voice does not match the language used in the above-mentioned geographical area, that is, the language used by the above-mentioned first user does not match the language used in the geographical area corresponding to the above-mentioned location information, and at this time the first electronic device has set the language used in the geographical area as the system language of the second system, that is, the language used by the first user is inconsistent with the current system language of the second system, then the first electronic device can first switch the system language of the second system to the language currently used by the user (the first user) who currently needs to operate the first electronic device, or switch to the language used by the second electronic device used by the user (that is, the language commonly used by the user), to avoid the situation where the first user still cannot operate the first electronic device normally after switching to the second system.

[0101] Optionally, in an embodiment of the present application, when the first electronic device switches the system language of the second system from the language used in the geographical area to the language corresponding to the first voice, the first electronic device can display the interface content under the second system based on the language corresponding to the first voice, while running the first system in parallel in the background.

[0102] Optionally, in an embodiment of the present application, when the first electronic device switches the system language of the second system from the language used in the geographical area to the language used by the second electronic device, the first electronic device can display the interface content under the second system based on the language used by the second electronic device, while the first system is running in parallel in the background.

[0103] Optionally, in an embodiment of the present application, the first electronic device may obtain the language used by the second electronic device by interconnecting multiple devices.

[0104] Optionally, in an embodiment of the present application, the above-mentioned multi-device interconnection method includes but is not limited to any one of the following: Bluetooth connection, wireless network connection, USB connection, etc.

[0105] Example three, combined with the above example one, after mobile phone A detects the first user B and the first voice B of the first user B, it is analyzed that the language corresponding to the first voice B is language C, and the language C corresponding to the first voice B does not match the language B used in country A. Mobile phone A first switches the system language of the second system from language B to language C, or switches to language D used by the mobile phone B of the first user B, and then mobile phone A switches from the first system to the second system. At this time, the system language of the second system is language C or language D.

[0106] In the embodiment of the present application, the first electronic device has set the system language of the second system to the language used in the current geographical area. When the language used by the first user who is about to operate the first electronic device does not match the language used in the geographical area, the first electronic device can first switch the system language of the second system to the language currently used by the user (first user) who currently needs to operate the first electronic device, or switch to the language used by the second electronic device used by the user (i.e., the language commonly used by the user), and then switch from the first system to the second system. In this way, the first electronic device can switch the system language of the second system to the language familiar to the first user, which is convenient for the first user to operate the first electronic device, avoids the situation where the first user still cannot operate the first electronic device normally after switching to the second system, and improves the flexibility of the electronic device in switching the system language.

[0107] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 7 As shown, before the above step 202, the system language switching method provided in the embodiment of the present application may further include the following steps 301a and 301b, and the above step 202 may be specifically implemented by the following steps 202d and 202e.

[0108] Step 301a: The first electronic device obtains location information.

[0109] It should be noted that the specific description of the above-mentioned location information and the specific implementation method of obtaining the location information can refer to the specific description of the above-mentioned step 301, and the embodiment of the present application will not be repeated here.

[0110] Step 301b: When the location information meets the first condition, the first electronic device collects a facial image.

[0111] It should be noted that the specific description of the above-mentioned first condition can be found in the relevant description of the above-mentioned step 202c, and the embodiment of the present application will not be repeated here.

[0112] It is understandable that if the above-mentioned location information satisfies any one of the above-mentioned first conditions, it means that the geographical area where the user of the first electronic device is currently located is not the user's permanent area, or the language corresponding to the geographical area does not match the language familiar to the user. In the above case, when the user needs other people to assist in operating the first electronic device to complete certain matters in the current geographical area, the first electronic device can switch the system language of the first electronic device accordingly to ensure that other people can operate the first electronic device smoothly. Therefore, when the location information satisfies the first condition, the first electronic device continuously collects facial images and corresponding user voices to determine whether to trigger the switching of the system language currently used by the first electronic device.

[0113] Optionally, in an embodiment of the present application, the facial image collected by the first electronic device may be one or more, and may include a facial image of a user to which the first electronic device belongs or facial images of other users.

[0114] Step 202d: When the facial feature information of the facial image does not match the facial feature information of the user to which the first electronic device belongs, the first electronic device starts to collect the user voice of the first user corresponding to the facial image.

[0115] Optionally, in an embodiment of the present application, the first electronic device may extract facial feature information from the face image through feature extraction technology.

[0116] Optionally, in an embodiment of the present application, the above-mentioned facial feature information may include but is not limited to any of the following: the relative position and size of facial features (for example, the position and size of eyes and nose), facial texture (such as wrinkles, spots), etc.

[0117] Optionally, in an embodiment of the present application, the facial feature information of the user of the first electronic device may be facial feature information pre-entered by the user and stored in the first electronic device.

[0118] In the embodiment of the present application, the first electronic device can determine whether the facial feature information of the face image matches the facial feature information of the user of the first electronic device by comparing the facial feature information of the face image with the facial feature information of the user of the first electronic device. It should be noted that the match here means that the similarity between the two facial feature information is greater than or equal to a threshold, or the difference value is less than or equal to a threshold.

[0119] In an embodiment of the present application, the facial feature information of the above-mentioned facial image does not match the facial feature information of the user to which the first electronic device belongs, indicating that the first electronic device has detected users other than the user to which the first electronic device belongs, that is, there is a possibility that users other than the user to which the first electronic device belongs are about to operate the first electronic device. In order to determine whether it is necessary to switch the system language currently used by the first electronic device and to determine the second language corresponding to the system language, the first electronic device recognizes that the user corresponding to the facial image has a speaking action, and further collects the user voice of the first user corresponding to the facial image to obtain the first voice.

[0120] It should be noted that, when the facial feature information of the facial image does not match the facial feature information of the user to whom the first electronic device belongs, it is considered that the user corresponding to the facial image is the first user.

[0121] Step 202e: When the user voice collected within the first time period indicates that the first user has an operation requirement for the first electronic device, the first electronic device switches the system language currently used by the first electronic device from the first language to the second language.

[0122] In the embodiment of the present application, the first voice is the user voice collected within the first time period.

[0123] Optionally, in the embodiment of the present application, the first duration may be a default duration of the first electronic device or a duration set by a user, for example, 10 seconds or 15 seconds.

[0124] It can be understood that when a first voice is detected indicating that the first user has an operation requirement for the first electronic device, the first electronic device can determine the second language based on the language corresponding to the first voice, and switch the system language currently used by the first electronic device from the first language to the second language to ensure that the first user can operate the first electronic device smoothly.

[0125] It should be noted that the specific implementation method of switching the system language currently used by the first electronic device from the first language to the second language can be found in the specific description of the above embodiment, and the embodiment of the present application will not be repeated here.

[0126] In an embodiment of the present application, the first electronic device obtains current location information. When the location information satisfies a first condition, that is, the geographical area where the user of the first electronic device is currently located is not the user's permanent area, or the language corresponding to the geographical area does not match the language familiar to the user, the first electronic device continuously collects facial images, and when other users other than the user of the first electronic device are detected, the first voice of the other user is obtained. In this way, when it is detected that other users are about to operate the first electronic device, the first electronic device can be quickly triggered to switch the system language, so that other users can smoothly operate the first electronic device without the need for the user to manually switch the system language, thereby improving the timeliness of the first electronic device switching the system language.

[0127] Optionally, in the embodiment of the present application, after the above step 202, the system language switching method provided in the embodiment of the present application may further include the following step 203.

[0128] Step 203: When the second voice is detected, the first electronic device switches the system language currently used by the first electronic device from the second language to the first language.

[0129] In the embodiment of the present application, the second voice is used to indicate that the user of the first electronic device has an operation demand on the first electronic device.

[0130] Optionally, in the embodiment of the present application, the first electronic device may detect the second voice through the voice collection module.

[0131] In the embodiment of the present application, the content of the second voice may be any content that can indicate that the user of the first electronic device has an operation requirement for the first electronic device.

[0132] Optionally, in the embodiment of the present application, the second voice may be the second voice of the first user or the second voice of the user to which the first electronic device belongs.

[0133] For example, taking the second voice of the first user as an example, the content of the second voice may correspond to: The operation is complete, I will return the phone to you.

[0134] For example, taking the second voice of the user of the first electronic device as an example, the content corresponding to the second voice may be: Thank you, I will operate it myself later.

[0135] In an embodiment of the present application, when it is detected that the user of the first electronic device has an operation demand on the first electronic device, the first electronic device needs to display the corresponding interface content in a language familiar to the user, that is, the system language currently used by the first electronic device needs to be switched back to the first language, so that the user can continue to use the first language to operate the first electronic device to perform subsequent operations. In this process, the user does not need to manually restore the system language and can directly operate the electronic device, which reduces the time spent by the user to trigger the switching of the system language and improves the flexibility and efficiency of the electronic device in switching the system language.

[0136] The following is a schematic illustration of the implementation process of the system language switching method provided in the embodiment of the present application through a specific implementation method. Figure 8 As shown, the implementation process of the system language switching method provided in the embodiment of the present application may include the following steps 41 to 49.

[0137] It should be noted that the implementation method here is illustrated by taking the above-mentioned first electronic device as mobile phone A, the user of mobile phone A is user A, the permanent residence area of ​​user A is country N, the language corresponding to country N is language Z, and the second electronic device is mobile phone B, the user of mobile phone B is user B, and the system language of mobile phone B is language C as an example.

[0138] Step 41 , mobile phone A runs the first system of mobile phone A, and the system language of the first system is language Z.

[0139] Step 42: Mobile phone A obtains the current location information of user A, to which mobile phone A belongs, which is country A, and country A uses language A.

[0140] Step 43: Country A does not match country N, and mobile phone A captures face image A.

[0141] Step 44 , the facial feature information of the facial image A does not match the facial feature information of the user A, and the mobile phone A starts to collect the user voice of the user B corresponding to the facial image A.

[0142] Step 45: The user voice collected by mobile phone A within 10 seconds indicates that user B has an operation demand on mobile phone A. The user voice is determined as first voice A, and the language corresponding to the first voice A is language B.

[0143] Step 46: Mobile phone A determines whether language A and language B match.

[0144] It should be noted that, if yes, mobile phone A executes the following steps 47 and 49; if no, the mobile phone executes the following steps 48 and 49.

[0145] Step 47: Mobile phone A switches the currently used system language from language Z to language B.

[0146] Step 48: Mobile phone A switches the currently used system language from language Z to language B or language C.

[0147] Step 49: Mobile phone A obtains the second voice B indicating that user A is about to operate mobile phone A, and mobile phone A switches the currently used system language to language Z.

[0148] For example, in combination with the above scenario one, user A's mobile phone A runs a first system whose system language is Chinese. User A travels in country A. Mobile phone A obtains location information and finds that it is currently in country A. Country A does not match user A's permanent residence, and country A uses language A. User A asks passerby A for directions and uses mobile phone A for navigation. Mobile phone A collects the facial image of passerby A and finds that the facial image does not match user A, that is, it is considered that the collected user is not the local user of mobile phone A. Mobile phone A can start collecting the voice of passerby A. The voice of passerby A collected within 10 seconds indicates that passerby A is about to operate mobile phone A, that is, it is considered that passerby A has an operation demand for mobile phone A. Mobile phone A determines that the language corresponding to the voice of passerby A (that is, language A) is different from the language of the system language of the first system (that is, Chinese). Then mobile phone A can determine whether the language corresponding to the voice of passerby A matches language A. If it is determined that the language corresponding to the voice of passerby A matches language A, mobile phone A switches the system language of the first system from Chinese to the language corresponding to the voice of passerby A, that is, language A.

[0149] For example, in combination with the above scenario 2, user B's mobile phone B runs a first system whose system language is Chinese. User B travels in country B. Mobile phone B obtains location information and finds that it is currently in country B. Country B does not match user B's permanent residence, and country B uses language B. User B asks passerby B for directions and uses a mobile phone for navigation. Mobile phone B collects the facial image of passerby B and finds that the facial image does not match user B, that is, it is considered that the collected user is not the local user of mobile phone B. Mobile phone B can start collecting the voice of passerby B. The voice of passerby B collected within 10 seconds indicates that passerby B is about to operate mobile phone B, that is, it is considered that passerby B has an operating demand for mobile phone B. Mobile phone B determines that the language corresponding to the voice of passerby B (i.e., language C) is different from the language of the system language of the first system (i.e., Chinese). Then mobile phone B can determine whether the language corresponding to the voice of passerby B matches language B. If it is determined that the language corresponding to the voice of passerby B does not match language B, mobile phone B can switch from the first system to the second system. The system language of the second system is the language corresponding to the voice of passerby B (i.e., language C) or the system language of passerby B's mobile phone C (i.e., language D).

[0150] In the above implementation, the mobile phone utilizes the characteristics of the dual system to run the second system in the background. The second system is a mirror image of the first system. After the corresponding conditions are triggered, the mobile phone can configure the system language of the second system to the corresponding language, switch from the first system to the second system, and display the interface of the corresponding language, which quickly solves the pain point that the user needs to manually switch the system language when passers-by guide him to operate the mobile phone when he is overseas.

[0151] It should be noted that for the relevant description of each step in this implementation mode, please refer to the description in the above embodiment, which will not be repeated here.

[0152] Each of the above-mentioned method embodiments, or various possible implementation methods in each method embodiment can be executed separately, or any two or more of them can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application are not limited to this.

[0153] The system language switching method provided in the embodiment of the present application can be executed by a system language switching device. In the embodiment of the present application, the system language switching device executing the system language switching method is taken as an example to illustrate the system language switching device provided in the embodiment of the present application.

[0154] Fig. 9 A possible structural diagram of a system language switching device involved in some embodiments of the present application is shown. Fig. 9 As shown, the system language switching device 50 may include: a processing module 51. The processing module 51 is used to run a first system of a first electronic device, the system language of the first system is a first language; and, in the case of detecting a first user and a first voice of the first user, switch the system language currently used by the first electronic device from the first language to a second language; wherein the first voice is used to indicate that the first user has an operation requirement for the first electronic device, and the second language is determined based on the language corresponding to the first voice.

[0155] In a possible implementation, the processing module 51 is specifically configured to switch the system language of the first system from the first language to the second language; or, to switch from the first system to the second system, the system language of the second system being the second language.

[0156] In one possible implementation, combining Fig. 9 ,like Fig.10As shown, the system language switching device 50 provided in the embodiment of the present application may further include: an acquisition module 52. The acquisition module 52 is used to acquire location information, and the location information is used to characterize the geographical area where the first electronic device is currently located. The processing module 51 is specifically used to determine the second language based on the language corresponding to the first voice and the language used in the geographical area when the location information acquired by the acquisition module 52 meets the first condition, and switch the system language currently used by the first electronic device from the first language to the second language.

[0157] In a possible implementation, the processing module 51 is specifically used to determine the language corresponding to the first voice as the second language when the language corresponding to the first voice matches the language used in the geographical area; or, when the language corresponding to the first voice does not match the language used in the geographical area, determine the language corresponding to the first voice or the language used by the second electronic device as the second language, and the second electronic device is the electronic device of the first user.

[0158] In one possible implementation, combining Fig. 9 ,like Fig.10 As shown, the system language switching device 50 provided in the embodiment of the present application may also include: an acquisition module 52 and a collection module 53. The acquisition module 52 is used to acquire location information before the system language currently used by the first electronic device is switched from the first language to the second language when the processing module 51 detects the first user and the first voice of the first user, and the location information is used to characterize the geographical area where the first electronic device is currently located. The collection module 53 is used to collect a face image when the location information obtained by the acquisition module 52 meets the first condition. The collection module 53 is also used to start collecting the user voice of the first user corresponding to the face image when the facial feature information of the face image does not match the facial feature information of the user to which the first electronic device belongs. The processing module 51 is specifically used to switch the system language currently used by the first electronic device from the first language to the second language when the user voice collected within the first time period indicates that the first user has an operation demand for the first electronic device, and the first voice is the user voice collected within the first time period.

[0159] An embodiment of the present application provides a system language switching device. When the system language switching device is running a system, it can determine whether there is a user and the user's voice to determine whether there is a user who has an operation demand for the system language switching device. Therefore, when the detected user's voice indicates that the user has an operation demand for the system language switching device, and the language corresponding to the user's voice (that is, the language used by the user) is different from the system language currently used by the system language switching device, the system language can be automatically switched by switching the currently used system language to another language related to the language used by the user. In this way, when any user needs to switch the system language of the system language switching device or there is a need for multiple people to operate the system language switching device, there is no need for the user to manually switch the system language, which reduces the time spent by the user in triggering the switching of the system language and improves the flexibility and efficiency of the system language switching device in switching the system language.

[0160] The system language switching device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0161] The system language switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0162] The system language switching device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0163] Alternatively, if Fig.11As shown, an embodiment of the present application further provides an electronic device 1000, including a processor 1001 and a memory 1002, wherein the memory 1002 stores a program or instruction that can be executed on the processor 1001, and when the program or instruction is executed by the processor 1001, each step of the above-mentioned system language switching method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0164] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0165] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0166] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0167] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0168] The processor 110 is used to run a first system of a first electronic device, the system language of the first system being a first language; and, when a first user and a first voice of the first user are detected, the system language currently used by the first electronic device is switched from the first language to a second language; wherein the first voice is used to indicate that the first user has an operation requirement for the first electronic device, and the second language is determined based on the language corresponding to the first voice.

[0169] Optionally, the processor 110 is specifically configured to switch the system language of the first system from the first language to the second language; or, switch from the first system to a second system, the system language of the second system being the second language.

[0170] Optionally, the processor 110 is further configured to obtain location information, where the location information is used to characterize the geographical area where the first electronic device is currently located. The processor 110 is specifically configured to determine the second language based on the language corresponding to the first voice and the language used in the geographical area when the location information satisfies the first condition, and switch the system language currently used by the first electronic device from the first language to the second language.

[0171] Optionally, the processor 110 is specifically configured to, when the language corresponding to the first voice matches the language used in the geographical area, determine the language corresponding to the first voice as the second language; or, when the language corresponding to the first voice does not match the language used in the geographical area, determine the language corresponding to the first voice or the language used by the second electronic device as the second language, the second electronic device being the electronic device of the first user.

[0172] Optionally, the processor 110 is further used to, before switching the system language currently used by the first electronic device from the first language to the second language when the first user and the first voice of the first user are detected, obtain location information, the location information is used to characterize the geographical area where the first electronic device is currently located; and, when the location information satisfies the first condition, collect the face image. The input unit 104 is used to, when the facial feature information of the face image does not match the facial feature information of the user to whom the first electronic device belongs, start collecting the user voice of the first user corresponding to the face image. The processor 110 is specifically used to, when the user voice collected within a first time period indicates that the first user has an operation requirement for the first electronic device, switch the system language currently used by the first electronic device from the first language to the second language, the first voice being the user voice collected within the first time period.

[0173] An embodiment of the present application provides an electronic device. When the electronic device is running a system, it can determine whether there is a user and the user's voice to determine whether there is a user who has an operation demand on the electronic device. Therefore, when the detected user's voice indicates that the user has an operation demand on the electronic device, and the language corresponding to the user's voice (that is, the language used by the user) is different from the system language currently used by the electronic device, the system language can be automatically switched by switching the currently used system language to another language related to the language used by the user. In this way, when any user needs to switch the system language of the electronic device or when there is a need for multiple people to operate the electronic device, there is no need for the user to manually switch the system language, which reduces the time spent by the user in triggering the switching of the system language and improves the flexibility and efficiency of the electronic device in switching the system language.

[0174] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here. The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, it is not repeated here.

[0175] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0176] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0177] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0178] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned system language switching method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0179] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0180] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned system language switching method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0181] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0182] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned system language switching method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0183] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0184] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0185] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A system language switching method, characterized in that: include: Running a first system of a first electronic device, wherein a system language of the first system is a first language; When a first user and a first voice of the first user are detected, switching a system language currently used by the first electronic device from the first language to a second language; The first voice is used to indicate that the first user has an operation requirement for the first electronic device, and the second language is determined based on a language corresponding to the first voice.

2. The method according to claim 1, characterized in that: The switching of the system language currently used by the first electronic device from the first language to a second language includes: Switching the system language of the first system from the first language to the second language; or, The first system is switched to a second system, and the system language of the second system is the second language.

3. The method according to claim 1, characterized in that The method further comprises: Acquire location information, where the location information is used to represent the geographical area where the first electronic device is currently located; The switching of the system language currently used by the first electronic device from the first language to a second language includes: When the location information satisfies the first condition, the second language is determined based on the language corresponding to the first voice and the language used in the geographical area, and the system language currently used by the first electronic device is switched from the first language to the second language.

4. The method according to claim 3, characterized in that The determining the second language based on the language corresponding to the first speech and the language used in the geographical area includes: In a case where the language corresponding to the first speech matches the language used in the geographical area, determining the language corresponding to the first speech as the second language; or, When the language corresponding to the first voice does not match the language used in the geographical area, the language corresponding to the first voice or the language used by the second electronic device is determined as the second language, and the second electronic device is the electronic device of the first user.

5. The method according to claim 1, characterized in that Before switching the system language currently used by the first electronic device from the first language to a second language when the first user and the first voice of the first user are detected, the method further includes: Acquire location information, where the location information is used to represent the geographical area where the first electronic device is currently located; When the position information satisfies the first condition, collecting a face image; The method of switching the system language currently used by the first electronic device from the first language to a second language when the first user and the first voice of the first user are detected includes: When the facial feature information of the facial image does not match the facial feature information of the user to which the first electronic device belongs, starting to collect the user voice of the first user corresponding to the facial image; When the user voice collected within a first time period indicates that the first user has an operation requirement for the first electronic device, the system language currently used by the first electronic device is switched from the first language to a second language, and the first voice is the user voice collected within the first time period.

6. A system language switching device, characterized in that: include: Processing module; The processing module is used to run a first system of a first electronic device, wherein the system language of the first system is a first language; and, in the case where a first user and a first voice of the first user are detected, switching a system language currently used by the first electronic device from the first language to a second language; The first voice is used to indicate that the first user has an operation requirement for the first electronic device, and the second language is determined based on a language corresponding to the first voice.

7. The device according to claim 6, characterized in that The processing module is specifically configured to switch the system language of the first system from the first language to the second language; or, The first system is switched to a second system, and the system language of the second system is the second language.

8. The device according to claim 6, characterized in that The device also includes: an acquisition module; The acquisition module is used to acquire location information, where the location information is used to represent the geographical area where the first electronic device is currently located; The processing module is specifically used to determine the second language based on the language corresponding to the first voice and the language used in the geographical area when the location information obtained by the acquisition module meets the first condition, and switch the system language currently used by the first electronic device from the first language to the second language.

9. The device according to claim 8, characterized in that The processing module is specifically configured to determine the language corresponding to the first speech as the second language when the language corresponding to the first speech matches the language used in the geographical area; or, When the language corresponding to the first voice does not match the language used in the geographical area, the language corresponding to the first voice or the language used by the second electronic device is determined as the second language, and the second electronic device is the electronic device of the first user.

10. The device according to claim 6, characterized in that The device also includes: an acquisition module and a collection module; The acquisition module is configured to acquire location information before the processing module switches the system language currently used by the first electronic device from the first language to a second language when the first user and the first voice of the first user are detected, wherein the location information is used to represent the geographical area where the first electronic device is currently located; The acquisition module is used to acquire a face image when the position information acquired by the acquisition module meets a first condition; The acquisition module is further configured to start acquiring a user voice of the first user corresponding to the face image when the facial feature information of the face image does not match the facial feature information of the user to which the first electronic device belongs; The processing module is specifically used to switch the system language currently used by the first electronic device from the first language to the second language when the user voice collected within the first time period indicates that the first user has an operation requirement for the first electronic device, and the first voice is the user voice collected within the first time period.

11. An electronic device, characterized in that: The system comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the system language switching method according to any one of claims 1 to 5 are implemented.