Disclosure of Invention
an object of the embodiments of the present application is to provide a method and an apparatus for searching media records, which can simplify the search process for media records collected by a user.
in order to achieve the above object, an aspect of the present invention provides a media record searching method, including:
receiving a search query word;
Obtaining media records matched with the search query words through a matching algorithm, and generating a prompt result;
Matching the search query word with the content of the prompt result, and if the matching is successful, taking the content of the matched prompt result as the content of a first prompt result;
And inquiring whether media records with the first attribute same as the first prompt result content exist in the media records collected by the user, and if so, adding user collection information related to the first prompt result content in the prompt result for displaying.
in a preferred embodiment, the method further comprises:
Receiving browsing operation executed aiming at the user collection information in the prompt result;
extracting the first prompt result content from the user collection information executed by the browsing operation;
and inquiring the media records collected by the user, of which the first attribute is the same as the extracted first prompt result content, in the media records collected by the user, and displaying the inquiry result as a searched media record set.
In a preferred embodiment, the method further comprises:
Receiving browsing operation executed aiming at the user collection information in the prompt result;
extracting the first prompt result content from the user collection information executed by the browsing operation;
And querying media records with first attributes as the extracted first prompt result content from a database to form a first media record set, solving an intersection of the first media record set and the media records collected by the user, and displaying the result of the intersection as a searched media record set.
in a preferred embodiment, the obtaining of the media records matching the search query term through the matching algorithm includes:
And searching records of each retrieval category with the retrieval query word as a prefix through a prefix matching search process.
in a preferred embodiment, the searching records of each retrieval category prefixed with the retrieval query term through the prefix matching search process includes:
comparing at least one attribute of the record of each retrieval category, the pinyin of the attribute, the alias of the attribute and the pinyin of the alias of the attribute with the retrieval query word, judging whether the retrieval query word is the prefix of the at least one attribute, the pinyin of the attribute, the alias of the attribute or the pinyin of the alias of the attribute, and if so, returning the record to be added into the search result.
In a preferred embodiment, the querying whether there is a media record with the same first attribute as the first prompt result content in the media records collected by the user includes:
and traversing the media records collected by the user, judging whether the first attribute of the currently traversed media record is the same as the content of the first prompt result, if so, stopping traversing, and determining to inquire the media record with the first attribute being the same as the content of the first prompt result.
in a preferred embodiment, the obtaining, by a matching algorithm, the media records matching the search query term and generating the prompt result includes:
And obtaining the media records matched with the search query words through a matching algorithm, sequencing the media records according to the heat degree to generate prompt results, and reserving N prompt results with the maximum heat degree for displaying.
the present application also provides a media recording search apparatus, comprising:
the search term receiving unit is used for receiving search query terms;
the media record matching unit is used for obtaining the media record matched with the search query word through a matching algorithm and generating a prompt result;
A prompt result content matching unit, configured to match the search query term with the content of the prompt result, and if matching is successful, take out the content of the matched prompt result as a first prompt result content;
And the user collection information prompting unit is used for inquiring whether media records with the first attribute same as the first prompting result content exist in the media records collected by the user, and if the media records are inquired, adding user collection information related to the first prompting result content in the prompting result for displaying.
In a preferred embodiment, the apparatus further comprises:
A browsing operation receiving unit, configured to receive a browsing operation performed on the user collection information in the prompt result;
a first prompt result content extraction unit, configured to extract the first prompt result content from the user collection information executed by the browsing operation;
and the first user collected media record searching unit is used for inquiring the media records collected by the user, of which the first attribute is the same as the extracted first prompt result content, in the media records collected by the user and displaying the inquiry result as a searched media record set.
In a preferred embodiment, the apparatus further comprises:
A browsing operation receiving unit, configured to receive a browsing operation performed on the user collection information in the prompt result;
a first prompt result content extraction unit, configured to extract the first prompt result content from the user collection information executed by the browsing operation;
and the second user collection media record searching unit is used for inquiring the media records with the first attribute as the extracted first prompt result content from the database to form a first media record set, solving the intersection of the first media record set and the media records collected by the user, and displaying the result of solving the intersection as the searched media record set.
Therefore, in the embodiment of the invention, according to the search query word, the matched media records in the database can be obtained as the prompt result, in addition, the first prompt result content is used for searching in the media records collected by the user, whether the media records matched with the first prompt result content exist in the media records collected by the user is obtained, if the media records exist, the related user collection information is added into the prompt result to prompt the user, and meanwhile, a basis can be provided for the subsequent user to further search the media records collected by the related user.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the invention provides a medium record searching method, wherein the medium record can be a song information record, a video information record, an artist information record or an album information record and the like. As shown in fig. 1, the method comprises the steps of:
Step S101: receiving a search query word;
Step S102: obtaining media records matched with the retrieval query words obtained in the step S101 through a matching algorithm, and generating a prompt result;
step S103: matching the search query word with the content of a prompt result, and if the matching is successful, taking the content of the matched prompt result as the content of a first prompt result;
Step S104: and inquiring whether media records with the first attribute same as the content of the first prompt result exist in the media records collected by the user, and if so, adding user collection information related to the first prompt result in the prompt result for displaying.
Therefore, in the embodiment of the invention, according to the search query word, the matched media records in the database can be obtained as the prompt result, in addition, the first prompt result content is used for searching in the media records collected by the user, whether the media records matched with the first prompt result content exist in the media records collected by the user is obtained, if the media records exist, the related user collection information is added into the prompt result to prompt the user, and meanwhile, a basis can be provided for the subsequent user to further search the media records collected by the related user.
the following describes a specific implementation of the media record search method according to the present invention in detail with several specific embodiments.
Fig. 2 is a schematic diagram illustrating a method for searching a media record according to an embodiment of the present invention, where the media record may be a song information record, a video information record, an artist information record, or an album information record, and the embodiment specifically takes the example of the media record being a music information record as an example. As shown in fig. 2, the method comprises the steps of:
step S201: and receiving a search query word input by a user in the search box.
in practice, the user may enter search query terms in a unified search box.
it should be noted that the search query word input by the user in the input box is only one specific implementation, and in practice, the search query word may also be generated in other manners, for example, the user inputs the search query word by clicking a related option.
Step S202: and calling a prefix matching search process to search media records of various retrieval categories with the retrieval query word obtained in the step S201 as the prefix, and generating a prompt result according to the name of the matching result.
taking music-related media records as an example, the retrieval category may be songs, artists, albums, or the like, but the application is not limited thereto. And each retrieval category includes a plurality of media records within that category. For example, the song search category includes a plurality of song information records, each song information record includes attributes of an ID, a song name, an artist name, a song genre, and the like of the song, where the ID of the song is used to identify each song information record, and the song name may be referred to as a name attribute of the song information record. The artist search category correspondingly comprises a plurality of artist information records, each artist information record comprises attributes such as artist ID, artist name, artist alias and the like, wherein the artist ID is used for identifying each artist information record, and the artist name can be named as the name attribute of the song information record. The album search category includes a plurality of album information records, each album information record includes attributes such as an album ID, an album name, an artist name, and a publishing date, wherein the album ID is used to mark each album information record, and the album name may be a name attribute of the album information record.
The search range in step S202 may be the entire database storing media records, or may be the first data range in the database, for example, the user may select a song library (e.g., a song library of english songs) limited to a certain language to search. The following description will specifically take the search range as an example of the entire database.
As shown in fig. 3, the prefix matching search process may be implemented by the following specific processes:
Step S301: the method comprises the steps of establishing a prefix index file in advance, wherein prefix information of all attributes of media records in each retrieval category and an index relation between pinyin of the prefix information and name attributes of the media records are stored in the prefix index file, and in the index relation, the name attributes of the media records serve as index item contents of the index relation. Of course, in practice, the ID of the media record may be used as the content of the index item in the index relationship, so that the prefix information of all the attributes of the media record and the relationship between the pinyin of the prefix information and the ID of the media record are described in the prefix index file.
For example, in the "artist" search category, the name attribute of each media record is the "artist name" attribute, the attribute value of the name attribute of the media record in the "liu de hua" artist search category is "liu de hua", the prefix of the artist name attribute of the record is "liu", "liu de hua", and the pinyin of the prefix is "l", "li", "liuu", "liude hu", "liude hua".
and for the "song" search category, each media record has at least a "song name" attribute and an "artist name" attribute, where the "song name" attribute is the name attribute of the media record. For example, for a record of "forgetting water", the "artist name" attribute "liu de hua" of the record, the prefix of the artist name attribute may also be "liu", "liu de hua", and the prefix of the artist name attribute is pinyin "l", "li", "liu", "liud", "liude", "liudueh", "liuduhu", "liuduhua"; of course, the attribute of the recorded "song name" is "forgetting water", the prefix of the attribute of the song name is "looking at", "forgetting" and "forgetting water", and meanwhile, the prefixes of the attribute of the song name are pinyin "wang", "wangqing" and "wangqinshui".
step S302: a search category is selected as the current search category.
step S303: in the index relationship corresponding to the current retrieval category in the prefix index file, searching prefix information matched with the retrieval query word obtained in step S201, if the matched prefix information is found, taking out the index item content corresponding to the prefix information, and executing a subsequent prefix attribute matching step to generate a prompt result; if the matched prefix information is not found, the search query word obtained in step S201 is converted into pinyin as a new search query word, and the prefix information search and prefix attribute matching process is performed again to generate a prompt result.
Step S304: directly performing prefix matching on the attribute name corresponding to the index item content corresponding to the prefix information obtained in the step S303 and the search query word, and if the search query word is the prefix of the attribute name corresponding to the obtained index item content, directly displaying the attribute name corresponding to the index item content as a prompt result, and stopping the matching process; and if the search query word is not the prefix of the attribute name corresponding to the content of the index item, continuing to execute the subsequent steps.
Step S305: converting the attribute name corresponding to the content of the index item into pinyin, carrying out prefix matching with the search query word, if the search query word is the prefix of the pinyin of the attribute name corresponding to the content of the index item, showing the attribute name corresponding to the content of the index item as a prompt result, and stopping the matching process; if the search query word is not the prefix of the pinyin of the attribute name corresponding to the content of the index item, the subsequent steps are continuously executed.
step S306: traversing each alias of the attribute corresponding to the content of the index item, performing prefix matching with the search query word, if the search query word is the prefix of the attribute alias corresponding to the content of the index item, displaying the attribute name corresponding to the content of the index item together with the alias as a prompt result, and stopping the matching process; and if the search query word is not the prefix of the attribute alias corresponding to the content of the index item, continuing to execute the subsequent steps.
for example, the alias of the artist liud hua is "andy lau", and when the search query obtained in step S201 is "andy", the search query matches the prefix of the alias of the artist name attribute of the content of the index item of the liud hua, and for this purpose, the hint result is the attribute name of the indexed item (i.e., "liud hua") plus the alias (i.e., andy lau), for example, the hint result may be "liud hua (andy lau).
It should be noted that, in an alternative embodiment, the above-mentioned prefix matching process for the alias of the index attribute in step S306 may be omitted.
Step S307: traversing each alias of the attribute corresponding to the content of the index item, converting each alias into pinyin, carrying out prefix matching with the search query word, if the search query word is the prefix of the alias pinyin of the attribute corresponding to the content of the index item, showing the attribute name corresponding to the content of the index item and the alias together as a prompt result, and stopping the matching process.
It should be noted that, in an alternative embodiment, the process of converting the attribute alias into pinyin and performing prefix matching with the query word in step S307 may also be omitted.
it should be noted that the process of obtaining the prompt result through prefix matching in steps S304-S307 is to better show the prefix relationship between the search query term and the prompt result, so that the user can better understand the prefix relationship, and the search experience of the user is improved. In some scenarios, the prefix matching process in steps S304-S307 may not be needed, and the attribute name corresponding to the content of the index item obtained in step S303 may be directly used as the prompt result.
taking the media record as the music information record as an example, after the prompt result matched with the search query word is obtained in step S202, the prompt result includes the prompt results of the search categories of the song, artist and album, and the content of these prompt results is the name of the matching result found through the matching process in step S202. For example, when the search query word input by the user is "liu", in step S202, prompt results such as "liu des", "ice rain", and "forgetting water" are obtained, where "liu des" is a prompt result obtained by matching the artist search category, and "ice rain" and "forgetting water" are prompt results obtained by matching the song search category. In practice, in order to increase the suggestive nature of the presentation result, artist name information for each song, for example, "liu de hua-xuan" or "liu de hua-forget water" may be added to the content of the presentation result of the song search category, and therefore, in general, the presentation result generated in step S202 is generated based on the name of the matching result.
the process of obtaining the media records matching the search query term is described in step S202 by taking an prefix matching search process as an example, and in practice, the prefix matching search process is not limited to the above-mentioned prefix matching search process, and other types of fuzzy matching search processes may also be used, or an exact matching search process may also be used, which is not limited by the present invention.
step S203: and sorting the prompt results obtained in the step S202 according to the heat degree, and reserving N prompt results with the maximum heat degree as prompt information to be displayed, wherein N is greater than 1.
here, the ranking may be performed according to the popularity, the prompt results of all the search categories may be ranked together, the N prompt results with the largest popularity are retained for display, and the search categories may be displayed in a sorted manner, for example, if M matching results in the artist name search category are ranked among the N prompt results, and L matching results in the song search category are ranked among the N prompt results, the matching results in the M artist name search categories may be displayed first, and the matching results in the L song search categories may be displayed later in the order of final display. In addition, in the above sequence of the ranking display, the matching results of all the search categories may be mixed together and the ranking display may be continued simply according to the degree of heat.
It should be noted that the step of sorting according to the degree of heat in step S203 is not an exclusive implementation, and in practice, the sorting may be performed according to a dimension such as a text length of a presentation result.
Step S204: matching the search query words with the contents of the sorted prompt results, and if the matching is successful, taking the matched prompt result contents as first prompt result contents; if all the matches are unsuccessful, step S205 is performed: the prompt information to be displayed obtained in step S203 is directly displayed.
in step S204, the search query term is matched with the content of the sorted prompt result, where the matching may refer to complete matching, and specifically, as shown in fig. 4, the following steps may be performed on the content of the prompt result item by item:
step S501: and taking out the content of the prompt result, comparing the content with the character string of the search query word, if the content is the same as the character string of the search query word, successfully matching, and executing the step S506: and returning the content of the prompting result, and if the content is not the same, executing the step S502.
Step S502: and converting the content of the extracted prompt result into pinyin, comparing the pinyin with the character strings of the search query words, if the pinyin is the same as the character strings of the search query words, successfully matching, and executing the step S506, and if the pinyin is not the same as the character strings of the search query words, executing the step S503.
Step S503: traversing the alias of the content of the extracted prompt result, comparing the alias with the character string of the query word, if the alias is the same with the query word, successfully matching the alias, and executing the step S506, and if the alias is not the same with the query word, executing the step S504.
step S504: traversing the pinyin of the alias of the content of the extracted prompt result, comparing the pinyin with the character string of the query word, if the pinyin is the same as the query word, successfully matching the query word, and executing the step S506, and if the pinyin is not the same as the query word, executing the step S505.
step S505: converting the search query word into pinyin as a new search query word, returning to execute the steps S501-S504, and if the matching is still unsuccessful, executing the step S507: and confirming that the prompt result is unsuccessfully matched with the search query word.
it should be noted that the step S505 is executed mainly in consideration that the search query word input by the user may be a mixture of chinese characters and pinyin, and the situation that the user thinks matching may be missed by simply passing through S501-S504 at this time, so that the step S505 is added to improve the matching rate and the degree of freedom of the user operation. In another alternative embodiment, the above-mentioned degree of freedom of the user may also be limited, omitting step S505.
taking the case where the search query word input by the user is "liu", as an example, through the matching process in fig. 4, since the matching is not found to be successful from the contents of all the prompt results (for example, "liu de hua", "ice rain", "forgetting water", etc.), step S205 is directly executed, and only the prompt information to be displayed, such as "liu de hua", "ice rain", "forgetting water", etc., obtained in step S203 is displayed.
When the user inputs "liu de hua", the matching process in fig. 4 is used to find that "liu de hua", which is the content of the prompting result of the artist name retrieval category, completely matches the character string from all the prompting results, so that the matching is successful, and the content of the prompting result, i.e., "liu de hua", is returned. Of course, in another example, when the user inputs "liuduhua", through the matching process in fig. 4, it is found that the pinyin of the content "liu de hua" of the prompt result is completely matched on the character string, so that the matching is successful, and the content of the prompt result, i.e., "liu de hua", is returned.
Step S206: media recording data collected by a user is obtained.
Step S207: the first attributes of the media records collected by the user are inquired one by one, whether the first prompting result content obtained in the step S204 is the same as the first attribute is judged, if so, the inquiry is stopped, and the step S208 is executed.
Step S208: and adding user collection information related to the content of the first prompt result in the prompt result.
the first attribute may be any attribute of the media record, or may be an attribute corresponding to the first prompt result content, for example, if the first prompt result content obtained in step S204 is the content of the prompt result of the artist search category, the first attribute in step S207 may be defined as the artist attribute of the media record, so as to increase the matching accuracy.
finding that the first prompt result content is the same as the first attribute of one of the media records collected by the user in step S207, it may indicate that the user collected the media record related to the first prompt content, and at this time, the query process may be stopped. For example, when the first prompt result content is "liu de hua", and the prompt result content is the content of the prompt result of the artist retrieval category, when the judgment is performed in step S207, the artist name attribute of the user collected song is compared with the first prompt result content "liu de hua", and if the collected song with "liu de hua" as the artist name exists, the query process is stopped.
In step S208, the user collection information related to the content of the first prompt result is added to the prompt result, so that the user can search the media records in the server and search the media records collected by the user at the same time, and the search result is displayed.
For example, when the content of the first prompt result is "liu de hua", it is found through step S207 that there is a song with "liu de hua" as the artist name in the songs collected by the user, so that "liu de hua songs collected by me" is added to the prompt result as the user collection information. The "songs of liu de hua i collect" here belongs to a form of user collection information related to the first prompt result content, and the form of the user collection information is formed by connecting the "songs of i collect" and "with the first prompt result content through proper character strings. Of course, the embodiment of the present invention is not limited thereto, and may also be "collection search: liu De Hua, etc.
The above steps S201 to S208 achieve the purpose of adding the user collection information into the search prompt result, and can provide a uniform search interface for the user, and the user can obtain the prompt result related to the user collection media record without entering the favorite page for searching.
In addition, the step S204 is executed in a sense that, if the search query is directly compared with the first attribute of the media record collected by the user, on one hand, excessive mismatching is easily caused, and unnecessary processing resources are consumed; secondly, more standard first prompting result content can be obtained through the execution of the step S204, and the more standard content is used as the prompting content for prompting, so that the relevant attributes recorded in the actual media are more consistent.
In another embodiment, the method further comprises a process of displaying the media records collected by the user according to further operations of the user, and particularly, referring to fig. 5, the method comprises the following steps:
Step S601: a browsing operation performed with respect to at least one piece of the user collection information displayed in step S208 is received.
the browsing operation here may be that the first object clicks the displayed user's favorite information, for example, clicking a piece of user's favorite information of "liu de hua songs i collect" with a finger.
Step S602: and extracting the first prompt result content from the user collection information executed by the browsing operation.
for example, when the user performs clicking on the piece of user collection information of "liu de hua songs i collect", it is necessary to restore the first prompt result content originally forming the piece of user collection information from the piece of user collection information.
In practice, the search category information may be extracted from the user collection information performed by the browsing operation. For example, when the user collection information is "song of … …", it indicates that the search category is the song category.
In addition, since the prompt result may include other media record information that is not collected by the user in addition to the first prompt result content including the user collection information, in order to identify whether the prompt result executed by the browsing operation belongs to the user collection information, a keyword may be extracted from the prompt result, for example, the prompt result including the keyword "i collect" is the user collection information, and when clicking, the search of the user collection information is performed.
Step S603: acquiring media recording data collected by a user;
in practice, the media record data collected by the user can be inquired from the server through the user ID.
step S604: in the media record data collected by the user, querying the media records collected by the user with the first attribute same as the first prompt result content extracted in the step S602 one by one as a searched collected media record set;
Step S605: and displaying the searched collected media recording information set obtained in the step S604 as the prompt content collected by the user.
Therefore, the user can display the related media record information collected by the user by performing operations such as clicking on the user collection information, the search of the user collection media record is completed, and the user does not need to enter a collection page independently for searching.
In another alternative embodiment, the process of displaying the media recordings collected by the user in steps S601-S605 may be implemented in another modified manner, specifically, referring to fig. 6, including the following steps:
Step S701: a browsing operation performed with respect to at least one piece of the user collection information displayed in step S208 is received.
Step S702: and extracting the first prompt result content from the user collection information executed by the browsing operation.
step S703: inquiring the media record with the first attribute as the first prompt result content from the database as a first media record set, and acquiring the media record collected by the user from the database as a second media record set;
Step S704: and displaying information of a set obtained by solving the intersection of the first media record set and the second media record set as the prompt content collected by the user.
the process illustrated in FIG. 6 of displaying the media recordings collected by the user differs from the process illustrated in FIG. 5 primarily in that: in fig. 6, the first set of media records is queried from the database and then intersected with the media records collected by the user, which is slightly more complicated than the process in fig. 5, but since the search process for querying the media records with the first attribute of the first prompt result content from the database is similar to the algorithm for searching the media records in the database, the existing search algorithm can be used to the maximum extent, and the search algorithm in the scope of the favorite is not required to be separately added.
In another aspect of the present invention, as shown in fig. 7, a media recording search apparatus 800 includes: a search term receiving unit 801, a media recording matching unit 802, a presentation result content matching unit 803, and a user collection information presentation unit 804.
The search term receiving unit 801 is configured to receive a search query term. In practice, the search term receiving unit 801 may obtain the search query term through the real-time content in the search box, or may obtain the corresponding search query term through selecting a certain option.
A media record matching unit 802, configured to obtain, through a matching algorithm, a media record matching the search query term, and generate a prompt result.
in practice, the matching algorithm may be a fuzzy matching algorithm or an exact matching algorithm, wherein the fuzzy matching algorithm may employ a prefix matching search process.
The prompt result content matching unit 803 is configured to match the search query term with the content of the prompt result, and if the matching is successful, take the content of the matched prompt result as the first prompt result content.
The matching performed by the prompt result content matching unit 803 may be a perfect match.
The user collection information prompting unit 804 is configured to query whether a media record with a first attribute identical to the content of the first prompt result exists in the media records collected by the user, and if the media record is queried, add user collection information related to the content of the first prompt result in the prompt result for display.
Therefore, the purpose of adding the user collection information into the search prompt result is achieved, a uniform search interface can be provided for the user, and the prompt result related to the user collection media record can be obtained without entering a favorite page for searching.
in another embodiment, the method further comprises displaying the related units of the media records collected by the user according to the further operation of the user. Specifically, in one embodiment, the apparatus further includes:
A browsing operation receiving unit, configured to receive a browsing operation performed on the user collection information in the prompt result;
A first prompt result content extraction unit, configured to extract the first prompt result content from the user collection information executed by the browsing operation;
And the first user collected media record searching unit is used for inquiring the media records collected by the user, of which the first attribute is the same as the extracted first prompt result content, in the media records collected by the user and displaying the inquiry result as a searched media record set.
In this embodiment, the search for the media recordings of the user's collection is limited to being conducted only among the media recordings of the user's collection. In yet another alternative embodiment, the apparatus may further include:
A browsing operation receiving unit, configured to receive a browsing operation performed on the user collection information in the prompt result;
A first prompt result content extraction unit, configured to extract the first prompt result content from the user collection information executed by the browsing operation;
And the second user collection media record searching unit is used for inquiring the media records with the first attribute as the extracted first prompt result content from the database to form a first media record set, solving the intersection of the first media record set and the media records collected by the user, and displaying the result of solving the intersection as the searched media record set.
In this embodiment, the first set of media records is queried from the database and then intersected with the media records of the user's collection, because the search process for querying the media records of which the first attribute is the content of the first prompt result from the database is similar to the algorithm for searching the media records in the database, the existing search algorithm can be used to the maximum extent, and the search algorithm in the scope of the favorite is not required to be separately added.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as ABEL (Advanced Boolean Expression Language), AHDL (alternate Hardware Description Language), traffic, CUPL (core universal Programming Language), HDCal, jhddl (Java Hardware Description Language), Lava, Lola, HDL, PALASM, rhyd (Hardware Description Language), and vhjhddl (Hardware Description Language), which is currently used in most popular version-version Language (Hardware Description Language). It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
the controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions.
for convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
from the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. With this understanding in mind, the present solution, or portions thereof that contribute to the prior art, may be embodied in the form of a software product, which in a typical configuration includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The computer software product may include instructions for causing a computing device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in the various embodiments or portions of embodiments of the present application. The computer software product may be stored in a memory, which may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transient media), such as modulated data signals and carrier waves.
the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
the application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
While the present application has been described with examples, those of ordinary skill in the art will appreciate that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.