Method, apparatus, device and storage medium for presenting media recommendation information
By acquiring and presenting media recommendation information matching the second terminal user on the first terminal, the problem of mismatch between media recommendation information in the prior art is solved, and the effectiveness of presenting media recommendation information is improved.
Patent Information
- Application Number
- CN202011382653.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-30
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2041-03-04
Smart Images

Figure CN112364186B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical fields of the Internet of Things and blockchain, and particularly to a method, apparatus, device, and computer-readable storage medium for presenting media recommendation information. Background Art
[0002] The Internet of Things (abbreviated as IOT) is an information carrier based on the Internet, traditional telecommunications networks, etc., which enables all ordinary physical objects that can be independently addressed to form an interconnected network. Cloud IOT aims to connect the information sensed by sensing devices and the instructions received in traditional IOT to the Internet, truly realizing networking, and achieving massive data storage and operation through cloud computing technology.
[0003] In related technologies, for terminals fixed to target objects, such as billboards in shopping malls, advertising devices in elevators, etc., they usually only support the presentation of fixed media recommendation information, and the presented media recommendation information may not be the content that viewers are interested in, resulting in low effectiveness of media recommendation information presentation. Summary of the Invention
[0004] Embodiments of this application provide a method, apparatus, device, and computer-readable storage medium for presenting media recommendation information, which can present media recommendation information adapted to the user corresponding to the second terminal and improve the effectiveness of media recommendation information presentation.
[0005] The technical solution of the embodiments of this application is implemented as follows:
[0006] Embodiments of this application provide a method for presenting media information, which is applied to a first terminal for recommending media recommendation information, and includes:
[0007] Presenting media recommendation information through the first terminal;
[0008] When the distance between the second terminal and the first terminal satisfies being less than a distance threshold, obtaining target media recommendation information adapted to the user corresponding to the second terminal;
[0009] When the media recommendation information currently presented by the first terminal is not adapted to the user, presenting the target media recommendation information through the first terminal.
[0010] Embodiments of this application provide a device for presenting media recommendation information, which is set in a first terminal, and the first terminal is used for recommending media recommendation information, and includes:
[0011] A first presentation module, configured to present media recommendation information through the first terminal;
[0012] An acquisition module, configured to acquire media recommendation information adapted to the user corresponding to the second terminal when the distance between the second terminal and the first terminal is less than a distance threshold;
[0013] A second presentation module, configured to cancel the currently presented media recommendation information when the media recommendation information currently presented by the first terminal is not adapted to the user, and
[0014] present the media recommendation information through the first terminal.
[0015] In the above solution, the acquisition module is further configured to obtain the location information of the second terminal from the second terminal through a communication connection established with the second terminal;
[0016] Determine the distance between the second terminal and the first terminal according to the location information of the second terminal.
[0017] In the above solution, the second presentation module is further configured to, when the number of the target media recommendation information is at least two, sort at least two pieces of the target media recommendation information according to the degree of adaptation of each piece of the target media recommendation information to the user to obtain a sorting result;
[0018] Present at least two pieces of the target media recommendation information through the first terminal according to the sorting result.
[0019] In the above solution, the second presentation module is further configured to present, in the view interface of the first terminal, target media recommendation information adapted to the user corresponding to the second terminal, and associated media information different from the target media recommendation information;
[0020] Wherein, the presentation form of the target media recommendation information is a target presentation form, and the target presentation form differentiates the target media recommendation information from the associated media information.
[0021] In the above solution, when the number of second terminals is at least two, correspondingly, the target media recommendation information includes target media recommendation information adapted to the users corresponding to at least two second terminals;
[0022] The second presentation module is further configured to present, in the view interface of the first terminal, at least two presentation areas having the same number as the number of second terminals, and
[0023] Present, through the at least two presentation areas, target media recommendation information adapted to the users corresponding to each second terminal;
[0024] Wherein, the presentation areas correspond to the second terminals one by one.
[0025] In the above solution, the second presentation module is further configured to obtain the user level of the user corresponding to the second terminal;
[0026] When the user level reaches the corresponding level threshold, present, through the first terminal, target media recommendation information adapted to the user corresponding to the second terminal.
[0027] In the above solution, the obtaining module is further configured to, when the number of second terminals is multiple, screen out a target number of second terminals from the multiple second terminals according to the distances between the second terminals and the first terminal;
[0028] Obtain target media recommendation information adapted to the users corresponding to the target number of second terminals.
[0029] In the above solution, the obtaining module is further configured to obtain the user portrait of the user corresponding to the second terminal;
[0030] Screen out, from the media information library, media recommendation information adapted to the user portrait as target media recommendation information adapted to the user corresponding to the second terminal.
[0031] In the above solution, the obtaining module is further configured to obtain the media tags of each media recommendation information in the media information library;
[0032] Screen out, from the media recommendation information library, media recommendation information whose media tags match the user interest tags included in the user portrait as target media recommendation information adapted to the user portrait.
[0033] In the above solution, the obtaining module is further configured to perform semantic recognition on each of the user interest tags and the media tags of each media recommendation information to obtain the semantic information of each user interest tag and the semantic information of each media tag;
[0034] Perform similarity matching on the semantic information of the user interest tags and the semantic information of each media tag to obtain a matching result;
[0035] When the matching result indicates that the similarity between the semantic information of the user interest tag and the semantic information of the media tag reaches the similarity threshold, determine that the media tag matches the user interest tag.
[0036] In the above solution, the obtaining module is further configured to, when the number of second terminals is at least two, obtain the user interest tags of the users corresponding to the second terminals;
[0037] Perform tag screening on the user interest tags of the users corresponding to the second terminals to obtain target user interest tags;
[0038] Filter out media recommendation information that matches the target interest tag from the media information library as the target media recommendation information suitable for the user corresponding to the second terminal.
[0039] In the above solution, the apparatus further includes:
[0040] A storage module for generating a presentation record of the target media recommendation information corresponding to the second terminal;
[0041] Perform a hash transformation on the presentation record to obtain summary information corresponding to the presentation record;
[0042] Store the summary information in the blockchain network.
[0043] An embodiment of the present application provides a computer device, including:
[0044] A memory for storing executable instructions;
[0045] A processor for implementing the media recommendation information presentation method provided by the embodiment of the present application when executing the executable instructions stored in the memory.
[0046] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to implement the media recommendation information presentation method provided by the embodiment of the present application when executed.
[0047] The embodiment of the present application has the following beneficial effects:
[0048] Applying the above embodiment, the media recommendation information is presented through the first terminal; when the distance between the second terminal and the first terminal meets the distance condition, the target media recommendation information suitable for the user corresponding to the second terminal is obtained; when the media recommendation information currently presented by the first terminal does not match the user, the media recommendation information is presented through the first terminal; thus, when the second terminal is near the first terminal, the first terminal can present the target media recommendation information suitable for the user corresponding to the second terminal, making the target media recommendation information presented by the first terminal suitable for the users nearby, thereby improving the effectiveness of the presentation of media recommendation information. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a schematic structural diagram of a media recommendation information presentation system 100 provided by an embodiment of the present application;
[0050] Figure 2 is a schematic flowchart of a media recommendation information presentation method provided by an embodiment of the present application;
[0051] Figure 3It is a schematic diagram of the presentation interface of the media recommendation information provided by the embodiments of the present application;
[0052] Figure 4 It is a schematic diagram of the presentation interface of the media recommendation information provided by the embodiments of the present application;
[0053] Figure 5 It is a schematic diagram of the presentation interface of the media recommendation information provided by the embodiments of the present application;
[0054] Figure 6 It is a schematic diagram of the application architecture of the blockchain network provided by the embodiments of the present application;
[0055] Figure 7 It is a schematic diagram of the structure of the blockchain in the blockchain network 600 provided by the embodiments of the present application;
[0056] Figure 8 It is a schematic diagram of the functional architecture of the blockchain network 600 provided by the embodiments of the present application;
[0057] Figure 9 It is a schematic diagram of the flow of the media recommendation information presentation method provided by the embodiments of the present application;
[0058] Figure 10 It is a schematic diagram of the Internet of Things connection provided by the embodiments of the present application;
[0059] Figure 11 It is a schematic diagram of the Ethernet connection device provided by the embodiments of the present application;
[0060] Figure 12 It is a schematic diagram of the Ethernet networking structure provided by the embodiments of the present application;
[0061] Figures 13A - 13B It is a schematic diagram of the WiFi networking structure provided by the embodiments of the present application;
[0062] Figures 14A - 14C It is a schematic diagram of the Bluetooth networking structure provided by the embodiments of the present application;
[0063] Figures 15A - 15B It is a schematic diagram of the LPWAN networking structure provided by the embodiments of the present application;
[0064] Figure 16 It is a schematic diagram of the Zigbee networking structure provided by the embodiments of the present application;
[0065] Figure 17 It is a schematic diagram of the DALI networking structure provided by the embodiments of the present application;
[0066] Figure 18 It is a schematic diagram of the satellite networking structure provided by the embodiments of the present application;
[0067] Figure 19 It is a schematic diagram of the intelligent gateway device provided by the embodiments of the present application;
[0068] Figure 20 It is a schematic flowchart of the method for presenting media recommendation information provided by the embodiments of the present application;
[0069] Figure 21 It is a schematic diagram of the structural composition of the device for presenting media recommendation information provided by the embodiments of the present application;
[0070] Figure 22 It is a schematic diagram of the structure of the computer device provided by the embodiments of the present application. Detailed implementation manners
[0071] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be construed as limiting the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.
[0072] In the embodiments of the present application, data related to user information, etc. (such as user portraits, such as user information like age, income situation, permanent login location, etc.) are involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent needs to be obtained, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards.
[0073] In the following description, "some embodiments" are involved, which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0074] In the following description, the terms "first / second / third" involved are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0075] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0076] Before further elaborating on the embodiments of the present application, the nouns and terms involved in the embodiments of the present application are described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.
[0077] 1) Media recommendation information refers to various forms of media available on the Internet (such as video, audio, graphic, and text media forms), such as video information, audio information, and text information presented in the client, which are used to recommend to users.
[0078] 2) User profile, including user interest profile and user basic profile; among them, the user interest profile refers to the virtual representative of a real user, which is a target user model based on a series of attribute data and is used to indicate the user's interest classification; the user basic profile is the overall picture of the labeled user information abstracted from the user's basic information such as real gender, age, income situation, and permanent login location.
[0079] 3) Transaction, which is equivalent to the computer term "transaction". A transaction includes operations that need to be submitted to the blockchain network for execution, and does not refer only to transactions in the business context. Given that the term "transaction" is conventionally used in blockchain technology, the embodiments of this application follow this convention.
[0080] 4) Blockchain is an encrypted, chained storage structure formed by blocks (Block).
[0081] 5) Blockchain Network is a collection of a series of nodes that incorporate new blocks into the blockchain through consensus.
[0082] 6) Ledger is a general term for the blockchain (also known as ledger data) and the state database synchronized with the blockchain.
[0083] 7) Smart Contracts, also known as Chaincode or application code, are programs deployed in the nodes of the blockchain network. Nodes execute the smart contracts called in the received transactions to perform operations such as updating or querying the key-value pair data in the state database.
[0084] 8) Consensus is a process in the blockchain network used to reach an agreement on the transactions in a block among multiple involved nodes. The block that reaches an agreement will be appended to the tail of the blockchain. The mechanisms for achieving consensus include Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof-of-Stake (DPoS), Proof of Elapsed Time (PoET), etc.
[0085] See Figure 1 ,Figure 1 FIG. Figure 1 is a schematic structural diagram of a media recommendation information presentation system 100 provided by an embodiment of the present application. To support an exemplary application, the media recommendation information presentation system includes a first terminal 400-1, a second terminal 400-2, and a server 200. The first terminal 400-1, the second terminal 400-2, and the server 200 are connected through a network 300. The network 300 can be a wide area network, a local area network, or a combination of both.
[0086] Among them, the first terminal 400-1 is used for recommending media recommendation information, such as billboards in shopping malls, advertising devices in elevators, roadside billboards, restaurant dish recommendation signs, housing resource recommendation signs, etc.; the second terminal 400-2 is a user handheld terminal, such as a smart phone, a smart watch, a tablet computer, etc.
[0087] In an exemplary scenario, media recommendation information is presented through the first terminal 400-1; the user holds the second terminal 400-2 and moves in the shopping mall. The first terminal 400-1 obtains the location information of the second terminal from the second terminal through a communication connection established with the second terminal, and determines the distance between the second terminal 400-2 and the first terminal 400-1; when the distance between the second terminal 400-2 and the first terminal 400-1 is less than a distance threshold, a request for obtaining media recommendation information is sent to the server 200;
[0088] Based on the acquisition request, the server 200 searches for target media recommendation information suitable for the user corresponding to the second terminal 400-2 and returns it to the first terminal 400-1;
[0089] After receiving the target media recommendation information suitable for the user corresponding to the second terminal 400-2, when the media recommendation information currently presented by the first terminal is not suitable for the user, the first terminal 400-1 cancels the currently presented media recommendation information and presents the target media recommendation information suitable for the user corresponding to the second terminal 400-2.
[0090] In some embodiments, the server 200 can be an independent physical server, or 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 communications, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, which are not limited in the embodiments of the present application.
[0091] Based on the above description of the media recommendation information presentation system of the embodiments of the present application, the media recommendation information presentation method provided by the embodiments of the present application will be described next. In some embodiments, the media recommendation information presentation method provided by the embodiments of the present application can be implemented by the terminal alone, or jointly implemented by the server and the terminal. The media recommendation information presentation method provided by the embodiments of the present application will be described below taking the terminal implementation as an example.
[0092] See Figure 2 , Figure 2 which is a schematic flowchart of the media recommendation information presentation method provided by the embodiments of the present application, and will be described in combination with Figure 2 the steps shown.
[0093] Step 201: Present media recommendation information through the first terminal.
[0094] In actual implementation, the first terminal is used for the recommendation of media recommendation information. Among them, a client is set on the first terminal, such as a video client, a picture client, a news client, etc. The terminal can implement the recommendation of media recommendation information through the client, such as picture information, article information, video information, etc.
[0095] Step 202: When the distance between the second terminal and the first terminal is less than the distance threshold, obtain target media recommendation information adapted to the user corresponding to the second terminal.
[0096] In practical applications, the user can hold the second terminal and move. During the movement, when the distance between the second terminal and the first terminal is less than the distance threshold, the first terminal will obtain target media recommendation information adapted to the user corresponding to the second terminal; for example, when the distance threshold is 1 meter, when the user holds the second terminal and moves to the area within 1 meter of the billboard, it is determined that the distance between the second terminal and the first terminal is less than the distance threshold.
[0097] In some embodiments, the first terminal can determine the distance between the second terminal and the first terminal in the following manner: through the communication connection established with the second terminal, obtain the location information of the second terminal from the second terminal; and determine the distance between the second terminal and the first terminal according to the location information of the second terminal.
[0098] Here, when a communication connection is established between a first terminal and a second terminal, the first terminal can obtain data in the second terminal. In actual implementation, the second terminal obtains its own location information in real time, such as obtaining its own location information through the Global Positioning System (GPS), and sends its own location information to the first terminal in real time. The first terminal monitors the distance between the second terminal and the first terminal in real time based on the obtained location information of the second terminal and its own location information, and compares the distance between the second terminal and the first terminal with a distance threshold. When it is detected that the distance between the second terminal and the first terminal is less than the distance threshold, target media recommendation information suitable for the user corresponding to the second terminal is obtained.
[0099] As an example, the first terminal is a billboard in a shopping mall that provides free WiFi (mobile hotspot) service. When the user's handheld second terminal connects to the free WiFi provided by the first terminal, a communication connection is established between the billboard and the second terminal, and the billboard can obtain data of the second terminal, such as the location information of the second terminal; through the established communication connection with the second terminal, the billboard obtains the location information of the second terminal in real time to determine the distance between the second terminal and the billboard, and compares the determined distance with the distance threshold to determine whether the distance between the second terminal and the first terminal is less than the distance threshold.
[0100] In some embodiments, the first terminal can obtain target media recommendation information suitable for the user corresponding to the second terminal in the following manner: obtain a user profile of the user corresponding to the second terminal; screen out media recommendation information suitable for the user profile from a media information library as target media recommendation information suitable for the user corresponding to the second terminal.
[0101] In actual implementation, the first terminal obtains the basic user information and historical behavior data of the user corresponding to the second terminal. Among them, the basic user information can be information such as the user's gender, age, and income, and the historical behavior data can be search behavior data, browsing behavior data, etc., such as obtaining the information searched by the user during a target time period; then a user profile is constructed according to the basic user information and historical behavior data of the user; after constructing the user profile, the user profile is matched with the media recommendation information in the media information library to screen out media recommendation information suitable for the user profile as target media recommendation information suitable for the user corresponding to the second terminal.
[0102] In some embodiments, the first terminal may screen out media recommendation information adapted to the user profile from the media information library in the following manner: obtain the media tags of each media recommendation information in the media information library; screen out, from the media recommendation information library, the media recommendation information whose media tags match the user interest tags included in the user profile as the media recommendation information adapted to the user profile.
[0103] Here, when the media recommendation information is uploaded to the media information library, media tags will be assigned to the media recommendation information according to its content. The media tags here can be manually labeled or obtained by identifying the media recommendation information and labeling it according to the recognition result; correspondingly, the user profile can be composed of one or more user interest tags.
[0104] In actual implementation, the first terminal obtains the media tags of each media recommendation information in the media information library, then matches the media tags of each media recommendation information with the user interest tags to obtain the matching degree between the media tags of each media recommendation information and the user interest tags; then, based on the obtained matching degree, screen out, from the media information library, the media recommendation information whose media tags match the user interest tags included in the user profile.
[0105] Here, a matching degree threshold can be set. If the matching degree between the media tags of a certain media recommendation information and the user interest tags reaches the matching degree threshold, it is considered that the media tags of this media recommendation information match the user interest tags; or, a preset number of media recommendation information can be set, and the media recommendation information can be sorted according to the matching degree from high to low, and then the preset number of media recommendation information with the highest matching degree is selected as the media recommendation information adapted to the user profile.
[0106] In some embodiments, when the number of user interest tags included in the user profile is at least two, for each user interest tag, it is respectively matched with the media tags of each media recommendation information, and then the matching results of multiple user interest tags and media tags are synthesized to determine the final media recommendation information that matches the media interest tags included in the user profile.
[0107] In actual implementation, for a certain media recommendation information, its media tags can be matched with each user interest tag to obtain multiple matching degrees, and the average value of the multiple matching degrees is used to determine whether this media recommendation information is the media recommendation information whose media tags match the user interest tags included in the user profile. If the average value reaches the matching degree threshold, it is determined that this media recommendation information is the media recommendation information whose media tags match the user interest tags included in the user profile.
[0108] In some embodiments, the first terminal may determine that the media tag matches the user interest tag in the following manner: Semantically recognize the user interest tag and the media tags of each media recommendation information respectively to obtain the semantic information of the user interest tag and the semantic information of each media tag; Perform similarity matching on the semantic information of the user interest tag and the semantic information of each media tag to obtain a matching result; When the matching result indicates that the similarity between the semantic information of the user interest tag and the semantic information of the media tag reaches the similarity threshold, it is determined that the media tag matches the user interest tag.
[0109] Here, matching can be performed based on the semantics of the user interest tag and the media tags of each media recommendation information. In actual implementation, for any one of the user interest tag and the media tags of each media recommendation information, first perform word segmentation on the tag, and then construct a neural network model (such as a convolutional neural network model) to obtain the semantic vectors corresponding to each word obtained by word segmentation, and use the semantic vectors to label the semantic information corresponding to the word. After obtaining the semantic information of each word included in a certain tag, integrate these semantic information to obtain the semantic information of the corresponding tag.
[0110] In practical applications, after obtaining the semantic information of the user interest tag and the semantic information of each media tag, calculate the similarity between the semantic information of the user interest tag and the semantic information of each media tag. Here, the similarity can be cosine similarity, Euclidean distance, Pearson correlation coefficient, etc. Here, the similarity is used to represent the matching degree between the semantic information of the user interest tag and the semantic information of each media tag. Furthermore, compare the calculated similarity with the similarity threshold. For any user interest tag and any media tag, if the similarity between the media tag and the user interest tag reaches the similarity threshold, then it can be determined that the media tag matches the user interest tag.
[0111] In some embodiments, the target media recommendation information suitable for the user corresponding to the second terminal may be obtained in the following manner: When the number of second terminals is at least two, obtain the user interest tags of the users corresponding to each second terminal; Perform tag screening on the user interest tags of the users corresponding to each second terminal to obtain target user interest tags; Screen out the media recommendation information suitable for the target interest tags from the media information library as the target media recommendation information suitable for the user corresponding to the second terminal.
[0112] In actual implementation, when the distance between multiple second terminals and the first terminal is less than the distance threshold, the user interest tags of multiple second terminals can be combined to determine the target user interest tags. Among them, the number of determined target user interest tags can be one or multiple, which is not limited here.
[0113] In some embodiments, the user interest tags shared by the users corresponding to multiple second terminals can be used as the target user interest tags. For example, if the number of second terminals is two, and the corresponding users are User A and User B. Among them, the user interest tags of User A include User Interest Tag 1, User Interest Tag 2, and User Interest Tag 3, and the user interest tags of User B include User Interest Tag 1, User Interest Tag 4, and User Interest Tag 5. Then, User Interest Tag 1 can be used as the target user tag.
[0114] In some embodiments, the user interest tag with the largest corresponding number of users can be used as the target user tag. For example, if the number of second terminals is three, and the corresponding users are User A, User B, and User C. Among them, the user interest tags of User A include User Interest Tag 1, User Interest Tag 2, and User Interest Tag 3, the user interest tags of User B include User Interest Tag 1, User Interest Tag 2, and User Interest Tag 4, and the user interest tags of User C include User Interest Tag 1, User Interest Tag 4, and User Interest Tag 5. Then, User Interest Tag 1 can be used as the target user tag.
[0115] In some embodiments, the target media recommendation information can be presented in the following manner: when the number of second terminals is multiple, a target number of second terminals are screened out from the multiple second terminals according to the distance between each second terminal and the first terminal; and the media recommendation information adapted to the users corresponding to the target number of second terminals is obtained.
[0116] In actual implementation, the number of second terminals whose distance from the first terminal meets the distance condition can be multiple. When the number of second terminals is too large, if the target media recommendation information adapted to the users corresponding to all second terminals is obtained, a large amount of computing resources will be required. Here, according to the distance between each second terminal and the first terminal, the second terminals are screened to determine the target number of second terminals closest to the first terminal, and then the media recommendation information adapted to the users corresponding to the target number of second terminals.
[0117] For example, taking the first terminal as a billboard in a shopping mall, the number of second terminals whose distance from the billboard meets the distance condition can be multiple. Here, the target number is determined to be 5. Then, according to the distance between each second terminal and the billboard, the second terminals are sorted from the nearest to the farthest, and then 5 second terminals are screened starting from the first one according to the sorted sequence, and the target media recommendation information adapted to the users corresponding to these 5 second terminals is obtained.
[0118] In practical applications, when the target number is greater than the number of second terminals, the target media recommendation information adapted to the users corresponding to all second terminals can be obtained.
[0119] Step 203: When the media recommendation information currently presented by the first terminal is not suitable for the user, present target media recommendation information through the first terminal.
[0120] Here, after the first terminal obtains the target media recommendation information suitable for the user corresponding to the second terminal, it determines whether the currently presented media recommendation information is suitable for the user corresponding to the second terminal. When it is determined that the currently presented media recommendation information is not suitable for the user corresponding to the second terminal, the target media recommendation information is presented through the first terminal, so that the user holding the second terminal can view the content presented by the first terminal, so as to recommend the target media recommendation information to the user.
[0121] In actual implementation, it is possible to match the currently presented media recommendation information with the obtained target media recommendation information to determine whether the currently presented media recommendation information is suitable for the user; or, the currently presented media recommendation information can be matched with the user portrait of the user to determine whether the currently presented media recommendation information is suitable for the user.
[0122] In some embodiments, the target media recommendation information can be presented in the following manner: when the number of target media recommendation information is at least two, sort the at least two target media recommendation information according to the degree of suitability of each target media recommendation information for the user to obtain a sorting result; present the at least two target media recommendation information through the first terminal according to the sorting result.
[0123] The target media recommendation information presented according to the sorting result here can be all the obtained target media recommendation information presented, or some of the obtained target media recommendation information, such as presenting the target media recommendation information with a target quantity.
[0124] In actual implementation, when determining the target media recommendation information suitable for the user corresponding to the second terminal, the degree of suitability of each media recommendation information in the media information library for the user will be determined to screen out the media recommendation information whose degree of suitability meets the conditions as the target media recommendation information suitable for the user. Here, the number of target media recommendation information suitable for the user corresponding to the second terminal can be at least two, and the at least two target media recommendation information are sorted according to the determined degree of suitability from high to low. For example, they can be sorted from high to low according to the degree of suitability.
[0125] In some embodiments, the at least two target media recommendation information can be sequentially presented through the first terminal according to the sorting result, that is, when presenting the target media recommendation information, first present the target media recommendation information ranked first, and after the first target media recommendation information is presented, then present the next target media recommendation information.
[0126] In actual implementation, when presenting at least two target media recommendation messages through a first terminal, if the target media recommendation message itself has a corresponding presentation duration, such as when the target media recommendation message is a video message, then the target media recommendation message is presented according to its corresponding duration, that is, after the video is played, the next video is played; when the target media recommendation message itself does not have a corresponding presentation duration, a presentation duration can be set in advance. For example, when the target media recommendation message is a picture message, a presentation duration can be set in advance, such as 5 seconds. When the presentation duration of the picture message reaches 5 seconds, the next target media recommendation message is presented.
[0127] For example, Figure 3 is a schematic diagram of the presentation interface of the media recommendation message provided by an embodiment of the present application. Refer to Figure 3 , the first media recommendation message 301 is presented through the view interface of the first terminal. After 3 seconds, it is switched to the second media recommendation message 302. Here, both the first media recommendation message and the second media recommendation message are target media recommendation messages adapted to the user corresponding to the second terminal, and the degree of adaptation between the first media recommendation message and the user is higher than that between the second media recommendation message and the user.
[0128] In some embodiments, a target number of target media recommendation messages can be presented according to the sorting result. Here, when presenting the target number of target media recommendation messages, the presentation position of the target media recommendation message in the view interface corresponds to its position in the sorting result. For example, when sorting from high to low according to the degree of adaptation, then starting from the first position of the target media recommendation message sequence obtained by sorting, a pre-target number of target media recommendation messages are selected and presented in the view interface from top to bottom in sequence.
[0129] In actual implementation, the target number can be set in advance or set by the user. After presenting the target number of target media recommendation messages, the target media recommendation messages can also be switched according to the sorting result. For example, when the target number is 5, the target media recommendation messages ranked 1-5 are presented first, and when a switching instruction is received, the target media recommendation messages ranked 6-10 are presented.
[0130] In some embodiments, the target media recommendation message can be presented in the following manner: in the view interface of the first terminal, the target media recommendation message adapted to the user corresponding to the second terminal and the associated media information different from the target media recommendation message are presented; among them, the presentation form of the target media recommendation message is the target presentation form, and the target presentation form makes the target media recommendation message different from the associated media information.
[0131] Here, the associated media information can be media recommendation information fixedly presented in the view interface of the first terminal, while the target media recommendation information is media recommendation information adapted to the user corresponding to the second terminal and will change according to different users. In actual implementation, the target presentation form can be enlarged presentation, highlighted presentation, etc., as long as the target presentation form is different from the presentation form of the associated media information. The specific target presentation form is not limited here.
[0132] For example, in the scenario of dish recommendation in a restaurant, the first terminal is the terminal located in the restaurant and is used to present the menu in the restaurant. When presenting the menu, the dish information adapted to the user corresponding to the second terminal can be prominently presented. For example, Figure 4 is a schematic diagram of the presentation interface of the media recommendation information provided by an embodiment of the present application. Refer to Figure 4 , in the view interface of the first terminal, the dish information in the restaurant is presented. Among them, the dish information 401 adapted to the user corresponding to the second terminal is presented in the form of a combination of text and pictures and is presented at the top of the view interface, and other dish information 402 is presented in text form to prominently display the dish information adapted to the user corresponding to the second terminal.
[0133] In some embodiments, when the number of second terminals is at least two, correspondingly, the target media recommendation information includes the target media recommendation information adapted to the users corresponding to at least two second terminals; the first terminal can present the target media recommendation information in the following way: in the view interface of the first terminal, at least two presentation areas equal to the number of second terminals are presented, and through the at least two presentation areas, the target media recommendation information adapted to the users corresponding to each second terminal is presented respectively; among them, the presentation areas correspond to the second terminals one by one.
[0134] In actual implementation, the number of second terminals can be at least two. Here, the number of presentation areas in the view interface of the first terminal can be determined according to the number of second terminals so that the number of presentation areas is the same as the number of second terminals. In this way, each area can correspond to a second terminal, and the media recommendation information adapted to the users corresponding to the respective second terminals can be presented through the respective presentation areas.
[0135] For example, when the number of second terminals is 4, Figure 5 is a schematic diagram of the presentation interface of the media recommendation information provided by an embodiment of the present application. Refer to Figure 5, the view interface of the first terminal is divided into 4 presentation areas, namely 501, 502, 503, and 504. Among them, 501 corresponds to the second terminal of user A, 502 corresponds to the second terminal of user B, 503 corresponds to the second terminal of user C, and 504 corresponds to the second terminal of user D. Then, the target media recommendation information adapted to user A is presented through 501, the target media recommendation information adapted to user B is presented through 502, the target media recommendation information adapted to user C is presented through 503, and the target media recommendation information adapted to user D is presented through 504.
[0136] Here, the types of the target media recommendation information presented in each presentation area may be the same or different. For example, when there are two presentation areas in the view interface of the first terminal, both of these two presentation areas may present video information, or one may present video information and the other may present picture information.
[0137] In some embodiments, the target media recommendation information may be presented in the following manner: obtaining the user level of the user corresponding to the second terminal; when the user level reaches the corresponding level threshold, presenting the target media recommendation information adapted to the user corresponding to the second terminal through the first terminal.
[0138] In actual implementation, obtain the user level of the user corresponding to the second terminal, compare the user level with the level threshold, and only recommend personalized media recommendation information for users whose user levels reach the corresponding level thresholds. If the user level does not reach the corresponding level threshold, then no personalized recommendation is made for them.
[0139] For example, when the first terminal is a billboard in a shopping mall, some users may just pass by the billboard without purchasing power. Here, the user level of the user corresponding to the second terminal can be obtained to determine whether the user has purchasing power. When the user has purchasing power, personalized advertisement recommendations are made for them, such as only making personalized recommendations for VIP users of the shopping mall.
[0140] In some embodiments, the terminal can also generate a presentation record of the target media recommendation information corresponding to the second terminal; perform a hash transformation on the presentation record to obtain summary information corresponding to the presentation record; and store the summary information in the blockchain network.
[0141] Here, the embodiments of the present application can also be combined with blockchain technology. After presenting the record of the target media recommendation information of the second terminal, a transaction for storing the presentation record of the target media recommendation information corresponding to the second terminal is generated and submitted to the nodes of the blockchain network, so that the nodes store the presentation record of the target media recommendation information corresponding to the second terminal in the blockchain network after reaching a consensus on the transaction; before storing it in the blockchain network, the terminal can also obtain the digest information of the corresponding presentation record for the presentation record of the target media recommendation information corresponding to the second terminal; and store the obtained digest information of the corresponding presentation record in the blockchain network. Through the above method, the presentation record is prevented from being tampered with, and the security of the user's presentation record is improved.
[0142] See Figure 6 , Figure 6 FIG. is a schematic diagram of the application architecture of the blockchain network provided by the embodiments of the present application, including a business entity 400, an authentication center 500, and a blockchain network 600 (exemplarily showing consensus nodes 610-1 to 610-3). The following will be described separately.
[0143] The type of the blockchain network 600 is flexible and diverse. For example, it can be any one of a public chain, a private chain, or a consortium chain. Taking the public chain as an example, the electronic devices of any business entity, such as user terminals and servers, can access the blockchain network 600 without authorization; taking the consortium chain as an example, the computer devices (such as terminals / servers) under the jurisdiction of the business entity can access the blockchain network 600 after obtaining authorization. At this time, they become client nodes in the blockchain network 600.
[0144] In some embodiments, the client node can only be an observer of the blockchain network 600, that is, it provides functions to support the business entity to initiate transactions (for example, for storing data on the chain or querying data on the chain). For the functions of the consensus nodes 610 of the blockchain network 600, such as sorting functions, consensus services, and ledger functions, etc., the client node can be default or selectively (for example, depending on the specific business needs of the business entity) implemented. Thus, the data and business processing logic of the business entity can be migrated to the blockchain network 600 to the greatest extent, and the trust and traceability of the data and business processing process can be achieved through the blockchain network 600.
[0145] The consensus nodes in the blockchain network 600 receive the transactions submitted by the client nodes of the business entity 400, execute the transactions to update the ledger or query the ledger, and various intermediate results or final results of the executed transactions can be returned to the client nodes of the business entity for display.
[0146] For example, the client node 410 can subscribe to events of interest in the blockchain network 600, such as transactions occurring in a specific organization / channel in the blockchain network 600. The consensus node 610 pushes the corresponding transaction notification to the client node 410, thereby triggering the corresponding business logic in the client node 410.
[0147] Taking the access of a business entity to the blockchain network to realize the redemption of points as an example, the exemplary application of the blockchain is described below.
[0148] See Figure 6 , the business entity 400 involved in the presentation of the target media recommendation information registers and obtains a digital certificate from the certification center 500. The digital certificate includes the public key of the business entity and the digital signature signed by the certification center 500 for the public key and identity information of the business entity. It is used to be attached to the transaction together with the digital signature of the business entity for the transaction and sent to the blockchain network, so that the blockchain network can extract the digital certificate and signature from the transaction to verify the reliability of the message (i.e., whether it has been tampered with) and the identity information of the business entity sending the message. The blockchain network will perform verification based on the identity, such as whether it has the permission to initiate the transaction. The client running on the computer device (such as a terminal or a server) under the business entity can request access to the blockchain network 600 and become a client node.
[0149] The client node 410 of the business entity 400 is used to present the target media recommendation information. For example, when the distance between the second terminal and the first terminal meets the distance condition, it obtains the target media recommendation information suitable for the user corresponding to the second terminal; presents the target media recommendation information suitable for the user corresponding to the second terminal through the first terminal; generates a presentation record of the target media recommendation information corresponding to the second terminal; and sends the presentation record to the blockchain network 600.
[0150] Among them, for the operation of sending the presentation record to the blockchain network 600, the business logic can be pre-set in the client node 410. When the presentation record of the target media recommendation information corresponding to the second terminal is generated, the client node 410 automatically sends the presentation record to the blockchain network 600. It can also be that the business personnel of the business entity 400 log in to the client node 410, manually package the redemption record, and send it to the blockchain network 600. When sending, the client node 410 generates a transaction corresponding to the storage operation according to the presentation record of the target media recommendation information corresponding to the second terminal. The transaction specifies the smart contract to be called to implement the storage operation and the parameters passed to the smart contract. The transaction also carries the digital certificate and the signed digital signature of the client node 410 (for example, encrypted using the private key in the digital certificate of the client node 410 for the digest of the transaction), and broadcasts the transaction to the consensus node 610 in the blockchain network 600.
[0151] When the consensus node 610 in the blockchain network 600 receives a transaction, it verifies the digital certificate and digital signature carried by the transaction. After successful verification, it confirms whether the business entity 400 has transaction authority based on the identity of the business entity 400 carried in the transaction. Any verification failure in the digital signature and authority verification will result in the failure of the transaction. After successful verification, the signing node 610 signs its own digital signature (for example, encrypts the digest of the transaction using the private key of node 610-1) and continues to broadcast in the blockchain network 600.
[0152] After the consensus node 610 in the blockchain network 600 receives a transaction with successful verification, it fills the transaction into a new block and broadcasts it. When the consensus node 610 in the blockchain network 600 broadcasts a new block, it conducts a consensus process on the new block. If the consensus is successful, it appends the new block to the tail of the blockchain stored by itself and updates the state database according to the result of the transaction, and executes the transaction in the new block: for the transaction submitting an update to the collection record, it adds a collection record to the state database.
[0153] As an example of the blockchain, see Figure 7 , Figure 7 which is a schematic structural diagram of the blockchain in the blockchain network 600 provided by the embodiment of the present application. The header of each block can include both the hash value of all transactions in the block and the hash value of all transactions in the previous block. After the record of the newly generated transaction is filled into the block and consensus is reached among the nodes in the blockchain network, it will be appended to the tail of the blockchain to form a chain-like growth. The chain-like structure based on the hash value between blocks ensures the anti-tampering and anti-counterfeiting of the transactions in the block.
[0154] The following describes the exemplary functional architecture of the blockchain network provided by the embodiment of the present application. See Figure 8 , Figure 8 which is a schematic diagram of the functional architecture of the blockchain network 600 provided by the embodiment of the present application. The blockchain network includes an application layer 601, a consensus layer 602, a network layer 603, a data layer 604, and a resource layer 605, which will be described separately below.
[0155] The resource layer 605 encapsulates the computing resources, storage resources, and communication resources of each node 610 in the blockchain network 600.
[0156] The data layer 604 encapsulates various data structures for implementing the ledger, including the blockchain implemented as files in the file system, the key-value state database, and the proof of existence (such as the hash tree of the transactions in the block).
[0157] The network layer 603 encapsulates functions such as the point-to-point (P2P) network protocol, data dissemination mechanism, data verification mechanism, access authentication mechanism, and business entity identity management.
[0158] Among them, the P2P network protocol enables communication between nodes 610 in the blockchain network 600. The data dissemination mechanism ensures the dissemination of transactions in the blockchain network 600. The data verification mechanism is used to achieve the reliability of data transmission between nodes 610 based on cryptographic methods (such as digital certificates, digital signatures, public / private key pairs). The access authentication mechanism is used to authenticate the identity of business entities joining the blockchain network 600 according to the actual business scenario and grant the business entity the permission to access the blockchain network 600 when the authentication is passed. The business entity identity management is used to store the identities of business entities allowed to access the blockchain network 600 and their permissions (such as the types of transactions that can be initiated).
[0159] The consensus layer 602 encapsulates the mechanism for nodes 610 in the blockchain network 600 to reach consensus on blocks (i.e., the consensus mechanism), as well as functions for transaction management and ledger management. The consensus mechanism includes consensus algorithms such as POS, POW, and DPOS, and supports the pluggability of consensus algorithms.
[0160] Transaction management is used to verify the digital signatures carried in the transactions received by nodes 610, verify the identity information of business entities, and determine whether they have the permission to conduct transactions based on the identity information (reading relevant information from the business entity identity management). For business entities authorized to access the blockchain network 600, they all have digital certificates issued by the certification authority. The business entity uses the private key in its digital certificate to sign the submitted transaction, thereby declaring its legal identity.
[0161] Ledger management is used to maintain the blockchain and the state database. For the blocks that have reached consensus, they are appended to the end of the blockchain. Execute the transactions in the blocks that have reached consensus. When the transaction includes an update operation, update the key-value pairs in the state database. When the transaction includes a query operation, query the key-value pairs in the state database and return the query results to the client node of the business entity. Support various-dimensional query operations on the state database, including: querying blocks according to the block serial number (such as the hash value of the transaction); querying blocks according to the block hash value; querying blocks according to the transaction serial number; querying transactions according to the transaction serial number; querying the account data of business entities according to the account (serial number) of the business entity; querying the blockchain in the channel according to the channel name.
[0162] The application layer 601 encapsulates various services that the blockchain network can implement, including transaction traceability, evidence storage, and verification, etc.
[0163] Applying the above embodiments, media recommendation information is presented through a first terminal; when the distance between the second terminal and the first terminal meets the distance condition, target media recommendation information adapted to the user corresponding to the second terminal is obtained; when the media recommendation information currently presented by the first terminal is not adapted to the user, the target media recommendation information is presented through the first terminal; thus, when the second terminal is near the first terminal, the first terminal can present the target media recommendation information adapted to the user corresponding to the second terminal, so that the target media recommendation information presented by the first terminal is adapted to the users near it, thereby improving the effectiveness of presenting media recommendation information.
[0164] The following continues to describe the method for presenting media recommendation information provided by the embodiments of the present application. In some embodiments, the method for presenting media recommendation information provided by the embodiments of the present application can be jointly implemented by a first terminal, a second terminal, and a server.
[0165] Figure 9 It is a flowchart of the method for presenting media recommendation information provided by the embodiments of the present application. Refer to Figure 9 , the method for presenting media recommendation information provided by the embodiments of the present application includes:
[0166] Step 901: The server obtains the location information of the first terminal and the second terminal.
[0167] Step 902: The server determines the distance between the second terminal and the first terminal according to the location information of the first terminal and the second terminal.
[0168] Step 903: When the distance between the second terminal and the first terminal is less than the distance threshold, the server sends a request for obtaining user information to the second terminal.
[0169] Step 904: The second terminal sends the basic information and historical behavior data of the user to the server.
[0170] Step 905: The server constructs a user profile according to the basic information and historical behavior data of the user.
[0171] Step 906: The server screens out target media recommendation information adapted to the user profile from the media information library and sends it to the first terminal.
[0172] Step 907: The first terminal switches the currently presented media recommendation information to the target media recommendation information.
[0173] Applying the above embodiments, when the second terminal is near the first terminal, the server can screen out target media recommendation information according to the user profile of the user corresponding to the second terminal and send it to the first terminal, so that the first terminal can switch the currently presented media recommendation information to the target media recommendation information adapted to the users near it, thereby improving the effectiveness of the presentation of media recommendation information.
[0174] The following will illustrate the exemplary application of the embodiments of the present application in an actual application scenario. Taking the first terminal as a billboard as an example to illustrate the method for presenting media recommendation information provided by the embodiments of the present application. Here, the billboard is installed with a video client, and the video client is connected to the second terminal carried by the user through the Internet of Things to obtain data in the second terminal, such as user basic information, user behavior data, etc.
[0175] Among them, the networking technologies of the Internet of Things are much richer than those of the Internet technology. On the one hand, it inherits the Internet networking technology, and on the other hand, due to the particularity of the Internet of Things environment and devices, many suitable networking technologies have emerged. The following figure shows the networking technologies used in a typical Internet of Things scenario.
[0176] Figure 10 is a schematic diagram of the Internet of Things connection provided by the embodiments of the present application. Refer to Figure 10 , in the Internet of Things scenario, each device or host is connected to the Internet of Things network in a certain way, such as through Ethernet, Bluetooth, RS485 bus, WiFi, LaRa, Zigbee.
[0177] In actual implementation, the connection forms can usually be divided into wired connections and wireless connections. Different types of devices may choose different connection methods, and finally form an interconnected network. The following will illustrate the common connection methods.
[0178] 1) Ethernet: Ethernet is the most commonly used local area network networking method (the main standard is IEEE 802.3). A network is formed through hubs, switches, and routers, and these network devices are connected to the host using twisted pairs (or optical fibers). Figure 11 is a schematic diagram of Ethernet-connected devices provided by the embodiments of the present application. Refer to Figure 11 , the Ethernet-connected devices include connecting wires, hubs, switches, and routers. Figure 12 is a schematic diagram of the Ethernet networking structure provided by the embodiments of the present application. Refer to Figure 12 , the terminal is connected to the switch, the switch is connected to the router, and then connected to the Internet through the router.
[0179] 2) WIFI: WIFI represents the wireless local area network networking technology (the main standard is IEEE 802.11), which is widely used in home, commercial and industrial scenarios and has become one of the most mainstream networking methods. WIFI provides great convenience for networking within a building, avoiding physical wiring and construction. At the same time, the range of the WIFI network can be as small as a single room or as large as a town level, and the bandwidth can range from dozens of Mbps to hundreds of Mbps. Figures 13A - 13B It is a schematic diagram of the WiFi networking structure provided by the embodiments of this application. Refer to Figure 13A , in a relatively small space, all networked devices can be connected by a single wireless router; if the signal is weak due to encountering a wall, or the signal is weak in a slightly larger area, a signal amplifier or a cascaded connection of multiple wireless routers can be added to form a network; refer to Figure 13B , in a relatively large space, such as an office space across floors, a combination of an access controller (AC, Access Controller) and wireless access points (APs, AccessPoints) can be used to form a wireless local area network. These APs are connected by wire, so that the space is not affected by the wireless transmission distance, and the wireless connection of users can roam throughout the area.
[0180] 3) Bluetooth: Bluetooth is a short-range (usually less than 10 meters) wireless communication technology, which is usually used for data communication between laptop computers, smartphones, in-vehicle systems, wireless earphones, and various wearable devices. The characteristics of Bluetooth are: short range, low power consumption, and low rate, which are suitable for building a personal area network (PAN, Personal Area Network) in a small area. Bluetooth operates in the globally available 2.4GHz unlicensed band and uses the IEEE 802.11 protocol. In addition to being widely used in personal wearables and consumer computer devices, Bluetooth technology is also used in industries, medical, automotive and other fields to provide convenience for device networking and diagnosis. However, many problems have been encountered in the development of Bluetooth technology, including power consumption, transmission security, and cumbersome connection. With the development of Bluetooth technology to version 4.0 (in 2012), these problems have been greatly improved and are currently very popular. Bluetooth devices usually cannot directly connect to the Internet, but can connect to the Internet with the help of other devices. Figures 14A - 14C It is a schematic diagram of the Bluetooth networking structure provided by the embodiments of this application. Refer to Figure 14A , smart bracelets and watches are connected to the Internet through smartphones or tablets (up to 7 can be connected at the same time); refer to Figure 14B , multiple Bluetooth devices are connected to the Internet through a Bluetooth router; Bluetooth 5.0 supports Bluetooth Mesh, which forms an ad-hoc network in a mesh structure and is suitable for networking in scenarios with a dense concentration of Bluetooth devices. Refer toFigure 14C , a Bluetooth Mesh network is constructed using indoor lighting nodes, and other Bluetooth devices join this network.
[0181] 4) Low Power Wide Area Network (LPWAN): LPWAN is suitable for enabling Internet of Things (IoT) terminals to connect to the Internet within a wide area. There are typically two technologies: NB-IoT and LoRa. a. NB-IoT is a narrowband low-power wide area network technology that uses mobile base stations for communication. It uses licensed frequency bands and can be directly deployed on existing mobile communication networks, requiring the operator to provide services and support. NB-IoT targets IoT devices with low power consumption, wide area coverage, small data volume, and low update frequency, and is suitable for various outdoor scenarios such as street lights, parking, shared bicycles, logistics containers, and air monitors. Figures 15A - 15B It is a schematic diagram of the LPWAN networking structure provided by an embodiment of this application. Figure 15A It shows a typical NB-IoT network structure; Figure 15B It shows the LoRa network structure. LoRa is another narrowband communication technology that competes with NB-IoT and uses unlicensed frequency bands. When networking with LoRa, it does not require operator support. The terminal device connects to the local area network or the Internet through a LoRa gateway. LoRa can be used by enterprises to establish a wide-area private wireless network to connect various IoT devices in the enterprise scenario, and the distance between the device and the gateway can reach 2 kilometers to more than 10 kilometers.
[0182] 5) Zigbee: Zigbee is a short-range (10 meters to nearly 100 meters) wireless network technology suitable for connecting terminal devices in an indoor environment. The lower layer protocol of the Zigbee network complies with the IEEE 802.15.4 standard, and the upper layer protocol is defined and standardized by the Zigbee organization, achieving transmission security and the communication requirements of the application layer between nodes. The Zigbee networking cost is low. A network is constructed through a coordinator. The terminal device either communicates directly with the coordinator or indirectly connects to the network through other devices in a relay manner. Zigbee is currently mainly applied to scenarios with a large number of networked devices such as industrial automation, building automation, warehousing and logistics, and smart homes. Figure 16 It is a schematic diagram of the Zigbee networking structure provided by an embodiment of this application. Refer to Figure 16 , smart lights, thermometers, and air detectors are Zigbee terminal devices. Some devices are connected to the network through Zigbee repeaters and finally connect to the Internet through the Zigbee coordinator.
[0183] 6) DALI (Digital Addressable Lighting Interface): DALI is an open standard in the field of intelligent lighting. DALI is used to connect lighting devices. Each DALI bus can connect 64 lighting or switch devices, and the length can reach 300 meters. The DALI standard defines the communication language between devices: turn on, turn off, adjust the light, etc. The DALI controller, as a gateway, can be connected to RS-232, RS-485, Ethernet, or directly connected to wireless WIFI or mobile communication networks. Figure 17 is a schematic diagram of the DALI networking structure provided by the embodiments of the present application. Refer to Figure 17 , the terminal is connected to the DALI controller through the DALI bus and then connected to the Internet through the controller.
[0184] 7) Satellite networking: Connecting to the network through satellites is a relatively convenient way under special conditions, such as on airplanes, in remote mountainous areas, or on the sea. Communication satellites are connected to the Internet through ground stations. Figure 18 is a schematic diagram of the satellite networking structure provided by the embodiments of the present application. Refer to Figure 18 , satellite phones or ground receiving stations are connected to communication satellites through satellite antennas, and then connected to Internet services. In addition to data communication, current mainstream outdoor positioning is also achieved through satellites, such as the commonly used GPS positioning and Beidou satellite positioning.
[0185] Devices are connected to the network through the above various forms, usually connected to the IP network, and become part of the local area network or the Internet. Among them, the gateway is a key device, which can connect the independently organized Internet of Things network to the Internet. In the related art, there is a special intelligent gateway device (also known as the Internet of Things gateway), which can adapt to most common Internet of Things networking methods and organize Internet of Things devices with different connection methods into a network. Figure 19 is a schematic diagram of the intelligent gateway device provided by the embodiments of the present application. Refer to Figure 19 , the intelligent gateway can connect sub-networks such as RS-485, Ethernet, WIFI, and Zigbee.
[0186] In some cases, a PC (especially an industrial control PC) can also act as a gateway, usually supporting Ethernet, RS-232, and USB interfaces, and connecting to the RS-485 bus network through the RS-232 or USB to transfer the RS-485 interface.
[0187] Next, taking the WiFi connection method as an example, the method for presenting media recommendation information provided by the embodiments of the present application will be described. Figure 20It is a schematic flowchart of a method for presenting media recommendation information provided by an embodiment of the present application. Refer to Figure 20 The method for presenting media recommendation information provided by an embodiment of the present application includes:
[0188] Step 1901: The video client obtains the location information of the user terminal through the Internet of Things.
[0189] In actual implementation, the billboard provides free WiFi service and is installed with a video client. When the user terminal connects to the free WiFi provided by the billboard, the billboard establishes an Internet of Things connection with the user terminal, and the video client can obtain the data on the user terminal through the Internet of Things.
[0190] Step 1902: When it is determined that the distance between the user terminal and the billboard is less than the distance threshold according to the location information of the user terminal, obtain user information from the user terminal.
[0191] Here, during the process of the user moving with the user terminal, when the distance between the user terminal and the billboard is less than the distance threshold, that is, when the user moves near the billboard, the video client obtains user information from the user terminal. The user information here may include basic user information such as age and gender, and may also include user behavior data such as user browsing information and user search information.
[0192] Step 1903: The video client sends the user information to the advertising cloud service.
[0193] Step 1904: The advertising cloud service calls the user profiling service to construct user interest tags according to the user information.
[0194] Step 1905: Screen out the advertisements in the advertisement library that are adapted to the user interest tags according to the user interest tags.
[0195] In actual implementation, when the advertisement is placed, an advertisement tag is added to the advertisement for matching with the user interest tag. Here, the advertisement tag may include tags such as age, population, interest, and hobby. For example, the advertisement tag of a certain car may be 20 - 60 years old, male, love cars, comfortable, high - grade.
[0196] Here, the advertisement tags of the advertisements in the advertisement library are matched with the user interest tags to obtain the adaptation degree of each advertisement to the user, and then the advertisements are screened according to the high and low adaptation degrees, such as screening out the advertisement with the highest adaptation degree.
[0197] Step 1906: Send the advertisement link corresponding to the screened advertisement to the video client.
[0198] Step 1907: Obtain the corresponding advertisement according to the advertisement link and play it.
[0199] Here, the video client pulls the advertisement content corresponding to the advertisement link through the network and then plays the advertisement.
[0200] Here, the method for presenting media recommendation information provided in the embodiments of the present application can also be applied to application scenarios such as dish recommendation in a restaurant and rental resource recommendation by a real estate agent; correspondingly, the presented target media recommendation information can be dish information, house information, etc.
[0201] The embodiments of the present application have the following beneficial effects:
[0202] By playing target media recommendation information (such as advertisements) adapted to the user interest tags, the recommendation effectiveness of the media recommendation information and the viewing interest of the user can be improved.
[0203] See Figure 21 , Figure 21 is a schematic structural diagram of the device for presenting media recommendation information provided in the embodiments of the present application. The device 555 for presenting media recommendation information provided in the embodiments of the present application is set in the first terminal, and the first terminal is used for recommending media recommendation information, including:
[0204] The first presentation module 5551 is used to present media recommendation information through the first terminal;
[0205] The acquisition module 5552 is used to acquire target media recommendation information adapted to the user corresponding to the second terminal when the distance between the second terminal and the first terminal is less than the distance threshold;
[0206] The second presentation module 5553 is used to present target media recommendation information adapted to the user corresponding to the second terminal through the first terminal when the currently presented media recommendation information on the first terminal is not adapted to the user.
[0207] In some embodiments, the acquisition module 5552 is further used to obtain the location information of the second terminal from the second terminal through the communication connection established with the second terminal;
[0208] Determine the distance between the second terminal and the first terminal according to the location information of the second terminal.
[0209] In some embodiments, the second presentation module 5553 is further used to, when the number of the target media recommendation information is at least two, sort at least two pieces of the target media recommendation information according to the adaptation degree of each piece of the target media recommendation information to the user to obtain a sorting result;
[0210] Present at least two pieces of the target media recommendation information through the first terminal according to the sorting result.
[0211] In some embodiments, the second presentation module 5553 is further configured to present, in the view interface of the first terminal, target media recommendation information adapted to the user corresponding to the second terminal, and associated media information different from the target media recommendation information;
[0212] Wherein, the presentation form of the target media recommendation information is a target presentation form, and the target presentation form differentiates the target media recommendation information from the associated media information.
[0213] In some embodiments, when the number of second terminals is at least two, correspondingly, the target media recommendation information includes target media recommendation information adapted to the users corresponding to at least two second terminals;
[0214] The second presentation module 5553 is further configured to present at least two presentation areas having the same number as the second terminals in the view interface of the first terminal, and
[0215] Present, through the at least two presentation areas, target media recommendation information adapted to the users corresponding to each second terminal;
[0216] Wherein, the presentation areas correspond to the second terminals one by one.
[0217] In some embodiments, the second presentation module 5553 is further configured to obtain the user level of the user corresponding to the second terminal;
[0218] When the user level reaches the corresponding level threshold, present, through the first terminal, target media recommendation information adapted to the user corresponding to the second terminal.
[0219] In some embodiments, the obtaining module is further configured to, when the number of second terminals is multiple, screen out a target number of second terminals from the multiple second terminals according to the distance between each second terminal and the first terminal;
[0220] Obtain target media recommendation information adapted to the users corresponding to the target number of second terminals.
[0221] In some embodiments, the obtaining module 5552 is further configured to obtain the user portrait of the user corresponding to the second terminal;
[0222] Screen out, from the media information library, media recommendation information adapted to the user portrait as target media recommendation information adapted to the user corresponding to the second terminal.
[0223] In some embodiments, the obtaining module 5552 is further configured to obtain media tags of each media recommendation information in the media information library;
[0224] From the media information library, filter out media recommendation information whose media tags match the user interest tags included in the user profile, and use it as media recommendation information adapted to the user profile.
[0225] In some embodiments, the obtaining module 5552 is further configured to perform semantic recognition on each of the user interest tags and the media tags of each media recommendation information, to obtain semantic information of each user interest tag and semantic information of each media tag;
[0226] Perform similarity matching on the semantic information of the user interest tags and the semantic information of each media tag to obtain a matching result;
[0227] When the matching result indicates that the similarity between the semantic information of the user interest tag and the semantic information of the media tag reaches a similarity threshold, determine that the media tag matches the user interest tag.
[0228] In some embodiments, when the number of the second terminals is at least two, the obtaining module 5552 is further configured to obtain user interest tags of users corresponding to each second terminal;
[0229] Perform tag screening on the user interest tags of users corresponding to each second terminal to obtain target user interest tags;
[0230] Filter out media recommendation information adapted to the target interest tags from the media information library, and use it as target media recommendation information adapted to the users corresponding to the second terminal.
[0231] In some embodiments, the device further includes:
[0232] A storage module, configured to generate a presentation record of the target media recommendation information corresponding to the second terminal;
[0233] Perform a hash transformation on the presentation record to obtain summary information corresponding to the presentation record;
[0234] Store the summary information in the blockchain network.
[0235] Applying the above embodiments, when the second terminal is near the first terminal, the first terminal can present target media recommendation information adapted to the users corresponding to the second terminal, so that the target media recommendation information presented by the first terminal is adapted to the users near it, thereby improving the effectiveness of presenting media recommendation information.
[0236] An embodiment of the present application provides a computer device. Refer to Figure 22 , Figure 22 which is a schematic structural diagram of the computer device provided by the embodiment of the present application. In practical applications, the computer device can be Figure 1 a terminal or a server in Figure 1 . Taking the terminal shown in
[0237] as an example, the computer device for presenting the media recommendation information according to the embodiment of the present application will be described. The computer device includes:
[0238] a memory 550 for storing executable instructions;
[0239] Here, the processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0240] The memory 550 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memories, hard disk drives, optical disc drives, etc. The memory 550 optionally includes one or more storage devices physically located away from the processor 510.
[0241] The memory 550 includes volatile memory or non-volatile memory, and can also include both volatile and non-volatile memory. The non-volatile memory can be a read-only memory (ROM, Read Only Memory), and the volatile memory can be a random access memory (RAM, Random Access Memory). The memory 550 described in the embodiment of the present application is intended to include any suitable type of memory.
[0242] In some embodiments, it may further include at least one network interface 520 and a user interface 530. Each component in the computer device is coupled together through a bus system 540. It can be understood that the bus system 540 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in Figure 17 all kinds of buses are labeled as the bus system 540.
[0243] An embodiment of the present application provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for presenting media recommendation information described above in the embodiments of the present application.
[0244] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, where the executable instructions are stored. When the executable instructions are executed by a processor, the processor will be caused to execute the method provided by the embodiments of the present application. For example, as Figure 2 the method shown.
[0245] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disc, or CD-ROM; or may be various devices including one or any combination of the above memories.
[0246] In some embodiments, the executable instructions may be in the form of a program, software, software module, script, or code, and may be written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including being deployed as an independent program or being deployed as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0247] As an example, the executable instructions may or may not correspond to a file in a file system, and may be stored as part of a file that stores other programs or data. For example, they may be stored in one or more scripts in a HyperText Markup Language (HTML) document, stored in a single file dedicated to the program being discussed, or stored in multiple cooperating files (such as files storing one or more modules, subroutines, or code portions).
[0248] As an example, the executable instructions may be deployed to execute on one computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network.
[0249] The above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are all included in the protection scope of the present application.
Claims
1. A method for presenting media recommendation information, characterized in that, Applied to a first terminal, the first terminal being used for recommending media recommendation information, the method includes: Presenting media recommendation information through the first terminal; When the distance between a second terminal and the first terminal is less than a distance threshold, obtaining the user profile of the user corresponding to the second terminal and the media tags of each media recommendation information in the media information library; the user profile includes at least two user interest tags; For each media recommendation information, matching the media tag of the media recommendation information with each of the user interest tags in the user profile to obtain at least two matching degrees, and determining the average value of the at least two matching degrees; Regarding the media recommendation information whose average value reaches the matching degree threshold as the target media recommendation information suitable for the user corresponding to the second terminal; Determining whether the media recommendation information is suitable for the user by whether the media recommendation information currently presented by the first terminal matches the target media recommendation information, or by whether the media recommendation information matches the user profile of the user, and when the media recommendation information currently presented by the first terminal is not suitable for the user, obtaining the user level of the user corresponding to the second terminal; When the user level reaches the corresponding level threshold, through the first terminal, switching the currently presented media recommendation information to the target media recommendation information to recommend the target media recommendation information to the user, and presenting associated media information different from the target media recommendation information; Wherein, the associated media information is media recommendation information with the same information category as the target media recommendation information in the same recommendation scenario; the presentation form of the target media recommendation information is a target presentation form, and the target presentation form makes the target media recommendation information distinguishable from the associated media information.
2. The method according to claim 1, characterized in that, Before obtaining the target media recommendation information suitable for the user corresponding to the second terminal, the method further includes: Obtaining the location information of the second terminal from the second terminal through the communication connection established with the second terminal; Determining the distance between the second terminal and the first terminal according to the location information of the second terminal.
3. The method according to claim 1, wherein switching the currently presented media recommendation information to the target media recommendation information through the first terminal includes: When the number of the target media recommendation information is at least two, sorting the at least two target media recommendation information according to the degree of suitability of each target media recommendation information for the user to obtain a sorting result; Presenting the at least two target media recommendation information through the first terminal according to the sorting result.
4. The method according to claim 1, characterized in that, When the number of second terminals is at least two, the target media recommendation information includes the target media recommendation information suitable for the users corresponding to the at least two second terminals; The switching the currently presented media recommendation information to the target media recommendation information through the first terminal includes: In the view interface of the first terminal, presenting at least two presentation areas with the same number as the number of second terminals, and Presenting the target media recommendation information suitable for the users corresponding to each second terminal respectively through the at least two presentation areas; Among them, the presentation area corresponds to the second terminal one by one.
5. The method according to claim 1, characterized in that, The obtaining of the target media recommendation information adapted to the user corresponding to the second terminal includes: When the number of the second terminals is multiple, according to the distances between the respective second terminals and the first terminal, a target number of second terminals are screened out from the multiple second terminals; Obtain the target media recommendation information adapted to the users corresponding to the target number of the second terminals.
6. The method according to claim 1, characterized in that, The method further includes: Semantically recognize each of the user interest tags and the media tags of each media recommendation information, to obtain the semantic information of each user interest tag and the semantic information of each media tag; Perform similarity matching on the semantic information of the user interest tags and the semantic information of each media tag, to obtain a matching result; When the matching result indicates that the similarity between the semantic information of the user interest tag and the semantic information of the media tag reaches a similarity threshold, determine that the media tag matches the user interest tag.
7. The method according to claim 1, characterized in that, The obtaining of the target media recommendation information adapted to the user corresponding to the second terminal includes: When the number of the second terminals is at least two, obtain the user interest tags of the users corresponding to the respective second terminals; Perform tag screening on the user interest tags of the users corresponding to the respective second terminals, to obtain target user interest tags; Screen out the media recommendation information adapted to the target user interest tags from the media information library, as the target media recommendation information adapted to the user corresponding to the second terminal.
8. The method according to claim 1, characterized in that, The method further includes: Generate a presentation record of the target media recommendation information corresponding to the second terminal; Perform a hash transformation on the presentation record, to obtain a digest information corresponding to the presentation record; Store the digest information in the blockchain network.
9. An apparatus for presenting media recommendation information, characterized in that, Set in the first terminal, the first terminal is used for the recommendation of media recommendation information, and the device includes: A first presentation module, configured to present media recommendation information through the first terminal; An obtaining module, configured to, when the distance between the second terminal and the first terminal is less than a distance threshold, obtain the user portrait of the user corresponding to the second terminal and the media tags of each media recommendation information in the media information library; the user portrait includes at least two user interest tags; A determining module, configured to, for each media recommendation information, match the media tag of the media recommendation information with each of the user interest tags in the user portrait, to obtain at least two matching degrees, and determine the average value of the at least two matching degrees, and use the media recommendation information whose average value reaches the matching degree threshold as the target media recommendation information adapted to the user corresponding to the second terminal; A second presentation module, configured to determine whether the media recommendation information is suitable for the user by checking whether the media recommendation information currently presented by the first terminal matches the target media recommendation information, or by checking whether the media recommendation information matches the user portrait of the user. When the media recommendation information currently presented by the first terminal is not suitable for the user, the user level of the user corresponding to the second terminal is obtained. When the user level reaches the corresponding level threshold, the media recommendation information currently presented is switched to the target media recommendation information through the first terminal, so as to recommend the target media recommendation information to the user and present associated media information different from the target media recommendation information, where the associated media information is media recommendation information of the same information category as the target media recommendation information in the same recommendation scenario; the presentation form of the target media recommendation information is a target presentation form, and the target presentation form differentiates the target media recommendation information from the associated media information.
10. A computer device, characterized in that, Comprising: a memory for storing executable instructions; a processor, configured to implement the method for presenting media recommendation information according to any one of claims 1 to 8 when executing the executable instructions stored in the memory.
11. A computer-readable storage medium, characterized in that, Stored with executable instructions, configured to implement the method for presenting media recommendation information according to any one of claims 1 to 8 when being executed by a processor.
12. A computer program product, comprising computer instructions, characterized in that, When the computer instructions are executed by a processor, the method for presenting media recommendation information according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Advertising machine and method for playing advertisements in oriented manner
CN104575265A
Content recommendation method and device, and electronic equipment
CN106210899A
Content recommendation method and device, electronic equipment and readable storage medium
CN111415184A