CN114124490A - Method and device for releasing new media content, storage medium and electronic equipment - Google Patents

Method and device for releasing new media content, storage medium and electronic equipment Download PDF

Info

Publication number
CN114124490A
CN114124490A CN202111337847.5A CN202111337847A CN114124490A CN 114124490 A CN114124490 A CN 114124490A CN 202111337847 A CN202111337847 A CN 202111337847A CN 114124490 A CN114124490 A CN 114124490A
Authority
CN
China
Prior art keywords
account
new media
issuing
platform
release
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111337847.5A
Other languages
Chinese (zh)
Other versions
CN114124490B (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 Soufun Science & Technology Development Co ltd
Original Assignee
Beijing Soufun Science & Technology Development 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 Soufun Science & Technology Development Co ltd filed Critical Beijing Soufun Science & Technology Development Co ltd
Priority to CN202111337847.5A priority Critical patent/CN114124490B/en
Publication of CN114124490A publication Critical patent/CN114124490A/en
Application granted granted Critical
Publication of CN114124490B publication Critical patent/CN114124490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Abstract

The embodiment of the invention provides a method and a device for releasing new media content, a storage medium and electronic equipment, wherein the method comprises the following steps: responding to the issuing operation of a user on new media content, and determining a plurality of platform accounts corresponding to the user; determining each release account corresponding to the new media content in a plurality of platform accounts; determining account information, a new media platform and a release strategy corresponding to each release account; generating a login request corresponding to each issuing account based on account information corresponding to each issuing account; and for each release account, logging in a new media platform corresponding to the release account based on a login request corresponding to the release account and a preset headless browser, and releasing new media content in the new media platform according to a release strategy corresponding to the release account to complete a release process corresponding to the release account. By applying the method of the invention, new media content can be released in batch based on a plurality of account numbers, the workload of workers can be reduced, and the release efficiency can be improved.

Description

Method and device for releasing new media content, storage medium and electronic equipment
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for publishing new media content, a storage medium, and an electronic device.
Background
With the development of internet technology, each new media platform has become a common information channel in people's daily life. New media operation also becomes one of the important jobs for product operation, and each new media platform is the main traffic source for new media operation.
At present, the operator usually logs in an account needing to publish the content on each new media platform by himself, enters the new media content, and publishes the new media content.
In the actual new media operation process, the same new media content is often required to be published on a plurality of new media platforms, and in each new media platform, the content is required to be published on a plurality of accounts. Based on the existing publishing mode, operators need to log in a plurality of accounts on a plurality of new media platforms one by one to publish new media contents, the publishing process is complex, the workload of the operators is large, the publishing time is long, and the publishing efficiency is low.
Disclosure of Invention
In view of this, the embodiment of the present invention provides a method for publishing new media content, so as to solve the problems of large workload and low efficiency due to the need of manually publishing new media content in the new media operation process.
The embodiment of the invention also provides a device for publishing the new media content, which is used for ensuring the actual realization and application of the method.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a method of publishing new media content, comprising:
responding to the issuing operation of a user on new media content, and determining a plurality of platform accounts corresponding to the user;
determining each release account corresponding to the new media content in the platform accounts;
determining account information, a new media platform and a release strategy corresponding to each release account;
generating a login request corresponding to each issuing account based on the account information corresponding to each issuing account;
and for each issuing account, logging in a new media platform corresponding to the issuing account based on a login request corresponding to the issuing account and a preset headless browser, issuing the new media content in the new media platform according to a issuing strategy corresponding to the issuing account, and completing the issuing process corresponding to the issuing account.
Optionally, the determining the plurality of platform accounts corresponding to the user in the above method includes:
determining a plurality of login information corresponding to the user;
determining a login account corresponding to each login information, and determining the login account corresponding to each login information as the platform account.
Optionally, in the method, determining, in the multiple platform accounts, each publishing account corresponding to the new media content includes:
prompting the user to select a target platform account needing to release the new media content from the plurality of platform accounts;
when a trigger instruction that the user selects the target platform account from the platform accounts is received, determining each target platform account selected by the user, and determining each target platform account selected by the user as each release account.
Optionally, in the method, the generating a login request corresponding to each release account based on the account information corresponding to each release account includes:
for each issuing account, acquiring identity verification information contained in account information corresponding to the issuing account, and taking the identity verification information as verification information corresponding to the issuing account;
determining a preset request message corresponding to each issuing account;
for each issuing account, determining a target attribute in a preset request message corresponding to the issuing account, configuring the target attribute based on verification information corresponding to the issuing account to obtain a configured preset request message, and taking the configured preset request message as a login request message of the issuing account;
and generating a login request corresponding to each issuing account according to the login request message corresponding to each issuing account.
Optionally, in the method, the publishing the new media content in the new media platform according to the publishing policy corresponding to the publishing account includes:
determining a content import path and a release path contained in a release strategy corresponding to the release account;
triggering a content import control in the new media platform according to the content import path, and importing the new media content;
and after the new media content is imported, triggering a publishing control in the new media platform according to the publishing path so as to submit a publishing request of the new media content to the new media platform.
The above method, optionally, further includes:
after the release process corresponding to each release account is completed, determining a release result corresponding to each release account;
determining whether each issuing account successfully issues the new media content according to the issuing result corresponding to each issuing account, and taking the issuing account which determines that the new media content is successfully issued as a first issuing account;
and storing each first issuing account.
The above method, optionally, further includes:
when a preset counting time point is triggered, account information and a new media platform corresponding to each platform account are determined;
accessing an account page corresponding to each platform account and acquiring page data corresponding to each account page according to the account information corresponding to each platform account and the new media platform;
determining flow information corresponding to each platform account based on page data corresponding to each account page;
and storing the flow information corresponding to each platform account.
An apparatus for publishing new media content, comprising:
the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for responding to the issuing operation of a user on new media content and determining a plurality of platform accounts corresponding to the user;
a second determining unit, configured to determine, in the multiple platform accounts, each publishing account corresponding to the new media content;
a third determining unit, configured to determine account information, a new media platform, and a publishing policy corresponding to each publishing account;
the generating unit is used for generating a login request corresponding to each issuing account based on the account information corresponding to each issuing account;
and the release unit is used for logging in a new media platform corresponding to the release account on the basis of the login request corresponding to the release account and a preset headless browser for each release account, releasing the new media content in the new media platform according to the release strategy corresponding to the release account, and completing the release process corresponding to the release account.
A storage medium comprising stored instructions, wherein the instructions, when executed, control a device on which the storage medium resides to perform a method of distribution of new media content as described above.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform a method of publishing new media content as described above.
Based on the above method for publishing new media content provided by the embodiment of the present invention, the method includes: responding to the issuing operation of a user on new media content, and determining a plurality of platform accounts corresponding to the user; determining each release account corresponding to the new media content in the platform accounts; determining account information, a new media platform and a release strategy corresponding to each release account; generating a login request corresponding to each issuing account based on the account information corresponding to each issuing account; and for each issuing account, logging in a new media platform corresponding to the issuing account based on a login request corresponding to the issuing account and a preset headless browser, issuing the new media content in the new media platform according to a issuing strategy corresponding to the issuing account, and completing the issuing process corresponding to the issuing account. By applying the method provided by the embodiment of the invention, when a user needs to publish new media content, the content can be published in each new media platform by each publishing account only by one-time publishing operation on the new media content, and automatic batch publishing can be realized. And each account is not required to be manually logged in one by one to release the content, so that the workload of operators can be reduced, and the human resources are saved. Secondly, the time consumption of the release process is short, and the release efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for publishing new media content according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for publishing new media content according to an embodiment of the present invention;
fig. 3 is a flowchart of another method of publishing new media content according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for publishing new media content according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for publishing new media content according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As can be seen from the background art, in the process of operating a new media, a large number of new media platforms are usually involved, a large number of accounts are registered for each platform, operators need to log in accounts one by one to issue content, and thus, the workload of maintaining account data is large, the time consumption is long, and the work efficiency is low.
Therefore, the embodiment of the invention provides a method for releasing new media contents, which can automatically release the new media contents in batches in a plurality of accounts of a plurality of platforms without requiring operators to log in and release the new media contents one by one, thereby reducing the workload of the operators and improving the release efficiency.
The embodiment of the invention provides a method for publishing new media content, which can be applied to a publishing system of new media content, wherein an execution subject of the method can be a server of the system, and a flow chart of the method is shown in fig. 1 and comprises the following steps:
s101: responding to the issuing operation of a user on new media content, and determining a plurality of platform accounts corresponding to the user;
in the method provided by the embodiment of the present invention, the new media content refers to content data that needs to be published in the new media platform, and the content may be data of types such as text, audio, video, and picture, which may include one or more types of data. The user can enter new media content to be published through a front-end interface of the publishing system, such as inputting text content to be published, uploading a distribution picture or video and the like. The front-end interface of the system can log in the system interface presented by the system through a browser of the personal computer. After the user inputs new media content at the front end, the user can execute publishing operation on the input new media content by triggering the submission control in the front end interface.
The server of the issuing system responds to issuing operation of a user, and can determine a plurality of platform accounts corresponding to the user based on pre-stored account information through a user ID corresponding to the user.
S102: determining each release account corresponding to the new media content in the platform accounts;
in the method provided by the embodiment of the invention, each issuing account needing to issue the new media content currently can be determined in a plurality of platforms corresponding to the user. Specifically, the user may select the release account in real time, or may preset the release account.
S103: determining account information, a new media platform and a release strategy corresponding to each release account;
in the method provided by the embodiment of the invention, account information, a new media platform and a release strategy corresponding to each platform account are pre-recorded in the server. The account information, the new media platform and the release strategy corresponding to each release account can be obtained from the pre-recorded information. The account information corresponding to the issuing account may include an account ID and cookie information acquired in advance, and the like. The new media platform corresponding to the release account refers to a new media platform to which the release account belongs. The publishing policy corresponding to the publishing account refers to a policy for publishing new media content in a new media platform corresponding to the publishing account, that is, an operation to be executed for publishing the new media content in the new media content corresponding to the publishing account.
S104: generating a login request corresponding to each issuing account based on the account information corresponding to each issuing account;
in the method provided by the embodiment of the invention, a login request for logging in a new media platform corresponding to each release account is generated according to the account information corresponding to each release account. Specifically, the corresponding login request may be generated through cookie information in the account information. cookie information is data stored on the user's local terminal for Session tracking by the platform in order to identify the user's identity, and many platforms rely on cookie information for authentication.
S105: and for each issuing account, logging in a new media platform corresponding to the issuing account based on a login request corresponding to the issuing account and a preset headless browser, issuing the new media content in the new media platform according to a issuing strategy corresponding to the issuing account, and completing the issuing process corresponding to the issuing account.
In the method provided by the embodiment of the invention, each new media platform can be accessed through the headless browser and the corresponding publishing account is logged in for content publishing. Headless browsers refer to browsers without a graphical user interface. Specifically, for each issued account, a headless browser may be called, a platform address of the headless browser corresponding to the new media platform is opened, and a login request of the account is submitted to the new media platform to log in. And after logging in, executing corresponding operation in a platform interface of the new media platform in the headless browser according to the corresponding publishing strategy, and publishing the new media content by the publishing account. In the actual processing process, each issuing account can be traversed, the issuing process corresponding to each issuing account is performed one by one, and batch issuing of new media contents in each issuing account is achieved.
Based on the method provided by the embodiment of the invention, after the user performs corresponding publishing operation on the new media content, the system can be triggered to determine a plurality of platform accounts corresponding to the user, and then each publishing account corresponding to the new media content is determined. According to the account information corresponding to each issuing account, a login request corresponding to each issuing account can be generated, a new media platform corresponding to each issuing account can be logged in through the headless browser based on the login request of each issuing account, and the content is issued in the new media platform corresponding to each issuing account according to the issuing strategy corresponding to each issuing account. By applying the method provided by the embodiment of the invention, after the user issues the new media content once, the corresponding new media content can be issued in batch in a plurality of new media platforms and a plurality of account numbers. The new media content is issued one by one without the need of logging in each account one by the staff, so that the workload of the staff can be reduced, and the manpower resource is saved. Secondly, the automatic batch publishing process consumes less time and can improve the publishing efficiency.
Further, on the basis of the method provided by the foregoing embodiment, an embodiment of the present invention provides another method for publishing new media content, where the process of determining a plurality of platform accounts corresponding to the user in step S101 includes:
determining a plurality of login information corresponding to the user;
in the method provided by the embodiment of the invention, a server of the publishing system stores a plurality of login information corresponding to each system user in advance, and each login information corresponding to the system user is the login information acquired when the system user logs in a certain account in a new media platform through a browser. By matching the user ID of the user in the pre-stored information, a plurality of login information corresponding to the user ID can be obtained, so that a plurality of login information corresponding to the user can be obtained.
In the implementation process of the method provided by the embodiment of the invention, a browser plug-in can be developed, for example, for a Google browser (Google Chrome), the Google browser plug-in is developed. Before a system user publishes new media content through a publishing system for the first time, each new media platform required by operation can be accessed through a browser, and each operation account corresponding to the new media platform is logged in each new media platform. Based on the preset browser plug-in, when a system user accesses a login page of a corresponding new media platform to perform login operations such as code scanning login or password login, the plug-in can acquire the account ID of the current login account and cookie information and other contents, and the acquired information can be stored in a database as login information corresponding to the system user through a preset interface.
It should be noted that a user of the system logs in a corresponding operation account in a corresponding new media platform through a browser, so that the system only needs to store corresponding login information, and does not need to log in before issuing new media content every time, and after the user logs in for the first time, the user does not need to log in the new media platform again when issuing new media content every time subsequently.
Determining a login account corresponding to each login information, and determining the login account corresponding to each login information as the platform account.
In the method provided by the embodiment of the invention, the login account in each login information can be acquired, namely, a user logs in a certain login account of a certain new media platform before the login account. And taking the login account contained in each login information as a platform account. Each platform account corresponding to the user is each account which the user has logged in each new media platform.
According to the method provided by the embodiment of the invention, each platform account corresponding to the current user can be determined through the pre-recorded information, the process is convenient and quick, and the processing efficiency can be further improved.
Further, on the basis of the method shown in fig. 1, an embodiment of the present invention provides another method for publishing new media content, where the step S102 includes a process of determining, in the platform accounts, each publishing account corresponding to the new media content, and the process includes:
prompting the user to select a target platform account needing to release the new media content from the plurality of platform accounts;
in the method provided by the embodiment of the invention, the account list of the user name of each platform account can be displayed to the user in the front-end interface, so as to prompt the user to select the target platform account which needs to release the recorded new media content currently in the account list containing each platform account corresponding to the user. The user can select a target platform account by checking platform accounts in the account list. After the user selects the account, the user can determine to publish the entered new media content with the selected account by clicking the control.
It should be noted that, in a specific application process, a user may select multiple target platform accounts or only one target platform account, and the number of the target platform accounts selected by the user does not affect the implementation function of the method provided in the embodiment of the present invention.
When a trigger instruction that the user selects the target platform account from the platform accounts is received, determining each target platform account selected by the user, and determining each target platform account selected by the user as each release account.
In the method provided by the embodiment of the invention, the front end responds to the selection operation of the user, can generate a corresponding trigger instruction based on the information such as the account ID of each target platform account selected by the user, calls the rear end interface and sends the information to the server. When the server receives the trigger instruction, each target platform account selected by the user from the plurality of platform accounts can be determined according to the content of the trigger instruction, and each target platform account selected by the user is determined as each release account corresponding to the new media content.
Based on the method provided by the embodiment of the invention, the user can be prompted to select the account number which needs to release the new media content currently, and the account number selected by the user is taken as the current release account number. The method is beneficial for the user to select the account needing to release the current new media content in real time according to the actual operation requirement, and further improves the use experience of the user.
In order to better describe the method provided by the embodiment of the present invention, an embodiment of the present invention provides another method for publishing new media content, and on the basis of the method shown in fig. 1, in the method provided by the embodiment of the present invention, the process of generating a login request corresponding to each publishing account based on the account information corresponding to each publishing account, which is mentioned in step S104, includes:
for each issuing account, acquiring identity verification information contained in account information corresponding to the issuing account, and taking the identity verification information as verification information corresponding to the issuing account;
in the method provided by the embodiment of the invention, the identity verification information corresponding to the issuing account can be acquired from the account information corresponding to the issuing account, and the identity verification information is used as the verification information corresponding to the issuing account. The authentication information may be cookie information of the account login corresponding to the authentication information, and is information that is pre-recorded when the user logs in the account and can be used for authentication.
Determining a preset request message corresponding to each issuing account;
in the method provided by the embodiment of the invention, the preset request message corresponding to the new media platform can be set according to the message format of the authentication request adopted in the authentication process of the new media platform. And acquiring a preset request message corresponding to the new media platform corresponding to each release account on the basis of the new media platform corresponding to each release account, and taking the preset request message as the preset request message corresponding to the release account.
For each issuing account, determining a target attribute in a preset request message corresponding to the issuing account, configuring the target attribute based on verification information corresponding to the issuing account to obtain a configured preset request message, and taking the configured preset request message as a login request message of the issuing account;
in the method provided by the embodiment of the invention, in the preset request message corresponding to the issued account, a certain message attribute is applied to the verification information of the account requesting for login. In the preset request message corresponding to each issuing account, a corresponding target attribute, that is, an attribute of the authentication information of the account which should be configured to request login, may be determined, and the target attribute may be configured according to the authentication information corresponding to the issuing account.
In an actual application scenario, the verification information is usually pre-recorded cookie information, and the verification information of the account is usually configured at the Header (Header) of the message, so that the process may be to transmit the cookie information corresponding to the issuing account into the Header of a preset request message, and use the configured message as a login request message of the issuing account.
And generating a login request corresponding to each issuing account according to the login request message corresponding to each issuing account.
In the method provided by the embodiment of the invention, for each issued account, the corresponding login request is generated based on the corresponding login request message. And issuing a request message of a login request corresponding to the account, namely a login request message corresponding to the account.
Based on the method provided by the embodiment of the invention, the preset request message can be configured based on the verification information of the issued account number to obtain the login request message corresponding to the issued account number, the processing process is more convenient and rapid, and the processing efficiency can be further improved.
Further, on the basis of the method shown in fig. 1, an embodiment of the present invention provides another new media content publishing method, where the process of publishing the new media content in the new media platform according to the publishing policy corresponding to the publishing account in step S105 includes:
determining a content import path and a release path contained in a release strategy corresponding to the release account;
in the method provided by the embodiment of the invention, the release strategy corresponding to the release account number comprises a preset content import path and a preset release path. The content import path includes trigger nodes that publish the new media content in their corresponding new media platforms. And the publishing path comprises each trigger node for publishing the recorded new media content in the corresponding new media platform. For example, the new media content to be published currently includes a document and a video to be published, and the content import path may include trigger nodes such as triggering a text box in a content publishing interface of the corresponding new media platform, triggering a video uploading control in the content publishing interface, and selecting a video.
Triggering a content import control in the new media platform according to the content import path, and importing the new media content;
in the method provided by the embodiment of the present invention, a content import control in a content publishing interface of a new media platform, such as a text input box, a video uploading control, an audio uploading control, or a picture uploading control, may be triggered according to each trigger node in the content import path. And after triggering the corresponding content import control, selecting corresponding data in the new media content for importing. Specifically, when the server receives new media content entered by the user, the new media content may be stored in the database, and when the content is imported, corresponding data may be searched and imported through the stored data identifier.
It should be noted that, in a specific implementation process, the new media content may include different types of content data, such as documents and videos, and therefore, there may be a plurality of content import controls that need to be triggered in the publishing process. It should be noted that the number and type of the controls to be triggered do not affect the implementation function of the method provided by the embodiment of the present invention.
And after the new media content is imported, triggering a publishing control in the new media platform according to the publishing path so as to submit a publishing request of the new media content to the new media platform.
In the method provided by the embodiment of the invention, after each item of content data in the new media content to be released is introduced into the content releasing interface of the new media platform, the corresponding releasing control can be triggered according to the releasing path, and the new media platform responds to the triggering operation and sends the corresponding releasing request to the platform server.
Based on the method provided by the embodiment of the invention, the control can be sequentially triggered according to the preset content import path and the preset content release path, and the release of the new media content is realized in the content release interface of the new media platform.
To better explain the method provided by the embodiment of the present invention, on the basis of the method shown in fig. 1, in combination with the flowchart shown in fig. 2, the method provided by the embodiment of the present invention further includes:
s106: determining a release result corresponding to each release account;
in the method provided by the embodiment of the present invention, after the release process corresponding to each release account is completed, the release result corresponding to each release account can be determined according to the response of the corresponding new media platform. For each issuing account, if the platform responds to the platform response of the issuing request submitted by the issuing account, the representation is successfully issued, the issuing result corresponding to the issuing account is successful, otherwise, the issuing is failed.
S107: determining whether each issuing account successfully issues the new media content according to the issuing result corresponding to each issuing account, and taking the issuing account which determines that the new media content is successfully issued as a first issuing account;
in the method provided by the embodiment of the invention, whether each issuing account is an account which has successfully issued new media content is judged according to the issuing result corresponding to each issuing account, and if the issuing account is an account which has successfully issued new media content, the issuing account is used as a first issuing account.
S108: and storing each first issuing account.
In the method provided by the embodiment of the invention, each first issued account can be stored in the database to obtain the list of the successfully submitted accounts. The method can directly feed back each issuing account of the successfully issued content to the user through the front end of the issuing system, and can also feed back each issuing account of the successfully issued content to the user when the user inquires about the issuing condition.
Based on the method provided by the embodiment of the invention, the account information which is successfully issued can be further counted, and the user can obtain the account list of the successfully issued content, so that the operation management of the user is facilitated, and the service experience of the user can be further improved.
Further, with reference to the flowchart shown in fig. 3, an embodiment of the present invention provides another method for publishing new media content, where on the basis of the method shown in fig. 1, the method provided in the embodiment of the present invention further includes:
s201: when a preset counting time point is triggered, account information and a new media platform corresponding to each platform account are determined;
in the method provided by the embodiment of the invention, the server of the release system can regularly inquire the flow information of each platform account corresponding to the user, such as browsing amount, fan amount and the like.
When the preset statistical time point is reached, the server can acquire account information corresponding to each platform account corresponding to the user and a new media platform corresponding to each platform account.
S202: accessing an account page corresponding to each platform account and acquiring page data corresponding to each account page according to the account information corresponding to each platform account and the new media platform;
in the method provided by the embodiment of the invention, for each platform account, the corresponding account page can be accessed in the corresponding new media platform through the corresponding account information. Specifically, the account homepage may be accessed only through information of the account name of the platform account, or the personal homepage may be accessed through information such as cookie of the platform account by logging in the account, which may be determined by data content that needs to be actually acquired. After an account page corresponding to each platform account is opened, page data in the account page can be acquired.
S203: determining flow information corresponding to each platform account based on page data corresponding to each account page;
in the method provided by the embodiment of the invention, the data extraction can be performed on the page data corresponding to each account page, and the element data related to the flow effect in the page, such as the browsing amount, the vermicelli amount, the praise amount and the like displayed in the page, can be captured, so as to obtain the flow information corresponding to each platform account.
S204: and storing the flow information corresponding to each platform account.
In the method provided by the embodiment of the invention, the flow information corresponding to each platform account can be stored in the database. When a user queries the flow information corresponding to a certain platform account or all platform accounts through the front end of the release system, the corresponding flow information can be obtained from the database and fed back to the user.
It should be noted that the embodiment of the present invention is only a specific embodiment provided for describing the timing acquisition of the account traffic information of a certain user, and in a specific implementation process, a server of the publishing system may periodically query the traffic information of each platform account corresponding to all system users, store the traffic information, and update the traffic information stored in the database. The process of acquiring traffic information of each system user is the same as the above process, and reference is made to the above description.
Based on the method provided by the embodiment of the invention, the flow information of each platform account can be obtained at regular time, and the user can obtain the flow information of each platform account through the release system without self-login query, so that great convenience can be provided for the new media operation process of the user, and the service experience of the user is further improved.
Corresponding to the method for publishing new media content shown in fig. 1, an embodiment of the present invention further provides a device for publishing new media content, which is used to implement the method shown in fig. 1 specifically, and a schematic structural diagram of the device is shown in fig. 4, and includes:
a first determining unit 301, configured to determine, in response to a user issuing a new media content, a plurality of platform accounts corresponding to the user;
a second determining unit 302, configured to determine, in the multiple platform accounts, each publishing account corresponding to the new media content;
a third determining unit 303, configured to determine account information, a new media platform, and a publishing policy corresponding to each publishing account;
a generating unit 304, configured to generate a login request corresponding to each release account based on the account information corresponding to each release account;
the publishing unit 305 is configured to log in a new media platform corresponding to each publishing account based on a login request corresponding to the publishing account and a preset headless browser, and publish the new media content in the new media platform according to a publishing policy corresponding to the publishing account, so as to complete a publishing process corresponding to the publishing account.
On the basis of the apparatus shown in fig. 4, in the apparatus provided in the embodiment of the present invention, the first determining unit 301 includes:
the first determining subunit is used for determining a plurality of login information corresponding to the user;
and the second determining subunit is used for determining a login account corresponding to each login information and determining the login account corresponding to each login information as the platform account.
In the apparatus shown in fig. 4, in the apparatus provided in the embodiment of the present invention, the second determining unit 302 includes:
a prompting subunit, configured to prompt the user to select, from the multiple platform accounts, a target platform account to which the new media content needs to be issued;
a third determining subunit, configured to determine, when a trigger instruction that the user selects the target platform account from the multiple platform accounts is received, each target platform account selected by the user, and determine each target platform account selected by the user as the each release account.
On the basis of the apparatus shown in fig. 4, in the apparatus provided in the embodiment of the present invention, the generating unit 304 includes:
the acquiring subunit is configured to acquire, for each release account, identity verification information included in account information corresponding to the release account, and use the identity verification information as verification information corresponding to the release account;
a fourth determining subunit, configured to determine a preset request packet corresponding to each release account;
a configuration subunit, configured to, for each release account, determine a target attribute in a preset request message corresponding to the release account, configure the target attribute based on verification information corresponding to the release account, to obtain a configured preset request message, and use the configured preset request message as a login request message for the release account;
and the generating subunit is configured to generate a login request corresponding to each release account according to the login request message corresponding to each release account.
On the basis of the apparatus shown in fig. 4, in the apparatus provided in the embodiment of the present invention, the issuing unit 305 includes:
a fifth determining subunit, configured to determine a content import path and a release path included in a release policy corresponding to the release account;
the importing subunit is used for triggering a content importing control in the new media platform according to the content importing path and importing the new media content;
and the submitting subunit is used for triggering the publishing control in the new media platform according to the publishing path after the new media content is imported so as to submit the publishing request of the new media content to the new media platform.
With reference to the schematic structural diagram shown in fig. 5, an embodiment of the present invention provides another new media content publishing device, and on the basis of the device shown in fig. 4, the device provided in the embodiment of the present invention further includes:
a fourth determining unit 306, configured to determine, after the issuing process corresponding to each issuing account is completed, an issuing result corresponding to each issuing account;
a fifth determining unit 307, configured to determine, according to a distribution result corresponding to each distribution account, whether each distribution account successfully distributes the new media content, and use a distribution account that determines that the new media content has been successfully distributed as the first distribution account;
a storage unit 308, configured to store each first release account.
On the basis of the apparatus shown in fig. 4, the apparatus provided in the embodiment of the present invention further includes:
a sixth determining unit, configured to determine account information and a new media platform corresponding to each platform account when a preset statistical time point is triggered;
the acquisition unit is used for accessing an account page corresponding to each platform account and acquiring page data corresponding to each account page according to the account information corresponding to each platform account and the new media platform;
a seventh determining unit, configured to determine, based on page data corresponding to each account page, traffic information corresponding to each platform account; and storing the flow information corresponding to each platform account.
The embodiment of the present invention further provides a storage medium, where the storage medium includes stored instructions, where when the instructions are executed, a device in which the storage medium is located is controlled to execute the method for issuing the new media content.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 6, which specifically includes a memory 401 and one or more instructions 402, where the one or more instructions 402 are stored in the memory 401 and configured to be executed by one or more processors 403 to perform the following operations for executing the one or more instructions 402:
responding to the issuing operation of a user on new media content, and determining a plurality of platform accounts corresponding to the user;
determining each release account corresponding to the new media content in the platform accounts;
determining account information, a new media platform and a release strategy corresponding to each release account;
generating a login request corresponding to each issuing account based on the account information corresponding to each issuing account;
and for each issuing account, logging in a new media platform corresponding to the issuing account based on a login request corresponding to the issuing account and a preset headless browser, issuing the new media content in the new media platform according to a issuing strategy corresponding to the issuing account, and completing the issuing process corresponding to the issuing account.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
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 invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. 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 invention. Thus, the present invention 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 method for publishing new media content, comprising:
responding to the issuing operation of a user on new media content, and determining a plurality of platform accounts corresponding to the user;
determining each release account corresponding to the new media content in the platform accounts;
determining account information, a new media platform and a release strategy corresponding to each release account;
generating a login request corresponding to each issuing account based on the account information corresponding to each issuing account;
and for each issuing account, logging in a new media platform corresponding to the issuing account based on a login request corresponding to the issuing account and a preset headless browser, issuing the new media content in the new media platform according to a issuing strategy corresponding to the issuing account, and completing the issuing process corresponding to the issuing account.
2. The method of claim 1, wherein the determining the plurality of platform accounts corresponding to the user comprises:
determining a plurality of login information corresponding to the user;
determining a login account corresponding to each login information, and determining the login account corresponding to each login information as the platform account.
3. The method of claim 1, wherein the determining, among the plurality of platform accounts, each publishing account corresponding to the new media content comprises:
prompting the user to select a target platform account needing to release the new media content from the plurality of platform accounts;
when a trigger instruction that the user selects the target platform account from the platform accounts is received, determining each target platform account selected by the user, and determining each target platform account selected by the user as each release account.
4. The method according to claim 1, wherein the generating a login request corresponding to each of the issuing accounts based on the account information corresponding to each of the issuing accounts comprises:
for each issuing account, acquiring identity verification information contained in account information corresponding to the issuing account, and taking the identity verification information as verification information corresponding to the issuing account;
determining a preset request message corresponding to each issuing account;
for each issuing account, determining a target attribute in a preset request message corresponding to the issuing account, configuring the target attribute based on verification information corresponding to the issuing account to obtain a configured preset request message, and taking the configured preset request message as a login request message of the issuing account;
and generating a login request corresponding to each issuing account according to the login request message corresponding to each issuing account.
5. The method according to claim 1, wherein publishing the new media content in the new media platform according to the publishing policy corresponding to the publishing account includes:
determining a content import path and a release path contained in a release strategy corresponding to the release account;
triggering a content import control in the new media platform according to the content import path, and importing the new media content;
and after the new media content is imported, triggering a publishing control in the new media platform according to the publishing path so as to submit a publishing request of the new media content to the new media platform.
6. The method of claim 1, further comprising:
after the release process corresponding to each release account is completed, determining a release result corresponding to each release account;
determining whether each issuing account successfully issues the new media content according to the issuing result corresponding to each issuing account, and taking the issuing account which determines that the new media content is successfully issued as a first issuing account;
and storing each first issuing account.
7. The method of claim 1, further comprising:
when a preset counting time point is triggered, account information and a new media platform corresponding to each platform account are determined;
accessing an account page corresponding to each platform account and acquiring page data corresponding to each account page according to the account information corresponding to each platform account and the new media platform;
determining flow information corresponding to each platform account based on page data corresponding to each account page;
and storing the flow information corresponding to each platform account.
8. An apparatus for distributing new media content, comprising:
the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for responding to the issuing operation of a user on new media content and determining a plurality of platform accounts corresponding to the user;
a second determining unit, configured to determine, in the multiple platform accounts, each publishing account corresponding to the new media content;
a third determining unit, configured to determine account information, a new media platform, and a publishing policy corresponding to each publishing account;
the generating unit is used for generating a login request corresponding to each issuing account based on the account information corresponding to each issuing account;
and the release unit is used for logging in a new media platform corresponding to the release account on the basis of the login request corresponding to the release account and a preset headless browser for each release account, releasing the new media content in the new media platform according to the release strategy corresponding to the release account, and completing the release process corresponding to the release account.
9. A storage medium comprising stored instructions, wherein the instructions, when executed, control a device on which the storage medium resides to perform a method of publishing new media content as claimed in any one of claims 1 to 7.
10. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the method of publishing new media content as recited in any of claims 1-7.
CN202111337847.5A 2021-11-11 2021-11-11 Method and device for publishing new media content, storage medium and electronic equipment Active CN114124490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111337847.5A CN114124490B (en) 2021-11-11 2021-11-11 Method and device for publishing new media content, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111337847.5A CN114124490B (en) 2021-11-11 2021-11-11 Method and device for publishing new media content, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114124490A true CN114124490A (en) 2022-03-01
CN114124490B CN114124490B (en) 2023-11-24

Family

ID=80378713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111337847.5A Active CN114124490B (en) 2021-11-11 2021-11-11 Method and device for publishing new media content, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114124490B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334338A (en) * 2022-08-12 2022-11-11 灯塔财经信息有限公司 Multi-platform information publishing method and device
CN116226575A (en) * 2023-02-23 2023-06-06 北京麦克斯泰科技有限公司 Media account management method and system based on automation
WO2024036921A1 (en) * 2022-08-19 2024-02-22 华为云计算技术有限公司 Object processing method and apparatus, and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2540098A1 (en) * 2003-09-24 2005-03-31 Magian Design Studio Pty Ltd Method and system for management and publication of media assets in a distributed network
US20120226818A1 (en) * 2011-03-02 2012-09-06 Microsoft Corporation Publishable Metadata for Content Management and Component Testing
CN103107993A (en) * 2013-02-06 2013-05-15 北京荣之联科技股份有限公司 Desktop memo system with microblog-releasing function and microblog-releasing method of desktop memo system
US20160110083A1 (en) * 2014-10-15 2016-04-21 KBR IP Holdings, LLC Limiting visibility into user social media data based on user attributes
CN108259318A (en) * 2017-12-22 2018-07-06 北京智慧星光信息技术有限公司 A kind of information issuing method and device
CN109670135A (en) * 2018-12-28 2019-04-23 北京金山安全软件有限公司 Multi-platform article publishing method and device and electronic equipment
CN111639291A (en) * 2020-05-29 2020-09-08 腾讯科技(武汉)有限公司 Content distribution method, content distribution device, electronic equipment and storage medium
CN111885399A (en) * 2020-06-29 2020-11-03 腾讯科技(武汉)有限公司 Content distribution method, content distribution device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2540098A1 (en) * 2003-09-24 2005-03-31 Magian Design Studio Pty Ltd Method and system for management and publication of media assets in a distributed network
US20120226818A1 (en) * 2011-03-02 2012-09-06 Microsoft Corporation Publishable Metadata for Content Management and Component Testing
CN103107993A (en) * 2013-02-06 2013-05-15 北京荣之联科技股份有限公司 Desktop memo system with microblog-releasing function and microblog-releasing method of desktop memo system
US20160110083A1 (en) * 2014-10-15 2016-04-21 KBR IP Holdings, LLC Limiting visibility into user social media data based on user attributes
CN108259318A (en) * 2017-12-22 2018-07-06 北京智慧星光信息技术有限公司 A kind of information issuing method and device
CN109670135A (en) * 2018-12-28 2019-04-23 北京金山安全软件有限公司 Multi-platform article publishing method and device and electronic equipment
CN111639291A (en) * 2020-05-29 2020-09-08 腾讯科技(武汉)有限公司 Content distribution method, content distribution device, electronic equipment and storage medium
CN111885399A (en) * 2020-06-29 2020-11-03 腾讯科技(武汉)有限公司 Content distribution method, content distribution device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334338A (en) * 2022-08-12 2022-11-11 灯塔财经信息有限公司 Multi-platform information publishing method and device
CN115334338B (en) * 2022-08-12 2024-04-05 灯塔科技有限公司 Multi-platform information release method and device
WO2024036921A1 (en) * 2022-08-19 2024-02-22 华为云计算技术有限公司 Object processing method and apparatus, and device
CN116226575A (en) * 2023-02-23 2023-06-06 北京麦克斯泰科技有限公司 Media account management method and system based on automation

Also Published As

Publication number Publication date
CN114124490B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN114124490B (en) Method and device for publishing new media content, storage medium and electronic equipment
CN109587133B (en) Single sign-on system and method
JP7144117B2 (en) Model training system and method and storage medium
CN103023918B (en) The mthods, systems and devices logged in are provided for multiple network services are unified
US10839038B2 (en) Generating configuration information for obtaining web resources
US10637676B2 (en) Method, apparatus, and system for managing follower accounts in groups
US9485244B2 (en) Executing an operation over file repositories located in different authentication domains using a representational state transfer (REST)-compliant client
US20170149835A1 (en) Systems and Methods for In-Session Refresh of Entitlements Associated with Web Applications
CN106878043B (en) Service processing method and device
CN107800746B (en) Message pushing method and device
CN102413151A (en) Network resource sharing method and system
US10277663B1 (en) Management of asynchronous media file transmissions
CN104836782B (en) Server, client and data access method and system
US9876776B2 (en) Methods for generating and publishing a web site based on selected items and devices thereof
CN109669718A (en) System permission configuration method, device, equipment and storage medium
CN109726545B (en) Information display method, equipment, computer readable storage medium and device
CN104639546A (en) Multi-biometric feature comprehensive authentication method, device and system
CN113556695B (en) Information interaction method and information interaction system based on 5G message
CN111294288A (en) Traffic identification method and device, application program interface gateway and storage medium
CN105184559B (en) A kind of payment system and method
CN108520401B (en) User list management method, device, platform and storage medium
CN114520830A (en) Message pushing method, device and system
CN104731660A (en) Data distribution method, device and system
US20220239638A1 (en) Method and device for registration and login, and computer-readable storage medium
CN111400027A (en) Distributed task processing method, device and system

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