CN113254846B - Material pushing method and device and electronic equipment - Google Patents

Material pushing method and device and electronic equipment Download PDF

Info

Publication number
CN113254846B
CN113254846B CN202110798614.9A CN202110798614A CN113254846B CN 113254846 B CN113254846 B CN 113254846B CN 202110798614 A CN202110798614 A CN 202110798614A CN 113254846 B CN113254846 B CN 113254846B
Authority
CN
China
Prior art keywords
public number
content
information
formatted
target
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.)
Active
Application number
CN202110798614.9A
Other languages
Chinese (zh)
Other versions
CN113254846A (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 Easy Yikang Information Technology Co ltd
Original Assignee
Beijing Qingsongchou 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 Qingsongchou Information Technology Co ltd filed Critical Beijing Qingsongchou Information Technology Co ltd
Priority to CN202110798614.9A priority Critical patent/CN113254846B/en
Publication of CN113254846A publication Critical patent/CN113254846A/en
Application granted granted Critical
Publication of CN113254846B publication Critical patent/CN113254846B/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/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines

Landscapes

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

Abstract

The application discloses a material pushing method, a device and electronic equipment, the method obtains a piece of material content of the material to be pushed, which finishes format editing from a source public number, namely, the first formatted material content, and aiming at the material pushing requirement facing at least one destination public number, by acquiring the second object information which is the personalized object information corresponding to each destination public number of at least one content object meeting the object condition and contained in the material content, the method comprises the steps of carrying out adaptive fine adjustment on the content of a first formatted material to obtain a personalized formatted material package which is required by pushing the material of each destination public number, and finally sending the public number information and the formatted material package which correspond to each destination public number to a management platform of the public numbers, so that the same material is pushed to at least one destination public number, and the pushing efficiency when the same material is pushed to a plurality of public numbers is greatly improved.

Description

Material pushing method and device and electronic equipment
Technical Field
The application relates to the technical field of internet, in particular to a material pushing method and device and electronic equipment.
Background
When image and text materials under the public number are pushed to users based on the purposes of marketing, information promotion and the like, the current pushing system needs to firstly edit and upload the materials to the public number in a related management background (such as a WeChat management background) of the public number, and then push the image and text materials to the users through the public number.
When the same content is pushed to a plurality of public accounts, all the public accounts need to be manually logged in one by one in the conventional pushing system, and after each public account is logged in, the materials are edited by an editor provided by a WeChat management background and uploaded to the public accounts.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for pushing a material, and an electronic device, so as to solve the problem of low pushing efficiency when pushing materials with the same content to multiple public numbers in the related art, and improve the output efficiency of pushed content.
A method of pushing material, comprising:
acquiring a synchronous request, wherein the synchronous request carries material information of a target material and public information of at least one target public number;
acquiring first formatted material content of the target material from a source public number according to the material information;
if the first formatting material content comprises first object information of at least one content object meeting object conditions, acquiring the at least one content object according to the corresponding first object information;
uploading the at least one content object to the at least one target public number through a public number management platform, and acquiring second object information generated by the management platform for each target public number for each content object;
adjusting the first formatted material content based on second object information of each content object corresponding to a corresponding destination public number to obtain second formatted material content corresponding to the corresponding destination public number;
generating a formatted material packet corresponding to each destination public number according to the second formatted material content corresponding to each destination public number; the formatted material package at least comprises the second formatted material content;
and transmitting the public number information and the formatted material packet corresponding to each destination public number to the management platform, so that the management platform uploads the formatted material packet corresponding to each destination public number to the corresponding destination public number according to the public number information of each destination public number.
Optionally, the material information includes a first material identifier and a material address corresponding to the target material in the source public number;
the obtaining of the first formatted material content of the target material from the source public number according to the material information includes:
and downloading the first formatted material content of the target material from the corresponding material content position of the source public number according to the first material identifier and the material address of the target material corresponding to the source public number.
Optionally, the object condition includes: the content object is a non-textual content object.
Optionally, the first object information of the content object at least includes: the management platform generates a first object address for the content object for the source public number;
the acquiring the at least one content object according to the corresponding first object information includes:
and downloading each content object at least according to the first object address corresponding to each content object.
Optionally, the second object information of the content object at least includes: the management platform generates a second object address for the content object according to the corresponding destination public number;
said adjusting said first formatted material content based on second object information for each content object corresponding to a respective destination public number to obtain second formatted material content corresponding to said respective destination public number, comprising:
and replacing the first object address of the content object in the first formatted material content by using the second object address of each content object corresponding to the corresponding destination public number to obtain second formatted material content corresponding to the corresponding destination public number.
Optionally, the generating a formatted material package corresponding to each destination public number according to the second formatted material content corresponding to each destination public number includes:
acquiring a cover picture corresponding to the target material;
uploading the cover picture to the at least one target public number through the management platform, and acquiring first cover information which is generated by the management platform for the cover picture for each target public number and at least comprises a first cover address;
packaging the second formatted material content and the first cover information corresponding to each destination public number to obtain a formatted material packet corresponding to each public number;
the step of sending the public number information and the formatted material packet corresponding to each destination public number to the management platform comprises the following steps:
and sending the public number information and the formatted material packet corresponding to each target public number to the management platform through a platform interface of the management platform.
Optionally, the obtaining of the cover picture corresponding to the target material includes:
according to the material information of the target material, second cover information of a cover picture corresponding to the target material is obtained from the source public number; the second cover information at least comprises a second cover address generated by the management platform for the cover picture aiming at the source public number;
and downloading cover pictures corresponding to the target materials according to the second cover information.
Optionally, after the sending the public number information and the formatted material packet corresponding to each destination public number to the management platform, the method further includes:
acquiring a second material identifier generated for the uploaded formatted material packet by the management platform aiming at a target public number after the management platform uploads the corresponding formatted material packet to the target public number;
sending a query request to the management platform through a platform interface of the management platform, wherein the query request carries the public number information of the target public number and the second material identifier;
and acquiring and storing the detailed material information corresponding to the query request returned by the management platform.
A material pushing apparatus comprising:
an acquisition module to: acquiring a synchronous request, wherein the synchronous request carries material information of a target material and public information of at least one target public number; acquiring first formatted material content of the target material from a source public number according to the material information; if the first formatting material content comprises first object information of at least one content object meeting object conditions, acquiring the at least one content object according to the corresponding first object information;
the transmission module is used for uploading the at least one content object to the at least one target public number through a public number management platform and acquiring second object information generated by the management platform for each target public number for each content object;
the adjusting module is used for adjusting the first formatted material content based on second object information of each content object corresponding to a corresponding destination public number to obtain second formatted material content corresponding to the corresponding destination public number;
the generating module is used for generating a formatted material packet corresponding to each destination public number according to the second formatted material content corresponding to each destination public number; the formatted material package at least comprises the second formatted material content;
the transmission module is further configured to send the public information and the formatted material packet corresponding to each destination public number to the management platform, so that the management platform uploads the formatted material packet corresponding to each destination public number to the corresponding destination public number according to the public information of each destination public number.
An electronic device, comprising:
a memory for storing at least one set of computer instructions;
and the processor is used for realizing the material pushing method by executing the instruction set stored in the memory.
Compared with the related art, the method has the following beneficial effects:
the application discloses a material pushing method, a material pushing device and electronic equipment, wherein a piece of material content of a material to be pushed, which is subjected to format editing, is obtained from a source public number, namely a first formatted material content, and aiming at the material pushing requirement facing at least one target public number, the personalized object information-second object information, corresponding to each target public number, of at least one content object meeting object conditions, contained in the material content is obtained, the first formatted material content is subjected to adaptive fine adjustment to obtain a personalized formatted material package corresponding to each target public number, and finally, the public number information and the formatted material package corresponding to each target public number are sent to a management platform of the public number, so that the same material is pushed to at least one target public number.
Compared with the prior art, the method and the device have the advantages that the complete format editing of the material is not required to be repeatedly carried out after the materials are logged in each purpose public number one by one, the whole synchronous pushing process is carried out automatically, manual cross-platform operation is reduced, accordingly, the pushing efficiency when the same material is pushed to a plurality of public numbers is greatly improved, and the output efficiency of pushing content is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an architecture diagram of a material push scene disclosed in an embodiment of the present application;
fig. 2 is a schematic flowchart of a material pushing method disclosed in an embodiment of the present application;
FIG. 3 is a schematic diagram of processing logic for pushing material to a destination public account according to an embodiment of the disclosure;
FIG. 4 is a flowchart of an implementation of generating a formatted material package as disclosed in an embodiment of the present application;
fig. 5 is another schematic flow chart of the material pushing method disclosed in the embodiment of the present application;
fig. 6 is a schematic structural diagram of a material pushing apparatus disclosed in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to solve the technical problems in the related art, the application discloses a material pushing method, a material pushing device and electronic equipment, which mainly obtain a piece of material content of a material to be pushed, which is subjected to format editing, from a source public number automatically, the personalized object information of specific content objects (such as pictures, videos and other non-text contents) in the material is finely adjusted according to the destination public numbers, and on the basis, the platform interface of the public number management platform is called to push materials to the public numbers of all purposes, so as to avoid logging in the public numbers of all purposes one by one, reduce manual operation, and simultaneously avoids the repeated format editing of the material content when the same material content is pushed to each destination public number, therefore, the purposes of improving the pushing efficiency and the content pushing output efficiency when the materials with the same content are pushed to a plurality of public numbers are achieved.
For the convenience of understanding, an application scenario of the present application is first introduced, and referring to an architecture diagram of the application scenario shown in fig. 1, the application scenario includes: a push system 11 and a public number management platform 12.
The push system 11 is mainly used for pushing materials to public numbers based on marketing, information promotion, and the like, where a material may include one or more articles (or "tweets"), each article including any one or more content objects of text, pictures (still pictures/moving pictures), and videos.
The pushing system 11 may be a system with a material pushing function, which is composed of one or more computers and/or servers, and the system maintains a local material library for storing related material information of a series of materials, such as one or more of information of names, identifications (media _ ids), material addresses, corresponding public numbers and the like of the stored materials. The material address may be, but is not limited to, represented by a URL (Uniform Resource Locator) of the material.
The management platform 12 of the public number is at least used for providing public number management functions, such as providing registration, login, authority management functions of the public number, providing management functions of editing, uploading, publishing, approving/forwarding/commenting and the like of materials for the registered public number, and the like, for example, the management platform 12 of the public number may be a WeChat management background, but it is easy to understand that the management platform 12 may also be another platform at least having public number management functions, which is not limited herein, and the following scheme will mainly take the WeChat management background as an example.
On the basis of the application scenario architecture, referring to fig. 2, fig. 2 is a schematic flow chart of a material pushing method provided in the embodiment of the present application, and the method can be specifically applied to a pushing system with the architecture.
As shown in fig. 2, the processing flow of the material pushing method of the present embodiment includes:
step 201, obtain the synchronization request.
The synchronous request carries material information of the target material and public information of at least one target public number. The target material is the material to be pushed, and the target public number is the public number to which the target material is to be pushed.
In practical application, the synchronization request may also carry related information of the source public number to which the target material corresponds, such as a name and an identifier (app _ id) of the source public number.
Specifically, for example, if the push system only maintains one source public number used as a material push source, the synchronization request may not carry source public number information such as a source public number identifier, and in this manner, when the push system obtains the synchronization request, the only source public number maintained by the default system is the source of the material to be pushed. If the pushing system maintains a plurality of source public numbers used as material pushing sources, the synchronization request needs to simultaneously carry information of the source public numbers to which the materials to be pushed belong so as to specify the sources of the materials to be pushed.
The material information of the target material includes, but is not limited to, a first material identifier (media _ id) and a material address corresponding to the target material in the source public number, wherein the material address may specifically be a URL of one or more articles included in the target material.
In practical application, when the push system has a requirement of pushing the same material to at least one destination public number, an administrator of the push system can select a material under a certain source public number from a background material library of the push system, and initiate a synchronous request to the at least one destination public number for the selected material.
In some embodiments, the system may automatically trigger a request for synchronization of the material based on a condition triggering manner, where the triggering condition may include, but is not limited to, a condition set based on any one or more of timing, material content (such as material meeting keyword matching requirements), destination public number based characteristics (such as public number that pushes content in a specific aspect), and the like.
Step 202, obtaining a first formatted material content of the target material from the source public number according to the material information in the synchronization request.
The first formatted material content of the target material is the material content of a predetermined format corresponding to the target material in the source public number, that is, when the target material is published on the source public number, the format editor provided by a public number-based management platform (such as a WeChat management background) finishes format editing on each content object (such as text) contained in the target material and/or related object information (such as non-text URLs (including pictures, videos and the like)) of the content object.
The predetermined format may be, but is not limited to, H5 (generation 5 HTML) format.
After obtaining the synchronization request, the push system parses information such as a first material identifier (media _ id) and a material address (URL) of the target material from the synchronization request, downloads one or more articles included in the target material from a position indicated by a corresponding URL of the content of the source public material according to the source public number identifier (app _ id), and correspondingly obtains material content (e.g., a content of a teletext material) in a format of H5 and the like of the article included in the target material in combination with fig. 3.
The first formatted material content of the target material acquired from the source public number by the pushing system is used as a general formatted material basis for subsequently pushing the target material to each target public number, can be reused in the pushing process of each target public number, and only the first formatted material content is subjected to adaptive fine adjustment according to the material pushing requirement of each target public number, so that the available formatted material content adaptive to the target public number can be obtained.
Step 203, if the first formatted material content includes the first object information of at least one content object satisfying the object condition, acquiring the at least one content object according to the corresponding first object information.
WeChat management background provision: non-text contents such as pictures, videos and the like in the article content need to be uploaded to a public number first, the micro message returns corresponding media _ id and URL for the uploaded non-text contents, the URL returned by the micro message is used in the formatted material content to represent the non-text contents such as the pictures, the videos and the like, and the formatted material content is effective after being uploaded to the public number. That is, in essence, the specification restricts that the formatted material content uploaded to the public account cannot include non-text original content such as pictures/videos, but refers to the non-text content by using the corresponding URL when the non-text content is stored in the background of the wechat, and restricts that for each public account, the wechat platform generates a unique URL corresponding to the public account for the non-text content such as pictures/videos to be released, and even if the content to be released of different public accounts includes the same non-text content such as pictures/videos, the wechat platform generates different URLs corresponding to different public accounts for the same non-text content.
Accordingly, for the WeChat application scenario, the above object conditions may be set as: the content object is a non-textual content object. For example, if the content object is non-text content such as a picture or a video, the content object satisfies the object condition.
It is easy to understand that the setting of the object condition is not unique, and if other regulations exist in other public account management platforms interacting with the push system or other regulations may be generated in different stages by the WeChat management background in practical applications, the object condition can be flexibly and adaptively set.
The first object information of the content object complying with the object condition includes at least: and the management platform generates a first object address for the content object meeting the object condition aiming at the source public number.
In some embodiments, the first object information may also include other information, such as the name (name), identification (media _ id), etc., of the content object, based on the actual format design of the formatted material content (e.g., H5 content).
In view of the above-mentioned provisions of the wechat management background, after obtaining the first formatted material content of the target material, such as the H5 content of at least one article, the first formatted material content is further subjected to content crawling to identify whether the first object information of at least one content object satisfying the object condition is included therein, and if so, the at least one content object satisfying the object condition is obtained according to the corresponding first object information.
For example, crawling in H5 content
Figure 395077DEST_PATH_IMAGE002
If the relevant information of the picture/video and the like, such as the URL, name and the like of the picture/video and the like, is crawled, at least the URL of the picture/video is extracted (if the URL includes a plurality of URLs corresponding to a plurality of pictures and/or videos, a URL list is correspondingly formed, that is, the URL list), which is the first object address in this embodiment. Thereafter, the picture/video is downloaded further based on the URL of the crawled picture/video, such as from the WeChat pipeAnd downloading the pictures/videos and the like indicated by the crawled URL from a picture/video resource list (picture/video resource list) of the background to obtain the at least one content object meeting the object conditions.
And 204, uploading the at least one content object to the at least one target public number through a public number management platform, and acquiring second object information generated by the public number management platform for each target public number for each content object.
After the push system obtains the at least one content object meeting the object condition, for example, after obtaining at least one picture and video, the obtained at least one content object is uploaded to each target public number through the management platform of the public number, and the management platform generates second object information corresponding to the target public number for each uploaded content object according to each target public number and returns the second object information to the push system.
The second object information of the content object obtained by the push system at least comprises: the management platform of the public account generates a second object address for the content object aiming at the corresponding target public account, for example, for a certain target public account, a URL corresponding to the target public account is generated for a non-text content object such as a picture or a video, and URLs corresponding to different public accounts generated by the management platform for the same picture/video and other non-text content objects are different.
In some embodiments, other information may also be included in the second object information, such as a content object for a picture/video uploaded to a destination public account, an object identifier (media _ id) of a content object generated for the destination public account, and the like by the wechat management background.
Step 205, based on the second object information of each content object corresponding to the corresponding destination public number, adjusting the content of the first formatted material to obtain the content of the second formatted material corresponding to the corresponding destination public number.
Specifically, the second object address of each content object corresponding to the corresponding destination public number can be used to replace the first object address of the content object in the first formatted material content, so as to obtain the second formatted material content corresponding to the corresponding destination public number.
For example, the original URL of the picture/video in the content of the article h5 obtained from the source public number is replaced by the URL corresponding to the corresponding destination public number of the picture/video returned by the WeChat management background.
If the h5 content obtained from the source public number as the first formatted material content comprises a plurality of picture/video URLs, the URLs are respectively and correspondingly replaced, and therefore second formatted material content which is suitable for the target public number and can be uploaded to the target public number correspondingly is obtained.
If the number of the destination public numbers to be pushed for the same material is multiple, the first formatted material content obtained from the source public number, such as h5 content, is multiplexed at the pushing system side. And for each destination public number, replacing the original URL of the corresponding picture/video in the first formatted material content by the URL generated by the WeChat management background aiming at the destination public number for the uploaded non-text objects such as the picture/video and the like at the pushing system end, and correspondingly obtaining second formatted material contents respectively adapted to each destination public number.
Moreover, what is different from the related art is that when the first formatted material content obtained from the source public number is multiplexed and fine-tuned to obtain the second formatted material content adapted to the destination public number, since the application finishes editing the material content based on the source public number, the format editor (or called editing container) provided by a public number management platform (such as a WeChat management background) is not needed to edit the material content, for example, the text content included in the material and the URL of the picture/video are not needed to be respectively organized and arranged at the corresponding position of the container, and thus, the destination public numbers do not need to be registered one by one in the push system, and the premise of registering the destination public numbers is not needed. The pushing flow is further optimized, and the pushing efficiency is improved.
In addition, if the second object information further includes media _ id of a non-text content object such as a picture/video returned by the wechat management background, optionally, the push system may use the obtained media _ id as a new identifier of the picture/video corresponding to the destination public number, and store the new identifier locally.
And step 206, generating a formatted material packet corresponding to each destination public number according to the second formatted material content corresponding to each destination public number.
The formatted material packet corresponding to the target public number at least comprises a second formatted material content corresponding to the target public number. It is easily understood that in the case where the first formatted material content does not include the object information of the content object satisfying the object condition, for example, the first formatted material content includes only the formatted text content, the above-described processing of the non-text content such as the picture/video can be skipped when generating the second formatted material content corresponding to the destination public number.
When the material is uploaded to a public number, optionally, a cover picture, or an associated article title, or both a cover picture and an article title may be associated with each article in the material to serve as an article guide of the material uploaded in the public number, the article guide provides a guide function for entering an article browsing interface, and a client user may enter the browsing interface of the article by operating (e.g., clicking) the article guide.
In the case that the article guide includes a cover picture, the formatted material package that can be finally and directly uploaded to the destination public number can be obtained by packaging the second formatted material content corresponding to the destination public number and the corresponding cover information, which will be described in detail in an embodiment below.
For the case that the article guide does not include a cover picture, such as only including an article title, optionally, the second formatted material content can be directly packaged into a final formatted material package to be uploaded to a destination public number, and subsequently, after the formatted material package is uploaded to a management platform of the public number, the management platform can extract the article title from the second formatted material content to serve as the article guide.
And step 207, sending the public number information and the formatted material packet corresponding to each destination public number to a public number management platform, so that the management platform uploads the formatted material packet corresponding to each destination public number to the corresponding destination public number according to the public number information of each destination public number.
After the push system obtains the formatted material package to be uploaded to the target public number, the public number information of the target public number to be pushed and the corresponding formatted material package are further sent to a public number management platform through a platform interface, and the public number management platform uploads the received formatted material package to the specified target public number according to the received public number information.
In an embodiment, the public number information sent by the push system to the management platform includes an identifier (app _ id) of the destination public number, and in this embodiment, the push system may obtain the authority to push the material to some destination public numbers by negotiating with the management platform in advance or obtaining the corresponding role authority of the management platform.
In another embodiment, the public number information sent by the push system to the management platform comprises an identifier (app _ id) and a key of the destination public number, and in this embodiment, the push system expresses to the management platform that the management platform has the authority to push the material to the corresponding destination public number by simultaneously providing the identifier (app _ id) and the key of the destination public number to the management platform.
It is easy to understand that the process of uploading the formatted material package to the destination public number by the push system does not need to log in the destination public number at last, and the appointed uploading of the formatted material package (namely, uploading to the destination public number appointed by the public number information) can be realized on the management platform by calling the platform interface of the management platform, such as a wechat interface, and sending the public number information of the destination public number and the formatted material package to be pushed to the management platform together.
In the case that the number of the destination public accounts is plural, in some embodiments, the material pushing process for different destination public accounts may be executed in parallel, or the material pushing process for different destination public accounts may also be executed in series, which is not limited in this embodiment.
In summary, compared with the related art, according to the scheme of the embodiment, when the same material content is pushed to a plurality of destination public numbers, the destination public numbers do not need to be logged one by one, the complete format editing of the material does not need to be repeatedly performed after the destination public numbers are logged, and the whole synchronous pushing process is automatically performed, so that manual cross-platform operation is reduced, and therefore the pushing efficiency of pushing the same material to the plurality of public numbers is greatly improved, and the output efficiency of pushing the content is improved.
When the formatted material packet is uploaded to the WeChat management background to realize the purpose of pushing the material to a target public number, the WeChat interface limits that the cover picture address (thumb _ url of the cover picture) of an article in the material is required to be used as a parameter for requesting the WeChat interface. Based on this limitation, for a wechat application scenario, cover picture related information of an article needs to be packaged in a formatted material package to be uploaded to a destination public number at the same time.
Thus, referring to the processing flow of the material pushing method shown in fig. 4, in some embodiments, the step 206 described above can be implemented by the following processing procedures:
step 401, obtaining a cover picture corresponding to the target material.
The cover picture corresponding to the target material is a cover picture corresponding to at least one article contained in the target material.
Wherein, the process of obtaining the cover picture corresponding to the target material comprises the following steps:
acquiring cover information of a cover picture corresponding to the target material from a source public number according to the material information of the target material, wherein the cover information is called as second cover information; the obtained second cover information at least comprises a cover address generated by the public number management platform for the cover picture aiming at the source public number, and the cover address is correspondingly called as a second cover address in the embodiment of the application;
and downloading the cover page picture corresponding to the target material according to the second cover page information.
Specifically, for the WeChat application scene, the cover picture information can be pulled from the source public number WeChat resource list to obtain the name and URL of the cover picture, and then the cover picture is downloaded according to the name and URL of the cover picture.
Step 402, uploading the obtained cover picture to the at least one destination public number through a public number management platform, and obtaining first cover information which is generated by the management platform for the cover picture according to each destination public number and at least comprises a first cover address.
Then, similar to the case of the material content including the picture/video, based on the restriction of the WeChat, the downloaded cover picture is uploaded to the destination public number through the WeChat management back office, and accordingly, the first cover information generated by the WeChat management back office for the uploaded cover picture is obtained, where the first cover information at least includes the cover _ url generated by the WeChat management back office for the destination public number for the cover picture (e.g., only includes the newly generated cover _ url, or includes the newly generated cover _ url and the cover ID, etc.), and this embodiment is referred to as a first cover address.
Step 403, packaging the second formatted material content and the first cover information corresponding to each destination public number to obtain a formatted material packet corresponding to each public number;
and after new cover information, namely the first cover information, generated by the management background for the cover pictures uploaded to the target public number is obtained, a second formatted material packet corresponding to the target public number is further packaged with the first cover information.
Taking the material push of the wechat public number as an example, the content of the processed target public number H5 may be put into the content field of the material package and combined with the cover picture thumb of the user into a group, wherein if one material contains multiple articles, the content of H5 of each article is combined with the thumb _ thumb of the cover picture, and after the multiple articles are combined, the "content of H5 + the cover picture thumb" corresponding to the multiple articles are combined into a material, and other attributes of the material (such as whether the articles allow forwarding, comments, etc.) inherit the attributes of the original material, and the new material is combined and combined, which is referred to as the formatted material package to be uploaded corresponding to the target public number in the embodiment of the present application.
After the formatted material packet corresponding to the target public number is obtained, the public number information of the target public number and the formatted material packet can be uploaded to the target public number through the request micro-information interface, so that the target material of the target public number can be pushed.
In this embodiment, to the relevant course of processing of the front cover picture of material, it is the prerequisite that the push system uses the purpose public number of logging in equally not need, whole processing automation is carried out, combine the above to the multiplexing process of the first formatting material content that obtains from source public number, understand easily, the scheme of this embodiment is when the same material content of a plurality of purpose public numbers propelling movement, the artifical cross-platform operation of having reduced, the propelling movement efficiency of having promoted the same material of a plurality of public numbers propelling movement by a wide margin, the output efficiency of propelling movement content has been promoted.
In addition, in some embodiments, referring to the processing flow of the material pushing method shown in fig. 5, the material pushing method disclosed in the present application, after step 207, further includes:
step 501, after the management platform for obtaining the public number uploads the corresponding formatted material packet to the destination public number, a second material identifier generated for the uploaded formatted material packet is generated for the destination public number.
After uploading the corresponding formatted material packet to the destination public number, the WeChat management background returns a new material ID of the destination public number, that is, a new media _ ID generated for the target material uploaded to the destination public number, which is referred to as a second material identifier.
Step 502, sending a query request to the management platform through a platform interface of the management platform.
The inquiry request carries the public number information of the target public number and the second material identification.
Specifically, the push system may request the wechat interface to query details of the uploaded target material by using a new media _ id returned by the wechat and a corresponding destination public number app _ id.
And 503, acquiring and storing the detailed material information corresponding to the query request returned by the management platform.
And the WeChat management background responds to the received query request and returns the uploaded material detailed information of the target material to the pushing system.
The returned material detail information includes, but is not limited to, a new media _ id (second material identifier) of the target material, app _ id of the destination public number, a new column _ URL (first cover address) of a cover picture corresponding to the target material, a URL of a non-text content object such as a picture/video in the target material, and one or more of a material status, a creation time, and the like.
The material status may be, but is not limited to, material disabled, material not disabled, etc.
After the pushing system obtains the detailed information of the returned material, the pushing system can simultaneously obtain the related information (such as the source public number app _ id to which the target material belongs, the material media _ id corresponding to the target material in the source public number, and the like) of the target material in the source public number, and store the related information into a local material library of the pushing system so as to provide support for subsequent material pushing or material information management.
In addition, in some embodiments, during the process of pushing the material to the destination public number, the application also maintains a synchronous state table at the pushing system end.
Optionally, part or all of the following information is recorded in the synchronization status table:
the source public number name, app _ ID, source material ID (i.e., media _ ID of the target material corresponding to the source public number), the destination public number name, app _ ID, new material ID (i.e., media _ ID of the target material corresponding to the destination public number), and the synchronization status, synchronization operation key, synchronization task key, creation time, and so on, of each synchronization.
The synchronization key is used to identify a synchronization operation for synchronizing the material from the source public number to a plurality of destination public numbers, and may be obtained by, but not limited to, performing digest calculation on information such as the ID of the source material and the time for starting synchronization by using a relevant digest algorithm, and the following is an exemplary calculation method of the synchronization key provided in this embodiment:
sync _ key = md5(wechat _ media _ ID (source material ID) + created _ at (time to start synchronization)).
And the synchronization task key is used for uniquely identifying a primary synchronization task aiming at the same material, is a unique value, and directly returns synchronization failure if the synchronization task key is the same when a synchronization request is initiated. The information such as the source material ID, the destination public number app _ ID, and the WeChat update time may be obtained by, but not limited to, performing digest calculation on the information by using a relevant digest algorithm, and the following is an exemplary calculation method of the synchronization task key provided in this embodiment:
sync _ jobkey = md5(wechat _ media _ ID (source material ID) + app _ ID _ sync (destination public number app _ ID) + update _ at (WeChat update time)).
The synchronization state includes, but is not limited to, the following states:
starting synchronization: in the state 1, after checking that the tasks are different, writing the tasks into a synchronous record table, and starting synchronization;
in the synchronization: state 2, in the process of the synchronization task;
and (3) completing synchronization: state 3, uploading is successful and updated to the local;
and (3) synchronization failure: state 4, which may be the same synchronization task or a synchronization error interrupt;
when the pushing process of the target material is in the states 1 and 2, the synchronization request for the same target material cannot be initiated again, and in the states 3 and 4, the synchronization request for the same target material can be initiated again.
In the embodiment, in the process of pushing the material to the destination public number, the synchronous state table is maintained at the pushing system end, so that an administrator can conveniently view or manage the synchronous state of the material.
Corresponding to the above method, an embodiment of the present application further discloses a material pushing apparatus, as shown in fig. 6, the apparatus includes: an obtaining module 601, a transmitting module 602, an adjusting module 603 and a generating module 604.
Wherein:
an obtaining module 601, configured to: acquiring a synchronous request, wherein the synchronous request carries material information of a target material and public information of at least one target public number; acquiring first formatted material content of the target material from a source public number according to the material information of the target material; if the first formatting material content comprises first object information of at least one content object meeting the object condition, acquiring the at least one content object according to the corresponding first object information;
a transmission module 602, configured to upload the at least one content object to the at least one destination public account through a public account management platform, and obtain second object information generated by the public account management platform for each content object for each destination public account;
an adjusting module 603, configured to adjust the first formatted material content based on second object information of each content object corresponding to a corresponding destination public account, to obtain a second formatted material content corresponding to the corresponding destination public account;
a generating module 604, configured to generate a formatted material packet corresponding to each destination public number according to the second formatted material content corresponding to each destination public number; the formatted material packet at least comprises corresponding second formatted material content;
the transmission module 602 is further configured to send the public information and the formatted material packet corresponding to each destination public number to the management platform, so that the management platform uploads the formatted material packet corresponding to each destination public number to the corresponding destination public number according to the public information of each destination public number.
In an optional implementation manner of the embodiment of the present application, the material information of the target material at least includes: a first material identifier and a material address corresponding to the target material in the source public number;
the obtaining module 601, when obtaining the first formatted material content of the target material from the source public account according to the material information, is specifically configured to:
and downloading the first formatted material content of the target material from the corresponding material content position of the source public number according to the first material identifier and the material address of the target material corresponding to the source public number.
In an optional implementation manner of the embodiment of the present application, the object condition includes: the content object is a non-textual content object.
In an optional implementation manner of the embodiment of the present application, the first object information of the content object at least includes: the management platform of the public number generates a first object address for the content object aiming at the source public number;
the obtaining module 601, when obtaining the at least one content object according to the corresponding first object information, is specifically configured to:
and downloading each content object at least according to the first object address corresponding to each content object.
In an optional implementation manner of the embodiment of the present application, the second object information of the content object at least includes: the management platform of the public number generates a second object address for the content object aiming at the corresponding purpose public number;
the adjusting module 603, when adjusting the first formatted material content based on the second object information corresponding to the corresponding destination public number of each content object to obtain a second formatted material content corresponding to the corresponding destination public number, is specifically configured to:
and replacing the first object address of the content object in the first formatted material content by using the second object address corresponding to the corresponding destination public number of each content object to obtain second formatted material content corresponding to the corresponding destination public number.
In an optional implementation manner of the embodiment of the application, the obtaining module 601 is further configured to obtain a cover picture corresponding to the target material;
the transmission module 602 is further configured to upload the cover picture to at least one destination public number through the management platform, and acquire first cover information, which is generated by the management platform for the cover picture for each destination public number and includes at least a first cover address;
the generating module 604 is further configured to perform packaging processing on the second formatted material content and the first cover information corresponding to each destination public account to obtain a formatted material package corresponding to each public account.
In an optional implementation manner of the embodiment of the present application, when at least the public account information and the second formatted material content corresponding to each destination public account are sent to the management platform of the public account, the transmission module 602 is specifically configured to:
and sending the public number information corresponding to each target public number and a formatted material packet comprising corresponding second formatted material content and a first cover address to the public number management platform through a platform interface of the public number management platform.
In an optional implementation manner of the embodiment of the present application, when acquiring a cover picture corresponding to a target material, the acquiring module 601 is specifically configured to:
acquiring second cover information of a cover picture corresponding to the target material from a source public number according to the material information of the target material; the second cover information at least comprises a second cover address generated by the management platform of the public number for the cover picture aiming at the source public number;
and downloading the cover page picture corresponding to the target material according to the second cover page information.
In an optional implementation manner of the embodiment of the present application, the obtaining module 601 is further configured to obtain a second material identifier, generated for the uploaded formatted material packet by the destination public number, after the management platform uploads the corresponding formatted material packet to the destination public number;
a transmission module 602, further configured to: sending an inquiry request to the public number management platform through a platform interface of the public number management platform, wherein the inquiry request carries public number information of a target public number and a second material identifier; and acquiring and storing the detailed material information corresponding to the query request returned by the public number management platform.
For the material pushing device disclosed in the embodiment of the present application, since it corresponds to the material pushing method disclosed in the above method embodiment, the description is relatively simple, and for the relevant similar points, please refer to the description of the above corresponding method embodiment, and detailed description is not repeated here.
In addition, the embodiment of the application also discloses an electronic device, which can be, but is not limited to, a personal computer or a server or other devices for operating a push system.
The structural schematic diagram of the electronic device shown in fig. 7 at least includes:
a memory 701 for storing a set of computer instructions;
the set of computer instructions may be embodied in the form of a computer program.
The memory 701 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 702 is configured to implement the material pushing method according to any one of the above method embodiments by executing the instruction set stored in the memory.
The processor 702 may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic devices.
Besides, the scheduling device may further include a communication interface, a communication bus, and the like. The memory, the processor and the communication interface communicate with each other via a communication bus.
The communication interface is used for communication between the scheduling device and other devices (such as a central control device in the CDN scheduling system). The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like, and may be divided into an address bus, a data bus, a control bus, and the like.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A material pushing method is characterized by comprising the following steps:
acquiring a synchronous request, wherein the synchronous request carries material information of a target material and public information of at least one target public number;
acquiring first formatted material content of the target material from a source public number according to the material information; the first formatted material content comprises: the source public number utilizes a format editor provided by a public number management platform to organize and arrange the object information of each type of content object and/or content object of the target material to obtain formatted material content;
if the first formatting material content comprises first object information of at least one content object meeting object conditions, acquiring the at least one content object according to the corresponding first object information;
uploading the at least one content object to the at least one target public number through a public number management platform, and acquiring second object information generated by the management platform for each target public number for each content object;
adjusting the first formatted material content based on second object information of each content object corresponding to a corresponding destination public number to obtain second formatted material content corresponding to the corresponding destination public number and comprising organization and arrangement results of various types of content objects and/or object information of the content objects of the target material;
generating a formatted material packet corresponding to each target public number according to second formatted material content of the organization and arrangement result of each type of content object and/or the object information of the content object corresponding to each target public number; the formatted material package at least comprises the second formatted material content;
and sending the public number information and the formatted material packet corresponding to each destination public number to the management platform so that the management platform can release the formatted material packet corresponding to each destination public number to the corresponding destination public number according to the public number information of each destination public number.
2. The method according to claim 1, wherein the material information comprises a first material identification and a material address corresponding to the target material in the source public number;
the obtaining of the first formatted material content of the target material from the source public number according to the material information includes:
and downloading the first formatted material content of the target material from the corresponding material content position of the source public number according to the first material identifier and the material address of the target material corresponding to the source public number.
3. The method of claim 1, wherein the subject condition comprises: the content object is a non-textual content object.
4. The method according to claim 1, wherein the first object information of the content object includes at least: the management platform generates a first object address for the content object for the source public number;
the acquiring the at least one content object according to the corresponding first object information includes:
and downloading each content object at least according to the first object address corresponding to each content object.
5. The method of claim 4, wherein the second object information of the content object comprises at least: the management platform generates a second object address for the content object according to the corresponding destination public number;
said adjusting said first formatted material content based on second object information for each content object corresponding to a respective destination public number to obtain second formatted material content corresponding to said respective destination public number, comprising:
and replacing the first object address of the content object in the first formatted material content by using the second object address of each content object corresponding to the corresponding destination public number to obtain second formatted material content corresponding to the corresponding destination public number.
6. The method of claim 1, wherein generating a formatted material package for each destination public number based on the second formatted material content for each destination public number comprises:
acquiring a cover picture corresponding to the target material;
uploading the cover picture to the at least one target public number through the management platform, and acquiring first cover information which is generated by the management platform for the cover picture for each target public number and at least comprises a first cover address;
packaging the second formatted material content and the first cover information corresponding to each destination public number to obtain a formatted material packet corresponding to each public number;
the step of sending the public number information and the formatted material packet corresponding to each destination public number to the management platform comprises the following steps:
and sending the public number information and the formatted material packet corresponding to each target public number to the management platform through a platform interface of the management platform.
7. The method of claim 6, wherein the obtaining of the cover picture corresponding to the target material comprises:
according to the material information of the target material, second cover information of a cover picture corresponding to the target material is obtained from the source public number; the second cover information at least comprises a second cover address generated by the management platform for the cover picture aiming at the source public number;
and downloading cover pictures corresponding to the target materials according to the second cover information.
8. The method according to claim 1, after sending the public information and formatted material package corresponding to each destination public number to the management platform, further comprising:
acquiring a second material identifier generated for the issued formatted material packet by the target public number after the management platform issues the corresponding formatted material packet to the target public number;
sending a query request to the management platform through a platform interface of the management platform, wherein the query request carries the public number information of the target public number and the second material identifier;
and acquiring and storing the detailed material information corresponding to the query request returned by the management platform.
9. A material pushing apparatus, comprising:
an acquisition module to: acquiring a synchronous request, wherein the synchronous request carries material information of a target material and public information of at least one target public number; acquiring first formatted material content of the target material from a source public number according to the material information; if the first formatting material content comprises first object information of at least one content object meeting object conditions, acquiring the at least one content object according to the corresponding first object information; the first formatted material content comprises: the source public number utilizes a format editor provided by a public number management platform to organize and arrange the object information of each type of content object and/or content object of the target material to obtain formatted material content;
the transmission module is used for uploading the at least one content object to the at least one target public number through a public number management platform and acquiring second object information generated by the management platform for each target public number for each content object;
the adjusting module is used for adjusting the first formatted material content based on second object information of each content object corresponding to a corresponding destination public number to obtain second formatted material content corresponding to the corresponding destination public number and comprising organization and arrangement results of various types of content objects and/or content object information of the target material;
the generating module is used for generating a formatted material packet corresponding to each target public number according to second formatted material contents of the organization and arrangement results of various types of content objects and/or the object information of the content objects corresponding to each target public number; the formatted material package at least comprises the second formatted material content;
the transmission module is further configured to send the public information and the formatted material packet corresponding to each destination public number to the management platform, so that the management platform issues the formatted material packet corresponding to each destination public number to the corresponding destination public number according to the public information of each destination public number.
10. An electronic device, comprising:
a memory for storing at least one set of computer instructions;
a processor for implementing the material pushing method according to any one of claims 1-8 by executing the set of instructions stored in the memory.
CN202110798614.9A 2021-07-15 2021-07-15 Material pushing method and device and electronic equipment Active CN113254846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110798614.9A CN113254846B (en) 2021-07-15 2021-07-15 Material pushing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110798614.9A CN113254846B (en) 2021-07-15 2021-07-15 Material pushing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113254846A CN113254846A (en) 2021-08-13
CN113254846B true CN113254846B (en) 2021-11-23

Family

ID=77180349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110798614.9A Active CN113254846B (en) 2021-07-15 2021-07-15 Material pushing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113254846B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661332B (en) * 2022-03-07 2022-09-16 北京时空墨科技有限公司 Material replacing method and device and management equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259318A (en) * 2017-12-22 2018-07-06 北京智慧星光信息技术有限公司 A kind of information issuing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701217B (en) * 2016-01-13 2020-08-11 腾讯科技(深圳)有限公司 Information processing method and server
CN107632991A (en) * 2016-07-19 2018-01-26 平安科技(深圳)有限公司 A kind of public material database method for building up and system
CN106599208B (en) * 2016-12-15 2022-05-06 腾讯科技(深圳)有限公司 Content sharing method and user client
CN106953935B (en) * 2017-05-19 2022-05-17 腾讯科技(深圳)有限公司 Media information pushing method and device and storage medium
CN112579694B (en) * 2019-09-29 2024-08-23 北京国双科技有限公司 Digital resource processing method, device, storage medium and equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259318A (en) * 2017-12-22 2018-07-06 北京智慧星光信息技术有限公司 A kind of information issuing method and device

Also Published As

Publication number Publication date
CN113254846A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
RU2491635C2 (en) Inserting multimedia file through web-based desktop working application
CN104333531B (en) The sharing of Internet resources and acquisition methods, device, terminal
US9372935B2 (en) Content management and access systems and methods
US8997041B2 (en) Method of managing script, server performing the same and storage media storing the same
CN103179093A (en) Matching system and method for video subtitles
US20110258526A1 (en) Web content annotation management web browser plug-in
US9491225B2 (en) Offline download method and system
US9876776B2 (en) Methods for generating and publishing a web site based on selected items and devices thereof
WO2018053015A1 (en) Media storage
CN113254846B (en) Material pushing method and device and electronic equipment
US20150074152A1 (en) Metadata-based file-identification systems and methods
CN111176706A (en) Terminal upgrading method and device, electronic equipment and storage medium
CN114095755A (en) Video processing method, device and system, electronic equipment and storage medium
KR20150029918A (en) System of synchronizing contents in a cloud system having a plurality of distributed servers
EP2237170A1 (en) Data sorage system
EP2378441A1 (en) Method and system for comparing media assets
CN111478951B (en) File issuing method and device
CN106487787B (en) Multimedia on demand method and server
CN111211966B (en) Method and system for storing transmission files in chat tool
JP2007200271A (en) Retrieval method and system for retrieving multimedia content in content network
EP3780625A1 (en) Recorded data processing method and relevant device
KR101703963B1 (en) Method and system for providing multimedia service using cash server
US10091557B2 (en) Identifying and sharing video content on a digital network
EP2237144A1 (en) Method of remotely storing data and related data storage system
US20170316768A1 (en) Methods and systems for synchronizing an audio clip extracted from an original recording with corresponding lyrics

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 716, 7 / F, building 2, 28 Andingmen East Street, Dongcheng District, Beijing

Patentee after: Beijing Easy Yikang Information Technology Co.,Ltd.

Address before: Room 716, 7 / F, building 2, 28 Andingmen East Street, Dongcheng District, Beijing

Patentee before: BEIJING QINGSONGCHOU INFORMATION TECHNOLOGY Co.,Ltd.