WO2023108870A1 - Language setting method for electric appliance, internet of things server, electric appliance, and computer-readable storage medium - Google Patents

Language setting method for electric appliance, internet of things server, electric appliance, and computer-readable storage medium Download PDF

Info

Publication number
WO2023108870A1
WO2023108870A1 PCT/CN2022/075727 CN2022075727W WO2023108870A1 WO 2023108870 A1 WO2023108870 A1 WO 2023108870A1 CN 2022075727 W CN2022075727 W CN 2022075727W WO 2023108870 A1 WO2023108870 A1 WO 2023108870A1
Authority
WO
WIPO (PCT)
Prior art keywords
language
electrical appliance
language setting
setting
adjusting
Prior art date
Application number
PCT/CN2022/075727
Other languages
French (fr)
Chinese (zh)
Inventor
樊其锋
刘莹
Original Assignee
广东美的制冷设备有限公司
美的集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东美的制冷设备有限公司, 美的集团股份有限公司 filed Critical 广东美的制冷设备有限公司
Publication of WO2023108870A1 publication Critical patent/WO2023108870A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • G16Y40/35Management of things, i.e. controlling in accordance with a policy or in order to achieve specified objectives

Definitions

  • the present application relates to the technical field of electrical appliances, and in particular to a language setting method of an electrical appliance, an Internet of Things server, an electrical appliance, and a computer-readable storage medium.
  • the main purpose of this application is to provide a language setting method for an electrical appliance, an electrical appliance, and a computer-readable storage medium, aiming at improving the matching degree between the language used by the electrical appliance to output information and the actual needs of users, and improving user experience.
  • the application provides a language setting method for electrical appliances, the language setting method for electrical appliances includes the following steps:
  • the method further includes:
  • the step of querying several preset language resources stored in the electrical appliance it further includes:
  • the language setting parameters include the first language setting parameters of the display screen of the electrical appliance and/or the second language setting parameters of the voice broadcast module of the electrical appliance, and the adjusting the The steps for setting the language parameters of the appliance include:
  • the target information includes display information on the display screen and/or voice information broadcast by the voice broadcast module.
  • the step of adjusting the language setting parameters of the electrical appliance according to the first language includes:
  • the method further includes:
  • the second language is the language used by the application acquired at a first moment before the current moment, and the first moment is separated from the current moment by a preset period of time.
  • the step of obtaining the first language currently used by the application program corresponding to the electrical appliance includes:
  • the language setting instruction is sent by the Internet of Things server after obtaining the first language
  • the first language is determined according to the language setting instruction.
  • an Internet of Things server which includes: a memory, a processor, and a language setting program of an electrical appliance stored in the memory and operable on the processor
  • the language setting program of the electrical appliance is executed by the processor, the steps of the language setting method of the electrical appliance described in any one of the above items are realized.
  • the present application also proposes an electrical appliance, which includes: a memory, a processor, and a language setting program of the electrical appliance stored in the memory and operable on the processor, the electrical appliance
  • the language setting program is executed by the processor, the steps of the language setting method for electrical appliances as described in any one of the above items are realized.
  • the present application also proposes a computer-readable storage medium, on which a language setting program of an electrical appliance is stored, and when the language setting program of an electrical appliance is executed by a processor, the above-mentioned The steps of the language setting method of an electric appliance described in one item.
  • This application proposes a language setting method for an electrical appliance.
  • the method adjusts the language setting parameters of the appliance according to the language used by the application program bound to the appliance, so that the appliance uses the same language as the application program bound to it to output target information.
  • the language of the electrical appliance information output is no longer fixed, and can be set according to the language of the application program for the user to control the air conditioner, and the electrical appliance can automatically adjust the language used for its information output to meet the actual use needs of the user, thereby Improve the matching degree between the language used by electrical appliances to output information and the actual needs of users, and improve user experience.
  • FIG. 1 is a schematic diagram of the hardware structure of the language setting device involved in the operation of an embodiment of the Internet of Things server or electrical appliances of the present application;
  • Fig. 2 is a schematic flow chart of an embodiment of the language setting method of the electrical appliance of the present application
  • Fig. 3 is a schematic flow chart of another embodiment of the language setting method of the electrical appliance of the present application.
  • Fig. 4 is a schematic flow chart of another embodiment of the language setting method of the electrical appliance of the present application.
  • Fig. 5 is a schematic flowchart of another embodiment of the language setting method of the electrical appliance of the present application.
  • the main solution of the embodiment of the present application is: obtain the first language currently used by the application program bound to the electrical appliance; adjust the language setting parameters of the electrical appliance according to the first language, so that the electrical appliance uses the first language Output target information.
  • the present application provides the above-mentioned solution, aiming at improving the matching degree between the language used in the output information of the electrical appliance and the actual needs of the user, and improving the user experience.
  • the embodiment of the present application proposes a language setting device for an electrical appliance, which can be applied to setting the language output by the electrical appliance.
  • the electrical appliances here are specifically any type of electrical equipment with a network communication function.
  • the electrical appliance includes an air conditioner.
  • the electrical appliances can also be any other electrical appliances such as refrigerators, audio systems, televisions, integrated cookers, disinfection cabinets, and rice cookers.
  • the language setting device may be built into the electrical appliance, may also be a server communicatively connected with the electrical appliance, or may be set in a device installed with an application program bound to the electrical appliance, and so on.
  • the language setting device of an electrical appliance includes: a processor 1001 (such as a CPU), a memory 1002 and the like.
  • the processor 1001 and the memory 1002 are connected through a communication bus.
  • the memory 1002 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory.
  • the memory 1002 may also be a storage device independent of the foregoing processor 1001 .
  • FIG. 1 does not constitute a limitation to the device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
  • the memory 1002 as a computer-readable storage medium may include a language setting program of the electrical appliance.
  • the processor 1001 can be used to call the language setting program of the electrical appliance stored in the memory 1002 and execute the relevant steps of the language setting method of the electrical appliance in the following embodiments.
  • the embodiment of the present application also provides an Internet of Things server.
  • the Internet of Things server may include the above-mentioned language setting device.
  • the processor 1001 of the Internet of Things server may be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps: :
  • processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • the target information includes display information of the display screen
  • processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • the third language is the language used by the application obtained at a first time before the current time, and the first time is separated from the current time by a preset time period.
  • the embodiment of the present application also provides an electrical appliance, where the electrical appliance is specifically any type of electrical equipment with a network communication function.
  • the electrical appliance includes an air conditioner.
  • the electrical appliances can also be any other electrical appliances such as refrigerators, audio systems, televisions, integrated cookers, disinfection cabinets, and rice cookers.
  • the electrical appliance may include the above-mentioned language setting device, and the processor 1001 of the electrical appliance may be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • processor 1001 of the electrical appliance can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • processor 1001 of the electrical appliance can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • processor 1001 of the electrical appliance can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • the target information includes display information of the display screen
  • processor 1001 of the electrical appliance can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
  • the language setting instruction is sent by the Internet of Things server after obtaining the first language
  • the first language is determined according to the language setting instruction.
  • the embodiment of the present application also provides a method for setting a language of an electrical appliance, which is applied to the above-mentioned language setting device.
  • the method for setting the language of the electrical appliance includes:
  • Step S10 obtaining the first language currently used by the application program bound to the electrical appliance
  • the application program is specifically a program for controlling the electrical appliance.
  • the electrical appliances may be one or more than one of air conditioners, refrigerators, audio systems, televisions, integrated stoves, disinfection cabinets, and rice cookers.
  • the language in which the application currently outputs information is the first language here.
  • the languages used by the application program to output different information may be the same language or different languages.
  • all the languages used by the application program may be obtained as the first language; and the language used to output preset information among the multiple languages used by the application program may be obtained as the first language.
  • the first language used by the application can be set by the user, or it can be the language configured by default for the application.
  • Both terminals and electrical appliances installed with application programs can communicate with the server.
  • the execution subject of the language setting method is the server, and the server can set the duration at intervals (such as one day, one week, ) to send a query command to the terminal installed with the application program to obtain the language configuration parameters of the application program, and the first language here can be obtained by analyzing the language configuration parameters.
  • the terminal installed with the application program can also communicate with the electrical appliance (such as via Bluetooth, WIFI, etc.). Set the time period (such as one day, one week, etc.) and send a query command to the terminal installed with the application program to obtain the language configuration parameters of the application program. By analyzing the language configuration parameters, the first language here can be obtained.
  • the first language here can be one of different languages such as Chinese, English, French, Japanese, German, etc.
  • Chinese can be one of different local dialects such as Cantonese, Northeast dialect, Sichuan dialect, Chongqing dialect, Shanghai dialect, etc.
  • English can be one of different dialects such as American English, British English, Indian English, Australian English, Canadian English, etc.
  • Step S20 adjusting the language setting parameters of the electrical appliance according to the first language, so that the electrical appliance outputs target information in the first language.
  • the target information here may be all the information output by the electrical appliance, and may also be a specified part of the information.
  • the language corresponding to the target information in the language setting parameter can be set as the first language.
  • the target information type of the target information can be determined, and the first language whose output information type is consistent with the target information type in more than one first language is determined as the target corresponding to the target information Language, the language corresponding to the target information in the language setting parameter is set as the target language.
  • more than one first language includes language 1 and language 2
  • language 1 of the application program is set to output display information
  • language 2 of the application program is set to output voice information
  • the language setting parameters of the electrical appliance corresponding to the display information Set the language to language 1, and set the language corresponding to the voice information in the language setting parameters of the appliance to language 2.
  • the language setting parameters include the first language setting parameters of the display screen of the electrical appliance and/or the second language setting parameters of the voice broadcast module of the electrical appliance, and the A language
  • the step of adjusting the language setting parameters of the electrical appliance includes: adjusting the first language setting parameters to the first language, and/or, adjusting the second language setting parameters to the first language;
  • the target information includes display information on the display screen and/or voice information broadcast by the voice broadcast module.
  • the display screen of the electrical appliance and/or the voice announcement module of the electrical appliance can output information in the same language as the application program.
  • the first language is Chinese such as Cantonese or Sichuan dialect
  • the display screen of the electrical appliance can output display information in Chinese
  • the voice broadcast module of the electrical appliance can correspondingly output voice information in Cantonese or Sichuan dialect.
  • the embodiment of the present application proposes a method for setting the language of an electrical appliance.
  • the method adjusts the language setting parameters of the appliance according to the language used by the application program bound to the appliance, so that the appliance uses the same language output target as the application program bound to it.
  • Information based on this, the language output by the appliance information is no longer fixed, and can be set to suit the language of the application program used by the user to control the air conditioner, and the appliance can automatically adjust the language used for its information output to meet the actual needs of the user. In this way, the degree of matching between the language used by the electrical appliance to output information and the actual needs of the user is improved, and the user experience is improved.
  • the user can automatically adjust the language used by the appliance automatically without interacting with the air conditioner.
  • step S10 it also includes:
  • Step S101 querying several preset language resources stored in the electrical appliance
  • the server can send a resource query command to the electrical appliance, so that the electrical appliance returns language resource information, and determines several preset language resources according to the received language resource information.
  • the execution subject of the language setting method is an electrical appliance
  • the electrical appliance can directly query the data stored in its own memory to obtain several preset language resources in this column.
  • Step S102 determining that there is a language resource of the first language among the plurality of preset language resources, and performing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
  • the appliance When the several preset language resources stored in the electrical appliance include the language resource corresponding to the first language, it indicates that the electrical appliance is allowed to use the first language to output information; the several preset language resources stored in the electrical appliance do not include the language resource corresponding to the first language , the appliance does not allow output in the first language.
  • the language setting parameters of the electrical appliance are adjusted according to the first language when it is determined that there are language resources in the electrical appliance, so as to ensure the effectiveness of the target information output after the language of the electrical appliance is set to the first language. sex.
  • step S101 it also includes: determining that there is no language resource of the first language among the several preset language resources, and sending a data request instruction to the terminal where the application program is installed to make the terminal return the language resource of the first language; save the language resource of the first language to the electrical appliance, and perform the step of adjusting the language setting parameters of the electrical appliance according to the first language .
  • the execution subject of the language setting method is a server
  • the server can send a resource setting instruction including the language resource of the first language to the electrical appliance after receiving the language resource of the first language, and the electrical appliance can extract the first language after receiving the setting instruction.
  • the language resources of the file are saved to the corresponding location.
  • the electrical appliance can directly save the language resource of the first language to a corresponding location after receiving it.
  • the language resource stored in the application program is used to update the language resource of the electrical appliance, thereby ensuring that the electrical appliance can effectively use the same first language output as the application program. Information to further improve the matching degree of the language used by electrical appliances and the needs of users.
  • control device may maintain its current language to output the target information.
  • the execution body of the language setting method is a server.
  • the step S20 includes:
  • Step S21 sending a language setting command corresponding to the first language to the electrical appliance, so that the electrical appliance adjusts language setting parameters according to the first language.
  • the language setting instruction is sent to adjust the language of the electrical appliance output target information, thereby realizing the application program and the application program.
  • the language linkage setting between appliances ensures that the language of the output information of appliances can accurately match the needs of users.
  • step S10 it also includes: determining that the first language is inconsistent with the second language, and performing the sending of the language setting instruction corresponding to the first language to the electrical appliance, so that all The step of adjusting the language setting parameters of the electric appliance according to the language setting instruction;
  • the second language is the language used by the application acquired at a first moment before the current moment, and the first moment is separated from the current moment by a preset period of time.
  • the preset duration can be one week, one month, one quarter, 10 days, etc.
  • the specific time can be a parameter configured by the system by default, or a parameter set by the user.
  • the server can obtain the language currently used by the application at preset intervals, and compare the languages obtained twice before and after (that is, the first language and the second language). If the first language and the second language are inconsistent, it indicates the language used by the application. If the language of the appliance changes, a language setting command is sent to the electrical appliance at this time, so that when the language used by the application program changes in response to the user's instruction, the language of the appliance output target information can be automatically changed to the same language as the application program, thereby To ensure that the language of electrical appliances output information matches the needs of users to further improve.
  • the execution subject of the language setting method is an electrical appliance
  • the step of acquiring the first language currently used by the application program corresponding to the electrical appliance includes:
  • Step S11 receiving a language setting instruction; the language setting instruction is sent by the IoT server after acquiring the first language;
  • the IoT server may inquire about the first language currently used by the application program, and after determining the first language, send the corresponding language setting instruction to the electrical appliance.
  • the server can obtain the language currently used by the application program at an interval of a preset period of time, and compare the languages obtained twice before and after (that is, the first language and the second language). If the first language and the second language are inconsistent, it indicates that the application The language used by the program changes, and a language setting command is sent to the appliance at this time.
  • Step S12 determining the first language according to the language setting instruction.
  • the electrical appliance can extract the first language from the language setting instruction, and adjust its own language setting parameters after the first language is extracted.
  • the appliance can realize language synchronization with the application program under the control of the server, so as to ensure that the language of the information output by the appliance meets the actual needs of the user.
  • the embodiment of the present application also proposes a computer-readable storage medium, the computer-readable storage medium stores the language setting program of the electrical appliance, and when the language setting program of the electrical appliance is executed by the processor, the language setting of the electrical appliance as above.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to enable a terminal device (which may be a mobile phone, computer, server, electrical appliance, or network device, etc.) to execute the methods described in various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed in the present application is a language setting method for an electric appliance. The method comprises: acquiring a first language that is currently used by an application program which is bound with an electric appliance; and adjusting a language setting parameter of the electric appliance according to the first language, so that the electric appliance outputs target information in the first language. Further disclosed in the present application are an Internet of Things server, an electric appliance and a computer-readable storage medium. The present application aims to improve the degree of matching between a language used by an electric appliance to output information and an actual requirement of a user, so as to improve the user experience.

Description

电器的语言设置方法、物联网服务器、电器以及计算机可读存储介质Language setting method of electric appliance, server of internet of things, electric appliance and computer-readable storage medium
本申请要求于2021年12月17日申请的、申请号为202111554736.X的中国专利申请的优先权。This application claims the priority of the Chinese patent application with application number 202111554736.X filed on December 17, 2021.
技术领域technical field
本申请涉及电器技术领域,尤其涉及电器的语言设置方法、物联网服务器、电器以及计算机可读存储介质。The present application relates to the technical field of electrical appliances, and in particular to a language setting method of an electrical appliance, an Internet of Things server, an electrical appliance, and a computer-readable storage medium.
背景技术Background technique
随着经济技术的发展,电器在日常生活中得以广泛应用。目前,电器运行的过程中一般会涉及到信息输出,目前,电器中信息输出所采用的语言一般为系统默认设置,无法与用户需求匹配,影响用户体验。With the development of economy and technology, electrical appliances are widely used in daily life. At present, information output is generally involved in the operation of electrical appliances. At present, the language used for information output in electrical appliances is generally the default setting of the system, which cannot match user needs and affects user experience.
技术解决方案technical solution
本申请的主要目的在于提供一种电器的语言设置方法、电器以及计算机可读存储介质,旨在提高电器输出信息所使用的语言与用户实际需求匹配程度,提高用户体验。The main purpose of this application is to provide a language setting method for an electrical appliance, an electrical appliance, and a computer-readable storage medium, aiming at improving the matching degree between the language used by the electrical appliance to output information and the actual needs of users, and improving user experience.
为实现上述目的,本申请提供一种电器的语言设置方法,所述电器的语言设置方法包括以下步骤:In order to achieve the above purpose, the application provides a language setting method for electrical appliances, the language setting method for electrical appliances includes the following steps:
获取电器绑定的应用程序当前使用的第一语言;Obtain the first language currently used by the application bound to the appliance;
根据所述第一语言调整所述电器的语言设置参数,以使所述电器以所述第一语言输出目标信息。Adjusting the language setting parameters of the electrical appliance according to the first language, so that the electrical appliance outputs target information in the first language.
可选地,所述获取电器对应的应用程序当前使用的第一语言的步骤之后,还包括:Optionally, after the step of obtaining the first language currently used by the application program corresponding to the electrical appliance, the method further includes:
查询所述电器中存储的若干个预设语言资源;Query several preset language resources stored in the electrical appliance;
确定所述若干个预设语言资源中存在所述第一语言的语言资源,执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。It is determined that there is a language resource of the first language among the plurality of preset language resources, and performing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
可选地,所述查询所述电器中存储的若干个预设语言资源的步骤之后,还包括:Optionally, after the step of querying several preset language resources stored in the electrical appliance, it further includes:
确定所述若干个预设语言资源中不存在所述第一语言的语言资源,发送数据请求指令至所述应用程序所安装的终端,以使所述终端返回所述第一语言的语言资源;determining that there is no language resource of the first language among the plurality of preset language resources, and sending a data request instruction to the terminal where the application program is installed, so that the terminal returns the language resource of the first language;
保存所述第一语言的语言资源至所述电器,并执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。saving the language resource of the first language to the electrical appliance, and executing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
可选地,所述语言设置参数包括所述电器的显示屏的第一语言设置参数和/或所述电器的语音播报模块的第二语言设置参数,所述根据所述第一语言调整所述电器的语言设置参数的步骤包括:Optionally, the language setting parameters include the first language setting parameters of the display screen of the electrical appliance and/or the second language setting parameters of the voice broadcast module of the electrical appliance, and the adjusting the The steps for setting the language parameters of the appliance include:
将所述第一语言设置参数调整为所述第一语言,且/或,将所述第二语言设置参数调整为所述第一语言;adjusting the first language setting parameters to the first language, and/or adjusting the second language setting parameters to the first language;
所述目标信息包括所述显示屏的显示信息和/或所述语音播报模块播报的语音信息。The target information includes display information on the display screen and/or voice information broadcast by the voice broadcast module.
可选地,所述根据所述第一语言调整所述电器的语言设置参数的步骤包括:Optionally, the step of adjusting the language setting parameters of the electrical appliance according to the first language includes:
发送所述第一语言对应的语言设置指令至所述电器,以使所述电器根据所述第一语言调整语言设置参数。Sending a language setting instruction corresponding to the first language to the electrical appliance, so that the electrical appliance adjusts language setting parameters according to the first language.
可选地,所述获取电器对应的应用程序当前使用的第一语言的步骤之后,还包括:Optionally, after the step of obtaining the first language currently used by the application program corresponding to the electrical appliance, the method further includes:
确定所述第一语言与第二语言不一致,执行所述发送所述第一语言对应的语言设置指令至所述电器,以使所述电器根据所述语言设置指令调整语言设置参数的步骤;It is determined that the first language is inconsistent with the second language, and performing the step of sending a language setting instruction corresponding to the first language to the electrical appliance, so that the electrical appliance adjusts language setting parameters according to the language setting instruction;
其中,所述第二语言为当前时刻之前的第一时刻获取的所述应用程序使用的语言,所述第一时刻与所述当前时刻间隔预设时长。Wherein, the second language is the language used by the application acquired at a first moment before the current moment, and the first moment is separated from the current moment by a preset period of time.
可选地,所述获取电器对应的应用程序当前使用的第一语言的步骤包括:Optionally, the step of obtaining the first language currently used by the application program corresponding to the electrical appliance includes:
接收语言设置指令;所述语言设置指令为物联网服务器在获取到所述第一语言后发送;Receiving a language setting instruction; the language setting instruction is sent by the Internet of Things server after obtaining the first language;
根据所述语言设置指令确定所述第一语言。The first language is determined according to the language setting instruction.
此外,为了实现上述目的,本申请还提出一种物联网服务器,所述物联网服务器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电器的语言设置程序,所述电器的语言设置程序被所述处理器执行时实现如上任一项所述的电器的语言设置方法的步骤。In addition, in order to achieve the above purpose, the present application also proposes an Internet of Things server, which includes: a memory, a processor, and a language setting program of an electrical appliance stored in the memory and operable on the processor When the language setting program of the electrical appliance is executed by the processor, the steps of the language setting method of the electrical appliance described in any one of the above items are realized.
此外,为了实现上述目的,本申请还提出一种电器,所述电器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电器的语言设置程序,所述电器的语言设置程序被所述处理器执行时实现如上任一项所述的电器的语言设置方法的步骤。In addition, in order to achieve the above object, the present application also proposes an electrical appliance, which includes: a memory, a processor, and a language setting program of the electrical appliance stored in the memory and operable on the processor, the electrical appliance When the language setting program is executed by the processor, the steps of the language setting method for electrical appliances as described in any one of the above items are realized.
此外,为了实现上述目的,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有电器的语言设置程序,所述电器的语言设置程序被处理器执行时实现如上任一项所述的电器的语言设置方法的步骤。In addition, in order to achieve the above purpose, the present application also proposes a computer-readable storage medium, on which a language setting program of an electrical appliance is stored, and when the language setting program of an electrical appliance is executed by a processor, the above-mentioned The steps of the language setting method of an electric appliance described in one item.
本申请提出的一种电器的语言设置方法,该方法根据电器绑定的应用程序所使用的语言对电器的语言设置参数进行调整,使电器采用与其绑定的应用程序相同的语言输出目标信息,基于此电器信息输出的语言不再是固定的,可以适应用于供用户控制空调器的应用程序的语言进行设置,电器便可自动将其信息输出使用的语言调整至满足用户实际使用需求,从而提高电器输出信息所使用的语言与用户实际需求匹配程度,提高用户体验。This application proposes a language setting method for an electrical appliance. The method adjusts the language setting parameters of the appliance according to the language used by the application program bound to the appliance, so that the appliance uses the same language as the application program bound to it to output target information. Based on this, the language of the electrical appliance information output is no longer fixed, and can be set according to the language of the application program for the user to control the air conditioner, and the electrical appliance can automatically adjust the language used for its information output to meet the actual use needs of the user, thereby Improve the matching degree between the language used by electrical appliances to output information and the actual needs of users, and improve user experience.
附图说明Description of drawings
图1为本申请物联网服务器或电器一实施例运行涉及的语言设置装置的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of the language setting device involved in the operation of an embodiment of the Internet of Things server or electrical appliances of the present application;
图2为本申请电器的语言设置方法一实施例的流程示意图;Fig. 2 is a schematic flow chart of an embodiment of the language setting method of the electrical appliance of the present application;
图3为本申请电器的语言设置方法另一实施例的流程示意图;Fig. 3 is a schematic flow chart of another embodiment of the language setting method of the electrical appliance of the present application;
图4为本申请电器的语言设置方法又一实施例的流程示意图;Fig. 4 is a schematic flow chart of another embodiment of the language setting method of the electrical appliance of the present application;
图5为本申请电器的语言设置方法再一实施例的流程示意图。Fig. 5 is a schematic flowchart of another embodiment of the language setting method of the electrical appliance of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的实施方式Embodiments of the present invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
本申请实施例的主要解决方案是:获取电器绑定的应用程序当前使用的第一语言;根据所述第一语言调整所述电器的语言设置参数,以使所述电器以所述第一语言输出目标信息。The main solution of the embodiment of the present application is: obtain the first language currently used by the application program bound to the electrical appliance; adjust the language setting parameters of the electrical appliance according to the first language, so that the electrical appliance uses the first language Output target information.
由于现有技术中,电器中信息输出所采用的语言一般为系统默认设置,无法与用户需求匹配,影响用户体验。In the prior art, the language used for information output in electrical appliances is generally the default setting of the system, which cannot match user needs and affects user experience.
本申请提供上述的解决方案,旨在提高电器输出信息所使用的语言与用户实际需求匹配程度,提高用户体验。The present application provides the above-mentioned solution, aiming at improving the matching degree between the language used in the output information of the electrical appliance and the actual needs of the user, and improving the user experience.
本申请实施例提出一种电器的语言设置装置,可应用于对电器信息输出的语言进行设置。这里的电器具体为具有网路通信功能的任意类型电器设备。在本实施例中,电器包括空调器。在其他实施例中,电器也可为冰箱、音响系统、电视机、集成灶、消毒柜、电饭煲等其他任意类型的电器。The embodiment of the present application proposes a language setting device for an electrical appliance, which can be applied to setting the language output by the electrical appliance. The electrical appliances here are specifically any type of electrical equipment with a network communication function. In this embodiment, the electrical appliance includes an air conditioner. In other embodiments, the electrical appliances can also be any other electrical appliances such as refrigerators, audio systems, televisions, integrated cookers, disinfection cabinets, and rice cookers.
具体的,语言设置装置可内置于电器中,也可为与电器通信连接的服务器,还可以设于安装有与电器绑定的应用程序的设备,等等。Specifically, the language setting device may be built into the electrical appliance, may also be a server communicatively connected with the electrical appliance, or may be set in a device installed with an application program bound to the electrical appliance, and so on.
在本申请实施例中,参照图1,电器的语言设置装置包括:处理器1001(例如CPU),存储器1002等。处理器1001与存储器1002通过通信总线连接。存储器1002可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1002可选的还可以是独立于前述处理器1001的存储装置。In the embodiment of the present application, referring to FIG. 1 , the language setting device of an electrical appliance includes: a processor 1001 (such as a CPU), a memory 1002 and the like. The processor 1001 and the memory 1002 are connected through a communication bus. The memory 1002 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1002 may also be a storage device independent of the foregoing processor 1001 .
本领域技术人员可以理解,图1中示出的装置结构并不构成对装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the device structure shown in FIG. 1 does not constitute a limitation to the device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
如图1所示,作为一种计算机可读存储介质的存储器1002中可以包括电器的语言设置程序。在图1所示的装置中,处理器1001可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下实施例中电器的语言设置方法的相关步骤操作。As shown in FIG. 1 , the memory 1002 as a computer-readable storage medium may include a language setting program of the electrical appliance. In the device shown in FIG. 1 , the processor 1001 can be used to call the language setting program of the electrical appliance stored in the memory 1002 and execute the relevant steps of the language setting method of the electrical appliance in the following embodiments.
本申请实施例还提供一种物联网服务器,物联网服务器可包括上述的语言设置装置,物联网服务器的处理器1001可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:The embodiment of the present application also provides an Internet of Things server. The Internet of Things server may include the above-mentioned language setting device. The processor 1001 of the Internet of Things server may be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps: :
获取电器绑定的应用程序当前使用的第一语言;Obtain the first language currently used by the application bound to the appliance;
根据所述第一语言调整所述电器的语言设置参数,以使所述电器以所述第一语言输出目标信息。Adjusting the language setting parameters of the electrical appliance according to the first language, so that the electrical appliance outputs target information in the first language.
进一步的,物联网服务器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
查询所述电器中存储的若干个预设语言资源;Query several preset language resources stored in the electrical appliance;
确定所述若干个预设语言资源中存在所述第一语言的语言资源,执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。It is determined that there is a language resource of the first language among the plurality of preset language resources, and performing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
进一步的,物联网服务器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
确定所述若干个预设语言资源中不存在所述第一语言的语言资源,发送数据请求指令至所述应用程序所安装的终端,以使所述终端返回所述第一语言的语言资源;determining that there is no language resource of the first language among the plurality of preset language resources, and sending a data request instruction to the terminal where the application program is installed, so that the terminal returns the language resource of the first language;
保存所述第一语言的语言资源至所述电器,并执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。saving the language resource of the first language to the electrical appliance, and executing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
进一步的,物联网服务器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
根据所述第一语言调整所述电器的显示屏的第一语言设置参数,所述目标信息包括所述显示屏的显示信息;adjusting the first language setting parameters of the display screen of the electrical appliance according to the first language, and the target information includes display information of the display screen;
且/或,根据所述第一语言调整所述电器的语音播报模块的第二语言设置参数,所述目标信息包括所述语音播报模块播报的语音信息。And/or, adjust the second language setting parameters of the voice broadcast module of the electrical appliance according to the first language, and the target information includes the voice information broadcast by the voice broadcast module.
进一步的,物联网服务器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
发送所述第一语言对应的语言设置指令至所述电器,以使所述电器根据所述语言设置指令调整语言设置参数。Sending a language setting instruction corresponding to the first language to the electrical appliance, so that the electrical appliance adjusts language setting parameters according to the language setting instruction.
进一步的,物联网服务器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the Internet of Things server can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
确定所述第一语言与第三语言不一致,执行所述发送所述第一语言对应的语言设置指令至所述电器,以使所述电器根据所述语言设置指令调整语言设置参数的步骤;It is determined that the first language is inconsistent with the third language, and performing the step of sending a language setting instruction corresponding to the first language to the electrical appliance, so that the electrical appliance adjusts language setting parameters according to the language setting instruction;
其中,所述第三语言为当前时刻之前的第一时刻获取的所述应用程序使用的语言,所述第一时刻与所述当前时刻间隔预设时长。Wherein, the third language is the language used by the application obtained at a first time before the current time, and the first time is separated from the current time by a preset time period.
本申请实施例还提供一种电器,这里的电器具体为具有网路通信功能的任意类型电器设备。在本实施例中,电器包括空调器。在其他实施例中,电器也可为冰箱、音响系统、电视机、集成灶、消毒柜、电饭煲等其他任意类型的电器。电器可包括上述的语言设置装置,电器的处理器1001可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:The embodiment of the present application also provides an electrical appliance, where the electrical appliance is specifically any type of electrical equipment with a network communication function. In this embodiment, the electrical appliance includes an air conditioner. In other embodiments, the electrical appliances can also be any other electrical appliances such as refrigerators, audio systems, televisions, integrated cookers, disinfection cabinets, and rice cookers. The electrical appliance may include the above-mentioned language setting device, and the processor 1001 of the electrical appliance may be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
获取电器绑定的应用程序当前使用的第一语言;Obtain the first language currently used by the application bound to the appliance;
根据所述第一语言调整所述电器的语言设置参数,以使所述电器以所述第一语言输出目标信息。Adjusting the language setting parameters of the electrical appliance according to the first language, so that the electrical appliance outputs target information in the first language.
进一步的,电器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the electrical appliance can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
查询所述电器中存储的若干个预设语言资源;Query several preset language resources stored in the electrical appliance;
确定所述若干个预设语言资源中存在所述第一语言的语言资源,执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。It is determined that there is a language resource of the first language among the plurality of preset language resources, and performing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
进一步的,电器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the electrical appliance can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
确定所述若干个预设语言资源中不存在所述第一语言的语言资源,发送数据请求指令至所述应用程序所安装的终端,以使所述终端返回所述第一语言的语言资源;determining that there is no language resource of the first language among the plurality of preset language resources, and sending a data request instruction to the terminal where the application program is installed, so that the terminal returns the language resource of the first language;
保存所述第一语言的语言资源至所述电器,并执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。saving the language resource of the first language to the electrical appliance, and executing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
进一步的,电器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the electrical appliance can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
根据所述第一语言调整所述电器的显示屏的第一语言设置参数,所述目标信息包括所述显示屏的显示信息;adjusting the first language setting parameters of the display screen of the electrical appliance according to the first language, and the target information includes display information of the display screen;
且/或,根据所述第一语言调整所述电器的语音播报模块的第二语言设置参数,所述目标信息包括所述语音播报模块播报的语音信息。And/or, adjust the second language setting parameters of the voice broadcast module of the electrical appliance according to the first language, and the target information includes the voice information broadcast by the voice broadcast module.
进一步的,电器的处理器1001还可以用于调用存储器1002中存储的电器的语言设置程序,并执行以下步骤操作:Further, the processor 1001 of the electrical appliance can also be used to call the language setting program of the electrical appliance stored in the memory 1002, and perform the following steps:
接收语言设置指令;所述语言设置指令为物联网服务器在获取到所述第一语言后发送;Receiving a language setting instruction; the language setting instruction is sent by the Internet of Things server after obtaining the first language;
根据所述语言设置指令确定所述第一语言。The first language is determined according to the language setting instruction.
本申请实施例还提供一种电器的语言设置方法,应用于上述的语言设置装置。The embodiment of the present application also provides a method for setting a language of an electrical appliance, which is applied to the above-mentioned language setting device.
参照图2,提出本申请电器的语言设置方法一实施例。在本实施例中,所述电器的语言设置方法包括:Referring to FIG. 2 , an embodiment of the language setting method of the electrical appliance of the present application is proposed. In this embodiment, the method for setting the language of the electrical appliance includes:
步骤S10,获取电器绑定的应用程序当前使用的第一语言;Step S10, obtaining the first language currently used by the application program bound to the electrical appliance;
应用程序具体为用于对电器进行控制的程序。电器可以是空调器、冰箱、音响系统、电视机、集成灶、消毒柜、电饭煲等中的一种或多于一种。The application program is specifically a program for controlling the electrical appliance. The electrical appliances may be one or more than one of air conditioners, refrigerators, audio systems, televisions, integrated stoves, disinfection cabinets, and rice cookers.
应用程序当前输出信息所使用的语言为这里的第一语言。具体的,应用程序输出不同信息所使用的语言可为同一种语言,也可为不同种语言。应用程序输出信息所使用的语言包括不同种语言时,可获取其所使用的所有语言作为第一语言;也获取其所使用的多种语言中输出预设信息的语言作为第一语言。应用程序所使用的第一语言可由用户进行设置,也可为应用程序默认配置的语言。The language in which the application currently outputs information is the first language here. Specifically, the languages used by the application program to output different information may be the same language or different languages. When the languages used by the application program to output information include different languages, all the languages used by the application program may be obtained as the first language; and the language used to output preset information among the multiple languages used by the application program may be obtained as the first language. The first language used by the application can be set by the user, or it can be the language configured by default for the application.
安装有应用程序的终端和电器均可与服务器通信连接,基于此,在本实施例的一种实现方式中,语言设置方法的执行主体为服务器,服务器可间隔设定时长(如一天、一周、)发送查询指令至安装有应用程序的终端以获取应用程序的语言配置参数,通过分析语言配置参数可得到这里的第一语言。另外,安装有应用程序的终端与电器也可通信连接(如通过蓝牙、WIFI等),基于此,在本实施例的另一种实现方式中,语言设置方法的执行主体为电器,电器可间隔设定时长(如一天、一周、)发送查询指令至安装有应用程序的终端以获取应用程序的语言配置参数,通过分析语言配置参数可得到这里的第一语言。Both terminals and electrical appliances installed with application programs can communicate with the server. Based on this, in an implementation of this embodiment, the execution subject of the language setting method is the server, and the server can set the duration at intervals (such as one day, one week, ) to send a query command to the terminal installed with the application program to obtain the language configuration parameters of the application program, and the first language here can be obtained by analyzing the language configuration parameters. In addition, the terminal installed with the application program can also communicate with the electrical appliance (such as via Bluetooth, WIFI, etc.). Set the time period (such as one day, one week, etc.) and send a query command to the terminal installed with the application program to obtain the language configuration parameters of the application program. By analyzing the language configuration parameters, the first language here can be obtained.
这里的第一语言可以是中文、英语、法语、日语、德语等不同语种中的一种,其中,中文可以是广东话、东北话、四川话、重庆话、上海话等不同地方方言中的一种,英语可以是美式英语、英式英语、印度英语、澳大利亚英语、加拿大英语等不同方言中的一种。The first language here can be one of different languages such as Chinese, English, French, Japanese, German, etc. Among them, Chinese can be one of different local dialects such as Cantonese, Northeast dialect, Sichuan dialect, Chongqing dialect, Shanghai dialect, etc. English can be one of different dialects such as American English, British English, Indian English, Australian English, Canadian English, etc.
步骤S20,根据所述第一语言调整所述电器的语言设置参数,以使所述电器以所述第一语言输出目标信息。Step S20, adjusting the language setting parameters of the electrical appliance according to the first language, so that the electrical appliance outputs target information in the first language.
这里的目标信息可以是电器输出的所有信息,还可以是指定的部分信息。The target information here may be all the information output by the electrical appliance, and may also be a specified part of the information.
当第一语言为一种时,可将语言设置参数中目标信息对应的语言设置为第一语言。When the first language is one, the language corresponding to the target information in the language setting parameter can be set as the first language.
当第一语言多于一种时,可确定目标信息的目标信息类型,确定多于一种第一语言中应用于输出的信息类型与目标信息类型一致的第一语言为目标信息所对应的目标语言,语言设置参数中目标信息对应的语言设置为目标语言。例如,多于一种第一语言包括语言1和语言2,应用程序的语言1设置为输出显示信息,应用程序的语言2设置为输出语音信息,则将电器的语言设置参数中显示信息对应的语言设置为语言1,将电器的语言设置参数中语音信息对应的语言设置为语言2。When there are more than one first language, the target information type of the target information can be determined, and the first language whose output information type is consistent with the target information type in more than one first language is determined as the target corresponding to the target information Language, the language corresponding to the target information in the language setting parameter is set as the target language. For example, more than one first language includes language 1 and language 2, language 1 of the application program is set to output display information, and language 2 of the application program is set to output voice information, then the language setting parameters of the electrical appliance corresponding to the display information Set the language to language 1, and set the language corresponding to the voice information in the language setting parameters of the appliance to language 2.
具体的,在本实施例中,所述语言设置参数包括所述电器的显示屏的第一语言设置参数和/或所述电器的语音播报模块的第二语言设置参数,所述根据所述第一语言调整所述电器的语言设置参数的步骤包括:将所述第一语言设置参数调整为所述第一语言,且/或,将所述第二语言设置参数调整为所述第一语言;所述目标信息包括所述显示屏的显示信息和/或所述语音播报模块播报的语音信息。基于此,可使电器的显示屏和/或电器的语音播报模块采用与应用程序相同的语言输出信息。例如,第一语言为广东话或四川话等中文时,电器的显示屏可以中文输出显示信息,电器的语音播报模块可相应地以广东话或四川话等输出语音信息。Specifically, in this embodiment, the language setting parameters include the first language setting parameters of the display screen of the electrical appliance and/or the second language setting parameters of the voice broadcast module of the electrical appliance, and the A language The step of adjusting the language setting parameters of the electrical appliance includes: adjusting the first language setting parameters to the first language, and/or, adjusting the second language setting parameters to the first language; The target information includes display information on the display screen and/or voice information broadcast by the voice broadcast module. Based on this, the display screen of the electrical appliance and/or the voice announcement module of the electrical appliance can output information in the same language as the application program. For example, when the first language is Chinese such as Cantonese or Sichuan dialect, the display screen of the electrical appliance can output display information in Chinese, and the voice broadcast module of the electrical appliance can correspondingly output voice information in Cantonese or Sichuan dialect.
本申请实施例提出的一种电器的语言设置方法,该方法根据电器绑定的应用程序所使用的语言对电器的语言设置参数进行调整,使电器采用与其绑定的应用程序相同的语言输出目标信息,基于此电器信息输出的语言不再是固定的,可以适应用于供用户控制空调器的应用程序的语言进行设置,电器可自动将其信息输出使用的语言调整至满足用户实际使用需求,从而提高电器输出信息所使用的语言与用户实际需求匹配程度,提高用户体验。另外,用户无需与空调器进行交互,便可自动对电器使用语言的同步调整。The embodiment of the present application proposes a method for setting the language of an electrical appliance. The method adjusts the language setting parameters of the appliance according to the language used by the application program bound to the appliance, so that the appliance uses the same language output target as the application program bound to it. Information, based on this, the language output by the appliance information is no longer fixed, and can be set to suit the language of the application program used by the user to control the air conditioner, and the appliance can automatically adjust the language used for its information output to meet the actual needs of the user. In this way, the degree of matching between the language used by the electrical appliance to output information and the actual needs of the user is improved, and the user experience is improved. In addition, the user can automatically adjust the language used by the appliance automatically without interacting with the air conditioner.
进一步的,基于上述实施例,提出本申请电器的语言设置方法另一实施例。在本实施例中,参照图3,所述步骤S10之后,还包括:Further, based on the above-mentioned embodiments, another embodiment of the language setting method of the electrical appliance of the present application is proposed. In this embodiment, referring to FIG. 3, after the step S10, it also includes:
步骤S101,查询所述电器中存储的若干个预设语言资源;Step S101, querying several preset language resources stored in the electrical appliance;
语言设置方法的执行主体为服务器时,服务器可发送资源查询指令至电器,以使电器返回语言资源信息,根据接收到的语言资源信息确定若干个预设语言资源。语言设置方法的执行主体为电器时,电器可直接查询自身存储器存储的数据得到这列的若干个预设语言资源。When the language setting method is executed by a server, the server can send a resource query command to the electrical appliance, so that the electrical appliance returns language resource information, and determines several preset language resources according to the received language resource information. When the execution subject of the language setting method is an electrical appliance, the electrical appliance can directly query the data stored in its own memory to obtain several preset language resources in this column.
步骤S102,确定所述若干个预设语言资源中存在所述第一语言的语言资源,执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。Step S102, determining that there is a language resource of the first language among the plurality of preset language resources, and performing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
电器中存储的若干个预设语言资源包括第一语言对应的语言资源时,表明电器允许使用第一语言输出信息;电器中存储的若干个预设语言资源中不包括第一语言对应的语言资源时,表明电器不允许使用第一语言输出信息。When the several preset language resources stored in the electrical appliance include the language resource corresponding to the first language, it indicates that the electrical appliance is allowed to use the first language to output information; the several preset language resources stored in the electrical appliance do not include the language resource corresponding to the first language , the appliance does not allow output in the first language.
在本实施例中,通过电器中语言资源的识别,在确定电器中存在语言资源时才根据第一语言调整电器的语言设置参数,从而保证电器的语言设置为第一语言后目标信息输出的有效性。In this embodiment, through the identification of the language resources in the electrical appliance, the language setting parameters of the electrical appliance are adjusted according to the first language when it is determined that there are language resources in the electrical appliance, so as to ensure the effectiveness of the target information output after the language of the electrical appliance is set to the first language. sex.
进一步的,在本实施例中,步骤S101之后,还包括:确定所述若干个预设语言资源中不存在所述第一语言的语言资源,发送数据请求指令至所述应用程序所安装的终端,以使所述终端返回所述第一语言的语言资源;保存所述第一语言的语言资源至所述电器,并执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。具体的,语言设置方法的执行主体为服务器时,服务器接收到第一语言的语言资源后可发送包括第一语言的语言资源的资源设置指令至电器,电器接收到设置指令后可提取第一语言的语言资源保存到相应的位置。语言设置方法的执行主体为电器时,电器接收到第一语言的语言资源后可直接保存至相应的位置。在本实施例中,在电器中不存在第一语言的语言资源时通过应用程序中存储的语言资源对电器的语言资源进行更新,从而确保电器可有效地使用与应用程序相同的第一语言输出信息,以进一步提高电器使用语言与用户需求的匹配程度。Further, in this embodiment, after step S101, it also includes: determining that there is no language resource of the first language among the several preset language resources, and sending a data request instruction to the terminal where the application program is installed to make the terminal return the language resource of the first language; save the language resource of the first language to the electrical appliance, and perform the step of adjusting the language setting parameters of the electrical appliance according to the first language . Specifically, when the execution subject of the language setting method is a server, the server can send a resource setting instruction including the language resource of the first language to the electrical appliance after receiving the language resource of the first language, and the electrical appliance can extract the first language after receiving the setting instruction. The language resources of the file are saved to the corresponding location. When the execution subject of the language setting method is an electrical appliance, the electrical appliance can directly save the language resource of the first language to a corresponding location after receiving it. In this embodiment, when the language resource of the first language does not exist in the electrical appliance, the language resource stored in the application program is used to update the language resource of the electrical appliance, thereby ensuring that the electrical appliance can effectively use the same first language output as the application program. Information to further improve the matching degree of the language used by electrical appliances and the needs of users.
在其他实施例中,也可当所述若干个预设语言资源中不存在所述第一语言的语言资源时,控制电器维持使用其当前语言输出目标信息。In other embodiments, when the language resource of the first language does not exist in the plurality of preset language resources, the control device may maintain its current language to output the target information.
进一步的,基于上述任一实施例,提出本申请电器的语言设置方法又一实施例。在本实施例中,语言设置方法的执行主体为服务器,参照图4,所述步骤S20包括:Further, based on any of the above-mentioned embodiments, another embodiment of the language setting method of the electrical appliance of the present application is proposed. In this embodiment, the execution body of the language setting method is a server. Referring to FIG. 4, the step S20 includes:
步骤S21,发送所述第一语言对应的语言设置指令至所述电器,以使所述电器根据所述第一语言调整语言设置参数。Step S21, sending a language setting command corresponding to the first language to the electrical appliance, so that the electrical appliance adjusts language setting parameters according to the first language.
在本实施例中,通过服务器对电器和应用程序的管控的基础上,在服务器监控到应用程序当前使用第一语言时,通过发送语言设置指令调整电器输出目标信息的语言,从而实现应用程序与电器之间语言的联动设置,保证电器输出信息的语言可与用户的需求精准匹配。In this embodiment, based on the management and control of the electrical appliance and the application program by the server, when the server monitors that the application program is currently using the first language, the language setting instruction is sent to adjust the language of the electrical appliance output target information, thereby realizing the application program and the application program. The language linkage setting between appliances ensures that the language of the output information of appliances can accurately match the needs of users.
进一步的,在本实施例中,步骤S10之后,还包括:确定所述第一语言与第二语言不一致,执行所述发送所述第一语言对应的语言设置指令至所述电器,以使所述电器根据所述语言设置指令调整语言设置参数的步骤;Further, in this embodiment, after step S10, it also includes: determining that the first language is inconsistent with the second language, and performing the sending of the language setting instruction corresponding to the first language to the electrical appliance, so that all The step of adjusting the language setting parameters of the electric appliance according to the language setting instruction;
其中,所述第二语言为当前时刻之前的第一时刻获取的所述应用程序使用的语言,所述第一时刻与所述当前时刻间隔预设时长。Wherein, the second language is the language used by the application acquired at a first moment before the current moment, and the first moment is separated from the current moment by a preset period of time.
预设时长可为一周、一个月、一个季度、10天等,具体可为系统默认配置的参数,也可为用户自行设置的参数。The preset duration can be one week, one month, one quarter, 10 days, etc. The specific time can be a parameter configured by the system by default, or a parameter set by the user.
服务器可间隔预设时长获取应用程序当前使用的语言,将前后两次获取到的语言(即第一语言和第二语言)进行比较,第一语言和第二语言不一致时,表明应用程序所使用的语言发生变化,此时向电器发送语言设置指令,从而实现在应用程序所使用的语言响应于用户指令发生变更时,可自动将电器输出目标信息的语言变更为与应用程序相同的语言,从而确保电器输出信息的语言与用户需求匹配程度的进一步提高。The server can obtain the language currently used by the application at preset intervals, and compare the languages obtained twice before and after (that is, the first language and the second language). If the first language and the second language are inconsistent, it indicates the language used by the application. If the language of the appliance changes, a language setting command is sent to the electrical appliance at this time, so that when the language used by the application program changes in response to the user's instruction, the language of the appliance output target information can be automatically changed to the same language as the application program, thereby To ensure that the language of electrical appliances output information matches the needs of users to further improve.
进一步的,基于上述任一实施例,提出本申请电器的语言设置方法再一实施例。在本实施例中,参照图5,语言设置方法的执行主体为电器,所述获取电器对应的应用程序当前使用的第一语言的步骤包括:Further, based on any of the above embodiments, another embodiment of the language setting method of the electrical appliance of the present application is proposed. In this embodiment, referring to FIG. 5 , the execution subject of the language setting method is an electrical appliance, and the step of acquiring the first language currently used by the application program corresponding to the electrical appliance includes:
步骤S11,接收语言设置指令;所述语言设置指令为物联网服务器在获取到所述第一语言后发送;Step S11, receiving a language setting instruction; the language setting instruction is sent by the IoT server after acquiring the first language;
具体的,物联网服务器可查询应用程序当前使用的第一语言,在确定第一语言后发送其对应的语言设置指令至电器。Specifically, the IoT server may inquire about the first language currently used by the application program, and after determining the first language, send the corresponding language setting instruction to the electrical appliance.
具体的,服务器可间隔预设时长获取应用程序当前使用的语言,将前后两次获取到的语言(即第一语言和第二语言)进行比较,第一语言和第二语言不一致时,表明应用程序所使用的语言发生变化,此时向电器发送语言设置指令。Specifically, the server can obtain the language currently used by the application program at an interval of a preset period of time, and compare the languages obtained twice before and after (that is, the first language and the second language). If the first language and the second language are inconsistent, it indicates that the application The language used by the program changes, and a language setting command is sent to the appliance at this time.
步骤S12,根据所述语言设置指令确定所述第一语言。Step S12, determining the first language according to the language setting instruction.
电器可从语言设置指令中提取出第一语言,在提取得到第一语言后对其自身的语言设置参数进行调整。The electrical appliance can extract the first language from the language setting instruction, and adjust its own language setting parameters after the first language is extracted.
在本实施例中,通过上述方式可实现电器可在服务器的管控下与应用程序实现语言同步,从而保证电器输出信息的语言满足用户的实际需求。In this embodiment, through the above method, the appliance can realize language synchronization with the application program under the control of the server, so as to ensure that the language of the information output by the appliance meets the actual needs of the user.
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有电器的语言设置程序,所述电器的语言设置程序被处理器执行时实现如上电器的语言设置方法任一实施例的相关步骤。In addition, the embodiment of the present application also proposes a computer-readable storage medium, the computer-readable storage medium stores the language setting program of the electrical appliance, and when the language setting program of the electrical appliance is executed by the processor, the language setting of the electrical appliance as above The relevant steps of any embodiment of the method.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,电器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to enable a terminal device (which may be a mobile phone, computer, server, electrical appliance, or network device, etc.) to execute the methods described in various embodiments of the present application.
以上仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only optional embodiments of the application, and are not intended to limit the patent scope of the application. Any equivalent structure or equivalent process transformation made by using the specification and drawings of the application, or directly or indirectly used in other related technologies fields, are all included in the scope of patent protection of this application in the same way.

Claims (10)

  1. 一种电器的语言设置方法,包括以下步骤:A language setting method for electrical appliances, comprising the following steps:
    获取电器绑定的应用程序当前使用的第一语言;Obtain the first language currently used by the application bound to the appliance;
    根据所述第一语言调整所述电器的语言设置参数,以使所述电器以所述第一语言输出目标信息。Adjusting the language setting parameters of the electrical appliance according to the first language, so that the electrical appliance outputs target information in the first language.
  2. 如权利要求1所述的电器的语言设置方法,其中,所述获取电器对应的应用程序当前使用的第一语言的步骤之后,还包括:The method for setting the language of an electrical appliance according to claim 1, wherein, after the step of obtaining the first language currently used by the application program corresponding to the electrical appliance, further comprising:
    查询所述电器中存储的若干个预设语言资源;Query several preset language resources stored in the electrical appliance;
    确定所述若干个预设语言资源中存在所述第一语言的语言资源,执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。It is determined that there is a language resource of the first language among the plurality of preset language resources, and performing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
  3. 如权利要求2所述的电器的语言设置方法,其中,所述查询所述电器中存储的若干个预设语言资源的步骤之后,还包括:The language setting method of an electrical appliance according to claim 2, wherein, after the step of querying several preset language resources stored in the electrical appliance, further comprising:
    确定所述若干个预设语言资源中不存在所述第一语言的语言资源,发送数据请求指令至所述应用程序所安装的终端,以使所述终端返回所述第一语言的语言资源;determining that there is no language resource of the first language among the plurality of preset language resources, and sending a data request instruction to the terminal where the application program is installed, so that the terminal returns the language resource of the first language;
    保存所述第一语言的语言资源至所述电器,并执行所述根据所述第一语言调整所述电器的语言设置参数的步骤。saving the language resource of the first language to the electrical appliance, and executing the step of adjusting the language setting parameters of the electrical appliance according to the first language.
  4. 如权利要求1所述的电器的语言设置方法,其中,所述语言设置参数包括所述电器的显示屏的第一语言设置参数和/或所述电器的语音播报模块的第二语言设置参数,所述根据所述第一语言调整所述电器的语言设置参数的步骤包括:The language setting method of an electrical appliance according to claim 1, wherein the language setting parameters include the first language setting parameters of the display screen of the electrical appliance and/or the second language setting parameters of the voice broadcast module of the electrical appliance, The step of adjusting the language setting parameters of the electrical appliance according to the first language includes:
    将所述第一语言设置参数调整为所述第一语言,且/或,将所述第二语言设置参数调整为所述第一语言;adjusting the first language setting parameters to the first language, and/or adjusting the second language setting parameters to the first language;
    所述目标信息包括所述显示屏的显示信息和/或所述语音播报模块播报的语音信息。The target information includes display information on the display screen and/or voice information broadcast by the voice broadcast module.
  5. 如权利要求1至4中任一项所述的电器的语言设置方法,其中,所述根据所述第一语言调整所述电器的语言设置参数的步骤包括:The language setting method of an electrical appliance according to any one of claims 1 to 4, wherein the step of adjusting the language setting parameters of the electrical appliance according to the first language comprises:
    发送所述第一语言对应的语言设置指令至所述电器,以使所述电器根据所述第一语言调整语言设置参数。Sending a language setting instruction corresponding to the first language to the electrical appliance, so that the electrical appliance adjusts language setting parameters according to the first language.
  6. 如权利要求5所述的电器的语言设置方法,其中,所述获取电器对应的应用程序当前使用的第一语言的步骤之后,还包括:The method for setting the language of an electrical appliance according to claim 5, wherein, after the step of acquiring the first language currently used by the application program corresponding to the electrical appliance, further comprising:
    确定所述第一语言与第二语言不一致,执行所述发送所述第一语言对应的语言设置指令至所述电器,以使所述电器根据所述语言设置指令调整语言设置参数的步骤;It is determined that the first language is inconsistent with the second language, and performing the step of sending a language setting instruction corresponding to the first language to the electrical appliance, so that the electrical appliance adjusts language setting parameters according to the language setting instruction;
    其中,所述第二语言为当前时刻之前的第一时刻获取的所述应用程序使用的语言,所述第一时刻与所述当前时刻间隔预设时长。Wherein, the second language is the language used by the application acquired at a first moment before the current moment, and the first moment is separated from the current moment by a preset period of time.
  7. 如权利要求1至4中任一项所述的电器的语言设置方法,其中,所述获取电器对应的应用程序当前使用的第一语言的步骤包括:The method for setting the language of an electrical appliance according to any one of claims 1 to 4, wherein the step of acquiring the first language currently used by the application program corresponding to the electrical appliance comprises:
    接收语言设置指令;所述语言设置指令为物联网服务器在获取到所述第一语言后发送;Receiving a language setting instruction; the language setting instruction is sent by the Internet of Things server after obtaining the first language;
    根据所述语言设置指令确定所述第一语言。The first language is determined according to the language setting instruction.
  8. 一种物联网服务器,所述物联网服务器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电器的语言设置程序,所述电器的语言设置程序被所述处理器执行时实现如权利要求1至6中任一项所述的电器的语言设置方法的步骤。An Internet of Things server, the Internet of Things server includes: a memory, a processor, and a language setting program of an electrical appliance stored on the memory and operable on the processor, and the language setting program of the electrical appliance is controlled by the The processor implements the steps of the language setting method for an electrical appliance according to any one of claims 1 to 6 when executed.
  9. 一种电器,所述电器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电器的语言设置程序,所述电器的语言设置程序被所述处理器执行时实现如权利要求1至4以及权利要求7中任一项所述的电器的语言设置方法的步骤。An electrical appliance, the electrical appliance comprising: a memory, a processor, and a language setting program of the electrical appliance stored on the memory and operable on the processor, when the language setting program of the electrical appliance is executed by the processor The steps of realizing the language setting method of an electrical appliance according to any one of claims 1 to 4 and claim 7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有电器的语言设置程序,所述电器的语言设置程序被处理器执行时实现如权利要求1至7中任一项所述的电器的语言设置方法的步骤。A computer-readable storage medium, the computer-readable storage medium stores a language setting program of an electrical appliance, and when the language setting program of an electrical appliance is executed by a processor, the method described in any one of claims 1 to 7 is realized. The steps of the language setting method of the electric appliance.
PCT/CN2022/075727 2021-12-17 2022-02-09 Language setting method for electric appliance, internet of things server, electric appliance, and computer-readable storage medium WO2023108870A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111554736.XA CN116266125A (en) 2021-12-17 2021-12-17 Language setting method of electric appliance, internet of things server, electric appliance and storage medium
CN202111554736.X 2021-12-17

Publications (1)

Publication Number Publication Date
WO2023108870A1 true WO2023108870A1 (en) 2023-06-22

Family

ID=86742788

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/075727 WO2023108870A1 (en) 2021-12-17 2022-02-09 Language setting method for electric appliance, internet of things server, electric appliance, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN116266125A (en)
WO (1) WO2023108870A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528144A (en) * 2016-11-04 2017-03-22 上海传英信息技术有限公司 Method for changing system font and user terminal
CN112037761A (en) * 2020-07-31 2020-12-04 珠海格力电器股份有限公司 Interactive display method of remote controller for intelligent language identification and household appliance intelligent equipment
CN112445901A (en) * 2019-09-03 2021-03-05 上海智臻智能网络科技股份有限公司 Method and device for setting language of intelligent equipment
EP3826003A1 (en) * 2019-11-22 2021-05-26 Candy S.p.A. Method and system for controlling and/or interacting with a household appliance by means of voice commands and with recognition of the language of the voice commands, and corresponding household appliance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528144A (en) * 2016-11-04 2017-03-22 上海传英信息技术有限公司 Method for changing system font and user terminal
CN112445901A (en) * 2019-09-03 2021-03-05 上海智臻智能网络科技股份有限公司 Method and device for setting language of intelligent equipment
EP3826003A1 (en) * 2019-11-22 2021-05-26 Candy S.p.A. Method and system for controlling and/or interacting with a household appliance by means of voice commands and with recognition of the language of the voice commands, and corresponding household appliance
CN112037761A (en) * 2020-07-31 2020-12-04 珠海格力电器股份有限公司 Interactive display method of remote controller for intelligent language identification and household appliance intelligent equipment

Also Published As

Publication number Publication date
CN116266125A (en) 2023-06-20

Similar Documents

Publication Publication Date Title
CN108683574B (en) Equipment control method, server and intelligent home system
CN108831469B (en) Voice command customizing method, device and equipment and computer storage medium
CN109445352B (en) Household appliance control method, household appliance and storage medium
US20190312747A1 (en) Method, apparatus and system for controlling home device
WO2021196638A1 (en) Household appliance control method and apparatus, and computer storage medium
US6976251B2 (en) Intelligent update agent
US7536454B2 (en) Multi-modal communication using a session specific proxy server
US20230053765A1 (en) Speech Control Method and Apparatus, Server, Terminal Device, and Storage Medium
CN107608602B (en) Control method, mobile terminal, control system and storage medium of vehicle-mounted air conditioner
US10581993B2 (en) Method for forwarding traffic in application on mobile intelligent terminal
CN108224683B (en) Data synchronization method, user equipment and computer readable storage medium
WO2016192188A1 (en) Method and terminal for adjusting cpu operation parameter
CN107726539B (en) Terminal operation parameter adjusting method and device and computer readable storage medium
CN110762777A (en) Control method of multi-split air conditioner, multi-split air conditioner and medium
WO2021128918A1 (en) Terminal device control method, terminal device, and storage medium
CN108933946B (en) Voice-control-based live broadcasting attention method, storage medium, electronic equipment and system
JP6692907B2 (en) Link request processing method, link generation method, and link generation device
WO2021103619A1 (en) Network configuration terminal, network configuration method for household appliance, and computer-readable storage medium
US20170161392A1 (en) Information communication methods, systems and terminals
CN110958618A (en) Control method and device based on Bluetooth gateway, computer equipment and storage medium
EP3553400A1 (en) Air conditioner adjusting method and device, and storage medium
CN107274899B (en) Air conditioner voice control method and device, air conditioner and readable storage medium
CN110661888B (en) Voice control method and device for household appliance and readable storage medium
CN103577238A (en) Augmented reality software updating method
WO2023108870A1 (en) Language setting method for electric appliance, internet of things server, electric appliance, and computer-readable storage medium

Legal Events

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

Ref document number: 22905642

Country of ref document: EP

Kind code of ref document: A1