CN114785772A - Method and device for downloading network car booking audio with corresponding code rate based on download rate - Google Patents

Method and device for downloading network car booking audio with corresponding code rate based on download rate Download PDF

Info

Publication number
CN114785772A
CN114785772A CN202210453730.1A CN202210453730A CN114785772A CN 114785772 A CN114785772 A CN 114785772A CN 202210453730 A CN202210453730 A CN 202210453730A CN 114785772 A CN114785772 A CN 114785772A
Authority
CN
China
Prior art keywords
voice
rate
code rate
downloading
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210453730.1A
Other languages
Chinese (zh)
Inventor
黄培桂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Chenqi Travel Technology Co Ltd
Original Assignee
Guangzhou Chenqi Travel Technology Co Ltd
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 Guangzhou Chenqi Travel Technology Co Ltd filed Critical Guangzhou Chenqi Travel Technology Co Ltd
Priority to CN202210453730.1A priority Critical patent/CN114785772A/en
Publication of CN114785772A publication Critical patent/CN114785772A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • G10L19/18Vocoders using multiple modes
    • G10L19/20Vocoders using multiple modes using sound class specific coding, hybrid encoders or object based coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for downloading network car booking audio with corresponding code rate based on download rate, wherein the method comprises the following steps: acquiring process information of the online taxi appointment service, and downloading voice text contents corresponding to the current process stage based on the process information; converting the voice text content into high-quality high-code-rate original voice data; respectively compressing original voice data into preset compressed voice files with various different code rates; respectively storing the compressed voice files of all code rates into a database and generating corresponding index information; acquiring current real-time network state information of a driver terminal; and acquiring index information adapted to the real-time network state information, taking out the index information from the database and issuing a compressed voice file with a corresponding code rate to a driver terminal. The invention sets the compressed voice files with a plurality of code rates, detects the real-time network environment of the network car booking, and sends the matched compressed voice files to ensure the reliability of voice prompt in the network car booking service under different environments.

Description

Method and device for downloading network car booking audio with corresponding code rate based on download rate
Technical Field
The invention relates to the technical field of network car booking real-time audio downloading, in particular to a method and a device for downloading network car booking audio with corresponding code rate based on a downloading rate.
Background
The network taxi booking service is a novel travel service mode combined with the internet, the network taxi booking is short for a network booking taxi, passengers can directly book with the drivers on the internet through mobile equipment, the network taxi booking drivers pick up the orders and then pick up the passengers to the destination at the appointed place, and the network taxi booking drivers and the vehicles are also registered and audited. At present, network appointment vehicles are very common, such as taxies, special vehicles, windmills, express buses and the like, and meet the diversified travel demands.
In the network car-booking service process, the driver terminal can send out corresponding voice prompt according to the service progress to assist the driver and remind passengers so as to better finish the network car-booking service. Because different types of network car-booking services have different voice data, in the process of each type of network car-booking service, a large amount of storage space can be wasted in an application program due to the fact that all voice files are cached, the application program is bloated, the existing network car-booking application program is generally networked in the whole process, and when the network car-booking is carried out to a corresponding stage, the corresponding voice files are downloaded from a server in real time through a network and are played.
However, the network taxi appointment is continuously moving, although the network coverage rate of China is high at present, the network conditions of the areas or areas with serious network interference cannot support the process to download and play high-quality voice files, so that the voice loss or interruption of the network taxi appointment service occurs, and the quality of the network taxi appointment service is further influenced.
Disclosure of Invention
In order to overcome the technical defect that the conventional network car booking application program cannot ensure that the voice prompt of the network car booking service is kept stable in a special area, the invention provides a method and a device for downloading network car booking audio with corresponding code rate based on a downloading rate.
In order to solve the problems, the invention is realized according to the following technical scheme:
in a first aspect, the invention discloses a method for downloading network car booking audio with corresponding code rate based on download rate, which specifically comprises the following steps:
acquiring process information of the online taxi appointment service, and downloading voice text contents corresponding to the current process stage based on the process information;
converting the voice text content into high-quality high-code-rate original voice data;
respectively compressing original voice data into preset compressed voice files with various different code rates;
respectively storing the compressed voice files of each code rate into a database, and generating corresponding index information;
acquiring current real-time network state information of a driver terminal;
and acquiring index information adapted to the real-time network state information, taking out the index information from the database, and issuing a compressed voice file with a corresponding code rate to the driver terminal.
As a preferred implementation of the first aspect, the storing the compressed voice files at each code rate in a database, and generating corresponding index information specifically includes:
respectively acquiring the generated information of the compressed voice file with each code rate generated;
respectively storing the compressed voice files with various code rates into a database, and respectively acquiring attribute information of the compressed voice files;
establishing a voice storage list corresponding to the voice text content in a database, sequencing the voice storage list in sequence based on the size of the compressed voice file, and registering the voice storage list;
and respectively generating index information based on the generation information and the attribute information of the compressed voice files, correspondingly filling the index information into the voice storage list, and respectively filling the preset download rate intervals corresponding to the compressed voice files.
As a preferred implementation manner of the first aspect, the index information includes a voice duration, a creation timestamp, a file ID, a bit rate description, and a voice file download url of the compressed voice file.
As a preferred implementation manner of the first aspect, the obtaining of the index information adapted to the real-time network status information specifically includes:
sending a download test packet for downloading to a driver terminal to acquire current real-time network state information of the driver terminal;
acquiring a current downloading rate value of a driver terminal, and acquiring a code rate grading interval;
performing hit judgment based on the current download rate value and code rate grading interval of the driver terminal;
based on the matching hit result, obtaining the code rate of the compressed voice file corresponding to the hit code rate grading interval;
and indexing the compressed voice file to the corresponding code rate from the voice storage list through the file ID and the code rate.
As a preferred implementation manner of the first aspect, the code rate grading interval includes a high code rate interval, a medium code rate interval and a low code rate interval; the downloading rate corresponding to the high-code-rate interval is 0-128 kb, the downloading rate corresponding to the medium-code-rate interval is 129-192 kb, and the downloading rate corresponding to the high-code-rate interval is 193-256 kb.
In a second aspect, the present invention further discloses a device for downloading network car booking audio with corresponding code rate based on download rate, which includes a flow acquiring module, a voice converting module, a voice compressing module, an index generating module, a network testing module and a voice issuing module, wherein:
the system comprises a process acquisition module, a voice recognition module and a voice recognition module, wherein the process acquisition module is used for acquiring process information of the online taxi appointment service and downloading voice text contents corresponding to a current process stage based on the process information;
the voice conversion module is used for converting the voice text content into original voice data with high quality and high code rate;
the voice compression module is used for respectively compressing the original voice data into preset compressed voice files with various different code rates;
the index generating module is used for respectively storing the compressed voice files with the code rates into a database and generating corresponding index information;
the network testing module is used for acquiring the current real-time network state information of the driver terminal;
and the voice issuing module is used for acquiring the index information adapted to the real-time network state information, taking out the index information from the database and issuing the compressed voice file with the corresponding code rate to the driver terminal.
As a preferred implementation manner of the second aspect, the index generation module specifically executes, when running:
respectively acquiring generated information which is generated along with the compressed voice file with each code rate when the compressed voice file is generated;
respectively storing the compressed voice files with various code rates into a database, and respectively acquiring attribute information of the compressed voice files;
establishing a voice storage list corresponding to the voice text content in a database, sequencing in sequence based on the size of the compressed voice file, and registering the compressed voice file into the voice storage list;
and respectively generating index information based on the generation information and the attribute information of the compressed voice files, correspondingly filling the index information into the voice storage list, and respectively filling the preset download rate intervals corresponding to the compressed voice files.
As a preferred embodiment of the second aspect, the index information includes a voice duration, a creation timestamp, a file ID, a bit rate description, and a voice file download url of the compressed voice file.
As a preferred implementation manner of the second aspect, when running, the network test module specifically performs:
sending a download test packet for downloading to a driver terminal to acquire current real-time network state information of the driver terminal;
acquiring a current downloading rate value of a driver terminal, and acquiring a code rate grading interval;
performing hit judgment based on the current download rate value and code rate grading interval of the driver terminal;
based on the matching hit result, obtaining the code rate of the compressed voice file corresponding to the hit code rate grading interval;
and indexing the compressed voice file to the corresponding code rate from the voice storage list through the file ID and the code rate.
As a preferred implementation manner of the second aspect, the code rate grading interval includes a high code rate interval, a medium code rate interval and a low code rate interval; wherein, the download rate that high code rate interval corresponds is 0 ~ 128kb, the download rate that well code rate interval corresponds is 129 ~ 192kb, the download rate that high code rate interval corresponds is 193 ~ 256 kb.
Compared with the prior art, the invention has the beneficial effects that:
in the method for downloading the network car-booking audio with the corresponding code rate based on the download rate, the compressed voice files with the multi-level code rate corresponding to the same voice are creatively set, the real-time network environment of a driver terminal in the network car-booking is detected, specifically, the current download rate of the driver terminal is obtained, the compressed voice files with the adaptive code rate are selected, and the matched compressed voice files are sent to the driver terminal, so that the driver terminal can smoothly download and play the network car-booking service audio, the network car-booking under different network environments can continuously and reliably play voice prompts, network interference is remarkably reduced, the influence on the network car-booking audio is shielded, and the experience of drivers and passengers in the network car-booking service is improved.
Drawings
Embodiments of the invention are described in further detail below with reference to the attached drawing figures, wherein:
FIG. 1 is a schematic flow chart of a method for downloading network car-booking audio with corresponding code rate based on download rate according to the present invention;
fig. 2 is a schematic structural diagram of the device for downloading the network car booking audio with the corresponding code rate based on the download rate.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The term "including" and variations thereof as used herein is intended to be open-ended, i.e., "including but not limited to". Unless specifically stated otherwise, the term "or" means "and/or". The term "based on" means "based at least in part on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first," "second," and the like may refer to different or the same objects. Other explicit and implicit definitions are also possible below.
The access device and the server may be directly or indirectly connected through wired or wireless communication. The access device may be a terminal or a server. The access device has a target application running thereon. The target application is an application program capable of initiating a data request to the server, such as a social application, a payment application, a game application, and the like. The server may be an application server that provides a service for the target application, or may be a proxy server that distinguishes the application server corresponding to the target application. The server is used for identifying whether each access device belongs to the malicious device and intercepting the data message from the malicious device. When the server is a proxy server, the proxy server forwards the data message which does not belong to the malicious equipment to the application server. The terminal may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart sound box, a smart watch, and the like, but is not limited thereto.
Example 1
As shown in fig. 1, in a first aspect, the present invention discloses a method for downloading a network car booking audio with a corresponding code rate based on a download rate, where a driver terminal is a mobile terminal installed with a network car booking driver application program, and the driver terminal may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart sound box, a smart watch, and the like, but is not limited thereto. The server and the server can be independent physical servers respectively, can also be a server cluster or a distributed system formed by a plurality of physical servers, and can also be cloud servers for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (content distribution network) and big data and artificial intelligence platforms, and the method specifically comprises the following steps:
step S1: and acquiring the process information of the network car booking service, and downloading the voice text content corresponding to the current process stage based on the process information.
Specifically, the server acquires process information of the online car booking service from the driver terminal, wherein the process information is specific information of a current process of the online car booking service, including types of the online car booking service and the current specific process in the types of the online car booking service, and then the server downloads voice text contents corresponding to a current process stage from the database based on the process information.
Step S2: and converting the voice text content into high-quality high-bit-rate original voice data.
Specifically, the server completely converts the voice text content into corresponding high-quality high-bitrate original voice data through voice conversion software, specifically ffmpeg.
Step S3: and respectively compressing the original voice data into a plurality of preset compressed voice files with different code rates.
Specifically, the server acquires preset code rate information, and then the server respectively compresses the original voice data according to the preset code rate information to compress the original voice data into compressed voice files with various code rates, wherein the compressed voice files with different code rates are different in size and tone quality, but the voice duration and the voice content are the same, so as to adapt to different download rates.
Step S4: and respectively storing the compressed voice files of all code rates into a database, and generating corresponding index information.
The method specifically comprises the following steps:
step S401: respectively acquiring generated information which is generated along with the compressed voice file with each code rate when the compressed voice file is generated;
step S402: respectively storing the compressed voice files with various code rates into a database, and respectively acquiring attribute information of the compressed voice files;
step S403: establishing a voice storage list corresponding to the voice text content in a database, sequencing in sequence based on the size of the compressed voice file, and registering the compressed voice file into the voice storage list;
step S404: and respectively generating index information based on the generation information and the attribute information of the compressed voice files, correspondingly filling the index information into the voice storage list, and respectively filling the preset download rate intervals corresponding to the compressed voice files.
The index information comprises voice duration, creation timestamp, file ID, code rate description and voice file downloading url of the compressed voice file. According to the embodiment of the invention, the compressed voice files can be sequentially sequenced and stored in the database by generating the index information, so that the speed of acquiring the corresponding compressed voice files by the taxi appointment voice is increased based on index query and extraction, and the method can be realized in practical application without causing the delay of acquiring the voice files.
Step S5: and acquiring the current real-time network state information of the driver terminal.
Specifically, the server issues a download test packet to the driver terminal, or the download rate and the download continuity of the driver terminal, so as to obtain the current real-time network state information of the driver terminal.
Step S6: and acquiring index information adapted to the real-time network state information, taking out the index information from the database, and issuing a compressed voice file with a corresponding code rate to the driver terminal.
The method specifically comprises the following steps:
step S601: sending a download test packet for downloading to a driver terminal to acquire current real-time network state information of the driver terminal;
step S602: acquiring a current downloading rate value of a driver terminal, and acquiring a code rate grading interval;
step S603: performing hit judgment based on the current download rate value and code rate grading interval of the driver terminal;
step S604: based on the matching hit result, obtaining the code rate of the compressed voice file corresponding to the hit code rate grading interval;
step S605: and indexing the compressed voice file to the corresponding code rate from the voice storage list through the file ID and the code rate.
Wherein, the code rate grading interval comprises a high code rate interval, a middle code rate interval and a low code rate interval; the downloading rate corresponding to the high-code-rate interval is 0-128 kb, the downloading rate corresponding to the medium-code-rate interval is 129-192 kb, and the downloading rate corresponding to the high-code-rate interval is 193-256 kb.
In summary, in the method for downloading the network car-booking audio with the corresponding code rate based on the download rate, the compressed voice files with the multi-level code rates corresponding to the same voice are creatively set, the real-time network environment of the driver terminal in the network car-booking is detected, specifically, the current download rate of the driver terminal is obtained, the compressed voice file with the adaptive code rate is selected, and therefore the matched compressed voice file is sent to the driver terminal, the driver terminal is ensured to smoothly download and play the network car-booking service audio, the network car-booking under different network environments can continuously and reliably play the voice prompt, network interference is remarkably reduced, the influence on the network car-booking audio is shielded, and the experience of drivers and passengers in the network car-booking service is improved.
Other steps of the method for downloading the network car booking audio with the corresponding code rate based on the download rate in the embodiment are referred to in the prior art.
Example 2
As shown in fig. 2, in a second aspect, the present invention further discloses a device for downloading network car-booking audio with corresponding code rate based on download rate, which includes a flow obtaining module M1, a voice converting module M2, a voice compressing module M3, an index generating module M4, a network testing module M5, and a voice issuing module M6, wherein:
the flow acquisition module M1 is used for acquiring flow information of the network car booking service and downloading the voice text content corresponding to the current flow stage based on the flow information;
a voice conversion module M2, configured to convert the voice text content into high-quality high-bitrate original voice data;
the voice compression module M3 is used for respectively compressing the original voice data into a plurality of preset compressed voice files with different code rates;
an index generation module M4, configured to store the compressed voice files of each code rate into a database, and generate corresponding index information;
the network testing module M5 is used for acquiring the current real-time network state information of the driver terminal;
and the voice issuing module M6 is used for acquiring index information adapted to the real-time network state information, taking out the index information from the database and issuing a compressed voice file with a corresponding code rate to the driver terminal.
As a preferred implementation manner of the second aspect, when running, the index generating module M4 specifically performs: respectively acquiring generated information which is generated along with the compressed voice file with each code rate when the compressed voice file is generated; respectively storing the compressed voice files with various code rates into a database, and respectively acquiring attribute information of the compressed voice files; establishing a voice storage list corresponding to the voice text content in a database, sequencing in sequence based on the size of the compressed voice file, and registering the compressed voice file into the voice storage list; and respectively generating index information based on the generation information and the attribute information of the compressed voice files, correspondingly filling the index information into the voice storage list, and respectively filling the preset download rate intervals corresponding to the compressed voice files.
Specifically, the index information includes a voice duration, a creation timestamp, a file ID, a code rate description, and a voice file download url of the compressed voice file.
Further, when running, the network test module M5 specifically executes: sending a download test packet for downloading to a driver terminal to acquire current real-time network state information of the driver terminal; acquiring a current downloading rate value of a driver terminal, and acquiring a code rate grading interval; performing hit judgment based on the current download rate value and code rate grading interval of the driver terminal; based on the matching hit result, acquiring the code rate of the compressed voice file corresponding to the hit code rate grading interval; and indexing the compressed voice file to the corresponding code rate from the voice storage list through the file ID and the code rate.
Specifically, the code rate grading interval includes a high code rate interval, a medium code rate interval and a low code rate interval; the downloading rate corresponding to the high-code-rate interval is 0-128 kb, the downloading rate corresponding to the medium-code-rate interval is 129-192 kb, and the downloading rate corresponding to the high-code-rate interval is 193-256 kb.
In summary, when the device for downloading the network car booking audio with the corresponding code rate based on the download rate in the embodiment of the present invention operates, all steps of the method for downloading the network car booking audio with the corresponding code rate based on the download rate disclosed in the embodiment 1 may be implemented, so as to achieve a technical effect of enabling the network car booking to download the compressed audio file in the network car booking service with the corresponding code rate based on the download rate of the network car booking service, so as to ensure that voice prompt of the network car booking service is not seriously affected in different network environments, and thus, experience of drivers and passengers is improved.
For other structures of the device for downloading the network car booking audio with the corresponding code rate based on the download rate, reference is made to the prior art.
Example 3
The invention also discloses an electronic device, at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, and when the at least one processor executes the instructions, the following steps are specifically implemented: acquiring process information of the online taxi appointment service, and downloading voice text contents corresponding to the current process stage based on the process information; converting the voice text content into high-quality high-code-rate original voice data; respectively compressing original voice data into preset compressed voice files with various different code rates; respectively storing the compressed voice files of all code rates into a database and generating corresponding index information; acquiring current real-time network state information of a driver terminal; and acquiring index information adapted to the real-time network state information, taking out the index information from the database, and issuing a compressed voice file with a corresponding code rate to the driver terminal.
Example 4
The invention also discloses a storage medium, which stores a computer program, and when the computer program is executed by a processor, the following steps are concretely realized: acquiring process information of the online taxi appointment service, and downloading voice text contents corresponding to the current process stage based on the process information; converting the voice text content into high-quality high-code-rate original voice data; respectively compressing original voice data into preset compressed voice files with various different code rates; respectively storing the compressed voice files of all code rates into a database and generating corresponding index information; acquiring current real-time network state information of a driver terminal; and acquiring index information adapted to the real-time network state information, taking out the index information from the database, and issuing a compressed voice file with a corresponding code rate to the driver terminal.
The present disclosure may be methods, apparatus, systems, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for performing various aspects of the present disclosure.
The computer-readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as punch cards or in-groove raised structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + +, Java, or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the disclosure are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer-readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or improvements to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A method for downloading network car booking audio with corresponding code rate based on download rate is characterized by comprising the following steps:
acquiring process information of the online taxi appointment service, and downloading voice text contents corresponding to the current process stage based on the process information;
converting the voice text content into high-quality high-code-rate original voice data;
respectively compressing original voice data into preset compressed voice files with various different code rates;
respectively storing the compressed voice files of each code rate into a database, and generating corresponding index information;
acquiring current real-time network state information of a driver terminal;
and acquiring index information adapted to the real-time network state information, taking out the index information from the database and issuing a compressed voice file with a corresponding code rate to a driver terminal.
2. The method for downloading network car-booking audio with corresponding code rates based on the download rate as claimed in claim 1, wherein the step of respectively storing the compressed audio files with each code rate into a database and generating corresponding index information specifically comprises:
respectively acquiring generated information which is generated along with the compressed voice file with each code rate when the compressed voice file is generated;
respectively storing the compressed voice files with various code rates into a database, and respectively acquiring attribute information of the compressed voice files;
establishing a voice storage list corresponding to the voice text content in a database, sequencing the voice storage list in sequence based on the size of the compressed voice file, and registering the voice storage list;
and respectively generating index information based on the generation information and the attribute information of the compressed voice files, correspondingly filling the index information into the voice storage list, and respectively filling the preset download rate intervals corresponding to the compressed voice files.
3. The method for downloading network car-booking audio with corresponding bitrate based on the download rate as claimed in claim 2, wherein the method comprises the following steps:
the index information comprises voice duration, creation timestamp, file ID, code rate description and voice file downloading url of the compressed voice file.
4. The method for downloading network car-booking audio with corresponding code rate based on download rate as claimed in claim 3, wherein the obtaining of the index information adapted to the real-time network status information specifically comprises:
sending a download test packet for downloading to a driver terminal to acquire the current real-time network state information of the driver terminal;
acquiring a current downloading rate value of a driver terminal, and acquiring a code rate grading interval;
performing hit judgment based on the current download rate value and code rate grading interval of the driver terminal;
based on the matching hit result, acquiring the code rate of the compressed voice file corresponding to the hit code rate grading interval;
and indexing the compressed voice file to the corresponding code rate from the voice storage list through the file ID and the code rate.
5. The method of claim 4, wherein the downloading rate-based network car booking audio comprises:
the code rate grading interval comprises a high code rate interval, a medium code rate interval and a low code rate interval;
the downloading rate corresponding to the high-code-rate interval is 0-128 kb, the downloading rate corresponding to the medium-code-rate interval is 129-192 kb, and the downloading rate corresponding to the high-code-rate interval is 193-256 kb.
6. An apparatus for downloading network car booking audio with corresponding code rate based on download rate, comprising:
the system comprises a process acquisition module, a voice recognition module and a voice recognition module, wherein the process acquisition module is used for acquiring process information of the online taxi appointment service and downloading voice text contents corresponding to a current process stage based on the process information;
the voice conversion module is used for converting the voice text content into original voice data with high quality and high code rate;
the voice compression module is used for respectively compressing the original voice data into preset compressed voice files with various different code rates;
the index generation module is used for respectively storing the compressed voice files with various code rates into a database and generating corresponding index information;
the network testing module is used for acquiring the current real-time network state information of the driver terminal;
and the voice issuing module is used for acquiring the index information adapted to the real-time network state information, taking out the index information from the database and issuing the compressed voice file with the corresponding code rate to the driver terminal.
7. The device for downloading network car-booking audio with corresponding code rate according to claim 6, wherein the index generation module specifically performs, when running, the following steps:
respectively acquiring the generated information of the compressed voice file with each code rate generated;
respectively storing the compressed voice files with various code rates into a database, and respectively acquiring attribute information of the compressed voice files;
establishing a voice storage list corresponding to the voice text content in a database, sequencing in sequence based on the size of the compressed voice file, and registering the compressed voice file into the voice storage list;
and respectively generating index information based on the generation information and the attribute information of the compressed voice files, correspondingly filling the index information into the voice storage list, and respectively filling the preset download rate intervals corresponding to the compressed voice files.
8. The apparatus of claim 7, wherein the download rate-based network car-booking audio download system further comprises:
the index information comprises voice duration, creation timestamp, file ID, code rate description and voice file downloading url of the compressed voice file.
9. The apparatus for downloading network car-booking audio with corresponding bitrate based on the download rate as claimed in claim 8, wherein the network test module specifically performs, when running:
sending a download test packet for downloading to a driver terminal to acquire current real-time network state information of the driver terminal;
acquiring a current downloading rate value of a driver terminal, and acquiring a code rate grading interval;
performing hit judgment based on the current download rate value and code rate grading interval of the driver terminal;
based on the matching hit result, obtaining the code rate of the compressed voice file corresponding to the hit code rate grading interval;
and indexing the compressed voice file to the corresponding code rate from the voice storage list through the file ID and the code rate.
10. The apparatus of claim 9, wherein the means for downloading network car-booking audio with corresponding bitrate based on the download rate further comprises:
the code rate grading interval comprises a high code rate interval, a medium code rate interval and a low code rate interval;
wherein, the download rate that high code rate interval corresponds is 0 ~ 128kb, the download rate that well code rate interval corresponds is 129 ~ 192kb, the download rate that high code rate interval corresponds is 193 ~ 256 kb.
CN202210453730.1A 2022-04-27 2022-04-27 Method and device for downloading network car booking audio with corresponding code rate based on download rate Pending CN114785772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210453730.1A CN114785772A (en) 2022-04-27 2022-04-27 Method and device for downloading network car booking audio with corresponding code rate based on download rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210453730.1A CN114785772A (en) 2022-04-27 2022-04-27 Method and device for downloading network car booking audio with corresponding code rate based on download rate

Publications (1)

Publication Number Publication Date
CN114785772A true CN114785772A (en) 2022-07-22

Family

ID=82432400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210453730.1A Pending CN114785772A (en) 2022-04-27 2022-04-27 Method and device for downloading network car booking audio with corresponding code rate based on download rate

Country Status (1)

Country Link
CN (1) CN114785772A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119338A (en) * 2007-09-20 2008-02-06 腾讯科技(深圳)有限公司 Network voice communication method, system, device and instant communication terminal
CN105025351A (en) * 2014-04-30 2015-11-04 深圳Tcl新技术有限公司 Streaming media player buffering method and apparatus
CN106205602A (en) * 2015-05-06 2016-12-07 上海汽车集团股份有限公司 Speech playing method and system
CN111105778A (en) * 2018-10-29 2020-05-05 阿里巴巴集团控股有限公司 Speech synthesis method, speech synthesis device, computing equipment and storage medium
CN111220172A (en) * 2018-11-23 2020-06-02 北京嘀嘀无限科技发展有限公司 Navigation voice broadcasting method and system
CN111369820A (en) * 2020-03-06 2020-07-03 上海钧正网络科技有限公司 Vehicle driving state display method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119338A (en) * 2007-09-20 2008-02-06 腾讯科技(深圳)有限公司 Network voice communication method, system, device and instant communication terminal
CN105025351A (en) * 2014-04-30 2015-11-04 深圳Tcl新技术有限公司 Streaming media player buffering method and apparatus
CN106205602A (en) * 2015-05-06 2016-12-07 上海汽车集团股份有限公司 Speech playing method and system
CN111105778A (en) * 2018-10-29 2020-05-05 阿里巴巴集团控股有限公司 Speech synthesis method, speech synthesis device, computing equipment and storage medium
CN111220172A (en) * 2018-11-23 2020-06-02 北京嘀嘀无限科技发展有限公司 Navigation voice broadcasting method and system
CN111369820A (en) * 2020-03-06 2020-07-03 上海钧正网络科技有限公司 Vehicle driving state display method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US20160034558A1 (en) Generating a clustering model and clustering based on the clustering model
US11270690B2 (en) Method and apparatus for waking up device
CN104618806A (en) Method, device and system for acquiring comment information of video
CN104994401A (en) Barrage processing method, device and system
CN103475731A (en) Media information matching and processing method and device
CN111177617A (en) Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
CN108696899B (en) SIP message transmitting and receiving method and transmitting and receiving device
CN111368519B (en) Method, device, equipment and storage medium for editing online form
CN105590491A (en) Learning system and learning method based on APP
CN106874471A (en) Information-pushing method and device
CN107864208B (en) Method for fusing new media information
CN104283926A (en) Data synchronization method, device and server
CN105302925A (en) Method and device for pushing voice search data
CN104301768A (en) Cross-platform multi-terminal multi-application audio/video playing progress synchronization method
CN111190962A (en) File synchronization method and device and local terminal
CN109600665A (en) Method and apparatus for handling data
CN113537512B (en) Model training method, device, system, equipment and medium based on federal learning
CN107920019A (en) Pay close attention to method and device, computer equipment and the storage medium of good friend
CN113299285A (en) Device control method, device, electronic device and computer-readable storage medium
CN117201601A (en) Internet of things equipment access method, device, equipment and storage medium
CN103379022B (en) A kind of instant communication method based on Internet map search and system
CN114785772A (en) Method and device for downloading network car booking audio with corresponding code rate based on download rate
CN109600649A (en) Method and apparatus for handling data
CN112688793B (en) Data packet obtaining method and device and electronic equipment
CN111198853A (en) Data processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination