A multimedia resource recommendation method and device, electronic equipment and storage medium
By calculating the number and frequency of wireless fidelity devices to determine user interest scores, the problem of servers recommending videos that users are not interested in is solved, thus achieving more efficient multimedia resource recommendation.
Patent Information
- Application Number
- CN202210841503.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-18
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2042-07-18
AI Technical Summary
In existing technologies, when servers recommend videos based solely on distance, they may recommend videos that users are not interested in, leading to a decrease in the effectiveness and accuracy of video recommendations.
By determining the number of Wi-Fi devices and the number of times the second account scans Wi-Fi devices within a preset time period, an interest score is calculated, and multimedia resources are recommended to the user when the interest score reaches a threshold.
It improves the effectiveness and accuracy of multimedia resource recommendations, ensuring that the recommended resources meet users' interests and needs.
Smart Images

Figure CN115238106B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of Internet, and particularly relates to a multimedia resource recommendation method and device, electronic equipment and storage medium. BACKGROUND
[0002] At present, a server can determine whether to recommend a video of a user to another user based on a distance between the user and the another user. Specifically, when the distance is close, the server can determine to recommend the video of the user to the another user.
[0003] However, in the above method, the process that the server determines whether to recommend the video of the user to the another user based on the distance can be unreasonable. For example, although the distance between the user and the another user is close, the another user can not be interested in the video of the user, that is, the server will recommend the video of the user which the another user is not interested in to the another user, which cannot meet the demand of the another user for video recommendation, and reduces the effectiveness and accuracy of video recommendation. SUMMARY
[0004] The present disclosure provides a multimedia resource recommendation method and device, electronic equipment and storage medium, which solves the problem that in the related art, a server will recommend a video of a user which the user is not interested in to the user, which cannot meet the demand of the another user for video recommendation, and reduces the effectiveness and accuracy of video recommendation.
[0005] The technical solutions of the embodiments of the present disclosure are as follows.
[0006] According to a first aspect of the embodiments of the present disclosure, a multimedia resource recommendation method is provided. The method can include: determining a number of at least one wireless fidelity device and a number of times that a second account scans an identifier of each wireless fidelity device in the at least one wireless fidelity device within a preset time period, the identifier of the at least one wireless fidelity device being an identifier of a wireless fidelity device that is commonly scanned by the second account and a first account within the preset time period, and a distance between position information of the each wireless fidelity device and position information of a to-be-recommended multimedia resource of the first account being less than or equal to a distance threshold, the first account being one of a plurality of accounts, and the second account being an account other than the first account in the plurality of accounts; determining an interest score of the second account according to the number of the at least one wireless fidelity device and the number of times that the second account scans the identifier of the each wireless fidelity device within the preset time period, the interest score of the second account being used to represent a degree of interest of the second account in the to-be-recommended multimedia resource; and determining to recommend the to-be-recommended multimedia resource to the second account when the interest score of the second account is greater than or equal to a score threshold.
[0007] Optionally, the preset time period includes a plurality of time points, and the multimedia resource recommendation method further includes: obtaining the report information of each account in each time point of the plurality of accounts, wherein the report information of an account in a time point includes the identity of the wireless fidelity device scanned by the account in the time point; determining the identities of at least two wireless fidelity devices according to the report information of the first account in each time point and the report information of the second account in each time point, the identities of the at least two wireless fidelity devices being the identities of the wireless fidelity devices commonly scanned by the second account and the first account in the plurality of time points; and determining that the preset wireless fidelity device belongs to the at least one wireless fidelity device when the distance between the location information of the preset wireless fidelity device and the location information of the multimedia resource to be recommended is less than or equal to the distance threshold, the preset wireless fidelity device being one of the at least two wireless fidelity devices.
[0008] Optionally, the identities of the wireless fidelity devices scanned by the second account in each time point include the identities of the wireless fidelity devices connected by the second account in each time point, and the multimedia resource recommendation method further includes: determining whether the location information of the second account in each time point is included in the report information of the second account in each time point; and determining the location information of the wireless fidelity device connected by the second account in each time point according to the location information of the second account in each time point and the number of reports of the location information of each time point within the preset time period when the location information of the second account in each time point is included in the report information of the second account in each time point.
[0009] Optionally, the multimedia resource recommendation method further includes: determining the location score of other wireless fidelity devices when the location information of the second account in each time point is not included in the report information of the second account in each time point, the other wireless fidelity devices being the wireless fidelity devices corresponding to the identities other than the identity of the wireless fidelity device connected by the second account in each time point in each report information including a preset identity within the preset time period, the preset identity being the identity other than the identity of the wireless fidelity device connected by the second account in each time point in the identities of the wireless fidelity devices scanned by the second account in each time point, the location score of the other wireless fidelity devices being used to represent the similarity between the location information of the other wireless fidelity devices and the location information of the wireless fidelity device connected by the second account in each time point; and determining the location information of the other wireless fidelity device with the largest location score as the location information of the wireless fidelity device connected by the second account in each time point.
[0010] Optionally, the other wireless fidelity devices include a first wireless fidelity device and a second wireless fidelity device, and the multimedia resource recommendation method further includes: determining whether the preset identifier includes an identifier of the first wireless fidelity device and an identifier of the second wireless fidelity device; when the preset identifier includes the identifier of the first wireless fidelity device and does not include the identifier of the second wireless fidelity device, configuring a first distance parameter and a second distance parameter for the first wireless fidelity device and the second wireless fidelity device respectively, the first distance parameter being smaller than the second distance parameter; and the determining the position score of the other wireless fidelity device includes: determining the position score of each wireless fidelity device in the other wireless fidelity devices according to the number of times that the identifier of each wireless fidelity device in the other wireless fidelity devices is scanned in the preset time period and the distance parameter configured for each wireless fidelity device in the other wireless fidelity devices.
[0011] Optionally, the multimedia resource recommendation method further includes: determining wireless fidelity scanning information of the plurality of accounts, wherein the wireless fidelity scanning information of an account includes identifiers of a plurality of wireless fidelity devices scanned by the account in the preset time period; generating a preset correspondence relationship based on the wireless fidelity scanning information of the plurality of accounts, the preset correspondence relationship including identifiers of M wireless fidelity devices and account identifiers corresponding to the identifiers of the M wireless fidelity devices respectively, wherein the account identifier corresponding to an identifier of a wireless fidelity device is an identifier of an account that scans the identifier of the wireless fidelity device in the preset time period, and M>1; determining the account identifier corresponding to the identifier of each wireless fidelity device in the at least one wireless fidelity device according to the identifier of each wireless fidelity device in the at least one wireless fidelity device and the preset correspondence relationship; and determining the account identifier of the second account as an account identifier other than the account identifier of the first account in the account identifiers corresponding to the identifier of each wireless fidelity device in the at least one wireless fidelity device.
[0012] According to a second aspect of the embodiments of the present disclosure, a multimedia resource recommendation apparatus is provided. The apparatus can include a determination module configured to determine a number of at least one wireless fidelity device and a number of times that a second account scans an identity of each of the at least one wireless fidelity device within a preset time period, the identity of the at least one wireless fidelity device being an identity of a wireless fidelity device that is commonly scanned by the second account and a first account within the preset time period, and a distance between location information of the each of the wireless fidelity device and location information of a multimedia resource to be recommended for the first account being less than or equal to a distance threshold, the first account being one of a plurality of accounts, and the second account being an account other than the first account among the plurality of accounts; the determination module is further configured to determine an interest score of the second account according to the number of the at least one wireless fidelity device and the number of times that the second account scans the identity of the each of the wireless fidelity device within the preset time period, the interest score of the second account being used to represent a degree of interest of the second account in the multimedia resource to be recommended; and the determination module is further configured to determine to recommend the multimedia resource to be recommended for the second account when the interest score of the second account is greater than or equal to a score threshold.
[0013] Optionally, the preset time period includes a plurality of time points, and the multimedia resource recommendation apparatus further includes an acquisition module configured to acquire report information of each of the plurality of accounts at each of the plurality of time points, wherein the report information of an account at a time point includes an identity of a wireless fidelity device scanned by the account at the time point; the determination module is further configured to determine identities of at least two wireless fidelity devices according to the report information of the first account at each of the time points and the report information of the second account at each of the time points, the identities of the at least two wireless fidelity devices being identities of wireless fidelity devices that are commonly scanned by the second account and the first account among the plurality of time points; and the determination module is further configured to determine that a preset wireless fidelity device belongs to the at least one wireless fidelity device when a distance between location information of the preset wireless fidelity device and location information of the multimedia resource to be recommended is less than or equal to the distance threshold, the preset wireless fidelity device being one of the at least two wireless fidelity devices.
[0014] Optionally, the second account includes the identity of the wireless fidelity device connected by the second account at each time in the identity of the wireless fidelity device scanned by the second account at each time, and the determining module is further configured to determine whether the second account includes the location information of the second account at each time in the report information of the second account at each time; and the determining module is further configured to, when the second account includes the location information of the second account at each time in the report information of the second account at each time, determine the location information of the wireless fidelity device connected by the second account at each time according to the location information of the second account at each time and the number of times of reporting the location information of the second account at each time within the preset time period.
[0015] Optionally, the determining module is further configured to, when the second account does not include the location information of the second account at each time in the report information of the second account at each time, determine the location score of other wireless fidelity devices, the other wireless fidelity devices being the wireless fidelity devices corresponding to the identities other than the identity of the wireless fidelity device connected by the second account at each time in each report information including a preset identity within the preset time period, the preset identity being the identity other than the identity of the wireless fidelity device connected by the second account at each time in the identity of the wireless fidelity device scanned by the second account at each time, the location score of the other wireless fidelity devices being used to represent the similarity between the location information of the other wireless fidelity devices and the location information of the wireless fidelity device connected by the second account at each time; and the determining module is further configured to determine the location information of the other wireless fidelity device with the largest location score as the location information of the wireless fidelity device connected by the second account at each time.
[0016] Optionally, the other wireless fidelity devices include a first wireless fidelity device and a second wireless fidelity device, and the multimedia resource recommendation apparatus further includes a processing module; the determining module is further configured to determine whether the identity of the first wireless fidelity device and the identity of the second wireless fidelity device are included in the preset identity; and the processing module is configured to, when the identity of the first wireless fidelity device is included in the preset identity and the identity of the second wireless fidelity device is not included in the preset identity, configure a first distance parameter and a second distance parameter for the first wireless fidelity device and the second wireless fidelity device respectively, the first distance parameter being smaller than the second distance parameter; and the determining module is specifically configured to determine the location score of each wireless fidelity device in the other wireless fidelity devices according to the number of times of scanning the identity of each wireless fidelity device in the other wireless fidelity devices within the preset time period and the distance parameter configured for each wireless fidelity device in the other wireless fidelity devices.
[0017] Optionally, the determining module is further configured to determine wireless fidelity scanning information of the plurality of accounts, wherein the wireless fidelity scanning information of an account includes identities of a plurality of wireless fidelity devices scanned by the account in the preset time period; the processing module is further configured to generate a preset correspondence relationship based on the wireless fidelity scanning information of the plurality of accounts, the preset correspondence relationship including identities of M wireless fidelity devices and account identities corresponding to the identities of the M wireless fidelity devices respectively, wherein the account identity corresponding to an identity of a wireless fidelity device is an identity of an account that scans the identity of the wireless fidelity device in the preset time period, and M>1; the determining module is further configured to determine, according to the identity of each wireless fidelity device in the at least one wireless fidelity device and the preset correspondence relationship, the account identity corresponding to the identity of each wireless fidelity device in the at least one wireless fidelity device; and the determining module is further configured to determine, as the account identity of the second account, an account identity in the account identities corresponding to the identities of the at least one wireless fidelity device except for the account identity of the first account.
[0018] According to a third aspect of embodiments of the present disclosure, an electronic device can include a processor and a memory configured to store processor-executable instructions; and wherein the processor is configured to execute the instructions to implement any of the optional multimedia resource recommendation methods of the first aspect.
[0019] According to a fourth aspect of embodiments of the present disclosure, a computer-readable storage medium is provided, and the computer-readable storage medium stores instructions, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform any of the optional multimedia resource recommendation methods of the first aspect.
[0020] According to a fifth aspect of embodiments of the present disclosure, a computer program product is provided, and the computer program product includes computer instructions, and when the computer instructions are executed on a processor of an electronic device, the electronic device performs any of the optional multimedia resource recommendation methods of the first aspect.
[0021] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:
[0022] Based on any of the above aspects, in the present disclosure, the server can determine the number of the at least one wireless fidelity device and the number of times the second account scans each wireless fidelity device in the at least one wireless fidelity device in the preset time period. Since the identity of the at least one wireless fidelity device is the identity of the wireless fidelity device scanned by the second account and the first account in the preset time period, and the distance between the location information of each wireless fidelity device and the location information of the multimedia resource to be recommended for the first account is less than or equal to the distance threshold. In this way, the server determines the interest score of the second account according to the number of the at least one wireless fidelity device and the number of times the second account scans the identity of each wireless fidelity device in the preset time period, that is, the server can determine the interest score of the second account according to the number of the at least one wireless fidelity device scanned by the second account and the first account, and the frequency of the second account scanning each wireless fidelity device in the at least one wireless fidelity device. In addition, when the interest score of the second account is greater than or equal to the interest score threshold, it indicates that the second account is interested in the multimedia resource to be recommended (it can also be understood that the second account is an account interested in the multimedia resource to be recommended), so the server can recommend the multimedia resource to be recommended to the second account. In the embodiment of the present disclosure, the server can determine the interest degree of the second account in the multimedia resource to be recommended based on the number of wireless fidelity devices scanned by an account (for example, the second account) and the account (that is, the first account) of the multimedia resource to be recommended, and determine to recommend the multimedia resource to be recommended to the second account based on the interest degree. Since the account (that is, the second account) recommended the multimedia resource to be recommended is an account interested in the multimedia resource to be recommended, the multimedia resource to be recommended can meet the demand of the second account for multimedia resource recommendation, and the effectiveness and accuracy of multimedia resource recommendation can be improved.
[0023] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0024] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure, and do not constitute an improper limitation on the present disclosure.
[0025] Figure 1 A schematic diagram of a multimedia resource recommendation system is shown, which is provided by an embodiment of the present disclosure;
[0026] Figure 2 A flowchart of a multimedia resource recommendation method is shown, which is provided by an embodiment of the present disclosure;
[0027] Figure 3 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown;
[0028] Figure 4 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown;
[0029] Figure 5 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown;
[0030] Figure 6 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown;
[0031] Figure 7 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown;
[0032] Figure 8 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown;
[0033] Figure 9 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown;
[0034] Figure 10 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown;
[0035] Figure 11 A flowchart of another multimedia resource recommendation method provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0036] In order to make the ordinary person skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below in conjunction with the drawings.
[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0038] It should also be understood that the term "comprising" indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and / or components.
[0039] It should be noted that the user information (including but not limited to user device information, user personal information, user behavior information, etc.) and data (including but not limited to the identification of the wireless fidelity device scanned by the account within a preset time period) involved in the present disclosure are information and data authorized by the user or authorized by all parties.
[0040] In the related art, when the server recommends videos for a user based on distance, the user may be recommended videos that the user is not interested in, which cannot meet the needs of the other user for video recommendation, and reduces the effectiveness and accuracy of video recommendation.
[0041] Based on this, the embodiment of the present disclosure provides a multimedia resource recommendation method, the server can determine the interest degree of a second account in a to-be-recommended multimedia resource based on the number of wireless fidelity devices scanned by the second account and the first account together and the frequency of the second account scanning the wireless fidelity device, and determine to recommend the to-be-recommended multimedia resource to the second account based on the interest degree. Since the account (i.e. the second account) recommended to the to-be-recommended multimedia resource is an account interested in the to-be-recommended multimedia resource, the to-be-recommended multimedia resource can meet the needs of the second account for multimedia resource recommendation, and can improve the effectiveness and accuracy of multimedia resource recommendation.
[0042] The multimedia resource recommendation method, device, electronic device and storage medium provided by the embodiment of the present disclosure are applied to the multimedia resource recommendation scene. When the server determines the number of at least one wireless fidelity device and the number of times the second account scans the identification of each wireless fidelity scanning information in the at least one wireless fidelity device within a preset time period, the interest score of the second account can be determined according to the method provided by the embodiment of the present disclosure, and when the interest score of the second account is greater than or equal to the score threshold, the to-be-recommended multimedia resource is recommended to the second account.
[0043] The multimedia resource recommendation method provided by the embodiment of the present disclosure is exemplarily described below in combination with the drawings:
[0044] Figure 1 A multimedia resource recommendation system provided by the embodiment of the present disclosure is shown in FIG. 1, which can include a terminal 101 and a server 102. The terminal 101 can establish a connection between the terminal 101 and the server 102 through a wired network or a wireless network. Figure 1 As shown in FIG. 1, the multimedia resource recommendation system can include a terminal 101 and a server 102, and the terminal 101 can establish a connection between the terminal 101 and the server 102 through a wired network or a wireless network.
[0045] The terminal 101 can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) / virtual reality (VR) device. This disclosure does not impose any special restrictions on the specific form of the terminal 101. It can interact with the user through one or more methods such as a keyboard, touchpad, touchscreen, remote control, voice interaction, or handwriting device.
[0046] Server 102 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN) services, as well as big data and artificial intelligence platforms.
[0047] Specifically, terminal 101 can send its multimedia resources to server 102.
[0048] Server 102 can send multimedia resources from other terminals to terminal 101.
[0049] In the following embodiments, an electronic device executing the multimedia resource recommendation method provided in the embodiments of this disclosure is used as a server to illustrate the multimedia resource recommendation method provided in the embodiments of this disclosure.
[0050] like Figure 2 As shown, the multimedia resource recommendation method provided in this embodiment may include S101-S103.
[0051] S101, The server determines the number of at least one Wi-Fi device and the number of times the second account scans the identifier of each of the at least one Wi-Fi device within a preset time period.
[0052] The identity of the at least one wireless fidelity device is an identity of a wireless fidelity device scanned by the second account and the first account together within the preset time period, and the distance between the location information of each wireless fidelity device and the location information of the multimedia resource to be recommended for the first account is less than or equal to a distance threshold, the first account being one of the plurality of accounts, and the second account being an account other than the first account in the plurality of accounts.
[0053] It should be understood that for each of the plurality of accounts, the identity of a plurality of wireless fidelity (WiFi) devices scanned by the each account (in particular, a terminal used by the each account) within the preset time period. And for each of the plurality of wireless fidelity devices, the identity of the each wireless fidelity device can be scanned by the each account within the preset time period, or can be scanned by the each account multiple times.
[0054] It should be noted that the length of time represented by the preset time period can be one hour, one day, one week, etc., and the present embodiment does not specifically limit the length of time represented by the preset time period.
[0055] The multimedia resource in the present embodiment can include video, audio, text, and pictures, etc.
[0056] In an implementation manner of the present embodiment, the first account can be understood as a creator (or anchor account) of the multimedia resource to be recommended, and the creator can send (or report) the multimedia resource to be recommended, the location information of the multimedia resource to be recommended, the identity of the multimedia resource to be recommended, the timestamp of the multimedia resource to be recommended, and the identity of the creator to the server through a terminal used by the creator. The second account can be understood as a viewer account.
[0057] It should be noted that the number of the second accounts can be one or multiple, and the present embodiment does not specifically limit the number of the second accounts.
[0058] In an optional implementation manner, the server can store the multimedia resource to be recommended, the location information of the multimedia resource to be recommended, the identity of the multimedia resource to be recommended, the timestamp of the multimedia resource to be recommended, and the identity of the creator, etc. to a certain database (hereinafter referred to as a collection database) to facilitate subsequent data query and use of the location information of the multimedia resource to be recommended.
[0059] Optionally, the position information involved in the embodiments of the present disclosure (i.e., the position information of the wireless fidelity device and the position information of the multimedia resource to be recommended) can be represented in the form of latitude and longitude. The position information of the multimedia resource to be recommended can be the first account-selected position information, which can be the position information related to (or near) the multimedia resource to be recommended.
[0060] Optionally, the server can not obtain (or store) the position information of the multimedia resource to be recommended, or the position information of the multimedia resource to be recommended is invalid (e.g., incorrect position information, or position information outside the preset area, etc.), at which time the server can re-obtain valid position information of the multimedia resource to be recommended.
[0061] S102, the server determines the interest score of the second account according to the number of at least one wireless fidelity device and the number of times the second account scans the identity of each wireless fidelity device in the at least one wireless fidelity device within a preset time period.
[0062] The interest score of the second account is used to represent the degree of interest of the second account in the multimedia resource to be recommended.
[0063] In an implementation form of the embodiments of the present disclosure, the server can determine the number of times the second account scans the at least one wireless fidelity device within a preset time period (hereinafter referred to as the first number and), and specifically, the first number and is the sum of the number of times the second account scans the identity of each wireless fidelity device in the at least one wireless fidelity device within the preset time period. Then, the server can determine the product of the number of the at least one wireless fidelity device and the first number and as the interest score of the second account.
[0064] In another implementation form of the embodiments of the present disclosure, the server can further configure a first weight parameter (e.g., 0.3) for the number of the at least one wireless fidelity device, and a second weight parameter (e.g., 0.7) for the first number and. Then the server can determine the sum of the first product (i.e., the product of the number of the at least one wireless fidelity device and the first weight parameter) and the second product (i.e., the product of the first number and and the second weight parameter) as the interest score of the second account. The server can weight and aggregate the number of the at least one wireless fidelity device (which can be understood as the number) and the number of times the identity of each wireless fidelity device in the at least one wireless fidelity device is scanned (which can be understood as the frequency) to accurately and effectively determine the interest score of the second account.
[0065] S103, when the interest score of the second account is greater than or equal to the score threshold, the server determines to recommend the multimedia resource to be recommended to the second account.
[0066] It should be understood that when the interest score of the second account is greater than or equal to the score threshold, it means that the interest score of the second account is relatively large, and the second account is relatively interested in the to-be-recommended multimedia resource (it can also be understood that the second account is an account interested in the to-be-recommended multimedia resource). At this time, the server can determine to recommend the to-be-recommended multimedia resource to the second account. Specifically, the server can send a link or a cover of the to-be-recommended multimedia resource to a terminal used by the second account.
[0067] Optionally, when the interest score of the second account is less than the score threshold, it means that the interest score of the second account is relatively small, and the second account can not be interested in the to-be-recommended multimedia resource (or it can be understood that the second account is not an account interested in the to-be-recommended multimedia resource). At this time, the server can determine whether to recommend the to-be-recommended multimedia resource to other accounts based on the interest scores of the other accounts.
[0068] For example, assuming that the at least one wireless fidelity device is three wireless fidelity devices, including a wireless fidelity device 1, a wireless fidelity device 2, and a wireless fidelity device 3. The second account scans the identities of the three wireless fidelity devices for 1 time, 2 times, and 3 times, respectively, in a preset time period. The server determines that the number of the at least one wireless fidelity device is 3, and the first sum is 6, and then determines that the interest score of the second account is 18. Assuming that the score threshold is 10, the server determines to recommend the to-be-recommended multimedia resource to the second account.
[0069] The technical solutions provided by the above embodiments can bring at least the following beneficial effects: As can be seen from S101-S103, the server can determine the number of at least one wireless fidelity device and the number of times that the second account scans each wireless fidelity device in the at least one wireless fidelity device within a preset time period. Since the identification of the at least one wireless fidelity device is the identification of the wireless fidelity device that is scanned by the second account and the first account together within the preset time period, and the distance between the location information of each wireless fidelity device and the location information of the multimedia resource to be recommended for the first account is less than or equal to the distance threshold. In this way, the server determines the interest score of the second account according to the number of the at least one wireless fidelity device and the number of times that the second account scans the identification of each wireless fidelity device in the preset time period, that is, the server can determine the interest score of the second account according to the number of at least one wireless fidelity device that is scanned by the second account and the first account together and is close to the multimedia resource to be recommended, and the frequency at which the second account scans each wireless fidelity device in the at least one wireless fidelity device. In addition, when the interest score of the second account is greater than or equal to the interest score threshold, it indicates that the second account is interested in the multimedia resource to be recommended (it can also be understood that the second account is an account interested in the multimedia resource to be recommended), so the server can recommend the multimedia resource to be recommended to the second account. In the embodiment of the disclosure, the server can determine the degree of interest of the second account in the multimedia resource to be recommended based on the number of wireless fidelity devices that are scanned by a certain account (for example, the second account) and the account (that is, the first account) of the multimedia resource to be recommended together and the frequency at which the second account scans the wireless fidelity devices, and determine to recommend the multimedia resource to be recommended to the second account based on the degree of interest. Since the account (that is, the second account) to which the multimedia resource to be recommended is recommended is an account interested in the multimedia resource to be recommended, the multimedia resource to be recommended can meet the demand of the second account for multimedia resource recommendation, and the effectiveness and accuracy of multimedia resource recommendation can be improved.
[0070] In an implementation form of the embodiment of the disclosure, the preset time period includes a plurality of time points. In combination with Figure 2 As Figure 3 indicated, the multimedia resource recommendation method provided by the embodiment of the disclosure further includes S104-S106.
[0071] S104, the server obtains the report information of each account in each account in each time point.
[0072] The report information of an account at a time point includes the identification of the wireless fidelity device scanned by the account at the time point.
[0073] It should be understood that for each of the accounts, the account can scan the identification of one or more wireless fidelity devices at each time point, and the account includes the identification of the one or more wireless fidelity devices in the report information at each time point.
[0074] In an optional implementation, each account can periodically send (or report) the report information to the server according to a preset time length through a terminal used by the account. Specifically, the preset time length is a time difference between two adjacent time points (for example, the current time point and the last time point of the current time point) in the plurality of time points.
[0075] For example, the time difference can be 5 minutes (min).
[0076] S105, the server determines the identification of the at least two wireless fidelity devices according to the report information of the first account at each time point and the report information of the second account at each time point.
[0077] The identification of the at least two wireless fidelity devices is the identification of the wireless fidelity devices commonly scanned by the second account and the first account in the plurality of time points.
[0078] In combination with the description of the above embodiments, it should be understood that the server can determine the identification of one or more wireless fidelity devices (hereinafter referred to as third wireless fidelity devices) scanned by the first account in the plurality of time points, and determine the identification of one or more wireless fidelity devices (hereinafter referred to as fourth wireless fidelity devices) scanned by the second account in the plurality of time points. Then the server can determine the at least two wireless fidelity devices from the one or more third wireless fidelity devices and the one or more fourth wireless fidelity devices, which belong to both the one or more third wireless fidelity devices and the one or more fourth wireless fidelity devices (that is, the identification of the at least two wireless fidelity devices is the identification of the wireless fidelity devices commonly scanned by the second account and the first account in the plurality of time points).
[0079] In an optional implementation, the server can generate a first wireless fidelity list and a second wireless fidelity list, the first wireless fidelity list including the identification of the wireless fidelity devices scanned by the first account in the plurality of time points, and the second wireless fidelity list including the identification of the wireless fidelity devices scanned by the second account in the plurality of time points. Then the server can determine the identification of the wireless fidelity devices commonly existing (or included) in the first wireless fidelity list and the second wireless fidelity list, and determine the identification of the commonly existing wireless fidelity devices as the identification of the at least two wireless fidelity devices.
[0080] S106, when the distance between the location information of the preset wireless fidelity device and the location information of the multimedia resource to be recommended is less than or equal to the distance threshold, the server determines that the preset wireless fidelity device belongs to the at least one wireless fidelity device.
[0081] The preset wireless fidelity device is one of the at least two wireless fidelity devices.
[0082] It should be understood that when the distance between the location information of a certain wireless fidelity device (for example, the preset wireless fidelity device) in the at least two wireless fidelity devices and the location information of the multimedia resource to be recommended is less than or equal to the distance threshold, it means that the distance between the location information of the preset wireless fidelity device and the location information of the multimedia resource to be recommended is relatively close, and at this time, the server can determine the preset wireless fidelity device as one of the at least one wireless fidelity device, that is, determine that the preset wireless fidelity device belongs to the at least one wireless fidelity device.
[0083] Optionally, when the distance between the location information of the preset wireless fidelity device and the location information of the multimedia resource to be recommended is greater than the distance threshold, it means that the distance between the location information of the preset wireless fidelity device and the location information of the multimedia resource to be recommended is relatively far, and the server can determine that the wireless fidelity device does not belong to the at least one wireless fidelity device.
[0084] In an optional implementation, the server can obtain the distance threshold from a certain database (hereinafter referred to as a configuration database). For example, the distance threshold can be 3km or 5km.
[0085] Optionally, the server or the configuration database can update the distance threshold based on the environment in which the plurality of accounts are located. For example, when the environment in which the plurality of accounts are located is a suburb or a desert, the server or the configuration database can increase the distance threshold.
[0086] The technical solutions provided by the above embodiments can bring at least the following beneficial effects: As can be seen from S104-S106, the server can acquire the report information of each account in each of the plurality of time points, and determine the identity of at least two wireless fidelity devices scanned by the second account and the first account in the plurality of time points according to the report information of the first account in each time point and the report information of the second account in each time point. When the distance between the position information of a wireless fidelity device (for example, a preset wireless fidelity device) in the at least two wireless fidelity devices and the position information of the multimedia resource to be recommended is less than or equal to the distance threshold, it indicates that the distance between the position information of the preset wireless fidelity device and the position information of the multimedia resource to be recommended is relatively close, and at this time, the server can determine that the preset wireless fidelity device belongs to the at least one wireless fidelity device. In the embodiment of the present disclosure, the server can determine the identity of at least two wireless fidelity devices scanned by the first account and the second account in the plurality of time points based on the report information of the first account in each time point and the report information of the second account in each time point, and determine the wireless fidelity device in the at least two wireless fidelity devices that is relatively close to the position information of the multimedia resource to be recommended as the wireless fidelity device included in the at least one wireless fidelity device, which can reasonably and effectively determine each wireless fidelity device in the at least one wireless fidelity device, and further reasonably and effectively determine the number of the at least one wireless fidelity device and the frequency of scanning of the at least one wireless fidelity device.
[0087] In an implementation manner of the embodiment of the present disclosure, the identity of the wireless fidelity device scanned by the second account in each time point includes the identity of the wireless fidelity device connected by the second account in each time point. In combination with Figure 3 As Figure 4 indicated, the multimedia resource recommendation method provided by the embodiment of the present disclosure further includes S107-S108.
[0088] S107, the server determines whether the position information of the second account in each time point is included in the report information of the second account in each time point.
[0089] It should be understood that for any account (e.g., the second account) of the above plurality of accounts, the second account can start the wireless fidelity scanning function on the terminal used by the second account. After the second account starts the wireless fidelity scanning function on the terminal used by the second account, the terminal used by the second account can scan the identification of one or more wireless fidelity devices (e.g., the fourth wireless fidelity device described above). Specifically, for the reporting process of the second account at each of the plurality of times, the second account can complete the reporting process of the reporting information (specifically, the identification of the wireless fidelity device scanned at each of the times) based on one of the wireless fidelity devices, and the wireless fidelity device based on which the second account is the wireless fidelity device connected by the second account at each of the times.
[0090] It can be understood that any account (e.g., the second account) of the above plurality of accounts can also start the positioning function on the terminal used by the second account. After the second account starts the positioning function on the terminal used by the second account, the terminal used by the second account can obtain the location information of the second account and send the location information of the second account to the server. Specifically, the terminal can add the location information of the second account at a time to the reporting information of the second account at the time, so that the server can obtain the location information of the second terminal at the time. Correspondingly, when the second account does not start the positioning function on the terminal used by the second account, the terminal used by the second account can not be able to obtain the location information of the second account at each of the times, and thus the server cannot obtain the location information of the second account at each of the times.
[0091] Optionally, the reporting information of the second account at each of the times can further include the account identifier of the second account and the timestamp of each of the times. The server can store the reporting information of the second account at each of the times (including the identification of the wireless fidelity device scanned by the second account at each of the times, the location information of the second account at each of the times, the account identifier of the second account, and the timestamp of each of the times) to the above collection database, to facilitate subsequent query and use of the reporting information of the second account at each of the times.
[0092] S108, when the reporting information of the second account at each of the times includes the location information of the second account at each of the times, the server determines the location information of the wireless fidelity device connected by the second account at each of the times according to the location information of the second account at each of the times and the reporting times of the location information at each of the times within a preset time period.
[0093] It should be understood that when the reporting information of the second account at each of the times includes the location information of the second account at each of the times, it can be divided into the following two cases:
[0094] In one case, the second account connects to the same wireless fidelity device at each time instant, and the second account has the same location information at each time instant. In this case, the server can determine the location information of the second account at each time instant as the location information of the wireless fidelity device to which the second account connects at each time instant.
[0095] In another case, the second account connects to the same wireless fidelity device at each time instant, but the second account has different location information at each time instant. In this case, the server needs to determine the number of times each of the different location information is reported within the preset time period, to determine the location information of the wireless fidelity device to which the second account connects at each time instant.
[0096] It can be understood that the number of times the location information at each time instant is reported within the preset time period is used to represent the number of times the location information at each time instant appears within the preset time period (or in the plurality of time instants).
[0097] In an optional implementation, the server can add a weight parameter to each of the different location information, the weight parameter being a ratio between the number of times the location information is reported within the preset time period and a second sum of times, the second sum of times being a sum of the number of times all the location information reported by the second account within the preset time period (when the number of the second accounts is one, the second sum of times can also be understood as the number of the plurality of time instants). Then the server can determine the location information of the wireless fidelity device to which the second account connects at each time instant based on the location information at each time instant and the weight parameter of the location information at each time instant.
[0098] For example, assuming that the wireless fidelity device to which the second account connects at each time instant is wireless fidelity device 1, and the location information of the second account at the plurality of time instants is three location information (including location 1, location 2 and location 3), the number of times the three location information is reported is 5, 3 and 2 respectively. Then the server determines that the weight parameter of the location 1 is 0.5, the weight parameter of the location 2 is 0.3, and the weight parameter of the location 3 is 0.2. And the server can determine the location information of the wireless fidelity device 1 as location 1*0.5+location 2*0.3+location 3*0.2.
[0099] The technical solutions provided by the above embodiments can bring at least the following beneficial effects: as can be seen from S107-S108, the server can determine whether the second account includes the location information of the second account at each time in the report information of the second account at each time; when the second account includes the location information of the second account at each time in the report information of the second account at each time, it indicates that the second account has enabled the positioning function on the terminal used by the second account, that is, the terminal can send (or report) the location information of the account at each time to the server. In this way, the server can determine the location information of the wireless fidelity device connected by the second account at each time according to the location information of the second account at each time and the reporting times of the location information at each time within the preset time period. In the embodiment of the disclosure, the server can aggregate and calculate the location information of the wireless fidelity device connected by the second account at each time based on the location information of the second account at each time and the reporting times of the location information at each time within the preset time period, and can accurately and effectively determine the location information of the wireless fidelity device connected by the second account at each time, and then can accurately and effectively determine the distance between the location information of each wireless fidelity device and the location information of the multimedia resource to be recommended.
[0100] In combination Figure 4 As Figure 5 indicated, the multimedia resource recommendation method provided by the embodiment of the disclosure further includes S109-S110.
[0101] S109, when the second account does not include the location information of the second account at each time in the report information of the second account at each time, the server determines the location score of the other wireless fidelity device.
[0102] The other wireless fidelity device is a wireless fidelity device corresponding to an identifier other than the identifier of the wireless fidelity device connected by the second account at each time in each report information including a preset identifier within the preset time period, the preset identifier is an identifier other than the identifier of the wireless fidelity device connected by the second account at each time in the identifier of the wireless fidelity device scanned by the second account at each time, and the location score of the other wireless fidelity device is used to represent the similarity between the location information of the other wireless fidelity device and the location information of the wireless fidelity device connected by the second account at each time.
[0103] In combination with the description of the above embodiments, it should be understood that when the terminal used by the second account does not start the positioning function, the terminal can not be able to acquire and report the position information of the second account at each time, and then the server can not be able to acquire the position information of the second account at each time. At this time, the server can determine the position information of the other wireless fidelity devices, and then determine the position information of the wireless fidelity device connected by the second account at each time based on the position information of the other wireless fidelity devices.
[0104] It can be understood that the reporting information of the second account at each time (specifically, the identification of the wireless fidelity device scanned by the second account at each time) includes the identification of the wireless fidelity device connected by the second account at each time and the identification of the wireless fidelity device not connected by the second account at each time, and the identification of the wireless fidelity device not connected by the second account at each time is the preset identification.
[0105] It should be understood that the preset identification can not only be included in the reporting information of the second account at each time, but also can be included in the reporting information of other accounts at a certain time (or the reporting information of the second account at other times). In the embodiment of the present disclosure, the server can determine each reporting information including the preset identification, and determine the other wireless fidelity devices (i.e., the wireless fidelity devices corresponding to the identification in each reporting information except the identification of the wireless fidelity device connected by the second account at each time) from each reporting information.
[0106] Optionally, the number of the other wireless fidelity devices can be one or multiple.
[0107] For example, it is assumed that the multiple times are three times, including time 1, time 2 and time 3. The identification of the wireless fidelity device scanned by the second account at time 1 is three identifications, including identification 1, identification 2 and identification 3, and identification 1 is the identification of the wireless fidelity device connected by the second account at time 1. The server determines that the preset identification is identification 2 and identification 3. The identification of the wireless fidelity device scanned by the second account at time 2 is also three identifications (including identification 2, identification 4 and identification 5), and identification 2 is the identification of the wireless fidelity device connected by the second account at time 2. The identification of the wireless fidelity device scanned by the second account at time 3 is two identifications, including identification 3 and identification 6, and identification 3 is the identification of the wireless fidelity device connected by the second account at time 3.
[0108] It is assumed that the wireless fidelity devices corresponding to the above-mentioned identifier 1, identifier 2, identifier 3, identifier 4 and identifier 5 are wireless fidelity device A, wireless fidelity device B, wireless fidelity device C, wireless fidelity device D and wireless fidelity device E respectively, then the server determines that the other wireless fidelity devices are wireless fidelity device B, wireless fidelity device C, wireless fidelity device D and wireless fidelity device E.
[0109] In the embodiments of the present disclosure, the position score of the other wireless fidelity device is used to represent the similarity between the position information of the other wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each time. Specifically, when the position score of the other wireless fidelity device is large, it indicates that the similarity between the position information of the other wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each time is high. When the position score of the other wireless fidelity device is small, it indicates that the similarity between the position information of the other wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each time is low.
[0110] S110, the server determines the position information of the other wireless fidelity device with the largest position score as the position information of the wireless fidelity device connected by the second account at each time.
[0111] In combination with the above description of the embodiments, it should be understood that when the position score of the other wireless fidelity device is large, it indicates that the similarity between the position information of the other wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each time is high. In the embodiments of the present disclosure, the server can determine the position information of the other wireless fidelity device with the largest position score (i.e. the other wireless fidelity device with the highest similarity between the position information and the position information of the wireless fidelity device connected by the second account at each time) as the position information of the wireless fidelity device connected by the second account at each time, which can accurately and effectively determine the position information of the wireless fidelity device connected by the second account at each time.
[0112] The technical solution provided by the above embodiments can bring at least the following beneficial effects: As can be seen from S109-S110, when the second account's reported information at each moment does not include the location information of the second account at that moment, it indicates that the terminal used by the second account may not have its location function enabled. At this time, the server can determine the location score of other Wi-Fi devices. Since the location score is used to characterize the similarity between the location information of the other Wi-Fi devices and the location information of the Wi-Fi devices connected to the second account at each moment, the server can determine the location information of the Wi-Fi device with the highest location score (i.e., the other Wi-Fi device with the highest similarity to the location information of the Wi-Fi devices connected to the second account at each moment) as the location information of the Wi-Fi devices connected to the second account at each moment. In this embodiment of the present disclosure, the server determines the location information of the Wi-Fi devices connected to the second account at each moment based on the location scores and location information of other Wi-Fi devices, which can accurately and effectively determine the location information of the Wi-Fi devices connected to the second account at each moment, thereby improving the determination efficiency of at least one Wi-Fi device.
[0113] In one implementation of this disclosure, the server executing the multimedia resource recommendation method provided in this disclosure can be deployed in three (or three) servers (including a first server, a second server, and a third server). Specifically, the first server can receive the multimedia resource to be recommended, its location information, its identifier, its timestamp, and the creator's identifier, etc., sent (or reported) by the terminal. The second server can obtain the information reported by the second account at each moment (including the identifier of the wireless fidelity device scanned by the second account at each moment, the location information of the second account at each moment, the account identifier of the second account, and the timestamp at each moment). The third server can determine the interest score of the second account, and when the interest score is greater than or equal to a score threshold, the third server determines to recommend the multimedia resource to be recommended to the second account.
[0114] The following example illustrates the process of recommending multimedia resources provided in embodiments of this disclosure.
[0115] For example, such as Figure 6 As shown, assuming that servers 201, 202 and 203 are the first server, the second server and the third server mentioned above, respectively, "video" corresponds to the multimedia resources to be recommended, and user 1, user 2... user N can be understood as a second account.
[0116] Specifically, video creators (i.e., the first account mentioned above) can publish videos and send the video's geographical location (i.e., the location information of the multimedia resource to be recommended) and timestamp (i.e., the timestamp of the multimedia resource to be recommended) to server 201. Server 201 can then send the creator ID (i.e., the creator's identifier), video ID (i.e., the identifier of the multimedia resource to be recommended), physical location (i.e., the location information of the multimedia resource to be recommended), and timestamp (i.e., the timestamp of the multimedia resource to be recommended) to the collection database 204.
[0117] The second account (including User 1, User 2... User N) can send its physical location (i.e., the location information of the second account at each moment) and WiFi (the identifier of the wireless fidelity device scanned by the second account at each moment) to server 202. Server 202 can send the user ID (i.e., the account identifier of the second account), physical location (i.e., the location information of the second account at each moment), WiFi (the identifier of the wireless fidelity device scanned by the second account at each moment), and timestamp (i.e., the timestamp of each moment) to the collection database 204.
[0118] Server 203 can receive the physical location of the video (i.e., the location information of the multimedia resource to be recommended) sent by server 201; server 203 can also obtain WiFi information within K kilometers (K>0, K is the above distance threshold) from server 202 (which can be understood as determining wireless fidelity devices whose distance to the location information of the multimedia resource to be recommended is less than or equal to the distance threshold); server 203 can also pull or update the distance configuration information K kilometers (i.e., the distance threshold) from the configuration database 205.
[0119] Then, server 203 can perform weighted aggregation calculations to distribute videos to interested users in the near field (specifically, this can be understood as determining the location information of the wireless fidelity device connected to the second account at each moment and determining whether the second account's interest score is greater than or equal to a score threshold). When the second account's interest score is greater than or equal to the score threshold, it indicates that the second account is an "interested user" (specifically, a user interested in the multimedia resources to be recommended). At this time, server 203 can determine to recommend the aforementioned video (i.e., the multimedia resources to be recommended) to the interested user.
[0120] In one implementation of this disclosure, the aforementioned other wireless fidelity devices include a first wireless fidelity device and a second wireless fidelity device. (Combined with...) Figure 5 ,like Figure 7 As shown, the multimedia resource recommendation method provided in this embodiment of the disclosure further includes S111-S112.
[0121] S111, the server determines whether the preset identifier includes the identifier of the first wireless fidelity device and the identifier of the second wireless fidelity device.
[0122] In combination with the above description of the embodiments, it should be understood that the other wireless fidelity devices are the wireless fidelity devices corresponding to the identifiers in each reported information including the preset identifier within the preset time period, except for the identifier of the wireless fidelity device connected by the second account at each time. The preset identifier is the identifier of the wireless fidelity device scanned by the second account at each time, except for the identifier of the wireless fidelity device connected by the second account at each time.
[0123] It can be understood that when the preset identifier includes the identifier of a certain wireless fidelity device (for example, the first wireless fidelity device) in the other wireless fidelity devices, it means that the first wireless fidelity device is a wireless fidelity device scanned by the second account at each time but not connected. Correspondingly, when the preset identifier does not include the identifier of the first wireless fidelity device, it means that the first wireless fidelity device is not the identifier of the wireless fidelity device scanned by the second account at each time, or the identifier of the wireless fidelity device scanned by the second account at a certain time includes the identifier of the first wireless fidelity device, but the identifier of the wireless fidelity device scanned by the second account at the time does not include the identifier of the wireless fidelity device connected by the second account at each time.
[0124] S112, when the preset identifier includes the identifier of the first wireless fidelity device, and the preset identifier does not include the identifier of the second wireless fidelity device, the server configures a first distance parameter and a second distance parameter for the first wireless fidelity device and the second wireless fidelity device respectively.
[0125] The first distance parameter is smaller than the second distance parameter.
[0126] In combination with the above description of the embodiments, it should be understood that when the preset identifier includes the identifier of the first wireless fidelity device, it means that the first wireless fidelity device is a wireless fidelity device scanned by the second account at each time but not connected. When the preset identifier does not include the identifier of the second wireless fidelity device, it means that the second wireless fidelity device is not the identifier of the wireless fidelity device scanned by the second account at each time, or the identifier of the wireless fidelity device scanned by the second account at a certain time includes the identifier of the second wireless fidelity device, but the identifier of the wireless fidelity device scanned by the second account at the time does not include the identifier of the wireless fidelity device connected by the second account at each time.
[0127] In the embodiments of the present disclosure, when the first wireless fidelity device is a wireless fidelity device scanned by the second account at each time point but not connected, it indicates that the distance between the position information of the first wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each time point is relatively close, and the server can configure a smaller distance parameter (for example, the first distance parameter) for the first wireless fidelity device.
[0128] When the second wireless fidelity device is not the identity of the wireless fidelity device scanned by the second account at each time point, or the identity of the wireless fidelity device scanned by the second account at a certain time point includes the identity of the second wireless fidelity device, but the identity of the wireless fidelity device scanned by the second account at the time point does not include the identity of the wireless fidelity device connected by the second account at each time point, it indicates that the distance between the position information of the second wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each time point is relatively far, and the server can configure a larger distance parameter (for example, the second distance parameter) for the second wireless fidelity device.
[0129] Optionally, when the first wireless fidelity device and the second wireless fidelity device are included in the preset identity (or the first wireless fidelity device and the second wireless fidelity device are not included in the preset identity), the server can configure the same distance parameter for the first wireless fidelity device and the second wireless fidelity device, that is, the first distance parameter (or the second distance parameter).
[0130] Continuing as shown in Figure 7 The server determines the position score of each wireless fidelity device in the other wireless fidelity devices, specifically including S1091.
[0131] S1091, the server determines the position score of each wireless fidelity device in the other wireless fidelity devices according to the number of times each wireless fidelity device in the other wireless fidelity devices is scanned within a preset time period and the distance parameter configured for each wireless fidelity device in the other wireless fidelity devices.
[0132] It should be understood that the server can determine the number of times each wireless fidelity device in the other wireless fidelity devices is scanned within the preset time period based on the report information of each account in the plurality of accounts at each time point in the plurality of time points (specifically, the identity of the wireless fidelity device scanned by the each account at the each time point).
[0133] In an implementation manner of the embodiments of the present disclosure, the server can determine the position score of each wireless fidelity device in the other wireless fidelity devices as the ratio between the number of times the identity of the each wireless fidelity device is scanned within the preset time period and the distance parameter configured for the each wireless fidelity device.
[0134] In another implementation manner of the embodiment of the present disclosure, the server can further configure a third weight parameter for the number of times that the identifier of each wireless fidelity device is scanned within the preset time period, and configure a fourth weight parameter for the distance parameter configured for each wireless fidelity device, and then determine the ratio between the third product (i.e., the product between the number of times that the identifier of each wireless fidelity device is scanned within the preset time period and the third weight parameter) and the fourth product (i.e., the product between the distance parameter configured for each wireless fidelity device and the fourth weight parameter) as the position score of each wireless fidelity device.
[0135] The technical solutions provided by the above embodiments can at least bring the following beneficial effects: as can be known from S111-S112 and S1091, the server can determine whether the preset identifier includes the identifier of the first wireless fidelity device and the identifier of the second wireless fidelity device. When the preset identifier includes the identifier of the first wireless fidelity device, it indicates that the first wireless fidelity device is a wireless fidelity device scanned by the second account at each moment but not connected, i.e., the distance between the position information of the first wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each moment is relatively close, and therefore the server can configure a smaller distance parameter (e.g., the first distance parameter) for the first wireless fidelity device. When the preset identifier does not include the identifier of the second wireless fidelity device, it indicates that the second wireless fidelity device is not the identifier of the wireless fidelity device scanned by the second account at each moment, or the identifier of the wireless fidelity device scanned by the second account at a moment includes the identifier of the second wireless fidelity device, but the identifier of the wireless fidelity device scanned by the second account at the moment does not include the identifier of the wireless fidelity device connected by the second account at each moment, i.e., the distance between the position information of the second wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each moment is relatively far, and therefore the server can configure a larger distance parameter (e.g., the second distance parameter) for the second wireless fidelity device. Then, the server can determine the position score of each wireless fidelity device in the other wireless fidelity devices according to the number of times that the identifier of each wireless fidelity device is scanned within the preset time period and the distance parameter configured for each wireless fidelity device. In the embodiment of the present disclosure, the server can configure the distance parameter for each wireless fidelity device in the other wireless fidelity devices based on the distance between the position information of each wireless fidelity device and the position information of the wireless fidelity device connected by the second account at each moment, and determine the position score of each wireless fidelity device based on the distance parameter, which can facilitate and expedite the determination of the position score of the other wireless fidelity devices, and further improve the efficiency of determining the position information of the wireless fidelity device connected by the second account at each moment.
[0136] In combination Figure 2 AsFigure 8 As shown, the multimedia resource recommendation method provided by the embodiments of the present disclosure further includes S113-S116.
[0137] S113, the server determines wireless fidelity scanning information of a plurality of accounts.
[0138] The wireless fidelity scanning information of one account includes the identification of a plurality of wireless fidelity devices scanned by the account within the preset time period.
[0139] Optionally, the wireless fidelity scanning information of one account can further include the number of times of the identification of each wireless fidelity device in the plurality of wireless fidelity devices scanned by the account within the preset time period.
[0140] In an optional implementation, the wireless fidelity scanning information of the plurality of accounts can be stored in the server.
[0141] In another optional implementation, the server can further determine the wireless fidelity scanning information of each account in the plurality of accounts according to the report information of the each account at each time in the plurality of times. Specifically, for the number of times of the identification of one wireless fidelity device scanned by one account within the preset time period, the number of times is the sum of the number of times of the identification of the wireless fidelity device scanned by the account at the plurality of times.
[0142] S114, the server generates a preset correspondence relationship based on the wireless fidelity scanning information of the plurality of accounts.
[0143] The preset correspondence relationship includes the identification of M wireless fidelity devices and the account identification corresponding to the identification of the M wireless fidelity devices, the account identification corresponding to the identification of one wireless fidelity device is the identification of the account scanning the identification of the wireless fidelity device within the preset time period, and M>1.
[0144] In combination with the description of the above embodiments, it should be understood that the wireless fidelity scanning information of the plurality of accounts includes the identification of a plurality of wireless fidelity devices scanned by each account in the plurality of accounts within the preset time period.
[0145] For example, assume that the above-mentioned multiple accounts are three accounts (including account 1, account 2 and account 3), account 1 scans the identities of three wireless fidelity devices (including identity 1, identity 2 and identity 3) within a preset time period, account 2 also scans the identities of three wireless fidelity devices (including identity 2, identity 3 and identity 4) within the preset time period, and account 3 also scans the identities of three wireless fidelity devices (including identity 1, identity 2 and identity 4) within the preset time period. Assume that the account identity of account 1 is account identity 1, the account identity of account 2 is account identity 2, and the account identity of account 3 is account identity 3. Then the server can generate an example of the preset correspondence shown in Table 1 below.
[0146] Table 1
[0147] Identification of a wireless fidelity device Account identification Identification 1 Account identification 1, account identification 3 Identification 2 Account identification 1, account identification 2, account identification 3 Identification 3 Account identification 1, account identification 2 Identification 4 Account identification 2, account identification 3
[0148] S115, the server determines the account identity corresponding to the identity of each wireless fidelity device in the at least one wireless fidelity device according to the identity of each wireless fidelity device in the at least one wireless fidelity device and the preset correspondence.
[0149] In combination with the above description of the embodiments, it should be understood that the identity of the at least one wireless fidelity device is the identity of the wireless fidelity device scanned by the second account and the first account within the preset time period, and the distance between the location information of each wireless fidelity device in the at least one wireless fidelity device and the location information of the multimedia resource to be recommended for the first account is less than or equal to the distance threshold.
[0150] It can be understood that for each wireless fidelity device in the at least one wireless fidelity device, the server can determine the identity of the wireless fidelity device (for example, the target wireless fidelity device) identical to the identity of the each wireless fidelity device from the preset correspondence (specifically, the identities of the M wireless fidelity devices), and then determine the account identity corresponding to the target wireless fidelity device as the account identity corresponding to the identity of the each wireless fidelity device.
[0151] In an optional implementation, the server can determine the distance between the location information of each wireless fidelity device in the at least one wireless fidelity device and the location information of the multimedia resource to be recommended, then sort the distance (which can also be understood as a distance weight) in ascending order, and determine the account identity corresponding to the identity of the each wireless fidelity device in the order.
[0152] S116, the server determines the account identity of the second account as the account identity other than the account identity of the first account among the account identities corresponding to the identity of each wireless fidelity device in the at least one wireless fidelity device.
[0153] It can be understood that, since the identity of the at least one wireless fidelity device is the identity of the wireless fidelity device scanned by the first account and the second account jointly within the preset time period, the identity of the wireless fidelity device scanned by the first account within the preset time period includes the identity of the at least one wireless fidelity device, and the identity of the wireless fidelity device scanned by the second account within the preset time period also includes the identity of the at least one wireless fidelity device.
[0154] Thus, in combination with the above description of the preset correspondence relationship, it should be understood that the server can determine that the account identifier corresponding to the identity of each wireless fidelity device of the at least one wireless fidelity device includes the account identifier of the first account and the account identifier of the second account, so that the server can determine the account identifier other than the account identifier of the first account in the account identifier corresponding to the identity of each wireless fidelity device as the account identifier of the second account.
[0155] For example, in combination with the example in Table 1 described above, it is assumed that the at least one wireless fidelity device is the wireless fidelity device B, and the identity of the wireless fidelity device B is the identity 2, and the server determines that the account identifier corresponding to the wireless fidelity device B is 3, including the account identifier 1, the account identifier 2 and the account identifier 3.
[0156] It is further assumed that the account identifier of the first account is the account identifier 1, and the server determines that the account identifier of the second account includes the account identifier 2 and the account identifier 3, that is, the number of the second account is 2.
[0157] The technical solutions provided by the above embodiments can bring at least the following beneficial effects: as can be seen from S113-S116, the server can determine wireless fidelity scanning information of multiple accounts, and generate a preset correspondence relationship based on the wireless fidelity scanning information of the multiple accounts. Since the preset correspondence relationship includes the identifiers of the M wireless fidelity devices and the account identifiers corresponding to the identifiers of the M wireless fidelity devices respectively, the server can determine the account identifier corresponding to the identifier of each wireless fidelity device in the at least one wireless fidelity device according to the identifier of each wireless fidelity device in the at least one wireless fidelity device and the preset correspondence relationship. In addition, since the at least one wireless fidelity device is the identifier of the wireless fidelity device scanned by the first account and the second account within a preset time period, the account identifier corresponding to the identifier of each wireless fidelity device includes the account identifier of the first account and the account identifier of the second account. Therefore, the server can determine the account identifier of the second account as the account identifier other than the account identifier of the first account in the account identifier corresponding to the identifier of each wireless fidelity device. In the embodiments of the present disclosure, the server can look up the corresponding account identifier based on the identifier of the wireless fidelity device (specifically, the at least one wireless fidelity device), which can improve the determination efficiency of the account (or the account identifier), and further quickly and effectively determine the interest score of the account.
[0158] The multimedia resource recommendation method provided by the embodiments of the present disclosure is described below with an example.
[0159] As shown in the example. Figure 9 S201, data collection and processing; specifically, the server can extract the related information (such as location information) of the video (or the video to be recommended) from the collected data. S202, whether the video has a physical location G; the physical location G is the location information of the video, and the server can determine whether the video has corresponding location information. S203, whether the physical location G is valid; that is, when the video has corresponding location information, the server can determine whether the location information is valid. S204, end; that is, when the video does not have corresponding location information, or when the video has corresponding location information but the location information is invalid, the process ends. S205, obtain distance configuration information K kilometers from the configuration database; the configuration database is the configuration database 205 in the above Figure 6 , and the distance configuration information K kilometers is the distance threshold in the above. S206, obtain all WiFi information from the second server according to the physical location G and the distance configuration information K kilometers; the second server is the second server in the above Figure 6S208, according to the WiFi, the user id is inquired, and the user id is sorted according to the distance and frequency; that is, the server can inquire the corresponding account identifier according to the identifier of all WiFi devices, then determine the account (for example, the second account, the number of which can be multiple) based on the account identifier, and determine the interest score of each second account in the multiple second accounts, and sort the interest score in descending order. S209, the video is distributed to the people of interest in the near field; that is, the server can recommend the above-mentioned video to the second account whose interest score is greater than or equal to the score threshold.
[0160] It can be understood that, in actual implementation, the electronic device described in the embodiments of the present disclosure can contain one or more hardware structures and / or software modules for implementing the foregoing corresponding multimedia resource recommendation method, and these execution hardware structures and / or software modules can constitute an electronic device. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present disclosure can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present disclosure.
[0161] Based on such understanding, the embodiments of the present disclosure also correspondingly provide a multimedia resource recommendation device, Figure 10 The structure schematic diagram of the multimedia resource recommendation device provided by the embodiments of the present disclosure is shown. As shown in the figure, Figure 10 The multimedia resource recommendation device 30 can include a determination module 301.
[0162] The determination module 301 is configured to determine the number of at least one wireless fidelity device and the number of times that the second account scans the identifier of each wireless fidelity device in the at least one wireless fidelity device within a preset time period, the identifier of the at least one wireless fidelity device is the identifier of the wireless fidelity device commonly scanned by the second account and the first account within the preset time period, the position information of each wireless fidelity device is less than or equal to the distance threshold between the position information of the first account and the position information of the multimedia resource to be recommended, the first account is one of the multiple accounts, and the second account is an account other than the first account in the multiple accounts.
[0163] The determining module 301 is further configured to determine an interest score of the second account according to the number of the at least one wireless fidelity device and the number of times that the second account scans the identity of each wireless fidelity device in the preset time period, the interest score of the second account being used to represent a degree of interest of the second account in the to-be-recommended multimedia resource.
[0164] The determining module 301 is further configured to determine to recommend the to-be-recommended multimedia resource to the second account when the interest score of the second account is greater than or equal to a score threshold.
[0165] Optionally, the preset time period includes a plurality of time points, and the multimedia resource recommendation apparatus 30 further includes an obtaining module 302.
[0166] The obtaining module 302 is configured to obtain report information of each account in the plurality of accounts at each time point in the plurality of time points, wherein the report information of an account at a time point includes an identity of a wireless fidelity device scanned by the account at the time point.
[0167] The determining module 301 is further configured to determine, according to the report information of the first account at each time point and the report information of the second account at each time point, identities of at least two wireless fidelity devices, the identities of the at least two wireless fidelity devices being identities of wireless fidelity devices commonly scanned by the second account and the first account at the plurality of time points.
[0168] The determining module 301 is further configured to determine that a preset wireless fidelity device belongs to the at least one wireless fidelity device when a distance between the location information of the preset wireless fidelity device and the location information of the to-be-recommended multimedia resource is less than or equal to the distance threshold, the preset wireless fidelity device being one of the at least two wireless fidelity devices.
[0169] Optionally, the identities of the wireless fidelity devices scanned by the second account at each time point include identities of wireless fidelity devices connected by the second account at each time point.
[0170] The determining module 301 is further configured to determine whether the report information of the second account at each time point includes location information of the second account at each time point.
[0171] The determining module 301 is further configured to, when the report information of the second account at each time point includes the location information of the second account at each time point, determine location information of a wireless fidelity device connected by the second account at each time point according to the location information of the second account at each time point and a number of times that the location information of each time point is reported in the preset time period.
[0172] Optionally, the determining module 301 is further configured to determine a location score of other wireless fidelity devices when the second account does not include the location information of the second account at each time in the reporting information of each time, the other wireless fidelity devices being wireless fidelity devices corresponding to the identities of the reporting information of each time in the preset time period except for the identity of the wireless fidelity device connected by the second account at each time and the identity of the wireless fidelity device scanned by the second account at each time, the location score of the other wireless fidelity devices being used to represent the similarity between the location information of the other wireless fidelity devices and the location information of the wireless fidelity device connected by the second account at each time.
[0173] The determining module 301 is further configured to determine the location information of the other wireless fidelity device with the largest location score as the location information of the wireless fidelity device connected by the second account at each time.
[0174] Optionally, the other wireless fidelity devices include a first wireless fidelity device and a second wireless fidelity device, and the multimedia resource recommendation apparatus 30 further includes a processing module 303.
[0175] The determining module 301 is further configured to determine whether the identity of the first wireless fidelity device and the identity of the second wireless fidelity device are included in the preset identity.
[0176] The processing module 303 is configured to configure a first distance parameter and a second distance parameter for the first wireless fidelity device and the second wireless fidelity device respectively when the identity of the first wireless fidelity device is included in the preset identity and the identity of the second wireless fidelity device is not included in the preset identity, the first distance parameter being smaller than the second distance parameter.
[0177] The determining module 301 is specifically configured to determine the location score of each wireless fidelity device in the other wireless fidelity devices according to the number of times that the identity of each wireless fidelity device in the other wireless fidelity devices is scanned in the preset time period and the distance parameter configured for each wireless fidelity device in the other wireless fidelity devices.
[0178] Optionally, the determining module 301 is further configured to determine the wireless fidelity scanning information of the plurality of accounts, wherein the wireless fidelity scanning information of an account includes the identities of a plurality of wireless fidelity devices scanned by the account in the preset time period.
[0179] The processing module 303 is further configured to generate a preset correspondence relationship based on the wireless fidelity scanning information of the plurality of accounts, the preset correspondence relationship including the identification of the M wireless fidelity devices and the account identification corresponding to each of the identification of the M wireless fidelity devices, wherein the account identification corresponding to the identification of one wireless fidelity device is the identification of the account that scans the identification of the wireless fidelity device within the preset time period, and M > 1.
[0180] The determining module 301 is further configured to determine the account identification corresponding to the identification of each of the at least one wireless fidelity device according to the identification of each of the at least one wireless fidelity device and the preset correspondence relationship.
[0181] The determining module 301 is further configured to determine the account identification of the second account as the account identification other than the account identification of the first account in the account identification corresponding to the identification of each of the at least one wireless fidelity device.
[0182] As described above, the embodiments of the present disclosure can divide the multimedia resource recommendation device into functional modules according to the above-mentioned method examples. Among them, the integrated modules can be realized in the form of hardware or in the form of software functional modules. In addition, it should be noted that the division of modules in the embodiments of the present disclosure is illustrative, and is only a logical functional division. When actually implemented, another division mode can be used. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module.
[0183] As for the multimedia resource recommendation device in the above-mentioned embodiments, the specific manner in which each module performs operations and the beneficial effects possessed have been described in detail in the foregoing method embodiments, which will not be described here.
[0184] Figure 11 is a structural schematic diagram of another multimedia resource recommendation device provided by the present disclosure. As Figure 11 The multimedia resource recommendation device 40 can include at least one processor 401 and a memory 403 for storing processor-executable instructions. The processor 401 is configured to execute the instructions in the memory 403 to implement the multimedia resource recommendation method in the above-mentioned embodiments.
[0185] In addition, the multimedia resource recommendation device 40 can further include a communication bus 402 and at least one communication interface 404.
[0186] The processor 401 can be a central processing unit (CPU), a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs of the present disclosure.
[0187] The communication bus 402 can include a path that carries information between the aforementioned components.
[0188] The communication interface 404, using any transceiver-like device, can be used to communicate with other devices or computer networks, such as an Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.
[0189] The memory 403 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and that can be accessed by a computer, but not limited to. The memory can exist independently, connected to the processing unit through a bus. The memory can also be integrated with the processing unit.
[0190] The memory 403 is configured to store instructions for implementing the present disclosure, and the processor 401 is configured to control the execution of the instructions. The processor 401 is configured to execute the instructions stored in the memory 403, thereby realizing the functions in the method of the present disclosure.
[0191] In a specific implementation, as an embodiment, the processor 401 can include one or more CPUs, such as CPU0 and CPU1 in Figure 11 .
[0192] In a specific implementation, as an embodiment, the multimedia resource recommendation device 40 can include multiple processors, such as Figure 11The processors 401 and 407 in the multimedia resource recommendation apparatus 40 can each be a single-CPU processor or a multi-CPU processor. The processor herein can refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0193] In a specific implementation, as an embodiment, the multimedia resource recommendation apparatus 40 can further include an output device 405 and an input device 406. The output device 405 is in communication with the processor 401 and can display information in various ways. For example, the output device 405 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, a projector, or the like. The input device 406 is in communication with the processor 401 and can accept user input in various ways. For example, the input device 406 can be a mouse, a keyboard, a touch screen device, a sensor device, or the like.
[0194] Those skilled in the art can understand that the structure shown in the Figure 11 The structure shown in the foregoing embodiment does not constitute a limitation on the multimedia resource recommendation apparatus 40, and can include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0195] In addition, the present disclosure also provides a computer readable storage medium, including instructions, when the instructions are executed by the processor of the electronic device, the electronic device executes the multimedia resource recommendation method provided by the above embodiment.
[0196] In addition, the present disclosure also provides a computer program product, including instructions, when the instructions are executed by the processor of the electronic device, the electronic device executes the multimedia resource recommendation method provided by the above embodiment.
[0197] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the aspects of the present disclosure disclosed herein. It is intended that the present disclosure cover any and all variations of the present disclosure that come within the scope of the claims and their equivalents. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
Claims
1. A multimedia resource recommendation method, characterized in that, include: The number of at least one Wi-Fi device and the number of times the second account scans the identifier of each of the at least one Wi-Fi device within a preset time period are determined. The identifier of the at least one Wi-Fi device is the identifier of the Wi-Fi device jointly scanned by the second account and the first account within the preset time period. The distance between the location information of each Wi-Fi device and the location information of the multimedia resource to be recommended by the first account is less than or equal to a distance threshold. The first account is one of a plurality of accounts, and the second account is an account other than the first account among the plurality of accounts. Based on the number of the at least one Wi-Fi device and the number of times the second account scans the identifier of each Wi-Fi device within the preset time period, the interest score of the second account is determined. The interest score of the second account is used to characterize the degree of interest of the second account in the multimedia resources to be recommended. When the interest score of the second account is greater than or equal to the score threshold, it is determined to recommend the multimedia resource to the second account.
2. The multimedia resource recommendation method according to claim 1, characterized in that, The preset time period includes multiple moments, and the method further includes: Obtain the reported information of each of the multiple accounts at each of the multiple times, wherein the reported information of an account at a time includes the identifier of the wireless fidelity device scanned by the account at that time; Based on the information reported by the first account at each time point and the information reported by the second account at each time point, the identifiers of at least two wireless fidelity devices are determined, wherein the identifiers of the at least two wireless fidelity devices are the identifiers of wireless fidelity devices jointly scanned by the second account and the first account at the multiple times. When the distance between the location information of the preset wireless fidelity device and the location information of the multimedia resource to be recommended is less than or equal to the distance threshold, it is determined that the preset wireless fidelity device belongs to the at least one wireless fidelity device, and the preset wireless fidelity device is one of the at least two wireless fidelity devices.
3. The multimedia resource recommendation method according to claim 2, characterized in that, The second account includes the identifier of the wireless fidelity device connected to the second account at each time in the identifier of the wireless fidelity device scanned at each time, and the method further includes: Determine whether the information reported by the second account at each time moment includes the location information of the second account at each time moment; When the second account includes the location information of the second account in the information reported at each time, the location information of the wireless fidelity device connected by the second account at each time is determined based on the location information of the second account at each time and the number of times the location information at each time is reported within the preset time period.
4. The multimedia resource recommendation method according to claim 3, characterized in that, The method further includes: When the second account's reported information at each time does not include the location information of the second account at each time, the location score of other wireless fidelity devices is determined. The other wireless fidelity devices are wireless fidelity devices corresponding to the identifiers other than the identifiers of the wireless fidelity devices connected by the second account at each time in each reported information including the preset identifier within the preset time period. The preset identifier is the identifier of the wireless fidelity devices scanned by the second account at each time, other than the identifiers of the wireless fidelity devices connected by the second account at each time. The location score of the other wireless fidelity devices is used to characterize the similarity between the location information of the other wireless fidelity devices and the location information of the wireless fidelity devices connected by the second account at each time. The location information of the other Wi-Fi device with the highest location score is determined as the location information of the Wi-Fi device connected to by the second account at each time.
5. The multimedia resource recommendation method according to claim 4, characterized in that, The other wireless fidelity devices include a first wireless fidelity device and a second wireless fidelity device, and the method further includes: Determine whether the preset identifier includes the identifier of the first wireless fidelity device and the identifier of the second wireless fidelity device; When the preset identifier includes the identifier of the first wireless fidelity device and the preset identifier does not include the identifier of the second wireless fidelity device, a first distance parameter and a second distance parameter are configured for the first wireless fidelity device and the second wireless fidelity device respectively, wherein the first distance parameter is less than the second distance parameter; Determining the location scores of other wireless fidelity devices includes: Based on the number of times the identifier of each of the other wireless fidelity devices is scanned within the preset time period and the distance parameters configured for each of the other wireless fidelity devices, the location score of each of the other wireless fidelity devices is determined.
6. The multimedia resource recommendation method according to any one of claims 1-5, characterized in that, The method further includes: Determine the Wifi scanning information of the multiple accounts, wherein the Wifi scanning information of an account includes the identifiers of multiple Wifi devices scanned by the account within the preset time period; Based on the wireless fidelity scanning information of the multiple accounts, a preset correspondence is generated. The preset correspondence includes the identifiers of M wireless fidelity devices and the account identifiers corresponding to the identifiers of the M wireless fidelity devices. The account identifier corresponding to the identifier of a wireless fidelity device is the identifier of the account that scanned the identifier of the wireless fidelity device within the preset time period, where M > 1. Based on the identifier of each wireless fidelity device in the at least one wireless fidelity device and the preset correspondence, determine the account identifier corresponding to the identifier of each wireless fidelity device in the at least one wireless fidelity device; The account identifier other than the account identifier of the first account among the account identifiers corresponding to the identifier of each of the at least one wireless fidelity devices is determined as the account identifier of the second account.
7. A multimedia resource recommendation device, characterized in that, include: Determine the module; The determining module is configured to determine the number of at least one wireless fidelity device and the number of times the second account scans the identifier of each wireless fidelity device among the at least one wireless fidelity device within a preset time period. The identifier of the at least one wireless fidelity device is the identifier of the wireless fidelity device jointly scanned by the second account and the first account within the preset time period. The distance between the location information of each wireless fidelity device and the location information of the multimedia resource to be recommended by the first account is less than or equal to a distance threshold. The first account is one of a plurality of accounts, and the second account is an account other than the first account among the plurality of accounts. The determining module is further configured to determine the interest score of the second account based on the number of the at least one wireless fidelity device and the number of times the second account scans the identifier of each wireless fidelity device within the preset time period. The interest score of the second account is used to characterize the degree of interest of the second account in the multimedia resources to be recommended. The determining module is further configured to determine to recommend the multimedia resource to be recommended to the second account when the interest score of the second account is greater than or equal to the score threshold.
8. An electronic device, characterized in that, The electronic device includes: processor; A memory configured to store processor-executable instructions; The processor is configured to execute the instructions to implement the multimedia resource recommendation method as described in any one of claims 1-6.
9. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the multimedia resource recommendation method as described in any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed on a processor of an electronic device, cause the electronic device to perform the multimedia resource recommendation method as described in any one of claims 1-6.
Citation Information
Patent Citations
Interest recommendation method and apparatus, and server
CN107820209A
Information display method and device and computer storage medium
CN113486251A