WO2019205985A1 - Applet-based sound processing system and method, and server - Google Patents

Applet-based sound processing system and method, and server Download PDF

Info

Publication number
WO2019205985A1
WO2019205985A1 PCT/CN2019/082853 CN2019082853W WO2019205985A1 WO 2019205985 A1 WO2019205985 A1 WO 2019205985A1 CN 2019082853 W CN2019082853 W CN 2019082853W WO 2019205985 A1 WO2019205985 A1 WO 2019205985A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound
server
applet
audio
information content
Prior art date
Application number
PCT/CN2019/082853
Other languages
French (fr)
Chinese (zh)
Inventor
杨丽玉
刘怡中
Original Assignee
厦门声连网信息科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 厦门声连网信息科技有限公司 filed Critical 厦门声连网信息科技有限公司
Publication of WO2019205985A1 publication Critical patent/WO2019205985A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones

Definitions

  • the present invention relates to the field of Internet communications, and in particular, to a voice processing system, method and server based on a small program.
  • WeChat is a chat software launched by Tencent in 2011. Users can quickly send voice, video, pictures and text through mobile phones, tablets and web pages. WeChat provides various functions such as message push and information sharing. Information users can interact with other people and interact with each other through various built-in interaction methods.
  • Small programs such as WeChat are already very popular in mobile devices, and interactions can be made between terminals that install and run small programs.
  • the interactive premise is based on the pre-made functions of the applet, and the interaction mode is limited to the inter-connection between the applet terminals, and the interaction between other different applet terminals (including hardware or software) and the applet terminal is not realized. .
  • the technical problem to be solved by the present invention is to provide a sound processing system, method and server based on a small program, which realizes the interaction between small programs and devices through voice transmission of information and control instructions, and enhances the limitation of existing interactive applications.
  • a technical solution adopted by the present invention is: a small program-based sound processing system, the system includes a background server, and further includes: a mobile terminal, installed with a small program application, configured to respond to the small The calling of the program receives the sound wave/audio; the applet server is configured to convert the received sound wave/audio into a corresponding sound code; and query the binding relationship between the pre-generated sound code and the information content/control instruction to obtain the generated relationship with the generated a vocoding-matched information content/control instruction; and invoking the information content, or generating a corresponding internal control instruction; wherein the binding relationship is pre-stored in the applet server, the mobile terminal, or the background server .
  • the binding relationship is pre-stored in the background server, and the applet server is further configured to send the received sound wave/audio to the background server; the background server is further configured to: receive the received Converting the sound wave/audio into a corresponding vocoding; querying a binding relationship stored in the background server to determine an information content/control instruction that matches the vocoding; invoking the information content, or generating a corresponding to the control instruction Internal control instructions.
  • the binding relationship is pre-stored in the applet server; the applet server is further configured to send the received sound wave/audio to the background server; the background server is further configured to receive the received Converting the sound wave/audio into a corresponding vocoding code, and transmitting the vocoding code to the applet server; the applet server is further configured to query a binding saved in the applet server according to the received vocoding code The information is determined to match the information content/control instructions of the vocoding.
  • another technical solution adopted by the present invention is to provide a small program-based sound processing system, the system comprising: a mobile terminal, and an applet application installed for responding to the call of the applet Receiving a target information content/control instruction; the applet server is configured to query the pre-generated binding relationship according to the received target information content/control instruction to determine a voice code that matches the target information content/control instruction; And converting the vocode into corresponding sound waves/audio to play the sound wave/audio through the mobile terminal; wherein the binding relationship is pre-stored in the applet server, the mobile terminal or the background In the server.
  • the binding relationship is pre-stored in the background server, and the applet server is further configured to send the received information content/internal control instruction to the background server; the background server is further used to Querying the stored binding information according to the received information content/control instruction to convert a voice code matching the information content/control instruction into a corresponding sound wave/audio, and transmitting the sound wave/audio to the The applet server.
  • the binding relationship is pre-stored in the applet server; the applet server is further configured to send the determined voice code to the background server; the background server is further configured to receive the received The vocoding is converted to a corresponding sound wave/audio and the sound wave/audio is sent to the applet server.
  • another technical solution adopted by the present invention is to provide a small program-based sound processing system, the system comprising: a sound transmitting end device, which is installed with an applet application, and receives a user by running a small program.
  • the sound sending end server is configured to query the binding relationship between the pre-generated vocoding and the information content/control instruction in response to the target information content/control instruction to determine a matching vocal code, and Converting the vocode to corresponding sound wave/audio, and calling the sound transmitting end device to play the sound wave/audio;
  • the sound receiving end device is installed with an applet application, and is sent by the sound sending end device by running the applet receiving device The sound wave/audio;
  • the sound receiving end server is configured to transform the received sound wave/audio into a corresponding sound code, and query a binding relationship between the pre-generated sound code and the information content/control instruction to determine matching information. Content/control instructions.
  • the sound sending end server is an applet server corresponding to the applet running by the sound sending end device.
  • the sound receiving end server is an applet server corresponding to the applet running by the sound receiving end device.
  • a small program server where the server includes: a receiving unit, configured to call a small program to receive sound waves/audio through the mobile terminal; The mobile terminal runs the small program; the processing unit is configured to process the received sound wave/audio to generate a corresponding sound code; the first query unit is configured to query the pre-generated voice code according to the sound code generated by the processing unit And a binding relationship of the information content/control instruction to determine an information content/control instruction that matches the vocoding; wherein the binding relationship is pre-generated and saved in the applet server, the mobile terminal, or the background server a first calling unit, configured to invoke the information content to be displayed by the mobile terminal according to an information content/control instruction matching the vocoding, or generate a corresponding control instruction to invoke the mobile terminal to perform the Control instruction.
  • a small program server where the server includes: a first query unit, configured to invoke a small program to receive target information content/control instructions through the mobile terminal, and Querying a binding relationship between the pre-generated sound wave and the information content/control instruction to determine a vocoding that matches the target information content/control instruction; wherein the binding relationship is pre-generated and saved in the applet server, moving a first processing unit, configured to process the vocode determined by the first query unit to generate a corresponding sound wave/audio file; and a playback driving unit, configured to drive the mobile terminal to play by Sound/audio files generated by the first processing unit.
  • another technical solution adopted by the present invention is to provide a small program-based sound processing method, the method comprising: a mobile terminal running a small program application to receive sound waves/audio; and an applet server acquiring through a small program.
  • the applet server acquires the sound wave/audio received by the mobile terminal by the applet, the method further includes: the applet server sends the sound wave/audio to the background server; the background server pair The received sound wave/audio is processed to generate a corresponding vocoding code; the background server queries a binding relationship stored in the background server to determine an information content/control instruction that matches the vocoding code, and invokes the Information content, or generate corresponding control instructions.
  • another technical solution adopted by the present invention is to provide a small program-based sound processing method, the method comprising: an applet server calling a mobile terminal to receive a target information content/control instruction through a small program, and Querying a binding relationship between the pre-generated and saved vocoding and the information content/control instruction to determine a vocoding corresponding to the target information content/control instruction; wherein the binding relationship is pre-generated and saved in the mobile terminal and the applet server Or in a background server; the applet server processes the vocoding to generate a corresponding sound wave/audio; the applet server invokes the mobile terminal to play the sound wave/audio through a small program.
  • another technical solution adopted by the present invention is to provide a small program-based sound processing method, the method comprising: the sound sending end server calling the sound transmitting end device to receive the target information content/control through the applet Instructing, and querying a binding relationship between the pre-generated and saved vocoding and the information content/control instruction to determine a vocoding corresponding to the target information content/control instruction; wherein the binding relationship is pre-generated and saved in the sound transmitting end a device, a sound sending end server or a background server; the sound sending end server processes the sound code to generate a corresponding sound wave/audio; and the sound sending end server calls the sound sending end device playing station through a small program
  • the sound wave/audio; the sound receiving end device running applet application receives the sound wave/audio; the sound receiving end server acquires the sound wave/audio received by the sound receiving end device through a small program, and converts the sound wave/audio into Corresponding vocoding; the sound receiving end server queries the pre-generated vocoding
  • the sound sending end server and the sound receiving end server are small program servers, and are used to correspondingly call the sound sending end device and the sound receiving end device that run the small program through the applet.
  • the small program-based sound processing system, method and server the mobile terminal runs the applet to send/sound/audio, and the small program server queries the pre-generated binding relationship to determine the sound wave interaction information, for example, By transmitting the information content/control content transmitted by the sound wave/audio, the effect of acquiring the corresponding information content or performing the corresponding function is realized, so that the mobile terminal can pass the sound wave/audio with other small programs, other applications, or other when running the small program.
  • the smart devices interact to break away from the original application framework and limitations of the applet.
  • FIG. 1 is a schematic structural diagram of a small program-based sound processing system in a first embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a small program-based sound processing system in a second embodiment of the present invention.
  • Figure 3 is a block diagram showing the structure of a small program-based sound processing system in a third embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a small program-based sound processing system in a fourth embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a small program-based sound processing system in a fifth embodiment of the present invention.
  • FIG. 6 is a schematic flow chart of a small program-based sound processing method according to a first embodiment of the present invention.
  • FIG. 7 is a schematic flow chart of a small program-based sound processing method in a second embodiment of the present invention.
  • FIG. 8 is a schematic flow chart of a small program-based sound processing method in a third embodiment of the present invention.
  • FIG. 9 is a schematic flow chart of a small program-based sound processing method in a fourth embodiment of the present invention.
  • FIG. 10 is a schematic flow chart of a small program-based sound processing method in a fifth embodiment of the present invention.
  • Sonic/Audio (Signal): Usually refers to a piece of sound, or the frequency of a piece of sound.
  • Audio documents such as: wav documents, mp3 documents, aac documents.
  • Audio stream audio (signal) stream.
  • Receiver Refers to an audio receiver, such as a microphone of a mobile phone, or an audio receiver of a smart device.
  • Applet WeChat (WeChat) applet, or WhatsApp's erlang, can be run inside WeChat or WhatsAPP or Line to implement custom applications within the APP.
  • Acoustic signal The audio (signal) that can be received and further processed by the receiver, the original signal that is parsed.
  • Vocal code After the inverse Fourier transform of the acoustic signal, a meaningful digital signal is obtained, which is called vocoding.
  • Vocal database A database that stores information content corresponding to vocoding and vocoding.
  • the vocoding corresponds to the content of the information: for example, numbers, alphanumeric characters, symbols, web addresses, coordinate values, or any text with data.
  • Internal control command A command signal within a computer or computer device that is intended to trigger a function of the device.
  • FIG. 1 is a schematic structural diagram of a small program-based sound processing system according to a first embodiment of the present invention.
  • the system 10 includes a mobile terminal 11, an applet server 12, and a backend server 13.
  • the sound processing system shown in the embodiment is applied to identify the information content/control instruction carried by the sound wave/audio signal to call the corresponding content or perform the corresponding function.
  • the small program refers to the WeChat (WeChat) applet or WhatsApp erlang, which can be run inside WeChat, WhatsAPP or Line to implement custom applications in the APP.
  • the sound processing is implemented based on an applet, which is a WeChat server.
  • the mobile terminal 11 is equipped with an applet application for receiving sound waves/audio signals.
  • the mobile terminal 11 runs a small program to open a receiver set by the body of the mobile terminal 11 to receive an acoustic/audio signal. That is, the applet is capable of receiving sound/audio signals.
  • the applet server 12 is configured to provide data related to the applet user, acquire the sound wave/audio received by the mobile terminal 11 through the applet, convert the sound wave/audio into a corresponding sound code, and generate a corresponding sound code. Query request.
  • the background server 13 establishes a communication connection with the mobile terminal 11 and the applet server 12, and pre-stores the binding information of the vocoding and the information content/control instruction; and is also used to respond to the vocoding request sent by the applet server 12, and query the binding.
  • the information is returned to return the information content/control command of the matching vocoding to the applet server 12, causing the applet server 12 to call the information content or generate an internal control command corresponding to the control command.
  • the applet server 12 includes:
  • the receiving unit 121 is configured to invoke an applet to receive the sound wave/audio through the mobile terminal 11;
  • the processing unit 122 is configured to perform Fourier transform on the received sound wave/audio signal to generate a corresponding sound code.
  • the first query unit 123 is configured to send a corresponding voice code query request to the background server 13 according to the voice code generated by the processing unit 122.
  • the background server 13 includes:
  • a first database 131 configured to store binding information of the vocoding and the information content/control instruction
  • the second query unit 132 is configured to query the binding information saved by the first database 131 in response to the vocoding query request sent by the first query unit 123, and send the information content/control instruction matching the vocoding request to the Applet server 12.
  • the applet server 12 further includes an invoking unit 124 for invoking the information content to be displayed by the mobile terminal 11 according to the received information content/control instruction, or generating an internal control instruction corresponding to the received control instruction,
  • the mobile terminal 11 runs an applet to execute the internal control command.
  • the sound wave/audio signal received by the mobile terminal 11 may be: sound wave/audio (signal) played from a television, a computer, a mobile phone, an audio, a broadcast, or any speaker, and is received and outputted by using a small program.
  • Information content or internal control instructions E.g:
  • TV advertisements can push product offers or purchase pages to the page of the applet.
  • the station system of the bus or subway train can push the station information and the surrounding map to the page of the small program by broadcasting.
  • the applet server 12 further includes a second database 125 for holding the binding relationship between the vocoding and the information content/control instructions.
  • the binding relationship stored in the second database 125 is originally stored in the background server 13, and the applet server 12 accesses the background server 13 and downloads the binding relationship, thereby saving to the second database 125.
  • the binding relationship stored in the second database 125 may also be generated and saved by the applet server 12 through pre-setting by the system, or may be pre-edited and saved by the user or the administrator.
  • the first query unit 123 queries the binding information held by the second database 125 according to the vocoding generated by the processing unit 122 to determine the information content/control instruction that matches the vocoding.
  • the mobile terminal 11 further includes a third database 111.
  • the binding relationship may also be saved in the third database 111 in the mobile terminal 11.
  • the source of the binding relationship may be as follows:
  • the applet server 12 is downloaded and saved to the mobile terminal 11 by accessing the background server 13;
  • the applet server 12 is generated by the system pre-setting, or the applet user and the administrator pre-edit and save;
  • FIG. 2 is a schematic structural diagram of a small program-based sound processing system according to a second embodiment of the present invention.
  • the sound processing system shown in the embodiment is applied to identify the information content/control instruction carried by the sound wave/audio signal to call the corresponding content or perform the corresponding function.
  • the applet server 22 acquires the sound wave/audio received by the mobile terminal 21 through the applet, it is also used to transmit the sound wave/audio to the background server 23.
  • the background server 23 is further configured to perform Fourier transform on the received sound wave/audio to generate a corresponding sound code, and query its saved binding relationship to determine information content/control instructions corresponding to the sound code, and call The content of the information, or the corresponding internal control instructions.
  • the applet server 22 further includes a first communication unit 226 for transmitting the received sound waves/audio to the background server 23.
  • the background server 23 further includes:
  • a second communication unit 235 configured to receive sound waves/audio sent by the applet server 22;
  • a second processing unit 2344 configured to perform Fourier transform on the received sound wave/audio to generate a corresponding vocoding code
  • the second invoking unit 233 is configured to invoke the internal information determined by the second query unit 231 or generate a corresponding internal control instruction.
  • the second communication unit 235 is further configured to send the sound code to the applet server 22.
  • the first query unit 223 of the applet server 22 queries the binding relationship stored in the second database 225, or saved in the third database 211, to determine the information content/control instructions that match the voice code.
  • the first invoking unit 224 calls the internal information determined by the first inquiring unit 223 or generates a corresponding internal control instruction.
  • FIG. 3 is a schematic structural diagram of a small program-based sound processing system according to a third embodiment of the present invention.
  • the sound processing system shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information.
  • the sound processing system 30 includes a mobile terminal 31, an applet server 32, and a background server 32.
  • the applet server 32 includes a second database 321 for pre-saving the binding relationship between the voice code and the information content/control instruction.
  • the mobile terminal 31 is installed with an applet application, and runs the applet to query the second database 321, determines the voice code corresponding to the target information content/control command, and performs Fourier transform on the voice code to generate a corresponding Sonic/audio, and the player of the mobile terminal 31 is called to play the sound/audio.
  • the applet server 32 includes:
  • the first query unit 322 is configured to query the second database 321 in response to the user's query instruction to determine a voice code that matches the target information content/control instruction;
  • a first processing unit 323, configured to perform a Fourier transform on the voice code determined by the first query unit 322 to generate a corresponding sound wave/audio file;
  • the playback driving unit 324 is configured to drive the player set by the mobile terminal 31 to play the sound wave/audio file generated by the first processing unit 323.
  • the binding relationship may also be saved in advance in the third database 311 of the mobile terminal 31.
  • the applet server 32 accesses the mobile terminal 31 by calling the applet and acquires the binding relationship from the third database 311.
  • the binding relationship may also be pre-stored in the first database 331 of the background server 33.
  • FIG. 4 is a schematic structural diagram of a sound processing system based on a small program according to a fourth embodiment of the present invention.
  • the sound processing system shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information.
  • the background server 43 further includes: Compared to the sound processing system shown in FIG.
  • a second communication unit 432 configured to establish a communication connection with the applet server 42;
  • a second processing unit 433, configured to perform Fourier transform on the voice code corresponding to the target information content/control instruction to generate a corresponding sound wave/audio file;
  • the vocoding code corresponding to the target information content/control command may be determined by the applet server 32 in response to the user's query instruction querying the binding relationship stored in the second database 421, and uploaded and sent by the first communication unit 425. .
  • the vocoding corresponding to the target information content/control instruction is determined by the applet server 42 transmitting, by the first communication unit 425, the target information content/control command requested by the user to the background server.
  • the background server 43 further includes a second query unit 434, configured to query the binding relationship held by the first database 431 according to the received target information content/control instruction, thereby determining the corresponding voice code.
  • FIG. 5 is a schematic structural diagram of a sound processing system based on a small program according to a fifth embodiment of the present invention.
  • the sound processing system shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information, and convert the information content/control command into an acoustic/audio signal to transmit corresponding information.
  • the sound processing system 50 includes a sound transmitting device 51, a sound transmitting server 52, a sound receiving server 53, a background server 54, and a sound receiving device 55.
  • the voice transmitting end server 52 is an applet server.
  • the sound transmitting device 51 is installed with an applet application, and determines a target content information/control command by running a small program.
  • the voice transmitting end server 52 queries the pre-generated binding relationship in response to the target content information/control command to determine a matched vocoding, and performs Fourier transform on the voicing to generate corresponding sound/audio, and invokes sound transmission.
  • the end device 51 plays the sound wave/audio.
  • the binding relationship may be pre-stored in the voice sending end device 51, or may be pre-stored in the voice sending end server 52, or may be obtained by accessing the binding relationship saved by the background server 54.
  • the sound receiving end server 53 receives the sound wave/audio by calling the sound receiving device 55.
  • the sound receiving end server 53 is an applet server
  • the sound receiving end device 55 is installed with an applet application and receives the sound wave/audio by running a small program.
  • the sound receiving end server 53 performs Fourier transform on the received sound wave/audio to convert into a corresponding sound code, and queries a pre-generated binding relationship to determine an information content/control instruction matching the sound code, thereby calling the Information content, or generate corresponding internal control instructions.
  • the binding relationship may be pre-stored in the voice receiving device 55, or may be pre-stored in the voice receiving server 53, or may be obtained by accessing the binding relationship saved by the background server 54.
  • an applet can be used to generate and play sound waves/audio (signals), and the receiving device (mobile phone, smart device, smart home appliance, smart car) can interact with the transmitting device.
  • the receiving device mobile phone, smart device, smart home appliance, smart car
  • the smart door lock responds to the sound wave/audio to open the door lock.
  • FIG. 6 is a small program-based sound processing method according to a first embodiment of the present invention.
  • the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information.
  • the method includes:
  • Step S60 the mobile terminal runs an applet application to receive the sound wave/audio signal
  • Step S61 the applet server acquires the sound wave/audio received by the mobile terminal through the applet, and converts the sound wave/audio into a corresponding sound code.
  • step S62 the applet server queries the binding relationship between the pre-generated voice code and the information content/control command to determine the information content/control command corresponding to the voice code.
  • the binding relationship is pre-generated and saved in the applet server, and can also be saved in the mobile terminal or the background server.
  • step S63 the applet server calls the information or generates a corresponding internal control instruction.
  • FIG. 7 is a small program-based sound processing method according to a second embodiment of the present invention.
  • the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information.
  • the method includes:
  • Step S70 the mobile terminal runs the applet application to receive the sound wave/audio signal
  • Step S71 the applet server acquires the sound wave/audio received by the mobile terminal through the applet, and sends the sound wave/audio to the background server.
  • step S72 the background server processes the received sound wave/audio to generate a corresponding sound code.
  • the background server performs Fourier transform processing on the received sound waves/audio to generate corresponding sound codes.
  • Step S73 the background server queries the binding relationship stored in the background server to determine the information content/control instruction that matches the voice code, and invokes the information content, or generates a corresponding control instruction. Then the process ends.
  • the method further includes:
  • step S74 the background server sends the voice code to the applet server.
  • Step S75 the applet server queries the binding relationship stored in the applet server to query the information content/control instruction matching the voice code, and invokes the information content, or generates a corresponding control instruction. Then the process ends.
  • FIG. 8 is a small program-based sound processing method according to a third embodiment of the present invention.
  • the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information.
  • the method includes:
  • Step S80 the applet server calls the mobile terminal to receive the target information content/control instruction through the applet, and queries the binding relationship between the previously generated and saved voice code and the information content/control instruction to determine the target information content/control instruction corresponding to the target information content/control instruction. Vocal code.
  • the binding relationship may be pre-generated and saved in a mobile terminal, an applet server, or a background server.
  • step S81 the applet server processes the sound code to generate corresponding sound waves/audio.
  • Step S82 the applet server calls the mobile terminal to play the sound wave/audio through the applet.
  • FIG. 9 is a small program-based sound processing method according to a fourth embodiment of the present invention.
  • the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information.
  • the method includes:
  • Step 90 The applet server calls the mobile terminal to receive the target information content/control instruction through the applet, and queries the binding relationship between the pre-generated and saved voice code and the information content/control instruction to determine the target information content/control instruction corresponding to the target information content/control instruction. Vocal code.
  • the binding relationship may be pre-generated and saved in a mobile terminal, an applet server, or a background server.
  • step S91 the applet server sends the voice code to the background server.
  • step S92 the background server processes the received voice code to generate a corresponding sound/audio file, and sends the sound wave/audio file to the applet server.
  • step S93 the applet server calls the mobile terminal to play the sound wave/audio file through the applet.
  • FIG. 10 is a small program-based sound processing method according to a fifth embodiment of the present invention.
  • the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information, and convert the information content/control command into an acoustic/audio signal to transmit corresponding information.
  • the method includes:
  • Step S100 the sound sending end server invokes the sound sending end device to receive the target information content/control instruction through the applet, and queries the binding relationship between the previously generated and saved voice code and the information content/control instruction to determine the target information content/control. The vocoding corresponding to the instruction.
  • the binding relationship may be pre-generated and saved in the voice sending end device, the voice sending end server, or the background server.
  • the voice sender server is an applet server.
  • step S101 the sound sending end server processes the sound code to generate corresponding sound waves/audio.
  • Step S102 the sound sending end server calls the sound sending end device to play the sound wave/audio through the applet.
  • step S103 the sound receiving end device runs an applet application to receive the sound wave/audio signal.
  • Step S104 the sound receiving end server acquires the sound wave/audio received by the sound receiving end device through the applet, and converts the sound wave/audio into a corresponding sound code.
  • the sound receiving end server is an applet server
  • the sound receiving end device is installed with an applet application, and receives the sound wave/audio by running a small program.
  • Step S105 the sound receiving end server queries the binding relationship between the pre-generated voice code and the information content/control instruction to determine the information content/control instruction of the voice code.
  • the binding relationship is pre-generated and saved in the voice receiving server, and may also be stored in the voice receiving device or the background server.
  • step S106 the sound receiving end server calls the information or generates a corresponding internal control instruction.
  • a small program-based sound processing system, method, and server the mobile terminal runs a small program to transmit/or sound waves/audio, and the small program server queries a pre-generated binding relationship to determine sound wave interaction information. For example, by transmitting the information content/control content transmitted by the sound wave/audio, the effect of acquiring the corresponding information content or performing the corresponding function is realized, so that the mobile terminal can pass the sound wave/audio with other small programs, other applications, and the like when running the small program. Or other smart devices interact to break away from the original application framework and limitations of the applet.
  • the disclosed system, terminal and method may be implemented in other manners.
  • the terminal embodiment described above is schematic, and the division of the unit is a logical function division, and the actual implementation may have another division manner.
  • the units described as separate components may or may not be physically separate, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • all or part of the technical solution of the present invention may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, The management server, or network device, etc. or processor, performs all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (English: read-only memory, abbreviation: ROM), a random access memory (English: Random Access Memory, abbreviation: RAM), a magnetic disk or an optical disk, and the like.
  • a U disk a mobile hard disk
  • a read only memory English: read-only memory, abbreviation: ROM
  • a random access memory English: Random Access Memory, abbreviation: RAM
  • magnetic disk or an optical disk and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed are an applet-based sound processing system and method, and a server. The system comprises a background server, a mobile terminal and an applet server. The method comprises: the mobile terminal running an applet application to receive a sound wave/audio; and the applet server converting the received sound wave/audio into a corresponding acoustic code, and querying a pre-generated binding relationship between the acoustic code and the information content/control instruction to determine the matching information content/control instruction, and invoking the information content or generating a corresponding internal control instruction, wherein the binding relationship is pre-stored in the applet server, the mobile terminal or the background server. By means of the above-mentioned method, when running an applet, a mobile terminal can interact with the other applets, the other applications or the other intelligent devices by means of a sound wave/audio so as to break away from an original application framework and limitations of the applet.

Description

一种基于小程序的声音处理系统、方法及服务器Small program-based sound processing system, method and server 【技术领域】[Technical Field]
本发明涉及互联网通信领域,特别涉及一种基于小程序的声音处理系统、方法及服务器。The present invention relates to the field of Internet communications, and in particular, to a voice processing system, method and server based on a small program.
【背景技术】【Background technique】
微信是腾讯公司2011年推出的一款聊天软件,用户可以通过手机、平板和网页快速发送语音、视频、图片和文字。微信提供各种消息推送、信息共享等功能,信息用户可以通过内置的多种互动方式与其他人建立互动、进行信息交互。WeChat is a chat software launched by Tencent in 2011. Users can quickly send voice, video, pictures and text through mobile phones, tablets and web pages. WeChat provides various functions such as message push and information sharing. Information users can interact with other people and interact with each other through various built-in interaction methods.
诸如微信这类的小程序,在移动设备的应用已经非常普及,安装并运行小程序的终端之间可以进行互动。但是,互动前提是基于小程序预制的功能,且互动方式只限于小程序终端之间的相互联系,而其他不同小程序终端(包括硬件或软件)与小程序终端之间的互动功能并未实现。Small programs such as WeChat are already very popular in mobile devices, and interactions can be made between terminals that install and run small programs. However, the interactive premise is based on the pre-made functions of the applet, and the interaction mode is limited to the inter-connection between the applet terminals, and the interaction between other different applet terminals (including hardware or software) and the applet terminal is not realized. .
【发明内容】[Summary of the Invention]
本发明主要解决的技术问题是提供一种基于小程序的声音处理系统、方法及服务器,通过声音传递信息与控制指令的方式实现跨小程序、跨设备的交互,提升既有交互应用的限制。The technical problem to be solved by the present invention is to provide a sound processing system, method and server based on a small program, which realizes the interaction between small programs and devices through voice transmission of information and control instructions, and enhances the limitation of existing interactive applications.
为解决上述技术问题,本发明采用的一个技术方案是:一种基于小程序的声音处理系统,所述系统包括后台服务器,还包括:移动终端,安装有小程序应用,用于响应所述小程序的调用接收声波/音频;小程序服务器,用于将接收到的声波/音频转换成对应的声码;查询预先生成的声码与信息内容/控制指令的绑定关系,获得与所述生成的声码匹配的信息内容/控制指令;以及调用所述信息内容,或者产生对应的内部控制指令;其中,所述绑定关系预先保存在所述小程序服务器、移动终端或所述后台服务器中。In order to solve the above technical problem, a technical solution adopted by the present invention is: a small program-based sound processing system, the system includes a background server, and further includes: a mobile terminal, installed with a small program application, configured to respond to the small The calling of the program receives the sound wave/audio; the applet server is configured to convert the received sound wave/audio into a corresponding sound code; and query the binding relationship between the pre-generated sound code and the information content/control instruction to obtain the generated relationship with the generated a vocoding-matched information content/control instruction; and invoking the information content, or generating a corresponding internal control instruction; wherein the binding relationship is pre-stored in the applet server, the mobile terminal, or the background server .
其中,所述绑定关系预先保存在所述后台服务器中,所述小程序服务器还用于将接收到的声波/音频发送至所述后台服务器;所述后台服务器还用于:将接收到的声波/音频转换成对应的声码;查询保存在所述后台服务器的绑定关系以确定匹配所述声码的信息内容/控制指令;调用所述信息内容,或者产生与所述控制指令对应的内部控制指令。The binding relationship is pre-stored in the background server, and the applet server is further configured to send the received sound wave/audio to the background server; the background server is further configured to: receive the received Converting the sound wave/audio into a corresponding vocoding; querying a binding relationship stored in the background server to determine an information content/control instruction that matches the vocoding; invoking the information content, or generating a corresponding to the control instruction Internal control instructions.
其中,所述绑定关系预先保存在所述小程序服务器中;所述小程序服务器还用于将接收到的声波/音频发送至所述后台服务器;所述后台服务器还用于将接收到的声波/音频转换成对应的声码,并发送所述声码至所述小程序服务器;所述小程序服务器还用于根据接收到的所述声码查询保存在所述小程序服务器的绑定信息以确定匹配所述声码的信息内容/控制指令。The binding relationship is pre-stored in the applet server; the applet server is further configured to send the received sound wave/audio to the background server; the background server is further configured to receive the received Converting the sound wave/audio into a corresponding vocoding code, and transmitting the vocoding code to the applet server; the applet server is further configured to query a binding saved in the applet server according to the received vocoding code The information is determined to match the information content/control instructions of the vocoding.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种基于小程序的声音处理系统,所述系统包括:移动终端,安装有小程序应用,用于响应所述小程序的调用接收一目标信息内容/控制指令;小程序服务器,用于根据接收到的所述目标信息内容/控制指令查询预先生成的绑定关系,以确定匹配所述目标信息内容/控制指令的声码;以及,将所述声码转换成对应的声波/音频,以通过所述移动终端播放所述声波/音频;其中,所述绑定关系预先保存在所述小程序服务器、移动终端或所述后台服务器中。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a small program-based sound processing system, the system comprising: a mobile terminal, and an applet application installed for responding to the call of the applet Receiving a target information content/control instruction; the applet server is configured to query the pre-generated binding relationship according to the received target information content/control instruction to determine a voice code that matches the target information content/control instruction; And converting the vocode into corresponding sound waves/audio to play the sound wave/audio through the mobile terminal; wherein the binding relationship is pre-stored in the applet server, the mobile terminal or the background In the server.
其中,所述绑定关系预先保存在所述后台服务器中,所述小程序服务器还用于将接收到的所述信息内容/内部控制指令发送至所述后台服务器;所述后台服务器还用于根据接收到的所述信息内容/控制指令查询存储的所述绑定信息以将匹配所述信息内容/控制指令的声码转换成对应的声波/音频,以及将所述声波/音频发送至所述小程序服务器。The binding relationship is pre-stored in the background server, and the applet server is further configured to send the received information content/internal control instruction to the background server; the background server is further used to Querying the stored binding information according to the received information content/control instruction to convert a voice code matching the information content/control instruction into a corresponding sound wave/audio, and transmitting the sound wave/audio to the The applet server.
其中,所述绑定关系预先保存在所述小程序服务器中;所述小程序服务器还用于将确定的所述声码发送至所述后台服务器;所述后台服务器还用于将接收到的所述声码转换为对应的声波/音频,并将所述声波/音频发送至所述小程序服务器。The binding relationship is pre-stored in the applet server; the applet server is further configured to send the determined voice code to the background server; the background server is further configured to receive the received The vocoding is converted to a corresponding sound wave/audio and the sound wave/audio is sent to the applet server.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种基于小程序的声音处理系统,所述系统包括:声音发送端设备,安装有小程序应用,并通过运行小程序接收用户输入的目标信息内容/控制指令;声音发送端服务器,用于响应所述目标信息内容/控制指令查询预先生成的声码和信息内容/控制指令的绑定关系以确定匹配的声码,并将所述声码转换为对应的声波/音频,以及调用所述声音发送端设备播放所述声波/音频;声音接收端设备,安装有小程序应用,并通过运行小程序接收由声音发送端设备发送的所述声波/音频;声音接收端服务器,用于将接收到的声波/音频变换成对应的声码,并查询预先生成的声码和信息内容/控制指令的绑定关系以确定匹配的信息内容/控制指令。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a small program-based sound processing system, the system comprising: a sound transmitting end device, which is installed with an applet application, and receives a user by running a small program. Input target information content/control instruction; the sound sending end server is configured to query the binding relationship between the pre-generated vocoding and the information content/control instruction in response to the target information content/control instruction to determine a matching vocal code, and Converting the vocode to corresponding sound wave/audio, and calling the sound transmitting end device to play the sound wave/audio; the sound receiving end device is installed with an applet application, and is sent by the sound sending end device by running the applet receiving device The sound wave/audio; the sound receiving end server is configured to transform the received sound wave/audio into a corresponding sound code, and query a binding relationship between the pre-generated sound code and the information content/control instruction to determine matching information. Content/control instructions.
其中,所述声音发送端服务器为与所述声音发送端设备运行的小程序对应的小程序服务器。The sound sending end server is an applet server corresponding to the applet running by the sound sending end device.
其中,所述声音接收端服务器为与所述声音接收端设备运行的小程序对应的小程序服务器。The sound receiving end server is an applet server corresponding to the applet running by the sound receiving end device.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种小程序服务器,所述服务器包括:接收单元,用于调用小程序以通过移动终端接收到声波/音频;其中,所述移动终端运行所述小程序;处理单元,用于将接收到的声波/音频进行处理生成对应的声码;第一查询单元,用于根据所述处理单元生成的声码查询预先生成的声码和信息内容/控制指令的绑定关系,以确定与所述声码匹配的信息内容/控制指令;其中,所述绑定关系预先生成并保存在所述小程序服务器、移动终端或后台服务器中;第一调用单元,用于根据与所述声码匹配的信息内容/控制指令,调用所述信息内容以通过所述移动终端显示,或者产生对应的控制指令以调用所述移动终端执行所述控制指令。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a small program server, where the server includes: a receiving unit, configured to call a small program to receive sound waves/audio through the mobile terminal; The mobile terminal runs the small program; the processing unit is configured to process the received sound wave/audio to generate a corresponding sound code; the first query unit is configured to query the pre-generated voice code according to the sound code generated by the processing unit And a binding relationship of the information content/control instruction to determine an information content/control instruction that matches the vocoding; wherein the binding relationship is pre-generated and saved in the applet server, the mobile terminal, or the background server a first calling unit, configured to invoke the information content to be displayed by the mobile terminal according to an information content/control instruction matching the vocoding, or generate a corresponding control instruction to invoke the mobile terminal to perform the Control instruction.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种小程序服务器,述服务器包括:第一查询单元,用于调用小程序以通过移动终端接收目标信息内容/控制指令,并查询预先生成的声波和信息内容/控制指令的绑定关系以确定与所述目标信息内容/控制指令匹配的声码;其中,所述绑定关系预先 生成并保存在所述小程序服务器、移动终端或后台服务器中;第一处理单元,用于将所述第一查询单元确定的声码进行处理以生成对应的声波/音频文件;播放驱动单元,用于驱动所述移动终端播放由所述第一处理单元生成的声波/音频文件。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a small program server, where the server includes: a first query unit, configured to invoke a small program to receive target information content/control instructions through the mobile terminal, and Querying a binding relationship between the pre-generated sound wave and the information content/control instruction to determine a vocoding that matches the target information content/control instruction; wherein the binding relationship is pre-generated and saved in the applet server, moving a first processing unit, configured to process the vocode determined by the first query unit to generate a corresponding sound wave/audio file; and a playback driving unit, configured to drive the mobile terminal to play by Sound/audio files generated by the first processing unit.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种基于小程序的声音处理方法,所述方法包括:移动终端运行小程序应用接收声波/音频;小程序服务器通过小程序获取该移动终端接收到的声波/音频,并将所述声波/音频转换成对应的声码;所述小程序服务器查询预先生成的声码与信息内容/控制指令的绑定关系,获得与所述生成的声码匹配的信息内容/控制指令;其中,所述绑定关系预先保存在所述小程序服务器、移动终端或所述后台服务器中;所述小程序服务器调用所述信息内容,或者产生对应的内部控制指令。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a small program-based sound processing method, the method comprising: a mobile terminal running a small program application to receive sound waves/audio; and an applet server acquiring through a small program. The sound wave/audio received by the mobile terminal, and converting the sound wave/audio into a corresponding sound code; the applet server queries a binding relationship between the pre-generated sound code and the information content/control instruction, and obtains the The generated vocoding-matched information content/control instruction; wherein the binding relationship is pre-stored in the applet server, the mobile terminal, or the background server; the applet server invokes the information content, or generates Corresponding internal control instructions.
其中,所述小程序服务器通过小程序获取该移动终端接收到的声波/音频,所述方法还包括:所述小程序服务器将所述声波/音频发送至所述后台服务器;所述后台服务器对接收到的声波/音频进行处理以生成对应的声码;所述后台服务器查询保存在所述后台服务器中的绑定关系以确定与所述声码匹配的信息内容/控制指令,并调用所述信息内容,或者产生对应的控制指令。The applet server acquires the sound wave/audio received by the mobile terminal by the applet, the method further includes: the applet server sends the sound wave/audio to the background server; the background server pair The received sound wave/audio is processed to generate a corresponding vocoding code; the background server queries a binding relationship stored in the background server to determine an information content/control instruction that matches the vocoding code, and invokes the Information content, or generate corresponding control instructions.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种基于小程序的声音处理方法,所述方法包括:小程序服务器通过小程序调用移动终端接收目标信息内容/控制指令,并查询预先生成并保存的声码和信息内容/控制指令的绑定关系,以确定目标信息内容/控制指令对应的声码;其中,所述绑定关系预先生成并保存在移动终端、小程序服务器或者后台服务器中;所述小程序服务器对所述声码进行处理以生成对应的声波/音频;所述小程序服务器通过小程序调用所述移动终端播放所述声波/音频。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a small program-based sound processing method, the method comprising: an applet server calling a mobile terminal to receive a target information content/control instruction through a small program, and Querying a binding relationship between the pre-generated and saved vocoding and the information content/control instruction to determine a vocoding corresponding to the target information content/control instruction; wherein the binding relationship is pre-generated and saved in the mobile terminal and the applet server Or in a background server; the applet server processes the vocoding to generate a corresponding sound wave/audio; the applet server invokes the mobile terminal to play the sound wave/audio through a small program.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种基于小程序的声音处理方法,所述方法包括:声音发送端服务器通过小程序调用声音发送端设备接收目标信息内容/控制指令,并查询预先生成并保存的声码和信息 内容/控制指令的绑定关系,以确定目标信息内容/控制指令对应的声码;其中,所述绑定关系预先生成并保存在声音发送端设备、声音发送端服务器或者后台服务器中;所述声音发送端服务器对所述声码进行处理以生成对应的声波/音频;所述声音发送端服务器通过小程序调用所述声音发送端设备播放所述声波/音频;声音接收端设备运行小程序应用接收所述声波/音频;声音接收端服务器通过小程序获取所述声音接收端设备接收到的声波/音频,并将所述声波/音频转换成对应的声码;所述声音接收端服务器查询预先生成的声码与信息内容/控制指令的绑定关系,获得与所述生成的声码匹配的信息内容/控制指令;其中,所述绑定关系预先保存在所述声音接收端服务器、声音接收端设备或所述后台服务器中;所述声音接收端服务器调用所述信息内容,或者产生对应的内部控制指令。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a small program-based sound processing method, the method comprising: the sound sending end server calling the sound transmitting end device to receive the target information content/control through the applet Instructing, and querying a binding relationship between the pre-generated and saved vocoding and the information content/control instruction to determine a vocoding corresponding to the target information content/control instruction; wherein the binding relationship is pre-generated and saved in the sound transmitting end a device, a sound sending end server or a background server; the sound sending end server processes the sound code to generate a corresponding sound wave/audio; and the sound sending end server calls the sound sending end device playing station through a small program The sound wave/audio; the sound receiving end device running applet application receives the sound wave/audio; the sound receiving end server acquires the sound wave/audio received by the sound receiving end device through a small program, and converts the sound wave/audio into Corresponding vocoding; the sound receiving end server queries the pre-generated vocoding a binding relationship of the information content/control instruction, obtaining an information content/control instruction matching the generated vocoding; wherein the binding relationship is pre-stored in the sound receiving end server, the sound receiving end device or the In the background server; the sound receiving end server invokes the information content or generates a corresponding internal control instruction.
其中,所述声音发送端服务器、所述声音接收端服务器均为小程序服务器,用于通过小程序相应地调用运行所述小程序的声音发送端设备和声音接收端设备。The sound sending end server and the sound receiving end server are small program servers, and are used to correspondingly call the sound sending end device and the sound receiving end device that run the small program through the applet.
以上方案中,基于小程序的声音处理系统、方法及服务器,移动终端通过运行小程序以发送/或声波/音频,并由小程序服务器查询预先生成的绑定关系以确定声波互动信息,如,通过发送声波/音频传送的信息内容/控制内容,从而实现获取相应信息内容,或执行相应功能的效果,使得移动终端在运行小程序时能够通过声波/音频与其他小程序、其他应用、或者其他智能设备进行交互,以脱离小程序原本的应用框架与限制。In the above solution, the small program-based sound processing system, method and server, the mobile terminal runs the applet to send/sound/audio, and the small program server queries the pre-generated binding relationship to determine the sound wave interaction information, for example, By transmitting the information content/control content transmitted by the sound wave/audio, the effect of acquiring the corresponding information content or performing the corresponding function is realized, so that the mobile terminal can pass the sound wave/audio with other small programs, other applications, or other when running the small program. The smart devices interact to break away from the original application framework and limitations of the applet.
【附图说明】[Description of the Drawings]
图1是本发明第一实施方式中的一种基于小程序的声音处理系统的结构示意图;1 is a schematic structural diagram of a small program-based sound processing system in a first embodiment of the present invention;
图2是本发明第二实施方式中的一种基于小程序的声音处理系统的结构示意图;2 is a schematic structural diagram of a small program-based sound processing system in a second embodiment of the present invention;
图3是本发明第三实施方式中的一种基于小程序的声音处理系统的结构示 意图;Figure 3 is a block diagram showing the structure of a small program-based sound processing system in a third embodiment of the present invention;
图4是本发明第四实施方式中的一种基于小程序的声音处理系统的结构示意图;4 is a schematic structural diagram of a small program-based sound processing system in a fourth embodiment of the present invention;
图5是本发明第五实施方式中的一种基于小程序的声音处理系统的结构示意图;5 is a schematic structural diagram of a small program-based sound processing system in a fifth embodiment of the present invention;
图6是本发明第一实施方式中的一种基于小程序的声音处理方法的流程示意图;6 is a schematic flow chart of a small program-based sound processing method according to a first embodiment of the present invention;
图7是本发明第二实施方式中的一种基于小程序的声音处理方法的流程示意图;7 is a schematic flow chart of a small program-based sound processing method in a second embodiment of the present invention;
图8是本发明第三实施方式中的一种基于小程序的声音处理方法的流程示意图;8 is a schematic flow chart of a small program-based sound processing method in a third embodiment of the present invention;
图9是本发明第四实施方式中的一种基于小程序的声音处理方法的流程示意图;9 is a schematic flow chart of a small program-based sound processing method in a fourth embodiment of the present invention;
图10是本发明第五实施方式中的一种基于小程序的声音处理方法的流程示意图。FIG. 10 is a schematic flow chart of a small program-based sound processing method in a fifth embodiment of the present invention.
【具体实施方式】【detailed description】
首先对本发明实施方式所需引用的现有技术名词进行解释。The prior art nomenclature referred to in the embodiments of the present invention is first explained.
声波/音频(信号):通常泛指一段声音,或一段声音的频率。Sonic/Audio (Signal): Usually refers to a piece of sound, or the frequency of a piece of sound.
音频文档:音频(信号)文档,例如:wav文档、mp3文档、aac文档。Audio documents: audio (signal) documents, such as: wav documents, mp3 documents, aac documents.
音频流:音频(信号)流。Audio stream: audio (signal) stream.
接收器:指音频接收器,例如手机的麦克风,或是智能装置的音频接收器。Receiver: Refers to an audio receiver, such as a microphone of a mobile phone, or an audio receiver of a smart device.
小程序:指WeChat(微信)小程序、或WhatsApp的erlang,可以在微信或WhatsAPP或Line内部运行,实现APP内的自定义应用。Applet: WeChat (WeChat) applet, or WhatsApp's erlang, can be run inside WeChat or WhatsAPP or Line to implement custom applications within the APP.
声波信号:可以被接收器接收并进一步处理的音频(信号),所解析出的原始信号。Acoustic signal: The audio (signal) that can be received and further processed by the receiver, the original signal that is parsed.
声码:声波信号进行傅里叶逆变换后得到有意义的数字信号,称为声码。声码数据库:储存声码与声码对应信息内容的数据库。Vocal code: After the inverse Fourier transform of the acoustic signal, a meaningful digital signal is obtained, which is called vocoding. Vocal database: A database that stores information content corresponding to vocoding and vocoding.
声码对应信息内容:例如数字、文数字、符号、网址、座标值、或任何带有数据的文字。The vocoding corresponds to the content of the information: for example, numbers, alphanumeric characters, symbols, web addresses, coordinate values, or any text with data.
内部控制指令:计算机或计算机装置内的指令信号,目的是触发装置的某项功能。Internal control command: A command signal within a computer or computer device that is intended to trigger a function of the device.
为详细说明本发明的技术内容、构造特征、所实现目的及效果,以下结合附图和实施例对本发明进行详细说明。The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
请参阅图1,为本发明第一实施方式的一种基于小程序的声音处理系统的结构示意图。该系统10包括移动终端11、小程序服务器12以及后台服务器13。其中,本实施方式示出的声音处理系统应用于识别声波/音频信号所携带的信息内容/控制指令以调用相应内容或执行相应功能。小程序是指WeChat(微信)小程序或WhatsApp的erlang,可以在微信、WhatsAPP或Line内部运行,实现APP内的自定义应用。在本实施方式中,是基于小程序实现的声音处理,该小程序服务器12为微信服务器。Please refer to FIG. 1 , which is a schematic structural diagram of a small program-based sound processing system according to a first embodiment of the present invention. The system 10 includes a mobile terminal 11, an applet server 12, and a backend server 13. Wherein, the sound processing system shown in the embodiment is applied to identify the information content/control instruction carried by the sound wave/audio signal to call the corresponding content or perform the corresponding function. The small program refers to the WeChat (WeChat) applet or WhatsApp erlang, which can be run inside WeChat, WhatsAPP or Line to implement custom applications in the APP. In the present embodiment, the sound processing is implemented based on an applet, which is a WeChat server.
该移动终端11安装有小程序应用,用于接收声波/音频信号。The mobile terminal 11 is equipped with an applet application for receiving sound waves/audio signals.
具体地,该移动终端11运行小程序以开启移动终端11本体设置的接收器,接收声波/音频信号。也就是说,该小程序能够实现声波/音频信号的接收。Specifically, the mobile terminal 11 runs a small program to open a receiver set by the body of the mobile terminal 11 to receive an acoustic/audio signal. That is, the applet is capable of receiving sound/audio signals.
该小程序服务器12用于提供与小程序用户相关的数据,并通过小程序获取该移动终端11接收到的声波/音频,将该声波/音频转换成对应的声码,以及生成相应的声码查询请求。The applet server 12 is configured to provide data related to the applet user, acquire the sound wave/audio received by the mobile terminal 11 through the applet, convert the sound wave/audio into a corresponding sound code, and generate a corresponding sound code. Query request.
该后台服务器13分别与移动终端11和小程序服务器12建立通信连接,预先存储声码和信息内容/控制指令的绑定信息;还用于响应小程序服务器12发送的声码查询请求,查询绑定信息以将匹配声码的信息内容/控制指令返回至小程序服务器12,使该小程序服务器12调用该信息内容,或者产生与该控制指令对应的内部控制指令。The background server 13 establishes a communication connection with the mobile terminal 11 and the applet server 12, and pre-stores the binding information of the vocoding and the information content/control instruction; and is also used to respond to the vocoding request sent by the applet server 12, and query the binding. The information is returned to return the information content/control command of the matching vocoding to the applet server 12, causing the applet server 12 to call the information content or generate an internal control command corresponding to the control command.
具体地,该小程序服务器12包括:Specifically, the applet server 12 includes:
接收单元121,用于调用小程序以通过移动终端11接收到声波/音频;The receiving unit 121 is configured to invoke an applet to receive the sound wave/audio through the mobile terminal 11;
处理单元122,用于将接收到的声波/音频信号进行傅里叶变换生成对应的声码;The processing unit 122 is configured to perform Fourier transform on the received sound wave/audio signal to generate a corresponding sound code.
第一查询单元123,用于根据处理单元122生成的声码向后台服务器13发送对应的声码查询请求。The first query unit 123 is configured to send a corresponding voice code query request to the background server 13 according to the voice code generated by the processing unit 122.
该后台服务器13包括:The background server 13 includes:
第一数据库131,用于保存声码和信息内容/控制指令的绑定信息;a first database 131, configured to store binding information of the vocoding and the information content/control instruction;
第二查询单元132,用于响应第一查询单元123发送的声码查询请求查询第一数据库131所保存的绑定信息,并将与该声码查询请求相匹配的信息内容/控制指令发送至小程序服务器12。The second query unit 132 is configured to query the binding information saved by the first database 131 in response to the vocoding query request sent by the first query unit 123, and send the information content/control instruction matching the vocoding request to the Applet server 12.
该小程序服务器12还包括调用单元124,用于根据接收到的信息内容/控制指令,调用该信息内容以通过移动终端11显示出来,或者产生与接收到的控制指令对应的内部控制指令,调用移动终端11运行小程序以执行该内部控制指令。The applet server 12 further includes an invoking unit 124 for invoking the information content to be displayed by the mobile terminal 11 according to the received information content/control instruction, or generating an internal control instruction corresponding to the received control instruction, The mobile terminal 11 runs an applet to execute the internal control command.
在本实施方式中,该移动终端11接收到声波/音频信号可以是:从电视、电脑、手机、音响、广播或任何喇叭播放的声波/音频(信号),使用小程序来接收并产出对应信息内容或内部控制指令。例如:In this embodiment, the sound wave/audio signal received by the mobile terminal 11 may be: sound wave/audio (signal) played from a television, a computer, a mobile phone, an audio, a broadcast, or any speaker, and is received and outputted by using a small program. Information content or internal control instructions. E.g:
(1)电视广告可以将商品优惠信息、或购买网页,推送到小程序的页面上。(1) TV advertisements can push product offers or purchase pages to the page of the applet.
(2)公交车或地铁列车的报站系统,可以通过广播将车站信息与周边地图,推送到小程序的页面上。(2) The station system of the bus or subway train can push the station information and the surrounding map to the page of the small program by broadcasting.
(3)接收预先设定的声波/音频(信号),让同一段时间内,所有接收到相同声波/音频(信号)的小程序,取得相同的入网参数,诸如Wi-Fi或蓝牙设置参数,以取得相对应的服务。(3) Receive preset sound waves/audio (signals), so that all small programs that receive the same sound wave/audio (signal) in the same period of time can obtain the same network access parameters, such as Wi-Fi or Bluetooth setting parameters. In order to obtain the corresponding service.
(4)接收预先设定的声波/音频(信号),让同一段时间内,所有接收到相同声波/音频(信号)的小程序,自动组团参与游戏,或参加任何线上活动。(4) Receive pre-set sonic/audio (signal), let all small programs that receive the same sound/audio (signal) in the same period of time, automatically participate in the game, or participate in any online activities.
进一步地,该小程序服务器12还包括第二数据库125,用于保存声码和信 息内容/控制指令的绑定关系。其中,保存在该第二数据库125中的绑定关系原本是保存在后台服务器13中,该小程序服务器12访问该后台服务器13并下载该绑定关系,从而保存至第二数据库125中。保存在该第二数据库125中的绑定关系还可以是小程序服务器12通过系统预先设置而生成并保存的,还可以是用户或者管理员预先编辑并保存起来的。Further, the applet server 12 further includes a second database 125 for holding the binding relationship between the vocoding and the information content/control instructions. The binding relationship stored in the second database 125 is originally stored in the background server 13, and the applet server 12 accesses the background server 13 and downloads the binding relationship, thereby saving to the second database 125. The binding relationship stored in the second database 125 may also be generated and saved by the applet server 12 through pre-setting by the system, or may be pre-edited and saved by the user or the administrator.
第一查询单元123根据处理单元122生成的声码,查询第二数据库125所保存的绑定信息,以确定与该声码相匹配的信息内容/控制指令。The first query unit 123 queries the binding information held by the second database 125 according to the vocoding generated by the processing unit 122 to determine the information content/control instruction that matches the vocoding.
进一步地,该移动终端11还包括第三数据库111,该绑定关系还可以保存在移动终端11中的第三数据库111,该绑定关系的来源可以是如下四种途径:Further, the mobile terminal 11 further includes a third database 111. The binding relationship may also be saved in the third database 111 in the mobile terminal 11. The source of the binding relationship may be as follows:
(1)该小程序服务器12通过访问后台服务器13而下载并保存至该移动终端11中;(1) The applet server 12 is downloaded and saved to the mobile terminal 11 by accessing the background server 13;
(2)该小程序服务器12通过系统预先设置而生成,或者小程序用户、管理员预先编辑并保存;(2) The applet server 12 is generated by the system pre-setting, or the applet user and the administrator pre-edit and save;
(3)该移动终端11直接访问后台服务器13而下载的;(3) the mobile terminal 11 directly accesses the background server 13 and downloads;
(4)该移动终端11的用户、管理员预先编辑并保存的。(4) The user and administrator of the mobile terminal 11 pre-edited and saved.
请参阅图2,为本发明第二实施方式中的一种基于小程序的声音处理系统的结构示意图。其中,本实施方式示出的声音处理系统应用于识别声波/音频信号所携带的信息内容/控制指令以调用相应内容或执行相应功能。在本实施方式中,当该小程序服务器22通过小程序获取该移动终端21接收到的声波/音频时,还用于将该声波/音频发送至后台服务器23。该后台服务器23还用于对接收到的声波/音频进行傅里叶变换以生成对应的声码,并查询其保存的绑定关系以确定与该声码对应的信息内容/控制指令,以及调用该信息内容,或者产生对应的内部控制指令。Please refer to FIG. 2 , which is a schematic structural diagram of a small program-based sound processing system according to a second embodiment of the present invention. Wherein, the sound processing system shown in the embodiment is applied to identify the information content/control instruction carried by the sound wave/audio signal to call the corresponding content or perform the corresponding function. In the present embodiment, when the applet server 22 acquires the sound wave/audio received by the mobile terminal 21 through the applet, it is also used to transmit the sound wave/audio to the background server 23. The background server 23 is further configured to perform Fourier transform on the received sound wave/audio to generate a corresponding sound code, and query its saved binding relationship to determine information content/control instructions corresponding to the sound code, and call The content of the information, or the corresponding internal control instructions.
具体地,相对于图1所述的声音处理系统,该小程序服务器22还包括第一通信单元226,用于将接收到的声波/音频发送至后台服务器23。Specifically, with respect to the sound processing system described in FIG. 1, the applet server 22 further includes a first communication unit 226 for transmitting the received sound waves/audio to the background server 23.
该后台服务器23还包括:The background server 23 further includes:
第二通信单元235,用于接收小程序服务器22发送的声波/音频;a second communication unit 235, configured to receive sound waves/audio sent by the applet server 22;
第二处理单元234,用于将接收到的声波/音频进行傅里叶变换以生成对应的声码;a second processing unit 234, configured to perform Fourier transform on the received sound wave/audio to generate a corresponding vocoding code;
第二调用单元233,用于调用第二查询单元231确定的内部信息,或者产生对应的内部控制指令。The second invoking unit 233 is configured to invoke the internal information determined by the second query unit 231 or generate a corresponding internal control instruction.
进一步地,当后台服务器23将接收到的声波/音频进行傅里叶变换以生成对应的声码,该第二通信单元235还用于将该声码发送至小程序服务器22。该小程序服务器22的第一查询单元223查询保存在第二数据库225,或者保存在第三数据库211中的绑定关系,以确定与该声码匹配的信息内容/控制指令。第一调用单元224调用第一查询单元223确定的内部信息,或者产生对应的内部控制指令。Further, when the background server 23 performs Fourier transform on the received sound wave/audio to generate a corresponding sound code, the second communication unit 235 is further configured to send the sound code to the applet server 22. The first query unit 223 of the applet server 22 queries the binding relationship stored in the second database 225, or saved in the third database 211, to determine the information content/control instructions that match the voice code. The first invoking unit 224 calls the internal information determined by the first inquiring unit 223 or generates a corresponding internal control instruction.
图2中的其他单元及其工作原理请参见图1所示的声音处理系统及其对应的文字部分。The other units in Figure 2 and their working principles are shown in the sound processing system shown in Figure 1 and its corresponding text portion.
请参阅图3,为本发明第三实施方式中的一种基于小程序的声音处理系统的结构示意图。其中,本实施方式示出的声音处理系统应用于将信息内容/控制指令转化成声波/音频信号以传送相应信息。该声音处理系统30包括移动终端31、小程序服务器32以及后台服务器32。其中,该小程序服务器32包括第二数据库321,用于预先保存声码和信息内容/控制指令的绑定关系。Please refer to FIG. 3 , which is a schematic structural diagram of a small program-based sound processing system according to a third embodiment of the present invention. Among them, the sound processing system shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information. The sound processing system 30 includes a mobile terminal 31, an applet server 32, and a background server 32. The applet server 32 includes a second database 321 for pre-saving the binding relationship between the voice code and the information content/control instruction.
该移动终端31安装有小程序应用,并通过运行小程序以查询该第二数据库321,确定目标信息内容/控制指令所对应的声码,并对该声码进行傅里叶变换以生成对应的声波/音频,并调用移动终端31的播放器播放该声波/音频。The mobile terminal 31 is installed with an applet application, and runs the applet to query the second database 321, determines the voice code corresponding to the target information content/control command, and performs Fourier transform on the voice code to generate a corresponding Sonic/audio, and the player of the mobile terminal 31 is called to play the sound/audio.
具体地,该小程序服务器32包括:Specifically, the applet server 32 includes:
第一查询单元322,用于响应用户的查询指令查询第二数据库321以确定与目标信息内容/控制指令匹配的声码;The first query unit 322 is configured to query the second database 321 in response to the user's query instruction to determine a voice code that matches the target information content/control instruction;
第一处理单元323,用于将第一查询单元322确定的声码进行傅里叶变换以生成对应的声波/音频文件;a first processing unit 323, configured to perform a Fourier transform on the voice code determined by the first query unit 322 to generate a corresponding sound wave/audio file;
播放驱动单元324,用于驱动移动终端31设置的播放器播放由第一处理单元323生成的声波/音频文件。The playback driving unit 324 is configured to drive the player set by the mobile terminal 31 to play the sound wave/audio file generated by the first processing unit 323.
在另一实施方式中,该绑定关系还可以预先保存在移动终端31的第三数据库311中。该小程序服务器32通过调用小程序访问移动终端31并从第三数据库311中获取该绑定关系。In another embodiment, the binding relationship may also be saved in advance in the third database 311 of the mobile terminal 31. The applet server 32 accesses the mobile terminal 31 by calling the applet and acquires the binding relationship from the third database 311.
在另一实施方式中,该绑定关系还可以预先保存在后台服务器33的第一数据库331中。In another embodiment, the binding relationship may also be pre-stored in the first database 331 of the background server 33.
请参阅图4,为本发明第四实施方式中的一种基于小程序的声音处理系统的结构示意图。其中,本实施方式示出的声音处理系统应用于将信息内容/控制指令转化成声波/音频信号以传送相应信息。在本实施方式中,相较于图3所示的声音处理系统,该后台服务器43还包括:Please refer to FIG. 4 , which is a schematic structural diagram of a sound processing system based on a small program according to a fourth embodiment of the present invention. Among them, the sound processing system shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information. In this embodiment, the background server 43 further includes: Compared to the sound processing system shown in FIG.
第二通信单元432,用于与小程序服务器42建立通信连接;a second communication unit 432, configured to establish a communication connection with the applet server 42;
第二处理单元433,用于对目标信息内容/控制指令对应的声码进行傅里叶变换以生成对应的声波/音频文件;a second processing unit 433, configured to perform Fourier transform on the voice code corresponding to the target information content/control instruction to generate a corresponding sound wave/audio file;
其中,该目标信息内容/控制指令对应的声码可以是小程序服务器32在响应用户的查询指令查询保存在第二数据库421的绑定关系而确定的,并通过第一通信单元425上传发送的。The vocoding code corresponding to the target information content/control command may be determined by the applet server 32 in response to the user's query instruction querying the binding relationship stored in the second database 421, and uploaded and sent by the first communication unit 425. .
在其他实施方式中,该目标信息内容/控制指令对应的声码是通过如下方式确定的:小程序服务器42通过第一通信单元425将用户所需查询的目标信息内容/控制指令发送至后台服务器43。该后台服务器43还包括第二查询单元434,用于根据接收到的目标信息内容/控制指令查询第一数据库431保存的绑定关系,从而确定对应的声码。In other embodiments, the vocoding corresponding to the target information content/control instruction is determined by the applet server 42 transmitting, by the first communication unit 425, the target information content/control command requested by the user to the background server. 43. The background server 43 further includes a second query unit 434, configured to query the binding relationship held by the first database 431 according to the received target information content/control instruction, thereby determining the corresponding voice code.
图4中的其他单元及其工作原理请参见图3所示的声音处理系统及其对应的文字部分。The other units in Figure 4 and their working principles are shown in the sound processing system shown in Figure 3 and its corresponding text portion.
请参阅图5,为本发明第五实施方式中的一种基于小程序的声音处理系统的结构示意图。其中,本实施方式示出的声音处理系统应用于将信息内容/控制指 令转化成声波/音频信号以传送相应信息,以及将信息内容/控制指令转化成声波/音频信号以传送相应信息。具体地,该声音处理系统50包括声音发送端设备51、声音发送端服务器52、声音接收端服务器53、后台服务器54以及声音接收端设备55。Please refer to FIG. 5 , which is a schematic structural diagram of a sound processing system based on a small program according to a fifth embodiment of the present invention. Among them, the sound processing system shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information, and convert the information content/control command into an acoustic/audio signal to transmit corresponding information. Specifically, the sound processing system 50 includes a sound transmitting device 51, a sound transmitting server 52, a sound receiving server 53, a background server 54, and a sound receiving device 55.
在本实施方式中,该声音发送端服务器52为一小程序服务器。In the present embodiment, the voice transmitting end server 52 is an applet server.
该声音发送端设备51安装有小程序应用,并通过运行小程序确定目标内容信息/控制指令。The sound transmitting device 51 is installed with an applet application, and determines a target content information/control command by running a small program.
该声音发送端服务器52响应该目标内容信息/控制指令查询预先生成的绑定关系以确定匹配的声码,并对该声码进行傅里叶变换以生成对应的声波/音频,以及调用声音发送端设备51播放该声波/音频。The voice transmitting end server 52 queries the pre-generated binding relationship in response to the target content information/control command to determine a matched vocoding, and performs Fourier transform on the voicing to generate corresponding sound/audio, and invokes sound transmission. The end device 51 plays the sound wave/audio.
其中,该绑定关系可以是预先保存在声音发送端设备51中,还可以是预先保存在声音发送端服务器52中,还可以是通过访问后台服务器54保存的绑定关系而获取的。The binding relationship may be pre-stored in the voice sending end device 51, or may be pre-stored in the voice sending end server 52, or may be obtained by accessing the binding relationship saved by the background server 54.
当声音发送端设备51播放声波/音频时,该声音接收端服务器53通过调用声音接收端设备55接收该声波/音频。在本实施方式中,该声音接收端服务器53为一小程序服务器,该声音接收端设备55安装有小程序应用,并通过运行小程序接收该声波/音频。When the sound transmitting device 51 plays the sound wave/audio, the sound receiving end server 53 receives the sound wave/audio by calling the sound receiving device 55. In the present embodiment, the sound receiving end server 53 is an applet server, and the sound receiving end device 55 is installed with an applet application and receives the sound wave/audio by running a small program.
该声音接收端服务器53将接收到的声波/音频进行傅里叶变换以转换成对应声码,并查询预先生成的绑定关系以确定与该声码匹配的信息内容/控制指令,从而调用该信息内容,或者产生对应的内部控制指令。The sound receiving end server 53 performs Fourier transform on the received sound wave/audio to convert into a corresponding sound code, and queries a pre-generated binding relationship to determine an information content/control instruction matching the sound code, thereby calling the Information content, or generate corresponding internal control instructions.
其中,该绑定关系可以是预先保存在声音接收端设备55中,还可以是预先保存在声音接收服务器53中,还可以是通过访问后台服务器54保存的绑定关系而获取的。The binding relationship may be pre-stored in the voice receiving device 55, or may be pre-stored in the voice receiving server 53, or may be obtained by accessing the binding relationship saved by the background server 54.
图5中的单元及其工作原理请参见图1-4所示的声音处理系统及其对应的文字部分,在此不加赘述。For the unit in Figure 5 and its working principle, please refer to the sound processing system shown in Figure 1-4 and its corresponding text parts, which are not described here.
通过如上所述的声音处理系统,可以使用小程序来产生并播放声波/音频(信 号),以及使接收端设备(手机、智能设备、智能家电、智能汽车)与发送端设备产生交互。例如:With the sound processing system as described above, an applet can be used to generate and play sound waves/audio (signals), and the receiving device (mobile phone, smart device, smart home appliance, smart car) can interact with the transmitting device. E.g:
(1)使用运行小程序的手机产生并播放携带“开门指令”的声波/音频(信号),智能门锁响应该声波/音频打开门锁。(1) Using the mobile phone running the applet to generate and play the sound wave/audio (signal) carrying the "open door command", the smart door lock responds to the sound wave/audio to open the door lock.
(2)使用运行小程序的手机产生并播放电视遥控指令的声波/音频(信号),当做遥控器,使电视机能够响应声波/音频进行开关机、频道切换。(2) Using the mobile phone running the small program to generate and play the sound wave/audio (signal) of the TV remote control command, as the remote controller, enable the TV set to switch on and off in response to the sound wave/audio.
(3)使用运行小程序的手机产生并播放声波/音频(信号),来启动汽车发动机、或电动车马达。(3) Use the mobile phone running the applet to generate and play sound waves/audio (signals) to start the car engine or the electric car motor.
(4)使用运行小程序的手机产生并播放声波/音频(信号),与其它手机运行的APP或小程序产生交互。(4) Use the mobile phone running the applet to generate and play sound waves/audio (signal) to interact with other apps or applets running on the phone.
(5)使用运行小程序的手机产生并播放声波/音频(信号),做多个智能设备命令触发信号。(5) Use the mobile phone running the applet to generate and play the sound wave/audio (signal) and make multiple smart device command trigger signals.
请参阅图6,为本发明第一实施方式中的基于小程序的声音处理方法。其中,本实施方式示出的声音处理方法应用于将信息内容/控制指令转化成声波/音频信号以传送相应信息。该方法包括:Please refer to FIG. 6 , which is a small program-based sound processing method according to a first embodiment of the present invention. Among them, the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information. The method includes:
步骤S60,移动终端运行小程序应用以接收声波/音频信号;Step S60, the mobile terminal runs an applet application to receive the sound wave/audio signal;
步骤S61,小程序服务器通过小程序获取该移动终端接收到的声波/音频,并将该声波/音频转换成对应的声码。Step S61, the applet server acquires the sound wave/audio received by the mobile terminal through the applet, and converts the sound wave/audio into a corresponding sound code.
步骤S62,该小程序服务器查询预先生成的声码和信息内容/控制指令的绑定关系以确定配该声码的信息内容/控制指令。In step S62, the applet server queries the binding relationship between the pre-generated voice code and the information content/control command to determine the information content/control command corresponding to the voice code.
其中,该绑定关系预先生成并保存在该小程序服务器中,还可以保存在移动终端或后台服务器中。The binding relationship is pre-generated and saved in the applet server, and can also be saved in the mobile terminal or the background server.
步骤S63,该小程序服务器调用该信息,或者产生对应的内部控制指令。In step S63, the applet server calls the information or generates a corresponding internal control instruction.
请参阅图7,为本发明第二实施方式中的基于小程序的声音处理方法。其中,本实施方式示出的声音处理方法应用于将信息内容/控制指令转化成声波/音频信号以传送相应信息。该方法包括:Please refer to FIG. 7 , which is a small program-based sound processing method according to a second embodiment of the present invention. Among them, the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information. The method includes:
步骤S70,移动终端运行小程序应用以接收声波/音频信号;Step S70, the mobile terminal runs the applet application to receive the sound wave/audio signal;
步骤S71,小程序服务器通过小程序获取该移动终端接收到的声波/音频,并将该声波/音频发送至后台服务器。Step S71, the applet server acquires the sound wave/audio received by the mobile terminal through the applet, and sends the sound wave/audio to the background server.
步骤S72,该后台服务器对接收到的声波/音频进行处理以生成对应的声码。In step S72, the background server processes the received sound wave/audio to generate a corresponding sound code.
具体地,该后台服务器对接收到的声波/音频进行傅里叶变换处理以生成对应的声码。Specifically, the background server performs Fourier transform processing on the received sound waves/audio to generate corresponding sound codes.
步骤S73,该后台服务器查询保存在该后台服务器中的绑定关系以确定与该声码匹配的信息内容/控制指令,并调用该信息内容,或者产生对应的控制指令。然后,流程结束。Step S73, the background server queries the binding relationship stored in the background server to determine the information content/control instruction that matches the voice code, and invokes the information content, or generates a corresponding control instruction. Then the process ends.
进一步地,该后台服务器对接收到声波/音频进行处理以生成对应的声码后,该方法还包括:Further, after the background server processes the received sound wave/audio to generate the corresponding sound code, the method further includes:
步骤S74,该后台服务器将该声码发送至小程序服务器。In step S74, the background server sends the voice code to the applet server.
步骤S75,该小程序服务器查询保存在小程序服务器中的绑定关系以查询与该声码匹配的信息内容/控制指令,并调用该信息内容,或者产生对应的控制指令。然后,流程结束。Step S75, the applet server queries the binding relationship stored in the applet server to query the information content/control instruction matching the voice code, and invokes the information content, or generates a corresponding control instruction. Then the process ends.
请参阅图8,为本发明第三实施方式中的基于小程序的声音处理方法。其中,本实施方式示出的声音处理方法应用于将信息内容/控制指令转化成声波/音频信号以传送相应信息。该方法包括:Please refer to FIG. 8 , which is a small program-based sound processing method according to a third embodiment of the present invention. Among them, the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information. The method includes:
步骤S80,小程序服务器通过小程序调用移动终端接收目标信息内容/控制指令,并查询预先生成并保存的声码和信息内容/控制指令的绑定关系,以确定目标信息内容/控制指令对应的声码。Step S80, the applet server calls the mobile terminal to receive the target information content/control instruction through the applet, and queries the binding relationship between the previously generated and saved voice code and the information content/control instruction to determine the target information content/control instruction corresponding to the target information content/control instruction. Vocal code.
其中,该绑定关系可以预先生成并保存在移动终端、小程序服务器或者后台服务器中。The binding relationship may be pre-generated and saved in a mobile terminal, an applet server, or a background server.
步骤S81,小程序服务器对该声码进行处理以生成对应的声波/音频。In step S81, the applet server processes the sound code to generate corresponding sound waves/audio.
步骤S82,该小程序服务器通过小程序调用移动终端播放该声波/音频。Step S82, the applet server calls the mobile terminal to play the sound wave/audio through the applet.
请参阅图9,为本发明第四实施方式中的基于小程序的声音处理方法。其中, 本实施方式示出的声音处理方法应用于将信息内容/控制指令转化成声波/音频信号以传送相应信息。该方法包括:Please refer to FIG. 9 , which is a small program-based sound processing method according to a fourth embodiment of the present invention. Among them, the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information. The method includes:
步骤90,小程序服务器通过小程序调用移动终端接收目标信息内容/控制指令,并查询预先生成并保存的声码和信息内容/控制指令的绑定关系,以确定目标信息内容/控制指令对应的声码。Step 90: The applet server calls the mobile terminal to receive the target information content/control instruction through the applet, and queries the binding relationship between the pre-generated and saved voice code and the information content/control instruction to determine the target information content/control instruction corresponding to the target information content/control instruction. Vocal code.
其中,该绑定关系可以预先生成并保存在移动终端、小程序服务器或者后台服务器中。The binding relationship may be pre-generated and saved in a mobile terminal, an applet server, or a background server.
步骤S91,该小程序服务器将该声码发送至后台服务器。In step S91, the applet server sends the voice code to the background server.
步骤S92,该后台服务器对接收到的声码进行处理以生成对应的声波/音频文件,并将该声波/音频文件发送至小程序服务器。In step S92, the background server processes the received voice code to generate a corresponding sound/audio file, and sends the sound wave/audio file to the applet server.
步骤S93,该小程序服务器通过小程序调用移动终端播放该声波/音频文件。In step S93, the applet server calls the mobile terminal to play the sound wave/audio file through the applet.
请参阅图10,为本发明第五实施方式中的基于小程序的声音处理方法。其中,本实施方式示出的声音处理方法应用于将信息内容/控制指令转化成声波/音频信号以传送相应信息,以及将信息内容/控制指令转化成声波/音频信号以传送相应信息。该方法包括:Please refer to FIG. 10, which is a small program-based sound processing method according to a fifth embodiment of the present invention. Among them, the sound processing method shown in the present embodiment is applied to convert an information content/control command into an acoustic/audio signal to transmit corresponding information, and convert the information content/control command into an acoustic/audio signal to transmit corresponding information. The method includes:
步骤S100,声音发送端服务器通过小程序调用声音发送端设备接收目标信息内容/控制指令,并查询预先生成并保存的声码和信息内容/控制指令的绑定关系,以确定目标信息内容/控制指令对应的声码。Step S100, the sound sending end server invokes the sound sending end device to receive the target information content/control instruction through the applet, and queries the binding relationship between the previously generated and saved voice code and the information content/control instruction to determine the target information content/control. The vocoding corresponding to the instruction.
其中,该绑定关系可以预先生成并保存在声音发送端设备、声音发送端服务器或者后台服务器中。The binding relationship may be pre-generated and saved in the voice sending end device, the voice sending end server, or the background server.
在本实施方式中,该声音发送端服务器为一小程序服务器。In this embodiment, the voice sender server is an applet server.
步骤S101,声音发送端服务器对该声码进行处理以生成对应的声波/音频。In step S101, the sound sending end server processes the sound code to generate corresponding sound waves/audio.
步骤S102,该声音发送端服务器通过小程序调用声音发送端设备播放该声波/音频。Step S102, the sound sending end server calls the sound sending end device to play the sound wave/audio through the applet.
步骤S103,声音接收端设备运行小程序应用以接收声波/音频信号。In step S103, the sound receiving end device runs an applet application to receive the sound wave/audio signal.
步骤S104,声音接收端服务器通过小程序获取该声音接收端设备接收到的 声波/音频,并将该声波/音频转换成对应的声码。Step S104, the sound receiving end server acquires the sound wave/audio received by the sound receiving end device through the applet, and converts the sound wave/audio into a corresponding sound code.
在本实施方式中,该声音接收端服务器为一小程序服务器,该声音接收端设备安装有小程序应用,并通过运行小程序接收该声波/音频。In this embodiment, the sound receiving end server is an applet server, and the sound receiving end device is installed with an applet application, and receives the sound wave/audio by running a small program.
步骤S105,该声音接收端服务器查询预先生成的声码和信息内容/控制指令的绑定关系以确定配该声码的信息内容/控制指令。Step S105, the sound receiving end server queries the binding relationship between the pre-generated voice code and the information content/control instruction to determine the information content/control instruction of the voice code.
其中,该绑定关系预先生成并保存在该声音接收端服务器中,还可以保存在声音接收端设备或后台服务器中。The binding relationship is pre-generated and saved in the voice receiving server, and may also be stored in the voice receiving device or the background server.
步骤S106,该声音接收端服务器调用该信息,或者产生对应的内部控制指令。In step S106, the sound receiving end server calls the information or generates a corresponding internal control instruction.
图10中的方法步骤请参见图6-9所示的声音处理系统及其对应的文字部分,在此不加赘述。For the method steps in FIG. 10, please refer to the sound processing system shown in FIG. 6-9 and its corresponding text portions, which are not described herein.
本发明实施方式中,基于小程序的声音处理系统、方法及服务器,移动终端通过运行小程序以发送/或声波/音频,并由小程序服务器查询预先生成的绑定关系以确定声波互动信息,如,通过发送声波/音频传送的信息内容/控制内容,从而实现获取相应信息内容,或执行相应功能的效果,使得移动终端在运行小程序时能够通过声波/音频与其他小程序、其他应用、或者其他智能设备进行交互,以脱离小程序原本的应用框架与限制。In an embodiment of the present invention, a small program-based sound processing system, method, and server, the mobile terminal runs a small program to transmit/or sound waves/audio, and the small program server queries a pre-generated binding relationship to determine sound wave interaction information. For example, by transmitting the information content/control content transmitted by the sound wave/audio, the effect of acquiring the corresponding information content or performing the corresponding function is realized, so that the mobile terminal can pass the sound wave/audio with other small programs, other applications, and the like when running the small program. Or other smart devices interact to break away from the original application framework and limitations of the applet.
在本发明所提供的实施方式中,所揭露的系统、终端和方法,可以通过其它的方式实现。例如,以上所描述的终端实施例是示意性的,所述单元的划分,为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiments provided by the present invention, the disclosed system, terminal and method may be implemented in other manners. For example, the terminal embodiment described above is schematic, and the division of the unit is a logical function division, and the actual implementation may have another division manner.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能 单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,管理服务器,或者网络设备等)或处理器执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文:read-only memory,缩写:ROM)、随机存取存储器(英文:Random Access Memory,缩写:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solution of the present invention may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, The management server, or network device, etc. or processor, performs all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (English: read-only memory, abbreviation: ROM), a random access memory (English: Random Access Memory, abbreviation: RAM), a magnetic disk or an optical disk, and the like. A variety of media that can store program code.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation of the present invention and the contents of the drawings may be directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种基于小程序的声音处理系统,其特征在于,所述系统包括后台服务器,还包括:A small program-based sound processing system, characterized in that the system comprises a background server, and further comprising:
    移动终端,安装有小程序应用,用于响应所述小程序的调用接收声波/音频;a mobile terminal, installed with an applet application for receiving sound waves/audio in response to the call of the applet;
    小程序服务器,用于将接收到的声波/音频转换成对应的声码;查询预先生成的声码与信息内容/控制指令的绑定关系,获得与所述生成的声码匹配的信息内容/控制指令;以及调用所述信息内容,或者产生对应的内部控制指令;a small program server, configured to convert the received sound wave/audio into a corresponding sound code; query a binding relationship between the pre-generated sound code and the information content/control instruction, and obtain information content that matches the generated sound code/ Controlling the instruction; and invoking the information content or generating a corresponding internal control instruction;
    其中,所述绑定关系预先保存在所述小程序服务器、移动终端或所述后台服务器中。The binding relationship is pre-stored in the applet server, the mobile terminal, or the background server.
  2. 根据权利要求1所述的基于小程序的声音处理系统,其特征在于,所述绑定关系预先保存在所述后台服务器中,所述小程序服务器还用于将接收到的声波/音频发送至所述后台服务器;The applet-based sound processing system according to claim 1, wherein the binding relationship is pre-stored in the background server, and the applet server is further configured to send the received sound wave/audio to The background server;
    所述后台服务器还用于:The background server is also used to:
    将接收到的声波/音频转换成对应的声码;Converting the received sound wave/audio into a corresponding sound code;
    查询保存在所述后台服务器的绑定关系以确定匹配所述声码的信息内容/控制指令;Querying a binding relationship stored in the background server to determine an information content/control instruction that matches the vocoding;
    调用所述信息内容,或者产生与所述控制指令对应的内部控制指令。The information content is called or an internal control instruction corresponding to the control instruction is generated.
  3. 根据权利要求1所述的基于小程序的声音处理系统,其特征在于,所述绑定关系预先保存在所述小程序服务器中;所述小程序服务器还用于将接收到的声波/音频发送至所述后台服务器;The applet-based sound processing system according to claim 1, wherein the binding relationship is pre-stored in the applet server; the applet server is further configured to send the received sound wave/audio To the background server;
    所述后台服务器还用于将接收到的声波/音频转换成对应的声码,并发送所述声码至所述小程序服务器;The background server is further configured to convert the received sound wave/audio into a corresponding sound code, and send the sound code to the applet server;
    所述小程序服务器还用于根据接收到的所述声码查询保存在所述小程序服务器的绑定信息以确定匹配所述声码的信息内容/控制指令。The applet server is further configured to query, according to the received vocoding, binding information stored in the applet server to determine an information content/control instruction that matches the vocoding.
  4. 一种基于小程序的声音处理系统,其特征在于,所述系统包括:A small program based sound processing system, characterized in that the system comprises:
    移动终端,安装有小程序应用,用于响应所述小程序的调用接收一目标信息内容/控制指令;a mobile terminal, installed with an applet application, configured to receive a target information content/control instruction in response to the call of the applet;
    小程序服务器,用于根据接收到的所述目标信息内容/控制指令查询预先生成的绑定关系,以确定匹配所述目标信息内容/控制指令的声码;以及,将所述声码转换成对应的声波/音频,以通过所述移动终端播放所述声波/音频;a small program server, configured to query a pre-generated binding relationship according to the received target information content/control instruction to determine a vocoding that matches the target information content/control instruction; and convert the vocal code into Corresponding sound/audio for playing the sound wave/audio through the mobile terminal;
    其中,所述绑定关系预先保存在所述小程序服务器、移动终端或所述后台服务器中。The binding relationship is pre-stored in the applet server, the mobile terminal, or the background server.
  5. 根据权利要求4所述的基于小程序的声音处理系统,其特征在于,所述绑定关系预先保存在所述后台服务器中,所述小程序服务器还用于将接收到的所述信息内容/内部控制指令发送至所述后台服务器;The applet-based sound processing system according to claim 4, wherein the binding relationship is pre-stored in the background server, and the applet server is further configured to receive the received information content/ An internal control command is sent to the background server;
    所述后台服务器还用于根据接收到的所述信息内容/控制指令查询存储的所述绑定信息以将匹配所述信息内容/控制指令的声码转换成对应的声波/音频,以及将所述声波/音频发送至所述小程序服务器。The background server is further configured to query the stored binding information according to the received information content/control instruction to convert the sound code matching the information content/control instruction into a corresponding sound wave/audio, and The sonic/audio is sent to the applet server.
  6. 根据权利要求4所述的基于小程序的声音处理系统,其特征在于,所述绑定关系预先保存在所述小程序服务器中;所述小程序服务器还用于将确定的所述声码发送至所述后台服务器;所述后台服务器还用于将接收到的所述声码转换为对应的声波/音频,并将所述声波/音频发送至所述小程序服务器。The applet-based sound processing system according to claim 4, wherein the binding relationship is pre-stored in the applet server; the applet server is further configured to send the determined voice code And the background server is further configured to convert the received voice code into a corresponding sound wave/audio, and send the sound wave/audio to the applet server.
  7. 一种基于小程序的声音处理系统,其特征在于,所述系统包括:A small program based sound processing system, characterized in that the system comprises:
    声音发送端设备,安装有小程序应用,并通过运行小程序接收用户输入的目标信息内容/控制指令;a sound transmitting device, which is installed with an applet application, and receives a target information content/control command input by the user by running a small program;
    声音发送端服务器,用于响应所述目标信息内容/控制指令查询预先生成的声码和信息内容/控制指令的绑定关系以确定匹配的声码,并将所述声码转换为对应的声波/音频,以及调用所述声音发送端设备播放所述声波/音频;a sound sending end server, configured to query a binding relationship between the pre-generated voice code and the information content/control instruction in response to the target information content/control instruction to determine a matched voice code, and convert the voice code into a corresponding sound wave /audio, and calling the sound transmitting device to play the sound wave/audio;
    声音接收端设备,安装有小程序应用,并通过运行小程序接收由声音发送端设备发送的所述声波/音频;a sound receiving device, installed with an applet application, and receiving the sound wave/audio sent by the sound transmitting device by running a small program;
    声音接收端服务器,用于将接收到的声波/音频变换成对应的声码,并查询 预先生成的声码和信息内容/控制指令的绑定关系以确定匹配的信息内容/控制指令。The sound receiving end server is configured to convert the received sound wave/audio into a corresponding sound code, and query a binding relationship between the pre-generated sound code and the information content/control instruction to determine a matching information content/control instruction.
  8. 根据权利要求7所述的基于小程序的声音处理系统,其特征在于,所述声音发送端服务器为与所述声音发送端设备运行的小程序对应的小程序服务器。The applet-based sound processing system according to claim 7, wherein the sound transmitting end server is an applet server corresponding to an applet run by the sound transmitting end device.
  9. 根据权利要求8所述的基于小程序的声音处理系统,其特征在于,所述声音接收端服务器为与所述声音接收端设备运行的小程序对应的小程序服务器。The applet-based sound processing system according to claim 8, wherein the sound receiving end server is an applet server corresponding to an applet run by the sound receiving end device.
  10. 一种小程序服务器,其特征在于,所述服务器包括:A small program server, characterized in that the server comprises:
    接收单元,用于调用小程序以通过移动终端接收到声波/音频;其中,所述移动终端运行所述小程序;a receiving unit, configured to invoke an applet to receive sound waves/audio through the mobile terminal; wherein the mobile terminal runs the applet;
    处理单元,用于将接收到的声波/音频进行处理生成对应的声码;a processing unit, configured to process the received sound wave/audio to generate a corresponding sound code;
    第一查询单元,用于根据所述处理单元生成的声码查询预先生成的声码和信息内容/控制指令的绑定关系,以确定与所述声码匹配的信息内容/控制指令;其中,所述绑定关系预先生成并保存在所述小程序服务器、移动终端或后台服务器中;a first querying unit, configured to query, according to the vocode generated by the processing unit, a binding relationship between the pre-generated vocoding code and the information content/control instruction to determine an information content/control instruction that matches the vocoding code; The binding relationship is pre-generated and saved in the applet server, the mobile terminal, or the background server;
    第一调用单元,用于根据与所述声码匹配的信息内容/控制指令,调用所述信息内容以通过所述移动终端显示,或者产生对应的控制指令以调用所述移动终端执行所述控制指令。a first calling unit, configured to invoke the information content to be displayed by the mobile terminal according to an information content/control instruction matched with the vocoding, or generate a corresponding control instruction to invoke the mobile terminal to perform the control instruction.
  11. 一种小程序服务器,其特征在于,所述服务器包括:A small program server, characterized in that the server comprises:
    第一查询单元,用于调用小程序以通过移动终端接收目标信息内容/控制指令,并查询预先生成的声波和信息内容/控制指令的绑定关系以确定与所述目标信息内容/控制指令匹配的声码;其中,所述绑定关系预先生成并保存在所述小程序服务器、移动终端或后台服务器中;a first query unit, configured to invoke the applet to receive the target information content/control instruction by the mobile terminal, and query a binding relationship between the pre-generated sound wave and the information content/control instruction to determine that the target information content/control instruction is matched The vocoding code; wherein the binding relationship is pre-generated and saved in the applet server, the mobile terminal or the background server;
    第一处理单元,用于将所述第一查询单元确定的声码进行处理以生成对应的声波/音频文件;a first processing unit, configured to process the voice code determined by the first query unit to generate a corresponding sound wave/audio file;
    播放驱动单元,用于驱动所述移动终端播放由所述第一处理单元生成的声波/音频文件。And a playback driving unit, configured to drive the mobile terminal to play the sound wave/audio file generated by the first processing unit.
  12. 一种基于小程序的声音处理方法,其特征在于,所述方法包括:A small program-based sound processing method, characterized in that the method comprises:
    移动终端运行小程序应用接收声波/音频;The mobile terminal runs a small program application to receive sound waves/audio;
    小程序服务器通过小程序获取该移动终端接收到的声波/音频,并将所述声波/音频转换成对应的声码;The applet server acquires the sound wave/audio received by the mobile terminal through the applet, and converts the sound wave/audio into a corresponding sound code;
    所述小程序服务器查询预先生成的声码与信息内容/控制指令的绑定关系,获得与所述生成的声码匹配的信息内容/控制指令;其中,所述绑定关系预先保存在所述小程序服务器、移动终端或所述后台服务器中;The applet server queries a binding relationship between the pre-generated vocoding and the information content/control instruction, and obtains an information content/control instruction that matches the generated vocoding; wherein the binding relationship is pre-stored in the In the applet server, the mobile terminal or the background server;
    所述小程序服务器调用所述信息内容,或者产生对应的内部控制指令。The applet server invokes the information content or generates a corresponding internal control instruction.
  13. 根据权利要求12所述的基于小程序的声音处理方法,其特征在于,所述小程序服务器通过小程序获取该移动终端接收到的声波/音频,所述方法还包括:The method according to claim 12, wherein the applet server acquires sound waves/audio received by the mobile terminal by using a small program, the method further comprising:
    所述小程序服务器将所述声波/音频发送至所述后台服务器;The applet server sends the sound wave/audio to the background server;
    所述后台服务器对接收到的声波/音频进行处理以生成对应的声码;The background server processes the received sound wave/audio to generate a corresponding sound code;
    所述后台服务器查询保存在所述后台服务器中的绑定关系以确定与所述声码匹配的信息内容/控制指令,并调用所述信息内容,或者产生对应的控制指令。The background server queries a binding relationship stored in the background server to determine an information content/control instruction that matches the vocoding, and invokes the information content or generates a corresponding control instruction.
  14. 一种基于小程序的声音处理方法,其特征在于,所述方法包括:A small program-based sound processing method, characterized in that the method comprises:
    小程序服务器通过小程序调用移动终端接收目标信息内容/控制指令,并查询预先生成并保存的声码和信息内容/控制指令的绑定关系,以确定目标信息内容/控制指令对应的声码;其中,所述绑定关系预先生成并保存在移动终端、小程序服务器或者后台服务器中;The applet server calls the mobile terminal to receive the target information content/control instruction through the applet, and queries the binding relationship between the pre-generated and saved voice code and the information content/control instruction to determine the voice code corresponding to the target information content/control instruction; The binding relationship is pre-generated and saved in a mobile terminal, an applet server, or a background server;
    所述小程序服务器对所述声码进行处理以生成对应的声波/音频;The applet server processes the vocoding to generate a corresponding sound wave/audio;
    所述小程序服务器通过小程序调用所述移动终端播放所述声波/音频。The applet server invokes the mobile terminal to play the sound wave/audio through a small program.
  15. 一种基于小程序的声音处理方法,其特征在于,所述方法包括:A small program-based sound processing method, characterized in that the method comprises:
    声音发送端服务器通过小程序调用声音发送端设备接收目标信息内容/控制指令,并查询预先生成并保存的声码和信息内容/控制指令的绑定关系,以确定目标信息内容/控制指令对应的声码;其中,所述绑定关系预先生成并保存在声 音发送端设备、声音发送端服务器或者后台服务器中;The sound sending end server calls the sound transmitting end device to receive the target information content/control instruction through the applet, and queries the binding relationship between the previously generated and saved sound code and the information content/control instruction to determine the target information content/control instruction corresponding to the target information content/control command a vocoding code; wherein the binding relationship is pre-generated and saved in a sound sending end device, a sound sending end server, or a background server;
    所述声音发送端服务器对所述声码进行处理以生成对应的声波/音频;The sound sending end server processes the sound code to generate a corresponding sound wave/audio;
    所述声音发送端服务器通过小程序调用所述声音发送端设备播放所述声波/音频;The sound sending end server calls the sound sending end device to play the sound wave/audio through a small program;
    声音接收端设备运行小程序应用接收所述声波/音频;The sound receiving end device running applet application receives the sound wave/audio;
    声音接收端服务器通过小程序获取所述声音接收端设备接收到的声波/音频,并将所述声波/音频转换成对应的声码;The sound receiving end server acquires the sound wave/audio received by the sound receiving end device through a small program, and converts the sound wave/audio into a corresponding sound code;
    所述声音接收端服务器查询预先生成的声码与信息内容/控制指令的绑定关系,获得与所述生成的声码匹配的信息内容/控制指令;其中,所述绑定关系预先保存在所述声音接收端服务器、声音接收端设备或所述后台服务器中;The sound receiving end server queries a binding relationship between the pre-generated voice code and the information content/control instruction, and obtains an information content/control instruction that matches the generated voice code; wherein the binding relationship is pre-stored in the Said in the sound receiving end server, the sound receiving end device or the background server;
    所述声音接收端服务器调用所述信息内容,或者产生对应的内部控制指令。The sound receiving end server invokes the information content or generates a corresponding internal control instruction.
  16. 根据权利要求15所述的基于小程序的声音处理方法,其特征在于,所述声音发送端服务器、所述声音接收端服务器均为小程序服务器,用于通过小程序相应地调用运行所述小程序的声音发送端设备和声音接收端设备。The small program-based sound processing method according to claim 15, wherein the sound transmitting end server and the sound receiving end server are small applet servers, and are used to correspondingly call the small running by the applet. The sound transmitting device and the sound receiving device of the program.
PCT/CN2019/082853 2018-04-22 2019-04-16 Applet-based sound processing system and method, and server WO2019205985A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810363801.2A CN108632140A (en) 2018-04-22 2018-04-22 A kind of sound processing system, method and server based on small routine
CN201810363801.2 2018-04-22

Publications (1)

Publication Number Publication Date
WO2019205985A1 true WO2019205985A1 (en) 2019-10-31

Family

ID=63694232

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/082853 WO2019205985A1 (en) 2018-04-22 2019-04-16 Applet-based sound processing system and method, and server

Country Status (2)

Country Link
CN (1) CN108632140A (en)
WO (1) WO2019205985A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763946A (en) * 2021-01-04 2021-12-07 北京沃东天骏信息技术有限公司 Message processing method, voice processing method, device, terminal and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632140A (en) * 2018-04-22 2018-10-09 厦门声连网信息科技有限公司 A kind of sound processing system, method and server based on small routine
CN109714249B (en) * 2018-12-28 2021-09-07 武汉斗鱼网络科技有限公司 Method and related device for pushing applet messages
CN110401526B (en) * 2019-07-31 2022-10-18 中国工商银行股份有限公司 Client information security interaction method based on small program, terminal and server
CN111724785B (en) * 2020-06-29 2023-07-04 百度在线网络技术(北京)有限公司 Method, device and storage medium for controlling small program voice
EP4170650A4 (en) 2020-06-29 2024-07-17 Baidu online network technology beijing co ltd Speech control method for mini-program, and devices and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8254406B1 (en) * 2009-05-26 2012-08-28 Sprint Communications Company L.P. Early termination in wireless communication overhead cycles
CN107241652A (en) * 2017-06-28 2017-10-10 百视通网络电视技术发展有限责任公司 A kind of TV speech remote control system and method based on wechat small routine
CN107346245A (en) * 2017-06-29 2017-11-14 杭州古北电子科技有限公司 The control method and system of smart machine
CN107572087A (en) * 2017-09-12 2018-01-12 深圳市达伦仕科技有限公司 A kind of intelligent environment protection express box and its application method
CN108632140A (en) * 2018-04-22 2018-10-09 厦门声连网信息科技有限公司 A kind of sound processing system, method and server based on small routine

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580309A (en) * 2013-10-21 2015-04-29 国民技术股份有限公司 Information pushing method as well as audio terminal, mobile terminal and pushing system
CN105898381A (en) * 2015-12-15 2016-08-24 乐视致新电子科技(天津)有限公司 Content transmission method, content play method, content server and intelligent equipment
CN106375418A (en) * 2016-08-31 2017-02-01 厦门声连网信息科技有限公司 Dynamic generation method of information data of acoustic Internet of Thing
CN205722070U (en) * 2016-06-15 2016-11-23 广州中卡智能科技有限公司 A kind of gate control system based on acoustic communication
US20180039478A1 (en) * 2016-08-02 2018-02-08 Google Inc. Voice interaction services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8254406B1 (en) * 2009-05-26 2012-08-28 Sprint Communications Company L.P. Early termination in wireless communication overhead cycles
CN107241652A (en) * 2017-06-28 2017-10-10 百视通网络电视技术发展有限责任公司 A kind of TV speech remote control system and method based on wechat small routine
CN107346245A (en) * 2017-06-29 2017-11-14 杭州古北电子科技有限公司 The control method and system of smart machine
CN107572087A (en) * 2017-09-12 2018-01-12 深圳市达伦仕科技有限公司 A kind of intelligent environment protection express box and its application method
CN108632140A (en) * 2018-04-22 2018-10-09 厦门声连网信息科技有限公司 A kind of sound processing system, method and server based on small routine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763946A (en) * 2021-01-04 2021-12-07 北京沃东天骏信息技术有限公司 Message processing method, voice processing method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN108632140A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
WO2019205985A1 (en) Applet-based sound processing system and method, and server
US10115396B2 (en) Content streaming system
JP7053687B2 (en) Last mile equalization
EP3084633B1 (en) Attribute-based audio channel arbitration
CN113127609B (en) Voice control method, device, server, terminal equipment and storage medium
US9641625B2 (en) Method and system for executing an internet radio application within a vehicle
US11474775B2 (en) Sound effect adjustment method, device, electronic device and storage medium
EP4221231A1 (en) Event-based speech interactive media player
CN111052230A (en) Selective memory for voice activation of a voice capture device
CN111263962B (en) Information processing apparatus and information processing method
US20060276230A1 (en) System and method for wireless audio communication with a computer
CN107995360B (en) Call processing method and related product
CN109165005B (en) Sound effect enhancement method and device, electronic equipment and storage medium
JP2012529236A (en) System and method for performing a hands-free operation of an electronic calendar application in a vehicle
JP2007529916A (en) Voice communication with a computer
JP2023509868A (en) SERVER-SIDE PROCESSING METHOD AND SERVER FOR ACTIVELY PROPOSING START OF DIALOGUE, AND VOICE INTERACTION SYSTEM FOR POSITIVELY PROPOSING START OF DIALOGUE
JP7311707B2 (en) Human-machine interaction processing method
CN103295576A (en) Voice identification method and terminal of instant communication
US8457688B2 (en) Mobile wireless communications device with voice alteration and related methods
CN111951014B (en) Account binding system and method based on intelligent sound box
CN110381097A (en) A kind of voice shares method, system and the car-mounted terminal of audio
CN108831475B (en) Text message extraction method and system
CA2695069C (en) Mobile wireless communications device with novelty voice alteration and related methods
CN108605196B (en) System and associated method for outputting an audio signal and adjustment device
CN111724773A (en) Application opening method and device, computer system and medium

Legal Events

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

Ref document number: 19792024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19792024

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/04/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19792024

Country of ref document: EP

Kind code of ref document: A1