CN113111243A - Display object sharing method and device and storage medium - Google Patents

Display object sharing method and device and storage medium Download PDF

Info

Publication number
CN113111243A
CN113111243A CN202110333640.4A CN202110333640A CN113111243A CN 113111243 A CN113111243 A CN 113111243A CN 202110333640 A CN202110333640 A CN 202110333640A CN 113111243 A CN113111243 A CN 113111243A
Authority
CN
China
Prior art keywords
template
display object
shared
file
characteristic data
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.)
Pending
Application number
CN202110333640.4A
Other languages
Chinese (zh)
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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110333640.4A priority Critical patent/CN113111243A/en
Publication of CN113111243A publication Critical patent/CN113111243A/en
Pending legal-status Critical Current

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/903Querying
    • G06F16/9035Filtering based on additional data, e.g. user or group profiles
    • 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/906Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

The application discloses a display object sharing method and device and a storage medium, and relates to the technical field of computers, so that the click rate of watching contents after a user sees a file is improved. According to the method, characteristic data and metadata of a display object to be shared are obtained, and a target file template corresponding to the classification to which the obtained characteristic data belongs is determined according to the corresponding relation between the characteristic data of different classifications and the file template; and filling the obtained metadata into the determined target file template to generate the file of the display object to be shared. Therefore, as the metadata of the display object is filled in the file template, the characteristics of different display objects to be shared can be displayed in a personalized manner, and the information sharing efficiency is improved.

Description

Display object sharing method and device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for sharing a display object, and a storage medium.
Background
Most applications have a content sharing function, good content is shared, and information sharing of more users is achieved. When sharing the content, the user generally has descriptions of some documents to introduce what the content is, or who the content is shared, and some documents add attractive documents to improve the efficiency of information sharing.
However, in the related art, the generated document is fixed and relatively single, the characteristics of different display objects to be shared cannot be individually displayed, and the efficiency of information sharing is low.
Disclosure of Invention
The embodiment of the application provides a display object sharing method and device and a storage medium, so as to improve the click rate of a user for watching contents after seeing a file.
According to a first aspect of an embodiment of the present application, a display object sharing method is provided, including:
responding to a sharing request, and acquiring data information of a to-be-shared display object, wherein the data information comprises characteristic data and metadata, the characteristic data comprises at least one of attributes of the to-be-shared display object and uploading account attributes of the to-be-shared display object, and the metadata is to-be-filled data in different case templates;
determining a target file template corresponding to the classification to which the acquired characteristic data belongs according to the corresponding relation between the characteristic data of different classifications and the file template;
and filling the obtained metadata into the determined target file template to generate the file of the display object to be shared.
In one possible implementation, the case template includes a plurality of types of case templates, each type of case template corresponds to at least one characteristic data, and each type of case template includes a plurality of case templates corresponding to different classifications of the at least one characteristic data.
In a possible implementation manner, the determining the target pattern template corresponding to the classification to which the acquired characteristic data belongs includes:
determining at least one type of pre-selected pattern template corresponding to the classification to which the acquired characteristic data belongs;
determining the priority of the pre-selected file template according to the priorities of different types of file templates;
and according to the determined priority, selecting one pre-selected file template from the pre-selected file templates as the target file template.
In a possible implementation manner, the attribute of the display object to be shared includes at least one of the following:
the data type of the display object to be shared, which corresponds to the output display mode;
and counting at least one index of the display object to be shared operated by different accounts.
In a possible implementation manner, the upload account attribute of the to-be-shared display object includes at least one of a gender classification and an age classification of an upload account of the to-be-shared display object.
In a possible implementation manner, after the filing of the acquired metadata into the document template and the generation of the document of the display object to be shared, the method further includes:
acquiring the priority sequence of the current different types of document templates, wherein the priority sequence is obtained according to the value of the feature information counted most recently by the different types of document templates;
when a case template corresponding to the case is acquired and displayed to different accounts, counting the relevant operations of the different accounts on the case template to obtain updated characteristic information values;
and adjusting the priority sequence of the pattern template corresponding to the pattern when determining that the priority sequence of the pattern template corresponding to the pattern is changed according to the updated characteristic information value.
In a possible implementation manner, the filling the obtained metadata into the determined target document template to generate the document of the display object to be shared includes:
acquiring a document protocol in the target document template;
determining the replacement information in the target file template according to the file protocol;
and replacing the replacement information by the acquired metadata to generate the file of the display object to be shared.
In a possible implementation manner, after the obtained metadata is filled in the determined target document template and the document of the display object to be shared is generated, the method further includes:
performing semantic recognition on the file;
deleting the part of the file without the identified semantics to obtain a modified file;
and taking the modified file as the file of the display object to be shared.
According to a second aspect of the embodiments of the present application, there is provided a sharing device for displaying an object, including:
the request response unit is configured to execute a response sharing request and acquire data information of the to-be-shared display object, wherein the data information comprises characteristic data and metadata, the characteristic data comprises at least one of attributes of the to-be-shared display object and uploading account attributes of the to-be-shared display object, and the metadata is to-be-filled data in different case templates;
the template matching unit is configured to execute the corresponding relation between the characteristic data of different classifications and the file template, and determine a target file template corresponding to the classification to which the acquired characteristic data belongs;
and the file generating unit is configured to execute filling the acquired metadata into the determined target file template, and generate the file of the display object to be shared.
In one possible implementation, the case template includes a plurality of types of case templates, each type of case template corresponds to at least one characteristic data, and each type of case template includes a plurality of case templates corresponding to different classifications of the at least one characteristic data.
In a possible implementation manner, the determining, by the template matching unit, a target document template corresponding to a category to which the acquired feature data belongs includes:
determining at least one type of pre-selected pattern template corresponding to the classification to which the acquired characteristic data belongs;
determining the priority of the pre-selected file template according to the priorities of different types of file templates;
and according to the determined priority, selecting one pre-selected file template from the pre-selected file templates as the target file template.
In a possible implementation manner, the attribute of the display object to be shared includes at least one of the following:
the data type of the display object to be shared, which corresponds to the output display mode;
and counting at least one index of the display object to be shared operated by different accounts.
In a possible implementation manner, the upload account attribute of the to-be-shared display object includes at least one of a gender classification and an age classification of an upload account of the to-be-shared display object.
In one possible implementation, the apparatus further includes:
the priority ranking acquisition unit is configured to execute priority ranking for acquiring the current different types of document templates, and the priority ranking is obtained according to the value of the feature information counted most recently by the different types of document templates;
the characteristic acquisition unit is configured to execute a document generation unit to fill the acquired metadata into the document template, generate a document of the display object to be shared, acquire the document template corresponding to the document and display the document template to different accounts, and count the related operations of the different accounts on the document template to obtain updated characteristic information values;
and the priority improving unit is configured to adjust the priority sequence of the case template corresponding to the case when determining that the priority sequence of the case template corresponding to the case is changed according to the updated characteristic information value.
In a possible implementation manner, the filing generating unit fills the obtained metadata into the determined target filing template to generate the filing of the display object to be shared, including:
acquiring a document protocol in the target document template;
determining the replacement information in the target file template according to the file protocol;
and replacing the replacement information by the acquired metadata to generate the file of the display object to be shared.
In one possible implementation, the apparatus further includes:
the recognition unit is configured to perform semantic recognition on the file after the file generation unit fills the acquired metadata into the determined target file template and generates the file of the display object to be shared;
a deleting unit configured to delete a part of the document where no semantic meaning is recognized, so as to obtain a modified document;
and the determining unit is configured to execute the modification case as the case of the display object to be shared.
According to a third aspect of embodiments of the present application, there is provided an electronic apparatus, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement a method for sharing a display object.
According to a fourth aspect of embodiments of the present application, there is provided a storage medium, where instructions executed by a processor of an electronic device enable the electronic device to perform a method for sharing a display object.
According to a fifth aspect of embodiments herein, there is provided a computer program product comprising at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method for sharing the display object provided by the embodiment of the application.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
and determining the case template corresponding to the classification to which the characteristic data of the display object to be shared belongs according to the corresponding relation between the characteristic data of different classifications and the case template, and filling the case template by using the acquired metadata so as to generate the case of the display object. Therefore, as the metadata of the display object is filled in the file template, the characteristics of different display objects to be shared can be displayed in a personalized manner, so that the objects to be shared are displayed through the corresponding files, and the files carry the characteristics of the shared objects to be displayed, thereby improving the efficiency of information sharing.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating a display object sharing method according to an embodiment of the present disclosure;
FIG. 2 is a diagram of a first type of meaningless information in an embodiment of the present application;
FIG. 3 is a diagram illustrating second meaningless information in an embodiment of the present application;
FIG. 4 is a schematic diagram of the generation of a document in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a sharing device for displaying an object according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a terminal device in an embodiment of the present application.
Detailed Description
In order to improve the click rate of a user viewing content after seeing a document, the embodiment of the application provides a display object sharing method and device and a storage medium. In order to better understand the technical solution provided by the embodiments of the present application, the following brief description is made on the basic principle of the solution:
it should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The technical scheme provided by the embodiment of the application is described below with reference to the accompanying drawings.
Most applications generally have a content sharing function, share characters, pictures, links, videos, audios and the like from one application to another application, can improve the influence of application software, share good content and are beneficial to attracting more users. When sharing the content, the user generally has a description of some documents, which describes what the content is, or who the content is shared, and some documents add some attractive documents to attract more users to open the shared content. However, in the related art, the generated documentary is fixed and relatively single, so that the probability that the display object to be shared corresponding to the documentary is displayed is low, and the information sharing efficiency is not high.
In view of the above, the present application provides a method, an apparatus, and a storage medium for sharing a display object, in which a corresponding filing template is determined according to acquired characteristic data of the display object to be shared, and the filing template is filled according to metadata, so as to generate a filing of the display object. Therefore, the generated file is unique due to the fact that the metadata of the display object is filled into the file template, the personalized display requirements of different display objects to be shared can be met, the probability that the display objects to be shared corresponding to the file are displayed is improved, and the information sharing efficiency is improved.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it should be understood that the preferred embodiments described herein are merely for illustrating and explaining the present application, and are not intended to limit the present application, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The following further explains the sharing method of the display object provided in the embodiment of the present application. As shown in fig. 1, the following steps are included.
In step S11, in response to the sharing request, data information of the to-be-shared display object is obtained, where the data information includes characteristic data and metadata, the characteristic data includes at least one of an attribute of the to-be-shared display object and an upload account attribute of the to-be-shared display object, and the metadata is to-be-filled data in different case templates.
In the embodiment of the application, the user can select the sharing option from the options when seeing that the favorite content is shared with other people on one application. The method can be used for sharing friends in the same application, and can also be used for sharing users in other applications to carry out cross-application sharing.
And after receiving a sharing request of a user, acquiring data information of the display object to be shared. The display object to be shared can be multimedia contents such as characters, pictures, links, videos, audios and the like; the data information comprises characteristic data and metadata of the display object to be shared.
The purpose of acquiring the characteristic data in the embodiment of the application is to determine a matched document template, so that the characteristic data can be multivariate characteristic data, the characteristic data is designed in a corresponding document template and can be understood as a well-defined information item, the metadata is information content corresponding to the characteristic data, after the corresponding matched document template is determined, the characteristic data in the text template is used as the information item, and the document template is filled by using the metadata as the information item content, so that a document which meets the personalized requirement and is matched with the content of the display object to be shared is obtained. Taking a video as an example, the characteristic data of a video includes some video attributes of the video, attributes of an upload account, and the like. The uploading account attribute can comprise information such as sex and age of a sharer corresponding to the uploading account; the video attributes may include information on video category, number of clicks, number of likes, etc. The metadata is data to be filled in different document templates, for example, if the number of praise times is 100, then 100 is metadata; and if the name of the sharer is Zhang III, the Zhang III is metadata.
The characteristic data may include an attribute of the display object to be shared, or the characteristic data may include an upload account attribute of the display object to be shared, or the characteristic data may include an attribute of the display object to be shared and an upload account attribute of the display object to be shared. The attribute of the display object to be shared belongs to the display object to be shared and is information related to the display object to be shared, and the attribute of the display object to be shared can be mapped to characteristics of the display object to be shared, can be information determined in the process of outputting the display object to be shared, and can also be information determined by operating the display object to be shared according to different historical accounts.
The attribute of the display object to be shared includes at least one of the following:
the data type of the display object to be shared is obtained by analyzing the data format of the display object to be shared after the display object to be shared is obtained, or by analyzing the data format of the display object to be shared in the process of outputting the display object to be shared. When the display object to be shared is output and displayed, the output display modes corresponding to different data formats are different, the display object to be shared can be directly output and displayed by adopting different data formats, and only the corresponding link of the display object can be output. In this embodiment, the output displays of different data types are different, for example, the output may be output after being processed by an image processor, or may be output after being decoded by an audio/video decoder, or may directly output corresponding address links for linking to-be-analyzed displays, and the like, where the data types may include, but are not limited to, text, pictures, links, video, and audio.
The method comprises the steps of operating the sharing display object according to different historical accounts to determine the attribute of the sharing display object, counting at least one index of the sharing display object operated by the different accounts, wherein the index can be obtained through interactive data or browsing data statistics, the operation of the different accounts on the sharing display object can be different types of operation, and can be a positive operation type or a negative operation type, corresponding indexes can be obtained through counting corresponding operations, and the indexes can be but are not limited to click times, watching duration and the like.
When the characteristic data of the embodiment of the application comprises the attribute of the display object to be shared, the document template related to the attribute of the display object to be shared can be matched, and the corresponding document template can be distinguished from different angles of the display object to be shared, for example, the attribute of the display object to be shared is a data type of the display object to be shared, which corresponds to an output display mode, the document template corresponding to an audio data type is adopted for audio data, and the document template corresponding to a video type is adopted for a video data type, and the like. When the attribute of the display object to be shared is at least one statistical index of the display object to be shared operated by different accounts, the corresponding file templates in different index ranges can be matched, and the personalized requirements are realized from the self-perspective of the display object to be shared.
The upload account attribute of the display object to be shared is attribute information related to the upload account itself, and corresponding attribute information may be extracted from the upload account information, and may include, but is not limited to, at least one of a gender classification and an age classification of the upload account of the display object to be shared.
When the characteristic data of the embodiment of the application comprises the gender classification and the age classification of the uploading account of the display object to be shared, the document template related to the attribute of the uploading account can be matched, and the corresponding document template can be distinguished from the uploading account, for example, the corresponding document template is matched for the male middle-aged person, the corresponding document template is matched for the girl two-way person, and the personalized requirement of the document template is realized from the uploading account.
In step S12, the target document template corresponding to the classification to which the acquired feature data belongs is determined based on the correspondence between the feature data of different classifications and the document template.
In the embodiment of the application, after the data information of the display object to be shared is obtained, the file template of the display object to be shared is determined according to the characteristic data.
According to the embodiment of the application, the corresponding relation between the characteristic data of different classifications and the file template is established in advance, after the characteristic data of the display object to be shared is obtained, the classification to which the characteristic data of the display object to be shared belongs can be determined, the target file template is obtained according to the file template corresponding to the classification to which the characteristic data belongs, the corresponding relation between the characteristic data of different classifications and the file template is established, and the file templates corresponding to different individual requirements can be achieved.
As an optional implementation manner, the document template includes a plurality of types of document templates, each type of document template corresponds to at least one characteristic data, and each type of document template includes a plurality of document templates corresponding to different classifications of the at least one characteristic data.
When the method is implemented, the case template can be a single type case template, the single type case template comprises a plurality of different case templates, the corresponding relation between the characteristic data of different classifications and the plurality of text templates is established in advance, and specifically, the corresponding relation between the different classifications of one characteristic data and the plurality of case templates can be established, for example, the corresponding case template is determined according to the praise times; or determining a corresponding file template according to the watching times; or determining a corresponding file template according to the video category, and the like. The corresponding relation between different classifications of the multiple characteristic data and the multiple document templates can also be determined, for example, the corresponding document template is determined according to the praise times and the watching times, or the corresponding document template is determined according to the video categories and the praise times.
For example, the type of the display object to be shared is a video, if the video type of one video is a pet video, the determined case template is a lovely type case template, and if the video type of one video is a fitness video, the determined case template is a sports type case template.
Or the data type of the display object to be distributed is a video, and if the praise times of one video is more than 1000, the determined file template is as follows: this work is very popular, like XXX, and is available to watch a bar! (wherein XXX is the number of praise).
If the data type of the display object to be distributed is a video and the praise number of one video is less than 1000, determining the file template as follows: this work is interesting, very liked by XXX, recommending you to see (where XXX is the name of the sharee).
When the method is implemented, the case template can be a plurality of types of case templates, each type of case template comprises a plurality of different case templates, the corresponding relation between the characteristic data of different classifications and a plurality of text templates in each type of case template is pre-established, and for each type of case template, the corresponding relation between different classifications of one characteristic data and a plurality of case templates can be specifically determined, for example, the corresponding case template is determined according to the praise times; or determining a corresponding file template according to the watching times; or determining a corresponding file template according to the video category, and the like. The corresponding relation between different classifications of the characteristic data and the plurality of document templates can also be determined, for example, the corresponding document template is determined according to the praise times and the watching times, or the corresponding document template is determined according to the video category or the praise times.
Of course, when actually performing matching according to the established corresponding relationship, the document template of the display object to be shared may also be determined according to at least two kinds of characteristic data, and multiple types of matched document templates may be obtained according to the corresponding relationship.
For example: a document template corresponding to two characteristic data, which are a video category and the number of prawns, respectively, may be set. Thus, different file templates can be generated according to different works. The more conditions are set, the finer the final pattern template is.
In the embodiment of the present application, multiple types of document templates that may be matched according to the correspondence may be obtained, and at this time, a final target document template may be selected according to the priority of each document template, which may be specifically implemented as:
determining at least one type of pre-selected pattern template corresponding to the classification to which the acquired characteristic data belongs;
determining the priority of the pre-selected file template according to the priorities of different types of file templates;
and according to the determined priority, selecting one pre-selected file template from the pre-selected file templates as the target file template.
Because the personalized difference of the document template facing the display object is distinguished from a plurality of characteristic data, the document template can not give consideration to all the characteristic data, if so, different types of document templates are designed in advance in the embodiment of the application, the probability of successful matching is increased, and if a plurality of matched different types of document templates exist, the finally adopted target document template can be determined according to the priority of the document templates.
The characteristic data corresponding to the same type of case template is pre-selected and defined, the same type of case template comprises a plurality of case templates according to different value ranges of the characteristic data, when the characteristic data of the shared display object to be displayed are matched, only one matched case template exists in one type of case template, and if the plurality of types of case templates exist, the matched different types of case templates can be obtained when the characteristic data of the shared display object to be displayed are matched.
For example: according to the established corresponding relation, matching is carried out on the acquired characteristic data of the display object to be shared, possible classification of the acquired characteristic data is determined, for example, a case template under an audio type, a case template corresponding to the praise times and the like are determined, and finally 10 sets of case templates meeting the requirements are determined. And then, selecting the file template with the highest priority as the display object to be shared from the 10 file templates.
Therefore, the finally used target file template is determined according to the priority of the file template, the generated file can be more popular, and the click rate and the viewing amount of the content viewed by the user after the user sees the file are improved.
The method comprises the steps of defining characteristic information of a document template in advance, carrying out priority ordering according to the size of the characteristic information values by counting the characteristic information values of different types of document templates, wherein the characteristic information values of the document templates can be obtained by counting the operations of different accounts on the document templates, the priorities of the different types of document templates are the same initially, the characteristic information values of the document templates can be changed along with the use of the document templates, and the priority of the document templates updates the priority ordering according to the size of the characteristic information values of the document templates. The characteristic information value of the document template can be the number of times of use of each document template, and the document templates are subjected to priority sequencing according to the number of times of use. And if a plurality of pre-selected file templates are obtained, selecting the pre-selected file template with the most use times as the target file template.
Or scoring according to the using condition of each case template, and carrying out priority ranking on the case templates according to the scores.
The using condition of the document template is information such as the watching times, the watching duration, praise and comment of the video under the document template. And counting the information and calculating the score of the file template.
In the embodiment of the present application, the priority of the document template can be adjusted according to the value of the feature information of the document, which can be specifically implemented as:
acquiring the priority sequence of the current different types of document templates, wherein the priority sequence is specifically performed according to the value of the feature information counted most recently by each type of document template;
when the case template corresponding to the case is acquired and displayed to different accounts, counting updated feature information values obtained by the related operations of the different accounts on the case template, counting the feature information values obtained by the related operations of the different accounts on the case template, which can include but is not limited to the number of times of use and the score obtained according to positive operation or negative operation, etc., in the embodiment of the application, the corresponding case is generated by using the target case template as a trigger condition for re-counting the feature information values of the target case template, judging whether the position of the case template in the priority ranking is changed according to the re-counted feature information values, if so, re-performing the priority ranking, for example, when the priority ranking is performed according to the number of times of use, the former priority ranking is the case template A > the case template B > the case template C, after the pattern template B is determined as the target pattern template to generate the corresponding pattern, counting the using times of the pattern template B again, and adjusting the priority sequence to be the pattern template B, the pattern template A and the pattern template C when determining that the using times of the pattern template B exceeds the pattern template A. By the priority adjusting method, the priority of the document template can be dynamically adjusted along with the use of the document template, and the use probability of the optimal document template is increased.
If the characteristic information value of the case template is the score of the use condition of each case template, the scores obtained by the operation behaviors of different accounts on the case template corresponding to the case are counted, the more frequent the positive operation behaviors of the accounts on the case template are, the higher the corresponding scores are, the more frequent the negative operation behaviors are, the lower the corresponding scores are, the different scores corresponding to different priorities are, after the corresponding case is generated by the target case template, the scores of the case template are counted again, and if the scores of the case template with higher priority are exceeded, the priority ranking adjustment is carried out, so that the priority of the case template is improved.
In this way, by setting the priority and taking the value according to the feature information of the case template corresponding to the generated case, the probability of successfully sharing which case template is determined to be higher.
In step S13, the obtained metadata is filled in the determined target document template, and the document of the display object to be shared is generated.
In this embodiment, the data to be filled in the different filing templates is metadata, metadata of the sharing object to be displayed, which belongs to the text templates to be filled, can be obtained, and after the template filing template is determined, the metadata corresponding to the target filing template is filled in the corresponding target filing template, so as to generate a complete filing. The method can be specifically implemented as follows:
acquiring a document protocol in the target document template;
determining the replacement information in the target file template according to the file protocol;
and replacing the replacement information by the acquired metadata to generate the file of the display object to be shared.
The file protocol is a relation between information to be filled in the file template and metadata, and the information to be filled comprises replacement information which needs to be replaced by the metadata. For example: the information to be filled is $ { ABC } shared for you and the replacement information is ABC. The value of the replacement information ABC is placed in the metadata meta, and the replacement information is replaced by using the obtained metadata, for example, meta: { ABC: twitter ancient }, the generated case is: sharing a work in dusk.
In this way, the replacement information is replaced through the metadata, so that the generated file is unique, and the click rate and the viewing amount of the user viewing the content after viewing the file are improved.
In the embodiment of the application, since some meaningless information exists in the generated file, which affects the appearance of the viewing user, the file needs to be filtered after the file is generated. The method can be specifically implemented as follows:
performing semantic recognition on the file;
deleting the part of the file without the identified semantics to obtain a modified file;
and taking the modified file as the file of the display object to be shared.
In the embodiment of the present application, a part where no semantic meaning is recognized is deleted as meaningless information. As shown in fig. 2, it is a diagram of a first type of meaningless information. The information in the figure is mostly a string of characters or numbers, and when the information is recognized, the part is deleted.
Of course, the generated characters may have expression characters in addition to the characters, and if the same expression appears continuously, the expression is reduced, and the repeated expression is deleted. As shown in fig. 3, it is a diagram of a second type of meaningless information. When a continuous representation is identified, duplicate expressions are deleted.
Finally, after all the operations are executed, the file of the display object to be shared is generated. As shown in fig. 4, it is a schematic diagram of the generation of the pattern.
And determining a matched file template according to the classification of the characteristic data of the display object to be shared, and filling the file template according to the metadata in the data information so as to generate the file of the display object. Therefore, as the metadata of the display object is filled in the file template, the characteristics of different display objects to be shared can be displayed in a personalized manner, so that the objects to be shared are displayed through the corresponding files, and the files carry the characteristics of the shared objects to be displayed, thereby improving the efficiency of information sharing.
Based on the same inventive concept, the application also provides a sharing device of the display object. Fig. 5 is a schematic view of a sharing device for displaying an object according to the present application. The device includes:
the request responding unit 501 is configured to execute a response sharing request, and acquire data information of a to-be-shared display object, where the data information includes characteristic data and metadata, the characteristic data includes at least one of an attribute of the to-be-shared display object and an upload account attribute of the to-be-shared display object, and the metadata is to-be-filled data in different case templates;
the template matching unit 502 is configured to execute a response sharing request, and acquire data information of the to-be-shared display object, where the data information includes characteristic data and metadata, the characteristic data includes at least one of an attribute of the to-be-shared display object and an upload account attribute of the to-be-shared display object, and the metadata is to-be-filled data in different case templates;
the pattern generating unit 503 is configured to perform filling the obtained metadata into the determined target pattern template, and generate the pattern of the display object to be shared.
The pattern template includes a plurality of types of pattern templates, each type of pattern template corresponding to at least one characteristic data, and each type of pattern template includes a plurality of pattern templates corresponding to different classifications of the at least one characteristic data.
In a possible implementation manner, the determining, by the template matching unit, a target pattern template corresponding to a category to which the acquired feature data belongs includes:
determining at least one type of pre-selected pattern template corresponding to the classification to which the acquired characteristic data belongs;
determining the priority of the pre-selected file template according to the priorities of different types of file templates;
and according to the determined priority, selecting one pre-selected file template from the pre-selected file templates as the target file template.
In a possible implementation manner, the attribute of the display object to be shared includes at least one of the following:
the data type of the display object to be shared, which corresponds to the output display mode;
and counting at least one index of the display object to be shared operated by different accounts.
In a possible implementation manner, the upload account attribute of the display object to be shared includes at least one of a gender classification and an age classification of an upload account of the display object to be shared.
In a possible embodiment, the apparatus further comprises:
the priority ranking acquisition unit is configured to execute priority ranking for acquiring the current different types of document templates, and the priority ranking is obtained according to the value of the feature information counted most recently by the different types of document templates;
the characteristic acquisition unit is configured to execute a document generation unit to fill the acquired metadata into the document template, generate a document of the display object to be shared, acquire the document template corresponding to the document and display the document template to different accounts, and count the related operations of the different accounts on the document template to obtain updated characteristic information values;
and the priority improving unit is configured to adjust the priority sequence of the case template corresponding to the case when determining that the priority sequence of the case template corresponding to the case is changed according to the updated characteristic information value.
In a possible implementation manner, the filing generating unit fills the obtained metadata into the determined target filing template to generate the filing of the display object to be shared, including:
acquiring a document protocol in the target document template;
determining the replacement information in the target file template according to the file protocol;
and replacing the replacement information by the acquired metadata to generate the file of the display object to be shared.
In a possible embodiment, the apparatus further comprises:
the recognition unit is configured to perform semantic recognition on the file after the file generation unit fills the acquired metadata into the determined target file template and generates the file of the display object to be shared;
a deleting unit configured to delete a part of the document where no semantic meaning is recognized, so as to obtain a modified document;
and the determining unit is configured to execute the modification case as the case of the display object to be shared.
Based on the same technical concept, the present application further provides a terminal device 600, as shown in fig. 6, the terminal device 600 is configured to implement the methods described in the above various method embodiments, for example, implement the embodiment shown in fig. 2, and the terminal device 600 may include a memory 601, a processor 602, an input unit 603, and a display panel 604.
A memory 601 for storing computer programs executed by the processor 602. The memory 601 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal apparatus 600, and the like. The processor 602 may be a Central Processing Unit (CPU), a digital processing unit, or the like. The input unit 603 may be configured to obtain a user instruction input by a user. The display panel 604 is configured to display information input by a user or information provided to the user, and in this embodiment of the present application, the display panel 604 is mainly used to display a display interface of each application program in the terminal device and a control entity displayed in each display interface. Alternatively, the display panel 604 may be configured in the form of a Liquid Crystal Display (LCD) or an organic light-emitting diode (OLED), and the like.
The embodiment of the present application does not limit a specific connection medium among the memory 601, the processor 602, the input unit 603, and the display panel 604. In the embodiment of the present application, the memory 601, the processor 602, the input unit 603, and the display panel 604 are connected by the bus 605 in fig. 6, the bus 605 is shown by a thick line in fig. 6, and the connection manner between other components is merely illustrative and not limited thereto. The bus 605 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The memory 601 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 601 may also be a non-volatile memory (non-volatile memory) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD), or any other medium which can be used to carry or store desired program code in the form of instructions or data structures and which can be accessed by a computer. The memory 601 may be a combination of the above memories.
The processor 602, configured to implement the embodiment shown in fig. 1, includes:
a processor 602 for invoking the computer program stored in the memory 601 to perform the embodiment as shown in fig. 1.
The embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions required to be executed by the processor, and includes a program required to be executed by the processor.
In some possible embodiments, aspects of a method for sharing a display object provided in the present application may also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the steps in a video display method according to various exemplary embodiments of the present application described above in this specification when the program product runs on the terminal device. For example, the terminal device may perform the embodiment as shown in fig. 1.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The sharing program product for a presentation object of the embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including a physical programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable video display device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable video display device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable video display device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable video display device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer implemented process such that the instructions which execute on the computer or other programmable device provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for sharing a display object, the method comprising:
responding to a sharing request, and acquiring data information of a to-be-shared display object, wherein the data information comprises characteristic data and metadata, the characteristic data comprises at least one of attributes of the to-be-shared display object and uploading account attributes of the to-be-shared display object, and the metadata is to-be-filled data in different case templates;
determining a target file template corresponding to the classification to which the acquired characteristic data belongs according to the corresponding relation between the characteristic data of different classifications and the file template;
and filling the obtained metadata into the determined target file template to generate the file of the display object to be shared.
2. The method of claim 1, wherein the scrip template comprises a plurality of types of scrip templates, each type of scrip template corresponding to at least one characteristic data, and each type of scrip template comprises a plurality of scrip templates corresponding to different classifications of the at least one characteristic data.
3. The method of claim 2, wherein the determining the target pattern template corresponding to the classification to which the acquired characteristic data belongs comprises:
determining at least one type of pre-selected pattern template corresponding to the classification to which the acquired characteristic data belongs;
determining the priority of the pre-selected file template according to the priorities of different types of file templates;
and according to the determined priority, selecting one pre-selected file template from the pre-selected file templates as the target file template.
4. The method according to claim 1, wherein the attribute of the display object to be shared comprises at least one of the following:
the data type of the display object to be shared, which corresponds to the output display mode;
and counting at least one index of the display object to be shared operated by different accounts.
5. The method according to claim 1, wherein the uploading account attribute of the display object to be shared comprises at least one of a gender classification and an age classification of the uploading account of the display object to be shared.
6. The method according to claim 3, wherein after the filing of the acquired metadata into the document template and the generation of the document of the display object to be shared, the method further comprises:
acquiring the priority sequence of the current different types of document templates, wherein the priority sequence is obtained according to the value of the feature information counted most recently by the different types of document templates;
when a case template corresponding to the case is acquired and displayed to different accounts, counting the relevant operations of the different accounts on the case template to obtain updated characteristic information values;
and adjusting the priority sequence of the pattern template corresponding to the pattern when determining that the priority sequence of the pattern template corresponding to the pattern is changed according to the updated characteristic information value.
7. The method according to claim 1, wherein the populating the determined target document template with the obtained metadata to generate the document of the display object to be shared includes:
acquiring a document protocol in the target document template;
determining the replacement information in the target file template according to the file protocol;
and replacing the replacement information by the acquired metadata to generate the file of the display object to be shared.
8. A sharing device for displaying an object, comprising:
the request response unit is configured to execute a response sharing request and acquire data information of the to-be-shared display object, wherein the data information comprises characteristic data and metadata, the characteristic data comprises at least one of attributes of the to-be-shared display object and uploading account attributes of the to-be-shared display object, and the metadata is to-be-filled data in different case templates;
the template matching unit is configured to execute the corresponding relation between the characteristic data of different classifications and the file template, and determine a target file template corresponding to the classification to which the acquired characteristic data belongs;
and the file generating unit is configured to execute filling the acquired metadata into the determined target file template, and generate the file of the display object to be shared.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of sharing a presentation object according to any one of claims 1 to 7.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of sharing a presentation object according to any one of claims 1 to 7.
CN202110333640.4A 2021-03-29 2021-03-29 Display object sharing method and device and storage medium Pending CN113111243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110333640.4A CN113111243A (en) 2021-03-29 2021-03-29 Display object sharing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110333640.4A CN113111243A (en) 2021-03-29 2021-03-29 Display object sharing method and device and storage medium

Publications (1)

Publication Number Publication Date
CN113111243A true CN113111243A (en) 2021-07-13

Family

ID=76712900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110333640.4A Pending CN113111243A (en) 2021-03-29 2021-03-29 Display object sharing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN113111243A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194714A (en) * 2018-08-02 2019-01-11 深圳鼎盛电脑科技有限公司 A kind of official documents and correspondence method for pushing, device, terminal device and storage medium
CN110489582A (en) * 2019-08-19 2019-11-22 腾讯科技(深圳)有限公司 Personalization shows the generation method and device, electronic equipment of image
CN110489622A (en) * 2019-07-10 2019-11-22 平安科技(深圳)有限公司 Sharing method, device, computer equipment and the storage medium of object information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194714A (en) * 2018-08-02 2019-01-11 深圳鼎盛电脑科技有限公司 A kind of official documents and correspondence method for pushing, device, terminal device and storage medium
CN110489622A (en) * 2019-07-10 2019-11-22 平安科技(深圳)有限公司 Sharing method, device, computer equipment and the storage medium of object information
CN110489582A (en) * 2019-08-19 2019-11-22 腾讯科技(深圳)有限公司 Personalization shows the generation method and device, electronic equipment of image

Similar Documents

Publication Publication Date Title
US11438637B2 (en) Computerized system and method for automatic highlight detection from live streaming media and rendering within a specialized media player
US10447645B2 (en) Computerized system and method for automatically creating and communicating media streams of digital content
US10885271B2 (en) System and method for providing users feedback regarding their reading habits
US10102535B2 (en) System and method for brand management using social networks
US10474877B2 (en) Automated effects generation for animated content
US8335763B2 (en) Concurrently presented data subfeeds
US11435890B2 (en) Systems and methods for presentation of content items relating to a topic
US9183515B2 (en) Share box for endorsements
US20180077250A1 (en) Method and System for Processing Data Used By Creative Users to Create Media Content
US10616632B2 (en) Conditional display of hyperlinks in a video
US10671836B2 (en) Optimization processes for compressing media content
US20230353820A1 (en) Systems and Methods for Improved Searching and Categorizing of Media Content Items Based on a Destination for the Media Content Machine Learning
TW201907323A (en) Method for displaying and providing video result item, client, and server
US10242252B2 (en) Expression recognition tag
CN113111243A (en) Display object sharing method and device and storage medium
CN112269942B (en) Method, device and system for recommending object and electronic equipment
CN109584012B (en) Method and device for generating item push information
US20220164090A1 (en) Abstract generation method and apparatus
EP4072148A1 (en) A system and method to adapting video size
CN116842257A (en) Content recommendation method and device, electronic equipment and storage medium
CN116992872A (en) Interactive information rendering method, device, 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