CN109857902A - A kind of update method of audio query, system and storage medium and server - Google Patents
A kind of update method of audio query, system and storage medium and server Download PDFInfo
- Publication number
- CN109857902A CN109857902A CN201910155394.0A CN201910155394A CN109857902A CN 109857902 A CN109857902 A CN 109857902A CN 201910155394 A CN201910155394 A CN 201910155394A CN 109857902 A CN109857902 A CN 109857902A
- Authority
- CN
- China
- Prior art keywords
- audio
- frequency information
- inquiry
- query
- pond
- 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
Links
Abstract
The embodiment of the invention discloses a kind of update method of audio query, system and storage medium and servers, are applied to technical field of information processing.The preset first inquiry pond of meeting and the second inquiry pond in query service device, wherein the first inquiry pond is in real time inquiring audio fragment to be checked, and the first audio query result by periodically obtaining the previous update cycle, obtain first part's audio-frequency information, first part's audio-frequency information is stored into the second inquiry pond from the first inquiry pond, and the second part audio-frequency information of identical information item number is stored into the first inquiry pond from the second inquiry pond.In this way, only inquiring audio-frequency information from the first inquiry pond, query time is saved;And the audio-frequency information by constantly interacting storage between the first inquiry pond and the second inquiry pond, the audio-frequency information not being queried to is constantly stored into the first inquiry pond, the probability of successful inquiring is increased.
Description
Technical field
The present invention relates to technical field of information processing, in particular to a kind of update method of audio query, system and storage
Medium and server.
Background technique
Current audio-frequency fingerprint inquiry system, for example listen song to know in bent, music radar and wechat and shake identification song
Etc. systems, generally comprise inquiring client terminal and query service device, query service device can will own in audio repository (such as library)
Audio-frequency information is all put into the memory of query service device, when user initiates audio to query service device by inquiring client terminal
When inquiry, query service device just matches audio fragment to be checked with all audio frequency information in memory, and objective to inquiry
Family end returns to the information such as relevant to tonal range to be checked information, such as song names, album and the lyrics.
In order to save the query service of query service device, a kind of existing way is by the part audio-frequency information in audio repository
(such as unexpected winner song) abandons, and remaining audio-frequency information is placed into the memory of query service device, and by this some residual
Audio-frequency information be divided into more parts so that inquiry when, can concurrently by audio fragment to be checked respectively with more parts of audio-frequency informations
It is matched, improves search efficiency, save query time.But due to matching when only with the remainder in audio repository
Audio-frequency information is matched, and will lead to that it fails to match to some audio fragments to be checked in this way.
Summary of the invention
The embodiment of the present invention provides update method, system and the storage medium and server of a kind of audio query, realizes
The audio for updating the first inquiry pond according to the first audio query result of previous update cycle and following between in the second inquiry pond is believed
Breath.
First aspect of the embodiment of the present invention provides a kind of update method of audio query, and the method is for the first inquiry
Pond is inquired in pond and second, comprising:
First audio query of the previous update cycle in first inquiry pond is obtained as a result, first audio query
It as a result include a plurality of audio-frequency information in;
According to first audio query as a result, first part's audio-frequency information in the first preset inquiry pond is stored into
It include at least one audio-frequency information in a plurality of audio-frequency information in first part's audio-frequency information in second inquiry pond;
Second part audio-frequency information in second inquiry pond is stored into first inquiry pond;
Wherein, the information bar number of first part's audio-frequency information and the information bar number of second part audio-frequency information are identical,
Audio-frequency information in first inquiry pond is for inquiring audio fragment to be checked.
Second aspect of the embodiment of the present invention provides a kind of more new system of audio query, comprising:
First result acquiring unit, for obtaining the first audio query of previous update cycle as a result, first audio
It include a plurality of audio-frequency information in query result;
Inquire updating unit, for according to first audio query as a result, by first in preset first inquiry pond
Part audio-frequency information is stored into the second preset inquiry pond, includes a plurality of audio letter in first part's audio-frequency information
At least one audio-frequency information in breath;
It is cyclically updated unit, is looked into for the second part audio-frequency information in second inquiry pond to be stored into described first
It askes in pond;Wherein, the information bar number of first part's audio-frequency information and the information bar number of second part audio-frequency information are identical, institute
The audio-frequency information in the first inquiry pond is stated for inquiring audio fragment to be checked.
The third aspect of the embodiment of the present invention provides a kind of storage medium, and the storage medium stores a plurality of instruction, the finger
It enables and being suitable for as processor loads and executes the update method of the audio query as described in first aspect of the embodiment of the present invention.
Fourth aspect of the embodiment of the present invention provides a kind of server, including pocessor and storage media, and the processor is used
In each instruction of realization;
The storage medium is for storing a plurality of instruction, and described instruction is for being loaded by processor and being executed as of the invention real
Apply the update method of audio query described in a first aspect.
As it can be seen that in the present embodiment, the preset first inquiry pond of meeting and the second inquiry pond in query service device, wherein first
Inquiry pond passes through for inquiring in real time audio fragment to be checked and periodically obtains the first of the previous update cycle
Audio query is stored into second from the first inquiry pond as a result, obtain first part's audio-frequency information, by first part's audio-frequency information
It inquires in pond, and the second part audio-frequency information of identical information item number is stored into the first inquiry pond from the second inquiry pond.
In this way, by the audio-frequency information that only inquiry matches with audio fragment to be checked from the first inquiry pond, when can save inquiry
Between;And the audio-frequency information by constantly interacting storage between the first inquiry pond and the second inquiry pond, so that not being queried to
Audio-frequency information can constantly be stored into the first inquiry pond, for the inquiry of audio-frequency information, to increase successful inquiring
Probability.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of the update method of audio query provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of the update method of audio query provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of query service device in Application Example of the present invention;
Fig. 4 is the method schematic diagram of inquiring client terminal real-time query in Application Example of the present invention;
Fig. 5 is the method schematic diagram that audio-frequency information is updated in Application Example of the present invention;
Fig. 6 is a kind of structural schematic diagram of the more new system of audio query provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the more new system of another audio query provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove
Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any
Deformation, it is intended that cover not exclusively include, for example, containing the process, method of a series of steps or units, system, production
Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this
A little process, methods, the other step or units of product or equipment inherently.
The embodiment of the present invention provides a kind of update method of audio query, is mainly used in the inquiry clothes of audio query system
It is engaged in device, includes the first inquiry pond and the second inquiry pond in the query service device, and the first inquiry pond can correspond to query service
Device subsystem, the second inquiry pond can correspond to circulatory pool subsystem, as shown in Figure 1, the query service device in the present embodiment can be with
The update of audio query is realized as follows:
The first audio query of previous update cycle is obtained as a result, including a plurality of audio in the first audio query result
Information;According to first audio query as a result, first part's audio-frequency information in the first preset inquiry pond is stored into pre-
It include at least one audio letter in a plurality of audio-frequency information in first part's audio-frequency information in the second inquiry pond set
Breath;Second part audio-frequency information in second inquiry pond is stored into first inquiry pond;Wherein, described first
The information bar number of multi-voice frequency information and the information bar number of second part audio-frequency information are identical, the audio letter in first inquiry pond
Breath is for inquiring audio fragment to be checked.
In this way, by the audio-frequency information that only inquiry matches with audio fragment to be checked from the first inquiry pond, Ke Yijie
Save query time;And the audio-frequency information by constantly interacting storage between the first inquiry pond and the second inquiry pond, so that not
The audio-frequency information being queried to can be constantly stored into the first inquiry pond, to increase the probability of successful inquiring.
One embodiment of the invention provides a kind of update method of audio query, and mainly above-mentioned query service device is held
Capable method, includes the first inquiry pond and the second inquiry pond in the query service device, and flow chart is as shown in Figure 2, comprising:
Step 101, first audio query of the previous update cycle in the first inquiry pond is obtained as a result, the first audio query
It as a result include a plurality of audio-frequency information in.
In the present embodiment, the first inquiry pond and the second inquiry pond can be preset in query service device, are respectively corresponded and are looked into
Service subsystem and circulatory pool subsystem are ask, a plurality of audio letter is all respectively included in query service subsystem and circulatory pool subsystem
Breath, every audio-frequency information may include the title of audio, affiliated type, corresponding text information of audio etc., and this plurality of audio
Information is query service when initiating the process of audio query to query service device by inquiring client terminal in the previous update cycle
The successful audio-frequency information of system queries.For example, audio is song, then an audio-frequency information may include song title, song institute
In the information such as album and the lyrics.
Under normal circumstances, first only preset inquiry pond, that is, query service subsystem is used in real time to audio to be checked
Segment is inquired, i.e. query service device, only can be by query service when being inquired according to the inquiry request of inquiring client terminal
Each audio-frequency information stored in subsystem is matched with audio fragment to be checked, to obtain audio query result.
Specifically, user can initiate inquiry request to query service device by inquiring client terminal, wrap in inquiry request
Audio fragment to be checked is included, audio fragment to be checked is inquired for requesting;Query service device receives inquiry visitor in this way
After the inquiry request that family end is sent, the inquiry audio-frequency information corresponding with audio fragment to be checked from the first inquiry pond obtains sound
Frequency query result, and audio query result is returned into inquiring client terminal.Simultaneously further, if audio query result is the
One audio query as a result, the i.e. information including successful inquiring and the audio-frequency information that inquires, then query service device can store this
First corresponding relationship of one audio query result and query time;If audio query result is the second audio query as a result, i.e.
Information and above-mentioned audio fragment to be checked (audio fragment of i.e. non-successful inquiring) including non-successful inquiring, then query service device
The second corresponding relationship of the second audio query result and query time can be stored.Wherein, query time refers to query service device
Starting the time inquired according to inquiry request or query service device terminates the time of inquiry according to inquiry request.
In this way, query service device can be sent out according to the preset update cycle (such as one day or two days or a week etc.)
The more new technological process in the present embodiment is played, it, can be from above-mentioned specifically when obtaining the first audio query result of previous polling cycle
The first corresponding relationship in get first audio query result of the query time within previous polling cycle.
Step 102, according to the first audio query as a result, first part's audio-frequency information in the first preset inquiry pond is stored up
It is stored in the second preset inquiry pond, includes at least one audio in above-mentioned a plurality of audio-frequency information in first part's audio-frequency information
Information.
Specifically, query service device can first merge identical audio-frequency information in the first audio query result, obtain
A plurality of audio-frequency information after to merging, and count the inquiry times of each audio-frequency information after merging;Then according to inquiry times pair
Audio-frequency information after merging is ranked up, by the audio-frequency information after merging, at least one less audio-frequency information of inquiry times
As first part's audio-frequency information;First part's audio-frequency information in the first inquiry pond is finally deleted, inquires Chi Zhongtian second
Add first part's audio-frequency information.
For example, 101 obtain 5 audio-frequency informations through the above steps, wherein audio-frequency information 1,2 and 3 be all belong to it is identical
Audio-frequency information, for example be all the relevant information of song a, audio-frequency information 4 and 5 belongs to identical audio-frequency information, for example is song b's
Relevant information;After merging, available 2 audio-frequency informations, the i.e. relevant information of the relevant information of song a and song b, and
This corresponding inquiry times of 2 audio-frequency informations is 3 and 2.The song b that query service device can be less by inquiry times in this way
Relevant information as first part's audio-frequency information.
Step 103, the second part audio-frequency information that second inquires in pond is stored into the first inquiry pond, wherein first
The information bar number of part audio-frequency information and the information bar number of second part audio-frequency information are identical, for example are all n audio-frequency information.
Specifically, query service device can be according to certain strategy, selection and first part's audio from the second inquiry pond
The identical a plurality of audio-frequency information of the information bar number of information in this way stores up second part audio-frequency information as second part audio-frequency information
After being stored to the first inquiry pond, each audio-frequency information in second part audio-frequency information may be used for audio fragment to be checked into
Row inquiry.
It should be noted that all can include multilayer audio-frequency information in above-mentioned query service subsystem and circulatory pool subsystem,
Every layer of audio-frequency information includes a plurality of audio-frequency information, and the information bar number of every layer of audio-frequency information may be the same or different.In this way
Query service device can concurrently divide audio fragment to be checked when being inquired according to inquiry request with multilayer audio-frequency information
It is not matched, to improve search efficiency.
It is taken it is further to note that above-mentioned query service subsystem and circulatory pool subsystem can be deployed in same physics
It is engaged on device, or is different on physical server;And same physical server can be deployed to query service device, or with look into
Server disposition is ask to different physical servers, specific form of disposing is not limited herein.
As it can be seen that in the present embodiment, the preset first inquiry pond of meeting and the second inquiry pond, respectively correspond in query service device
Query service subsystem and circulatory pool subsystem, wherein the first inquiry pond is in real time looking into audio fragment to be checked
It askes, and by periodically obtaining first audio query of the previous update cycle in the first inquiry pond as a result, obtaining first
First part's audio-frequency information is stored into the second inquiry pond by multi-voice frequency information from the first inquiry pond, and by identical information item
Several second part audio-frequency informations is stored into the first inquiry pond from the second inquiry pond.In this way, by only from the first inquiry pond
The audio-frequency information that middle inquiry matches with audio fragment to be checked, can save query time;And by constantly being looked into first
The audio-frequency information for interacting storage between pond and the second inquiry pond is ask, the audio-frequency information not being queried to is constantly stored
Into the first inquiry pond, for the inquiry of audio-frequency information, to increase the probability of successful inquiring.
In a specific embodiment, query service device is before executing above-mentioned steps 103, can also obtain it is previous more
Second audio query in new period is as a result, include: the audio fragment of non-successful inquiring in the second audio query result, specifically,
Second sound of the query time within the previous update cycle can be obtained from above-mentioned second corresponding relationship that query service device stores
Frequency query result.In this way, query service device is when executing step 103, specifically:
The first audio-frequency information that the audio fragment of inquiry and non-successful inquiring matches in the second inquiry pond, and will inquire
Audio-frequency information as second part audio-frequency information;The second part audio-frequency information in the second inquiry pond is deleted, in the first inquiry
Second part audio-frequency information is added in pond.
Further, the audio-frequency information inquired from the second inquiry pond can also be returned to inquiry visitor by query service device
It family end can be with although returning to the time of inquiring client terminal and inquiring client terminal initiates the time irreversibility of inquiry request
Suitably increase the probability of successful inquiring.
The update method for illustrating sound intermediate frequency inquiry of the present invention with a specific embodiment below, as shown in figure 3, at this
The the first inquiry pond and the second inquiry pond preset in the query service device of embodiment respectively correspond query service subsystem and follow
Cisterna ambiens subsystem includes p layers of audio-frequency information in query service subsystem, includes n-p layers of audio-frequency information in circulatory pool subsystem,
Every layer of audio-frequency information may include a plurality of audio-frequency information, indicate a certain layer audio-frequency information with Li in figure, and wherein i is 1 nature for arriving n
Number.The method of the present embodiment may include following several parts:
(1) as shown in figure 4, the Real time request of inquiring client terminal may include steps of in the present embodiment:
Step 201, user can be asked with action queries client so that inquiring client terminal initiates inquiry to query service device
It asks, includes audio fragment to be checked in inquiry request for requesting query service device to inquire audio fragment to be checked.Here to
Inquiry audio fragment can be a segment of audio information etc. of user's input.
It step 202, can be respectively from the p layer audio of query service subsystem after query service device receives inquiry request
Inquiry is matched with audio fragment to be checked in information, obtains audio query as a result, can be the first audio query as a result, i.e.
Information including successful inquiring and the audio-frequency information inquired, or the second audio query is as a result, include not inquiring into
The information of function and above-mentioned audio fragment to be checked (audio fragment of i.e. non-successful inquiring).Query service device is by audio query result
Return to inquiring client terminal.
Step 203, query service device can stored audio query result (the first audio query result or the second audio query knot
Fruit) with the corresponding relationship of query time.
(2) as shown in figure 5, query service device is periodically initiated to query service subsystem and circulatory pool in the present embodiment
The update of subsystem sound intermediate frequency information, query service implement body may include as follows in the update method that a update cycle initiates
Step:
Step 301, arrive when update cycle, query service device obtained from the corresponding relationship of above-mentioned storage it is previous more
First audio query in new period is as a result, include a plurality of audio-frequency information in the first audio query result;And obtain previous update
Second audio query in period is as a result, including the audio fragment of a plurality of non-successful inquiring in the second audio query result.
Step 302, query service device first merges a plurality of audio-frequency information in the first audio query result, will be identical
Audio-frequency information merges, a plurality of audio-frequency information after being merged, and counts the inquiry times of each audio-frequency information after merging;
Then the audio-frequency information after merging is ranked up according to inquiry times, by the audio-frequency information after merging, inquiry times are less
Every audio-frequency information as first part's audio-frequency information.
First part's audio-frequency information is deleted from query service subsystem, and adds first in circulatory pool subsystem
Multi-voice frequency information.
Step 303, query service device is by the audio fragment of every non-successful inquiring in the second audio query result, respectively from
It inquires in the n-p layer audio-frequency information of circulatory pool subsystem and is matched with the audio fragment of the non-successful inquiring of this, will be inquired
Audio-frequency information in all or part of audio-frequency information as second part audio-frequency information.
Specifically, if the information bar of the information bar number n1 of the audio-frequency information inquired and above-mentioned first part's audio-frequency information
Number n2 is identical, then by all audio frequency information of inquiry directly as second part audio-frequency information;If if the inquiry inquired
The information bar number n1 of the audio-frequency information arrived is less than the information bar number n2 of above-mentioned first part's audio-frequency information, then by whole sounds of inquiry
Other audio-frequency informations in frequency information and circulatory pool subsystem are as second part audio-frequency information, and n1 and other audio-frequency informations
Information bar number n3's and be above-mentioned n2;If if the information bar number n1 of the audio-frequency information inquired such as inquired is greater than above-mentioned
The information bar number n2 of first part's audio-frequency information, then using the part audio-frequency information of inquiry as second part audio-frequency information, and look into
The information bar number of the part audio-frequency information of inquiry is n2.
Step 304, second part audio-frequency information is deleted from circulatory pool subsystem, and added in query service subsystem
Add second part audio-frequency information.
The embodiment of the present invention also provides a kind of more new system of audio query, such as above-mentioned query service device, structure
Schematic diagram is as shown in fig. 6, can specifically include: the first inquiry pond 10 and the second inquiry pond 11, and can also include:
First result acquiring unit 12, for obtaining the first audio query of previous update cycle as a result, first sound
It include a plurality of audio-frequency information in frequency query result.
Inquire updating unit 13, the first audio query for being obtained according to the first result acquiring unit 12 as a result,
First part's audio-frequency information in the first preset inquiry pond 10 is stored into the second preset inquiry pond 11, described first
It include at least one audio-frequency information in a plurality of audio-frequency information in multi-voice frequency information.
Updating unit 13 is inquired, specifically for closing identical audio-frequency information in the first audio query result
And the audio-frequency information after being merged, and count the inquiry times of each audio-frequency information after merging;According to inquiry times to described
Audio-frequency information after merging is ranked up;By in the audio-frequency information after the merging, at least one less audio of inquiry times
Information deletes first part's audio-frequency information in first inquiry pond 10, described as first part's audio-frequency information
First part's audio-frequency information is added in second inquiry pond 11.
It is cyclically updated unit 14, first part's audio-frequency information for updating according to inquiry updating unit 13, by described the
Second part audio-frequency information in two inquiry ponds 11 is stored into first inquiry pond 10;Wherein, first part's audio
The information bar number of information and the information bar number of second part audio-frequency information are identical, and the audio-frequency information in first inquiry pond 10 is used
It is inquired in audio fragment to be checked.
It all include multilayer audio-frequency information in the first inquiry pond 10 and the second inquiry pond 11, every layer of audio-frequency information includes more
Audio-frequency information.
As it can be seen that in the system of the present embodiment, preset first inquiry pond 10 and the second inquiry pond 11, wherein the first inquiry pond
10 in real time inquiring audio fragment to be checked, and is periodically obtained by the first result acquiring unit 12 previous
The first audio query of update cycle is as a result, obtain first part's audio-frequency information, and inquiry updating unit 13 is by first part's audio
Information is stored into the second inquiry pond 11 from the first inquiry pond 10, and is cyclically updated unit 14 for the second of identical information item number
Part audio-frequency information is stored into the first inquiry pond 10 from the second inquiry pond 11.In this way, by only being inquired in pond 10 from first
The audio-frequency information that inquiry matches with audio fragment to be checked, can save query time;And by constantly in the first inquiry
The audio-frequency information that storage is interacted between pond 10 and the second inquiry pond 11, stores up the audio-frequency information not being queried to constantly
It is stored in the first inquiry pond 10, for the inquiry of audio-frequency information, to increase the probability of successful inquiring.
Refering to what is shown in Fig. 7, in a specific embodiment, the more new system of audio query is in addition to may include such as Fig. 6
Shown in outside structure, can also include: query unit 15, result recording unit 16 and the second result acquiring unit 17, in which:
Query unit 15 includes to be checked in the inquiry request for receiving the inquiry request of inquiring client terminal transmission
Audio fragment;Inquiry audio-frequency information corresponding with the audio fragment to be checked, obtains audio from first inquiry pond 10
Query result.
As a result recording unit 16, if being the first audio query for the audio query result that the query unit 15 obtains
As a result, including the information of successful inquiring, the first corresponding relationship of the first audio query result and query time is stored;If
The audio query result be the second audio query as a result, include non-successful inquiring information and the audio fragment to be checked,
Store the second corresponding relationship of the second audio query result and query time.In this way, the first result acquiring unit 12,
Specifically for from the first corresponding relationship that the result recording unit 16 records, obtaining query time in the previous update week
The first audio query result in phase.
Second result acquiring unit 17, for obtaining the second audio query of the previous update cycle as a result, described
Two audio query results include: the audio fragment of non-successful inquiring;Specifically, second recorded from the result recording unit 16
In corresponding relationship, second audio query result of the query time within the previous update cycle is obtained.
It is described to be cyclically updated unit 14, it is single to be specifically used for inquiry and second result acquisition in second inquiry pond
The audio-frequency information that matches of audio fragment for the non-successful inquirings that member 17 obtains, and using the audio-frequency information inquired as described the
Two part audio-frequency informations;The second part audio-frequency information in second inquiry pond 11 is deleted, in first inquiry pond 10
Add the second part audio-frequency information.
The embodiment of the present invention also provides a kind of server, structural schematic diagram as shown in figure 8, the server can because configuration or
Performance is different and generates bigger difference, may include one or more central processing units (central
Processing units, CPU) 20 (for example, one or more processors) and memory 21, one or more are deposited
Store up the storage medium 22 (such as one or more mass memory units) of application program 221 or data 222.Wherein, it stores
Device 21 and storage medium 22 can be of short duration storage or persistent storage.Be stored in storage medium 22 program may include one or
More than one module (diagram does not mark), each module may include to the series of instructions operation in server.Further
Ground, central processing unit 20 can be set to communicate with storage medium 22, execute on the server a series of in storage medium 22
Instruction operation.
Specifically, the data 222 stored in storage medium may include in the more new system of above-mentioned audio query
Included audio-frequency information in one inquiry pond 10 and the second inquiry pond 11;The application program 221 stored in storage medium 22 is wrapped
The application program of audio query update is included, and the program may include that the first result in the more new system of above-mentioned audio query obtains
Unit 12 is taken, updating unit 13 is inquired, is cyclically updated unit 14, query unit 15, as a result recording unit 16 and the second result obtain
Unit 17 is taken, herein without repeating.Further, central processing unit 20 can be set to communicate with storage medium 22,
The corresponding sequence of operations of application program that the audio query stored in storage medium 22 updates is executed on server.
Server can also include one or more power supplys 23, one or more wired or wireless network interfaces
24, and/or, one or more operating systems 223, such as Windows ServerTM, Mac OS XTM, UnixTM,
LinuxTM, FreeBSDTM etc..
The step as performed by above-mentioned query service device described in above method embodiment can be shown in Fig. 8 based on this
The structure of server.
The embodiment of the present invention also provides a kind of storage medium, and the storage medium stores a plurality of instruction, and described instruction is suitable for
It is loaded as processor and executes the update method of the audio query as performed by above-mentioned query service device.
The embodiment of the present invention also provides a kind of server, including pocessor and storage media, the processor, for realizing
Each instruction;
The storage medium is for storing a plurality of instruction, and described instruction is for being loaded by processor and being executed such as above-mentioned inquiry
The update method of audio query performed by server.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM), random access memory ram), disk or CD etc..
Be provided for the embodiments of the invention above audio query update method, system and storage medium and server into
It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (13)
1. a kind of update method of audio query, which is characterized in that the method is for the first inquiry pond and the second inquiry pond
, comprising:
First audio query of the previous update cycle in first inquiry pond is obtained as a result, the first audio query result
In include a plurality of audio-frequency information;
According to first audio query as a result, first part's audio-frequency information in the first preset inquiry pond is stored into second
It inquires in pond, includes at least one audio-frequency information in a plurality of audio-frequency information in first part's audio-frequency information;
Second part audio-frequency information in second inquiry pond is stored into first inquiry pond;
Wherein, the information bar number of first part's audio-frequency information and the information bar number of second part audio-frequency information are identical, described
The audio-frequency information in the first inquiry pond is for inquiring audio fragment to be checked.
2. the method as described in claim 1, which is characterized in that described to obtain the previous update cycle in first inquiry pond
The first audio query result before, the method also includes:
The inquiry request that inquiring client terminal is sent is received, includes audio fragment to be checked in the inquiry request;
Inquiry audio-frequency information corresponding with the audio fragment to be checked, obtains audio query knot from first inquiry pond
Fruit;
If the audio query result is the first audio query as a result, including the information of successful inquiring, first sound is stored
First corresponding relationship of frequency query result and query time;If the audio query result is the second audio query as a result, packet
Include non-successful inquiring information and the audio fragment to be checked, store the of the second audio query result and query time
Two corresponding relationships;
First audio query that previous update cycle is obtained in first inquiry pond is as a result, specifically include: from described
In first corresponding relationship, first audio query result of the query time within the previous update cycle is obtained.
3. method according to claim 2, which is characterized in that the second part audio by second inquiry pond is believed
Before breath is stored into first inquiry pond, further includes:
The second audio query of the previous update cycle is obtained as a result, the second audio query result includes: not inquire into
The audio fragment of function;
Then the second part audio-frequency information by second inquiry pond is stored into first inquiry pond, specific to wrap
It includes:
The audio-frequency information that the audio fragment of inquiry and the non-successful inquiring matches in second inquiry pond, and will inquiry
The audio-frequency information arrived is as the second part audio-frequency information;The second part audio-frequency information in second inquiry pond is deleted,
The second part audio-frequency information is added in first inquiry pond.
4. method as claimed in claim 3, which is characterized in that second audio query for obtaining the previous update cycle
As a result, specifically including: from second corresponding relationship, obtaining second audio of the query time within the previous update cycle
Query result.
5. the method as described in claim 1, which is characterized in that it is described according to the audio query as a result, by preset first
First part's audio-frequency information in inquiry pond is stored into the second inquiry pond, is specifically included:
Identical audio-frequency information in the first audio query result is merged, the audio-frequency information after being merged, and united
The inquiry times of each audio-frequency information after meter merges;
The audio-frequency information after the merging is ranked up according to inquiry times;
By in the audio-frequency information after the merging, at least one less audio-frequency information of inquiry times is as first part's sound
Frequency information deletes first part's audio-frequency information in first inquiry pond, adds described first in second inquiry pond
Part audio-frequency information.
6. such as method described in any one of claim 1 to 5, which is characterized in that in the first inquiry pond and the second inquiry pond
It all include multilayer audio-frequency information, every layer of audio-frequency information includes a plurality of audio-frequency information.
7. such as method described in any one of claim 1 to 5, which is characterized in that first inquiry pond corresponds to query service
System, second inquiry pond correspond to circulatory pool subsystem.
8. a kind of more new system of audio query characterized by comprising
First result acquiring unit, for obtaining first audio query of the previous update cycle in the first inquiry pond as a result, institute
Stating includes a plurality of audio-frequency information in the first audio query result;
Inquire updating unit, for according to first audio query as a result, by the first part in preset first inquiry pond
Audio-frequency information is stored into the second preset inquiry pond, includes in a plurality of audio-frequency information in first part's audio-frequency information
At least one audio-frequency information;
It is cyclically updated unit, for the second part audio-frequency information in second inquiry pond to be stored into first inquiry pond
In;Wherein, the information bar number of first part's audio-frequency information and the information bar number of second part audio-frequency information are identical, and described
Audio-frequency information in one inquiry pond is for inquiring audio fragment to be checked.
9. system as claimed in claim 8, which is characterized in that further include:
Query unit includes audio piece to be checked in the inquiry request for receiving the inquiry request of inquiring client terminal transmission
Section;Inquiry audio-frequency information corresponding with the audio fragment to be checked, obtains audio query result from first inquiry pond;
As a result recording unit, if being the first audio query for the audio query result as a result, including the letter of successful inquiring
Breath stores the first corresponding relationship of the first audio query result and query time;If the audio query result is the
Two audio queries store second audio query as a result, information and the audio fragment to be checked including non-successful inquiring
As a result with the second corresponding relationship of query time;
The first result acquiring unit is specifically used for from first corresponding relationship, obtains query time described previous
The first audio query result in update cycle.
10. system as claimed in claim 8, which is characterized in that
The inquiry updating unit, specifically for identical audio-frequency information in the first audio query result is merged,
Audio-frequency information after being merged, and count the inquiry times of each audio-frequency information after merging;According to inquiry times to the conjunction
Audio-frequency information after and is ranked up;By in the audio-frequency information after the merging, at least one less audio of inquiry times is believed
Breath is used as first part's audio-frequency information, first part's audio-frequency information in first inquiry pond is deleted, described second
Inquiry adds first part's audio-frequency information in pond.
11. such as the described in any item systems of claim 8 to 10, which is characterized in that further include:
Second result acquiring unit, for obtaining the second audio query of the previous update cycle as a result, second audio
Query result includes: the audio fragment of non-successful inquiring;
It is described to be cyclically updated unit, specifically for the audio fragment of inquiry and the non-successful inquiring in second inquiry pond
The audio-frequency information to match, and using the audio-frequency information inquired as the second part audio-frequency information;Described second is deleted to look into
The second part audio-frequency information in pond is ask, adds the second part audio-frequency information in first inquiry pond.
12. a kind of storage medium, which is characterized in that the storage medium stores a plurality of instruction, and described instruction is suitable for by processor
Load and execute the update method of audio query as described in any one of claim 1 to 7.
13. a kind of server, which is characterized in that including pocessor and storage media, the processor, for realizing each finger
It enables;
The storage medium is for storing a plurality of instruction, and described instruction by processor for being loaded and executing such as claim 1 to 7
The update method of described in any item audio queries.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910155394.0A CN109857902A (en) | 2019-03-01 | 2019-03-01 | A kind of update method of audio query, system and storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910155394.0A CN109857902A (en) | 2019-03-01 | 2019-03-01 | A kind of update method of audio query, system and storage medium and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109857902A true CN109857902A (en) | 2019-06-07 |
Family
ID=66899539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910155394.0A Pending CN109857902A (en) | 2019-03-01 | 2019-03-01 | A kind of update method of audio query, system and storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109857902A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913028A (en) * | 2005-08-08 | 2007-02-14 | 株式会社东芝 | Information storage medium, information playback apparatus, information playback method, and information playback program |
CN101091217A (en) * | 2005-10-17 | 2007-12-19 | 株式会社东芝 | Information storage medium, information reproducing apparatus, and information reproducing method |
US20120095958A1 (en) * | 2008-06-18 | 2012-04-19 | Zeitera, Llc | Distributed and Tiered Architecture for Content Search and Content Monitoring |
WO2014059863A1 (en) * | 2012-10-18 | 2014-04-24 | 腾讯科技(深圳)有限公司 | Subtitle querying method, electronic device and storage medium |
CN104572952A (en) * | 2014-12-29 | 2015-04-29 | 乐视网信息技术(北京)股份有限公司 | Identification method and device for live multi-media files |
CN105138541A (en) * | 2015-07-08 | 2015-12-09 | 腾讯科技(深圳)有限公司 | Audio fingerprint matching query method and device |
-
2019
- 2019-03-01 CN CN201910155394.0A patent/CN109857902A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913028A (en) * | 2005-08-08 | 2007-02-14 | 株式会社东芝 | Information storage medium, information playback apparatus, information playback method, and information playback program |
CN101091217A (en) * | 2005-10-17 | 2007-12-19 | 株式会社东芝 | Information storage medium, information reproducing apparatus, and information reproducing method |
US20120095958A1 (en) * | 2008-06-18 | 2012-04-19 | Zeitera, Llc | Distributed and Tiered Architecture for Content Search and Content Monitoring |
WO2014059863A1 (en) * | 2012-10-18 | 2014-04-24 | 腾讯科技(深圳)有限公司 | Subtitle querying method, electronic device and storage medium |
CN104572952A (en) * | 2014-12-29 | 2015-04-29 | 乐视网信息技术(北京)股份有限公司 | Identification method and device for live multi-media files |
CN105138541A (en) * | 2015-07-08 | 2015-12-09 | 腾讯科技(深圳)有限公司 | Audio fingerprint matching query method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5951051B2 (en) | Bottom-up optimized search system and method | |
CN109740034A (en) | The case-involving information query method of enterprise and device based on graphic data base | |
CN108984157A (en) | Technical ability configuration and call method and system for voice dialogue platform | |
CN105608188A (en) | Data processing method and data processing device | |
CN103116634A (en) | System for supporting high concurrent cache task queue and asynchronous batch operation method thereof | |
US20160323385A1 (en) | Distributed Data Storage Method, Apparatus, and System | |
WO2010091320A1 (en) | Determining associative intent in a database containing linked entities | |
JP2012528406A5 (en) | ||
CN109815326B (en) | Conversation control method and device | |
CN108509501A (en) | A kind of inquiry processing method, server and computer readable storage medium | |
CN109857760A (en) | Quick response search method and device, computer installation and storage medium | |
CN108809855A (en) | Information management method, device and electronic equipment | |
CN103955533B (en) | A kind of page tree data acquisition device based on buffer queue and method | |
CN109643305A (en) | Data query method, application and database server, middleware and system | |
CN110019530A (en) | Transaction methods and device based on distributed data base | |
CN108446329A (en) | Adaptive databases partition method and system towards industrial time series database | |
CN104298598A (en) | Debugging method for RDFS (Resource Description Framework Schema) body in distributed environment | |
CN100422952C (en) | Tracking space usage in a database | |
CN109857902A (en) | A kind of update method of audio query, system and storage medium and server | |
CN104598652B (en) | A kind of data base query method and device | |
US10140332B2 (en) | Method and system for data cache handling | |
CN108573063A (en) | A kind of data query method and system | |
CN108595489A (en) | A kind of data retrieval method and device | |
CN111135563A (en) | Task processing method and device, electronic equipment and computer readable storage medium | |
CN107968812A (en) | The method and device of synchronous local resource and Internet resources |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190607 |