CN114639376B - Voice chip capable of replacing voice content inside chip on line - Google Patents
Voice chip capable of replacing voice content inside chip on line Download PDFInfo
- Publication number
- CN114639376B CN114639376B CN202210328364.7A CN202210328364A CN114639376B CN 114639376 B CN114639376 B CN 114639376B CN 202210328364 A CN202210328364 A CN 202210328364A CN 114639376 B CN114639376 B CN 114639376B
- Authority
- CN
- China
- Prior art keywords
- voice
- data
- signal
- transmission
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 159
- 238000012545 processing Methods 0.000 claims abstract description 68
- 238000004891 communication Methods 0.000 claims description 31
- 238000006243 chemical reaction Methods 0.000 claims description 30
- 238000000034 method Methods 0.000 claims description 26
- 238000010586 diagram Methods 0.000 claims description 14
- 238000007781 pre-processing Methods 0.000 claims description 14
- 230000006835 compression Effects 0.000 claims description 12
- 238000007906 compression Methods 0.000 claims description 12
- 238000003860 storage Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 7
- 230000008054 signal transmission Effects 0.000 claims description 7
- 125000004122 cyclic group Chemical group 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 claims description 3
- 230000006641 stabilisation Effects 0.000 claims description 3
- 238000011105 stabilization Methods 0.000 claims description 3
- 230000008859 change Effects 0.000 abstract description 8
- 230000009286 beneficial effect Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000001276 controlling effect Effects 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 230000008676 import Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000004075 alteration Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000007670 refining Methods 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000002203 pretreatment Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a voice chip capable of replacing voice content in the chip on line, comprising: the importing module is used for receiving a voice control signal of the user terminal based on a preset wireless transmission device; the processing module is used for receiving and signal converting the voice control signal and generating voice instruction data; the voice replacing module is used for receiving voice replacing data of the user side, matching the voice replacing data with corresponding voice instruction data, and replacing the voice data of the voice chip through the matched voice instruction data; through wireless transmission and downloader, expanded the service scenario, overcome the built-in pronunciation of pronunciation chip in the poor scene of signal condition and change difficultly and can't be simultaneously to the problem of the high-efficient pronunciation content in the chip of changing of a plurality of pronunciation chips, improved chip pronunciation data through processing module and changed speed and change the security to through the accuracy that the pronunciation was changed to the pronunciation is changed to the module improvement.
Description
Technical Field
The invention relates to the technical field of electronic core industry, in particular to a voice chip capable of online replacing voice content inside the chip.
Background
At present, along with popularization of voice intelligentization application, voice processing requirements are higher and higher, in daily use scenes, such as intelligent wake-up services of the existing jail sound and other auxiliary services for voice conversion, including service use frequency of voice broadcasting early warning and the like, the use scenes are wider, especially for voice broadcasting processing, most chips generally need to be maintained by setting complex programs when needing to remotely replace voice scenes, the use cost is high, the network dependence degree is high, and voice contents cannot be replaced timely when meeting environments where the network cannot be used or the network is poor; the system and the method for recognizing the voice chip and loading the voice software in the home gateway are as the application number of 201710859956.0, and the WAN connection is established between the voice-driven initialization function module and the upper application layer, so that the function of calling the voice chip through the public function is realized; the method is focused on transferring a chip control code to an interconnected program to realize convenient control, but the maintenance cost is high, the safety and convenience of data replacement cannot be guaranteed, and particularly, the speed of the method is greatly reduced when the method is used for replacing different areas; the method can also realize the replacement of voice content in the chip by the downloader in a severe customer service environment, compress voice data meeting the conditions in the storage process, reduce capacity occupation, ensure the safety in the whole replacement process and control speed transmission.
Disclosure of Invention
The invention provides a voice chip capable of online replacing voice content in the chip, which is used for solving the problems that the voice content in the voice chip can be directly replaced in most scenes, the replacement efficiency and the safety are ensured, the voice storage size is compressed, and the number of storable voices is improved.
The invention provides a voice chip capable of replacing voice content in the chip on line, comprising:
and an importing module: the voice control device is used for receiving a voice control signal of a user terminal based on a preset wireless transmission device;
The processing module is used for: the voice control signal is used for receiving and signal converting, and voice instruction data is generated;
and the voice replacement module: the voice data exchange device is used for receiving voice exchange data of the user side, matching the voice exchange data with corresponding voice instruction data, and carrying out voice data exchange on the voice chip through the matched voice instruction data.
As an embodiment of the present technical solution, the importing module includes:
A wireless transmission unit, a downloader and an I/O unit; wherein,
The wireless transmission unit is in wireless connection with the user terminal through a preset wireless transmission device and performs data transmission; wherein,
The user terminal is connected with a plurality of infinite transmission devices in a wireless connection mode;
the wireless connection mode at least comprises network connection and Bluetooth connection; wherein,
The network connection at least comprises a wireless network connection and a regional network connection;
The data transmission is that a user side transmits a voice control signal through a preset node transmission mode; wherein,
The node transmission mode comprises a single node transmission mode and a multi-node transmission mode;
the multi-node transmission is multi-node dynamic transmission and is used for transmitting voice control signals to a plurality of voice chips through a user side in preset transmission conditions; wherein,
The transmission conditions at least comprise simultaneous transmission conditions and batch transmission conditions;
The downloading device is used for carrying out replacement pretreatment on the voice control signal;
the I/O unit is used for connecting the downloading device and the processing module, acquiring a voice control signal and transmitting the voice control signal from the downloading device to the processing module;
The I/O unit is also used for keeping the level of the processing module stable; wherein,
The level stabilization includes: high level stability, low level stability.
As an embodiment of the present technical solution, a preprocessing module is further included between the importing module and the processing module, and a preprocessing module is further included between the importing module and the processing module, where the preprocessing module includes:
A transmission unit and a control unit; wherein,
The transmission unit is used for carrying out communication judgment on the received voice control signals based on a preset UART transmitter, acquiring a communication mode corresponding to the voice control signals and transmitting the voice control signals to the control unit according to the communication mode; wherein,
The communication modes at least comprise a serial communication mode and a parallel communication mode;
The control unit is used for adjusting the data transmission speed based on a preset SPI controller and a communication mode, and transmitting the received voice control signal to the processing module according to the data transmission speed; wherein,
Based on the SPI controller and the communication mode of predetermineeing, adjust signal transmission speed includes: according to a preset SPI controller and a communication mode, calculating the transmission speed corresponding to the voice control signal, comparing the transmission speed with a preset safe transmission speed threshold value, and determining a comparison result; wherein,
When the comparison result shows that the transmission speed is greater than the preset safe transmission speed threshold, controlling the signal transmission speed within the range of the safe transmission speed threshold;
And when the comparison result is that the transmission speed is smaller than or equal to a preset safe transmission speed threshold value, keeping the transmission speed to continue transmission.
As an embodiment of the present technical solution, the preprocessing module further includes:
A voice processing unit and a storage unit; wherein,
The voice processing unit is used for reading the signal format type of the voice control signal, judging whether the signal format type is an alternative format signal or not, and determining a judging result; wherein,
When the judging result is that the data format type is the non-replaceable format signal, the voice processing unit performs format conversion processing on the corresponding voice control signal;
when the judging result is that the signal format type is a replaceable format signal, replacing the voice control signal;
The memory is used for storing the voice control signals and compressing and storing the voice control signals according to preset compression constraint conditions; wherein,
The compression constraints include at least a compression format and a compression size.
As an embodiment of the present technical solution, the processing module includes:
a signal conversion unit: the voice control signal processing module is used for carrying out signal conversion on the received voice control signal to generate voice instruction data; wherein,
The signal conversion of the received voice control signal comprises the following steps:
step S01: the playing state of the voice module is obtained through playing detection of the voice module; wherein,
The play state includes: a continuous play state, a stop play state;
Step S02: the method comprises the steps of obtaining signal data by filtering a received voice control signal, judging the data composition type of the signal data, and determining a type judgment result; wherein,
The signal data includes command signals and address signals;
The data composition type of the signal data includes: a first data composition type, a second data composition type, and a third data composition type; wherein,
The first data composition type is that signal data only comprises command signals;
the second data composition type is that the signal data comprises command signals and address signals;
the third data composition type is that only address signals are included in the signal data;
Step S03: when the judging result is that the data composition type of the signal data is the first data composition type or the third data composition type, terminating the continuous play state, and performing one-to-one comparison and matching on the command signal in the first data composition type or the address signal in the third data composition type and a single signal in a preset single signal comparison table to obtain a matching result; wherein,
The single signal comparison table comprises a command signal comparison table and an address signal comparison table;
When the matching result is that the command signal in the first data composition type or the address signal in the third data composition type is matched with a single signal in a preset single signal comparison table, single signal control data are generated;
when the matching result is that the command signal in the first data composition type or the address signal in the third data composition type is not matched with a single signal in a preset single signal comparison table, generating single signal termination data;
Step S04: when the data composition type of the signal data is the second data composition type, carrying out voice instruction analysis according to the command signal and the address signal corresponding to the voice control signal; wherein,
The voice instruction analysis includes: matching is carried out according to the command signals and the address signals of the second data composition type, and a signal link code is determined; combining the signal connection code, the command signal and the address signal according to a preset combination sequence to obtain an instruction signal, and performing comparison analysis according to the instruction signal and a preset instruction table to obtain corresponding voice instruction data; wherein,
The combination sequence is command signal, signal connection code and address signal.
As an embodiment of the present invention, the voice command data includes:
Linking instruction data, play instruction data and state instruction data; wherein,
The splicing instruction data is used for inserting and splicing the replaceable voice data to a target splicing node in the playing voice;
the playing instruction data is used for controlling the playing time of the playing voice based on the playing stage of the current playing voice;
The state instruction data is used for changing the playing state of the playing voice; wherein, the playing state at least comprises cyclic playing, single playing and disordered playing.
As an embodiment of the present technical solution, the voice replacing module includes a first replacing unit and a broadcasting unit; wherein,
The first replacing unit is used for carrying out semantic analysis on received voice command data based on a preset big data center, generating a voice control command set, carrying out priority ranking on voice control commands in the voice control command set, obtaining a ranking result, and generating a replacing sequence according to the ranking result; wherein,
The voice control instruction set includes: a linking instruction, a playing instruction and a status instruction;
the voice control instruction priority comprises the following steps from high to low: a status instruction, a play instruction, and a join instruction;
the replacement sequence at least comprises a replacement step and a strategy serial number.
As an embodiment of the present technical solution, the processing module further includes a serial port unit; the one-line serial port unit includes:
A time length proportion subunit: the conversion time length is used for acquiring the conversion time length when the processing module converts the voice control signal, and the time length proportion of the high-level conversion time length to the low-level conversion time length in the conversion time length is calculated;
level state subunit: the data bit determining module is used for determining corresponding data bits according to the duration proportion; wherein, the data bit is used for describing the level state of the data line for transmitting data at the high level and the low level respectively during serial communication;
A timing subunit: the method comprises the steps of generating a corresponding time sequence diagram through the data bit, and acquiring the transmission time sequence of voice instruction data based on the time sequence diagram;
A transmission subunit: and the voice command data transmission time sequence and the single transmission size are determined according to the time sequence.
As an embodiment of the present technical solution, the first control unit is further configured to receive voice replacement data of a user side, obtain a data sequence number of the voice replacement data, and match the data sequence number with a policy sequence number to generate a matching result; wherein,
When the matching result is that the matching fails, the replacement sequence is adjusted;
When the matching result is that the matching is successful, replacing the voice replacement data with the initial voice data according to the replacement sequence, and playing the voice through a preset player;
The voice replacement data comprise voice replacement content, voice broadcast replacement type and voice replacement volume;
The player comprises at least a pseudo-sound player and a loudspeaker.
As an embodiment of the present technical solution, the replacement pretreatment includes the following steps:
the voice control signal replacing pretreatment is used for replacing and preprocessing the voice control signal;
step one: acquiring voice of a user side, converting voice content, acquiring voice content, making a voice source file according to the voice content, generating a voice control signal, and transmitting the voice control signal to a downloading device;
Step two: detecting a connection state of the downloader and the I/O unit by connecting the downloader with the I/O unit; wherein the connection state includes an input state and a floating state;
Step three: and screening out safe power supply data according to the connection state and a preset power supply comparison table, carrying out safe power supply on the downloading device according to the safe power supply data, and transmitting a voice control signal to the processing module through the I/O unit.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of a voice chip capable of online replacing voice content inside the chip according to an embodiment of the present invention;
FIG. 2 is a flow chart of signal conversion of a received voice control signal in a voice chip capable of online replacing voice content inside the chip according to an embodiment of the present invention;
Fig. 3 is a flowchart of a replacement preprocessing in a voice chip capable of online replacing voice content inside the chip in an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
It will be understood that when an element is referred to as being "mounted" or "disposed" on another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly or indirectly connected to the other element.
It is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are merely for convenience in describing and simplifying the description based on the orientation or positional relationship shown in the drawings, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus are not to be construed as limiting the invention.
Furthermore, it should be noted that in this document relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
According to the invention, through the importing module, the voice contents of a plurality of voice chips can be replaced wirelessly at the same time, and the network-free voice content replacement can be realized under different environments through the downloading device; the SPI and UART are used for improving the data transmission efficiency, and guaranteeing the power supply stability of the chip in the transmission process; the processing module receives the voice control signal, so that the accuracy of voice control signal transmission is ensured, and the voice replacement condition is refined and the accuracy of voice replacement is improved through the voice replacement module.
Example 1:
the embodiment of the invention provides a voice chip capable of online replacing voice content inside the chip, which comprises the following components:
and an importing module: the voice control device is used for receiving a voice control signal of a user terminal based on a preset wireless transmission device;
The processing module is used for: the voice control signal is used for receiving and signal converting, and voice instruction data is generated;
And the voice replacement module: the voice data exchange device is used for receiving voice exchange data of a user side, matching the voice exchange data with corresponding voice instruction data, and carrying out voice data exchange on a voice chip through the matched voice instruction data;
The working principle of the technical scheme is as follows: in the operation of the voice chip, data are generally processed according to a built-in preset program, different voice prompts are carried out on different scenes through preset voice data, and sometimes when the voice data in the chip are replaced, the chip is required to be replaced, or the voice chip is identified and voice software is loaded in a home gateway and is controlled through wireless transmission through a preset loading system, but the control speed is deeply influenced by the environment of the scenes, and the problems of strong limitation, low risk resistance, low transmission speed and the like are caused; in the above technical solution, as shown in fig. 1, an importing module, a processing module and a voice replacing module are provided, which aim at realizing online replacement of voice content of one or more voice chips through wireless transmission, converting voice control signals into voice command data through the processing module, matching the voice command data with the voice online module acquired by the user terminal through the voice replacing module, determining a replacing step, and completing the replacement; simultaneously, different purposes in different scenes in different areas are regulated and controlled through a preset downloading device, the downloading device is connected with an interface device through preset replacement voice files, the voice files are transmitted to a processing device to be processed, and the voice files can be the voice chip working logic modified through a preset program or the corresponding voice data in built-in data; finally, the voice playing is carried out through the voice replacing module; the method comprises the steps that a downloading device is connected with an importing module, the importing module is connected with the downloading device, the downloading device is connected with the importing module, the copying device is turned off, the downloading device is connected with the importing module, the copying device and the downloading device are both turned on, after the file is transmitted, the copying device is turned on in a preset period, and at the moment, voice replacement is successful;
The beneficial effects of the technical scheme are as follows: through the wireless transmission and the downloader of leading-in module, expanded the service scenario, strengthened the user side and controlled a plurality of pronunciation chips simultaneously and carried out pronunciation content change efficiency, overcome the built-in pronunciation of pronunciation chip in the poor scene of signal condition and change difficult problem, improved chip pronunciation data change speed and change security through processing module and pronunciation change module to improve the accuracy of pronunciation change.
Example 2:
in one embodiment, the import module includes:
A wireless transmission unit, a downloader and an I/O unit; wherein,
The wireless transmission unit is in wireless connection with the user terminal through a preset wireless transmission device and performs data transmission; wherein,
The user terminal is connected with a plurality of infinite transmission devices in a wireless connection mode;
the wireless connection mode at least comprises network connection and Bluetooth connection; wherein,
The network connection at least comprises a wireless network connection and a regional network connection;
The data transmission is that a user side transmits a voice control signal through a preset node transmission mode; wherein,
The node transmission mode comprises a single node transmission mode and a multi-node transmission mode;
the multi-node transmission is multi-node dynamic transmission and is used for transmitting voice control signals to a plurality of voice chips through a user side in preset transmission conditions; wherein,
The transmission conditions at least comprise simultaneous transmission conditions and batch transmission conditions;
the multi-node dynamic transmission includes the steps of:
Step S10: the method comprises the steps that a user side sends voice control signals to a preset number of voice chips in a first preset time, the preset number is the number which changes dynamically in the first preset time, a voice chip node group { t 1,t2,…,tm } capable of receiving the voice control signals is obtained, and a node speed prediction equation is established:
wherein, For the transmission speed of the ith voice control signal by the jth voice chip node in the preset time,In order to perform the transmission speed of the ith-1 voice control signal by the jth voice chip node within the preset time, θ is the comparison speed, mu j is the transmission speed influence parameter of the jth voice chip node,The fastest node speed is transmitted to all the current nodes; i and j are variables, i is more than or equal to 2 and n is more than or equal to n, j is more than or equal to 1 and less than or equal to m;
Step S20: by determining the speed of transmission Whether the speed p j is smaller than a preset speed p j or not, and establishing a transmission speed optimization equation:
wherein, The optimal speed of transmission of the ith voice control signal is performed for the jth voice chip node,As a switching function, ρ j is the comparison speed of the j-th voice chip node transmission,For the fastest speed in the transmission of the i-1 st speech control signal;
Step S30: respectively sending voice control signals to each voice chip in preset time according to the optimizing speed;
The downloading device is used for carrying out replacement pretreatment on the voice control signal;
the I/O unit is used for connecting the downloading device and the processing module, acquiring a voice control signal and transmitting the voice control signal from the downloading device to the processing module;
The I/O unit is also used for keeping the level of the processing module stable; wherein,
The level stabilization includes: high level stability and low level stability;
The working principle of the technical scheme is as follows: in the prior art, when the voice content in the voice chip is replaced, the replacement program is carried out by an external replacement device or the chip is directly replaced, or the replacement content is transmitted through a network, so that the situation that the extreme transmission environment is not suitable and different replacement is carried out for a plurality of chips at the same time can not be dealt with; according to the technical scheme, the user side is wirelessly connected with a plurality of infinite transmission devices through the wireless transmission unit, voice control signals can be transmitted through a single-node transmission mode and a multi-node transmission mode, multi-node transmission is multi-node dynamic transmission, and the voice control signals are transmitted to a plurality of voice chips by the user side under the simultaneous transmission condition and the batch transmission condition, wherein when the simultaneous transmission is carried out, the user side simultaneously transmits voice data for updating to a plurality of nodes; when batch transmission is carried out, the user side respectively transmits a plurality of voice data for updating to the corresponding nodes; the downloading device is used for carrying out replacement pretreatment on the voice control signal, and the I/O unit keeps the high-level stability and the low-level stability of the processing module;
The beneficial effects of the technical scheme are as follows: the wireless transmission module is used for carrying out multi-node dynamic transmission, so that the number and the transmission efficiency of the transmission object-oriented are improved; the level stability is maintained in the process of connecting the downloader and the processing device through the I/O unit, so that the safety and the transmission efficiency of data transmission are improved.
Example 3:
in one embodiment, a preprocessing module is further included between the importing module and the processing module, and the preprocessing module includes:
A transmission unit and a control unit; wherein,
The transmission unit is used for carrying out communication judgment on the received voice control signals based on a preset UART transmitter, acquiring a communication mode corresponding to the voice control signals and transmitting the voice control signals to the control unit according to the communication mode; wherein,
The communication modes at least comprise a serial communication mode and a parallel communication mode;
The control unit is used for adjusting the data transmission speed based on a preset SPI controller and a communication mode, and transmitting the received voice control signal to the processing module according to the data transmission speed; wherein,
Based on the SPI controller and the communication mode of predetermineeing, adjust signal transmission speed includes: according to a preset SPI controller and a communication mode, calculating the transmission speed corresponding to the voice control signal, comparing the transmission speed with a preset safe transmission speed threshold value, and determining a comparison result; wherein,
When the comparison result shows that the transmission speed is greater than the preset safe transmission speed threshold, controlling the signal transmission speed within the range of the safe transmission speed threshold;
when the comparison result is that the transmission speed is smaller than or equal to a preset safe transmission speed threshold value, keeping the transmission speed to continue transmission;
The technical principle of the technical scheme is as follows: in the prior art, the transmission control fineness is simplified due to the reduction of the cost, so that the circuit is overloaded due to the fact that the transmission is too fast, the potential safety hazard is increased, or the transmission speed is reduced for ensuring the safety, and the replacement efficiency is reduced; in the technical scheme, a UART (Universal Asynchronous Receiver/Transmitter, a universal asynchronous receiver Transmitter) Transmitter and an SPI (SERIAL PERIPHERAL INTERFACE is a peripheral interface) controller are used for respectively regulating and controlling the transmission speed, and the transmission control of the maximum speed is performed within a safe transmission speed threshold range; the I/O unit further comprises a first monitoring subunit and a second monitoring subunit; the first monitoring subunit is used for monitoring the power-on initial time and the power-on duration time of the wireless transmission unit; the second monitoring subunit is used for monitoring the processing module, acquiring circuit data of the processing module and judging whether the processing module is in a low-power consumption state or not; if yes, current backflow prevention treatment is carried out; wherein the circuit data includes: current data, voltage data;
The beneficial effects of the technical scheme are as follows: the UART increases communication modes, improves pertinence to replacement data transmission, improves transmission speed, regulates and controls the transmission speed through the SPI, and ensures stability and safety of voice control signals during transmission.
Example 4:
in one embodiment, the preprocessing module further includes:
A voice processing unit and a storage unit; wherein,
The voice processing unit is used for reading the signal format type of the voice control signal, judging whether the signal format type is an alternative format signal or not, and determining a judging result; wherein,
When the judging result is that the data format type is the non-replaceable format signal, the voice processing unit performs format conversion processing on the corresponding voice control signal;
when the judging result is that the signal format type is a replaceable format signal, replacing the voice control signal;
The memory is used for storing the voice control signals and compressing and storing the voice control signals according to preset compression constraint conditions; wherein,
The compression constraint includes at least a compression format and a compression size;
The working principle of the technical scheme is as follows: in the prior art, the data to be replaced is generally subjected to corresponding replacement processing, so that the data of different types can be replaced to the position of the initial data easily, and errors can be caused; in the above technical solution, the voice processing unit analyzes the voice control signal, first determines the type of the voice control signal, determines whether the voice control signal is a replaceable signal, if the voice control signal is a non-replaceable signal, the transmission is ended, if the voice control signal is a replaceable signal, the voice control signal is generated by analyzing and converting the voice control signal, and the replaceable signal is compressed and stored in the memory;
The beneficial effects of the technical scheme are as follows: by carrying out replaceable judgment on the transmission data, useful replacement data is screened out, and the accuracy and the replacement efficiency of voice data replacement are improved.
Example 5:
in one embodiment, the processing module comprises:
a signal conversion unit: the voice control signal processing module is used for carrying out signal conversion on the received voice control signal to generate voice instruction data; wherein,
The signal conversion of the received voice control signal comprises the following steps:
step S01: the playing state of the voice module is obtained through playing detection of the voice module; wherein,
The play state includes: a continuous play state, a stop play state;
Step S02: the method comprises the steps of obtaining signal data by filtering a received voice control signal, judging the data composition type of the signal data, and determining a type judgment result; wherein,
The signal data includes command signals and address signals;
The data composition type of the signal data includes: a first data composition type, a second data composition type, and a third data composition type; wherein,
The first data composition type is that signal data only comprises command signals;
the second data composition type is that the signal data comprises command signals and address signals;
the third data composition type is that only address signals are included in the signal data;
Step S03: when the judging result is that the data composition type of the signal data is the first data composition type or the third data composition type, terminating the continuous play state, and performing one-to-one comparison and matching on the command signal in the first data composition type or the address signal in the third data composition type and a single signal in a preset single signal comparison table to obtain a matching result; wherein,
The single signal comparison table comprises a command signal comparison table and an address signal comparison table;
When the matching result is that the command signal in the first data composition type or the address signal in the third data composition type is matched with a single signal in a preset single signal comparison table, single signal control data are generated;
when the matching result is that the command signal in the first data composition type or the address signal in the third data composition type is not matched with a single signal in a preset single signal comparison table, generating single signal termination data;
Step S04: when the data composition type of the signal data is the second data composition type, carrying out voice instruction analysis according to the command signal and the address signal corresponding to the voice control signal; wherein,
The voice instruction analysis includes: matching is carried out according to the command signals and the address signals of the second data composition type, and a signal link code is determined; combining the signal connection code, the command signal and the address signal according to a preset combination sequence to obtain an instruction signal, and performing comparison analysis according to the instruction signal and a preset instruction table to obtain corresponding voice instruction data; wherein,
The combination sequence is a command signal, a signal connection code and an address signal;
the comparison analysis of the instruction signal and the preset instruction table comprises the following steps:
Step S100: obtaining an address character string group { x 1,x2,…,xs } in the instruction signal and an address comparison character string group { y 1,y2,…,yd } in the instruction table, and calculating initial similarity between the address character strings in the instruction signal and the corresponding address comparison character strings in a preset range
Wherein, For the initial similarity of the address string x r and the address comparison string y q, x k is the kth character in the address string group, y f is the f-th character in the address comparison string group, where k, f are variables, and 1 r-v is equal to or less than or equal to k+v is equal to or less than or equal to r+v is equal to s,1 q-v is equal to or less than or equal to f is equal to q+v is equal to or less than or equal to d,For the length of the address string x k,For the length of the address comparison character string y f, sigma is the character string matching first coefficient, gamma is the character string matching second coefficient, 2v is the matching range, and represents the number of address comparison character strings matched by one address character string;
Step S200: judging whether the corresponding address comparison character string is successfully found according to the initial similarity, and if not, calculating the advanced similarity delta *:
wherein, The method comprises the steps that the advanced similarity of an address character string x r and an address comparison character string y q is achieved, epsilon is an advanced parameter, the advanced parameter is a preset common length of all character strings, beta is an advanced factor, and beta is less than or equal to 0.2; max (r, q) is the maximum of r and q;
Step S300: and calculating dissimilarity lambda of the address contrast character string group in the instruction table according to the advanced similarity:
Wherein eta is a similarity negative influence factor, u a is the probability that an a-th character string y a in the address comparison character string group is compared, wherein a is a variable, and a is more than or equal to 1 and less than or equal to d;
Step S400: acquiring corresponding data of the instruction signal in a preset instruction table according to the advanced similarity delta *, and judging whether the dissimilarity lambda is in a preset range if the corresponding data cannot be found through the advanced similarity delta *; wherein,
When the dissimilarity lambda is within a preset range, performing control analysis again;
when the dissimilarity lambda is not in a preset range, the current instruction signal has no corresponding data in a preset instruction table;
The working principle of the technical scheme is as follows: as shown in fig. 2, first, the root voice module performs play detection to obtain a play state detection result, and if the play state is a continuous play state, a voice control signal needs to be detected; secondly, when the voice control signal is detected, the command code and the address of the voice control signal are acquired, judgment is carried out, if only the address exists, the playing is stopped, and only if the command code and the address exist at the same time, the combination analysis can be carried out; finally, screening out corresponding voice link codes according to the acquired command codes and addresses, and combining and comparing the corresponding voice link codes to acquire corresponding voice command data, wherein the comparison is performed through a preset control comparison table, and the control comparison table can be adjusted according to different use environments and different application functions;
The beneficial effects of the technical scheme are as follows: the current playing state is adjusted through the voice control signal, so that the replacement efficiency is enhanced, the accuracy of correspondence between voice replacement data to the control signal and then to specific control data is improved through analysis and acquisition of command codes and voice instructions, and the transmission safety is also ensured.
Example 6:
in one embodiment, the voice instruction data includes:
Linking instruction data, play instruction data and state instruction data; wherein,
The splicing instruction data is used for inserting and splicing the replaceable voice data to a target splicing node in the playing voice;
the playing instruction data is used for controlling the playing time of the playing voice based on the playing stage of the current playing voice;
The state instruction data is used for changing the playing state of the playing voice; wherein, the playing state at least comprises cyclic playing, single playing and disordered playing;
The working principle of the technical scheme is as follows: in the prior art, the judgment on the instruction of voice replacement and the instruction application is not clear, but in the prior art, the instruction data, the play instruction data and the state instruction data are respectively called to realize play under different scenes, and the play stage comprises a stage of waiting for the end of initial voice: a first stage, a second stage and a third stage; the first stage is a stage of waiting for the end of the initial voice; the second stage is a stage of waiting for the start of the playing of the replaceable voice without the initial voice; the third stage is a stage in which the replaceable voice has started to play; the detection to be played comprises the following steps: detecting whether the command data is influenced, if so, stopping current voice playing; the influencing instruction data are instruction data with higher significance levels except for the connection instruction data, the playing instruction data and the circulation instruction data, such as forced shutdown instructions and the like; the circulation instruction data is used for controlling the replaceable voice to play according to a preset circulation period; when the playing state is the cyclic playing, the cyclic playing is carried out on the replacement voice, wherein the cyclic playing is directly carried out if the replacement voice is a single-section voice, if the replacement voice is a multi-section voice, a part capable of being circularly played needs to be confirmed, and the part is circularly played; the single playing directly plays the replaced voice once, and then stops playing; the out-of-order playing is to play the replaced voice segments according to the random sequence;
The beneficial effects of the technical scheme are as follows: the accuracy of chip data replacement control is improved by refining different control instructions, the applicability to different control scenes is improved by screening in a playing stage, and the negative influence possibly caused by other instruction factors is sent out by waiting to play detection, so that the stability of control is improved.
Example 7:
In one embodiment, the voice replacement module comprises a first replacement unit and a broadcasting unit; wherein,
The first replacing unit is used for carrying out semantic analysis on received voice command data based on a preset big data center, generating a voice control command set, carrying out priority ranking on voice control commands in the voice control command set, obtaining a ranking result, and generating a replacing sequence according to the ranking result; wherein,
The voice control instruction set includes: a linking instruction, a playing instruction and a status instruction;
the voice control instruction priority comprises the following steps from high to low: a status instruction, a play instruction, and a join instruction;
the replacement sequence at least comprises a replacement step and a strategy serial number;
The working principle of the technical scheme is as follows: in the prior art, when the voice content is replaced, the replacement is usually completed through a single complete replacement program, a certain instruction cannot be accurately and in the replacement process, the replacement program can be directly interrupted and a new replacement program can be reset, in the technical scheme, the voice control instruction sets are respectively sequenced, different sequences are performed according to different application scenes, and finally, the determination of replacement steps is realized according to the sequencing sequence;
the beneficial effects of the technical scheme are as follows: by refining the replaced voice control instructions and setting the priority, the speed of instruction sequencing and generating replacement steps is improved, and the voice replacement control efficiency is improved.
Example 8:
in one embodiment, the processing module further includes a serial port unit; the one-line serial port unit includes:
A time length proportion subunit: the conversion time length is used for acquiring the conversion time length when the processing module converts the voice control signal, and the time length proportion of the high-level conversion time length to the low-level conversion time length in the conversion time length is calculated;
level state subunit: the data bit determining module is used for determining corresponding data bits according to the duration proportion; wherein, the data bit is used for describing the level state of the data line for transmitting data at the high level and the low level respectively during serial communication;
A timing subunit: the method comprises the steps of generating a corresponding time sequence diagram through the data bit, and acquiring the transmission time sequence of voice instruction data based on the time sequence diagram;
a transmission subunit: the voice command data transmission method comprises the steps of determining the transmission time sequence and the single transmission size of voice command data according to the time sequence;
the working principle of the technical scheme is as follows: the data transmission process is managed through a serial port time sequence, the data bit height can be compared, the transmission sequence and the transmission speed of different time are determined, the data bit is calculated according to the ratio of the high level to the low level, and finally the transmission time sequence of the voice command data is determined according to the generated time sequence diagram;
The beneficial effects of the technical scheme are as follows: by analyzing the data bit, the accuracy of determining the time sequence of the transmission of the voice command data is improved.
Example 9:
In one embodiment, the first control unit is further configured to receive voice replacement data of the user side, obtain a data sequence number of the voice replacement data, and match the data sequence number with a policy sequence number to generate a matching result; wherein,
When the matching result is that the matching fails, the replacement sequence is adjusted;
When the matching result is that the matching is successful, replacing the voice replacement data with the initial voice data according to the replacement sequence, and playing the voice through a preset player;
The voice replacement data comprise voice replacement content, voice broadcast replacement type and voice replacement volume;
the player comprises at least a pseudo-sound player and a loudspeaker;
The working principle of the technical scheme is as follows: comparing the data sequence number of the replacement data with the strategy sequence number, judging a comparison result, and when the comparison is successful, replacing voice data and playing the voice data, wherein the voice content, the voice broadcasting type and the voice volume can be changed when the voice is replaced;
The beneficial effects of the technical scheme are as follows: through serial number matching, the accuracy of replacing content of voice data is improved, the replacement range is grasped, the replacement efficiency is improved, and the replaceable data type is expanded.
Example 10:
in one embodiment, the replacement pre-treatment comprises the steps of:
the voice control signal replacing pretreatment is used for replacing and preprocessing the voice control signal;
step one: acquiring voice of a user side, converting voice content, acquiring voice content, making a voice source file according to the voice content, generating a voice control signal, and transmitting the voice control signal to a downloading device;
Step two: detecting a connection state of the downloader and the I/O unit by connecting the downloader with the I/O unit; wherein the connection state includes an input state and a floating state;
Step three: screening out safe power supply data according to the connection state and a preset power supply comparison table, carrying out safe power supply on the downloading device according to the safe power supply data, and transmitting a voice control signal to the processing module through the I/O unit;
The working principle of the technical scheme is as follows: as shown in fig. 3, firstly, a voice source file is produced by converting voice content to generate a voice control signal, then the voice control signal is transmitted to an import module through a downloader, an I/O unit is connected through the downloader, and at this time, the connection state of the voice source file and the import module is obtained, wherein the connection state comprises an input state and a floating state; finally, screening out the safe power supply data, and carrying out safe power supply on the downloading device according to the safe power supply data;
The beneficial effects of the technical scheme are as follows: the download device is powered differently through connection state analysis, so that the safety of the download device is protected, the safety of interface connection and the efficiency of replacement pretreatment are improved, and the use safety and the use time of the download device and the chip are improved through safe power supply.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (9)
1. A voice chip capable of online replacing voice content inside the chip, comprising:
and an importing module: the voice control device is used for receiving a voice control signal of a user terminal based on a preset wireless transmission device;
the processing module is used for: the voice control signal is used for carrying out signal conversion on the voice control signal to generate voice instruction data;
And the voice replacement module: the voice data exchange device is used for receiving voice exchange data of a user side, matching the voice exchange data with corresponding voice instruction data, and carrying out voice data exchange on a voice chip through the matched voice instruction data;
The importing module includes:
A wireless transmission unit, a downloader and an I/O unit; wherein,
The wireless transmission unit is in wireless connection with the user terminal through a preset voice wireless transmission device to perform data transmission; wherein,
The user terminal is connected with a plurality of voice infinite transmission devices in a wireless connection mode;
the wireless connection mode at least comprises network connection and Bluetooth connection; wherein,
The network connection at least comprises a wireless network connection and a regional network connection;
The data transmission is that a user side transmits a voice control signal through a preset node transmission mode; wherein,
The node transmission mode comprises a single node transmission mode and a multi-node transmission mode;
the multi-node transmission is multi-node dynamic transmission and is used for transmitting voice control signals to a plurality of voice chips through a user side in preset transmission conditions; wherein,
The transmission conditions at least comprise simultaneous transmission conditions and batch transmission conditions;
The downloading device is used for carrying out replacement pretreatment on the voice control signal;
the I/O unit is used for connecting the downloading device and the processing module, acquiring a voice control signal and transmitting the voice control signal from the downloading device to the processing module;
The I/O unit is also used for keeping the level of the processing module stable; wherein,
The level stabilization includes: high level stability and low level stability; wherein,
The high level is stabilized in such a way that the level value of the processing module is within a preset high level threshold range;
The low level is stabilized in such a way that the level value of the processing module is within a preset low level threshold range.
2. The voice chip capable of online replacing voice content inside the chip according to claim 1, wherein a preprocessing module is further included between the importing module and the processing module, the preprocessing module includes:
A transmission unit and a control unit; wherein,
The transmission unit is used for carrying out communication judgment on the received voice control signals based on a preset UART transmitter, acquiring a communication mode corresponding to the voice control signals and transmitting the voice control signals to the control unit according to the communication mode; wherein,
The communication modes at least comprise a serial communication mode and a parallel communication mode;
The control unit is used for adjusting the data transmission speed based on a preset SPI controller and a communication mode, and transmitting the received voice control signal to the processing module according to the data transmission speed; wherein,
Based on the SPI controller and the communication mode of predetermineeing, adjust signal transmission speed includes: according to a preset SPI controller and a communication mode, calculating the transmission speed corresponding to the voice control signal, comparing the transmission speed with a preset safe transmission speed threshold value, and determining a comparison result; wherein,
When the comparison result shows that the transmission speed is greater than the preset safe transmission speed threshold, controlling the signal transmission speed within the range of the safe transmission speed threshold;
And when the comparison result is that the transmission speed is less than or equal to a preset safe transmission speed threshold, continuing to transmit according to the transmission speed.
3. The voice chip for on-line replacing voice content inside the chip according to claim 2, wherein the preprocessing module further comprises:
A voice processing unit and a storage unit; wherein,
The voice processing unit is used for reading the signal format type of the voice control signal, judging whether the signal format type is an alternative format signal or not, and determining a judging result; wherein,
When the judging result is that the data format type is the non-replaceable format signal, the voice processing unit performs format conversion processing on the corresponding voice control signal;
when the judging result is that the signal format type is a replaceable format signal, replacing the voice control signal;
The memory is used for storing the voice control signals and compressing and storing the voice control signals according to preset compression constraint conditions; wherein,
The compression constraints include at least a compression format and a compression size.
4. The voice chip for on-line replacing voice content inside the chip according to claim 1, wherein the processing module comprises:
a signal conversion unit: the voice control signal processing module is used for carrying out signal conversion on the received voice control signal to generate voice instruction data; wherein,
The signal conversion of the received voice control signal comprises the following steps:
step S01: the playing state of the voice module is obtained through playing detection of the voice module; wherein,
The play state includes: a continuous play state, a stop play state;
Step S02: the method comprises the steps of obtaining signal data by filtering a received voice control signal, judging the data composition type of the signal data, and determining a type judgment result; wherein,
The signal data includes command signals and address signals;
The data composition type of the signal data includes: a first data composition type, a second data composition type, and a third data composition type; wherein,
The first data composition type is that signal data only comprises command signals;
the second data composition type is that the signal data comprises command signals and address signals;
the third data composition type is that only address signals are included in the signal data;
Step S03: when the judging result is that the data composition type of the signal data is the first data composition type or the third data composition type, terminating the continuous play state, and performing one-to-one comparison and matching on the command signal in the first data composition type or the address signal in the third data composition type and a single signal in a preset single signal comparison table to obtain a matching result; wherein,
The single signal comparison table comprises a command signal comparison table and an address signal comparison table;
When the matching result is that the command signal in the first data composition type or the address signal in the third data composition type is matched with a single signal in a preset single signal comparison table, single signal control data are generated;
when the matching result is that the command signal in the first data composition type or the address signal in the third data composition type is not matched with a single signal in a preset single signal comparison table, generating single signal termination data;
Step S04: when the data composition type of the signal data is the second data composition type, carrying out voice instruction analysis according to the command signal and the address signal corresponding to the voice control signal; wherein,
The voice instruction analysis includes: matching is carried out according to the command signals and the address signals of the second data composition type, and a signal link code is determined; combining the signal connection code, the command signal and the address signal according to a preset combination sequence to obtain an instruction signal, and performing comparison analysis according to the instruction signal and a preset instruction table to obtain corresponding voice instruction data; wherein,
The combination sequence is command signal, signal connection code and address signal.
5. The voice chip for on-line replacing voice content inside the chip as recited in claim 4, wherein the voice command data comprises:
Linking instruction data, play instruction data and state instruction data; wherein,
The splicing instruction data is used for inserting and splicing the replaceable voice data to a target splicing node in the playing voice;
the playing instruction data is used for controlling the playing time of the playing voice based on the playing stage of the current playing voice;
The state instruction data is used for changing the playing state of the playing voice; wherein, the playing state at least comprises cyclic playing, single playing and disordered playing.
6. The voice chip capable of online replacing voice content in the chip according to claim 1, wherein the voice replacing module comprises a first replacing unit and a broadcasting unit; wherein,
The first replacing unit is used for carrying out semantic analysis on received voice command data based on a preset voice chip, generating a voice control command set, carrying out priority ranking on voice control commands in the voice control command set, obtaining a ranking result, and generating a replacing sequence according to the ranking result; wherein,
The voice control instruction set includes: a linking instruction, a playing instruction and a status instruction;
the voice control instruction priority comprises the following steps from high to low: a status instruction, a play instruction, and a join instruction;
the replacement sequence at least comprises a replacement step and a strategy serial number.
7. The voice chip capable of online replacing voice content inside the chip according to claim 1, wherein the processing module further comprises a serial port unit; the one-line serial port unit includes:
A time length proportion subunit: the conversion time length is used for acquiring the conversion time length when the processing module converts the voice control signal, and the time length proportion of the high-level conversion time length to the low-level conversion time length in the conversion time length is calculated;
level state subunit: the data bit determining module is used for determining corresponding data bits according to the duration proportion; wherein, the data bit is used for describing the level state of the data line for transmitting data at the high level and the low level respectively during serial communication;
A timing subunit: the method comprises the steps of generating a corresponding time sequence diagram through the data bit, and acquiring the transmission time sequence of voice instruction data based on the time sequence diagram;
A transmission subunit: and the voice command data transmission time sequence and the single transmission size are determined according to the time sequence.
8. The voice chip capable of replacing voice content in the chip on line according to claim 6, wherein the first replacing unit is further configured to receive voice replacement data of a user side, obtain a data sequence number of the voice replacement data, and match the data sequence number with a policy sequence number to generate a matching result; wherein,
When the matching result is that the matching fails, the replacement sequence is adjusted;
When the matching result is that the matching is successful, replacing the voice replacement data with the initial voice data according to the replacement sequence, and playing the voice through a preset player;
The voice replacement data comprise voice replacement content, voice broadcast replacement type and voice replacement volume;
The player comprises at least a pseudo-sound player and a loudspeaker.
9. The voice chip capable of online replacing voice content inside the chip according to claim 1, wherein the replacing pretreatment comprises the steps of:
the voice control signal replacing pretreatment is used for replacing and preprocessing the voice control signal;
step one: acquiring voice of a user side, converting voice content, acquiring voice content, making a voice source file according to the voice content, generating a voice control signal, and transmitting the voice control signal to a downloading device;
Step two: detecting a connection state of the downloader and the I/O unit by connecting the downloader with the I/O unit; wherein the connection state includes an input state and a floating state;
Step three: and screening out safe power supply data according to the connection state and a preset power supply comparison table, carrying out safe power supply on the downloading device according to the safe power supply data, and transmitting a voice control signal to the processing module through the I/O unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210328364.7A CN114639376B (en) | 2022-03-30 | 2022-03-30 | Voice chip capable of replacing voice content inside chip on line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210328364.7A CN114639376B (en) | 2022-03-30 | 2022-03-30 | Voice chip capable of replacing voice content inside chip on line |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114639376A CN114639376A (en) | 2022-06-17 |
CN114639376B true CN114639376B (en) | 2024-10-25 |
Family
ID=81952373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210328364.7A Active CN114639376B (en) | 2022-03-30 | 2022-03-30 | Voice chip capable of replacing voice content inside chip on line |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114639376B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105323314A (en) * | 2015-10-15 | 2016-02-10 | 珠海格力电器股份有限公司 | Voice updating method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3304288B1 (en) * | 2015-05-27 | 2023-07-12 | Google LLC | Online marketplace of plugins for enhancing dialog systems |
CN205609223U (en) * | 2016-05-06 | 2016-09-28 | 深圳唯创知音电子有限公司 | Pronunciation chip and packaging structure and application circuit thereof |
CN111048085A (en) * | 2019-12-18 | 2020-04-21 | 佛山市顺德区美家智能科技管理服务有限公司 | Off-line voice control method, system and storage medium based on ZIGBEE wireless technology |
CN116817513A (en) * | 2023-07-13 | 2023-09-29 | 合肥美菱物联科技有限公司 | Upgradeable offline voice refrigerator and control method thereof |
-
2022
- 2022-03-30 CN CN202210328364.7A patent/CN114639376B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105323314A (en) * | 2015-10-15 | 2016-02-10 | 珠海格力电器股份有限公司 | Voice updating method and system |
Also Published As
Publication number | Publication date |
---|---|
CN114639376A (en) | 2022-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100539660C (en) | A kind of television set sound volume control regulating method | |
CN102262879B (en) | Voice command competition processing method and device as well as voice remote controller and digital television | |
US7404095B2 (en) | Firmware controlled supply voltage adjustment | |
WO2003058466B1 (en) | Multimodal communication method and apparatus with multimodal profile | |
CN1764945A (en) | Distributed speech recognition system | |
CN109413525B (en) | Encoding rate adjustment method, encoding rate adjustment device, electronic device, and storage medium | |
CN112185369B (en) | Volume adjusting method, device, equipment and medium based on voice control | |
CN114639376B (en) | Voice chip capable of replacing voice content inside chip on line | |
WO2018035986A1 (en) | Voice control method, device, and computer storage medium | |
EP1500227B1 (en) | Method for recognizing electronic appliance in multiple control system | |
CN1602475A (en) | Asynchronous serial data interface | |
CN113112787A (en) | Infrared code compression learning method | |
CN105472831A (en) | Light-emitting device control method through light driven chip and light driven chip thereof | |
CN110575670B (en) | Method for generating configuration strategy of game data and related products | |
CN102055827A (en) | Incoming call vibration method and device of mobile terminal | |
CN109841215B (en) | Voice broadcasting method and device, storage medium and voice household appliance | |
CN1120496C (en) | Apparatus and method for simplified analog signal record and playback | |
CN116896550A (en) | Software updating method, system and storage medium for reducing server pressure | |
CN107783634A (en) | A kind of control method and control system of server power supply | |
CN109683985A (en) | A kind of more image starting methods of DSP based on AIS order | |
CN110517671B (en) | Audio information evaluation method and device and storage medium | |
CN113777944A (en) | Intelligent equipment control preference configuration method and system in smart home scene | |
CN1230832A (en) | Simply-constructed digital radio communication system capable of changing transmission capacity mode | |
CN112671909A (en) | Application method and system of Internet of things rule chain | |
CN107018021B (en) | Software upgrading processing method, device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |