CN111625707B - Recommendation response method, device, medium and equipment - Google Patents

Recommendation response method, device, medium and equipment Download PDF

Info

Publication number
CN111625707B
CN111625707B CN202010478894.0A CN202010478894A CN111625707B CN 111625707 B CN111625707 B CN 111625707B CN 202010478894 A CN202010478894 A CN 202010478894A CN 111625707 B CN111625707 B CN 111625707B
Authority
CN
China
Prior art keywords
recommendation
query
query result
response time
query request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010478894.0A
Other languages
Chinese (zh)
Other versions
CN111625707A (en
Inventor
侯文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010478894.0A priority Critical patent/CN111625707B/en
Publication of CN111625707A publication Critical patent/CN111625707A/en
Application granted granted Critical
Publication of CN111625707B publication Critical patent/CN111625707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Remote Sensing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a recommendation response method, a recommendation response device, a recommendation response medium and recommendation response equipment, which belong to the technical field of computers and can still quickly and relatively highly accurately recommend interested query results to a user within preset response time under the condition that a server is unstable. A recommendation response method comprising: receiving a query request input by a user; simultaneously and respectively operating a plurality of recommendation algorithms to inquire aiming at the inquiry request; and responding the query request based on the query result of each recommendation algorithm giving the query result in the preset response time.

Description

Recommendation response method, device, medium and equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a recommendation response method, apparatus, medium, and device.
Background
Currently, when recommending a geographical location of interest to a user, if a server is unstable, a response time is long. Therefore, a technique is needed to solve the problem of long response time when the server is unstable.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a recommendation response method, including: receiving a query request input by a user; simultaneously and respectively operating a plurality of recommendation algorithms to inquire aiming at the inquiry request; and responding the query request based on the query result of each recommendation algorithm giving the query result within the preset response time.
In a second aspect, the present disclosure provides a recommendation response device, including: the receiving module is used for receiving a query request input by a user; the query module is used for simultaneously and respectively operating a plurality of recommendation algorithms to query the query request; and the response module is used for responding to the query request based on the query result of each recommendation algorithm giving the query result within the preset response time.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method according to the first aspect of the present disclosure.
In a fourth aspect, the present disclosure provides an electronic device comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to carry out the steps of the method according to the first aspect of the disclosure.
According to the technical scheme, after the query request input by the user is received, the plurality of recommendation algorithms are simultaneously operated to query the query request, and then the query request is responded based on the query result of each recommendation algorithm giving the query result in the preset response time, so that the interested query result can be still quickly and relatively accurately recommended to the user in the preset response time under the condition that the server is unstable.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
In the drawings:
fig. 1 shows a flowchart of a recommendation response method according to an embodiment of the present disclosure.
Fig. 2 shows a schematic block diagram of a recommendation response device according to an embodiment of the present disclosure.
Fig. 3 shows a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 shows a flowchart of a recommendation response method according to an embodiment of the present disclosure. As shown in fig. 1, the recommendation response method includes the following steps S11 to S13:
in step S11, a query request input by a user is received.
Based on different application scenarios of the recommendation response method according to the embodiment of the present disclosure, the query request may be various. For example, the query request may be a location query request in which the user is interested, a hotel query request in which the user is interested, a query request for restaurants in which the user is interested near the current location of the user, and the like.
The user may enter his query request through various input means such as voice, text input, touch screen input, and so on.
In step S12, a plurality of recommendation algorithms are simultaneously run to perform a query for the query request.
That is, a plurality of recommendation algorithms are preset for simultaneously querying for query requests. Taking the geographical location query request in which the user is interested as an example, the preset first recommendation algorithm is optimal, and various factors such as the current location of the user, the interest of the user, weather conditions and the like are considered, but the response time is relatively long due to many considered factors, and the preset second recommendation algorithm only considers the current location of the user and the interest of the user, so the response time is shorter than that of the first recommendation algorithm. In addition, besides the query factor differences considered in querying, there may be differences between the preset recommendation algorithms, for example, some recommendation algorithms may use a query technique with relatively simple algorithm, and other recommendation algorithms may use a query technique with relatively complex algorithm, and so on.
In step S13, the query request is responded to based on the query results of the respective recommendation algorithms that give the query results within the preset response time.
As described above, since the preset response times of the recommendation algorithms are different, in the case of server instability, it is possible that only a part of the recommendation algorithms complete the query process, and in this case, the query request can be responded based on the query result of each recommendation algorithm that has given the query result.
By adopting the technical scheme, after the query request input by the user is received, the plurality of recommendation algorithms are simultaneously operated to query the query request respectively, and then the query request is responded based on the query result of each recommendation algorithm giving the query result within the preset response time, so that the interested query result can be still quickly and relatively highly accurately recommended to the user within the preset response time under the condition that the server is unstable; in the prior art, only one recommendation algorithm is adopted to process the query request of the user, so that the response time is longer under the condition that the server is unstable.
In an embodiment, the responding to the query request based on the query results of the recommendation algorithms giving the query results within the preset response time in step S13 may include: and according to the recommendation precision sequence of the plurality of recommendation algorithms, responding to the query request by using the query result of the recommendation algorithm with the highest recommendation precision in the recommendation algorithms giving the query result in the preset response time. The recommendation precision in the present disclosure refers to precision related to a query request of a user, for example, if the query request of the user is to query a gas station closest to the user, how to preset a first recommendation algorithm to give a gas station 200 meters away from the user, and a second recommendation algorithm to give a gas station 500 meters away from the user, the recommendation precision of the first recommendation algorithm is better than that of the second recommendation algorithm.
The following describes how to respond to query requests based on recommendation precision ranking. For example, it is assumed that a first recommendation algorithm, a second recommendation algorithm, and a third recommendation algorithm are set in advance to perform query simultaneously for a query request of a user, where recommendation accuracy of the first recommendation algorithm is highest, and recommendation accuracy of the third recommendation algorithm is lowest. If the server is unstable within the preset response time, the first recommendation algorithm and the third recommendation algorithm give the query result within the preset response time, and the query request is responded by using the query result of the first recommendation algorithm because the recommendation accuracy of the first recommendation algorithm is higher than that of the third recommendation algorithm.
Through the technical scheme, the response can be made within the preset response time, and the recommendation precision of the response can be ensured.
In another embodiment, the step S13 of responding to the query request based on the query results of the recommendation algorithms that give the query results within the preset response time includes: weighting the query result by using a preset weight of a recommendation algorithm giving the query result within a preset response time; and responding to the query request by using the query result after the weighting processing.
For example, it is assumed that a first recommendation algorithm, a second recommendation algorithm and a third recommendation algorithm are preset to be operated simultaneously to perform query simultaneously for a query request, wherein the recommendation precision of the first recommendation algorithm is the highest, the recommendation precision of the second recommendation algorithm is comparable to that of the third recommendation algorithm, and the preset weights of the three recommendation algorithms are set as a, b and c, respectively. In a certain application scenario, due to the fact that the server is unstable, the first recommendation algorithm and the third recommendation algorithm give query results, the query results of the first recommendation algorithm and the third recommendation algorithm can be weighted, and the query request is responded by the weighted query results.
Through the technical scheme, timely response to the user can be ensured under the condition that the server is unstable, and the accuracy of the response result can be ensured.
In another embodiment, the step S13 of responding to the query request based on the query result of each recommendation algorithm giving the query result within the preset response time may also include: under the condition that the recommendation algorithm with the highest precision among the plurality of recommendation algorithms gives the query result firstly in the preset response time, stopping the operation of other recommendation algorithms which are not operated completely, and directly responding to the query request by using the query result of the recommendation algorithm with the highest precision. For example, it is assumed that a first recommendation algorithm, a second recommendation algorithm, and a third recommendation algorithm are preset to perform query simultaneously for a query request of a user, where recommendation accuracy of the first recommendation algorithm is highest, and recommendation accuracy of the third recommendation algorithm is lowest. And if the first recommendation algorithm gives the query result firstly in the preset response time, directly responding the query request by using the query result of the first recommendation algorithm, and finishing the operation of other recommendation algorithms which are not operated completely while giving the query result by the first recommendation algorithm.
Through the technical scheme, under the condition that the recommendation algorithm with the highest recommendation precision gives the query result firstly in the preset response time, the query result is directly used for responding to the query request, and the operation of the recommendation algorithm which is not operated completely is finished, so that the recommendation precision can be ensured, and the response can be rapidly made.
Fig. 2 shows a schematic block diagram of a recommendation response device according to an embodiment of the present disclosure. As shown in fig. 2, the recommendation response device includes: a receiving module 21, configured to receive a query request input by a user; the query module 22 is configured to simultaneously run a plurality of recommendation algorithms to query the query request; and the response module 23 is configured to respond to the query request based on the query result of each recommendation algorithm that gives the query result within the preset response time.
By adopting the technical scheme, after the query request input by the user is received, the plurality of recommendation algorithms are simultaneously operated to query the query request respectively, and then the query request is responded based on the query result of each recommendation algorithm giving the query result in the preset response time, so that the interested query result can be still quickly and relatively accurately recommended to the user in the preset response time under the condition that the server is unstable; in the prior art, only one recommendation algorithm is adopted to process the query request of the user, so that the response time is longer under the condition that the server is unstable.
Optionally, the reply module 23 is configured to: and according to the recommendation precision sequence of the plurality of recommendation algorithms, responding to the query request by using the query result of the recommendation algorithm with the highest recommendation precision in the recommendation algorithms giving the query result in the preset response time.
Optionally, the response module 23 is configured to: weighting the query result by using a preset weight of a recommendation algorithm giving the query result within a preset response time; and responding to the query request by using the query result after the weighting processing.
Optionally, the reply module 23 is configured to: under the condition that the recommendation algorithm with the highest precision among the plurality of recommendation algorithms gives the query result firstly in the preset response time, stopping the operation of other recommendation algorithms which are not operated completely, and directly responding to the query request by using the query result of the recommendation algorithm with the highest precision.
Optionally, the query request is a location query request of interest to the user.
Referring now to FIG. 3, a block diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, or the like; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be alternatively implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a query request input by a user; simultaneously and respectively operating a plurality of recommendation algorithms to inquire aiming at the inquiry request; and responding the query request based on the query result of each recommendation algorithm giving the query result in the preset response time. .
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the name of a module does not in some cases constitute a limitation on the module itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides, in accordance with one or more embodiments of the present disclosure, a recommendation response method including: receiving a query request input by a user; simultaneously and respectively operating a plurality of recommendation algorithms to inquire aiming at the inquiry request; and responding the query request based on the query result of each recommendation algorithm giving the query result within the preset response time.
Example 2 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: and according to the recommendation precision sequence of the plurality of recommendation algorithms, responding to the query request by using the query result of the recommendation algorithm with the highest recommendation precision in the recommendation algorithms giving the query result in the preset response time.
Example 3 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: weighting the query result by using a preset weight of a recommendation algorithm giving the query result within the preset response time; and responding to the query request by using the query result after the weighting processing.
Example 3 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: under the condition that the recommendation algorithm with the highest precision among the plurality of recommendation algorithms gives the query result firstly in the preset response time, stopping the operation of other recommendation algorithms which are not operated completely, and directly responding to the query request by using the query result of the recommendation algorithm with the highest precision.
Example 3 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: the query request is a location query request in which the user is interested.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other combinations of features described above or equivalents thereof without departing from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.

Claims (9)

1. A recommendation response method, comprising:
receiving a query request input by a user;
simultaneously and respectively operating a plurality of recommendation algorithms to inquire aiming at the inquiry request;
responding the query request based on the query result of each recommendation algorithm giving the query result within the preset response time;
wherein responding to the query request based on the query result of each of the recommended algorithms for which a query result is given within a preset response time includes: under the condition that the recommendation algorithm with the highest precision among the plurality of recommendation algorithms gives the query result firstly in the preset response time, stopping the operation of other recommendation algorithms which are not operated completely, and directly responding to the query request by using the query result of the recommendation algorithm with the highest precision.
2. The method of claim 1, wherein responding to the query request based on the query result of each of the recommended algorithms that gave the query result within a preset response time further comprises:
and according to the recommendation precision sequence of the recommendation algorithms, responding to the query request by using the query result of the recommendation algorithm with the highest recommendation precision in the recommendation algorithms giving the query result in the preset response time.
3. The method of claim 1, wherein responding to the query request based on the query result of each of the recommended algorithms that gave the query result within a preset response time further comprises:
weighting the query result by using a preset weight of a recommendation algorithm giving the query result within the preset response time;
and responding to the query request by using the query result after the weighting processing.
4. The method of any one of claims 1 to 3, wherein the query request is a location query request of interest to a user.
5. A recommendation response device, comprising:
the receiving module is used for receiving a query request input by a user;
the query module is used for simultaneously and respectively operating a plurality of recommendation algorithms to query the query request;
the response module is used for responding to the query request based on the query result of each recommendation algorithm giving the query result in the preset response time;
wherein the response module responds to the query request based on the query result of each recommendation algorithm giving the query result within a preset response time, and includes: under the condition that the recommendation algorithm with the highest precision among the plurality of recommendation algorithms gives the query result firstly in the preset response time, stopping the operation of other recommendation algorithms which are not operated completely, and directly responding to the query request by using the query result of the recommendation algorithm with the highest precision.
6. The apparatus of claim 5, wherein the reply module is further configured to:
and according to the recommendation precision sequence of the plurality of recommendation algorithms, responding to the query request by using the query result of the recommendation algorithm with the highest recommendation precision in the recommendation algorithms giving the query result in the preset response time.
7. The apparatus of claim 5, wherein the reply module is configured to:
weighting the query result by using a preset weight of a recommendation algorithm giving the query result within the preset response time;
and responding to the query request by using the query result after the weighting processing.
8. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the steps of the method of any one of claims 1-4.
9. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method according to any one of claims 1 to 4.
CN202010478894.0A 2020-05-29 2020-05-29 Recommendation response method, device, medium and equipment Active CN111625707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010478894.0A CN111625707B (en) 2020-05-29 2020-05-29 Recommendation response method, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010478894.0A CN111625707B (en) 2020-05-29 2020-05-29 Recommendation response method, device, medium and equipment

Publications (2)

Publication Number Publication Date
CN111625707A CN111625707A (en) 2020-09-04
CN111625707B true CN111625707B (en) 2023-04-14

Family

ID=72260708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010478894.0A Active CN111625707B (en) 2020-05-29 2020-05-29 Recommendation response method, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN111625707B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024585A (en) * 2012-12-28 2013-04-03 Tcl集团股份有限公司 Program recommendation system, program recommendation method and terminal equipment
CN104572825A (en) * 2014-12-04 2015-04-29 百度在线网络技术(北京)有限公司 Method and device for recommending information
CN106357523A (en) * 2016-11-10 2017-01-25 成都路行通信息技术有限公司 Information pushing method for guaranteeing timely arrival of pushed information, device and terminal
CN106649761A (en) * 2016-12-27 2017-05-10 北京百度网讯科技有限公司 Search result display method and device based on profound questioning and answering
CN109190027A (en) * 2018-08-22 2019-01-11 玖富金科控股集团有限责任公司 Multi-source recommended method, terminal, server, computer equipment, readable medium
CN109324955A (en) * 2018-09-14 2019-02-12 科大国创软件股份有限公司 A kind of IT operational system interface creating method with intelligent recommendation function
CN109783734A (en) * 2019-01-17 2019-05-21 湖南大学 A kind of mixing Collaborative Filtering Recommendation Algorithm based on item attribute
CN110188208A (en) * 2019-06-04 2019-08-30 河海大学 A kind of the information resources inquiry recommended method and system of knowledge based map
CN110321455A (en) * 2019-06-19 2019-10-11 北京奇艺世纪科技有限公司 A kind of information-pushing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8935277B2 (en) * 2012-03-30 2015-01-13 Sap Se Context-aware question answering system
US10769547B2 (en) * 2015-12-30 2020-09-08 Oath Inc. Mobile searches utilizing a query-goal-mission structure
US10534825B2 (en) * 2017-05-22 2020-01-14 Microsoft Technology Licensing, Llc Named entity-based document recommendations

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024585A (en) * 2012-12-28 2013-04-03 Tcl集团股份有限公司 Program recommendation system, program recommendation method and terminal equipment
CN104572825A (en) * 2014-12-04 2015-04-29 百度在线网络技术(北京)有限公司 Method and device for recommending information
CN106357523A (en) * 2016-11-10 2017-01-25 成都路行通信息技术有限公司 Information pushing method for guaranteeing timely arrival of pushed information, device and terminal
CN106649761A (en) * 2016-12-27 2017-05-10 北京百度网讯科技有限公司 Search result display method and device based on profound questioning and answering
CN109190027A (en) * 2018-08-22 2019-01-11 玖富金科控股集团有限责任公司 Multi-source recommended method, terminal, server, computer equipment, readable medium
CN109324955A (en) * 2018-09-14 2019-02-12 科大国创软件股份有限公司 A kind of IT operational system interface creating method with intelligent recommendation function
CN109783734A (en) * 2019-01-17 2019-05-21 湖南大学 A kind of mixing Collaborative Filtering Recommendation Algorithm based on item attribute
CN110188208A (en) * 2019-06-04 2019-08-30 河海大学 A kind of the information resources inquiry recommended method and system of knowledge based map
CN110321455A (en) * 2019-06-19 2019-10-11 北京奇艺世纪科技有限公司 A kind of information-pushing method and device

Also Published As

Publication number Publication date
CN111625707A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN110633126B (en) Information display method and device and electronic equipment
CN111163324B (en) Information processing method and device and electronic equipment
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111209306A (en) Business logic judgment method and device, electronic equipment and storage medium
CN112379982B (en) Task processing method, device, electronic equipment and computer readable storage medium
CN111309254B (en) Data processing method and device, readable medium and electronic equipment
CN111614759A (en) Resource sharing method and device, electronic equipment and computer readable medium
CN110852720A (en) Document processing method, device, equipment and storage medium
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN111262907B (en) Service instance access method and device and electronic equipment
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN111798251A (en) Verification method and device of house source data and electronic equipment
CN111597439A (en) Information processing method and device and electronic equipment
CN112307393A (en) Information issuing method and device and electronic equipment
CN111625707B (en) Recommendation response method, device, medium and equipment
CN111694985B (en) Search method, search device, electronic equipment and computer-readable storage medium
CN114089891A (en) Display control method and device and electronic equipment
CN111241443A (en) Method and device for pushing information and electronic equipment
CN113240108A (en) Model training method and device and electronic equipment
CN111399730A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112100205A (en) Data processing method, device, equipment and computer readable medium
CN111680754A (en) Image classification method and device, electronic equipment and computer-readable storage medium
CN114374738B (en) Information pushing method and device, storage medium and electronic equipment

Legal Events

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