CN112818190A - Content sharing method and device, electronic equipment and storage medium - Google Patents

Content sharing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112818190A
CN112818190A CN202110121908.8A CN202110121908A CN112818190A CN 112818190 A CN112818190 A CN 112818190A CN 202110121908 A CN202110121908 A CN 202110121908A CN 112818190 A CN112818190 A CN 112818190A
Authority
CN
China
Prior art keywords
content
shared
promotion
sharing
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110121908.8A
Other languages
Chinese (zh)
Other versions
CN112818190B (en
Inventor
李斌超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110121908.8A priority Critical patent/CN112818190B/en
Publication of CN112818190A publication Critical patent/CN112818190A/en
Application granted granted Critical
Publication of CN112818190B publication Critical patent/CN112818190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3335Syntactic pre-processing, e.g. stopword elimination, stemming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a content sharing method, a content sharing device, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving a sharing request of a first terminal for content to be shared, responding to the sharing request, searching promotion content associated with the content to be shared, and generating sharing information of the content to be shared according to the promotion content; the sharing information carries the network address of the promotion content and is sent to the second terminal, so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared, the associated promotion content can be shared when the user performs the sharing action, the entrance of the promotion content is increased, the promotion content can be actively presented to other shared users, and then the opening rate and the conversion rate of the promotion content are improved.

Description

Content sharing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video technologies, and in particular, to a content sharing method, a content sharing apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of networks and information technologies, online video watching has become very popular, and videos can be watched anytime and anywhere through the internet both indoors and outdoors. When people watch videos, if the videos are interesting or are worthy of recommendation, the videos can be shared by other people, and people also like to watch the videos shared by other people.
When the network platform popularizes information, the popularization effect of popularization is most concerned, but the user can not open the popularization information many times, so that the opening rate of the popularization information is low.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a content sharing method, a content sharing apparatus, an electronic device, and a computer-readable storage medium, so as to solve the technical problem that the sharing behavior cannot improve the opening rate of the promotion information.
In order to solve the above problem, in a first aspect of the present invention, a content sharing method is provided, which is applied to a server and includes:
receiving a sharing request of a first terminal for content to be shared;
searching promotion content associated with the content to be shared in response to the sharing request;
according to the popularization content, sharing information of the content to be shared is generated; the sharing information carries a network address of the promotion content;
and sending the sharing information to a second terminal so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared.
Optionally, the searching for the promotion content associated with the content to be shared includes:
obtaining description information of the content to be shared;
and searching at least one promotion content matched with the description information in a description information index library of the promotion content.
Optionally, the searching, in the description information index library of the promoted content, for at least one promoted content matched with the description information includes:
and indexing the description information index database according to the description information to obtain a preset number of promotion contents which are sorted in the front.
Optionally, the association relationship cache between the content to be shared and the promotion content pre-stores the promotion content and the corresponding content identifier of the content to be shared; the searching for the promotion content associated with the content to be shared comprises:
acquiring a content identifier of the content to be shared;
and searching the promotion content associated with the content to be shared in the association relation cache according to the content identification.
Optionally, the sharing information further carries a display picture corresponding to the content to be shared, and the generating the sharing information of the content to be shared according to the promotion content further includes:
obtaining a display picture corresponding to the content to be shared;
and adding a preset identifier on the display picture to identify that promotion content is added in the content to be shared, wherein the preset identifier is also used for triggering the display of the promotion content.
According to a second aspect of the present invention, there is provided a content sharing method applied to a second terminal, including:
receiving sharing information of content to be shared; the sharing information carries a network address of the promotion content;
and after the display of the content to be shared is triggered, displaying the popularization content according to the network address.
Optionally, after triggering the display of the content to be shared, according to the network address, the displaying the popularization content includes:
when the content to be shared is displayed, the promotion content is obtained according to the network address;
and after the promotion content is obtained, suspending the display of the content to be shared, and displaying the promotion content.
According to a third aspect of the present invention, there is provided a content sharing apparatus applied to a server, including:
the request receiving module is used for receiving a sharing request of the first terminal for the content to be shared;
the content searching module is used for responding to the sharing request and searching promotion content associated with the content to be shared;
the information generation module is used for generating sharing information of the content to be shared according to the promotion content; the sharing information carries a network address of the promotion content;
and the information sending module is used for sending the sharing information to a second terminal so that the second terminal can display the popularization content according to the network address after triggering the display of the content to be shared.
Optionally, the content search module includes:
the information acquisition submodule is used for acquiring the description information of the content to be shared;
and the content searching submodule is used for searching at least one piece of popularization content matched with the description information in a description information index library of the popularization content.
Optionally, the content search sub-module includes:
and the indexing unit is used for indexing the description information index database according to the description information to obtain the promotion contents with the preset number in the top sequence.
Optionally, the association relationship cache between the content to be shared and the promotion content pre-stores the promotion content and the corresponding content identifier of the content to be shared; the content search module comprises:
the identifier acquisition module is used for acquiring a content identifier of the content to be shared;
and the cache searching module is used for searching the promotion content associated with the content to be shared in the association relation cache according to the content identification.
Optionally, the sharing information further carries a display picture corresponding to the content to be shared, and the information generating module further includes:
the picture acquisition sub-module is used for acquiring a display picture corresponding to the content to be shared;
and the mark adding submodule is used for adding a preset mark on the display picture so as to mark that promotion content is added in the content to be shared, and the preset mark is also used for triggering the display of the promotion content.
According to a fourth aspect of the present invention, there is provided a content sharing apparatus applied to a second terminal, including:
the information receiving module is used for receiving sharing information of the content to be shared; the sharing information carries a network address of the promotion content;
and the content display module is used for displaying the popularization content according to the network address after triggering the display of the content to be shared.
Optionally, the content presentation module includes:
the content acquisition submodule is used for acquiring the popularization content according to the network address while displaying the content to be shared;
and the content display sub-module is used for suspending the display of the content to be shared and displaying the popularization content after the popularization content is acquired.
In another aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing any of the above method steps when executing a program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to perform any of the methods described above.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the methods described above.
In summary, according to the embodiment of the present invention, a sharing request for content to be shared by a first terminal is received, a promotion content associated with the content to be shared is searched in response to the sharing request, and sharing information of the content to be shared is generated according to the promotion content; the sharing information carries the network address of the promotion content and is sent to the second terminal, so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared, the associated promotion content can be shared when the user performs the sharing action, the entrance of the promotion content is increased, the promotion content can be actively presented to other shared users, and then the opening rate and the conversion rate of the promotion content are improved.
Drawings
FIG. 1 is a flow chart illustrating the steps of one embodiment of a content sharing method of the present invention;
FIG. 2 is a flow chart illustrating steps of another embodiment of a method of content sharing in accordance with the present invention;
FIG. 3 is a flow chart illustrating steps of another embodiment of a method of content sharing in accordance with the present invention;
FIG. 4 shows a schematic diagram of sharing behavior;
FIG. 5 is a block diagram of a content sharing apparatus according to an embodiment of the present invention;
FIG. 6 is a block diagram of a content sharing apparatus according to an embodiment of the present invention;
FIG. 7 shows a schematic view of an electronic device of the present invention;
fig. 8 shows a schematic view of an electronic device of the invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a content sharing method according to the present invention is shown, and applied to a server, the method specifically includes the following steps:
step 101, receiving a sharing request of a first terminal for content to be shared.
In the embodiment of the present invention, the first terminal refers to a terminal device, such as a mobile phone, a tablet computer, or the like, used by a user to view content. The content to be shared refers to content that a user watches on a client of the first terminal, and includes video, animation, graphics, and the like, or any other suitable form. When a user wants to share content being watched with other people, a sharing request needs to be initiated on a first terminal, the sharing request aiming at the content to be shared is sent to a server, and the server receives the sharing request aiming at the content to be shared of the first terminal. For example, the user may trigger a share button of the client on the first terminal to determine that video sharing is to be performed.
And 102, responding to the sharing request, and searching promotion content associated with the content to be shared.
In the embodiment of the invention, after receiving the sharing request, the server responds to the sharing request and searches the promotion content associated with the content to be shared according to the content to be shared. The popularization content includes various forms of information such as videos, images, characters, and the like, which is not limited in this embodiment of the present invention. For example, the user performs video sharing and asynchronously requests the server to search for promotion content.
In this embodiment of the present invention, specific implementation manners for searching for the promotion content associated with the content to be shared may include multiple manners, for example, obtaining a content identifier of the content to be shared, searching for the promotion content associated with the content to be shared in an association relationship cache of the server according to the content identifier, obtaining description information such as a title, a tag, a classification, and a description of the content to be shared if the promotion content associated with the content to be shared is not found in the association relationship cache, searching for at least one promotion content matching the description information in a description information index library of the promotion content, and storing the promotion content and the content identifier of the content to be shared in the association relationship cache between the content to be shared and the promotion content, or any other applicable implementation manners, which is not limited in this embodiment of the present invention.
103, generating sharing information of the content to be shared according to the popularization content; and the sharing information carries the network address of the promotion content.
In the embodiment of the invention, after the server searches the promotion content, the server generates the sharing information of the content to be shared, wherein the sharing information carries the network address of the promotion content and the network address of the content to be shared. The network address of the promotion content includes an address of a server providing the promotion content and an address of the server storing the promotion content. The network address of the content to be shared comprises an address of a server providing the content to be shared and an address storing the content to be shared in the server.
In the embodiment of the present invention, the sharing information may be generated according to the related information of the content to be shared, for example, the sharing information is composed according to the related information of the network address, the thumbnail, the title, and the like of the content to be shared. The invention provides that the network address of the promotion content is added into the shared information, so that the generated shared information carries the network address of the promotion content.
For example, a user shares a video a being watched through a certain video playing APP installed on a mobile phone, after the user shares the video a, the server generates sharing information of the video a according to a promotion animation B associated with the video a, and the sharing information not only carries a network address of the video a, but also carries a network address of the promotion animation B.
In the embodiment of the present invention, optionally, the sharing information further carries a display picture corresponding to the content to be shared, and in an implementation manner of generating the sharing information of the content to be shared according to the popularization content, the method further includes: and acquiring a display picture corresponding to the content to be shared, adding a preset identifier on the display picture to identify that promotion content is added in the content to be shared, wherein the preset identifier is also used for triggering the display of the promotion content.
The display picture is used for displaying the theme, the wonderful content and the like of the content to be shared, for example, thumbnails and the like on the display control corresponding to the sharing link. The sharing information can also carry a display picture, in order to identify the content to be shared, promotion content is added, so as to be distinguished from the content to be shared without the promotion content, the server side can obtain the display picture corresponding to the content to be shared, and then a preset identifier is added to the display picture. For example, a triangular play identifier is added to the lower right corner of the display picture. The preset identifier is also used for triggering the display of the promotion content, for example, the content to be shared is a certain episode, the promotion content is a related announcement video of the episode, and the user can click the preset identifier only to trigger the display of the related announcement video, so that the mode that the user clicks the promotion content is increased, and the opening rate and the conversion of the promotion content are improved.
And 104, sending the sharing information to a second terminal so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared.
In the embodiment of the invention, after the server generates the sharing information, the sharing information is sent to the second terminal, so that the second terminal can display the popularization content according to the network address.
In summary, according to the embodiment of the present invention, a sharing request for content to be shared by a first terminal is received, a promotion content associated with the content to be shared is searched in response to the sharing request, and sharing information of the content to be shared is generated according to the promotion content; the sharing information carries the network address of the promotion content and is sent to the second terminal, so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared, the associated promotion content can be shared when the user performs the sharing action, the entrance of the promotion content is increased, the promotion content can be actively presented to other shared users, and then the opening rate and the conversion rate of the promotion content are improved.
Referring to fig. 2, a flowchart illustrating steps of an embodiment of a content sharing method according to the present invention is shown, and applied to a server, the method specifically includes the following steps:
step 201, receiving a sharing request of a first terminal for a content to be shared.
Step 202, obtaining the description information of the content to be shared.
In this embodiment of the present invention, the description information includes information such as a title, a label, a category, and a description, or any other suitable information, which is not limited in this embodiment of the present invention. For example, a video title, a video description, and the like of a video to be shared are obtained.
Step 203, at least one promotion content matched with the description information is searched in a description information index library of the promotion content.
In the embodiment of the invention, an operator enters the promotion content of the promotion access party through the operation background, performs word segmentation on the description information of the promotion content, establishes an index, updates the index database, and records the index database as the description information index database of the promotion content. And searching at least one promotion content matched with the description information of the content to be shared in the description information index library.
In this embodiment of the present invention, optionally, in an implementation manner that searches for at least one piece of promotional content matching with the description information in a description information index library of the promotional content, the method may include: and indexing the description information index database according to the description information to obtain a preset number of promotion contents which are sorted in the front.
The promotion content may include a plurality of descriptions, the description information index library is indexed according to the description information, and the indexing manner may include a unique index, a primary key index, a bitmap index, an inverted index, or the like, or any other applicable indexing manner, which is not limited in this embodiment of the present invention.
In a specific implementation, character filtering, word segmentation and representation filtering are performed on the description information to obtain processed description words, and inverted indexing is performed on the description information index library according to the processed description words to obtain a preset number of promotion contents which are sorted in the front.
To convert the descriptive information into individual words suitable for inverted indexing, the words are then normalized to a standard form to improve their "searchability" or "recall". The string of descriptive information is first character filtered and the string is processed before tokenization (word segmentation) to remove the HTML tag or convert "&" to "and". Second, the string is characterized (word-breaking) into independent words by a word segmenter. A simple segmenter may separate words based on spaces or carriage returns. Each word is then filtered through all tokens, which can modify the word (e.g., convert "Quick" to lower case), remove the word (e.g., stop words like "a", "and", "the", etc.), or add words (e.g., synonyms like "jump" and "leap"). After the description information is processed, the processed descriptor is obtained.
And then, according to the processed descriptors, performing reverse indexing on the description information index base to obtain the promotion contents with the preset number and sorted in the front. For example, each promotional document is inverted indexed to obtain the identifiers of the top 10 promotions.
In the embodiment of the invention, one or more promotion contents and the content identification of the contents to be shared are correspondingly stored in the association relation cache, and the association relation between the contents to be shared and the promotion contents is stored in the association relation cache. For example, the video identifier of the video to be shared and the animation identifier of the promotion animation are stored in the association relation cache.
In the embodiment of the present invention, optionally, an association relationship between the content to be shared and the promotion content is cached, in advance, with the promotion content and the corresponding content identifier of the content to be shared; the searching for the promotion content associated with the content to be shared may include: acquiring a content identifier of the content to be shared; and searching the promotion content associated with the content to be shared in the association relation cache according to the content identification.
The promotion information does not need to be searched from the description information index library every time, in order to improve efficiency, the content identification of the content to be shared can be obtained, then the promotion content associated with the content to be shared is searched in the association relation cache according to the content identification, if the promotion content associated with the content to be shared is searched, the steps 202 and 203 do not need to be executed to search the promotion content, and the searching time is shortened.
Step 204, generating sharing information of the content to be shared according to the promotion content; and the sharing information carries the network address of the promotion content.
Step 205, sending the sharing information to a second terminal, so that the second terminal displays the popularization content according to the network address after triggering the display of the content to be shared.
In summary, according to the embodiment of the present invention, a sharing request of a first terminal for content to be shared is received, description information of the content to be shared is obtained, at least one piece of promotion content matched with the description information is searched in a description information index library of promotion content, and sharing information of the content to be shared is generated according to the promotion content; the sharing information carries the network address of the promotion content and is sent to the second terminal, so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared, the associated promotion content can be shared when the user performs the sharing action, the entrance of the promotion content is increased, the promotion content can be actively presented to other shared users, and then the opening rate and the conversion rate of the promotion content are improved.
Referring to fig. 3, a flowchart illustrating steps of an embodiment of a content sharing method according to the present invention is shown, and applied to a second terminal, the method specifically includes the following steps:
step 301, receiving sharing information of content to be shared; and the sharing information carries the network address of the popularization content.
In the embodiment of the invention, after the server sends the sharing information to the second terminal, the second terminal receives the sharing information of the content to be shared, wherein the sharing information carries the network address of the promotion content.
Step 302, after the display of the content to be shared is triggered, displaying the popularization content according to the network address.
In the embodiment of the invention, the sharing behavior is displayed for the user on the second terminal according to the sharing information. The user may or may not trigger the presentation of the content to be shared. After a user triggers the display of the content to be shared, the content to be shared is usually only displayed to the user, that is, the constructed page content only includes the content to be shared. For example, the promotion content is firstly displayed for the user, and the video to be shared is played after the promotion content is displayed completely or the user actively closes the promotion content.
In this embodiment of the present invention, optionally, after triggering the display of the content to be shared, in an implementation manner of displaying the promoted content according to the network address, the method may include: when the content to be shared is displayed, the promotion content is obtained according to the network address; and after the promotion content is obtained, suspending the display of the content to be shared, and displaying the promotion content.
After a user triggers the display of the content to be shared, the content to be shared is firstly provided for the user and displayed, the promotion content is acquired according to the network address in an asynchronous callback mode, the display of the content to be shared is suspended after the promotion content is acquired, and the promotion content is rendered and displayed, so that the situation that the promotion content is waited to be downloaded is avoided, the waiting time of the user is saved, and better user experience is provided.
For example, as shown in the schematic diagram of the sharing behavior shown in fig. 4, an APP front end on a first terminal initiates video sharing, after receiving video sharing, a first service end queries in an association cache, and if the cache is hit, constructs shared information according to associated animation in the cache, and then sends the shared information to a second terminal. If the sharing information is not hit, the sharing request of the user is forwarded, after the second server receives the request, the description information of the video is obtained, the description information is segmented, the description information is retrieved from the description information index library of the popularization content, the animation related to the video is retrieved, the animation related to the video is sent to the first server, the first server constructs the sharing information according to the animation related to the video, and then the sharing information is sent to the second terminal. And the APP front end on the second terminal displays the associated animation according to the network address of the associated animation in the sharing information. The operation background can update the description information index library of the promotion content.
In summary, according to the embodiment of the present invention, the sharing information of the content to be shared is received; the sharing information carries the network address of the popularization content, and after the display of the content to be shared is triggered, the popularization content is displayed according to the network address, so that when a user performs a sharing action, the associated popularization content is shared, the entrance of the popularization content is increased, the popularization content can be actively presented to other shared users, and then the opening rate and the conversion rate of the popularization content are improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a content sharing apparatus according to an embodiment of the present invention is shown, and the content sharing apparatus is applied to a server, and specifically includes the following modules:
a request receiving module 401, configured to receive a sharing request for a content to be shared by a first terminal;
a content searching module 402, configured to search, in response to the sharing request, promotional content associated with the content to be shared;
an information generating module 403, configured to generate sharing information of the content to be shared according to the popularization content; the sharing information carries a network address of the promotion content;
an information sending module 404, configured to send the sharing information to a second terminal, so that the second terminal displays the popularization content according to the network address after triggering the display of the content to be shared.
In this embodiment of the present invention, optionally, the content search module includes:
the information acquisition submodule is used for acquiring the description information of the content to be shared;
and the content searching submodule is used for searching at least one piece of popularization content matched with the description information in a description information index library of the popularization content.
In this embodiment of the present invention, optionally, the content search sub-module includes:
and the indexing unit is used for indexing the description information index database according to the description information to obtain the promotion contents with the preset number in the top sequence.
In the embodiment of the present invention, optionally, the association relationship cache between the content to be shared and the promotion content pre-stores the promotion content and the corresponding content identifier of the content to be shared; the content search module comprises:
the identifier acquisition module is used for acquiring a content identifier of the content to be shared;
and the cache searching module is used for searching the promotion content associated with the content to be shared in the association relation cache according to the content identification.
In this embodiment of the present invention, optionally, the sharing information further carries a display picture corresponding to the content to be shared, and the information generating module further includes:
the picture acquisition sub-module is used for acquiring a display picture corresponding to the content to be shared;
and the mark adding submodule is used for adding a preset mark on the display picture so as to mark that promotion content is added in the content to be shared, and the preset mark is also used for triggering the display of the promotion content.
In summary, according to the embodiment of the present invention, a sharing request for content to be shared by a first terminal is received, a promotion content associated with the content to be shared is searched in response to the sharing request, and sharing information of the content to be shared is generated according to the promotion content; the sharing information carries the network address of the promotion content and is sent to the second terminal, so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared, the associated promotion content can be shared when the user performs the sharing action, the entrance of the promotion content is increased, the promotion content can be actively presented to other shared users, and then the opening rate and the conversion rate of the promotion content are improved.
Referring to fig. 6, a block diagram of a content sharing apparatus according to an embodiment of the present invention is shown, and is applied to a second terminal, and specifically includes the following modules:
an information receiving module 501, configured to receive sharing information of content to be shared; the sharing information carries a network address of the promotion content;
a content display module 502, configured to display the popularization content according to the network address after triggering display of the content to be shared.
In the embodiment of the present invention, optionally, the content display module includes:
the content acquisition submodule is used for acquiring the popularization content according to the network address while displaying the content to be shared;
and the content display sub-module is used for suspending the display of the content to be shared and displaying the popularization content after the popularization content is acquired.
In summary, according to the embodiment of the present invention, the sharing information of the content to be shared is received; the sharing information carries the network address of the popularization content, and after the display of the content to be shared is triggered, the popularization content is displayed according to the network address, so that when a user performs a sharing action, the associated popularization content is shared, the entrance of the popularization content is increased, the popularization content can be actively presented to other shared users, and then the opening rate and the conversion rate of the popularization content are improved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement the following steps when executing the program stored in the memory 603:
receiving a sharing request of a first terminal for content to be shared;
searching promotion content associated with the content to be shared in response to the sharing request;
according to the popularization content, sharing information of the content to be shared is generated; the sharing information carries a network address of the promotion content;
and sending the sharing information to a second terminal so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared.
Optionally, the searching for the promotion content associated with the content to be shared includes:
obtaining description information of the content to be shared;
and searching at least one promotion content matched with the description information in a description information index library of the promotion content.
Optionally, the searching, in the description information index library of the promoted content, for at least one promoted content matched with the description information includes:
and indexing the description information index database according to the description information to obtain a preset number of promotion contents which are sorted in the front.
Optionally, the association relationship cache between the content to be shared and the promotion content pre-stores the promotion content and the corresponding content identifier of the content to be shared; the searching for the promotion content associated with the content to be shared comprises:
acquiring a content identifier of the content to be shared;
and searching the promotion content associated with the content to be shared in the association relation cache according to the content identification.
Optionally, the sharing information further carries a display picture corresponding to the content to be shared, and the generating the sharing information of the content to be shared according to the promotion content further includes:
obtaining a display picture corresponding to the content to be shared;
and adding a preset identifier on the display picture to identify that promotion content is added in the content to be shared, wherein the preset identifier is also used for triggering the display of the promotion content.
An embodiment of the present invention further provides an electronic device, as shown in fig. 8, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
receiving sharing information of content to be shared; the sharing information carries a network address of the promotion content;
and after the display of the content to be shared is triggered, displaying the popularization content according to the network address.
Optionally, after triggering the display of the content to be shared, according to the network address, the displaying the popularization content includes:
when the content to be shared is displayed, the promotion content is obtained according to the network address;
and after the promotion content is obtained, suspending the display of the content to be shared, and displaying the promotion content.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment, a computer-readable storage medium is provided, having stored thereon instructions, which, when executed on a computer, cause the computer to perform the method of any of the above embodiments.
In a further embodiment provided by the present invention, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (11)

1. A content sharing method is applied to a server and comprises the following steps:
receiving a sharing request of a first terminal for content to be shared;
searching promotion content associated with the content to be shared in response to the sharing request;
according to the popularization content, sharing information of the content to be shared is generated; the sharing information carries a network address of the promotion content;
and sending the sharing information to a second terminal so that the second terminal can display the promotion content according to the network address after triggering the display of the content to be shared.
2. The method of claim 1, wherein the searching for promotional content associated with the content to be shared comprises:
obtaining description information of the content to be shared;
and searching at least one promotion content matched with the description information in a description information index library of the promotion content.
3. The method of claim 2, wherein the searching for at least one piece of promotional content matching the description information in the index library of descriptive information of promotional content comprises:
and indexing the description information index database according to the description information to obtain a preset number of promotion contents which are sorted in the front.
4. The method according to claim 1, wherein the cache of the association relationship between the content to be shared and the promotion content pre-stores the promotion content and the corresponding content identifier of the content to be shared; the searching for the promotion content associated with the content to be shared comprises:
acquiring a content identifier of the content to be shared;
and searching the promotion content associated with the content to be shared in the association relation cache according to the content identification.
5. The method according to claim 1, wherein the sharing information further carries a display picture corresponding to the content to be shared, and the generating the sharing information of the content to be shared according to the promotion content further comprises:
obtaining a display picture corresponding to the content to be shared;
and adding a preset identifier on the display picture to identify that promotion content is added in the content to be shared, wherein the preset identifier is also used for triggering the display of the promotion content.
6. A content sharing method is applied to a second terminal and comprises the following steps:
receiving sharing information of content to be shared; the sharing information carries a network address of the promotion content;
and after the display of the content to be shared is triggered, displaying the popularization content according to the network address.
7. The method according to claim 6, wherein after triggering the presentation of the content to be shared, the presenting the promoted content according to the network address comprises:
when the content to be shared is displayed, the promotion content is obtained according to the network address;
and after the promotion content is obtained, suspending the display of the content to be shared, and displaying the promotion content.
8. A content sharing device is applied to a server and comprises:
the request receiving module is used for receiving a sharing request of the first terminal for the content to be shared;
the content searching module is used for responding to the sharing request and searching promotion content associated with the content to be shared;
the information generation module is used for generating sharing information of the content to be shared according to the promotion content; the sharing information carries a network address of the promotion content;
and the information sending module is used for sending the sharing information to a second terminal so that the second terminal can display the popularization content according to the network address after triggering the display of the content to be shared.
9. The content sharing device is applied to a second terminal and comprises:
the information receiving module is used for receiving sharing information of the content to be shared; the sharing information carries a network address of the promotion content;
and the content display module is used for displaying the popularization content according to the network address after triggering the display of the content to be shared.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110121908.8A 2021-01-28 2021-01-28 Content sharing method, device, electronic equipment and storage medium Active CN112818190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110121908.8A CN112818190B (en) 2021-01-28 2021-01-28 Content sharing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110121908.8A CN112818190B (en) 2021-01-28 2021-01-28 Content sharing method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112818190A true CN112818190A (en) 2021-05-18
CN112818190B CN112818190B (en) 2024-02-27

Family

ID=75859945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110121908.8A Active CN112818190B (en) 2021-01-28 2021-01-28 Content sharing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112818190B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113422970A (en) * 2021-05-25 2021-09-21 北京达佳互联信息技术有限公司 Live broadcast clip display method and device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0701808D0 (en) * 2007-01-31 2007-03-14 May Jules Method and apparatus for generating content association data
IN2014CN03987A (en) * 2011-11-30 2015-10-23 Basf Se
CN105282010A (en) * 2015-09-14 2016-01-27 小米科技有限责任公司 Information sharing processing method, device, and server
US20170093997A1 (en) * 2014-07-15 2017-03-30 Aol Inc. Systems and methods for tracking sharing of web content
CN106899755A (en) * 2017-01-18 2017-06-27 宇龙计算机通信科技(深圳)有限公司 Information sharing method, information sharing device and terminal
CN108650547A (en) * 2018-05-09 2018-10-12 北京奇艺世纪科技有限公司 A kind of video sharing method, apparatus and equipment
CN110166347A (en) * 2019-04-30 2019-08-23 阿里巴巴集团控股有限公司 A kind of sharing method of information, device and equipment
WO2019193407A1 (en) * 2018-04-01 2019-10-10 Yogesh Chunilal Rathod Presenting structured contents with search results, generating feeds & establishing communication based on search activities and enabling search result item associated user actions and reactions
US20190339824A1 (en) * 2018-05-03 2019-11-07 Adhark, Inc. Systems and methods for analyzing visual content items
CN110909221A (en) * 2019-11-29 2020-03-24 腾讯科技(深圳)有限公司 Resource display method and related device
CN111192080A (en) * 2019-12-20 2020-05-22 上海淇玥信息技术有限公司 Page display method and device and electronic equipment
US20200213312A1 (en) * 2018-12-28 2020-07-02 Microsoft Technology Licensing, Llc Trackable sharable links

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0701808D0 (en) * 2007-01-31 2007-03-14 May Jules Method and apparatus for generating content association data
IN2014CN03987A (en) * 2011-11-30 2015-10-23 Basf Se
US20170093997A1 (en) * 2014-07-15 2017-03-30 Aol Inc. Systems and methods for tracking sharing of web content
CN105282010A (en) * 2015-09-14 2016-01-27 小米科技有限责任公司 Information sharing processing method, device, and server
CN106899755A (en) * 2017-01-18 2017-06-27 宇龙计算机通信科技(深圳)有限公司 Information sharing method, information sharing device and terminal
WO2019193407A1 (en) * 2018-04-01 2019-10-10 Yogesh Chunilal Rathod Presenting structured contents with search results, generating feeds & establishing communication based on search activities and enabling search result item associated user actions and reactions
US20190339824A1 (en) * 2018-05-03 2019-11-07 Adhark, Inc. Systems and methods for analyzing visual content items
CN108650547A (en) * 2018-05-09 2018-10-12 北京奇艺世纪科技有限公司 A kind of video sharing method, apparatus and equipment
US20200213312A1 (en) * 2018-12-28 2020-07-02 Microsoft Technology Licensing, Llc Trackable sharable links
CN113287106A (en) * 2018-12-28 2021-08-20 微软技术许可有限责任公司 Traceable shareable link
CN110166347A (en) * 2019-04-30 2019-08-23 阿里巴巴集团控股有限公司 A kind of sharing method of information, device and equipment
CN110909221A (en) * 2019-11-29 2020-03-24 腾讯科技(深圳)有限公司 Resource display method and related device
CN111192080A (en) * 2019-12-20 2020-05-22 上海淇玥信息技术有限公司 Page display method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113422970A (en) * 2021-05-25 2021-09-21 北京达佳互联信息技术有限公司 Live broadcast clip display method and device, electronic equipment and storage medium
CN113422970B (en) * 2021-05-25 2023-09-26 北京达佳互联信息技术有限公司 Live fragment display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112818190B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN107172151B (en) Method and device for pushing information
CN109819284B (en) Short video recommendation method and device, computer equipment and storage medium
US10726063B2 (en) Topic profile query creation
TWI519979B (en) Information recommendation method and device thereof and information resource recommendation system
EP3996373A2 (en) Method and apparatus of generating bullet comment, device, and storage medium
WO2017028624A1 (en) Method and device for processing resources
CN110913241B (en) Video retrieval method and device, electronic equipment and storage medium
US11410087B2 (en) Dynamic query response with metadata
WO2017107569A1 (en) Android application assembly method based on application content
US20150154303A1 (en) System and method for providing content recommendation service
US11423096B2 (en) Method and apparatus for outputting information
CN107590267B (en) Information-pushing method and device, terminal and readable storage medium storing program for executing based on picture
CN109451333B (en) Bullet screen display method, device, terminal and system
WO2020044096A1 (en) Information searching method and apparatus, and device/terminal/server
CN110674345A (en) Video searching method and device and server
CN113536136A (en) Method, device and equipment for realizing search
CN111708943B (en) Search result display method and device for displaying search result
US8788521B2 (en) Information processing device, information processing method, program for information processing device, and recording medium
US20230385328A1 (en) Information searching method and device, computer equipment and storage medium
US11392589B2 (en) Multi-vertical entity-based search system
CN112541787A (en) Advertisement recommendation method, system, storage medium and electronic device
CN112559913B (en) Data processing method, device, computing equipment and readable storage medium
CN112818190B (en) Content sharing method, device, electronic equipment and storage medium
CN113553521A (en) Content searching method and device
CN111694986A (en) Video recommendation method and device, electronic equipment and storage medium

Legal Events

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