Corpus updating method and device, equipment and storage medium

Through the coordinated work of the cloud platform and communication module, the problem that mid- and low-end voice devices cannot update corpus online is solved, and online corpus updates and personalized customization of voice devices are realized, operating processes are simplified and user experience is improved.

CN118945151APending Publication Date: 2024-11-12QINGDAO HAIER WASHING MASCH CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310526580.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Due to the lack of a built-in operating system, mid- and low-end voice devices cannot be updated online and customized online. The existing OTA upgrade functions are complex and difficult to meet the needs of operators and developers.

Method used

Send voice broadcast update instructions through the cloud platform. The communication module obtains voice broadcast files from the pre-set download address and sends them to the control board of voice appliances to realize corpus updates and supports online replacement and personalized custom corpus.

Benefits of technology

It realizes online corpus update and personalized customization functions of mid- and low-end voice devices, simplifies the operational process of operators and developers, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945151A_ABST
    Figure CN118945151A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of electric appliances, and particularly relates to a corpus updating method, and the method comprises the steps: obtaining a voice broadcast updating instruction sent by a cloud platform, and the voice broadcast updating instruction is used for indicating the updating of a corpus; according to the voice broadcast updating instruction, a voice broadcast file is acquired from a corresponding downloading address, and the downloading address is used for indicating a storage path of the voice broadcast file; the voice broadcast file is sent to a control panel of a voice household appliance, so that corpus updating is realized according to the voice broadcast file; according to the method, the voice file is unloaded through the communication module, the Internet of Things equipment system is helped to replace the voice file, voice broadcast switching is achieved, the function of customizing broadcast corpora is developed, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electrical technology, and specifically relates to a corpus updating method, device, equipment and storage medium. Background Art

[0002] In the context of the Internet of Things, most IoT devices are equipped with voice broadcast functions. IoT devices facilitate users through voice broadcast functions.

[0003] In the prior art, for some low-end and mid-range voice devices, such as commercial external dispensers and commercial washing machines, which do not have built-in operating systems and have low intelligence levels, their broadcast corpus is generally fixed. Since the above low-end and mid-range voice devices do not have built-in operating systems, the voice devices cannot support functions such as online corpus replacement and personalized corpus customization, and the existing OTA upgrade function implementation method is relatively complicated.

[0004] Therefore, how to update the corpus for mid- and low-end voice equipment is a problem that needs to be solved at present. Summary of the invention

[0005] The present application provides a corpus updating method, apparatus, device and storage medium, which realizes the functions of online replacement of corpus and personalized customization of corpus for voice equipment, meets the needs of operators for customizing broadcast corpus and developers for batch online updates, and solves the problem that mid- and low-end voice equipment cannot update corpus.

[0006] In a first aspect, the present application provides a corpus updating method, comprising:

[0007] Obtaining a voice broadcast update instruction sent by the cloud platform, wherein the voice broadcast update instruction is used to instruct to update the corpus;

[0008] According to the voice broadcast update instruction, a voice broadcast file is obtained from a corresponding download address, where the download address is used to indicate a storage path of the voice broadcast file;

[0009] The voice broadcast file is sent to the control panel of the voice home appliance, so that the control panel can update the corpus according to the voice broadcast file.

[0010] Optionally, before obtaining the voice broadcast update instruction sent by the cloud platform, the method includes:

[0011] Define an instruction information template, the instruction information template includes: an instruction type;

[0012] The step of obtaining the voice broadcast update instruction sent by the cloud platform includes:

[0013] Get the command information sent by the cloud platform;

[0014] The instruction information is parsed, and when the instruction type is a target instruction type, it is determined that the instruction information is a voice broadcast update instruction.

[0015] Optionally, the instruction information template further includes: a download address field, and obtaining the voice broadcast file from a preset URL according to the voice broadcast update instruction includes:

[0016] The voice broadcast file is downloaded from the field of the download address; and the voice broadcast file is stored in the memory of the communication module.

[0017] Optionally, sending the voice broadcast file to a control panel of the voice appliance includes:

[0018] Obtaining a file directory in the control board memory for storing voice broadcast files;

[0019] The voice broadcast file is transferred to the file directory.

[0020] Optionally, after sending the voice broadcast file to the control panel of the voice home appliance, the method further includes:

[0021] A receipt file is generated and sent to the cloud platform so that the cloud platform can record the corpus update.

[0022] In a second aspect, the present application provides a corpus updating device, comprising:

[0023] An acquisition module, used to acquire a voice broadcast update instruction sent by the cloud platform, wherein the voice broadcast update instruction is used to instruct to update the corpus;

[0024] The acquisition module is further used to acquire the voice broadcast file from the corresponding download address according to the voice broadcast update instruction, and the download address is used to indicate the storage path of the voice broadcast file;

[0025] The processing module is used to send the voice broadcast file to the control board of the voice home appliance, so that the control board can update the corpus according to the voice broadcast file.

[0026] Optionally, the corpus updating device further includes: a definition module and a determination module;

[0027] The definition module is used to define an instruction information template, and the instruction information template includes: an instruction type;

[0028] The acquisition module is specifically used to obtain the instruction information sent by the cloud platform;

[0029] The processing module is further used to parse the instruction information;

[0030] The determination module is used to determine that the instruction information is a voice broadcast update instruction when the instruction type is a target instruction type.

[0031] Optionally, the processing module is further used to download the voice broadcast file from the field of the download address; and store the voice broadcast file in the memory of the communication module.

[0032] Optionally, the acquisition module is used to acquire a voice broadcast update instruction sent by the cloud platform, and the voice broadcast update instruction is used to instruct to update the corpus;

[0033] Optionally, the processing module is used to obtain a voice broadcast file from a corresponding download address according to the voice broadcast update instruction, and the download address is used to indicate a save path of the voice broadcast file.

[0034] Optionally, the acquisition module is further used to acquire a file directory in the control board memory for storing voice broadcast files;

[0035] The processing module is also used to transmit the voice broadcast file to the file directory.

[0036] Optionally, the processing module is further used to generate a receipt file, and send the receipt file to the cloud platform so that the cloud platform can record the corpus update.

[0037] In a third aspect, the present application provides a corpus updating device, comprising:

[0038] A definition module, used to define an instruction information template, wherein the instruction information template includes: fields for instruction type and download address;

[0039] A generating module, used for generating instruction information, wherein the instruction type of the instruction information is a target instruction type, and the field of the download address is a saving path of the voice broadcast file;

[0040] The processing module is used to send the instruction information to the communication module.

[0041] In a fourth aspect, the present application provides a corpus updating device, comprising:

[0042] Memory;

[0043] processor;

[0044] Wherein, the memory stores computer-executable instructions;

[0045] The processor executes the computer-executable instructions stored in the memory to implement the corpus updating method as described in the first aspect and various possible implementations of the first aspect.

[0046] In a fifth aspect, the present application provides a computer storage medium, characterized in that the computer storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the corpus updating method as described in the first aspect and various possible implementations of the first aspect.

[0047] The corpus updating method provided in the present application uploads the corpus file through the cloud platform and pushes the corpus updating instruction to the communication module. The communication module accesses the URL in the instruction to download the corpus file and sends a message receipt file to transfer the file, thereby sending the corpus file to the control board to update the corpus. The method realizes the functions of online replacement of corpus and personalized customization of corpus for voice equipment, and solves the problem that mid- and low-end voice equipment cannot update corpus. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0049] Figure 1 It is a scenario diagram of the corpus updating method provided by this application;

[0050] Figure 2 is a flow chart of the corpus updating method provided by this application;

[0051] Figure 3 It is a flow interaction diagram of the corpus update provided by this application;

[0052] Figure 4 Structural schematic diagram of the corpus updating device provided in this application Figure 1 ;

[0053] Figure 5 Structural schematic diagram of the corpus updating device provided in this application Figure 2 ;

[0054] Figure 6 A schematic diagram of the structure of the corpus updating device provided in this application.

[0055] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.

[0058] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0059] In the prior art, for updating the corpus of a voice device, a common method is, for example, to download the voice file to be updated from the server through the controller in the voice device, and then update the corpus according to the voice file to be updated. However, for some low-end and mid-range voice devices, such as commercial external dispensers, commercial washing machines, and other devices without built-in operating systems and with a low level of intelligence, since there is no controller in the low-end and mid-range voice devices, or the controller cannot transmit data, the low-end and mid-range voice devices cannot update the corpus autonomously, that is, the broadcast corpus of the low-end and mid-range voice devices is generally fixed, and cannot support online corpus replacement and personalized corpus customization functions.

[0060] Therefore, how to update the corpus for mid- and low-end voice equipment is a problem that needs to be solved at present.

[0061] In order to solve the above problems, the present application provides a corpus updating method. Figure 1 Schematic diagram of the scenario of the corpus updating method provided by this application. Figure 1As shown, the cloud platform 1 is connected to the communication module 2, and the communication module 2 is connected to the control board 3. The corresponding voice file is stored in the specific download address in the cloud platform 1, and the communication module 2 can access the specific download address and download the corresponding voice file to the memory; and the communication module can transfer the files stored in itself to the specified file directory in the memory of the control board 3, so that the control board can read the corresponding files.

[0062] The communication module 2 may be, for example, a 4G communication module, a WIFI communication module, a Bluetooth communication module, etc.; the control board 3 may be, for example, a single-chip microcomputer control board.

[0063] The corpus updating method provided in the present application uploads the corpus file through the cloud platform and pushes the corpus updating instruction to the communication module. The communication module accesses the URL in the instruction to download the corpus file and sends a message receipt file to transfer the file, thereby sending the corpus file to the control board to update the corpus. The method realizes the functions of online replacement of corpus and personalized customization of corpus for voice equipment, and solves the problem that mid- and low-end voice equipment cannot update corpus.

[0064] Figure 2 is a flow chart of the corpus updating method provided by the present application; the execution subject of this embodiment may be, for example, Figure 1 The communication module shown in the embodiment. Figure 2 As shown, the corpus updating method provided in this embodiment includes:

[0065] S201: Obtaining a voice broadcast update instruction sent by a cloud platform, wherein the voice broadcast update instruction is used to instruct to update the corpus.

[0066] The cloud platform may be, for example, an IOT platform. In this step, the communication module may interact with the cloud platform for data. The cloud platform may send a voice broadcast update instruction to the communication module, so that the communication module receives the voice broadcast update instruction and performs subsequent operations.

[0067] S202: According to the voice broadcast update instruction, a voice broadcast file is obtained from a corresponding download address, where the download address is used to indicate a storage path of the voice broadcast file.

[0068] The download address may be, for example, a URL address indicating a voice broadcast file. The communication module is pre-aware of the download address storing the voice broadcast file. There is a correlation between the voice broadcast update instruction and the save path of the voice broadcast file. When the communication module receives the voice broadcast update instruction, it indicates that the corpus of the voice device needs to be updated. At this time, the communication module can obtain the pre-stored voice broadcast file from the corresponding download address.

[0069] It is understandable that the voice broadcast update instruction does not include the corresponding voice broadcast file, and the purpose of the voice broadcast update instruction is only to let the communication module know that the corresponding voice broadcast file needs to be downloaded from the pre-stored download address.

[0070] S203: Sending the voice broadcast file to the control board of the voice home appliance, so that the control board can update the corpus according to the voice broadcast file.

[0071] Among them, the control board is an integrated circuit chip, which uses very large-scale integrated circuit technology to integrate a central processing unit CPU with data processing capabilities, random access memory RAM, read-only memory ROM, multiple I / O ports and interrupt systems, timers / counters and other functions (may also include display drive circuits, pulse width modulation circuits, analog multiplexers, A / D converters and other circuits) into a small and complete microcomputer system on a silicon chip.

[0072] For example, a voice broadcast file can be sent to a voice appliance through a serial port. The full name of the serial port is serial interface, also known as serial communication interface or serial communication interface (usually refers to COM interface), which is an expansion interface using serial communication. The serial interface (Serial Interface) refers to the sequential transmission of data one bit at a time. Its characteristic is that the communication line is simple, and two-way communication can be achieved with only one pair of transmission lines (telephone lines can be directly used as transmission lines), which greatly reduces the cost and is particularly suitable for long-distance communication.

[0073] The control board on the voice device is mainly used to store and read data, and it cannot transmit data. The control board is connected to the communication module.

[0074] In this step, after obtaining the corresponding voice broadcast file from the download address, the communication module sends the voice broadcast file to the control board, thereby realizing the corpus update of mid- and low-end voice devices and increasing the demand for mid- and low-end voice devices.

[0075] The corpus updating method provided by the present application obtains a voice broadcast update instruction sent by a cloud platform, wherein the voice broadcast update instruction is used to instruct the updating of the corpus; according to the voice broadcast update instruction, a voice broadcast file is obtained from a corresponding download address, wherein the download address is used to indicate the saving path of the voice broadcast file; the voice broadcast file is sent to a control panel of a voice home appliance, so that the control panel can update the corpus according to the voice broadcast file; the method realizes functions such as online replacement of corpus of voice equipment and personalized customization of corpus, thereby improving user experience.

[0076] Figure 3 This is the interactive diagram of the corpus update process provided by this application. Figure 3As shown, in this embodiment Figure 2 Based on the embodiment, the corpus updating method is described in detail. The corpus updating method shown in this embodiment includes:

[0077] S301: define an instruction information template, wherein the instruction information template includes fields for instruction type and download address.

[0078] The instruction type may include, for example, a voice update type, a program update type, a system update type, etc. Different instruction types correspond to different download addresses.

[0079] The download address field is a field of the storage address of the file to be updated, and is used to enable the communication module to download the corresponding file to be updated from different download addresses according to instructions of different instruction types.

[0080] In this step, for example, the cloud platform and the communication module may jointly define the instruction information template, the purpose of which is to clarify the download address of the file to be updated during the update.

[0081] Taking the command type of voice update type as an example, the cloud platform and the communication module jointly define that when the corpus needs to be updated, the cloud platform places the voice broadcast file to be updated in the corresponding download address, and the communication module obtains the voice broadcast file to be updated from the corresponding download address.

[0082] S302: Generate instruction information, where the instruction type of the instruction information is a target instruction type, and the download address field is a storage path of the voice broadcast file.

[0083] S303: Send the instruction information.

[0084] The target instruction type is a voice update type. The cloud platform generates instruction information according to a defined instruction information template, and the generated instruction information includes the voice update type and a download address corresponding to the voice update type.

[0085] The cloud platform sends the instruction information to the communication module so that the communication module performs corresponding operations according to the instruction information.

[0086] S304: Parse the instruction information, and when the instruction type is a target instruction type, determine that the instruction information is a voice broadcast update instruction.

[0087] Among them, after the communication module receives the instruction information, it needs to parse and process the instruction information to obtain the instruction type and the corresponding download address included in the instruction information.

[0088] In this step, the communication module parses the instruction information and finds that the instruction information is a voice broadcast update instruction.

[0089] S305: According to the voice broadcast update instruction, a voice broadcast file is obtained from a corresponding download address, where the download address is used to indicate a storage path of the voice broadcast file.

[0090] Among them, step S305 is similar to the above step S202 and will not be repeated here.

[0091] S306: Obtain a file directory in the control board memory for storing voice broadcast files.

[0092] Among them, the file directory means: in order to realize "access by name", a corresponding relationship between the file name and the physical address in the auxiliary storage space must be established. The data structure that reflects this corresponding relationship is called a file directory.

[0093] There are multiple file directories in the control panel, different file directories correspond to different storage addresses, the data stored in each storage address is different, and the data stored in each storage address corresponds to different functions.

[0094] In this step, it is necessary to obtain a file directory in the control board for storing voice broadcast files, so as to store the voice broadcast file to be updated in a corresponding storage address.

[0095] S307: Transfer the voice broadcast file to the file directory.

[0096] After acquiring the file directory storing the voice broadcast file, the communication module transfers the voice broadcast file to the file directory so that the voice broadcast file is stored in the corresponding storage address in the control board. For example, the communication module transfers the voice broadcast file to the corresponding file directory of the control board through the serial port connected to the control board.

[0097] S308: Read the voice broadcast file to update the corpus.

[0098] The control panel will read the files in the file directory and execute corresponding functions according to the corresponding files.

[0099] After the communication module transfers the voice broadcast file to the corresponding file directory, the control board can read the voice broadcast file in the storage address corresponding to the file directory, thereby updating the corpus.

[0100] S309: Generate a receipt file.

[0101] S310: Send the receipt file.

[0102] Among them, after the communication module transmits the voice broadcast file to the corresponding file directory, the communication module can generate and send a receipt file to the cloud platform, and the receipt file is used to indicate that the corpus has been updated.

[0103] S311: Recording the corpus update.

[0104] Among them, after receiving the receipt file sent by the communication module, the cloud platform will record the corpus update to clarify the detailed information of the corpus update.

[0105] The corpus updating method provided in the present application uploads a voice file through a cloud platform and generates a URL download address. The cloud platform and the communication module formulate a protocol to identify the instruction type. The cloud platform sends the instruction message to the device communication module, transmits the file download URL to the communication module, and the communication module accesses the URL to download the file into the memory, and transfers the file to the specified file directory in the memory of the device control board. The control board accesses the voice file in the memory according to the Internet of Things protocol and passively realizes the switching of the corpus. The method transfers the voice file through the communication module to help the Internet of Things device control board system replace the voice file and realize the switching of voice broadcast. The function of customizing the broadcast corpus is developed to improve the user experience.

[0106] Figure 4 Structural schematic diagram of the corpus updating device provided in this application Figure 1 .like Figure 4 As shown, the present application provides a corpus updating device, the corpus updating device 400 includes:

[0107] The acquisition module 401 is used to acquire the voice broadcast update instruction sent by the cloud platform, and the voice broadcast update instruction is used to instruct to update the corpus;

[0108] The acquisition module 401 is further used to acquire the voice broadcast file from the corresponding download address according to the voice broadcast update instruction, and the download address is used to indicate the storage path of the voice broadcast file;

[0109] The processing module 402 is used to send the voice broadcast file to the control board of the voice home appliance, so that the control board can update the corpus according to the voice broadcast file.

[0110] Optionally, the corpus updating device further includes: a definition module 403 and a determination module 404;

[0111] The definition module 403 is used to define an instruction information template, and the instruction information template includes: an instruction type;

[0112] The acquisition module 401 is specifically used to acquire instruction information sent by the cloud platform;

[0113] The processing module 402 is further used to parse the instruction information;

[0114] The determination module 404 is used to determine that the instruction information is a voice broadcast update instruction when the instruction type is a target instruction type.

[0115] Optionally, the processing module 402 is further configured to download the voice broadcast file from the field of the download address; and store the voice broadcast file in the memory of the communication module.

[0116] Optionally, the acquisition module 401 is used to acquire a voice broadcast update instruction sent by the cloud platform, and the voice broadcast update instruction is used to instruct to update the corpus;

[0117] Optionally, the processing module 402 is used to obtain a voice broadcast file from a corresponding download address according to the voice broadcast update instruction, and the download address is used to indicate a storage path of the voice broadcast file.

[0118] Optionally, the acquisition module 401 is further used to acquire a file directory in the control board memory for storing voice broadcast files;

[0119] The processing module 402 is further configured to transmit the voice broadcast file to the file directory.

[0120] Optionally, the processing module 402 is further configured to generate a receipt file, and send the receipt file to the cloud platform so that the cloud platform can record the corpus update.

[0121] Figure 5 Structural schematic diagram of the corpus updating device provided in this application Figure 2 .like Figure 5 As shown, the present application provides a corpus updating device, the corpus updating device 500 includes:

[0122] A definition module 501 is used to define an instruction information template, wherein the instruction information template includes: fields for instruction type and download address;

[0123] A generating module 502 is used to generate instruction information, wherein the instruction type of the instruction information is a target instruction type, and the download address field is a storage path of the voice broadcast file;

[0124] The processing module 503 is used to send the instruction information to the communication module.

[0125] Figure 6 This is a schematic diagram of the structure of the corpus updating device provided in this application. Figure 6As shown, the present application provides a corpus updating device, which includes: a receiver 601 , a transmitter 602 , a processor 603 and a memory 604 .

[0126] Receiver 601, used for receiving instructions and data;

[0127] A transmitter 602, used for sending instructions and data;

[0128] Memory 604, used to store computer-executable instructions;

[0129] The processor 603 is used to execute the computer-executable instructions stored in the memory 604 to implement the various steps performed by the corpus updating method in the above embodiment. For details, please refer to the relevant description in the above embodiment of the corpus updating method.

[0130] Optionally, the memory 604 may be independent or integrated with the processor 603 .

[0131] When the memory 604 is independently provided, the electronic device further includes a bus for connecting the memory 604 and the processor 603 .

[0132] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the corpus updating method executed by the above-mentioned corpus updating device is implemented.

[0133] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0134] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A corpus updating method, characterized in that: The method comprises: Obtaining a voice broadcast update instruction sent by the cloud platform, wherein the voice broadcast update instruction is used to instruct to update the corpus; According to the voice broadcast update instruction, a voice broadcast file is obtained from a corresponding download address, where the download address is used to indicate a storage path of the voice broadcast file; The voice broadcast file is sent to the control panel of the voice home appliance, so that the control panel can update the corpus according to the voice broadcast file.

2. The method according to claim 1, characterized in that Before obtaining the voice broadcast update instruction sent by the cloud platform, the method further includes: Define an instruction information template, the instruction information template includes: an instruction type; The step of obtaining the voice broadcast update instruction sent by the cloud platform includes: Get the command information sent by the cloud platform; The instruction information is parsed, and when the instruction type is a target instruction type, it is determined that the instruction information is a voice broadcast update instruction.

3. The method according to claim 2, characterized in that The instruction information template also includes: a download address field, and the voice broadcast file is obtained from a preset URL according to the voice broadcast update instruction, including: The voice broadcast file is downloaded from the field of the download address; and the voice broadcast file is stored in the memory of the communication module.

4. The method according to claim 1, characterized in that: The step of sending the voice broadcast file to the control panel of the voice home appliance comprises: Obtaining a file directory in the control board memory for storing voice broadcast files; The voice broadcast file is transferred to the file directory.

5. The method according to claims 1-4, characterized in that: After sending the voice broadcast file to the control panel of the voice home appliance, the method further includes: A receipt file is generated and sent to the cloud platform so that the cloud platform can record the corpus update.

6. A corpus updating method, characterized in that: The method comprises: Define an instruction information template, the instruction information template including: fields for instruction type and download address; Generate instruction information, the instruction type of the instruction information is a target instruction type, and the download address field is a save path of the voice broadcast file; The command information is sent to the communication module.

7. A corpus updating device, characterized in that: The device comprises: An acquisition module, used to acquire a voice broadcast update instruction sent by the cloud platform, wherein the voice broadcast update instruction is used to instruct to update the corpus; The acquisition module is further used to acquire the voice broadcast file from the corresponding download address according to the voice broadcast update instruction, and the download address is used to indicate the storage path of the voice broadcast file; The processing module is used to send the voice broadcast file to the control board of the voice home appliance, so that the control board can update the corpus according to the voice broadcast file.

8. A corpus updating device, characterized in that: The device comprises: A definition module, used to define an instruction information template, wherein the instruction information template includes: fields for instruction type and download address; A generating module, used for generating instruction information, wherein the instruction type of the instruction information is a target instruction type, and the field of the download address is a saving path of the voice broadcast file; The processing module is also used to send the instruction information to the communication module.

9. A corpus updating device, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the corpus updating method according to any one of claims 1 to 6.

10. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, which are used to implement the corpus updating method according to any one of claims 1 to 6 when executed by a processor.

Citation Information

Cited By

  • Custom voice broadcasting method, device and equipment for payment loudspeaker box and storage medium

    CN121281489A