WO2024087960A1 - Search system and method, terminal device, and computer readable storage medium - Google Patents
Search system and method, terminal device, and computer readable storage medium Download PDFInfo
- Publication number
- WO2024087960A1 WO2024087960A1 PCT/CN2023/120298 CN2023120298W WO2024087960A1 WO 2024087960 A1 WO2024087960 A1 WO 2024087960A1 CN 2023120298 W CN2023120298 W CN 2023120298W WO 2024087960 A1 WO2024087960 A1 WO 2024087960A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal device
- information
- result
- target candidate
- results
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 92
- 238000003860 storage Methods 0.000 title claims abstract description 11
- 230000006399 behavior Effects 0.000 claims description 76
- 238000004590 computer program Methods 0.000 claims description 18
- 230000004044 response Effects 0.000 claims description 17
- 238000012216 screening Methods 0.000 abstract description 4
- 238000004891 communication Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 26
- 230000008569 process Effects 0.000 description 20
- 230000002776 aggregation Effects 0.000 description 10
- 238000004220 aggregation Methods 0.000 description 10
- 238000010295 mobile communication Methods 0.000 description 9
- 238000012790 confirmation Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 5
- 238000012549 training Methods 0.000 description 5
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 4
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 4
- 238000013507 mapping Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 239000013598 vector Substances 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Definitions
- the present application relates to the field of terminal technology, and in particular to a search system, method, terminal device and computer-readable storage medium.
- the embodiments of the present application provide a search system, method, terminal device and computer-readable storage medium, which can solve the problem that users cannot well obtain the required information from the search results in the existing search methods.
- an embodiment of the present application provides a search method, which is applied to a first terminal device, and the method includes: obtaining search information; sending a search request to a cloud server, the search request including search information; receiving search results from the cloud server, the search results are the results returned by the cloud server in response to the search request, and the search results include at least one candidate result; displaying information of at least one target candidate result, the information of the target candidate result includes first information and second information, the first information is used to describe the target candidate result, and the second information is used to describe the second terminal device corresponding to the target candidate result, and the target candidate result is a candidate result screened from the search results based on the information of the second terminal device.
- the embodiment of the present application displays the second terminal device corresponding to each target candidate result through the first information and the second information, that is, the correspondence between the second terminal device and the target candidate results is displayed, so that the user can better obtain the candidate results suitable for each second terminal device, and the user experience is better.
- displaying information of at least one target candidate result includes: determining a target candidate result of at least one second terminal device; and displaying information of each target candidate result on a search results page.
- determining a target candidate result for at least one second terminal device includes: obtaining a scoring result for each second terminal device, the scoring result being a result obtained by scoring each candidate result based on information of the second terminal device; and determining a target candidate result for each second terminal device based on the scoring result of each second terminal device.
- each candidate result is scored according to the information of the second terminal device, and the score is used to represent the degree of match between each candidate result and the second terminal device, thereby accurately screening out target candidate results suitable for each second terminal device.
- obtaining a scoring result of each second terminal device includes:
- the second terminal device scores each candidate result based on at least one of its own device information and user behavior data, which can fully utilize the computing resources of each second terminal device and save the computing resource overhead of the first terminal device.
- scoring each candidate result based on device information and user behavior data can make the screened target candidate results more suitable for user usage habits.
- target candidate results suitable for the second terminal device can still be screened.
- the method may further include: receiving information from each second terminal device, The information of the second terminal device includes at least one of device information and user behavior data.
- Obtaining the scoring result of each second terminal device includes: for each second terminal device, scoring each candidate result according to at least one of device information and user behavior data to obtain the scoring result of the second terminal device.
- each candidate result is scored according to device information and user behavior data to obtain a scoring result for a second terminal device, including: inputting the device information, user behavior data and all candidate results into a pre-trained scoring model to obtain a scoring result output by the scoring model, wherein the scoring result includes a score for each candidate result.
- the device information includes device type information, or device type information and device parameter information.
- the scoring result includes scores of each candidate result
- the target candidate result includes a candidate result with a maximum score, or a candidate result with a score greater than a preset threshold.
- displaying information of each target candidate result on a search results page includes: displaying a control for each target candidate result on the search results page; wherein the control includes first information and second information.
- each target candidate result is displayed in the form of a control, which not only allows the user to better obtain the candidate results suitable for each second terminal device, but also allows the user to more conveniently display each target candidate result in a coordinated manner to each corresponding second terminal device.
- the search results include a ranking of candidate results; the method also includes: displaying each candidate result in the remaining candidate result set according to the ranking; wherein the remaining candidate result set includes the candidate results remaining after removing the target candidate result from the candidate result set; the target candidate result and the remaining candidate results are displayed on the same search results page, and in the search results page, the display position of the target candidate result is before the display position of the remaining candidate results.
- the target candidate results are displayed, and the target candidate results are displayed at a front position in the search results page, so that the user can better obtain the target candidate results suitable for the second terminal device.
- the method further includes: sending the corresponding target candidate result to the second terminal device to instruct the second terminal device to display the target candidate result.
- sending the corresponding target candidate result to the second terminal device includes: if an operation on the control is detected, in response to the operation, sending the corresponding target candidate result to the second terminal device corresponding to the control.
- the user can coordinate the target candidate result suitable for the second terminal device to the second terminal device through the control, reducing user operations, making the coordination method more convenient, and providing a better user experience.
- the method further includes: obtaining device status information of each second terminal device; sending the corresponding target candidate result to the second terminal device, and further includes: determining the current state of the second terminal device according to the device status information; if the current state is the first state, sending the corresponding target candidate result and first indication information to the second terminal device, the first indication information is used to instruct the second terminal device to directly display the target candidate result; if the current state is the second state, sending the corresponding target candidate result and second indication information to the second terminal device, the second indication information is used to instruct the second terminal device to display prompt information, and the prompt information is used to prompt whether to display the target candidate result.
- the device status of the second terminal device can also be considered. Only when the device status meets the requirements, the target candidate result is directly and collaboratively displayed to the second terminal device, thereby reducing user operations and improving user experience.
- the method further includes: receiving device type information from each second terminal device; and the search request further includes the device type information of each second terminal device.
- the device type information is carried in the search request, so that the cloud server considers the device type information of the second terminal device when searching and sorting.
- an embodiment of the present application provides a search system, including a first terminal device and at least one second terminal device:
- the first terminal device is used to: obtain search information; send a search request to a cloud server, the search request includes search information; receive search results from the cloud server, the search results are the results returned by the cloud server in response to the search request, and the search results include at least one candidate result; display information about at least one target candidate result, the information about the target candidate result includes first information and second information, the first information is used to describe the target candidate result, and the second information is used to describe the second terminal device corresponding to the target candidate result, the target candidate result is a candidate result screened from the search results based on the information of the second terminal device.
- the first terminal device is specifically used to: obtain scoring results of each second terminal device, where the scoring results are obtained by scoring each candidate result based on information of the second terminal device; and determine the target candidate results of each second terminal device based on the scoring results of each second terminal device.
- the first terminal device is specifically configured to: send a candidate result set to each second terminal device, where the candidate result set includes the candidate result;
- the second terminal device is specifically used to: score each candidate result according to at least one of the device information and the user behavior data to obtain a scoring result; send the scoring result to the first terminal device, wherein the information of the second terminal device includes at least one of the device information and the user behavior data;
- the first terminal device is specifically used to receive the scoring results from each second terminal device.
- the first terminal device is further used to: receive information from each second terminal device, where the information of the second terminal device includes at least one of device information and user behavior data;
- the first terminal device is specifically used for: for each second terminal device, scoring each candidate result according to at least one of the device information and the user behavior data, and obtaining the scoring result of the second terminal device.
- the first terminal device or the second terminal device is specifically used to: input device information, user behavior data and all candidate results into a pre-trained scoring model to obtain a scoring result output by the scoring model, wherein the scoring result includes a score for each candidate result.
- the scoring result includes scores of each candidate result
- the target candidate result includes a candidate result with a maximum score, or a candidate result with a score greater than a preset threshold.
- the first terminal device is specifically used to: display a control for each target candidate result on a search result page; wherein the control includes the first information and the second information.
- the search results include a ranking of the candidate results; and the first terminal device is further configured to: display each candidate result in the remaining candidate result set according to the ranking;
- the remaining candidate result set includes the candidate results remaining after removing the target candidate result from the candidate result set; the target candidate result and the remaining candidate results are displayed on the same search result page, and in the search result page, the display position of the target candidate result is before the display position of the remaining candidate results.
- the first terminal device is further used to: send the corresponding target candidate result to the second terminal device;
- the second terminal device is also used to: receive target candidate results and display the target candidate results.
- the first terminal device is specifically configured to: if an operation on a control is detected, then in response to the operation, send a corresponding target candidate result to a second terminal device corresponding to the control.
- the first terminal device is also used to: obtain device status information of each second terminal device; determine the current state of the second terminal device based on the device status information; if the current state is the first state, send the corresponding target candidate result and first indication information to the second terminal device, the first indication information is used to instruct the second terminal device to directly display the target candidate result; if the current state is the second state, send the corresponding target candidate result and second indication information to the second terminal device, the second indication information is used to instruct the second terminal device to display prompt information, and the prompt information is used to prompt whether to display the target candidate result.
- an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in any one of the first aspects above is implemented.
- an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of any one of the above-mentioned first aspects is implemented.
- an embodiment of the present application provides a chip system, the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement any method as described in any one of the first aspects above.
- the chip system can be a single chip, or a chip module composed of multiple chips.
- an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the method described in the first aspect above.
- FIG1 is a schematic diagram of a collaborative scenario of a mobile phone and a smart screen provided in an embodiment of the present application
- FIG2 is a schematic block diagram of a search system provided in an embodiment of the present application.
- FIG3 is a schematic diagram of a scoring process provided in an embodiment of the present application.
- FIG4A is a schematic diagram showing candidate results provided in an embodiment of the present application.
- FIG4B is a schematic diagram showing candidate results provided in an embodiment of the present application.
- FIG5 is a schematic diagram showing candidate results provided in an embodiment of the present application.
- FIG6A is a schematic diagram of multi-terminal collaboration provided in an embodiment of the present application.
- FIG6B is a schematic diagram of multi-terminal collaboration provided in an embodiment of the present application.
- FIG. 7 is a schematic diagram of an interactive process of a search method provided in an embodiment of the present application.
- FIG8 is a schematic diagram of multi-terminal device collaboration provided in an embodiment of the present application.
- FIG9 is a schematic diagram of an interactive process of a search method provided in an embodiment of the present application.
- FIG10 is a schematic diagram of a flow chart of a search method provided in an embodiment of the present application.
- FIG11 is a schematic diagram of a flow chart of a search method provided in an embodiment of the present application.
- FIG. 12 is a schematic block diagram of the structure of a terminal device 1200 provided in an embodiment of the present application.
- terminal devices As the types of terminal devices become more and more abundant and the user groups become more and more diversified, the number and types of terminal devices owned by users are also increasing. Usually, a user usually owns multiple different types of terminal devices. For example, a user owns multiple different types of terminal devices such as mobile phones, tablets, smart wearable devices, and smart screens.
- users can display the search results of a terminal device on another terminal device through screen projection.
- the mobile phone 11 responds to the click operation and displays the browser interface; the user enters the search keyword "love sports" in the search box 113 of the browser interface, and then triggers the mobile phone 11 to search by pressing the enter button or the search button, etc., and the mobile phone 11 sends a search request to the cloud server 13, and the search request carries the search keyword "love sports"; the cloud server 13 responds to the search request from the mobile phone 11, obtains the search results, and returns the search results to the mobile phone 11, and the search results include multiple candidate results and natural sorting.
- the mobile phone 11 receives the search results from the cloud server 13, and displays the multiple candidate results on the search results page 114 according to the natural sorting. As shown in FIG1, the search results page 114 displays candidate results such as the "Love Sports” TV series and the “Love Sports Ratings” news.
- the user can find the candidate results of the TV series "Loving Sports" from the search results page 114, open the TV series on the mobile phone 11, and then project the screen to the smart screen 12 through short-range communication.
- Short-range communication methods include but are not limited to Bluetooth, Wireless Fidelity (Wi-Fi) and Near Field Communication (NFC).
- the smart screen 12 displays the projection interface 121 according to the projection data stream from the mobile phone 11. In this way, the user can display the search results of the mobile phone 11 on the smart screen 12.
- the terminal device when the terminal device displays the search results, it only displays the candidate results in natural order, without considering the matching degree between each candidate result and the terminal device. This may cause the candidate results required by the user to be ranked at the back, and the correspondence between the candidate results and the terminal device is not displayed on the search results page, which makes it impossible for the user to obtain the candidate results suitable for the terminal device from the search results, resulting in a poor user experience.
- the technical solution provided in the embodiment of the present application filters out target candidate results suitable for terminal devices from the search results based on the information of the terminal device, and displays the target candidate results suitable for the terminal device, so that users can better obtain candidate results suitable for the terminal device based on the target candidate results for each terminal device displayed, and the user experience is better.
- the search system includes a first terminal device 100 and at least one second terminal device 200.
- the first terminal device 100 can be used as a master terminal of the search system, and the second terminal device 200 can be used as a slave terminal of the search system.
- the first terminal device 100 may be, but is not limited to: a mobile phone, a tablet, a personal computer, a smart screen, an ink screen, a smart wearable device, or a smart speaker, etc.
- the second terminal device 200 may be, but is not limited to: a mobile phone, a tablet, a personal computer, a smart screen, an ink screen, a smart wearable device, or a smart speaker, etc.
- the embodiment of the present application does not limit the specific types of the first terminal device 100 and the second terminal device 200.
- the first terminal device 100 can communicate with the second terminal device 200.
- the communication method between the first terminal device 100 and the second terminal device 200 can be short-range wireless communication, such as classic Bluetooth, low-power Bluetooth, Wireless Fidelity (Wi-Fi), Ultra Wide Band (UWB) and Near Field Communication (NFC), etc.; it can also be wired communication or long-range wireless communication (such as mobile communication). It is understandable that the device types of the first terminal device 100 and the second terminal device 200 are different, and the communication method may be different accordingly. The embodiment of the present application does not limit the communication method between the first terminal device 100 and the second terminal device 200.
- the first terminal device 100 is a mobile phone
- the search system includes multiple second terminal devices 200, which are ink screens, smart speakers, and smart screens.
- the communication method between the mobile phone and the smart speaker is low-power Bluetooth
- the communication method between the mobile phone and the smart screen is Wi-Fi point-to-point connection
- the communication method between the mobile phone and the ink screen is low-power Bluetooth.
- the first terminal device 100 obtains the search information and sends a search request to the cloud server, where the search request carries the search information.
- the search information is usually input by the user to the first terminal device 100.
- the search information may be information input by the user in a search box or a search window, that is, the first terminal device 100 may obtain the above search information by obtaining the information input by the user in the search box or the search window. For example, as shown in FIG1 , after the user enters "love sports" in the search box 113 of the mobile phone 11, the search information obtained by the mobile phone 11 is "love sports".
- the search information may also be information input by the user to the first terminal device 100 through voice. For example, after the user wakes up the mobile phone voice assistant "Xiaoyi" through the wake-up word “Xiaoyi Xiaoyi", the user inputs the voice "search for love of sports" into the mobile phone. At this time, the mobile phone performs voice recognition and other processing operations on the voice "search for love of sports" to obtain the search information "love of sports".
- the embodiment of the present application does not limit the way in which the first terminal device 100 obtains the search information.
- the search request may also carry the device type information of each second terminal device 200.
- the search request may carry both the search information and the device type information of each second terminal device 200.
- the first terminal device 100 sends a search request carrying the search information and the device type information of each second terminal device 200 to the cloud server.
- the device type information is used to describe the device type of the second terminal device 200.
- the device types include mobile phones, smart screens, speakers, ink screens, car machines, smart headphones, smart watches/smart bracelets, tablet computers, personal computers, virtual reality (VR)/augmented reality (AR)/mixed reality (MR) devices, and Internet of Things (IoT) devices.
- the present application embodiment does not limit the division of device types.
- the devices can be divided into screen devices and screenless devices according to whether they have a screen, that is, the device types include screen devices and screenless devices.
- the first terminal device 100 needs to obtain the device type information of the second terminal device 200 in addition to the search information.
- the first terminal device 100 can obtain the device type information of the second terminal device 200 in real time. At this time, after obtaining the search information, the first terminal device 100 sends a request to the second terminal device 200, and the request is used to obtain the device information; the second terminal device 200 responds to the request and sends its own device information to the first terminal device 100.
- the device information may only include the device type information. Of course, in addition to the device type information, the device information may also include other information (for example, device parameter information).
- the device parameter information is used to describe the parameters of the second terminal device 200. Exemplarily, the parameter information of the second terminal device 200 includes, but is not limited to, information such as resolution and size.
- the first terminal device 100 may also obtain the device information of the second terminal device 200 in advance, that is, before obtaining the search information, the first terminal device 100 obtains the device information of each second terminal device 200 and stores the device information of each second terminal device 200 locally.
- the second terminal device 200 can actively send its own device information to the first terminal device 100 regularly or periodically.
- the first terminal device 100 can also send a request to the second terminal device 200 regularly or periodically, so that the second terminal device 200 responds to the request and synchronizes its own device information to the first terminal device 100.
- the second terminal device 200 synchronizes its own device information to the first terminal device 100, when it detects a change in its own device information, it can actively synchronize the updated device information or the changed information to the first terminal device 100.
- the second terminal device 200 sends a request to the second terminal device 200 regularly or periodically, so that the second terminal device 200 responds to the request and synchronizes its own device information to the first terminal device 100.
- the first terminal device 200 actively sends its own device information to the first terminal device 100, or the first terminal device 100 requests the second terminal device 200 to obtain device information.
- the first terminal device 100 obtains the device information of the second terminal device 200, it persistently stores the device information of the second terminal device 200.
- the second terminal device 200 detects a change in the sending of its own device information, it actively sends the changed device information or the changed information to the first terminal device 100.
- the cloud server may receive the search request from the first terminal device 100 and, in response to the search request, return search results to the first terminal device 100.
- the search results include at least one candidate result and a natural ranking.
- the cloud server may include a search aggregation module and a search engine.
- the search aggregation module may request the search engine to perform a search based on a search request.
- the search engine responds to the request of the search aggregation module, performs a search based on the search information, obtains a candidate result set, and returns the retrieved candidate result set to the search aggregation module.
- the candidate result set includes at least one candidate result.
- the search aggregation module When the search request does not carry the device type information of the second terminal device 200, after the search aggregation module receives the candidate result set returned by the search engine, it can aggregate and sort the candidate results in the candidate result set based on the amount of information and the natural sorting template to obtain the search results.
- the search results include the sorted candidate results.
- the search aggregation module can sort the candidate results in the candidate result set based on the information volume and the natural sorting template in combination with the type information of the second terminal device 200 to obtain the search results.
- the device type information carried by the search request can be used to aggregate and sort the results returned by each search engine.
- the first terminal device 100 After the first terminal device 100 receives the search result returned by the cloud server, it determines the target candidate results of each second terminal device 200 and displays the target candidate results of each second terminal device 200.
- the target candidate result is a candidate result screened from the search results according to the information of the second terminal device 200.
- the target candidate result may refer to one candidate result or a candidate result set consisting of at least two candidate results, that is, the target candidate result may include at least two candidate results.
- the information of the second terminal device 200 includes device information, or includes device information and user behavior data.
- the device information includes device type information, or includes device type information and device parameter information.
- User behavior data refers to the usage behavior data of the user on the second terminal device 200.
- the user behavior data can describe the usage time and operation events of the user on the second terminal device 200. Through the user behavior data, information such as user behavior habits, usage time and preferences can be obtained.
- the user's usage behavior data on the second terminal device 200 can be recorded every day to obtain the user behavior data of the second terminal device 200. For example, at 19:10 in the evening, the user turns on the smart screen to watch a TV series. After the smart screen detects the user's power-on operation, it records a piece of usage behavior data, the usage time of which is 19:10 in the evening, and the operation event is power-on.
- the first terminal device 100 may simply map the candidate result type with the device type of the second terminal device 200 to determine the target candidate result of each second terminal device 200.
- the device type of the second terminal device 200 may be obtained through the device type information of the second terminal device 200.
- the mapping process can be performed on the first terminal device 100 side as well as on the second terminal device 200 side.
- the first terminal device 100 obtains the search results, it sends a candidate result set to each second terminal device 200, and the candidate result set includes the candidate results.
- the second terminal device 200 maps the candidate result type and the device type according to the candidate result set and its own device information to obtain the target candidate result, and returns the target candidate result to the first terminal device 100. In this way, the first terminal device 100 can obtain the target candidate results of each second terminal device 200.
- the candidate result types may include, but are not limited to, videos, news, e-books, web pages, pictures, and songs.
- candidate results belonging to the video type are mapped to the smart screen, that is, the candidate results belonging to the video type are determined as the target candidate results for the smart screen.
- candidate results belonging to the news type and the e-book type are mapped to the ink screen or tablet computer, that is, the candidate results belonging to the news type and the e-book type are determined as the target candidate results for the ink screen or tablet computer.
- candidate results belonging to the song type or the audio type are mapped to the speaker, that is, the candidate results belonging to the song type or the audio type are determined as the target candidate results for the speaker.
- the search system includes smart screen 1 and smart screen 2. If a simple mapping is performed based on the candidate result type and the device type, since smart screen 1 and smart screen 2 have the same device type, the target candidate results of the two devices are the same.
- each candidate result may be scored based on at least one of the device information and user behavior data of the second terminal device 200 to obtain a scoring result of each second terminal device 200, and the target candidate result of each second terminal device 200 is determined based on the scoring result of each second terminal device 200.
- the scoring result includes the score of each candidate result.
- the process of scoring each candidate result according to the device information and user behavior data of the second terminal device 200 can be performed on the first terminal device 100 side or on the second terminal device 200 side.
- the scoring process is performed on the second terminal device 200 side, after the first terminal device 100 receives the search results returned by the cloud server, it can send a candidate result set to each second terminal device 200, and the candidate result set includes all the candidate results in the search results. After receiving the candidate result set, the second terminal device 200 scores each candidate result in the candidate result set according to its own device information and user behavior data, obtains the score of each candidate result, and then obtains the scoring result.
- the second terminal device 200 may return the scoring result to the first terminal device 100.
- the first terminal device 100 may receive the scoring results returned by each second terminal device 200, and determine the target candidate results of each second terminal device 200 according to the scoring results of each second terminal device 200.
- the second terminal device 200 may also determine the target candidate result from the candidate result set according to the scoring result, and return the target candidate result or information used to describe the target candidate result to the first terminal device 100 .
- the first terminal device 100 can determine the target candidate result described by the information for describing the target candidate result, and then determine the target candidate result of the second terminal device 200.
- the information used to describe the target candidate result is sorting information
- the sorting information is used to describe the sequence number of the target candidate result in the natural sorting.
- the smart screen determines that the 10th candidate result in the natural sorting is the target candidate result based on the scoring result, and then returns "No. 10" as the information used to describe the target candidate result to the mobile phone, and the mobile phone determines the 10th candidate result in the natural sorting as the target candidate result of the smart screen.
- the first terminal device 100 can score each candidate result for each second terminal device 200 according to the device information and user behavior data of the second terminal device 200 to obtain the scoring result of the second terminal device 200.
- each second terminal device 200 can synchronize the device information and user behavior data to the first terminal device 100, and the user behavior data can be synchronized to the first terminal device 100 along with the device information. For example, after the first terminal device 100 obtains the search information, it requests each second terminal device 200 to obtain the device information and user behavior data, and the second terminal device 200 synchronizes the device information and user behavior data to the first terminal device 100 in response to the request.
- the first terminal device 100 can score each candidate result locally, or send the candidate result set to each second terminal device 200, and each second terminal device 200 scores each candidate result. In comparison, scoring each candidate result by each second terminal device 200 can make full use of the computing resources of each second terminal device 200, reducing the computing resource overhead of the first terminal device 100.
- the scoring process can also be performed on the cloud server side.
- the first terminal device 100 can send the device information and user behavior data of each second terminal device 200 to the cloud server, and the device information and user behavior data of the second terminal device 200 can be carried in the search request or can be independent of the search request.
- the cloud server can respond to the search request, obtain the search results, and after naturally sorting the search results, score each candidate result for each second terminal device 200 according to the device information and user behavior data of the second terminal device 200 to obtain the scoring result of the second terminal device 200. Finally, the cloud server determines the target candidate result of each second terminal device 200 according to the scoring results of each second terminal device 200, and returns the target candidate result to the first terminal device 100. Alternatively, after obtaining the scoring results of each second terminal device 200, the cloud server directly returns the scoring results to the first terminal device 100, and the first terminal device 100 determines the target candidate result according to the scoring results.
- the first terminal device 100, the second terminal device 200 or the cloud server can score each candidate result through the scoring model.
- the device information, user behavior data and candidate result set of the second terminal device 200 are used as inputs of the scoring model, and the scoring result is used as output of the scoring model.
- the scoring model includes a transformer model, a deep computing
- the input of the scoring model includes user behavior data, device information, and a set of candidate results, and the output is the scoring result.
- user behavior data and device information are converted into a feature vector after passing through the transformer model and the deep computing layer;
- the candidate result set is converted into a feature vector after passing through the transformer model and the deep computing layer;
- the matching layer matches and compares the two feature vectors, obtains the score of each candidate result, and outputs the score result.
- the scoring model is a pre-trained model.
- a training data set is constructed by collecting user behavior data of a large number of users and device information of the terminal devices used by the users, and the scoring model is trained using the constructed training data set.
- the training data set includes user behavior data and device information of each terminal device, and the device information includes device type information and device parameter information.
- the optimal presentation method can be selected for the candidate results according to the user's usage behavior habits, that is, a more suitable second terminal device 200 can be selected for the candidate results according to the user's usage behavior habits.
- a more suitable second terminal device 200 can be selected for the candidate results according to the user's usage behavior habits.
- the target candidate results determined according to the user behavior data are likely to be different. Therefore, the probability of the same target candidate results for multiple terminal devices of the same device type is low.
- the score of each candidate result in the scoring result can represent the degree of matching between the candidate result and the second terminal device 200. The higher the score, the higher the matching degree, and vice versa, the lower the score, the lower the matching degree.
- the candidate result with the largest score in the scoring results can be used as the target candidate result, or the candidate result with a score greater than a preset threshold in the scoring results can be used as the target candidate result.
- the preset threshold can be set according to actual needs and is not limited here.
- the second terminal device 200 is a smart screen
- the first terminal device 100 is a mobile phone
- the candidate result set includes three candidate results, namely, news candidate results, video candidate results, and novel candidate results.
- the TV series candidate result has the highest score, that is, the TV series candidate result has the highest degree of match with the smart screen, and the TV series candidate result is determined as the target candidate result of the smart screen.
- each target candidate result is displayed.
- the first terminal device 100 can display each target candidate result on the screen, can display each target candidate result by voice broadcast, or can display the target candidate result on the screen and broadcast the target candidate result by voice.
- the display method of the target candidate result is not limited here.
- the target candidate result can be displayed in a preset form, and the second terminal device corresponding to each target candidate result can be displayed, that is, the target candidate result is displayed in a preset form, and the information of the second terminal device 200 corresponding to each target candidate result is displayed in a certain form.
- the target candidate result is displayed in a preset form on the search result page, and the name of the second terminal device 200 is displayed after the target candidate result, so that the user can intuitively obtain the candidate result suitable for the second terminal device 200 on the search result page.
- the preset forms include, but are not limited to: different fonts, controls, and pop-up windows.
- Different fonts refer to displaying the target candidate results in a font different from the non-target candidate results, that is, the font of the non-target candidate results is different from the font of the target candidate results.
- the difference in fonts can be specifically reflected in at least one difference in font size, font style, and font type.
- the fonts between the target candidate results may be the same or different. For example, the font of the target candidate results is bold, and the font of the non-target candidate results is not bold.
- Pop-up window refers to displaying each target candidate result in a pop-up window. For example, a floating window is displayed on the search results page, and each target candidate result is displayed in the floating window.
- a control refers to displaying each target candidate result in the form of a control, and each target candidate result corresponds to a control.
- Each control may include first information and/or second information. The first information is used to describe the target candidate result, and the second information is used to describe the second terminal device.
- the first terminal device 100 is a mobile phone 41
- the smart screen, ink screen and speaker are the second terminal device 200.
- the search result page 411 of the mobile phone 41 includes a search box 412, a control 413, a control 414 and a control 415, and the search keyword in the search box 412 is "XXX".
- Mobile phone 41 determines that the target candidate result for the smart screen is "XXX TV series", the target candidate result for the ink screen is "XXX novel", and the target candidate result for the speaker is "XXX theme song”.
- Control 413 displays "XXX TV series, go to the smart screen to watch”, at this time "XXX TV series” is the first information used to describe the target candidate result, and "go to the smart screen to watch” is the second information used to describe the second terminal device 200.
- control 414 displays "XXX novel, go to the ink screen to read”
- control 415 displays "XXX theme song, go to the speaker to play”.
- the scores of the same candidate result for the second terminal devices 200 of the same type are different, and therefore, the target candidate results of the same type of second terminal devices 200 are different.
- the target candidate results of the same type of second terminal devices 200 are the same, when the target candidate results are displayed in the form of controls, options can be displayed for the user to select.
- a control 416 is displayed on the search result page 411 , and the control 416 displays “XXX TV series, watch on the smart screen”, and also displays two options “large screen device 1” and “large screen device 2”. That is, the target candidate results of large screen device 1 and large screen device 2 are the same, both of which are “XXX TV series”. At this time, when the target candidate result is displayed, two options are provided for the user to choose.
- the first terminal device 100 may display only the target candidate results, or may display the target candidate results and non-target candidate results.
- Non-target candidate results refer to candidate results that are not target candidate results.
- candidate results other than the target candidate results in the search results are regarded as non-target candidate results.
- the target candidate results may be displayed before the non-target candidate results.
- a mobile phone 51 displays a search result page 511, and the search result page 511 includes a search box 512, a control 513, a control 514, and a control 515.
- controls 513 to 515 are controls corresponding to the target candidate results, and these controls display information about the target candidate results and the corresponding terminal device.
- the search result page 511 also displays other candidate results such as "actor list" and "how is the ratings of love sports".
- the display positions of controls 513 to 515 on search result page 511 are higher than the display positions of other candidate results such as “actors” and “how is the ratings of sports lovers”. In this way, the user can intuitively, quickly and accurately obtain candidate results suitable for other terminal devices from the target candidate results displayed at the front.
- the candidate results can be displayed in a natural order.
- the target candidate results can be displayed in a preset form to distinguish the target candidate results from the non-target candidate results, so that the user can better obtain the target candidate results suitable for each second terminal device 200.
- the first terminal device 100 can display non-target candidate results according to the natural sorting.
- the target candidate results can be removed from the search results, and then the remaining candidate results can be displayed in sequence on the search results page according to the natural sorting.
- the search results include candidate results A, candidate results B, candidate results C, and candidate results D, and the natural sorting of candidate results A to candidate results D is 1st to 4th.
- Candidate result C is the target candidate result.
- Candidate result C is displayed in the form of a control on the search results page, and candidate results A, candidate result B, and candidate result D are displayed in sequence behind the control of candidate result C.
- the target candidate results can also be displayed repeatedly.
- the target candidate results can be displayed directly in the natural order instead of being removed from the search results.
- the search results include candidate results A, candidate results B, candidate results C, and candidate results D, and the natural order of candidate results A to candidate results D is 1st to 4th.
- candidate result C is the target candidate result.
- Candidate result C is displayed in the form of a control on the search results page, and behind the control of candidate result C, candidate results A, candidate result B, candidate result C, and candidate result D are displayed in sequence.
- the first terminal device 100 can also distribute the target candidate results of each second terminal device 200 to the corresponding second terminal device 200.
- the first terminal device 100 can distribute the target candidate results to the corresponding second terminal device 200 before or after displaying each target candidate result, or can distribute the target candidate results to the corresponding second terminal device 200 while displaying the target candidate results.
- the first terminal device 100 may actively or passively distribute the corresponding target candidate results to each second terminal device 200 .
- the first terminal device 100 can actively send the target candidate result or information used to describe the target candidate result to each second terminal device 200. After receiving the target candidate result or information used to describe the target candidate result, each second terminal device 200 can display the target candidate result.
- the first terminal device 100 may also distribute the target candidate results to the second terminal devices 200 according to the device status information of each second terminal device.
- the device status information is used to describe the status of the second terminal device 200.
- the status types of the second terminal device 200 include standby status, viewing status, screen-on status, screen-off status, and the like.
- the state type of the second terminal device 200 may be different depending on the device type of the second terminal device 200.
- its state type may include a standby state and a viewing state, and the viewing state means that the user is using the smart screen to watch videos and audio, etc.
- its state type may include a screen-on state and a screen-off state.
- the first terminal device 100 stores the device status information of each second terminal device 200.
- the device status information may be pre-synchronized from each second terminal device 200 to the first terminal device 100.
- the second terminal device 200 may synchronize its own device status information to the first terminal device 100 in addition to synchronizing the device information and user behavior data to the first terminal device 100.
- the current state of each second terminal device 200 can be determined based on the device state information of each second terminal device 200. If the current state of a second terminal device 200 is the first state, the first terminal device 100 considers that the corresponding target candidate result can be sent to the second terminal device 200, and instructs the second terminal device 200 to directly display the target candidate result. If the current state of a second terminal device 200 is the second state, the corresponding target candidate result is sent to the second terminal device 200, and before instructing the second terminal device 200 to display the target candidate result, prompt information is displayed to prompt the user whether to display the target candidate result.
- the type of the second terminal device 200 is different, and the above-mentioned first state and second state may be different.
- the first state is the standby state
- the second state is the viewing state. That is, when it is determined that the smart screen is currently in the standby state, the target candidate results corresponding to the smart screen are sent to the smart screen, and the smart screen is instructed to directly display the target candidate results. If it is determined that the smart screen is not currently in the standby state but in the viewing state, the corresponding target candidate results are sent to the smart screen, and the user is instructed to display a prompt message to prompt the user whether to display the target candidate results.
- each second terminal device 200 when distributing target candidate results, it is also possible to ignore the device status information of each second terminal device 200 and instead distribute the corresponding target candidate results to each second terminal device 200 and instruct each second terminal device 200 to directly display each target candidate result.
- the first terminal device 100 can actively distribute target candidate results to the second terminal device 200, or passively distribute target candidate results to the second terminal device 200. At this time, the first terminal device 100 can distribute target candidate results to the corresponding second terminal device 200 after receiving a trigger instruction input from the outside.
- the trigger instruction is a user's click instruction for the control of the target candidate result, that is, after the first terminal device 100 detects the click operation on the control, it sends the corresponding target candidate result to the second terminal device 200 corresponding to the control.
- the mobile phone 61 is the first terminal device 100
- the smart screen 62, the ink screen 63 and the speaker 64 are the second terminal device 200.
- the search result page 611 of the mobile phone 61 includes a search box 612, a control 613 and a control 614, the control 613 corresponds to the smart screen 62, and the control 614 corresponds to the ink screen 63.
- the mobile phone 61 can coordinate the display of the search results on the smart screen 62, coordinate the display of the searched electronic books on the ink screen, and coordinate the playback of the searched audio content on the speaker.
- the mobile phone 61 sends a search request to the cloud server according to the information entered by the user, and obtains the search results returned by the cloud server, which include at least one candidate result. Then, the mobile phone 61 sends the candidate result set to the smart screen 62, the ink screen 63 and the speaker 64.
- the smart screen 62 After receiving the candidate result set sent by the mobile phone 61, the smart screen 62 scores each candidate result according to its own device type information, device parameter information, and user behavior data, obtains a scoring result, and returns the scoring result to the mobile phone 61. Similarly, the ink screen 63 and the speaker 64 score each candidate result according to their own device information and user behavior data, and return the obtained scoring result to the mobile phone 61.
- the mobile phone 61 After receiving the scoring results of the smart screen 62, the ink screen 63 and the speaker 64, the mobile phone 61 determines the candidate result with the highest score in the scoring results of the smart screen 62 as the target candidate result of the smart screen 62. Similarly, the candidate result with the highest score in the scoring results of the ink screen 63 is determined as the target candidate result of the ink screen 63, and the candidate result with the highest score in the scoring results of the speaker 64 is determined as the target candidate result of the speaker 64. As shown in FIG6A , the target candidate result of the smart screen 62 is “XXX TV series”, the target candidate result of the ink screen 63 is “XXX novel”, and the target candidate result of the speaker 64 is “XXX theme song” (not shown in the figure).
- the mobile phone 61 After the mobile phone 61 determines the target candidate results, it displays each target candidate result in the form of a control. As shown in FIG6A , the control 613 corresponding to the target candidate result of the smart screen 62 is displayed in the search result page 611, and the control 614 corresponding to the target candidate result of the ink screen 63 is displayed.
- the user can click the control 614.
- the relevant information of "XXX novel” can be sent to the ink screen 63.
- the ink screen 63 can obtain "XXX novel” according to the information sent by the mobile phone 61 and display it.
- mobile phone 61 can also determine whether to instruct the smart screen 62 or ink screen 63 to directly display the target candidate results, or to display a prompt message first, based on the device status information of the smart screen 62 and ink screen 63, to prompt the user whether to display the target candidate results.
- the mobile phone 61 does not display the target candidate result of the speaker 64 in the search result page 611. At this time, the mobile phone 61 automatically sends the searched audio content to the speaker 64 by default, without the need for user triggering. That is, after the mobile phone 61 determines the target candidate result of the speaker 64, it actively sends the target candidate result to the speaker 64, so as to coordinate the searched speaker to play on the speaker.
- the embodiment of the present application displays the target candidate results on the search results page in the form of controls.
- the user only needs to perform simple operations to collaboratively display the target candidate results on the corresponding second terminal device 200.
- the operation is more convenient and the user experience is better.
- the first terminal device 100 can also determine whether to actively send the corresponding target candidate results to the second terminal device 200 according to the device type.
- some target device types can be pre-set, and for these target device types, the first terminal device 100 can actively distribute the target candidate results to the second terminal device 200 without user triggering.
- the first terminal device 100 does not need to display the target candidate results corresponding to the target device type in the form of controls on the search results page.
- the target device type is a speaker.
- the mobile phone 61 does not display the controls for the target candidate results of the speaker 64 on the search results page 611, but directly sends the target candidate results to the speaker 64, and can also instruct the speaker 64 to directly display the target candidate results without prompting the user whether to display the target candidate results.
- the first terminal device 100 can also display the target candidate results in the form of controls on the search results page, and actively distribute the target candidate results to the corresponding second terminal device 200.
- the mobile phone 61 not only displays controls 613 and 614 on the search results page 611, but also actively sends the corresponding target candidate results to the smart screen 62 and the ink screen 63, without the user clicking on controls 613 and 614.
- the second terminal device 200 can directly display the target candidate results, or display the target candidate results after confirmation by the user. Generally, if the first terminal device 100 instructs the second terminal device 200 to directly display the target candidate results, the second terminal device 200 directly displays the target candidate results; if the first terminal device 100 instructs the second terminal device 200 to display the prompt information first, the second terminal device 200 displays the prompt information first.
- the smart screen 62 can display the prompt window 621 after receiving the target candidate result sent by the mobile phone 61.
- the prompt window 621 is used to prompt the user whether to play the "XXX TV series" from the mobile phone. If the user selects the "Yes” option, the smart screen 62 plays the "XXX TV series”. If the user selects the "No” option, the smart screen 62 does not play the "XXX TV series”. drama”.
- the prompt window 631 can be displayed.
- the prompt window 631 is used to prompt the user whether to read the "XXX novel" from the mobile phone. If the user selects the "Yes” option, the ink screen 63 displays “XXX novel", and if the user selects the "No” option, the ink screen 63 does not display "XXX novel".
- the mobile phone 61 instructs the speaker 64 to display the prompt information first, and after receiving the target candidate results sent by the mobile phone 61, the speaker 64 can play the voice "song from the mobile phone, do you want to play it?" The user can input the voice "yes” and “no” to the speaker to confirm whether to play the song from the mobile phone.
- the confirmation method can be not only voice confirmation and button confirmation, but also facial gesture confirmation and physical button confirmation, which are not limited here.
- the first terminal device 100 displays the target candidate results of each second terminal device 200, it can display each target candidate result in a default order, or it can display each target candidate result according to the intent of the query input by the user.
- the intent of the query is identified, and the target candidate result corresponding to the strongest intent is ranked first.
- Other target candidate results can be sorted according to the strength of the intent, or they can be randomly sorted or sorted by default. For example, as shown in Figure 5, the query input by the user is "love sports", and it is identified that the strongest intent is TV series, then the searched "love sports" TV series will be ranked first.
- the mobile phone can send the web link address of the TV series "Love Sports" that was searched to the smart screen.
- the smart screen obtains the relevant information and video playback source of the TV series "Love Sports” from the corresponding web page according to the web link address, and displays the relevant information of the TV series "Love Sports".
- the search method may include the following steps:
- Step S701 The first terminal device 100 obtains a query input by a user.
- a user may enter “love sports” in the search box 812 of the mobile phone 81 .
- the query is “love sports”.
- Step S702 The first terminal device 100 sends a request to each second terminal device 200 to request to obtain information of each second terminal device 200 .
- the information of the second terminal device 200 may include only device information, and may include device information and device status information.
- the device status information is used in the subsequent target candidate result distribution process.
- the device information includes device type information, which may be carried in the search request.
- the mobile phone 81 is the first terminal device 100, and the smart screen 82, the ink screen 83, and the speaker 84 are all second terminal devices 200.
- the mobile phone 81 obtains the user input "love sports", it sends a request to the smart screen 82, the ink screen 83, and the speaker 84 to request the device type information and device status information of these devices.
- the smart screen 82, the ink screen 83, and the speaker 84 can respond to the request and return their own device type information and device status information to the mobile phone 81.
- Step S703 The second terminal device 200 returns information of the second terminal device 200 to the first terminal device 100 .
- step S702 and step S703 may be performed before step S701 or after step S701, which is not limited here.
- Step S704 The first terminal device 100 sends a search request to the cloud server.
- the search request carries a query and device type information of each second terminal device 200 , or may not carry the device type information of each second terminal device 200 .
- the mobile phone 81 obtains the query and the device type information of the smart screen 82 , the ink screen 83 and the speaker 84 , it sends a search request carrying the query and all device type information to the cloud server.
- Step S705 In response to the search request, the cloud server returns search results to the first terminal device 100.
- the search results include at least one candidate result and a natural ranking.
- the search aggregation of the cloud server can request a retrieval from the search engine and obtain a set of candidate results returned by the search engine; then, the search aggregation of the cloud server mixes the candidate results according to the natural sorting template to obtain search results, and the first terminal device 100 returns the search results.
- the search aggregation sorts the candidate results based on the device type information, the natural sorting template and the amount of information, obtains the sorted candidate results, and then obtains the search results.
- the search results include the candidate results and the natural sorting.
- the search aggregation sorts the candidate results according to the natural sorting template and the amount of information to obtain the search results.
- Step S706 The first terminal device 100 sends a candidate result set to each second terminal device 200 .
- Step S707 The second terminal device 200 scores each candidate result according to at least one of the device information and the user behavior data to obtain a scoring result, which includes a score for each candidate result.
- Step S708 The second terminal device 200 sends the scoring result to the first terminal device 100 .
- Step S709 The first terminal device 100 determines target candidate results for each second terminal device 200 according to the scoring results of each second terminal device 200 , and displays each target candidate result.
- the first terminal device 100 can display information of the target candidate result on the search result interface, and the information of the target candidate result includes the first information and the second information. For example, the first terminal device 100 displays the target candidate result with a control.
- Step S710 The first terminal device 100 distributes corresponding target candidate results to each second terminal device 200.
- the mobile phone 81 determines that the target candidate result of the smart screen 82 is the TV series "Love Sports”.
- the novel "Love Sports” has the highest score
- the mobile phone 81 determines that the target candidate result of the ink screen 83 is the novel "Love Sports”.
- the theme song of the TV series "Love Sports” has the highest score
- the mobile phone 81 determines the theme song "Love Sports” as the target candidate result of the speaker 84.
- the target candidate results of the smart screen 82 and the ink screen 83 are displayed on the search result page 811 in the form of controls, which are respectively controls 813 and 814.
- the remaining candidate results are also displayed on the search result page 811 according to the natural sorting, that is, in addition to controls 813 and 814, the search result page 811 of Figure 8 also displays candidate results such as the cast and the ratings of the sports lover.
- the mobile phone 81 does not display the target candidate result of the speaker 84 in the form of a control on the search result page 811 , but directly sends the “Love Sports” theme song to the speaker 84 to instruct the speaker 84 to play the “Love Sports” theme song.
- the mobile phone 81 can distribute the target candidate results after detecting the click operation on the control; or it can directly distribute the target candidate results.
- the mobile phone 81 sends the target candidate results to the smart screen 82 or the ink screen 83, it can be distributed according to the device status information of the smart screen 82 or the ink screen 83. If the smart screen 82 is currently in standby mode, the mobile phone 81 can send the "Love Sports" TV series to the smart screen 82 and instruct the smart screen 82 to directly display the "Love Sports" TV series.
- the smart screen 82 obtains the video source and related information of the "Love Sports” TV series from the background server through the Internet according to the information sent by the mobile phone 81, and displays the playback interface 821 based on the obtained video source and related information. If the smart screen 82 is in the viewing state, that is, the user is using the smart screen 82, the mobile phone 81 sends the "Love Sports" TV series to the smart screen 82, and instructs the smart screen 82 to display the prompt information first to prompt the user whether to play the "Love Sports" TV series. When the user agrees to play, the playback interface 821 is displayed.
- the mobile phone 81 sends the novel "Love Sports” to the ink screen 83, and instructs the ink screen 83 to directly display the novel "Love Sports".
- the ink screen 83 obtains the novel "Love Sports” through the Internet according to the information sent by the mobile phone 81, and displays the interface 831.
- the embodiment of the present application selects target candidate results suitable for the second terminal device 200 from the search results based on at least one of the device information and user behavior data of the second terminal device 200, and displays the target candidate results, as well as the corresponding relationship between the target candidate results and the second terminal device 200, so that the user can better obtain the candidate results suitable for the second terminal device 200 from a large number of search results.
- the embodiment of the present application also displays the target candidate results before the non-target candidate results, and displays each target candidate result in the form of a control, so that the user can not only better obtain the candidate results suitable for the second terminal device 200, but also allows the user to display the results searched by the first terminal device 100 to the second terminal device 200 in a coordinated manner through simple and convenient operations, which provides a better user experience.
- the search method may include the following steps:
- Step S901 The first terminal device 100 obtains a query input by a user.
- Step S902 The first terminal device 100 sends a request to each second terminal device 200 to request to obtain information of each second terminal device 200 .
- the information of the second terminal device 200 may include device information, user behavior data, and device status information.
- the device status information is used in the subsequent target candidate result distribution process.
- the user behavior data and device information may be used in the subsequent scoring process.
- the device information includes device type information, which may be carried in the search request.
- Step S903 The second terminal device 200 returns information of the second terminal device 200 to the first terminal device 100 .
- Step S904 The first terminal device 100 sends a search request to the cloud server.
- step S902 and step S903 may be before step S901 or after step S901, which is not limited here.
- Step S905 The cloud server returns search results to the first terminal device 100 in response to the search request.
- the search results include at least one candidate result and a natural ranking.
- Step S906 The first terminal device 100 scores each candidate result according to at least one of the device information and user behavior data of each second terminal device 200 , and obtains a scoring result of each second terminal device 200 .
- the candidate result set is sent to each second terminal device 200 .
- Step S907 The first terminal device 100 determines target candidate results for each second terminal device 200 according to the scoring results of each second terminal device 200 , and displays each target candidate result.
- Step S908 The first terminal device 100 distributes corresponding target candidate results to each second terminal device 200 .
- FIG7 the second terminal device 200 scores each candidate result
- FIG9 the first terminal device 100 scores each candidate result
- FIG9 the device information and user behavior data of the second terminal device 200 need to be synchronized to the first terminal device 100.
- FIG9 has the second terminal device 200 score the candidate results, which saves the computing resource overhead of the first terminal device 100.
- the search method may include the following steps:
- Step S1001 The first terminal device 100 obtains a query input by a user, and sends the query to each second terminal device 200.
- Step S1002 The first terminal device 100 sends a search request to the cloud server, and the second terminal device 200 sends a search request to the cloud server.
- Step S1003 The first terminal device 100 obtains the search results returned by the cloud server, and the second terminal device 200 obtains the search results returned by the cloud server.
- the query is "love sports" entered by the user through the search box.
- the first terminal device 100 obtains "love sports”, it sends a search request carrying the query to the cloud server.
- the cloud server returns the search results to the first terminal device 100, and the search results include at least one candidate result and a natural ranking.
- the first terminal device 100 also distributes the query "love sports" to each second terminal device 200.
- the second terminal device 200 also sends a search request carrying the query to the cloud server.
- the cloud server responds to the search request of each second terminal device 200 and returns the corresponding search results to each second terminal device 200.
- the first terminal device 100 and the second terminal device 200 both send search requests to the cloud server, and both can receive search results returned by the cloud server in response to the search requests.
- search results of the first terminal device 100 and the search results of the second terminal device 200 may be different, and the search results of each second terminal device 200 may also be different.
- the search results include at least one candidate result and a natural ranking.
- Step S1004 The second terminal device 200 scores each candidate result in the search results according to at least one of its own device information and user behavior data, obtains a scoring result, and returns the scoring result to the first terminal device 100 .
- Step S1005 The second terminal device 200 determines target candidate results according to the scoring results and displays the target candidate results.
- the second terminal device 200 can reorder each candidate result according to the score of each candidate result in the scoring result, and determine the candidate result with the highest score as the target candidate result.
- the target candidate result is directly displayed. For example, after the smart screen obtains the search results returned by the cloud server, it scores according to the device information and user behavior data to obtain the scoring results, and determines that the "Love Sports" TV series is the target candidate result based on the scoring results, then the "Love Sports" TV series can be displayed.
- the second terminal device 200 may also directly return the determined target candidate result to the first terminal device 100 .
- Step S1006 The first terminal device 100 displays target candidate results for each second terminal device 200 according to the scoring results of each second terminal device 200 .
- the first terminal device 100 displays each target candidate result in the form of a control according to the target candidate results of each second terminal device 200.
- the mobile phone 81 displays controls 813 and 814 on the search results page according to the scoring results or target candidate results returned by the smart screen 82 and the ink screen 83.
- the mobile phone 81 also displays the remaining candidate results according to the search results returned by the cloud server and each target candidate result. Specifically, after removing the target candidate result from the search results, the remaining candidate results in the search results can be displayed in natural order.
- the first terminal device 100 in this embodiment does not distribute the target candidate results to each second terminal device 200, but distributes the query input by the user to each second terminal device 200, and each second terminal device 200 sends a search request to the cloud server according to the query, and after determining the target candidate results based on the search results returned by the cloud server, directly displays the target candidate results.
- the search method may include the following steps:
- Step S1101 The first terminal device 100 obtains search information.
- Step S1102 The first terminal device 100 sends a search request to the cloud server, where the search request includes search information.
- the search request may also include device type information of each second terminal device 200.
- the device type information is used for aggregate sorting.
- Step S1103 The first terminal device 100 receives search results from the cloud server.
- the search results are results returned by the cloud server in response to the search request.
- the search results include at least one candidate result.
- Step S1104 the first terminal device 100 displays information about at least one target candidate result, the information about the target candidate result includes first information and second information, the first information is used to describe the target candidate result, and the second information is used to describe the second terminal device corresponding to the target candidate result, and the target candidate result is a candidate result filtered out from the search results based on the information of the second terminal device.
- the information of the second terminal device 200 may include device information, or may include device information and user behavior data.
- the device information may include at least one of device type information and device parameter information.
- the first terminal device 100 may display information of each target candidate result on the search result page.
- the first terminal device 100 may simply map the candidate results and the device types of each second terminal device 200 to determine the target candidate results of each second terminal device 200 .
- the target candidate result may be determined according to the scoring results of each second terminal device 200 .
- the first terminal device 100 can send the candidate result set to each second terminal device 200, and the second terminal device 200 scores each candidate result according to at least one of its own device information and user behavior data to obtain a scoring result.
- the first terminal device 100 obtains at least one of the device information and user behavior data of each second terminal device 200, and scores each candidate result according to at least one of the device information and user behavior data of each second terminal device 200 to obtain a scoring result.
- the first terminal device 100 After the first terminal device 100 obtains the scoring results, it can determine the candidate result with the highest score in the scoring results as the target candidate result, or it can determine the candidate result with a score greater than a preset threshold in the scoring results as the target candidate result.
- the first terminal device 100 may display controls for each target candidate result according to the target candidate results of each second terminal device; wherein the control includes the first information and/or the second information.
- the control 813 displays “Love sports TV series, watch on the smart screen”. Among them, “Love sports TV series” is the first information, and “smart screen” is the second information.
- the first terminal device 100 can also display the remaining candidate results.
- each candidate result in the remaining candidate result set can be displayed according to the sorting in the search results (i.e., natural sorting).
- the remaining candidate result set includes the candidate results remaining after removing the target candidate result from the candidate result set.
- the display position of the target candidate results is before the display position of the remaining candidate results in the search result page.
- the first terminal device 100 may also send the corresponding target candidate results to the second terminal device to instruct the second terminal device to display the target candidate results.
- the first terminal device 100 displays each target candidate result in the form of a control
- the first terminal device 100 upon detecting an operation on the control, the first terminal device 100 sends the corresponding target candidate result to the second terminal device corresponding to the control in response to the operation.
- the first terminal device 100 may also actively distribute various target candidate results without being triggered by the user.
- the first terminal device 100 may also distribute them according to the device status information of each second terminal device 200. Specifically, the first terminal device 100 may determine the current state of the second terminal device according to the device status information; if the current state is the first state, the corresponding target candidate result and first indication information are sent to the second terminal device, and the first indication information is used to instruct the second terminal device to directly display the target candidate result; if the current state is the second state, the corresponding target candidate result and second indication information are sent to the second terminal device, and the second indication information is used to instruct the second terminal device to display prompt information, and the prompt information is used to prompt whether to display the target candidate result.
- the terminal device 1200 may include, but is not limited to, a processor 1210 , a memory 1220 , a communication module 1230 , and an antenna.
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 1200.
- the terminal device 1200 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently.
- the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
- the terminal device 1200 may also include an audio module, a speaker, and a display screen.
- the terminal device 1200 also includes at least one of the following: a universal serial bus (USB) interface, a charging management module, a power management module, a battery, an audio module, a speaker, a receiver, a microphone, an earphone interface, a sensor module, a button, a motor, an indicator, a camera, a display screen, and a subscriber identification module (SIM) card interface.
- the sensor module may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
- Processor 1210 may include one or more processing units.
- processor 1210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
- AP application processor
- GPU graphics processor
- ISP image signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals.
- the controller can generate operation control signals based on instruction opcodes and timing signals to complete the control of instruction fetching and execution.
- the memory 1220 may be used to store computer executable program codes, which include instructions.
- the memory 1220 may include a program storage area and a data storage area.
- the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
- the data storage area may store data (such as audio data, etc.) created during the use of the terminal device 1200, etc.
- the memory 1220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
- the processor 1210 executes various functional applications and data processing of the terminal device 1200 by running instructions stored in the memory 1220 and/or instructions stored in a memory provided in the processor.
- the communication module 1230 may include a mobile communication module and/or a wireless communication module.
- the communication function of the terminal device 1200 can be implemented through an antenna, a mobile communication module, a wireless communication module, a modem processor, a baseband processor, etc.
- the antenna is used to transmit and receive electromagnetic wave signals.
- the mobile communication module can provide solutions for wireless communications including 2G/3G/4G/5G applied to the terminal device 1200.
- the mobile communication module may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
- the mobile communication module can receive electromagnetic waves from the antenna, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
- the mobile communication module can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna.
- at least some of the functional modules of the mobile communication module may be arranged in the processor 1210.
- at least some of the functional modules of the mobile communication module may be arranged in the same device as at least some of the modules of the processor 1210.
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
- the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the baseband processor After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
- the application processor outputs the sound signal through an audio device (not limited to a speaker, etc.).
- the wireless communication module can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 1200.
- WLAN wireless local area networks
- BT wireless fidelity
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication
- IR infrared
- the wireless communication module can be one or more devices integrating at least one communication processing module.
- the wireless communication module receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 1210.
- the wireless communication module can also receive the signal to be sent from the processor 1210, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
- the terminal device 1200 may be the first terminal device 100 or the second terminal device 200 .
- the terminal device provided in the embodiment of the present application may include a memory, a processor, and a computer program stored in the memory and executable on the processor.
- the processor executes the computer program, a method as described in any one of the above method embodiments is implemented.
- the embodiment of the present application further provides a computer-readable storage medium, which stores a computer program.
- a computer program When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
- An embodiment of the present application provides a computer program product.
- the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
- the present application also provides a chip system, which includes a processor coupled to a memory, and the processor executes a computer program stored in the memory to implement the methods described in the above method embodiments.
- the chip system can be a single chip or a chip module composed of multiple chips.
- each embodiment has its own emphasis. For the part that is not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments. It should be understood that the size of the sequence number of each step in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in the description of the present application specification and the attached claims, the terms "first”, “second”, “third”, etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Disclosed in embodiments of the present application are a search system and method, a terminal device, and a computer readable storage medium. After a search request comprising search information is sent to a cloud server by means of a first terminal device, a search result comprising at least one candidate result from the cloud server is received, and information of at least one target candidate result is displayed, the information of the target candidate result comprising first information and second information, the first information being used for describing the target candidate result, the second information being used for describing a second terminal device corresponding to the target candidate result, and the target candidate result being a candidate result obtained from search results by screening according to the information of the second terminal device. According to the embodiments of the present application, when the target candidate result obtained by screening according to the information of the second terminal device is displayed, the second terminal device corresponding to each target candidate result is displayed by means of the first information and the second information, so that a user can better acquire the candidate result suitable for the second terminal device, and the user experience is better.
Description
本申请要求于2022年10月24日提交国家知识产权局、申请号为202211303981.8、申请名称为“搜索系统、方法、终端设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on October 24, 2022, with application number 202211303981.8 and application name “Search system, method, terminal device and computer-readable storage medium”, the entire contents of which are incorporated by reference in this application.
本申请涉及终端技术领域,尤其涉及一种搜索系统、方法、终端设备和计算机可读存储介质。The present application relates to the field of terminal technology, and in particular to a search system, method, terminal device and computer-readable storage medium.
随着信息技术的不断发展,以及智能终端设备的广泛应用,通过搜索引擎获取信息的方式也越来越普遍。With the continuous development of information technology and the widespread application of smart terminal devices, obtaining information through search engines is becoming more and more common.
目前,用户通过搜索引擎获取信息时,首先需要在终端设备的搜索框内输入搜索关键词,然后终端设备根据用户输入的搜索关键词,向云端发送搜索请求,并接收云端针对该搜索请求返回的自然排序的搜索结果,最后在搜索结果页面按照自然排序展示该搜索结果。但是,这种方式会导致用户不能很好地从搜索结果中获取自己所需要的信息,用户体验不佳。Currently, when users obtain information through search engines, they first need to enter the search keyword in the search box of the terminal device. Then the terminal device sends a search request to the cloud based on the search keyword entered by the user, and receives the naturally sorted search results returned by the cloud for the search request. Finally, the search results are displayed on the search results page in the naturally sorted order. However, this method will result in users not being able to obtain the information they need from the search results well, and the user experience is poor.
发明内容Summary of the invention
本申请实施例提供了一种搜索系统、方法、终端设备和计算机可读存储介质,可以解决现有搜索方式中用户不能很好地从搜索结果中获取所需要的信息的问题。The embodiments of the present application provide a search system, method, terminal device and computer-readable storage medium, which can solve the problem that users cannot well obtain the required information from the search results in the existing search methods.
第一方面,本申请实施例提供一种搜索方法,应用于第一终端设备,该方法包括:获取搜索信息;向云端服务器发送搜索请求,该搜索请求包括搜索信息;接收来自云端服务器的搜索结果,该搜索结果是云端服务器响应于搜索请求返回的结果,搜索结果包括至少一个候选结果;展示至少一个目标候选结果的信息,目标候选结果的信息包括第一信息和第二信息,第一信息用于描述目标候选结果,第二信息用于描述目标候选结果对应的第二终端设备,目标候选结果为根据第二终端设备的信息从搜索结果中筛选出的候选结果。In a first aspect, an embodiment of the present application provides a search method, which is applied to a first terminal device, and the method includes: obtaining search information; sending a search request to a cloud server, the search request including search information; receiving search results from the cloud server, the search results are the results returned by the cloud server in response to the search request, and the search results include at least one candidate result; displaying information of at least one target candidate result, the information of the target candidate result includes first information and second information, the first information is used to describe the target candidate result, and the second information is used to describe the second terminal device corresponding to the target candidate result, and the target candidate result is a candidate result screened from the search results based on the information of the second terminal device.
由上可见,本申请实施例在展示根据第二终端设备的信息筛选出的目标候选结果时,通过第一信息和第二信息展示了各个目标候选结果对应的第二终端设备,即展示了第二终端设备和目标候选结果之间的对应关系,这样用户可以更好地获取适合各个第二终端设备的候选结果,用户体验更佳。As can be seen from the above, when displaying the target candidate results filtered out based on the information of the second terminal device, the embodiment of the present application displays the second terminal device corresponding to each target candidate result through the first information and the second information, that is, the correspondence between the second terminal device and the target candidate results is displayed, so that the user can better obtain the candidate results suitable for each second terminal device, and the user experience is better.
在第一方面的一些可能的实现方式中,展示至少一个目标候选结果的信息,包括:确定至少一个第二终端设备的目标候选结果;在搜索结果页面显示各个目标候选结果的信息。In some possible implementations of the first aspect, displaying information of at least one target candidate result includes: determining a target candidate result of at least one second terminal device; and displaying information of each target candidate result on a search results page.
在第一方面的一些可能的实现方式中,确定至少一个第二终端设备的目标候选结果,包括:获取各个第二终端设备的评分结果,评分结果为根据第二终端设备的信息对各个候选结果进行打分获得的结果;根据各个第二终端设备的评分结果,确定各个第二终端设备的目标候选结果。In some possible implementations of the first aspect, determining a target candidate result for at least one second terminal device includes: obtaining a scoring result for each second terminal device, the scoring result being a result obtained by scoring each candidate result based on information of the second terminal device; and determining a target candidate result for each second terminal device based on the scoring result of each second terminal device.
在该实现方式中,根据第二终端设备的信息对各个候选结果进行打分,并通过评分高低表征各个候选结果与第二终端设备之间的匹配程度高低,进而准确地筛选出适合各个第二终端设备的目标候选结果。In this implementation, each candidate result is scored according to the information of the second terminal device, and the score is used to represent the degree of match between each candidate result and the second terminal device, thereby accurately screening out target candidate results suitable for each second terminal device.
在第一方面的一些可能的实现方式中,获取各个第二终端设备的评分结果,包括:In some possible implementations of the first aspect, obtaining a scoring result of each second terminal device includes:
向各个第二终端设备发送候选结果集合,候选结果集合包括候选结果;接收来自各个第二终端设备的评分结果,评分结果为第二终端设备根据设备信息和用户行为数据中的至少一种对各个候选结果进行打分获得的结果;其中,第二终端设备的信息包括设备信息和用户行为数据中的至少一种。Sending a candidate result set to each second terminal device, the candidate result set including the candidate results; receiving a scoring result from each second terminal device, the scoring result being a result obtained by the second terminal device scoring each candidate result based on at least one of device information and user behavior data; wherein the information of the second terminal device includes at least one of device information and user behavior data.
在该实现方式中,由第二终端设备根据自身的设备信息和用户行为数据中的至少一种对各个候选结果进行打分,可以充分利用各个第二终端设备的计算资源,节省了第一终端设备的计算资源开销。并且,根据设备信息和用户行为数据对各个候选结果进行打分,可以使得筛选出的目标候选结果更适合用户使用习惯,在存在多个类型相同的第二终端设备,仍然可以筛选出适合第二终端设备的目标候选结果。In this implementation, the second terminal device scores each candidate result based on at least one of its own device information and user behavior data, which can fully utilize the computing resources of each second terminal device and save the computing resource overhead of the first terminal device. In addition, scoring each candidate result based on device information and user behavior data can make the screened target candidate results more suitable for user usage habits. When there are multiple second terminal devices of the same type, target candidate results suitable for the second terminal device can still be screened.
在第一方面的一些可能的实现方式中,该方法还可以包括:接收来自各个第二终端设备的信息,
第二终端设备的信息包括设备信息和用户行为数据中的至少一种。In some possible implementations of the first aspect, the method may further include: receiving information from each second terminal device, The information of the second terminal device includes at least one of device information and user behavior data.
获取各个第二终端设备的评分结果,包括:针对各个第二终端设备,根据设备信息和用户行为数据中的至少一种对各个候选结果进行打分,获得第二终端设备的评分结果。Obtaining the scoring result of each second terminal device includes: for each second terminal device, scoring each candidate result according to at least one of device information and user behavior data to obtain the scoring result of the second terminal device.
在第一方面的一些可能的实现方式中,根据设备信息和用户行为数据对各个候选结果进行打分,获得第二终端设备的评分结果,包括:将设备信息、用户行为数据和所有候选结果输入至预先训练完成的打分模型,获得打分模型输出的评分结果,评分结果包括各个候选结果的评分。In some possible implementations of the first aspect, each candidate result is scored according to device information and user behavior data to obtain a scoring result for a second terminal device, including: inputting the device information, user behavior data and all candidate results into a pre-trained scoring model to obtain a scoring result output by the scoring model, wherein the scoring result includes a score for each candidate result.
在第一方面的一些可能的实现方式中,设备信息包括设备类型信息,或者设备类型信息和设备参数信息。In some possible implementations of the first aspect, the device information includes device type information, or device type information and device parameter information.
在第一方面的一些可能的实现方式中,评分结果包括各个候选结果的评分,目标候选结果包括评分最大的候选结果,或评分大于预设阈值的候选结果。In some possible implementations of the first aspect, the scoring result includes scores of each candidate result, and the target candidate result includes a candidate result with a maximum score, or a candidate result with a score greater than a preset threshold.
在第一方面的一些可能的实现方式中,在搜索结果页面显示各个目标候选结果的信息,包括:在搜索结果页面显示各个目标候选结果的控件;其中,控件包括第一信息和第二信息。In some possible implementations of the first aspect, displaying information of each target candidate result on a search results page includes: displaying a control for each target candidate result on the search results page; wherein the control includes first information and second information.
在该实现方式中,以控件形式展示各个目标候选结果的信息,不仅使得用户更好地获取到适合各个第二终端设备的候选结果,还使得用户可以更便捷地将各个目标候选结果协同展示至各个对应的第二终端设备。In this implementation, the information of each target candidate result is displayed in the form of a control, which not only allows the user to better obtain the candidate results suitable for each second terminal device, but also allows the user to more conveniently display each target candidate result in a coordinated manner to each corresponding second terminal device.
在第一方面的一些可能的实现方式中,搜索结果包括候选结果的排序;该方法还包括:根据排序展示剩余候选结果集合中的各个候选结果;其中,剩余候选结果集合包括从候选结果集合中去除目标候选结果后剩余的候选结果;目标候选结果和剩余的候选结果显示在同一搜索结果页面,在搜索结果页面中,目标候选结果的显示位置在剩余的候选结果的显示位置之前。In some possible implementations of the first aspect, the search results include a ranking of candidate results; the method also includes: displaying each candidate result in the remaining candidate result set according to the ranking; wherein the remaining candidate result set includes the candidate results remaining after removing the target candidate result from the candidate result set; the target candidate result and the remaining candidate results are displayed on the same search results page, and in the search results page, the display position of the target candidate result is before the display position of the remaining candidate results.
在该实现方式中,不仅展示目标候选结果,还展示剩余的候选结果,并且在搜索结果页面中目标候选结果显示位置更靠前,这样用户可以更好地获取到适合第二终端设备的目标候选结果。In this implementation, not only the target candidate results but also the remaining candidate results are displayed, and the target candidate results are displayed at a front position in the search results page, so that the user can better obtain the target candidate results suitable for the second terminal device.
在第一方面的一些可能的实现方式中,该方法还包括:向第二终端设备发送对应的目标候选结果,以指示第二终端设备展示目标候选结果。In some possible implementations of the first aspect, the method further includes: sending the corresponding target candidate result to the second terminal device to instruct the second terminal device to display the target candidate result.
在第一方面的一些可能的实现方式中,向第二终端设备发送对应的目标候选结果,包括:若检测到针对控件的操作,则响应于操作,向控件对应的第二终端设备发送对应的目标候选结果。在该实现方式中,用户可以通过控件将适合第二终端设备的目标候选结果协同至第二终端设备,减少用户操作,协同方式更加便捷,用户体验更佳。In some possible implementations of the first aspect, sending the corresponding target candidate result to the second terminal device includes: if an operation on the control is detected, in response to the operation, sending the corresponding target candidate result to the second terminal device corresponding to the control. In this implementation, the user can coordinate the target candidate result suitable for the second terminal device to the second terminal device through the control, reducing user operations, making the coordination method more convenient, and providing a better user experience.
在第一方面的一些可能的实现方式中,该方法还包括:获取各个第二终端设备的设备状态信息;向第二终端设备发送对应的目标候选结果,还包括:根据设备状态信息,确定第二终端设备的当前状态;若当前状态为第一状态,则向第二终端设备发送对应的目标候选结果和第一指示信息,第一指示信息用于指示第二终端设备直接展示目标候选结果;若当前状态为第二状态,则向第二终端设备发送对应的目标候选结果和第二指示信息,第二指示信息用于指示第二终端设备展示提示信息,提示信息用于提示是否展示目标候选结果。在该实现方式中,在向第二终端设备分发目标候选结果时,还可以考虑第二终端设备的设备状态,在设备状态符合时,才指示向第二终端设备直接协同展示目标候选结果,减少用户操作,提高用户体验。In some possible implementations of the first aspect, the method further includes: obtaining device status information of each second terminal device; sending the corresponding target candidate result to the second terminal device, and further includes: determining the current state of the second terminal device according to the device status information; if the current state is the first state, sending the corresponding target candidate result and first indication information to the second terminal device, the first indication information is used to instruct the second terminal device to directly display the target candidate result; if the current state is the second state, sending the corresponding target candidate result and second indication information to the second terminal device, the second indication information is used to instruct the second terminal device to display prompt information, and the prompt information is used to prompt whether to display the target candidate result. In this implementation, when distributing the target candidate result to the second terminal device, the device status of the second terminal device can also be considered. Only when the device status meets the requirements, the target candidate result is directly and collaboratively displayed to the second terminal device, thereby reducing user operations and improving user experience.
在第一方面的一些可能的实现方式中,该方法还包括:接收来自各个第二终端设备的设备类型信息;搜索请求还包括各个第二终端设备的设备类型信息。在该实现方式中,在搜索请求中携带设备类型信息,使得云端服务器在搜索排序时考虑第二终端设备的设备类型信息。In some possible implementations of the first aspect, the method further includes: receiving device type information from each second terminal device; and the search request further includes the device type information of each second terminal device. In this implementation, the device type information is carried in the search request, so that the cloud server considers the device type information of the second terminal device when searching and sorting.
第二方面,本申请实施例提供一种搜索系统,包括第一终端设备和至少一个第二终端设备:In a second aspect, an embodiment of the present application provides a search system, including a first terminal device and at least one second terminal device:
第一终端设备用于:获取搜索信息;向云端服务器发送搜索请求,搜索请求包括搜索信息;接收来自云端服务器的搜索结果,搜索结果是云端服务器响应于搜索请求返回的结果,搜索结果包括至少一个候选结果;展示至少一个目标候选结果的信息,目标候选结果的信息包括第一信息和第二信息,第一信息用于描述目标候选结果,第二信息用于描述目标候选结果对应的第二终端设备,目标候选结果为根据第二终端设备的信息从搜索结果中筛选出的候选结果。The first terminal device is used to: obtain search information; send a search request to a cloud server, the search request includes search information; receive search results from the cloud server, the search results are the results returned by the cloud server in response to the search request, and the search results include at least one candidate result; display information about at least one target candidate result, the information about the target candidate result includes first information and second information, the first information is used to describe the target candidate result, and the second information is used to describe the second terminal device corresponding to the target candidate result, the target candidate result is a candidate result screened from the search results based on the information of the second terminal device.
在第二方面的一些可能的实现方式中,第一终端设备具体用于:获取各个第二终端设备的评分结果,评分结果为根据第二终端设备的信息对各个候选结果进行打分获得的结果;根据各个第二终端设备的评分结果,确定各个第二终端设备的目标候选结果。
In some possible implementations of the second aspect, the first terminal device is specifically used to: obtain scoring results of each second terminal device, where the scoring results are obtained by scoring each candidate result based on information of the second terminal device; and determine the target candidate results of each second terminal device based on the scoring results of each second terminal device.
在第二方面的一些可能的实现方式中,第一终端设备具体用于:向各个第二终端设备发送候选结果集合,候选结果集合包括候选结果;In some possible implementations of the second aspect, the first terminal device is specifically configured to: send a candidate result set to each second terminal device, where the candidate result set includes the candidate result;
第二终端设备具体用于:根据设备信息和用户行为数据中的至少一种,对各个候选结果进行打分,获得评分结果;向第一终端设备发送评分结果,其中,第二终端设备的信息包括设备信息和用户行为数据中的至少一种;The second terminal device is specifically used to: score each candidate result according to at least one of the device information and the user behavior data to obtain a scoring result; send the scoring result to the first terminal device, wherein the information of the second terminal device includes at least one of the device information and the user behavior data;
第一终端设备具体用于:接收来自各个第二终端设备的评分结果。The first terminal device is specifically used to receive the scoring results from each second terminal device.
在第二方面的一些可能的实现方式中,第一终端设备还用于:接收来自各个第二终端设备的信息,第二终端设备的信息包括设备信息和用户行为数据中的至少一种;In some possible implementations of the second aspect, the first terminal device is further used to: receive information from each second terminal device, where the information of the second terminal device includes at least one of device information and user behavior data;
第一终端设备具体用于:针对各个第二终端设备,根据设备信息和用户行为数据中的至少一种对各个候选结果进行打分,获得第二终端设备的评分结果。The first terminal device is specifically used for: for each second terminal device, scoring each candidate result according to at least one of the device information and the user behavior data, and obtaining the scoring result of the second terminal device.
在第二方面的一些可能的实现方式中,第一终端设备或第二终端设备具体用于:将设备信息、用户行为数据和所有候选结果输入至预先训练完成的打分模型,获得打分模型输出的评分结果,评分结果包括各个候选结果的评分。In some possible implementations of the second aspect, the first terminal device or the second terminal device is specifically used to: input device information, user behavior data and all candidate results into a pre-trained scoring model to obtain a scoring result output by the scoring model, wherein the scoring result includes a score for each candidate result.
在第二方面的一些可能的实现方式中,评分结果包括各个候选结果的评分,目标候选结果包括评分最大的候选结果,或评分大于预设阈值的候选结果。In some possible implementations of the second aspect, the scoring result includes scores of each candidate result, and the target candidate result includes a candidate result with a maximum score, or a candidate result with a score greater than a preset threshold.
在第二方面的一些可能的实现方式中,第一终端设备具体用于:在搜索结果页面显示各个目标候选结果的控件;其中,控件包括第一信息和第二信息。In some possible implementations of the second aspect, the first terminal device is specifically used to: display a control for each target candidate result on a search result page; wherein the control includes the first information and the second information.
在第二方面的一些可能的实现方式中,搜索结果包括候选结果的排序;第一终端设备还用于:根据排序展示剩余候选结果集合中的各个候选结果;In some possible implementations of the second aspect, the search results include a ranking of the candidate results; and the first terminal device is further configured to: display each candidate result in the remaining candidate result set according to the ranking;
其中,剩余候选结果集合包括从候选结果集合中去除目标候选结果后剩余的候选结果;目标候选结果和剩余的候选结果显示在同一搜索结果页面,在搜索结果页面中,目标候选结果的显示位置在剩余的候选结果的显示位置之前。The remaining candidate result set includes the candidate results remaining after removing the target candidate result from the candidate result set; the target candidate result and the remaining candidate results are displayed on the same search result page, and in the search result page, the display position of the target candidate result is before the display position of the remaining candidate results.
在第二方面的一些可能的实现方式中,第一终端设备还用于:向第二终端设备发送对应的目标候选结果;In some possible implementations of the second aspect, the first terminal device is further used to: send the corresponding target candidate result to the second terminal device;
第二终端设备还用于:接收目标候选结果,并展示目标候选结果。The second terminal device is also used to: receive target candidate results and display the target candidate results.
在第二方面的一些可能的实现方式中,第一终端设备具体用于:若检测到针对控件的操作,则响应于操作,向控件对应的第二终端设备发送对应的目标候选结果。In some possible implementations of the second aspect, the first terminal device is specifically configured to: if an operation on a control is detected, then in response to the operation, send a corresponding target candidate result to a second terminal device corresponding to the control.
在第二方面的一些可能的实现方式中,第一终端设备还用于:获取各个第二终端设备的设备状态信息;根据设备状态信息,确定第二终端设备的当前状态;若当前状态为第一状态,则向第二终端设备发送对应的目标候选结果和第一指示信息,第一指示信息用于指示第二终端设备直接展示目标候选结果;若当前状态为第二状态,则向第二终端设备发送对应的目标候选结果和第二指示信息,第二指示信息用于指示第二终端设备展示提示信息,提示信息用于提示是否展示目标候选结果。In some possible implementations of the second aspect, the first terminal device is also used to: obtain device status information of each second terminal device; determine the current state of the second terminal device based on the device status information; if the current state is the first state, send the corresponding target candidate result and first indication information to the second terminal device, the first indication information is used to instruct the second terminal device to directly display the target candidate result; if the current state is the second state, send the corresponding target candidate result and second indication information to the second terminal device, the second indication information is used to instruct the second terminal device to display prompt information, and the prompt information is used to prompt whether to display the target candidate result.
第三方面,本申请实施例提供一种终端设备,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现如上述第一方面任一项所述的方法。In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in any one of the first aspects above is implemented.
第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现如上述第一方面任一项的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of any one of the above-mentioned first aspects is implemented.
第五方面,本申请实施例提供一种芯片系统,该芯片系统包括处理器,处理器与存储器耦合,处理器执行存储器中存储的计算机程序,以实现如上述第一方面任一项所述的方法。该芯片系统可以为单个芯片,或者多个芯片组成的芯片模组。In a fifth aspect, an embodiment of the present application provides a chip system, the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement any method as described in any one of the first aspects above. The chip system can be a single chip, or a chip module composed of multiple chips.
第六方面,本申请实施例提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the method described in the first aspect above.
可以理解的是,上述第二方面至第六方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
图1为本申请实施例提供的手机和智慧屏协同场景示意图;FIG1 is a schematic diagram of a collaborative scenario of a mobile phone and a smart screen provided in an embodiment of the present application;
图2为本申请实施例提供的搜索系统的一种示意框图;FIG2 is a schematic block diagram of a search system provided in an embodiment of the present application;
图3为本申请实施例提供的打分过程示意图;
FIG3 is a schematic diagram of a scoring process provided in an embodiment of the present application;
图4A为本申请实施例提供的候选结果展示示意图;FIG4A is a schematic diagram showing candidate results provided in an embodiment of the present application;
图4B为本申请实施例提供的候选结果展示示意图;FIG4B is a schematic diagram showing candidate results provided in an embodiment of the present application;
图5为本申请实施例提供的候选结果展示示意图;FIG5 is a schematic diagram showing candidate results provided in an embodiment of the present application;
图6A为本申请实施例提供的多终端协同示意图;FIG6A is a schematic diagram of multi-terminal collaboration provided in an embodiment of the present application;
图6B为本申请实施例提供的多终端协同示意图;FIG6B is a schematic diagram of multi-terminal collaboration provided in an embodiment of the present application;
图7为本申请实施例提供的搜索方法的一种交互流程示意图;FIG. 7 is a schematic diagram of an interactive process of a search method provided in an embodiment of the present application;
图8为本申请实施例提供的多终端设备协同示意图;FIG8 is a schematic diagram of multi-terminal device collaboration provided in an embodiment of the present application;
图9为本申请实施例提供的搜索方法的一种交互流程示意图;FIG9 is a schematic diagram of an interactive process of a search method provided in an embodiment of the present application;
图10为本申请实施例提供的搜索方法的一种流程示意图;FIG10 is a schematic diagram of a flow chart of a search method provided in an embodiment of the present application;
图11为本申请实施例提供的搜索方法的一种流程示意图;FIG11 is a schematic diagram of a flow chart of a search method provided in an embodiment of the present application;
图12为本申请实施例提供的终端设备1200的结构示意框图。FIG. 12 is a schematic block diagram of the structure of a terminal device 1200 provided in an embodiment of the present application.
随着终端设备类型越来越丰富,用户群体越来越多元化,用户所拥有终端设备的数量和类型也越来越多。通常情况下,一个用户通常拥有多种不同类型的终端设备。例如,一个用户拥有手机、平板、智能穿戴设备以及智慧屏等多种不同类型的终端设备。As the types of terminal devices become more and more abundant and the user groups become more and more diversified, the number and types of terminal devices owned by users are also increasing. Usually, a user usually owns multiple different types of terminal devices. For example, a user owns multiple different types of terminal devices such as mobile phones, tablets, smart wearable devices, and smart screens.
在多终端协同场景下,用户可以通过投屏将终端设备的搜索结果展示在另一个终端设备上。In a multi-terminal collaboration scenario, users can display the search results of a terminal device on another terminal device through screen projection.
示例性地,参见图1示出的手机和智慧屏协同场景示意图,用户点击主界面111中的浏览器112后,手机11响应于该点击操作,显示浏览器界面;用户在浏览器界面的搜索框113输入搜索关键词“热爱运动”,再通过回车按钮或搜索按钮等触发手机11进行搜索后,手机11向云端服务器13发送搜索请求,该搜索请求携带有搜索关键词“热爱运动”;云端服务器13响应于来自手机11的搜索请求,获得搜索结果,并将该搜索结果返回给手机11,该搜索结果包括多个候选结果和自然排序。手机11接收来自云端服务器13的搜索结果,并按照自然排序将多个候选结果展示在搜索结果页面114。如图1所示,搜索结果页面114中展示有“热爱运动”电视剧和“热爱运动收视率如何”新闻等候选结果。Exemplarily, referring to the schematic diagram of the collaborative scene of the mobile phone and the smart screen shown in FIG1, after the user clicks the browser 112 in the main interface 111, the mobile phone 11 responds to the click operation and displays the browser interface; the user enters the search keyword "love sports" in the search box 113 of the browser interface, and then triggers the mobile phone 11 to search by pressing the enter button or the search button, etc., and the mobile phone 11 sends a search request to the cloud server 13, and the search request carries the search keyword "love sports"; the cloud server 13 responds to the search request from the mobile phone 11, obtains the search results, and returns the search results to the mobile phone 11, and the search results include multiple candidate results and natural sorting. The mobile phone 11 receives the search results from the cloud server 13, and displays the multiple candidate results on the search results page 114 according to the natural sorting. As shown in FIG1, the search results page 114 displays candidate results such as the "Love Sports" TV series and the "Love Sports Ratings" news.
用户可以从搜索结果页面114中寻找到“热爱运动”的电视剧的候选结果,并在手机11上打开该电视剧后,再通过短距通信方式投屏至智慧屏12。短距通信方式包括但不限于蓝牙、无线保真(Wireless Fidelity,Wi-Fi)和近场通信(Near Field Communication,NFC)等。智慧屏12根据来自手机11的投屏数据流,显示投屏界面121。这样,用户即可将手机11的搜索结果展示在智慧屏12上。The user can find the candidate results of the TV series "Loving Sports" from the search results page 114, open the TV series on the mobile phone 11, and then project the screen to the smart screen 12 through short-range communication. Short-range communication methods include but are not limited to Bluetooth, Wireless Fidelity (Wi-Fi) and Near Field Communication (NFC). The smart screen 12 displays the projection interface 121 according to the projection data stream from the mobile phone 11. In this way, the user can display the search results of the mobile phone 11 on the smart screen 12.
但是在上述方案中,终端设备在展示搜索结果时,只是按自然排序展示各个候选结果,没有考虑各个候选结果与终端设备的匹配程度,这样可能导致用户所需要的候选结果排在后面,在搜索结果页面没有展示候选结果和终端设备的对应关系,进而使得用户不能很好地从搜索结果中获得适合终端设备的候选结果,用户体验不佳。However, in the above scheme, when the terminal device displays the search results, it only displays the candidate results in natural order, without considering the matching degree between each candidate result and the terminal device. This may cause the candidate results required by the user to be ranked at the back, and the correspondence between the candidate results and the terminal device is not displayed on the search results page, which makes it impossible for the user to obtain the candidate results suitable for the terminal device from the search results, resulting in a poor user experience.
针对上文提及的用户不能很好地获得适合终端设备的候选结果,用户体验不佳的问题,本申请实施例提供的技术方案通过根据终端设备的信息,从搜索结果中筛选出适合终端设备的目标候选结果,并展示适合终端设备的目标候选结果,使得用户可以根据展示的各个终端设备的目标候选结果,更好地获取到适合终端设备的候选结果,用户体验更佳。In response to the above-mentioned problem that users cannot obtain candidate results suitable for terminal devices and have poor user experience, the technical solution provided in the embodiment of the present application filters out target candidate results suitable for terminal devices from the search results based on the information of the terminal device, and displays the target candidate results suitable for the terminal device, so that users can better obtain candidate results suitable for the terminal device based on the target candidate results for each terminal device displayed, and the user experience is better.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures and technologies are provided to facilitate a thorough understanding of the embodiments of the present application.
下面对本申请实施例可能涉及的系统架构进行示例性介绍。The following is an exemplary introduction to the system architecture that may be involved in the embodiments of the present application.
参见图2,为本申请实施例提供的搜索系统的一种示意框图,该搜索系统包括第一终端设备100和至少一个第二终端设备200。第一终端设备100可以作为搜索系统的主终端,第二终端设备200可以作为搜索系统的从终端。2 is a schematic block diagram of a search system provided in an embodiment of the present application, the search system includes a first terminal device 100 and at least one second terminal device 200. The first terminal device 100 can be used as a master terminal of the search system, and the second terminal device 200 can be used as a slave terminal of the search system.
第一终端设备100可以为但不限于:手机、平板、个人电脑、智慧屏、墨水屏、智能穿戴设备或智能音箱等。第二终端设备200可以为但不限于:手机、平板、个人电脑、智慧屏、墨水屏、智能穿戴设备或智能音箱等。本申请实施例对第一终端设备100和第二终端设备200的具体类型不作限定。
The first terminal device 100 may be, but is not limited to: a mobile phone, a tablet, a personal computer, a smart screen, an ink screen, a smart wearable device, or a smart speaker, etc. The second terminal device 200 may be, but is not limited to: a mobile phone, a tablet, a personal computer, a smart screen, an ink screen, a smart wearable device, or a smart speaker, etc. The embodiment of the present application does not limit the specific types of the first terminal device 100 and the second terminal device 200.
第一终端设备100可以与第二终端设备200通信。第一终端设备100与第二终端设备200的通信方式可以是短距无线通信,例如,经典蓝牙、低功耗蓝牙、无线保真(Wireless Fidelity,Wi-Fi)、超宽带(Ultra Wide Band,UWB)以及近场通信(Near Field Communication,NFC)等;也可以是有线通信或长距无线通信(例如移动通信)。可以理解的是,第一终端设备100和第二终端设备200的设备类型不同,通信方式可能会相应不同。本申请实施例对第一终端设备100和第二终端设备200之间的通信方式不作限定。The first terminal device 100 can communicate with the second terminal device 200. The communication method between the first terminal device 100 and the second terminal device 200 can be short-range wireless communication, such as classic Bluetooth, low-power Bluetooth, Wireless Fidelity (Wi-Fi), Ultra Wide Band (UWB) and Near Field Communication (NFC), etc.; it can also be wired communication or long-range wireless communication (such as mobile communication). It is understandable that the device types of the first terminal device 100 and the second terminal device 200 are different, and the communication method may be different accordingly. The embodiment of the present application does not limit the communication method between the first terminal device 100 and the second terminal device 200.
示例性地,第一终端设备100为手机,搜索系统包括多个第二终端设备200,分别为墨水屏、智能音箱和智慧屏。手机和智能音箱之间的通信方式为低功耗蓝牙,手机和智慧屏之间的通信方式为Wi-Fi点对点连接,手机和墨水屏之间的通信方式为低功耗蓝牙。Exemplarily, the first terminal device 100 is a mobile phone, and the search system includes multiple second terminal devices 200, which are ink screens, smart speakers, and smart screens. The communication method between the mobile phone and the smart speaker is low-power Bluetooth, the communication method between the mobile phone and the smart screen is Wi-Fi point-to-point connection, and the communication method between the mobile phone and the ink screen is low-power Bluetooth.
在介绍完本申请实施例可能涉及的系统架构后,下面以上文示出的系统架构为例,对本申请实施例提供的技术方案进行介绍说明。After introducing the system architecture that may be involved in the embodiments of the present application, the technical solution provided by the embodiments of the present application is introduced and explained below using the system architecture shown above as an example.
第一终端设备100获取搜索信息,并向云端服务器发送搜索请求,该搜索请求携带有该搜索信息。The first terminal device 100 obtains the search information and sends a search request to the cloud server, where the search request carries the search information.
其中,搜索信息通常是由用户向第一终端设备100输入的。具体应用中,该搜索信息可以是用户在搜索框或搜索窗口内输入的信息,即第一终端设备100可以通过获取用户在搜索框或搜索窗口输入的信息,以获取到上述搜索信息。例如,如图1所示,用户在手机11的搜索框113内输入“热爱运动”后,手机11获取到的搜索信息为“热爱运动”。The search information is usually input by the user to the first terminal device 100. In a specific application, the search information may be information input by the user in a search box or a search window, that is, the first terminal device 100 may obtain the above search information by obtaining the information input by the user in the search box or the search window. For example, as shown in FIG1 , after the user enters "love sports" in the search box 113 of the mobile phone 11, the search information obtained by the mobile phone 11 is "love sports".
该搜索信息也可以是用户通过语音向第一终端设备100输入的信息。例如,用户通过唤醒词“小艺小艺”唤醒手机语音助手“小艺”后,向手机输入语音“搜索热爱运动”,此时,手机通过对语音“搜索热爱运动”进行语音识别等处理操作,以获得搜索信息“热爱运动”。本申请实施例对第一终端设备100获取搜索信息的方式不作限定。The search information may also be information input by the user to the first terminal device 100 through voice. For example, after the user wakes up the mobile phone voice assistant "Xiaoyi" through the wake-up word "Xiaoyi Xiaoyi", the user inputs the voice "search for love of sports" into the mobile phone. At this time, the mobile phone performs voice recognition and other processing operations on the voice "search for love of sports" to obtain the search information "love of sports". The embodiment of the present application does not limit the way in which the first terminal device 100 obtains the search information.
搜索请求除了可以携带有搜索信息之外,还可以携带有各个第二终端设备200的设备类型信息。也就是说,搜索请求可以同时携带有搜索信息和各个第二终端设备200的设备类型信息。此时,第一终端设备100在获取到搜索信息后,向云端服务器发送携带有搜索信息和各个第二终端设备200的设备类型信息的搜索请求。In addition to the search information, the search request may also carry the device type information of each second terminal device 200. In other words, the search request may carry both the search information and the device type information of each second terminal device 200. At this time, after obtaining the search information, the first terminal device 100 sends a search request carrying the search information and the device type information of each second terminal device 200 to the cloud server.
设备类型信息用于描述第二终端设备200的设备类型。示例性地,设备类型包括手机、智慧屏、音箱、墨水屏、车机、智能耳机、智能手表/智能手环、平板电脑、个人电脑、虚拟现实(Virtual Reality,VR)/增强现实(Augmented Reality,AR)/混合现实(Mix reality,MR)设备、以及物联网(Internet of Things,IoT)设备等。本申请实施例不对设备类型的划分作限定,例如,可以根据是否有屏幕将设备划分成有屏设备和无屏设备,即设备类型包括有屏设备和无屏设备。The device type information is used to describe the device type of the second terminal device 200. Exemplarily, the device types include mobile phones, smart screens, speakers, ink screens, car machines, smart headphones, smart watches/smart bracelets, tablet computers, personal computers, virtual reality (VR)/augmented reality (AR)/mixed reality (MR) devices, and Internet of Things (IoT) devices. The present application embodiment does not limit the division of device types. For example, the devices can be divided into screen devices and screenless devices according to whether they have a screen, that is, the device types include screen devices and screenless devices.
当搜索请求携带有第二终端设备200的设备类型信息时,第一终端设备100除了需要获取搜索信息,还需要获取第二终端设备200的设备类型信息。When the search request carries the device type information of the second terminal device 200 , the first terminal device 100 needs to obtain the device type information of the second terminal device 200 in addition to the search information.
在一种实现方式中,第一终端设备100可以实时获取第二终端设备200的设备类型信息。此时,第一终端设备100在获取到搜索信息后,则向第二终端设备200发送请求,该请求用于获取设备信息;第二终端设备200响应于该请求,向第一终端设备100发送自身的设备信息。该设备信息可以只包括设备类型信息。当然,该设备信息除了可以包括设备类型信息之外,还可以包括其它信息(例如,设备参数信息)。设备参数信息用于描述第二终端设备200的参数。示例性地,第二终端设备200的参数信息包括但不限于:分辨率和尺寸等信息。In one implementation, the first terminal device 100 can obtain the device type information of the second terminal device 200 in real time. At this time, after obtaining the search information, the first terminal device 100 sends a request to the second terminal device 200, and the request is used to obtain the device information; the second terminal device 200 responds to the request and sends its own device information to the first terminal device 100. The device information may only include the device type information. Of course, in addition to the device type information, the device information may also include other information (for example, device parameter information). The device parameter information is used to describe the parameters of the second terminal device 200. Exemplarily, the parameter information of the second terminal device 200 includes, but is not limited to, information such as resolution and size.
在另一种实现方式中,第一终端设备100也可以提前获取第二终端设备200的设备信息,即第一终端设备100在获取到搜索信息之前,则获取到各个第二终端设备200的设备信息,并将各个第二终端设备200的设备信息存储在本地。In another implementation, the first terminal device 100 may also obtain the device information of the second terminal device 200 in advance, that is, before obtaining the search information, the first terminal device 100 obtains the device information of each second terminal device 200 and stores the device information of each second terminal device 200 locally.
第一终端设备100提前获取第二终端设备200的设备信息时,第二终端设备200可以定时或周期性地将自身的设备信息主动发送至第一终端设备100。或者,第一终端设备100也可以定时或周期性地向第二终端设备200发送请求,以使第二终端设备200响应于该请求,将自身的设备信息同步至第一终端设备100。抑或者,第二终端设备200将自身的设备信息同步至第一终端设备100后,当检测到自身的设备信息发送变化时,可以主动将更新后的设备信息或者所变化的信息同步至第一终端设备100。例如,第一终端设备100和第二终端设备200在初次建立通信连接时,第二终端设
备200主动将自身的设备信息发送至第一终端设备100,或者第一终端设备100向第二终端设备200请求获取设备信息。第一终端设备100获取到第二终端设备200的设备信息后,持久化存储第二终端设备200的设备信息。当第二终端设备200检测到自身的设备信息发送变化时,则主动将变化后的设备信息或者所变化的信息发送至第一终端设备100。When the first terminal device 100 obtains the device information of the second terminal device 200 in advance, the second terminal device 200 can actively send its own device information to the first terminal device 100 regularly or periodically. Alternatively, the first terminal device 100 can also send a request to the second terminal device 200 regularly or periodically, so that the second terminal device 200 responds to the request and synchronizes its own device information to the first terminal device 100. Alternatively, after the second terminal device 200 synchronizes its own device information to the first terminal device 100, when it detects a change in its own device information, it can actively synchronize the updated device information or the changed information to the first terminal device 100. For example, when the first terminal device 100 and the second terminal device 200 establish a communication connection for the first time, the second terminal device 200 sends a request to the second terminal device 200 regularly or periodically, so that the second terminal device 200 responds to the request and synchronizes its own device information to the first terminal device 100. The first terminal device 200 actively sends its own device information to the first terminal device 100, or the first terminal device 100 requests the second terminal device 200 to obtain device information. After the first terminal device 100 obtains the device information of the second terminal device 200, it persistently stores the device information of the second terminal device 200. When the second terminal device 200 detects a change in the sending of its own device information, it actively sends the changed device information or the changed information to the first terminal device 100.
第一终端设备100向云端服务器发送搜索请求后,云端服务器则可以接收到来自第一终端设备100的搜索请求,并响应于该搜索请求,向第一终端设备100返回搜索结果。该搜索结果包括至少一个候选结果和自然排序。After the first terminal device 100 sends a search request to the cloud server, the cloud server may receive the search request from the first terminal device 100 and, in response to the search request, return search results to the first terminal device 100. The search results include at least one candidate result and a natural ranking.
示例性地,云端服务器可以包括搜索聚合模块和搜索引擎。搜索聚合模块可以根据搜索请求,请求搜索引擎进行检索。搜索引擎响应于搜索聚合模块的请求,根据搜索信息进行检索,获得候选结果集合,并向搜索聚合模块返回检索到的候选结果集合。该候选结果集合包括至少一个候选结果。Exemplarily, the cloud server may include a search aggregation module and a search engine. The search aggregation module may request the search engine to perform a search based on a search request. The search engine responds to the request of the search aggregation module, performs a search based on the search information, obtains a candidate result set, and returns the retrieved candidate result set to the search aggregation module. The candidate result set includes at least one candidate result.
当搜索请求没有携带有第二终端设备200的设备类型信息,搜索聚合模块接收到搜索引擎返回的候选结果集合之后,可以基于信息量和自然排序模版,对候选结果集合中的各个候选结果进行聚合排序,获得搜索结果。该搜索结果包括排序后的候选结果。When the search request does not carry the device type information of the second terminal device 200, after the search aggregation module receives the candidate result set returned by the search engine, it can aggregate and sort the candidate results in the candidate result set based on the amount of information and the natural sorting template to obtain the search results. The search results include the sorted candidate results.
当搜索请求携带有第二终端设备200的设备类型信息,搜索聚合模块可以结合第二终端设备200的类型信息,基于信息量和自然排序模版,对候选结果集合中的各个候选结果进行排序,获得搜索结果。也就是说,搜索请求携带的设备类型信息可以用于对各搜索引擎返回的结果进行聚合排序。When the search request carries the device type information of the second terminal device 200, the search aggregation module can sort the candidate results in the candidate result set based on the information volume and the natural sorting template in combination with the type information of the second terminal device 200 to obtain the search results. In other words, the device type information carried by the search request can be used to aggregate and sort the results returned by each search engine.
第一终端设备100接收到云端服务器返回的搜索结果后,则确定各个第二终端设备200的目标候选结果,并展示各个第二终端设备200的目标候选结果。After the first terminal device 100 receives the search result returned by the cloud server, it determines the target candidate results of each second terminal device 200 and displays the target candidate results of each second terminal device 200.
目标候选结果是根据第二终端设备200的信息从搜索结果中筛选出的候选结果。目标候选结果可以是指一个候选结果,也可以是指由至少两个候选结果组成的候选结果集,即目标候选结果可以包括至少两个候选结果。The target candidate result is a candidate result screened from the search results according to the information of the second terminal device 200. The target candidate result may refer to one candidate result or a candidate result set consisting of at least two candidate results, that is, the target candidate result may include at least two candidate results.
第二终端设备200的信息包括设备信息,或者包括设备信息和用户行为数据。设备信息包括设备类型信息,或者包括设备类型信息和设备参数信息。The information of the second terminal device 200 includes device information, or includes device information and user behavior data. The device information includes device type information, or includes device type information and device parameter information.
用户行为数据是指用户在第二终端设备200上的使用行为数据。该用户行为数据可以描述用户在第二终端设备200上的使用时间和操作事件。通过该用户行为数据可以获得用户行为习惯、使用时间和偏好等信息。User behavior data refers to the usage behavior data of the user on the second terminal device 200. The user behavior data can describe the usage time and operation events of the user on the second terminal device 200. Through the user behavior data, information such as user behavior habits, usage time and preferences can be obtained.
具体应用中,可以针对每个第二终端设备200,记录用户每天在该第二终端设备200的使用行为数据,以获得该第二终端设备200的用户行为数据。例如,在晚上19时10分,用户打开智慧屏观看电视剧,智慧屏检测到用户开机操作后,则记录一条使用行为数据,该使用行为数据的使用时间为晚上19时10分,操作事件为开机。In a specific application, for each second terminal device 200, the user's usage behavior data on the second terminal device 200 can be recorded every day to obtain the user behavior data of the second terminal device 200. For example, at 19:10 in the evening, the user turns on the smart screen to watch a TV series. After the smart screen detects the user's power-on operation, it records a piece of usage behavior data, the usage time of which is 19:10 in the evening, and the operation event is power-on.
在一种实现方式中,第一终端设备100可以将候选结果类型和第二终端设备200的设备类型进行简单映射,以确定出各个第二终端设备200的目标候选结果。第二终端设备200的设备类型可以通过第二终端设备200的设备类型信息得到。In one implementation, the first terminal device 100 may simply map the candidate result type with the device type of the second terminal device 200 to determine the target candidate result of each second terminal device 200. The device type of the second terminal device 200 may be obtained through the device type information of the second terminal device 200.
映射过程除了可以在第一终端设备100一侧进行,当然也可以在第二终端设备200一侧进行。此时,第一终端设备100获取到搜索结果后,则向各个第二终端设备200发送候选结果集合,该候选结果集合包括候选结果。而第二终端设备200则根据候选结果集合和自身的设备信息,将候选结果类型和设备类型进行映射,以获得目标候选结果,并将该目标候选结果返回至第一终端设备100。这样,第一终端设备100则可以获得各个第二终端设备200的目标候选结果。The mapping process can be performed on the first terminal device 100 side as well as on the second terminal device 200 side. At this time, after the first terminal device 100 obtains the search results, it sends a candidate result set to each second terminal device 200, and the candidate result set includes the candidate results. The second terminal device 200 maps the candidate result type and the device type according to the candidate result set and its own device information to obtain the target candidate result, and returns the target candidate result to the first terminal device 100. In this way, the first terminal device 100 can obtain the target candidate results of each second terminal device 200.
候选结果类型可以包括但不限于视频、新闻、电子书、网页、图片和歌曲等。The candidate result types may include, but are not limited to, videos, news, e-books, web pages, pictures, and songs.
示例性地,将属于视频类型的候选结果映射至智慧屏,即将属于视频类型的候选结果确定为智慧屏的目标候选结果。将属于新闻类型和电子书类型的候选结果映射至墨水屏或平板电脑,即将属于新闻类型和电子书类型的候选结果确定为墨水屏或平板电脑的目标候选结果。将属于歌曲类型或音频类型的候选结果映射至音箱,即将属于歌曲类型或音频类型的候选结果确定为音箱的目标候选结果。Exemplarily, candidate results belonging to the video type are mapped to the smart screen, that is, the candidate results belonging to the video type are determined as the target candidate results for the smart screen. Candidate results belonging to the news type and the e-book type are mapped to the ink screen or tablet computer, that is, the candidate results belonging to the news type and the e-book type are determined as the target candidate results for the ink screen or tablet computer. Candidate results belonging to the song type or the audio type are mapped to the speaker, that is, the candidate results belonging to the song type or the audio type are determined as the target candidate results for the speaker.
但是,如果仅仅根据候选结果类型和设备类型进行简单映射,则无法根据用户使用行为习惯为候选结果选择最优展现方式,即无法确定候选结果最适合在哪个第二终端设备200上展示。并且,
当存在多个相同设备类型的第二终端设备200时,也无法为各个第二终端设备200确定合适的目标候选结果,可能会出现相同设备类型的多个终端设备的目标候选结果相同的情况。例如,搜索系统包括智慧屏1和智慧屏2。如果仅仅根据候选结果类型和设备类型进行简单映射,由于智慧屏1和智慧屏2的设备类型相同,故这两个设备的目标候选结果相同。However, if only a simple mapping is performed based on the candidate result type and the device type, it is impossible to select the optimal presentation method for the candidate result based on the user's usage behavior habits, that is, it is impossible to determine on which second terminal device 200 the candidate result is most suitable for presentation. When there are multiple second terminal devices 200 of the same device type, it is impossible to determine a suitable target candidate result for each second terminal device 200, and the target candidate results of multiple terminal devices of the same device type may be the same. For example, the search system includes smart screen 1 and smart screen 2. If a simple mapping is performed based on the candidate result type and the device type, since smart screen 1 and smart screen 2 have the same device type, the target candidate results of the two devices are the same.
而在另一种实现方式中,也可以根据第二终端设备200的设备信息和用户行为数据中的至少一种,对各个候选结果进行评分,以获得各个第二终端设备200的评分结果,并根据各个第二终端设备200的评分结果,确定各个第二终端设备200的目标候选结果。评分结果包括各个候选结果的评分。下面以根据设备信息和用户行为数据进行评分为例进行介绍。In another implementation, each candidate result may be scored based on at least one of the device information and user behavior data of the second terminal device 200 to obtain a scoring result of each second terminal device 200, and the target candidate result of each second terminal device 200 is determined based on the scoring result of each second terminal device 200. The scoring result includes the score of each candidate result. The following is an introduction using scoring based on device information and user behavior data as an example.
具体应用中,根据第二终端设备200的设备信息和用户行为数据,对各个候选结果进行评分的过程可以在第一终端设备100一侧进行,也可以在第二终端设备200一侧进行。In a specific application, the process of scoring each candidate result according to the device information and user behavior data of the second terminal device 200 can be performed on the first terminal device 100 side or on the second terminal device 200 side.
当评分过程在第二终端设备200一侧进行时,第一终端设备100接收到云端服务器返回的搜索结果后,则可以向各个第二终端设备200发送候选结果集合,该候选结果集合包括搜索结果中所有的候选结果。而第二终端设备200接收到候选结果集合后,则根据自身的设备信息和用户行为数据,对候选结果集合中各个候选结果进行评分,获得各个候选结果的评分,进而获得评分结果。When the scoring process is performed on the second terminal device 200 side, after the first terminal device 100 receives the search results returned by the cloud server, it can send a candidate result set to each second terminal device 200, and the candidate result set includes all the candidate results in the search results. After receiving the candidate result set, the second terminal device 200 scores each candidate result in the candidate result set according to its own device information and user behavior data, obtains the score of each candidate result, and then obtains the scoring result.
第二终端设备200获得评分结果后,可以将评分结果返回至第一终端设备100。此时,第一终端设备100可以接收到各个第二终端设备200返回的评分结果,并根据各个第二终端设备200的评分结果,确定各个第二终端设备200的目标候选结果。After obtaining the scoring result, the second terminal device 200 may return the scoring result to the first terminal device 100. At this time, the first terminal device 100 may receive the scoring results returned by each second terminal device 200, and determine the target candidate results of each second terminal device 200 according to the scoring results of each second terminal device 200.
当然,第二终端设备200获得评分结果后,也可以根据评分结果从候选结果集合中确定出目标候选结果后,将目标候选结果或者用于描述目标候选结果的信息返回给第一终端设备100。Of course, after obtaining the scoring result, the second terminal device 200 may also determine the target candidate result from the candidate result set according to the scoring result, and return the target candidate result or information used to describe the target candidate result to the first terminal device 100 .
第一终端设备100通过用于描述目标候选结果的信息,可以确定该信息描述的目标候选结果,进而确定第二终端设备200的目标候选结果。示例性地,用于描述目标候选结果的信息为排序信息,该排序信息用于描述目标候选结果在自然排序中的序号。例如,智慧屏根据评分结果确定自然排序中的第10号候选结果为目标候选结果,则将“第10号”作为用于描述目标候选结果的信息返回至手机,手机则将自然排序中的第10号候选结果确定为智慧屏的目标候选结果。The first terminal device 100 can determine the target candidate result described by the information for describing the target candidate result, and then determine the target candidate result of the second terminal device 200. Exemplarily, the information used to describe the target candidate result is sorting information, and the sorting information is used to describe the sequence number of the target candidate result in the natural sorting. For example, the smart screen determines that the 10th candidate result in the natural sorting is the target candidate result based on the scoring result, and then returns "No. 10" as the information used to describe the target candidate result to the mobile phone, and the mobile phone determines the 10th candidate result in the natural sorting as the target candidate result of the smart screen.
当评分过程在第一终端设备100一侧进行时,第一终端设备100可以针对各个第二终端设备200,根据该第二终端设备200的设备信息和用户行为数据对各个候选结果进行打分,以获得该第二终端设备200的评分结果。此时,各个第二终端设备200可以将设备信息和用户行为数据同步至第一终端设备100,用户行为数据可以随着设备信息一并同步至第一终端设备100。例如,第一终端设备100获取到搜索信息后,则向各个第二终端设备200请求获取设备信息和用户行为数据,而第二终端设备200则响应于请求向第一终端设备100同步设备信息和用户行为数据。When the scoring process is performed on the first terminal device 100 side, the first terminal device 100 can score each candidate result for each second terminal device 200 according to the device information and user behavior data of the second terminal device 200 to obtain the scoring result of the second terminal device 200. At this time, each second terminal device 200 can synchronize the device information and user behavior data to the first terminal device 100, and the user behavior data can be synchronized to the first terminal device 100 along with the device information. For example, after the first terminal device 100 obtains the search information, it requests each second terminal device 200 to obtain the device information and user behavior data, and the second terminal device 200 synchronizes the device information and user behavior data to the first terminal device 100 in response to the request.
也就是说,第一终端设备100可以在本地对各个候选结果进行打分,也可以将候选结果集合发送至各个第二终端设备200,由各个第二终端设备200对各个候选结果进行打分。相较而言,由各个第二终端设备200对各个候选结果进行打分可以充分利用各个第二终端设备200的计算资源,减少了第一终端设备100的计算资源开销。That is, the first terminal device 100 can score each candidate result locally, or send the candidate result set to each second terminal device 200, and each second terminal device 200 scores each candidate result. In comparison, scoring each candidate result by each second terminal device 200 can make full use of the computing resources of each second terminal device 200, reducing the computing resource overhead of the first terminal device 100.
当然,评分过程也可以在云端服务器一侧进行。此时,第一终端设备100可以向云端服务器发送各个第二终端设备200的设备信息和用户行为数据,该第二终端设备200的设备信息和用户行为数据可以携带在搜索请求中,也可以独立于搜索请求之外。Of course, the scoring process can also be performed on the cloud server side. At this time, the first terminal device 100 can send the device information and user behavior data of each second terminal device 200 to the cloud server, and the device information and user behavior data of the second terminal device 200 can be carried in the search request or can be independent of the search request.
而云端服务器可以响应于搜索请求,获得搜索结果,并对搜索结果进行自然排序之后,则针对各个第二终端设备200,根据该第二终端设备200的设备信息和用户行为数据,对各个候选结果进行打分,以获得该第二终端设备200的评分结果。最后,云端服务器根据各个第二终端设备200的评分结果,确定各个第二终端设备200的目标候选结果,并将目标候选结果返回至第一终端设备100。或者,云端服务器在获取到各个第二终端设备200的评分结果后,直接将评分结果返回给第一终端设备100,由第一终端设备100根据评分结果确定目标候选结果。The cloud server can respond to the search request, obtain the search results, and after naturally sorting the search results, score each candidate result for each second terminal device 200 according to the device information and user behavior data of the second terminal device 200 to obtain the scoring result of the second terminal device 200. Finally, the cloud server determines the target candidate result of each second terminal device 200 according to the scoring results of each second terminal device 200, and returns the target candidate result to the first terminal device 100. Alternatively, after obtaining the scoring results of each second terminal device 200, the cloud server directly returns the scoring results to the first terminal device 100, and the first terminal device 100 determines the target candidate result according to the scoring results.
示例性地,第一终端设备100、第二终端设备200或云端服务器均可以通过打分模型对各个候选结果进行打分。此时。针对每个第二终端设备200,将该第二终端设备200的设备信息、用户行为数据和候选结果集合作为打分模型的输入,评分结果作为打分模型的输出。Exemplarily, the first terminal device 100, the second terminal device 200 or the cloud server can score each candidate result through the scoring model. At this time, for each second terminal device 200, the device information, user behavior data and candidate result set of the second terminal device 200 are used as inputs of the scoring model, and the scoring result is used as output of the scoring model.
示例性地,参见图3示出的打分过程示意图,打分模型包括transformer模型、深度计算
(Fully Connected,FC)层和匹配层等,打分模型的输入包括用户行为数据、设备信息以及候选结果集合,输出是评分结果。For example, referring to the schematic diagram of the scoring process shown in FIG3 , the scoring model includes a transformer model, a deep computing The input of the scoring model includes user behavior data, device information, and a set of candidate results, and the output is the scoring result.
其中,用户行为数据和设备信息经过transformer模型和深度计算层后,转化成一个特征向量;候选结果集合经过transformer模型和深度计算层后,转化成一个特征向量;匹配层对这两个特征向量进行匹配对比,得到各个候选结果的评分,并输出评分结果。Among them, user behavior data and device information are converted into a feature vector after passing through the transformer model and the deep computing layer; the candidate result set is converted into a feature vector after passing through the transformer model and the deep computing layer; the matching layer matches and compares the two feature vectors, obtains the score of each candidate result, and outputs the score result.
该打分模型是预先训练完成的模型。在训练过程中,通过收集大量用户的用户行为数据和用户所使用的终端设备的设备信息,构建训练数据集,并使用构建的训练数据集对打分模型进行训练。其中,训练数据集包括各个终端设备的用户行为数据和设备信息,该设备信息包括设备类型信息和设备参数信息。The scoring model is a pre-trained model. During the training process, a training data set is constructed by collecting user behavior data of a large number of users and device information of the terminal devices used by the users, and the scoring model is trained using the constructed training data set. The training data set includes user behavior data and device information of each terminal device, and the device information includes device type information and device parameter information.
值得指出的是,在模型训练时,将用户行为数据和设备信息等作为模型输入,使得模型可以从大量用户行为数据中学习,进而可以更准确地判断出用户的使用行为习惯,即更准确地判断出用户在各个时间点倾向于使用的终端设备,以及倾向于在终端设备类型上的操作事件等;并且,基于大量用户的使用行为习惯,可以推断出不同候选结果适合展示的终端设备。It is worth pointing out that when training the model, user behavior data and device information are used as model inputs, so that the model can learn from a large amount of user behavior data, and then more accurately judge the user's usage behavior habits, that is, more accurately judge the terminal devices that users tend to use at various time points, and the operation events that tend to be on the terminal device types, etc.; and, based on the usage behavior habits of a large number of users, it can be inferred that different candidate results are suitable for displaying terminal devices.
相较于通过简单映射确定目标候选结果,根据设备信息和用户行为数据对各个候选结果进行打分,并根据评分结果确定目标候选结果,可以根据用户使用行为习惯为候选结果选择最优展现方式,即根据用户使用行为习惯可以为候选结果选择更适合的第二终端设备200。并且,当存在多个相同设备类型的第二终端设备200时,由于不同设备上的用户行为数据不同,根据用户行为数据确定出的目标候选结果很大概率上不同,因此,出现相同设备类型的多个终端设备的目标候选结果相同的情况的概率较低。Compared with determining the target candidate results through simple mapping, scoring each candidate result according to the device information and user behavior data, and determining the target candidate result according to the scoring result, the optimal presentation method can be selected for the candidate results according to the user's usage behavior habits, that is, a more suitable second terminal device 200 can be selected for the candidate results according to the user's usage behavior habits. In addition, when there are multiple second terminal devices 200 of the same device type, since the user behavior data on different devices are different, the target candidate results determined according to the user behavior data are likely to be different. Therefore, the probability of the same target candidate results for multiple terminal devices of the same device type is low.
评分结果中各个候选结果的评分高低可以表征该候选结果与该第二终端设备200之间的匹配程度高低。评分越高,匹配程度越高,反之评分越地,匹配程度越低。The score of each candidate result in the scoring result can represent the degree of matching between the candidate result and the second terminal device 200. The higher the score, the higher the matching degree, and vice versa, the lower the score, the lower the matching degree.
具体应用中,在获得各个第二终端设备200的评分结果之后,针对每个第二终端设备200的评分结果,可以将评分结果中评分最大的候选结果作为目标候选结果,或者将评分结果中评分大于预设阈值的候选结果作为目标候选结果。该预设阈值可以根据实际需要设定,在此不作限定。In a specific application, after obtaining the scoring results of each second terminal device 200, for the scoring results of each second terminal device 200, the candidate result with the largest score in the scoring results can be used as the target candidate result, or the candidate result with a score greater than a preset threshold in the scoring results can be used as the target candidate result. The preset threshold can be set according to actual needs and is not limited here.
例如,第二终端设备200为智慧屏,第一终端设备100为手机,候选结果集合中包括3个候选结果,分别为新闻类候选结果、视频类候选结果以及小说类候选结果。智慧屏或手机根据智慧屏的用户行为数据和设备信息,对候选结果集合中各个候选结果进行打分后,电视剧类候选结果的评分最高,即电视剧类候选结果与智慧屏的匹配程度最高,则将该电视剧类候选结果确定为智慧屏的目标候选结果。For example, the second terminal device 200 is a smart screen, the first terminal device 100 is a mobile phone, and the candidate result set includes three candidate results, namely, news candidate results, video candidate results, and novel candidate results. After the smart screen or mobile phone scores each candidate result in the candidate result set based on the user behavior data and device information of the smart screen, the TV series candidate result has the highest score, that is, the TV series candidate result has the highest degree of match with the smart screen, and the TV series candidate result is determined as the target candidate result of the smart screen.
第一终端设备100确定各个第二终端设备200的目标候选结果后,则展示各个目标候选结果。具体地,第一终端设备100可以在屏幕上显示各个目标候选结果,可以通过语音播报的方式展示各个目标候选结果,也可以既在屏幕上显示目标候选结果,也通过语音播报目标候选结果,在此不对目标候选结果的展示方式作限定。After the first terminal device 100 determines the target candidate results of each second terminal device 200, each target candidate result is displayed. Specifically, the first terminal device 100 can display each target candidate result on the screen, can display each target candidate result by voice broadcast, or can display the target candidate result on the screen and broadcast the target candidate result by voice. The display method of the target candidate result is not limited here.
当第一终端设备100在屏幕显示各个目标候选结果时,可以通过预设形式显示目标候选结果,并显示各个目标候选结果对应的第二终端设备,即以预设形式显示目标候选结果,并通过一定形式显示各个目标候选结果对应的第二终端设备200的信息。例如,在搜索结果页面以预设形式显示目标候选结果,并在目标候选结果的后面显示该第二终端设备200的名称,这样,用户即可在搜索结果页面中直观地得到适合第二终端设备200的候选结果。When the first terminal device 100 displays each target candidate result on the screen, the target candidate result can be displayed in a preset form, and the second terminal device corresponding to each target candidate result can be displayed, that is, the target candidate result is displayed in a preset form, and the information of the second terminal device 200 corresponding to each target candidate result is displayed in a certain form. For example, the target candidate result is displayed in a preset form on the search result page, and the name of the second terminal device 200 is displayed after the target candidate result, so that the user can intuitively obtain the candidate result suitable for the second terminal device 200 on the search result page.
预设形式包括但不限于:不同字体、控件以及弹窗等。不同字体是指以不同于非目标候选结果的字体显示目标候选结果,即非目标候选结果的字体和目标候选结果的字体不同。字体不同具体可以体现在字体大小、字体风格以及字体类型等中的至少一种不同。并且,除了非目标候选结果和目标候选结果的字体不同,各个目标候选结果之间的字体可以相同,也可以不相同。例如,目标候选结果的字体加粗,非目标候选结果的字体不加粗。The preset forms include, but are not limited to: different fonts, controls, and pop-up windows. Different fonts refer to displaying the target candidate results in a font different from the non-target candidate results, that is, the font of the non-target candidate results is different from the font of the target candidate results. The difference in fonts can be specifically reflected in at least one difference in font size, font style, and font type. In addition, in addition to the different fonts between the non-target candidate results and the target candidate results, the fonts between the target candidate results may be the same or different. For example, the font of the target candidate results is bold, and the font of the non-target candidate results is not bold.
弹窗是指在弹窗内显示各个目标候选结果。例如,在搜索结果页面显示一个悬浮窗口,该悬浮窗口内显示各个目标候选结果。Pop-up window refers to displaying each target candidate result in a pop-up window. For example, a floating window is displayed on the search results page, and each target candidate result is displayed in the floating window.
控件是指通过控件形式显示各个目标候选结果,每个目标候选结果对应一个控件。每个控件可以包括第一信息和/或第二信息。第一信息用于描述目标候选结果,第二信息用于描述第二终端设备。
A control refers to displaying each target candidate result in the form of a control, and each target candidate result corresponds to a control. Each control may include first information and/or second information. The first information is used to describe the target candidate result, and the second information is used to describe the second terminal device.
示例性地,参见图4A示出的候选结果展示示意图,第一终端设备100为手机41,智慧屏、墨水屏和音箱为第二终端设备200。手机41的搜索结果页面411包括搜索框412、控件413、控件414和控件415,搜索框412内的搜索关键字为“XXX”。Exemplarily, referring to the candidate result display diagram shown in FIG4A , the first terminal device 100 is a mobile phone 41, and the smart screen, ink screen and speaker are the second terminal device 200. The search result page 411 of the mobile phone 41 includes a search box 412, a control 413, a control 414 and a control 415, and the search keyword in the search box 412 is "XXX".
手机41确定出智慧屏的目标候选结果为“XXX电视剧”,墨水屏的目标候选结果为“XXX小说”,音箱的目标候选结果为“XXX主题曲”。控件413内显示有“XXX电视剧,去智慧屏观看”,此时“XXX电视剧”是用于描述目标候选结果的第一信息,“去智慧屏观看”为用于描述第二终端设备200的第二信息。同理,控件414内显示有“XXX小说,去墨水屏阅读”,控件415内显示有“XXX主题曲,去音箱播放”。Mobile phone 41 determines that the target candidate result for the smart screen is "XXX TV series", the target candidate result for the ink screen is "XXX novel", and the target candidate result for the speaker is "XXX theme song". Control 413 displays "XXX TV series, go to the smart screen to watch", at this time "XXX TV series" is the first information used to describe the target candidate result, and "go to the smart screen to watch" is the second information used to describe the second terminal device 200. Similarly, control 414 displays "XXX novel, go to the ink screen to read", and control 415 displays "XXX theme song, go to the speaker to play".
通常情况下,相同类型的第二终端设备200针对同一个候选结果的打分会不相同,因此,相同类型的第二终端设备200的目标候选结果不相同。但是,某些情况下,如果相同类型的第二终端设备200的目标候选结果相同,以控件形式显示目标候选结果时,可以显示选项供用户选择。Generally, the scores of the same candidate result for the second terminal devices 200 of the same type are different, and therefore, the target candidate results of the same type of second terminal devices 200 are different. However, in some cases, if the target candidate results of the same type of second terminal devices 200 are the same, when the target candidate results are displayed in the form of controls, options can be displayed for the user to select.
示例性地,参见图4B示出的候选结果展示示意图,基于图4A的场景,搜索结果页面411上显示有控件416,该控件416上显示有“XXX电视剧,去智慧屏观看”,并且还显示有“大屏设备1”和“大屏设备2”两个选项。也即,大屏设备1和大屏设备2的目标候选结果相同,均是“XXX电视剧”,此时,在显示该目标候选结果时,提供两个选项供用户选择。For example, referring to the candidate result display schematic diagram shown in FIG4B , based on the scenario of FIG4A , a control 416 is displayed on the search result page 411 , and the control 416 displays “XXX TV series, watch on the smart screen”, and also displays two options “large screen device 1” and “large screen device 2”. That is, the target candidate results of large screen device 1 and large screen device 2 are the same, both of which are “XXX TV series”. At this time, when the target candidate result is displayed, two options are provided for the user to choose.
第一终端设备100可以只显示目标候选结果,也可以显示目标候选结果和非目标候选结果。非目标候选结果是指不是目标候选结果的候选结果,通常情况下,将搜索结果中除了目标候选结果的候选结果作为非目标候选结果。The first terminal device 100 may display only the target candidate results, or may display the target candidate results and non-target candidate results. Non-target candidate results refer to candidate results that are not target candidate results. Usually, candidate results other than the target candidate results in the search results are regarded as non-target candidate results.
在一个搜索结果页面同时显示目标候选结果和非目标候选结果时,为了进一步让用户快速准确地获取到适合第二终端设备200的候选结果,则可以将目标候选结果显示在非目标候选结果之前。When a search result page displays both target candidate results and non-target candidate results, in order to further enable the user to quickly and accurately obtain candidate results suitable for the second terminal device 200, the target candidate results may be displayed before the non-target candidate results.
示例性地,参见图5示出的候选结果展示示意图,手机51显示有搜索结果页面511,搜索结果页面511包括搜索框512、控件513、控件514和控件515。其中,控件513~控件515分别是目标候选结果对应的控件,这些控件内显示有目标候选结果和对应的终端设备的信息。除此之外,搜索结果页面511还显示有“演员表”和“热爱运动收视率如何”等其它的候选结果。For example, referring to the candidate result display schematic diagram shown in FIG5 , a mobile phone 51 displays a search result page 511, and the search result page 511 includes a search box 512, a control 513, a control 514, and a control 515. Among them, controls 513 to 515 are controls corresponding to the target candidate results, and these controls display information about the target candidate results and the corresponding terminal device. In addition, the search result page 511 also displays other candidate results such as "actor list" and "how is the ratings of love sports".
如图5所示,控件513~控件515在搜索结果页面511的显示位置,比“演员表”和“热爱运动收视率如何”等其它的候选结果的显示位置更靠前。这样,用户可以直观、快速以及准确地从靠前显示的目标候选结果中获取到适合其它终端设备的候选结果。As shown in FIG5 , the display positions of controls 513 to 515 on search result page 511 are higher than the display positions of other candidate results such as “actors” and “how is the ratings of sports lovers”. In this way, the user can intuitively, quickly and accurately obtain candidate results suitable for other terminal devices from the target candidate results displayed at the front.
当然,也可以不用特意地将目标候选结果显示在非目标候选结果之前,此时可以按照自然排序显示各个候选结果。为了让用户可以区分出目标候选结果,则可以将目标候选结果以预设形式进行显示,以将目标候选结果和非目标候选结果进行区分,使得用户可以更好地获取到适合各个第二终端设备200的目标候选结果。Of course, it is not necessary to intentionally display the target candidate results before the non-target candidate results. In this case, the candidate results can be displayed in a natural order. In order to allow the user to distinguish the target candidate results, the target candidate results can be displayed in a preset form to distinguish the target candidate results from the non-target candidate results, so that the user can better obtain the target candidate results suitable for each second terminal device 200.
将目标候选结果进行靠前显示时,第一终端设备100可以按照自然排序显示非目标候选结果。此时,由于目标候选结果以控件形式靠前显示了,为了不重复显示目标候选结果,故可以在搜索结果中去除目标候选结果后,再根据自然排序在搜索结果页面依次显示剩余的候选结果。例如,搜索结果包括候选结果A、候选结果B、候选结果C以及候选结果D,候选结果A~候选结果D的自然排序为第1位~第4位。候选结果C是目标候选结果。将候选结果C以控件形式显示在搜索结果页面,并且在候选结果C的控件后面,依次显示候选结果A、候选结果B以及候选结果D。When the target candidate results are displayed in the front, the first terminal device 100 can display non-target candidate results according to the natural sorting. At this time, since the target candidate results are displayed in the front in the form of a control, in order not to repeatedly display the target candidate results, the target candidate results can be removed from the search results, and then the remaining candidate results can be displayed in sequence on the search results page according to the natural sorting. For example, the search results include candidate results A, candidate results B, candidate results C, and candidate results D, and the natural sorting of candidate results A to candidate results D is 1st to 4th. Candidate result C is the target candidate result. Candidate result C is displayed in the form of a control on the search results page, and candidate results A, candidate result B, and candidate result D are displayed in sequence behind the control of candidate result C.
当然,也可以重复显示目标候选结果。此时,在将目标候选结果以控件形式靠前显示之后,可以不在搜索结果中去除目标候选结果,而是直接按照自然排序显示搜索结果中的各个候选结果。例如,搜索结果包括候选结果A、候选结果B、候选结果C以及候选结果D,候选结果A~候选结果D的自然排序为第1位~第4位。候选结果C是目标候选结果。将候选结果C以控件形式显示在搜索结果页面,并且在候选结果C的控件后面,依次显示候选结果A、候选结果B、候选结果C以及候选结果D。Of course, the target candidate results can also be displayed repeatedly. At this time, after the target candidate results are displayed in the form of a control in front, the target candidate results can be displayed directly in the natural order instead of being removed from the search results. For example, the search results include candidate results A, candidate results B, candidate results C, and candidate results D, and the natural order of candidate results A to candidate results D is 1st to 4th. Candidate result C is the target candidate result. Candidate result C is displayed in the form of a control on the search results page, and behind the control of candidate result C, candidate results A, candidate result B, candidate result C, and candidate result D are displayed in sequence.
第一终端设备100除了可以展示各个第二终端设备200的目标候选结果,还可以将各个第二终端设备200的目标候选结果分发至对应的第二终端设备200。具体应用中,第一终端设备100可以展示各个目标候选结果之前或之后,将目标候选结果分发至对应的第二终端设备200,也可以在展示目标候选结果的同时将目标候选结果分发至对应的第二终端设备200。
In addition to displaying the target candidate results of each second terminal device 200, the first terminal device 100 can also distribute the target candidate results of each second terminal device 200 to the corresponding second terminal device 200. In a specific application, the first terminal device 100 can distribute the target candidate results to the corresponding second terminal device 200 before or after displaying each target candidate result, or can distribute the target candidate results to the corresponding second terminal device 200 while displaying the target candidate results.
第一终端设备100在分发目标候选结果时,可以主动或被动向各个第二终端设备200分发对应的目标候选结果。When distributing target candidate results, the first terminal device 100 may actively or passively distribute the corresponding target candidate results to each second terminal device 200 .
也就是说,第一终端设备100在确定目标候选结果或展示目标候选结果后,可以主动向各个第二终端设备200发送目标候选结果或者用于描述目标候选结果的信息。各个第二终端设备200在接收到目标候选结果或者用于描述目标候选结果的信息后,则可以展示该目标候选结果。That is, after determining the target candidate result or displaying the target candidate result, the first terminal device 100 can actively send the target candidate result or information used to describe the target candidate result to each second terminal device 200. After receiving the target candidate result or information used to describe the target candidate result, each second terminal device 200 can display the target candidate result.
其中,为了提高用户体验,第一终端设备100在主动分发目标候选结果时,还可以根据各个第二终端设备的设备状态信息,将目标候选结果分发至第二终端设备200。In order to improve user experience, when actively distributing target candidate results, the first terminal device 100 may also distribute the target candidate results to the second terminal devices 200 according to the device status information of each second terminal device.
其中,设备状态信息用于描述第二终端设备200所处状态。示例性地,第二终端设备200的状态类型包括待机状态、观看状态、亮屏状态以及灭屏状态等。The device status information is used to describe the status of the second terminal device 200. Exemplarily, the status types of the second terminal device 200 include standby status, viewing status, screen-on status, screen-off status, and the like.
可以理解的是,第二终端设备200的设备类型不同,第二终端设备200的状态类型也可能相应不同。例如,对于智慧屏来说,其状态类型可以包括待机状态和观看状态,观看状态是指用户正在使用智慧屏观看视频和音频等;对于墨水屏来说,其状态类型则可以包括亮屏状态和灭屏状态。It is understandable that the state type of the second terminal device 200 may be different depending on the device type of the second terminal device 200. For example, for a smart screen, its state type may include a standby state and a viewing state, and the viewing state means that the user is using the smart screen to watch videos and audio, etc.; for an ink screen, its state type may include a screen-on state and a screen-off state.
可以理解的是,第一终端设备100存储有各个第二终端设备200的设备状态信息。设备状态信息可以是各个第二终端设备200预先同步至第一终端设备100。例如,第一终端设备100向各个第二终端设备200请求设备信息时,第二终端设备200除了可以将设备信息和用户行为数据同步至第一终端设备100之外,还可以将自身的设备状态信息一并同步至第一终端设备100。It is understandable that the first terminal device 100 stores the device status information of each second terminal device 200. The device status information may be pre-synchronized from each second terminal device 200 to the first terminal device 100. For example, when the first terminal device 100 requests device information from each second terminal device 200, the second terminal device 200 may synchronize its own device status information to the first terminal device 100 in addition to synchronizing the device information and user behavior data to the first terminal device 100.
第一终端设备100向各个第二终端设备200分发目标候选结果时,可以先根据各个第二终端设备200的设备状态信息,确定各个第二终端设备200的当前状态。如果某个第二终端设备200的当前状态为第一状态,第一终端设备100则认为可以向该第二终端设备200发送对应的目标候选结果,并指示第二终端设备200直接展示目标候选结果。如果某个第二终端设备200的当前状态是第二状态,则向该第二终端设备200发送对应的目标候选结果,并指示第二终端设备200展示目标候选结果之前,展示提示信息,以提示用户是否展示目标候选结果。When the first terminal device 100 distributes target candidate results to each second terminal device 200, the current state of each second terminal device 200 can be determined based on the device state information of each second terminal device 200. If the current state of a second terminal device 200 is the first state, the first terminal device 100 considers that the corresponding target candidate result can be sent to the second terminal device 200, and instructs the second terminal device 200 to directly display the target candidate result. If the current state of a second terminal device 200 is the second state, the corresponding target candidate result is sent to the second terminal device 200, and before instructing the second terminal device 200 to display the target candidate result, prompt information is displayed to prompt the user whether to display the target candidate result.
第二终端设备200的类型不同,上述第一状态和第二状态可能不相同。例如,第二终端设备200为智慧屏时,第一状态为待机状态,第二状态为观看状态。即在判断出智慧屏当前处于待机状态时,则向智慧屏发送该智慧屏对应的目标候选结果,并指示智慧屏直接显示目标候选结果,而如果判断出智慧屏当前不处于待机状态,而是处于观看状态,则向智慧屏发送对应的目标候选结果,并指示用户显示提示信息,以提示用户是否展示目标候选结果。The type of the second terminal device 200 is different, and the above-mentioned first state and second state may be different. For example, when the second terminal device 200 is a smart screen, the first state is the standby state, and the second state is the viewing state. That is, when it is determined that the smart screen is currently in the standby state, the target candidate results corresponding to the smart screen are sent to the smart screen, and the smart screen is instructed to directly display the target candidate results. If it is determined that the smart screen is not currently in the standby state but in the viewing state, the corresponding target candidate results are sent to the smart screen, and the user is instructed to display a prompt message to prompt the user whether to display the target candidate results.
当然,在分发目标候选结果时,也可以不考虑各个第二终端设备200的设备状态信息,而是向各个第二终端设备200分发对应的目标候选结果,并指示各个第二终端设备200直接展示各个目标候选结果。Of course, when distributing target candidate results, it is also possible to ignore the device status information of each second terminal device 200 and instead distribute the corresponding target candidate results to each second terminal device 200 and instruct each second terminal device 200 to directly display each target candidate result.
如上所述,第一终端设备100除了可以主动向第二终端设备200分发目标候选结果,也可以被动向第二终端设备200分发目标候选结果。此时,第一终端设备100可以在接收到外部输入的触发指令后,再向对应的第二终端设备200分发目标候选结果。As described above, the first terminal device 100 can actively distribute target candidate results to the second terminal device 200, or passively distribute target candidate results to the second terminal device 200. At this time, the first terminal device 100 can distribute target candidate results to the corresponding second terminal device 200 after receiving a trigger instruction input from the outside.
示例性地,触发指令是用户针对目标候选结果的控件的点击指令,即第一终端设备100在检测到针对控件的点击操作后,则向该控件对应的第二终端设备200发送对应的目标候选结果。参见图6A示出的多终端协同示意图,手机61为第一终端设备100,智慧屏62、墨水屏63以及音箱64为第二终端设备200。手机61的搜索结果页面611上包括搜索框612、控件613和控件614,控件613对应智慧屏62,控件614对应墨水屏63。Exemplarily, the trigger instruction is a user's click instruction for the control of the target candidate result, that is, after the first terminal device 100 detects the click operation on the control, it sends the corresponding target candidate result to the second terminal device 200 corresponding to the control. Referring to the multi-terminal collaboration schematic diagram shown in FIG6A, the mobile phone 61 is the first terminal device 100, and the smart screen 62, the ink screen 63 and the speaker 64 are the second terminal device 200. The search result page 611 of the mobile phone 61 includes a search box 612, a control 613 and a control 614, the control 613 corresponds to the smart screen 62, and the control 614 corresponds to the ink screen 63.
手机61可以将搜索到的结果协同到智慧屏62上显示,将搜索到的电子读物协同到墨水屏上显示,将搜索到的音频内容协同到音箱上播放。The mobile phone 61 can coordinate the display of the search results on the smart screen 62, coordinate the display of the searched electronic books on the ink screen, and coordinate the playback of the searched audio content on the speaker.
具体地,用户在搜索框612输入“XXX”后,手机61则根据用户输入的信息向云端服务器发送搜索请求,并获取云端服务器返回的搜索结果,该搜索结果包括至少一个候选结果。然后,手机61再向智慧屏62、墨水屏63以及音箱64发送候选结果集合。Specifically, after the user enters "XXX" in the search box 612, the mobile phone 61 sends a search request to the cloud server according to the information entered by the user, and obtains the search results returned by the cloud server, which include at least one candidate result. Then, the mobile phone 61 sends the candidate result set to the smart screen 62, the ink screen 63 and the speaker 64.
智慧屏62接收到手机61发送的候选结果集合后,根据自身的设备类型信息、设备参数信息和用户行为数据等,对各个候选结果进行打分,得到评分结果,并将该评分结果返回至手机61。同理,墨水屏63和音箱64根据自身的设备信息和用户行为数据,对各个候选结果进行打分,并将获得的评分结果返回至手机61。
After receiving the candidate result set sent by the mobile phone 61, the smart screen 62 scores each candidate result according to its own device type information, device parameter information, and user behavior data, obtains a scoring result, and returns the scoring result to the mobile phone 61. Similarly, the ink screen 63 and the speaker 64 score each candidate result according to their own device information and user behavior data, and return the obtained scoring result to the mobile phone 61.
手机61接收到智慧屏62、墨水屏63和音箱64的评分结果后,将智慧屏62的评分结果中评分最大的候选结果确定为智慧屏62的目标候选结果。同理,将墨水屏63的评分结果中评分最大的候选结果确定为墨水屏63的目标候选结果,将音箱64的评分结果中评分最大的候选结果确定为音箱64的目标候选结果。如图6A所示,智慧屏62的目标候选结果为“XXX电视剧”,墨水屏63的目标候选结果为“XXX小说”,音箱64的目标候选结果为“XXX主题曲”(图中未示出)。After receiving the scoring results of the smart screen 62, the ink screen 63 and the speaker 64, the mobile phone 61 determines the candidate result with the highest score in the scoring results of the smart screen 62 as the target candidate result of the smart screen 62. Similarly, the candidate result with the highest score in the scoring results of the ink screen 63 is determined as the target candidate result of the ink screen 63, and the candidate result with the highest score in the scoring results of the speaker 64 is determined as the target candidate result of the speaker 64. As shown in FIG6A , the target candidate result of the smart screen 62 is “XXX TV series”, the target candidate result of the ink screen 63 is “XXX novel”, and the target candidate result of the speaker 64 is “XXX theme song” (not shown in the figure).
手机61确定出目标候选结果后,并以控件形式显示各个目标候选结果。如图6A所示,在搜索结果页面611中显示智慧屏62的目标候选结果对应的控件613,显示墨水屏63的目标候选结果对应的控件614。After the mobile phone 61 determines the target candidate results, it displays each target candidate result in the form of a control. As shown in FIG6A , the control 613 corresponding to the target candidate result of the smart screen 62 is displayed in the search result page 611, and the control 614 corresponding to the target candidate result of the ink screen 63 is displayed.
用户如果需要将手机61搜索到的“XXX电视剧”协同到智慧屏62显示,则可以点击控件613。手机61检测到针对控件613的点击操作后,则认为获取到了外部输入的触发指令,向智慧屏62发送“XXX电视剧”的相关信息。这样,智慧屏62则可以根据手机61发送的“XXX电视剧”的相关信息,获取到XXX电视剧的视频播放源并进行显示。If the user needs to coordinate the display of "XXX TV series" searched by mobile phone 61 on smart screen 62, he can click control 613. After mobile phone 61 detects the click operation on control 613, it is considered that the external input trigger instruction is obtained, and the relevant information of "XXX TV series" is sent to smart screen 62. In this way, smart screen 62 can obtain the video playback source of XXX TV series and display it according to the relevant information of "XXX TV series" sent by mobile phone 61.
同理,用户如果需要将手机61搜索到“XXX小说”协同到墨水屏63显示,则可以点击控件614。手机61检测到针对控件614的点击操作后,则可以向墨水屏63发送“XXX小说”的相关信息。这样,墨水屏63则可以根据手机61发送的信息获取到“XXX小说”并进行显示。Similarly, if the user needs to coordinate the search for "XXX novel" on the mobile phone 61 to be displayed on the ink screen 63, the user can click the control 614. After the mobile phone 61 detects the click operation on the control 614, the relevant information of "XXX novel" can be sent to the ink screen 63. In this way, the ink screen 63 can obtain "XXX novel" according to the information sent by the mobile phone 61 and display it.
可以理解的是,手机61在检测到针对控件613或控件614的点击操作后,还可以根据智慧屏62和墨水屏63的设备状态信息,确定是指示智慧屏62或墨水屏63直接显示目标候选结果,还是先显示提示信息,以提示用户是否显示目标候选结果。It is understandable that after detecting a click operation on control 613 or control 614, mobile phone 61 can also determine whether to instruct the smart screen 62 or ink screen 63 to directly display the target candidate results, or to display a prompt message first, based on the device status information of the smart screen 62 and ink screen 63, to prompt the user whether to display the target candidate results.
在图6A所示的场景,手机61在搜索结果页面611中没有显示音箱64的目标候选结果。此时,手机61默认主动向音箱64发送搜索到的音频内容,不需要用户触发。也即,手机61在确定出音箱64的目标候选结果,则主动向音箱64发送目标候选结果,以将搜索到的音箱协同到音箱上播放。In the scenario shown in FIG6A , the mobile phone 61 does not display the target candidate result of the speaker 64 in the search result page 611. At this time, the mobile phone 61 automatically sends the searched audio content to the speaker 64 by default, without the need for user triggering. That is, after the mobile phone 61 determines the target candidate result of the speaker 64, it actively sends the target candidate result to the speaker 64, so as to coordinate the searched speaker to play on the speaker.
由图6A的场景可见,通过根据第二终端设备200的信息,从搜索结果中筛选出适合各个第二终端设备200的目标候选结果,并将目标候选结果以控件形式展示在搜索结果页面,不仅便于用户从大量搜索结果中获取到适合第二终端设备200的目标候选结果,还可以便于用户将目标候选结果协同展示到第二终端设备200。As can be seen from the scenario of Figure 6A, by screening out target candidate results suitable for each second terminal device 200 from the search results based on the information of the second terminal device 200, and displaying the target candidate results in the form of controls on the search results page, it is not only convenient for users to obtain target candidate results suitable for the second terminal device 200 from a large number of search results, but also convenient for users to collaboratively display the target candidate results to the second terminal device 200.
具体来说,相较于通过投屏方式将搜索到的结果协同展示到其它终端设备的方式,本申请实施例通过控件形式将目标候选结果显示在搜索结果页面,用户只需要进行简单的操作,即可将目标候选结果协同到对应的第二终端设备200上展示,操作更加便捷,用户体验更好。Specifically, compared to the method of collaboratively displaying the search results to other terminal devices through screen projection, the embodiment of the present application displays the target candidate results on the search results page in the form of controls. The user only needs to perform simple operations to collaboratively display the target candidate results on the corresponding second terminal device 200. The operation is more convenient and the user experience is better.
值得指出的是,第一终端设备100在分发目标候选结果时,还可以根据设备类型,确定是否主动向第二终端设备200发送对应的目标候选结果。通常情况下,可以预先设置一些目标设备类型,针对这些目标设备类型,第一终端设备100可以主动将目标候选结果分发至第二终端设备200,不需要用户触发。并且,第一终端设备100可以不用在搜索结果页面中以控件形式显示该目标设备类型对应的目标候选结果。例如,如图6A所示的场景,目标设备类型为音箱,此时,手机61不在搜索结果页面611上显示音箱64的目标候选结果的控件,而是直接将目标候选结果发送至音箱64,并且还可以指示音箱64直接展示该目标候选结果,不用提示用户是否展示目标候选结果。It is worth pointing out that when distributing the target candidate results, the first terminal device 100 can also determine whether to actively send the corresponding target candidate results to the second terminal device 200 according to the device type. Usually, some target device types can be pre-set, and for these target device types, the first terminal device 100 can actively distribute the target candidate results to the second terminal device 200 without user triggering. In addition, the first terminal device 100 does not need to display the target candidate results corresponding to the target device type in the form of controls on the search results page. For example, in the scenario shown in FIG6A, the target device type is a speaker. At this time, the mobile phone 61 does not display the controls for the target candidate results of the speaker 64 on the search results page 611, but directly sends the target candidate results to the speaker 64, and can also instruct the speaker 64 to directly display the target candidate results without prompting the user whether to display the target candidate results.
当然,第一终端设备100也可以即在搜索结果页面以控件形式显示目标候选结果,还主动将目标候选结果分发至对应的第二终端设备200。例如,如图6A所示的场景,手机61不仅在搜索结果页面611上显示控件613和控件614,还主动向智慧屏62和墨水屏63发送对应的目标候选结果,不用用户点击控件613和控件614。Of course, the first terminal device 100 can also display the target candidate results in the form of controls on the search results page, and actively distribute the target candidate results to the corresponding second terminal device 200. For example, in the scenario shown in FIG6A, the mobile phone 61 not only displays controls 613 and 614 on the search results page 611, but also actively sends the corresponding target candidate results to the smart screen 62 and the ink screen 63, without the user clicking on controls 613 and 614.
第二终端设备200接收到第一终端设备100发送的目标候选结果后,可以直接展示目标候选结果,也可以经过用户确认后再展示目标候选结果。通常情况下,如果第一终端设备100指示第二终端设备200直接展示目标候选结果,第二终端设备200则直接展示目标候选结果;如果第一终端设备100指示第二终端设备200先显示提示信息,第二终端设备200则先显示提示信息。After receiving the target candidate results sent by the first terminal device 100, the second terminal device 200 can directly display the target candidate results, or display the target candidate results after confirmation by the user. Generally, if the first terminal device 100 instructs the second terminal device 200 to directly display the target candidate results, the second terminal device 200 directly displays the target candidate results; if the first terminal device 100 instructs the second terminal device 200 to display the prompt information first, the second terminal device 200 displays the prompt information first.
示例性地,参见图6B所示的多终端协同示意图,基于图6A所示的场景,假设手机61指示智慧屏62先显示提示信息,智慧屏62在接收到手机61发送的目标候选结果后,则可以显示提示窗口621。提示窗口621用于提示用户是否播放来自手机的“XXX电视剧”,如果用户选择“是”选项,智慧屏62则播放“XXX电视剧”,如果用户选择“否”选项,智慧屏62则不播放“XXX电视
剧”。For example, referring to the multi-terminal collaboration diagram shown in FIG6B , based on the scenario shown in FIG6A , assuming that the mobile phone 61 instructs the smart screen 62 to display the prompt information first, the smart screen 62 can display the prompt window 621 after receiving the target candidate result sent by the mobile phone 61. The prompt window 621 is used to prompt the user whether to play the "XXX TV series" from the mobile phone. If the user selects the "Yes" option, the smart screen 62 plays the "XXX TV series". If the user selects the "No" option, the smart screen 62 does not play the "XXX TV series". drama".
同理,假设手机61指示墨水屏63先显示提示信息,墨水屏63接收到手机61发送的目标候选结果后,则可以显示提示窗口631。提示窗口631用于提示用户是否阅读来自手机的“XXX小说”,如果用户选择“是”选项,墨水屏63则显示“XXX小说”,如果用户选择“否”选项,墨水屏63则不显示“XXX小说”。Similarly, assuming that the mobile phone 61 instructs the ink screen 63 to display the prompt information first, after the ink screen 63 receives the target candidate results sent by the mobile phone 61, the prompt window 631 can be displayed. The prompt window 631 is used to prompt the user whether to read the "XXX novel" from the mobile phone. If the user selects the "Yes" option, the ink screen 63 displays "XXX novel", and if the user selects the "No" option, the ink screen 63 does not display "XXX novel".
假设手机61指示音箱64先展示提示信息,音箱64在接收到手机61发送的目标候选结果后,则可以通过播放语音“来自手机的歌曲,是否播放”。用户可以向音箱输入语音“是”和“否”,以确认是否播放手机的歌曲。Assume that the mobile phone 61 instructs the speaker 64 to display the prompt information first, and after receiving the target candidate results sent by the mobile phone 61, the speaker 64 can play the voice "song from the mobile phone, do you want to play it?" The user can input the voice "yes" and "no" to the speaker to confirm whether to play the song from the mobile phone.
可以理解的是,第二终端设备200如果需要用户确认后再展示目标候选结果,确认方式除了可以是语音确认和按钮确认之前,还可以是面部姿势确认和实体按键确认等方式,在此不作限定。It is understandable that if the second terminal device 200 requires user confirmation before displaying the target candidate results, the confirmation method can be not only voice confirmation and button confirmation, but also facial gesture confirmation and physical button confirmation, which are not limited here.
需要指出的是,第一终端设备100在展示各个第二终端设备200的目标候选结果时,可以按照默认顺序展示各个目标候选结果,也可以根据用户输入的query的意图,展示各个目标候选结果。具体来说,获取到用户输入的query后,识别query的意图,将意图最强对应的目标候选结果排在第一位,其它的目标候选结果可以按照意图强弱进行排序,也可以随机排序或默认排序。例如,如图5所示,用户输入的query为“热爱运动”,识别出意图最强的是电视剧,则将搜索到的“热爱运动”电视剧排在第一位。It should be pointed out that when the first terminal device 100 displays the target candidate results of each second terminal device 200, it can display each target candidate result in a default order, or it can display each target candidate result according to the intent of the query input by the user. Specifically, after obtaining the query input by the user, the intent of the query is identified, and the target candidate result corresponding to the strongest intent is ranked first. Other target candidate results can be sorted according to the strength of the intent, or they can be randomly sorted or sorted by default. For example, as shown in Figure 5, the query input by the user is "love sports", and it is identified that the strongest intent is TV series, then the searched "love sports" TV series will be ranked first.
可以理解的是,第一终端设备100向第二终端设备200发送目标候选结果时,可以向第二终端设备200发送消息,该消息包括目标候选结果和其它相关信息。例如,手机可以将搜索到的“热爱运动”电视剧的网页链接地址发送给智慧屏,智慧屏根据该网页链接地址,从相应网页上获取到“热爱运动”电视剧的相关信息和视频播放源,并显示“热爱运动”电视剧的相关信息。It is understandable that when the first terminal device 100 sends the target candidate result to the second terminal device 200, a message including the target candidate result and other relevant information can be sent to the second terminal device 200. For example, the mobile phone can send the web link address of the TV series "Love Sports" that was searched to the smart screen. The smart screen obtains the relevant information and video playback source of the TV series "Love Sports" from the corresponding web page according to the web link address, and displays the relevant information of the TV series "Love Sports".
为了更好地介绍本申请实施例提供的技术方案,下面结合交互流程图进行介绍说明。In order to better introduce the technical solution provided by the embodiment of the present application, an introduction and explanation is given below in conjunction with an interactive flowchart.
示例性地,参见图7示出的搜索方法的一种交互流程示意图,该搜索方法可以包括以下步骤:For example, referring to FIG. 7 , which shows an interactive flow diagram of a search method, the search method may include the following steps:
步骤S701、第一终端设备100获取用户输入的query。Step S701: The first terminal device 100 obtains a query input by a user.
示例性地,参见图8示出的多终端设备协同示意图,用户可以在手机81的搜索框812输入“热爱运动”,此时,query则为“热爱运动”。For example, referring to the multi-terminal device collaboration schematic diagram shown in FIG8 , a user may enter “love sports” in the search box 812 of the mobile phone 81 . In this case, the query is “love sports”.
步骤S702、第一终端设备100向各个第二终端设备200发送请求,以请求获取各个第二终端设备200的信息。Step S702 : The first terminal device 100 sends a request to each second terminal device 200 to request to obtain information of each second terminal device 200 .
第二终端设备200的信息可以只包括设备信息,可以包括设备信息和设备状态信息。设备状态信息用于后续的目标候选结果分发过程。设备信息包括设备类型信息,该设备类型信息可以携带在搜索请求中。The information of the second terminal device 200 may include only device information, and may include device information and device status information. The device status information is used in the subsequent target candidate result distribution process. The device information includes device type information, which may be carried in the search request.
示例性地,如图8所示,手机81为第一终端设备100,智慧屏82、墨水屏83和音箱84均为第二终端设备200。手机81在获取到用户输入的“热爱运动”后,则向智慧屏82、墨水屏83和音箱84发送请求,以请求获取这些设备的设备类型信息和设备状态信息。智慧屏82、墨水屏83和音箱84则可以响应于请求,向手机81返回自身的设备类型信息和设备状态信息。Exemplarily, as shown in FIG8 , the mobile phone 81 is the first terminal device 100, and the smart screen 82, the ink screen 83, and the speaker 84 are all second terminal devices 200. After the mobile phone 81 obtains the user input "love sports", it sends a request to the smart screen 82, the ink screen 83, and the speaker 84 to request the device type information and device status information of these devices. The smart screen 82, the ink screen 83, and the speaker 84 can respond to the request and return their own device type information and device status information to the mobile phone 81.
步骤S703、第二终端设备200向第一终端设备100返回第二终端设备200的信息。Step S703 : The second terminal device 200 returns information of the second terminal device 200 to the first terminal device 100 .
需要指出的是,步骤S702和步骤S703可以在步骤S701之前,也可以在步骤S701之后,在此不作限定。It should be noted that step S702 and step S703 may be performed before step S701 or after step S701, which is not limited here.
步骤S704、第一终端设备100向云端服务器发送搜索请求。Step S704: The first terminal device 100 sends a search request to the cloud server.
该搜索请求携带有query和各个第二终端设备200的设备类型信息,也可以没有携带有各个第二终端设备200的设备类型信息。The search request carries a query and device type information of each second terminal device 200 , or may not carry the device type information of each second terminal device 200 .
示例性地,如图8所示,手机81获取到query,以及智慧屏82、墨水屏83和音箱84的设备类型信息后,则向云端服务器发送携带有query和所有设备类型信息的搜索请求。Exemplarily, as shown in FIG8 , after the mobile phone 81 obtains the query and the device type information of the smart screen 82 , the ink screen 83 and the speaker 84 , it sends a search request carrying the query and all device type information to the cloud server.
步骤S705、云端服务器响应于搜索请求,向第一终端设备100返回搜索结果。该搜索结果包括至少一个候选结果和自然排序。Step S705: In response to the search request, the cloud server returns search results to the first terminal device 100. The search results include at least one candidate result and a natural ranking.
可选地,云端服务器的搜索聚合在接收到搜索请求后,则可以向搜索引擎请求检索,并获取搜索引擎返回的候选结果集合;然后,云端服务器的搜索聚合根据自然排序模板对候选结果进行混排,以获得搜索结果,并第一终端设备100返回搜索结果。
Optionally, after receiving the search request, the search aggregation of the cloud server can request a retrieval from the search engine and obtain a set of candidate results returned by the search engine; then, the search aggregation of the cloud server mixes the candidate results according to the natural sorting template to obtain search results, and the first terminal device 100 returns the search results.
如果搜索请求中携带有设备类型信息,搜索聚合则基于设备类型信息,根据自然排序模板和信息量,对各个候选结果进行排序,获得排序后的候选结果,进而获得搜索结果。搜索结果包括各个候选结果和自然排序。If the search request carries device type information, the search aggregation sorts the candidate results based on the device type information, the natural sorting template and the amount of information, obtains the sorted candidate results, and then obtains the search results. The search results include the candidate results and the natural sorting.
如果搜索请求中没有携带有设备类型信息,搜索聚合则根据自然排序模板和信息量,对各个候选结果进行排序,以获得搜索结果。If the search request does not carry device type information, the search aggregation sorts the candidate results according to the natural sorting template and the amount of information to obtain the search results.
步骤S706、第一终端设备100向各个第二终端设备200发送候选结果集合。Step S706 : The first terminal device 100 sends a candidate result set to each second terminal device 200 .
步骤S707、第二终端设备200根据设备信息和用户行为数据中的至少一种,对各个候选结果进行打分,获得评分结果。该评分结果包括各个候选结果的评分。Step S707: The second terminal device 200 scores each candidate result according to at least one of the device information and the user behavior data to obtain a scoring result, which includes a score for each candidate result.
步骤S708、第二终端设备200向第一终端设备100发送评分结果。Step S708 : The second terminal device 200 sends the scoring result to the first terminal device 100 .
步骤S709、第一终端设备100根据各个第二终端设备200的评分结果,确定各个第二终端设备200的目标候选结果,并展示各个目标候选结果。Step S709 : The first terminal device 100 determines target candidate results for each second terminal device 200 according to the scoring results of each second terminal device 200 , and displays each target candidate result.
可以理解的是,第一终端设备100可以在搜索结果界面显示目标候选结果的信息,该目标候选结果的信息包括第一信息和第二信息。例如,第一终端设备100以控件显示目标候选结果。It is understandable that the first terminal device 100 can display information of the target candidate result on the search result interface, and the information of the target candidate result includes the first information and the second information. For example, the first terminal device 100 displays the target candidate result with a control.
步骤S710、第一终端设备100向各个第二终端设备200分发对应的目标候选结果。Step S710: The first terminal device 100 distributes corresponding target candidate results to each second terminal device 200.
示例性地,如图8所示,假设智慧屏82返回的评分结果中,“热爱运动”电视剧的评分最高,手机81则确定智慧屏82的目标候选结果为“热爱运动”电视剧。同理,墨水屏83返回的评分结果中,“热爱运动”小说的评分最高,手机81则确定墨水屏83的目标候选结果为“热爱运动”小说。音箱84返回的评分结果中,“热爱运动”电视剧的主题曲的评分最高,手机81则将“热爱运动”主题曲确定为音箱84的目标候选结果。For example, as shown in FIG8 , assuming that among the scoring results returned by the smart screen 82, the TV series "Love Sports" has the highest score, the mobile phone 81 determines that the target candidate result of the smart screen 82 is the TV series "Love Sports". Similarly, among the scoring results returned by the ink screen 83, the novel "Love Sports" has the highest score, and the mobile phone 81 determines that the target candidate result of the ink screen 83 is the novel "Love Sports". Among the scoring results returned by the speaker 84, the theme song of the TV series "Love Sports" has the highest score, and the mobile phone 81 determines the theme song "Love Sports" as the target candidate result of the speaker 84.
手机81确定智慧屏82、墨水屏83和音箱84的目标候选结果之后,则将智慧屏82和墨水屏83的目标候选结果以控件形式显示在搜索结果页面811上,分别为控件813和控件814。并且,手机81在搜索结果中去除目标候选结果后,根据自然排序将剩余的候选结果也一并显示在搜索结果页面811,即图8的搜索结果页面811中除了控件813和控件814之外,还显示有演员表和热爱运动收视率如何等候选结果。After the mobile phone 81 determines the target candidate results of the smart screen 82, the ink screen 83 and the speaker 84, the target candidate results of the smart screen 82 and the ink screen 83 are displayed on the search result page 811 in the form of controls, which are respectively controls 813 and 814. In addition, after the mobile phone 81 removes the target candidate results from the search results, the remaining candidate results are also displayed on the search result page 811 according to the natural sorting, that is, in addition to controls 813 and 814, the search result page 811 of Figure 8 also displays candidate results such as the cast and the ratings of the sports lover.
在图8所示的场景,手机81在搜索结果页面811上不以控件形式显示音箱84的目标候选结果,而是直接向音箱84发送“热爱运动”主题曲,以指示音箱84播放“热爱运动”主题曲。In the scenario shown in FIG. 8 , the mobile phone 81 does not display the target candidate result of the speaker 84 in the form of a control on the search result page 811 , but directly sends the “Love Sports” theme song to the speaker 84 to instruct the speaker 84 to play the “Love Sports” theme song.
而针对智慧屏82和墨水屏83的目标候选结果,手机81可以在检测到针对控件的点击操作后,再分发目标候选结果;也可以直接分发目标候选结果。并且,手机81向智慧屏82或墨水屏83发送目标候选结果时,可以根据智慧屏82或墨水屏83的设备状态信息进行分发。如果智慧屏82当前处于待机状态,手机81则可以向智慧屏82发送“热爱运动”电视剧,并指示智慧屏82直接显示“热爱运动”电视剧,此时智慧屏82根据手机81发送的信息,通过互联网从后台服务器获取“热爱运动”电视剧的视频源和相关信息,并基于获取到的视频源和相关信息,显示播放界面821。如果智慧屏82处于观看状态,即用户正在使用智慧屏82,手机81则向智慧屏82发送“热爱运动”电视剧,并指示智慧屏82先显示提示信息,以提示用户是否播放“热爱运动”电视剧,在用户同意播放的时候,则显示播放界面821。As for the target candidate results of the smart screen 82 and the ink screen 83, the mobile phone 81 can distribute the target candidate results after detecting the click operation on the control; or it can directly distribute the target candidate results. In addition, when the mobile phone 81 sends the target candidate results to the smart screen 82 or the ink screen 83, it can be distributed according to the device status information of the smart screen 82 or the ink screen 83. If the smart screen 82 is currently in standby mode, the mobile phone 81 can send the "Love Sports" TV series to the smart screen 82 and instruct the smart screen 82 to directly display the "Love Sports" TV series. At this time, the smart screen 82 obtains the video source and related information of the "Love Sports" TV series from the background server through the Internet according to the information sent by the mobile phone 81, and displays the playback interface 821 based on the obtained video source and related information. If the smart screen 82 is in the viewing state, that is, the user is using the smart screen 82, the mobile phone 81 sends the "Love Sports" TV series to the smart screen 82, and instructs the smart screen 82 to display the prompt information first to prompt the user whether to play the "Love Sports" TV series. When the user agrees to play, the playback interface 821 is displayed.
同理,手机81向墨水屏83发送“热爱运动”小说,并指示墨水屏83直接显示“热爱运动”小说。而墨水屏83根据手机81发送的信息,通过互联网获取到“热爱运动”小说,并显示界面831。Similarly, the mobile phone 81 sends the novel "Love Sports" to the ink screen 83, and instructs the ink screen 83 to directly display the novel "Love Sports". The ink screen 83 obtains the novel "Love Sports" through the Internet according to the information sent by the mobile phone 81, and displays the interface 831.
由上可见,本申请实施例通过根据第二终端设备200的设备信息和用户行为数据的至少一种,从搜索结果中筛选出适合第二终端设备200的目标候选结果,并展示该目标候选结果,以及展示该目标候选结果和第二终端设备200的对应关系,便于用户可以大量搜索结果中更好地获取到适合第二终端设备200的候选结果。进一步地,本申请实施例还通过将目标候选结果显示在非目标候选结果之前,并且以控件形式显示各个目标候选结果,使得用户不仅可以更好地获取到适合第二终端设备200的候选结果,还可以使得用户可以通过简单便捷地的操作,即可将第一终端设备100搜索到的结果协同展示到第二终端设备200,用户体验更好。As can be seen from the above, the embodiment of the present application selects target candidate results suitable for the second terminal device 200 from the search results based on at least one of the device information and user behavior data of the second terminal device 200, and displays the target candidate results, as well as the corresponding relationship between the target candidate results and the second terminal device 200, so that the user can better obtain the candidate results suitable for the second terminal device 200 from a large number of search results. Furthermore, the embodiment of the present application also displays the target candidate results before the non-target candidate results, and displays each target candidate result in the form of a control, so that the user can not only better obtain the candidate results suitable for the second terminal device 200, but also allows the user to display the results searched by the first terminal device 100 to the second terminal device 200 in a coordinated manner through simple and convenient operations, which provides a better user experience.
又示例性地,参见图9示出的搜索方法的一种交互流程示意图,该搜索方法可以包括以下步骤:As another example, referring to FIG. 9 , which shows an interactive flow diagram of a search method, the search method may include the following steps:
步骤S901、第一终端设备100获取用户输入的query。
Step S901: The first terminal device 100 obtains a query input by a user.
步骤S902、第一终端设备100向各个第二终端设备200发送请求,以请求获取各个第二终端设备200的信息。Step S902 : The first terminal device 100 sends a request to each second terminal device 200 to request to obtain information of each second terminal device 200 .
第二终端设备200的信息可以包括设备信息、用户行为数据和设备状态信息。设备状态信息用于后续的目标候选结果分发过程。用户行为数据和设备信息可以用于后续的评分过程。设备信息包括设备类型信息,该设备类型信息可以携带在搜索请求中。The information of the second terminal device 200 may include device information, user behavior data, and device status information. The device status information is used in the subsequent target candidate result distribution process. The user behavior data and device information may be used in the subsequent scoring process. The device information includes device type information, which may be carried in the search request.
步骤S903、第二终端设备200向第一终端设备100返回第二终端设备200的信息。Step S903 : The second terminal device 200 returns information of the second terminal device 200 to the first terminal device 100 .
步骤S904、第一终端设备100向云端服务器发送搜索请求。Step S904: The first terminal device 100 sends a search request to the cloud server.
可以理解的是,步骤S902和步骤S903可以在步骤S901之前,也可以在步骤S901之后,在此不作限定。It can be understood that step S902 and step S903 may be before step S901 or after step S901, which is not limited here.
步骤S905、云端服务器响应于搜索请求,向第一终端设备100返回搜索结果,该搜索结果包括至少一个候选结果和自然排序。Step S905: The cloud server returns search results to the first terminal device 100 in response to the search request. The search results include at least one candidate result and a natural ranking.
步骤S906、第一终端设备100根据各个第二终端设备200的设备信息和用户行为数据中至少一种,对各个候选结果进行打分,获得各个第二终端设备200的评分结果。Step S906 : The first terminal device 100 scores each candidate result according to at least one of the device information and user behavior data of each second terminal device 200 , and obtains a scoring result of each second terminal device 200 .
向各个第二终端设备200发送候选结果集合。The candidate result set is sent to each second terminal device 200 .
步骤S907、第一终端设备100根据各个第二终端设备200的评分结果,确定各个第二终端设备200的目标候选结果,并展示各个目标候选结果。Step S907 : The first terminal device 100 determines target candidate results for each second terminal device 200 according to the scoring results of each second terminal device 200 , and displays each target candidate result.
步骤S908、第一终端设备100向各个第二终端设备200分发对应的目标候选结果。Step S908 : The first terminal device 100 distributes corresponding target candidate results to each second terminal device 200 .
通过对比可知,图7中由第二终端设备200对各个候选结果进行打分,而图9中由第一终端设备100对各个候选结果进行打分,因此图9中需要将第二终端设备200的设备信息和用户行为数据同步至第一终端设备100。图7和图9的相同之处可以相互参见,在此不再赘述。图9相较于图7,由第二终端设备200对候选结果进行打分,节约了第一终端设备100的计算资源开销。By comparison, it can be seen that in FIG7, the second terminal device 200 scores each candidate result, while in FIG9, the first terminal device 100 scores each candidate result, so in FIG9, the device information and user behavior data of the second terminal device 200 need to be synchronized to the first terminal device 100. The similarities between FIG7 and FIG9 can be referred to each other, and will not be repeated here. Compared with FIG7, FIG9 has the second terminal device 200 score the candidate results, which saves the computing resource overhead of the first terminal device 100.
又示例性地,参见图10示出的搜索方法的一种流程示意图,该搜索方法可以包括以下步骤:As another example, referring to a flowchart of a search method shown in FIG10 , the search method may include the following steps:
步骤S1001、第一终端设备100获取用户输入的query,向各个第二终端设备200发送query。Step S1001: The first terminal device 100 obtains a query input by a user, and sends the query to each second terminal device 200.
步骤S1002、第一终端设备100向云端服务器发送搜索请求,第二终端设备200向云端服务器发送搜索请求。Step S1002: The first terminal device 100 sends a search request to the cloud server, and the second terminal device 200 sends a search request to the cloud server.
步骤S1003、第一终端设备100获取云端服务器返回的搜索结果,第二终端设备200获取云端服务器返回的搜索结果。Step S1003: The first terminal device 100 obtains the search results returned by the cloud server, and the second terminal device 200 obtains the search results returned by the cloud server.
示例性地,query为用户通过搜索框输入的“热爱运动”。第一终端设备100获取到“热爱运动”后,向云端服务器发送携带有query的搜索请求。云端服务器响应于第一终端设备100的搜索请求,向第一终端设备100返回搜索结果,该搜索结果包括至少一个候选结果和自然排序。For example, the query is "love sports" entered by the user through the search box. After the first terminal device 100 obtains "love sports", it sends a search request carrying the query to the cloud server. In response to the search request of the first terminal device 100, the cloud server returns the search results to the first terminal device 100, and the search results include at least one candidate result and a natural ranking.
第一终端设备100还将query“热爱运动”分发至各个第二终端设备200。第二终端设备200也向云端服务器发送携带有query的搜索请求。云端服务器响应于各个第二终端设备200的搜索请求,分别向各个第二终端设备200返回对应的搜索结果。The first terminal device 100 also distributes the query "love sports" to each second terminal device 200. The second terminal device 200 also sends a search request carrying the query to the cloud server. The cloud server responds to the search request of each second terminal device 200 and returns the corresponding search results to each second terminal device 200.
也即,第一终端设备100和第二终端设备200都向云端服务器发送搜索请求,并均可以接收到云端服务器针对搜索请求返回的搜索结果。That is, the first terminal device 100 and the second terminal device 200 both send search requests to the cloud server, and both can receive search results returned by the cloud server in response to the search requests.
可以理解的是,第一终端设备100的搜索结果和第二终端设备200的搜索结果可能不同,并且,各个第二终端设备200的搜索结果也可能不同。其中,搜索结果包括至少一个候选结果和自然排序。It is understandable that the search results of the first terminal device 100 and the search results of the second terminal device 200 may be different, and the search results of each second terminal device 200 may also be different. The search results include at least one candidate result and a natural ranking.
步骤S1004、第二终端设备200根据自身的设备信息和用户行为数据中的至少一种,对搜索结果中的各个候选结果进行打分,获得评分结果,并将评分结果返回至第一终端设备100。Step S1004 : The second terminal device 200 scores each candidate result in the search results according to at least one of its own device information and user behavior data, obtains a scoring result, and returns the scoring result to the first terminal device 100 .
步骤S1005、第二终端设备200根据评分结果确定目标候选结果,并展示目标候选结果。Step S1005: The second terminal device 200 determines target candidate results according to the scoring results and displays the target candidate results.
具体地,第二终端设备200可以根据评分结果中各个候选结果的评分高低,对各个候选结果进行重新排序,并将评分最高的候选结果确定为目标候选结果。在确定目标候选结果之后,则直接展示目标候选结果。例如,智慧屏获取到云端服务器返回的搜索结果之后,根据设备信息和用户行为数据进行评分,获得评分结果,并根据评分结果确定出“热爱运动”电视剧为目标候选结果,则可以显示“热爱运动”电视剧。Specifically, the second terminal device 200 can reorder each candidate result according to the score of each candidate result in the scoring result, and determine the candidate result with the highest score as the target candidate result. After determining the target candidate result, the target candidate result is directly displayed. For example, after the smart screen obtains the search results returned by the cloud server, it scores according to the device information and user behavior data to obtain the scoring results, and determines that the "Love Sports" TV series is the target candidate result based on the scoring results, then the "Love Sports" TV series can be displayed.
当然,第二终端设备200除了可以将评分结果返回给第一终端设备100,也可以直接将确定出的目标候选结果返回给第一终端设备100。
Of course, in addition to returning the scoring result to the first terminal device 100 , the second terminal device 200 may also directly return the determined target candidate result to the first terminal device 100 .
步骤S1006、第一终端设备100根据各个第二终端设备200的评分结果,展示各个第二终端设备200的目标候选结果。Step S1006 : The first terminal device 100 displays target candidate results for each second terminal device 200 according to the scoring results of each second terminal device 200 .
示例性地,第一终端设备100根据各个第二终端设备200的目标候选结果,以控件形式展示各个目标候选结果。例如,如图8所示,手机81根据智慧屏82和墨水屏83返回的评分结果或者目标候选结果,在搜索结果页面显示控件813和控件814,除此之外,手机81还根据云端服务器返回的搜索结果,以及各个目标候选结果,显示剩余的候选结果,具体可以在搜索结果去除目标候选结果后,再按照自然排序展示搜索结果中剩余的候选结果。Exemplarily, the first terminal device 100 displays each target candidate result in the form of a control according to the target candidate results of each second terminal device 200. For example, as shown in FIG8 , the mobile phone 81 displays controls 813 and 814 on the search results page according to the scoring results or target candidate results returned by the smart screen 82 and the ink screen 83. In addition, the mobile phone 81 also displays the remaining candidate results according to the search results returned by the cloud server and each target candidate result. Specifically, after removing the target candidate result from the search results, the remaining candidate results in the search results can be displayed in natural order.
相较于图7和图9,本实施例中的第一终端设备100不用将目标候选结果分发至各个第二终端设备200,而是将用户输入的query分发给各个第二终端设备200,由各个第二终端设备200根据query向云端服务器发送搜索请求,并根据云端服务器返回的搜索结果,确定出目标候选结果后,直接展示目标候选结果。Compared with Figures 7 and 9, the first terminal device 100 in this embodiment does not distribute the target candidate results to each second terminal device 200, but distributes the query input by the user to each second terminal device 200, and each second terminal device 200 sends a search request to the cloud server according to the query, and after determining the target candidate results based on the search results returned by the cloud server, directly displays the target candidate results.
示例性地,参见图11示出的搜索方法的一种流程示意图,该搜索方法可以包括以下步骤:For example, referring to a flowchart of a search method shown in FIG11 , the search method may include the following steps:
步骤S1101、第一终端设备100获取搜索信息。Step S1101: The first terminal device 100 obtains search information.
步骤S1102、第一终端设备100向云端服务器发送搜索请求,搜索请求包括搜索信息。Step S1102: The first terminal device 100 sends a search request to the cloud server, where the search request includes search information.
搜索请求除了可以包括搜索请求,还可以包括各个第二终端设备200的设备类型信息。该设备类型信息用于聚合排序。In addition to the search request, the search request may also include device type information of each second terminal device 200. The device type information is used for aggregate sorting.
步骤S1103、第一终端设备100接收来自云端服务器的搜索结果,搜索结果是云端服务器响应于搜索请求返回的结果,搜索结果包括至少一个候选结果。Step S1103: The first terminal device 100 receives search results from the cloud server. The search results are results returned by the cloud server in response to the search request. The search results include at least one candidate result.
步骤S1104、第一终端设备100展示至少一个目标候选结果的信息,目标候选结果的信息包括第一信息和第二信息,第一信息用于描述目标候选结果,第二信息用于描述目标候选结果对应的第二终端设备,目标候选结果为根据第二终端设备的信息从搜索结果中筛选出的候选结果。Step S1104, the first terminal device 100 displays information about at least one target candidate result, the information about the target candidate result includes first information and second information, the first information is used to describe the target candidate result, and the second information is used to describe the second terminal device corresponding to the target candidate result, and the target candidate result is a candidate result filtered out from the search results based on the information of the second terminal device.
第二终端设备200的信息可以包括设备信息,也可以包括设备信息和用户行为数据。设备信息可以包括设备类型信息和设备参数信息中的至少一种。The information of the second terminal device 200 may include device information, or may include device information and user behavior data. The device information may include at least one of device type information and device parameter information.
可选地,第一终端设备100可以在确定出至少一个第二终端设备200的目标候选结果后,再在搜索结果页面显示各个目标候选结果的信息。Optionally, after determining the target candidate result of at least one second terminal device 200, the first terminal device 100 may display information of each target candidate result on the search result page.
在一种可能的实现方式中,第一终端设备100可以将候选结果和各个第二终端设备200的设备类型进行简单映射,以确定出各个第二终端设备200的目标候选结果。In a possible implementation, the first terminal device 100 may simply map the candidate results and the device types of each second terminal device 200 to determine the target candidate results of each second terminal device 200 .
在另一种可能的实现方式中,可以根据各个第二终端设备200的评分结果,根据评分结果确定目标候选结果。In another possible implementation, the target candidate result may be determined according to the scoring results of each second terminal device 200 .
当评分过程在第二终端设备200一侧进行时,第一终端设备100可以将候选结果集合发送至各个第二终端设备200,由第二终端设备200根据自身的设备信息和用户行为数据中的至少一种,对各个候选结果进行打分,获得评分结果。When the scoring process is performed on the second terminal device 200 side, the first terminal device 100 can send the candidate result set to each second terminal device 200, and the second terminal device 200 scores each candidate result according to at least one of its own device information and user behavior data to obtain a scoring result.
当评分过程在第一终端设备100一侧进行时,第一终端设备100获取各个第二终端设备200的设备信息和用户行为数据中的至少一种,并针对各个第二终端设备200,根据设备信息和用户行为数据中的至少一种,对各个候选结果进行打分,以获得评分结果。When the scoring process is performed on the first terminal device 100 side, the first terminal device 100 obtains at least one of the device information and user behavior data of each second terminal device 200, and scores each candidate result according to at least one of the device information and user behavior data of each second terminal device 200 to obtain a scoring result.
第一终端设备100获取到评分结果后,可以将评分结果中评分最大的候选结果确定为目标候选结果,也可以将评分结果中评分大于预设阈值的候选结果确定为目标候选结果。After the first terminal device 100 obtains the scoring results, it can determine the candidate result with the highest score in the scoring results as the target candidate result, or it can determine the candidate result with a score greater than a preset threshold in the scoring results as the target candidate result.
在一种可能的实现方式中,第一终端设备100可以根据各个第二终端设备的目标候选结果,显示各个目标候选结果的控件;其中,控件包括第一信息和/或第二信息。例如,参见图8示出的场景,控件813中显示有“热爱运动电视剧,去智慧屏观看”。其中,“热爱运动电视剧”则为上述第一信息,“智慧屏”则为上述第二信息。In a possible implementation, the first terminal device 100 may display controls for each target candidate result according to the target candidate results of each second terminal device; wherein the control includes the first information and/or the second information. For example, referring to the scene shown in FIG8 , the control 813 displays “Love sports TV series, watch on the smart screen”. Among them, “Love sports TV series” is the first information, and “smart screen” is the second information.
第一终端设备100除了可以展示各个目标候选结果之外,还可以展示剩余的候选结果。此时,可以根据搜索结果中的排序(即自然排序),展示剩余候选结果集合中的各个候选结果。其中,剩余候选结果集合包括从候选结果集合中去除目标候选结果后剩余的候选结果。In addition to displaying each target candidate result, the first terminal device 100 can also display the remaining candidate results. At this time, each candidate result in the remaining candidate result set can be displayed according to the sorting in the search results (i.e., natural sorting). Among them, the remaining candidate result set includes the candidate results remaining after removing the target candidate result from the candidate result set.
为了让用户更好地获取到适合第二终端设备200的目标候选结果,当目标候选结果和剩余的候选结果显示在同一搜索结果页面,在搜索结果页面中,目标候选结果的显示位置在剩余的候选结果的显示位置之前。
In order to allow the user to better obtain target candidate results suitable for the second terminal device 200, when the target candidate results and the remaining candidate results are displayed on the same search result page, the display position of the target candidate results is before the display position of the remaining candidate results in the search result page.
第一终端设备100除了可以展示目标候选结果之外,还可以向第二终端设备发送对应的目标候选结果,以指示第二终端设备展示目标候选结果。In addition to displaying the target candidate results, the first terminal device 100 may also send the corresponding target candidate results to the second terminal device to instruct the second terminal device to display the target candidate results.
在一种可能的实现方式中,如果第一终端设备100以控件形式展示各个目标候选结果,第一终端设备100在检测到针对控件的操作,则响应于操作,向控件对应的第二终端设备发送对应的目标候选结果。In one possible implementation, if the first terminal device 100 displays each target candidate result in the form of a control, upon detecting an operation on the control, the first terminal device 100 sends the corresponding target candidate result to the second terminal device corresponding to the control in response to the operation.
当然,在另一种可能的实现方式中,第一终端设备100也可以主动分发各个目标候选结果,不用用户触发。Of course, in another possible implementation, the first terminal device 100 may also actively distribute various target candidate results without being triggered by the user.
在一种可能的实现方式中,为了提高用户体验,第一终端设备100在分发目标候选结果时,还可以根据各个第二终端设备200的设备状态信息进行分发。具体来说,第一终端设备100可以根据设备状态信息,确定第二终端设备的当前状态;若当前状态为第一状态,则向第二终端设备发送对应的所述目标候选结果和第一指示信息,第一指示信息用于指示第二终端设备直接展示所述目标候选结果;若当前状态为第二状态,则向第二终端设备发送对应的目标候选结果和第二指示信息,第二指示信息用于指示第二终端设备展示提示信息,提示信息用于提示是否展示目标候选结果。In a possible implementation, in order to improve user experience, when distributing target candidate results, the first terminal device 100 may also distribute them according to the device status information of each second terminal device 200. Specifically, the first terminal device 100 may determine the current state of the second terminal device according to the device status information; if the current state is the first state, the corresponding target candidate result and first indication information are sent to the second terminal device, and the first indication information is used to instruct the second terminal device to directly display the target candidate result; if the current state is the second state, the corresponding target candidate result and second indication information are sent to the second terminal device, and the second indication information is used to instruct the second terminal device to display prompt information, and the prompt information is used to prompt whether to display the target candidate result.
参见图12示出的终端设备1200的结构示意框图,该终端设备1200可以包括但不限于处理器1210、存储器1220、通信模块1230和天线。Referring to the structural schematic block diagram of a terminal device 1200 shown in FIG12 , the terminal device 1200 may include, but is not limited to, a processor 1210 , a memory 1220 , a communication module 1230 , and an antenna.
可以理解的是,本申请实施例示意的结构并不构成对终端设备1200的具体限定。在本申请另一些实施例中,终端设备1200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。例如,终端设备1200还可以包括音频模块、扬声器和显示屏等。又例如,终端设备1200还包括以下至少一项:通用串行总线(universal serial bus,USB)接口,充电管理模块,电源管理模块,电池,音频模块,扬声器,受话器,麦克风,耳机接口,传感器模块,按键,马达,指示器,摄像头,显示屏,以及用户标识模块(subscriber identification module,SIM)卡接口等。其中传感器模块可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 1200. In other embodiments of the present application, the terminal device 1200 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. For example, the terminal device 1200 may also include an audio module, a speaker, and a display screen. For another example, the terminal device 1200 also includes at least one of the following: a universal serial bus (USB) interface, a charging management module, a power management module, a battery, an audio module, a speaker, a receiver, a microphone, an earphone interface, a sensor module, a button, a motor, an indicator, a camera, a display screen, and a subscriber identification module (SIM) card interface. The sensor module may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
处理器1210可以包括一个或多个处理单元,例如:处理器1210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。Processor 1210 may include one or more processing units. For example, processor 1210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. The controller can generate operation control signals based on instruction opcodes and timing signals to complete the control of instruction fetching and execution.
存储器1220可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。存储器1220可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备1200使用过程中所创建的数据(比如音频数据等)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器1210通过运行存储在存储器1220的指令,和/或存储在设置于处理器中的存储器的指令,执行终端设备1200的各种功能应用以及数据处理。The memory 1220 may be used to store computer executable program codes, which include instructions. The memory 1220 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data (such as audio data, etc.) created during the use of the terminal device 1200, etc. In addition, the memory 1220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 1210 executes various functional applications and data processing of the terminal device 1200 by running instructions stored in the memory 1220 and/or instructions stored in a memory provided in the processor.
通信模块1230可以包括移动通信模块和/或无线通信模块。The communication module 1230 may include a mobile communication module and/or a wireless communication module.
终端设备1200的通信功能可以通过天线、移动通信模块、无线通信模块、调制解调处理器以及基带处理器等实现。The communication function of the terminal device 1200 can be implemented through an antenna, a mobile communication module, a wireless communication module, a modem processor, a baseband processor, etc.
天线用于发射和接收电磁波信号。移动通信模块可以提供应用在终端设备1200上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块可以由天线接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块还可以对经调制解调处理器调制后的信号放大,经天线转为电磁波辐射出去。在一些实施例中,移动通信模块的至少部分功能模块可以被设置于处理器1210中。在一些实施例中,移动通信模块的至少部分功能模块可以与处理器1210的至少部分模块被设置在同一个器件中。
The antenna is used to transmit and receive electromagnetic wave signals. The mobile communication module can provide solutions for wireless communications including 2G/3G/4G/5G applied to the terminal device 1200. The mobile communication module may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module can receive electromagnetic waves from the antenna, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna. In some embodiments, at least some of the functional modules of the mobile communication module may be arranged in the processor 1210. In some embodiments, at least some of the functional modules of the mobile communication module may be arranged in the same device as at least some of the modules of the processor 1210.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器等)输出声音信号。The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs the sound signal through an audio device (not limited to a speaker, etc.).
无线通信模块可以提供应用在终端设备1200上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块经由天线接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器1210。无线通信模块还可以从处理器1210接收待发送的信号,对其进行调频,放大,经天线转为电磁波辐射出去。The wireless communication module can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 1200. The wireless communication module can be one or more devices integrating at least one communication processing module. The wireless communication module receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 1210. The wireless communication module can also receive the signal to be sent from the processor 1210, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
本申请实施例中,终端设备1200可以第一终端设备100或第二终端设备200。In the embodiment of the present application, the terminal device 1200 may be the first terminal device 100 or the second terminal device 200 .
本申请实施例提供的终端设备,可以包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现如上述方法实施例中任一项的方法。The terminal device provided in the embodiment of the present application may include a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method as described in any one of the above method embodiments is implemented.
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时实现可实现上述各个方法实施例中的步骤。An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
本申请实施例还提供一种芯片系统,所述芯片系统包括处理器,所述处理器与存储器耦合,所述处理器执行存储器中存储的计算机程序,以实现如上述各个方法实施例所述的方法。所述芯片系统可以为单个芯片,或者多个芯片组成的芯片模组。The present application also provides a chip system, which includes a processor coupled to a memory, and the processor executes a computer program stored in the memory to implement the methods described in the above method embodiments. The chip system can be a single chip or a chip module composed of multiple chips.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。此外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments. It should be understood that the size of the sequence number of each step in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in the description of the present application specification and the attached claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance. The reference "one embodiment" or "some embodiments" described in the present application specification means that one or more embodiments of the present application include specific features, structures or characteristics described in combination with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in the different parts of this specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (27)
- 一种搜索方法,其特征在于,应用于第一终端设备,所述方法包括:A search method, characterized in that it is applied to a first terminal device, and the method comprises:获取搜索信息;Get search information;向云端服务器发送搜索请求,所述搜索请求包括所述搜索信息;Sending a search request to a cloud server, wherein the search request includes the search information;接收来自所述云端服务器的搜索结果,所述搜索结果是所述云端服务器响应于所述搜索请求返回的结果,所述搜索结果包括至少一个候选结果;receiving a search result from the cloud server, the search result being a result returned by the cloud server in response to the search request, the search result including at least one candidate result;展示至少一个目标候选结果的信息,所述目标候选结果的信息包括第一信息和第二信息,所述第一信息用于描述所述目标候选结果,所述第二信息用于描述所述目标候选结果对应的第二终端设备,所述目标候选结果为根据所述第二终端设备的信息从所述搜索结果中筛选出的候选结果。Display information of at least one target candidate result, wherein the information of the target candidate result includes first information and second information, wherein the first information is used to describe the target candidate result, and the second information is used to describe a second terminal device corresponding to the target candidate result, and the target candidate result is a candidate result filtered out from the search results based on the information of the second terminal device.
- 根据权利要求1所述的方法,其特征在于,展示至少一个目标候选结果的信息,包括:The method according to claim 1, characterized in that displaying information of at least one target candidate result comprises:确定至少一个所述第二终端设备的所述目标候选结果;Determine the target candidate result of at least one of the second terminal devices;在搜索结果页面显示各个所述目标候选结果的信息。The information of each target candidate result is displayed on the search result page.
- 根据权利要求2所述的方法,其特征在于,确定至少一个所述第二终端设备的所述目标候选结果,包括:The method according to claim 2, characterized in that determining the target candidate result of at least one second terminal device comprises:获取各个所述第二终端设备的评分结果,所述评分结果为根据所述第二终端设备的信息对各个所述候选结果进行打分获得的结果;Obtaining a scoring result for each of the second terminal devices, where the scoring result is a result obtained by scoring each of the candidate results according to the information of the second terminal device;根据各个所述第二终端设备的所述评分结果,确定各个所述第二终端设备的所述目标候选结果。The target candidate result of each second terminal device is determined according to the scoring result of each second terminal device.
- 根据权利要求3所述的方法,其特征在于,获取各个所述第二终端设备的评分结果,包括:The method according to claim 3, characterized in that obtaining the scoring result of each second terminal device comprises:向各个所述第二终端设备发送候选结果集合,所述候选结果集合包括所述候选结果;Sending a candidate result set to each of the second terminal devices, the candidate result set including the candidate result;接收来自各个所述第二终端设备的所述评分结果,所述评分结果为所述第二终端设备根据设备信息和用户行为数据中的至少一种对各个所述候选结果进行打分获得的结果;Receiving the scoring result from each of the second terminal devices, where the scoring result is a result obtained by the second terminal device scoring each of the candidate results according to at least one of device information and user behavior data;其中,所述第二终端设备的信息包括所述设备信息和所述用户行为数据中的至少一种。The information of the second terminal device includes at least one of the device information and the user behavior data.
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, characterized in that the method further comprises:接收来自各个所述第二终端设备的信息,所述第二终端设备的信息包括设备信息和用户行为数据中的至少一种;receiving information from each of the second terminal devices, where the information of the second terminal devices includes at least one of device information and user behavior data;获取各个所述第二终端设备的评分结果,包括:Obtaining the scoring results of each of the second terminal devices includes:针对各个所述第二终端设备,根据所述设备信息和所述用户行为数据中的至少一种对各个所述候选结果进行打分,获得所述第二终端设备的所述评分结果。For each of the second terminal devices, score each of the candidate results according to at least one of the device information and the user behavior data to obtain the scoring result of the second terminal device.
- 根据权利要求5所述的方法,其特征在于,根据所述设备信息和所述用户行为数据对各个所述候选结果进行打分,获得所述第二终端设备的所述评分结果,包括:The method according to claim 5, characterized in that scoring each of the candidate results according to the device information and the user behavior data to obtain the scoring result of the second terminal device comprises:将所述设备信息、所述用户行为数据和所有所述候选结果输入至预先训练完成的打分模型,获得所述打分模型输出的所述评分结果,所述评分结果包括各个所述候选结果的评分。The device information, the user behavior data and all the candidate results are input into a pre-trained scoring model to obtain the scoring result output by the scoring model, wherein the scoring result includes the score of each candidate result.
- 根据权利要求6所述的方法,其特征在于,所述设备信息包括设备类型信息,或者设备类型信息和设备参数信息。The method according to claim 6 is characterized in that the device information includes device type information, or device type information and device parameter information.
- 根据权利要求3至7任一项所述的方法,其特征在于,评分结果包括各个所述候选结果的评分,所述目标候选结果包括所述评分最大的所述候选结果,或所述评分大于预设阈值的所述候选结果。The method according to any one of claims 3 to 7 is characterized in that the scoring result includes the scores of each of the candidate results, and the target candidate result includes the candidate result with the largest score, or the candidate result with a score greater than a preset threshold.
- 根据权利要求2至8任一项所述的方法,其特征在于,在搜索结果页面显示各个所述目标候选结果的信息,包括:The method according to any one of claims 2 to 8, characterized in that the information of each target candidate result is displayed on the search result page, including:在所述搜索结果页面显示各个所述目标候选结果的控件;所述控件包括所述第一信息和所述第二信息。A control for displaying each of the target candidate results is displayed on the search result page; the control includes the first information and the second information.
- 根据权利要求9所述的方法,其特征在于,所述搜索结果包括所述候选结果的排序;所述方法还包括:The method according to claim 9, wherein the search results include a ranking of the candidate results; the method further comprises:根据所述排序展示剩余候选结果集合中的各个所述候选结果;Display each of the candidate results in the remaining candidate result set according to the ranking;其中,所述剩余候选结果集合包括从所述候选结果集合中去除所述目标候选结果后剩余的候选结果;所述目标候选结果和所述剩余的候选结果显示在同一所述搜索结果页面,在所述搜索结果页 面中,所述目标候选结果的显示位置在所述剩余的候选结果的显示位置之前。The remaining candidate result set includes the candidate results remaining after removing the target candidate result from the candidate result set; the target candidate result and the remaining candidate results are displayed on the same search result page. In the display of the target candidate result, the display position of the target candidate result is before the display positions of the remaining candidate results.
- 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, characterized in that the method further comprises:向所述第二终端设备发送对应的所述目标候选结果,以指示所述第二终端设备展示所述目标候选结果。The corresponding target candidate result is sent to the second terminal device to instruct the second terminal device to display the target candidate result.
- 根据权利要求11所述的方法,其特征在于,向所述第二终端设备发送对应的所述目标候选结果,包括:The method according to claim 11, characterized in that sending the corresponding target candidate result to the second terminal device comprises:若检测到针对所述控件的操作,则响应于所述操作,向所述控件对应的所述第二终端设备发送对应的所述目标候选结果。If an operation on the control is detected, the corresponding target candidate result is sent to the second terminal device corresponding to the control in response to the operation.
- 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method according to claim 12, characterized in that the method further comprises:获取各个所述第二终端设备的设备状态信息;Acquire device status information of each of the second terminal devices;向所述第二终端设备发送对应的所述目标候选结果,还包括:Sending the corresponding target candidate result to the second terminal device also includes:根据所述设备状态信息,确定所述第二终端设备的当前状态;Determining a current state of the second terminal device according to the device state information;若所述当前状态为第一状态,则向所述第二终端设备发送对应的所述目标候选结果和第一指示信息,所述第一指示信息用于指示所述第二终端设备直接展示所述目标候选结果;If the current state is the first state, sending the corresponding target candidate result and first indication information to the second terminal device, where the first indication information is used to instruct the second terminal device to directly display the target candidate result;若所述当前状态为第二状态,则向所述第二终端设备发送对应的所述目标候选结果和第二指示信息,所述第二指示信息用于指示所述第二终端设备展示提示信息,所述提示信息用于提示是否展示所述目标候选结果。If the current state is the second state, the corresponding target candidate result and second indication information are sent to the second terminal device, the second indication information is used to instruct the second terminal device to display prompt information, and the prompt information is used to prompt whether to display the target candidate result.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, characterized in that the method further comprises:接收来自各个所述第二终端设备的设备类型信息;Receiving device type information from each of the second terminal devices;所述搜索请求还包括各个所述第二终端设备的所述设备类型信息。The search request also includes the device type information of each of the second terminal devices.
- 一种搜索系统,其特征在于,包括第一终端设备和至少一个第二终端设备:A search system, comprising a first terminal device and at least one second terminal device:所述第一终端设备用于:获取搜索信息;向云端服务器发送搜索请求,所述搜索请求包括所述搜索信息;接收来自所述云端服务器的搜索结果,所述搜索结果是所述云端服务器响应于所述搜索请求返回的结果,所述搜索结果包括至少一个候选结果;展示至少一个目标候选结果的信息,所述目标候选结果的信息包括第一信息和第二信息,所述第一信息用于描述所述目标候选结果,所述第二信息用于描述所述目标候选结果对应的所述第二终端设备,所述目标候选结果为根据所述第二终端设备的信息从所述搜索结果中筛选出的候选结果。The first terminal device is used to: obtain search information; send a search request to a cloud server, the search request including the search information; receive search results from the cloud server, the search results are the results returned by the cloud server in response to the search request, and the search results include at least one candidate result; display information about at least one target candidate result, the information about the target candidate result includes first information and second information, the first information is used to describe the target candidate result, and the second information is used to describe the second terminal device corresponding to the target candidate result, and the target candidate result is a candidate result screened from the search results based on the information of the second terminal device.
- 根据权利要求15所述的系统,其特征在于,所述第一终端设备具体用于:The system according to claim 15, characterized in that the first terminal device is specifically used for:获取各个所述第二终端设备的评分结果,所述评分结果为根据所述第二终端设备的信息对各个所述候选结果进行打分获得的结果;Obtaining a scoring result for each of the second terminal devices, where the scoring result is a result obtained by scoring each of the candidate results according to the information of the second terminal device;根据各个所述第二终端设备的所述评分结果,确定各个所述第二终端设备的所述目标候选结果。The target candidate result of each second terminal device is determined according to the scoring result of each second terminal device.
- 根据权利要求16所述的系统,其特征在于,所述第一终端设备具体用于:向各个所述第二终端设备发送候选结果集合,所述候选结果集合包括所述候选结果;The system according to claim 16, characterized in that the first terminal device is specifically used to: send a candidate result set to each of the second terminal devices, the candidate result set including the candidate result;所述第二终端设备具体用于:根据设备信息和用户行为数据中的至少一种,对各个所述候选结果进行打分,获得所述评分结果;向所述第一终端设备发送所述评分结果,其中,所述第二终端设备的信息包括所述设备信息和所述用户行为数据中的至少一种;The second terminal device is specifically used to: score each of the candidate results according to at least one of the device information and the user behavior data to obtain the scoring result; send the scoring result to the first terminal device, wherein the information of the second terminal device includes at least one of the device information and the user behavior data;所述第一终端设备具体用于:接收来自各个所述第二终端设备的所述评分结果。The first terminal device is specifically used to receive the scoring results from each of the second terminal devices.
- 根据权利要求16所述的系统,其特征在于,所述第一终端设备还用于:接收来自各个所述第二终端设备的信息,所述第二终端设备的信息包括设备信息和用户行为数据中的至少一种;The system according to claim 16, characterized in that the first terminal device is further used to: receive information from each of the second terminal devices, the information of the second terminal device including at least one of device information and user behavior data;所述第一终端设备具体用于:针对各个所述第二终端设备,根据所述设备信息和所述用户行为数据中的至少一种对各个所述候选结果进行打分,获得所述第二终端设备的所述评分结果。The first terminal device is specifically used for: for each of the second terminal devices, scoring each of the candidate results according to at least one of the device information and the user behavior data, to obtain the scoring result of the second terminal device.
- 根据权利要求17或18所述的系统,其特征在于,所述第一终端设备或所述第二终端设备具体用于:将所述设备信息、所述用户行为数据和所有所述候选结果输入至预先训练完成的打分模型,获得所述打分模型输出的所述评分结果,所述评分结果包括各个所述候选结果的评分。The system according to claim 17 or 18 is characterized in that the first terminal device or the second terminal device is specifically used to: input the device information, the user behavior data and all the candidate results into a pre-trained scoring model to obtain the scoring result output by the scoring model, and the scoring result includes the score of each candidate result.
- 根据权利要求16至18任一项所述的系统,其特征在于,所述评分结果包括各个所述候选结果的评分,所述目标候选结果包括所述评分最大的所述候选结果,或所述评分大于预设阈值的所述候选结果。 The system according to any one of claims 16 to 18, characterized in that the scoring result includes the scores of each of the candidate results, and the target candidate result includes the candidate result with the largest score, or the candidate result with a score greater than a preset threshold.
- 根据权利要求15至20任一项所述的系统,其特征在于,所述第一终端设备具体用于:在搜索结果页面显示各个所述目标候选结果的控件;其中,所述控件包括所述第一信息和所述第二信息。The system according to any one of claims 15 to 20 is characterized in that the first terminal device is specifically used to: display a control for each of the target candidate results on a search results page; wherein the control includes the first information and the second information.
- 根据权利要求21所述的系统,其特征在于,所述搜索结果包括所述候选结果的排序;所述第一终端设备还用于:根据所述排序展示剩余候选结果集合中的各个所述候选结果;The system according to claim 21, characterized in that the search results include a ranking of the candidate results; and the first terminal device is further used to: display each of the candidate results in the remaining candidate result set according to the ranking;其中,所述剩余候选结果集合包括从所述候选结果集合中去除所述目标候选结果后剩余的候选结果;所述目标候选结果和所述剩余的候选结果显示在同一所述搜索结果页面,在所述搜索结果页面中,所述目标候选结果的显示位置在所述剩余的候选结果的显示位置之前。Among them, the remaining candidate result set includes the candidate results remaining after removing the target candidate result from the candidate result set; the target candidate result and the remaining candidate results are displayed on the same search result page, and in the search result page, the display position of the target candidate result is before the display position of the remaining candidate results.
- 根据权利要求21所述的系统,其特征在于,所述第一终端设备还用于:向所述第二终端设备发送对应的所述目标候选结果;The system according to claim 21, characterized in that the first terminal device is further used to: send the corresponding target candidate result to the second terminal device;所述第二终端设备还用于:接收所述目标候选结果,并展示所述目标候选结果。The second terminal device is further used to: receive the target candidate result and display the target candidate result.
- 根据权利要求23所述的系统,其特征在于,所述第一终端设备具体用于:The system according to claim 23, characterized in that the first terminal device is specifically used for:若检测到针对所述控件的操作,则响应于所述操作,向所述控件对应的所述第二终端设备发送对应的所述目标候选结果。If an operation on the control is detected, the corresponding target candidate result is sent to the second terminal device corresponding to the control in response to the operation.
- 根据权利要求24所述的系统,其特征在于,The system according to claim 24, characterized in that所述第一终端设备还用于:获取各个所述第二终端设备的设备状态信息;根据所述设备状态信息,确定所述第二终端设备的当前状态;若所述当前状态为第一状态,则向所述第二终端设备发送对应的所述目标候选结果和第一指示信息,所述第一指示信息用于指示所述第二终端设备直接展示所述目标候选结果;若所述当前状态为第二状态,则向所述第二终端设备发送对应的所述目标候选结果和第二指示信息,所述第二指示信息用于指示所述第二终端设备展示提示信息,所述提示信息用于提示是否展示所述目标候选结果。The first terminal device is also used to: obtain device status information of each second terminal device; determine the current status of the second terminal device based on the device status information; if the current status is the first status, send the corresponding target candidate result and first indication information to the second terminal device, and the first indication information is used to instruct the second terminal device to directly display the target candidate result; if the current status is the second status, send the corresponding target candidate result and second indication information to the second terminal device, and the second indication information is used to instruct the second terminal device to display prompt information, and the prompt information is used to prompt whether to display the target candidate result.
- 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至14任一项所述的方法。A terminal device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 14 when executing the computer program.
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至14任一项所述的方法。 A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 14.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211303981.8A CN117932176A (en) | 2022-10-24 | 2022-10-24 | Search system, method, terminal device, and computer-readable storage medium |
CN202211303981.8 | 2022-10-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024087960A1 true WO2024087960A1 (en) | 2024-05-02 |
Family
ID=90754399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/120298 WO2024087960A1 (en) | 2022-10-24 | 2023-09-21 | Search system and method, terminal device, and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117932176A (en) |
WO (1) | WO2024087960A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111221845A (en) * | 2019-12-31 | 2020-06-02 | 华为技术有限公司 | Cross-device information searching method and terminal device |
US10999636B1 (en) * | 2014-10-27 | 2021-05-04 | Amazon Technologies, Inc. | Voice-based content searching on a television based on receiving candidate search strings from a remote server |
CN114528466A (en) * | 2020-11-23 | 2022-05-24 | 上海哔哩哔哩科技有限公司 | Search result display method, device and system |
CN114579819A (en) * | 2020-11-30 | 2022-06-03 | 华为技术有限公司 | Information sorting method and electronic equipment |
-
2022
- 2022-10-24 CN CN202211303981.8A patent/CN117932176A/en active Pending
-
2023
- 2023-09-21 WO PCT/CN2023/120298 patent/WO2024087960A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10999636B1 (en) * | 2014-10-27 | 2021-05-04 | Amazon Technologies, Inc. | Voice-based content searching on a television based on receiving candidate search strings from a remote server |
CN111221845A (en) * | 2019-12-31 | 2020-06-02 | 华为技术有限公司 | Cross-device information searching method and terminal device |
CN114528466A (en) * | 2020-11-23 | 2022-05-24 | 上海哔哩哔哩科技有限公司 | Search result display method, device and system |
CN114579819A (en) * | 2020-11-30 | 2022-06-03 | 华为技术有限公司 | Information sorting method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN117932176A (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11030987B2 (en) | Method for selecting background music and capturing video, device, terminal apparatus, and medium | |
US11409817B2 (en) | Display apparatus and method of controlling the same | |
KR101123217B1 (en) | Scalable visual search system simplifying access to network and device functionality | |
US11350413B2 (en) | Display apparatus and method of setting operating channel of the same | |
WO2020249091A1 (en) | Voice interaction method, apparatus, and system | |
CN109657236B (en) | Guidance information acquisition method, apparatus, electronic apparatus, and storage medium | |
EP3583515A1 (en) | Determining search queries for obtaining information during a user experience of an event | |
WO2020134560A1 (en) | Live broadcast room switching method and apparatus, and terminal, server and storage medium | |
WO2022100221A1 (en) | Retrieval processing method and apparatus, and storage medium | |
EP2835981A1 (en) | Information processing device, information processing method, and program | |
WO2024120355A1 (en) | Association information display method and apparatus, device, storage medium, and program product | |
JP2016502189A (en) | Virtual directory creation method, apparatus, electronic apparatus, program, and recording medium | |
CN114579819A (en) | Information sorting method and electronic equipment | |
CN113241097A (en) | Recording method, recording device, electronic equipment and readable storage medium | |
CN113190307A (en) | Control adding method, device, equipment and storage medium | |
CN114564604A (en) | Media collection generation method and device, electronic equipment and storage medium | |
WO2022262366A1 (en) | Cross-device dialogue service connection method, system, electronic device, and storage medium | |
CN113039513B (en) | Recommendation method for candidate content of input method and electronic equipment | |
KR20160117933A (en) | Display apparatus for performing a search and Method for controlling display apparatus thereof | |
CN107688617B (en) | Multimedia service method and mobile terminal | |
CN117524223A (en) | Voice interaction method, device, equipment and storage medium | |
WO2024087960A1 (en) | Search system and method, terminal device, and computer readable storage medium | |
CN105843865B (en) | Media file playing method and device | |
CN112328829A (en) | Video content retrieval method and device | |
CN108897774B (en) | Method, device and storage medium for acquiring news hotspots |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23881539 Country of ref document: EP Kind code of ref document: A1 |