Video release script generation method and device, video release method and device, storage medium and program product
By monitoring and recording users' video publishing operations on the video playback platform, generating video publishing scripts, and automatically completing publishing operations with the server, the existing video publishing methods are solved, and an efficient and automated video publishing process is achieved.
Patent Information
- Application Number
- CN202411977813.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-15
AI Technical Summary
The existing video publishing methods rely too much on manual operations, requiring users to open multiple video platforms and perform publishing operations separately, which is inefficient.
By monitoring users' video publishing operations on the video playback platform, a video publishing script is generated, and the server automatically completes the video publishing operations based on the script.
It realizes efficient automation of video release, reduces the time and energy of users' manual operation, and improves the efficiency of video release.
Smart Images

Figure CN119835462A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of video publishing, and in particular to a method, device, storage medium and program product for generating a video publishing script and publishing a video. Background Art
[0002] In today's era of digitalization and highly developed Internet, the creation and distribution of video content has become an important means for users to promote products and transmit information. With the diversification of video platforms and the increasing demand for videos from users, how to efficiently publish video content to multiple video platforms has become a challenge for content creators. The existing video publishing method relies too much on manual operations, requiring users to open multiple video platforms separately and perform video publishing operations on multiple video platforms. Obviously, this video publishing method is inefficient. Summary of the invention
[0003] Multiple aspects of the present application provide a video publishing script generation and video publishing method, device, storage medium and program product for more efficiently publishing videos.
[0004] An embodiment of the present application provides a method for generating a video publishing script, which is applicable to a first terminal device. The method includes: monitoring multiple video publishing operations initiated by a first user on at least one page of each video playback platform to obtain target elements of each of the multiple video publishing operations and location information of the target elements on the page to which they belong; generating multiple operation nodes according to the operation sequence of the multiple video publishing operations, the multiple video publishing operations and the target elements of their operations, and the location information of the target elements on the page to which they belong, and the multiple operation nodes form a target operation sequence; generating a video publishing script for each video playback platform according to the target operation sequence, and uploading the video publishing script to a server.
[0005] Optionally, the target elements of each of the multiple video publishing operations and the location information of the target elements on the page to which they belong are obtained, including: for any video publishing operation, obtaining the target element of the video publishing operation, and determining multiple candidate positioning expressions of the target element from the local document object model in different position expressions; any candidate positioning expression is used to characterize the position of the target element in the document object model; according to the network fluctuation of the first terminal device and / or the change of the attribute information of the target element, determining the target positioning expression from the multiple candidate positioning expressions; and generating the positioning information of the target element on the page to which it belongs according to the target positioning expression.
[0006] An embodiment of the present application also provides a video publishing method, which is applicable to a second terminal device, and the method includes: responding to a platform selection operation of a second user, selecting at least one target video playback platform from a plurality of video playback platforms; responding to a publishing parameter configuration operation of the second user, obtaining a target video to be published and its corresponding initial publishing parameters; using a parameter recommendation model, determining publishing parameters of historical videos whose similarity with the initial publishing parameters meets preset conditions; adjusting the initial publishing parameters according to the publishing parameters of the historical videos to obtain target publishing parameters corresponding to the target video; sending identification information of the at least one target video playback platform, the target video and its corresponding target publishing parameters to a server, so that the server publishes the target video to the at least one target video playback platform with the target publishing parameters according to a video publishing script of the at least one target video playback platform. Optionally, a parameter recommendation model is used to determine the release parameters of historical videos whose similarity with the initial release parameters meets preset conditions, including: using the parameter recommendation model to extract the first feature vector of the initial release parameters and the second feature vectors of the release parameters of multiple candidate historical videos; based on the similarity between the first feature vector and the second feature vectors of the release parameters of multiple candidate historical videos, selecting the release parameters of the historical video whose similarity with the initial release parameters meets the preset conditions from the release parameters of the multiple candidate historical videos.
[0007] An embodiment of the present application also provides a video publishing method, which is applicable to a server, wherein the server stores video publishing scripts of multiple video playback platforms; the method comprises: obtaining a target video to be published by a second user, target publishing parameters corresponding to the target video, and identification information of at least one target video playback platform; determining a target video playback script of the at least one target video playback platform from the video publishing scripts of the multiple video playback platforms according to the identification information of the at least one target video playback platform; parsing the target video playback script of any target video playback platform to obtain a target operation sequence; the target operation sequence is formed by a plurality of operation nodes, and the plurality of operation nodes are generated according to the operation order of multiple video publishing operations, the multiple video publishing operations and the target elements of their operations, and the position information of the target elements on the pages to which they belong; according to the plurality of operation nodes of the target operation sequence, the multiple video publishing operations are sequentially initiated on at least one page of any one of the target video playback platforms to publish the target video to any one of the target video playback platforms according to the target publishing parameters.
[0008] Optionally, it also includes: obtaining historical account verification information under the login state generated when any user logs in to any video playback platform; loading the historical account verification information under the login state of any video playback platform into the login page of the video playback platform; judging whether the historical account verification information under the login state of any video playback platform is available according to the change of user characteristic information on the login page; if yes, storing the historical account verification information under the login state of any video playback platform locally; if no, sending a reminder message to any user to prompt that the historical account verification information is invalid.
[0009] Optionally, it also includes: querying at least one target account verification information corresponding to the second user and the at least one target video playback platform from multiple historical account verification information stored locally; and loading each target account verification information into the login page of the corresponding target video playback platform to log in to the target video playback platform.
[0010] Optionally, the positioning information of the target element of any video publishing operation on the page to which it belongs is generated based on a target positioning expression among a plurality of candidate positioning expressions of the target element; the method further includes: upon monitoring a platform update of any of the target video playback platforms, a network anomaly and / or a change in the attribute information of the target element, replacing the target positioning expression with other candidate positioning expressions among the plurality of candidate positioning expressions; and updating the positioning information of the target element on the page to which it belongs based on the other candidate positioning expressions.
[0011] Optionally, according to the multiple operation nodes of the target operation sequence, the multiple video publishing operations are initiated in sequence on at least one page in any one of the target video playback platforms, including: executing any one of the operation nodes to select the target element from multiple elements on the page to which the target element belongs according to the updated positioning information of the target element, and performing corresponding video publishing operations on the target object.
[0012] An embodiment of the present application also provides an electronic device, comprising: a memory and a processor; wherein the memory is used to: store one or more computer instructions; the processor is used to execute the one or more computer instructions to: execute the steps in the video publishing method or the video publishing script generation method described in the claims.
[0013] An embodiment of the present application also provides a computer-readable storage medium, which, when the computer program is executed by a processor, enables the processor to implement the steps in the video publishing method or the video publishing script generation method.
[0014] An embodiment of the present application also provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the processor is enabled to implement the steps in the video publishing method or the video publishing script generation method.
[0015] In this embodiment, the first terminal device can generate a video publishing script for each video playback platform and send it to the server according to the operation sequence of multiple video publishing operations initiated by the first user on each video playback platform, the multiple video publishing operations and the target elements of the operations and the location information of the target elements; the second terminal device can send the target video, publishing parameters and at least one target video playback platform identifier of the second user to the server; the server can initiate multiple video publishing operations on at least one page in each target video playback platform in sequence according to the video publishing script of each target video playback platform, so as to publish the target video to each target video playback platform according to the target publishing parameters. In this way, video publishing can be carried out more efficiently based on the video publishing script. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 A schematic diagram of the structure of a video publishing system provided for an exemplary embodiment of the present application;
[0018] Figure 2 A flowchart of a method for generating a video publishing script provided by an exemplary embodiment of the present application;
[0019] Figure 3a A schematic diagram of a video publishing method provided as a flow chart of an exemplary embodiment of the present application;
[0020] Figure 3b A flowchart of another video publishing method provided as an exemplary embodiment of the present application;
[0021] Figure 4 A schematic diagram of the internal interaction flow of a video publishing system in an actual scenario provided by an exemplary embodiment of the present application;
[0022] Figure 5 A schematic diagram of a process flow of a server performing a task provided by an exemplary embodiment of the present application;
[0023] Figure 6 A schematic diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0025] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation portals for users to choose to authorize or refuse. In addition, the various models involved in this application (including but not limited to language models or large models) are in compliance with relevant laws and standards.
[0026] In today's era of digitalization and highly developed Internet, the creation and distribution of video content has become an important means for users to promote products and transmit information. With the diversification of video platforms and the increasing demand for videos from users, how to efficiently publish video content to multiple video platforms has become a challenge for content creators. The existing video publishing method relies too much on manual operations, requiring users to open multiple video platforms separately and perform video publishing operations on multiple video platforms. Obviously, this video publishing method is inefficient.
[0027] In view of the above technical problems, a technical solution is provided in the embodiments of the present application. The technical solutions provided in the embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0028] Figure 1 The video publishing system 10 provided by the exemplary embodiment of the present application is as follows: Figure 1 As shown, the video publishing system 10 may include: a first terminal device 101, a second terminal device 102 and a server 103. The first terminal device 101 may be used for a first user (such as a developer) to record a video publishing script for multiple video playback platforms; the second terminal device 102 may be used for a second user who needs to publish a video to select a video playback platform, upload a target video and determine publishing parameters. The server 103 may be used to publish a video according to the video publishing script. This will be further described below.
[0029] In this embodiment, the first terminal device 101 can monitor multiple video publishing operations initiated by the first user on at least one page of each video playback platform to obtain the target elements of each of the multiple video publishing operations and the location information of the target elements on the page to which they belong. Among them, each page may include multiple page elements, such as buttons, drop-down menus, text boxes, texts or images, etc. The target element refers to the element operated by the video publishing operation among multiple page elements. Among them, the location information of the target element on the page to which it belongs can be used to describe the relative position or the absolute position, which is not limited in this embodiment. Among them, after each video publishing operation, the page can be jumped or the page can be not jumped and the operation can continue on the current page, which depends on the actual page jump logic of the video publishing platform, which is not limited in this embodiment.
[0030] The first terminal device may use a script recording plug-in / tool or a script recording application to monitor multiple video publishing operations initiated by the first user on at least one page of each video playback platform. The script recording plug-in may be Katalon Recorder (a browser plug-in for script recording) or Puppeteer Recorder (a browser plug-in for script recording), etc.
[0031] For example, the first user initiates five video publishing operations on the video playback platform S1, and the combined execution of multiple video publishing operations can be used to complete the video publishing process; the first terminal device 101 can monitor that the target element operated on the first page for the first video publishing operation is button J1 and is located at position D1, the target element operated on the second page for the second video publishing operation is button J2 and is located at position D2, the target element operated on the third page for the third video publishing operation is button J3 and is located at position D3, the target element operated on the third page for the fourth video publishing operation is button J4 and is located at position D4, and the target element operated on the fourth page for the fifth video publishing operation is button J5 and is located at position D5.
[0032] Afterwards, multiple operation nodes may be generated according to the operation sequence of multiple video publishing operations, multiple video publishing operations and target elements of their operations and position information of the target elements on the pages to which they belong. Each operation node may include detailed information of the corresponding video publishing operation, target elements of their operations and position information of the target elements on the pages to which they belong. Multiple operation nodes may form a target operation sequence, that is, the target operation sequence may include multiple operation nodes.
[0033] A video publishing script for each video playback platform is generated according to the target operation sequence, wherein multiple operation nodes of the target operation sequence can be converted into executable codes according to a preset code conversion rule or using a related code conversion model, thereby forming a video publishing script. Afterwards, the video publishing script can be uploaded to the server 103.
[0034] In this way, the first terminal device can more efficiently record video publishing scripts for multiple video playback platforms.
[0035] In some optional embodiments, considering that when the page structure of a page changes for some reason, the location information of the target element on the page to which it belongs may become invalid, therefore, an optional method is provided below to more accurately and reasonably determine the location information, so as to more effectively reduce the impact of the page structure change.
[0036] When obtaining the target elements of multiple video publishing operations and the location information of the target elements on the pages to which they belong, the target elements of the video publishing operations can be obtained for any video publishing operation, and multiple candidate positioning expressions of the target elements can be determined from the local document object model in different position expressions. The Document Object Model (DOM) is a programming interface for HTML (Hyper Text Markup Language) and XML (Extensible Markup Language) documents, which provides a structured representation method and defines the way to access and operate documents.
[0037] Among them, any candidate positioning expression is a syntax for finding and locating a specific element in a web page, which can be used to characterize the position of the target element in the document object model. Since the structure of the web page may change (such as platform update, page layout adjustment, etc.), a single positioning expression may become invalid. Therefore, the system can generate multiple different positioning expressions as candidate solutions for each target element, so that it can flexibly respond to changes in the structure of the web page and ensure that the script can still run normally when the page is updated or the layout is adjusted.
[0038] For example, when determining multiple candidate location expressions of a target element from a local document object model using different location expressions, the location expressions may include the following:
[0039] Position expression method 1: determine the position of the target element from the document object model and use CSS (Cascading Style Sheets) selectors to express the position of the target element using CSS expressions. CSS selectors are patterns or rules for locating specific elements in HTML documents.
[0040] Position expression method 2: Use preset tools, such as Chrome DevTools (a developer tool) or Firefox Developer Tools (a developer tool), to express the location of the target element using an XPath (XML Path Language) expression from the document object model. XPath is a language used to locate nodes in HTML or XML documents, and the target element can be selected through a path expression.
[0041] Position expression method 3: Using the preset tools, starting from the root node of the HTML document, accurately specify the path of each level until the target element, accurately specify the path of each level until the target element, and thus obtain a Full-XPath expression to express the position of the target element.
[0042] Afterwards, the target positioning expression may be determined from a plurality of candidate positioning expressions by the following implementation method:
[0043] Implementation method 1: Determine a target positioning expression from multiple candidate positioning expressions according to at least one of the network fluctuation of the first terminal device and the change of the attribute information of the target element. The attribute information may include ID (Identification) and type, etc.
[0044] Among them, different network fluctuations can correspond to different candidate positioning expressions. For example, although the Full-Xpath expression is more accurate, it is easily affected by network fluctuations and becomes invalid. Therefore, the Full-Xpath expression can correspond to the situation where the network fluctuation is small. In contrast, the CSS expression is not easily affected by network fluctuations, so it can correspond to the situation where the network fluctuation is large.
[0045] Among them, different changes in attribute information can correspond to different candidate positioning expressions. For example, although the Full-Xpath expression is more accurate and can ensure uniqueness, its disadvantage is that it depends on the specific layout of the page structure. If the page structure changes, such as some attribute information changes, then the Full-Xpath expression may change. Therefore, the Full-Xpath expression can correspond to the situation where the attribute information has not changed.
[0046] Implementation method 2: In response to the expression selection operation of the first user, a target positioning expression is determined from a plurality of candidate positioning expressions.
[0047] After determining the target positioning expression based on any of the above implementations, the positioning information of the target element on the page to which it belongs can be generated according to the target positioning expression. Among them, the position of each element on the page to which the target element belongs in the document object model can be determined first, and then the positioning information of the target element on the page to which it belongs can be determined according to the position of the target element in the document object model and the position of each element on the page to which the target element belongs in the document object model.
[0048] In this way, a variety of different positioning expressions can be generated as candidate solutions for each target element, making it flexible to cope with changes in the structure of the web page and ensuring that the script can still run normally when the page is updated or the layout is adjusted.
[0049] In this embodiment, the second user can choose which video playback platforms to publish the target video on according to his own needs. Correspondingly, the second terminal device 102 can respond to the second user's platform selection operation and select at least one target video playback platform from multiple video playback platforms.
[0050] Afterwards, the second user can configure the publishing parameters according to his own needs to obtain the initial publishing parameters, including but not limited to the publishing time period, the corresponding video tags, the video title and description text, etc. Correspondingly, in response to the second user's publishing parameter configuration operation, the target video to be published and its corresponding initial publishing parameters can be obtained, and the publishing parameters of the historical video whose similarity with the initial publishing parameters meets the preset conditions can be determined by using the parameter recommendation model; according to the publishing parameters of the historical video, the initial publishing parameters are adjusted to obtain the target publishing parameters corresponding to the target video.
[0051] Based on the above steps, the identification information of at least one target video playback platform, the target video and its corresponding target publishing parameters can be sent to the server, so that the server 103 publishes the target video to at least one target video playback platform according to the video publishing script of at least one target video playback platform with the target publishing parameters.
[0052] In some optional embodiments, when using a parameter recommendation model to determine the release parameters of historical videos whose similarity to the initial release parameters meets the preset conditions, the parameter recommendation model can be used to extract the first feature vector of the initial release parameters and the second feature vector of the release parameters of multiple candidate historical videos. Specifically, the TF-IDF (Term Frequency-Inverse Document Frequency) algorithm can be used to analyze the release parameters to complete feature extraction. For example, the feature vector corresponding to any release parameter can be
[0053] V=(W1,W2,…,W n ,)
[0054] Where V is the feature vector corresponding to any published parameter, W i is the weight of the ith keyword in any release parameter, and n represents the number of keywords in any release parameter.
[0055] Afterwards, the similarity between the first feature vector and the second feature vectors of the release parameters of the plurality of candidate historical videos may be calculated. Taking any two release parameters, release parameter a and release parameter b as an example, the similarity between the two release parameters may be calculated based on the following formula:
[0056] Score(a,b)=cos(V a , V b )=(V a ·V b ) / (|V a |·|V b |)
[0057] Among them, Score(a,b) specifies the similarity between the published parameters a and b, V a is the eigenvector of the published parameter a, V b is the eigenvector of the published parameter b.
[0058] Based on the above steps, according to the similarity between the first feature vector and the second feature vectors of the release parameters of the plurality of candidate historical videos, the release parameters of the historical video whose similarity to the initial release parameters meets the preset conditions can be selected from the release parameters of the plurality of candidate historical videos. Among them, the release parameters of the historical video whose similarity to the initial release parameters is the highest can be selected from the release parameters of the plurality of candidate historical videos.
[0059] In this way, the parameter recommendation model can be used to more accurately determine the release parameters of the historical videos whose similarity with the initial release parameters meets the preset conditions.
[0060] In this embodiment, video publishing scripts of multiple video playback platforms may be stored in the server 103. The server 103 may obtain the target video that the second user needs to publish, the target publishing parameters corresponding to the target video, and identification information of at least one target video playback platform.
[0061] According to identification information of at least one target video playback platform, a target video playback script of at least one target video playback platform is determined from video publishing scripts of a plurality of video playback platforms.
[0062] The target video playback script of any target video playback platform is parsed to obtain a target operation sequence; the target operation sequence is formed by multiple operation nodes, and the multiple operation nodes are generated according to the operation order of multiple video publishing operations, multiple video publishing operations and target elements of their operations, and the position information of the target elements on the page to which they belong.
[0063] According to multiple operation nodes of the target operation sequence, multiple video publishing operations are initiated in sequence on at least one page in any target video playback platform to publish the target video to any target video playback platform according to the target publishing parameters.
[0064] In some optional embodiments, the second terminal device 102 and the server 103 can implement the transmission of account verification information based on the following process. The account verification information can be used to complete account verification on the video playback platform to log in to the video playback platform. The account verification information can be Cookie (web tracker) information. The following will be described in detail.
[0065] After the second user logs in to the account of the video playback platform through the browser, the second terminal device 102 can use a special browser plug-in to collect the account verification information of the login status as historical account verification information and send it to the server 103.
[0066] The server 103 can obtain the historical account verification information generated when any user logs in to any video playback platform. The historical account verification information can be used to complete account verification on the video playback platform to log in to the video playback platform. The historical account verification information under the login state of any video playback platform is loaded into the login page of the video playback platform; according to the changes in the user characteristic information on the login page, it is determined whether the historical account verification information under the login state of any video playback platform is available; if yes, the historical account verification information under the login state of any video playback platform is stored locally; if not, a reminder message is sent to any user to prompt that the historical account verification information is invalid.
[0067] Optionally, after the verification is passed, that is, after it is determined that the historical account verification information under the login status of any video playback platform is available, the historical account verification information can be classified, stored and managed, and a scheduled task can be established to regularly check the validity of the historical account verification information, and a reminder mechanism for the upcoming expiration of the historical account verification information can be set to ensure the availability of the historical account verification information when the task is executed.
[0068] In some optional embodiments, when the second terminal device 102 and the server 103 transmit the account verification information, the security of the transmission process can be improved based on the encryption algorithm. The encryption algorithm can be any type of encryption algorithm, such as a symmetric encryption algorithm or an asymmetric encryption algorithm. The following will take the asymmetric encryption algorithm as an example for explanation:
[0069] After collecting the account verification information, the second terminal device 102 can use the RSA asymmetric encryption algorithm to encrypt the historical account verification information. The encryption process is as follows:
[0070] Assume that the original text of the historical account verification information is M, and the public key is (e, n), then the calculation formula for the encrypted ciphertext C is:
[0071] C=M e mod(n)
[0072] Here, mod refers to the modular operation.
[0073] To prevent replay attacks, a timestamp-based signature mechanism can be added to the request header. Let the current timestamp be t and the random number be r, then the signature Sign is calculated as
[0074] Sign=Hash(M+t+r)
[0075] The plus sign indicates string concatenation, and Hash refers to a hash operation, which may optionally be a SHA-256 algorithm.
[0076] Based on the above processing, the final encrypted historical account verification information D is constructed as follows:
[0077] D={C,t,r,Sign}
[0078] Correspondingly, after receiving the encrypted historical account verification information D, the server 103 can first verify whether the timestamp t is within the preset allowable range (such as 5 minutes), and then recalculate the signature Sign' to verify whether Sign'=Sign is established. If so, it can be further decrypted to ensure communication security.
[0079] In some optional embodiments, the server 103 may also query at least one target account verification information corresponding to the second user and at least one target video playback platform from multiple historical account verification information stored locally; and load each target account verification information into the login page of the corresponding target video playback platform to log in to the target video playback platform corresponding to each target account verification information.
[0080] In some optional embodiments, the positioning information of the target element of any video publishing operation on the page to which it belongs is generated according to the target positioning expression among the multiple candidate positioning expressions of the target element. Based on this, the server 103 can also replace the target positioning expression with other candidate positioning expressions among the multiple candidate positioning expressions when any platform update, network anomaly, and attribute information change of any target video playback platform is monitored. According to other candidate positioning expressions, the positioning information of the target element on the page to which it belongs is updated.
[0081] In other words, platform updates, network anomalies, and changes in the target element's attribute information will all lead to changes in the web page structure, thereby rendering the original target positioning expression invalid. The above method can flexibly respond to changes in the web page structure, even if the target positioning expression is updated, ensuring that the script can still run normally when the page is updated or the layout is adjusted.
[0082] On the basis of the above embodiments, according to the multiple operation nodes of the target operation sequence, when multiple video publishing operations are initiated in sequence on at least one page in any target video playback platform, any operation node can be executed to select the target element from the multiple elements on the page to which the target element belongs according to the updated positioning information of the target element, and perform the corresponding video publishing operation on the target object.
[0083] Correspondingly, the embodiment of the present application also provides a method for generating a video publishing script, which is applicable to a first terminal device, such as Figure 2 As shown, the method includes:
[0084] Step 21: monitor multiple video publishing operations initiated by the first user on at least one page of each video playback platform to obtain target elements of each of the multiple video publishing operations and location information of the target elements on the pages to which they belong.
[0085] Step 22: Generate multiple operation nodes according to the operation sequence of the multiple video publishing operations, the multiple video publishing operations and the target elements of the operations and the position information of the target elements on the pages to which they belong, and the multiple operation nodes form a target operation sequence.
[0086] Step 23: Generate a video publishing script for each video playback platform according to the target operation sequence, and upload the video publishing script to the server.
[0087] Optionally, the target elements of each of the multiple video publishing operations and the location information of the target elements on the page to which they belong are obtained, including: for any video publishing operation, obtaining the target element of the video publishing operation, and determining multiple candidate positioning expressions of the target element from the local document object model in different position expressions; any candidate positioning expression is used to characterize the position of the target element in the document object model; according to the network fluctuation of the first terminal device and / or the change of the attribute information of the target element, determining the target positioning expression from the multiple candidate positioning expressions; and generating the positioning information of the target element on the page to which it belongs according to the target positioning expression.
[0088] The specific implementation methods of the above steps have been described in detail in the aforementioned embodiments, and can be continued here without further description.
[0089] Correspondingly, the embodiment of the present application also provides a video publishing method, which is applicable to a second terminal device, such as Figure 3a As shown, the method includes:
[0090] Step 31: In response to the platform selection operation of the second user, at least one target video playback platform is selected from multiple video playback platforms.
[0091] Step 32: In response to the publishing parameter configuration operation of the second user, obtain the target video to be published and its corresponding initial publishing parameters.
[0092] Step 33: Using the parameter recommendation model, determine the release parameters of the historical video whose similarity with the initial release parameters meets the preset conditions.
[0093] Step 34: According to the publishing parameters of the historical video, the initial publishing parameters are adjusted to obtain the target publishing parameters corresponding to the target video.
[0094] Step 35: Send identification information of at least one target video playback platform, the target video and its corresponding target publishing parameters to the server, so that the server publishes the target video to the at least one target video playback platform according to the video publishing script of the at least one target video playback platform with the target publishing parameters.
[0095] Optionally, a parameter recommendation model is used to determine the release parameters of historical videos whose similarity with the initial release parameters meets preset conditions, including: using the parameter recommendation model to extract the first feature vector of the initial release parameters and the second feature vectors of the release parameters of multiple candidate historical videos; based on the similarity between the first feature vector and the second feature vectors of the release parameters of multiple candidate historical videos, the release parameters of the historical videos whose similarity with the initial release parameters meets the preset conditions are selected from the release parameters of multiple candidate historical videos.
[0096] The specific implementation methods of the above steps have been described in detail in the aforementioned embodiments, and can be continued here without further description.
[0097] Correspondingly, the embodiment of the present application also provides a video publishing method, which is applicable to a server, and the server stores video publishing scripts of multiple video playback platforms. Figure 3b As shown, the method includes:
[0098] Step 41: Obtain a target video that the second user needs to publish, target publishing parameters corresponding to the target video, and identification information of at least one target video playback platform.
[0099] Step 42: Determine a target video playback script of at least one target video playback platform from video publishing scripts of multiple video playback platforms according to identification information of at least one target video playback platform.
[0100] Step 43, parse the target video playback script of any target video playback platform to obtain a target operation sequence; the target operation sequence is formed by multiple operation nodes, and the multiple operation nodes are generated according to the operation order of multiple video publishing operations, multiple video publishing operations and their target elements and the position information of the target elements on the page to which they belong.
[0101] Step 44: according to the multiple operation nodes of the target operation sequence, multiple video publishing operations are initiated in sequence on at least one page in any target video playback platform to publish the target video to any target video playback platform according to the target publishing parameters.
[0102] Optionally, the method also includes: obtaining historical account verification information under the login state generated when any user logs in to any video playback platform; loading the historical account verification information under the login state of any video playback platform into the login page of the video playback platform; judging whether the historical account verification information under the login state of any video playback platform is available based on changes in user characteristic information on the login page; if yes, storing the historical account verification information under the login state of any video playback platform locally; if no, sending a reminder message to any user to prompt that the historical account verification information is invalid.
[0103] Optionally, the method also includes: querying at least one target account verification information corresponding to the second user and at least one target video playback platform from multiple historical account verification information stored locally; and loading each target account verification information into the login page of the corresponding target video playback platform to log in to the target video playback platform.
[0104] Optionally, the positioning information of the target element of any video publishing operation on the page to which it belongs is generated based on a target positioning expression from among multiple candidate positioning expressions of the target element; the method also includes: when a platform update of any target video playback platform, a network anomaly and / or a change in the attribute information of the target element is monitored, using other candidate positioning expressions from among the multiple candidate positioning expressions to replace the target positioning expression; and updating the positioning information of the target element on the page to which it belongs based on the other candidate positioning expressions.
[0105] Optionally, based on multiple operation nodes of the target operation sequence, multiple video publishing operations are initiated in sequence on at least one page in any target video playback platform, including: executing any operation node to select a target element from multiple elements on the page to which the target element belongs based on the updated positioning information of the target element, and performing corresponding video publishing operations on the target object.
[0106] The specific implementation methods of the above steps have been described in detail in the aforementioned embodiments, and can be continued here without further description.
[0107] The following will describe the above video publishing system in detail in combination with actual scenarios. Figure 4 This is a flow chart of the internal interaction of the video publishing system in an actual scenario, such as Figure 4 As shown, the following steps may be included:
[0108] Step R1: The first terminal device can perform script recording:
[0109] Use browser automation tools to record the account verification process and publishing operation process of each video platform. The recording process adopts an intelligent element positioning strategy, and can give priority to using stable CSS selectors and XPath expressions to locate page elements (i.e. target elements). Generate multiple sets of alternative positioning expressions for each target element. Convert the recorded operation sequence into a standardized video publishing script, and perform intelligent optimization processing on the video publishing script, including: dynamic waiting mechanism to ensure page loading completion, prediction and processing of abnormal scenarios, retry mechanism for key steps, and branch processing logic based on page status. Finally, the optimized script is modularly packaged according to the functional dimension to achieve the standardization of basic operation components such as login, upload, and form filling, and establish a unified error handling and logging mechanism.
[0110] The dynamic waiting mechanism means that during the execution of the automated script, it may take time for the page to load (such as network delays, slow server response, etc.). If the script attempts to operate an element before the page is fully loaded, it may fail. Therefore, the video publishing system can dynamically adjust the waiting time according to the actual loading situation of the page, such as waiting for a certain element to appear on the page.
[0111] Among them, abnormal scenario prediction and processing refers to: during the execution of the automated script, various abnormal situations may be encountered (such as network interruption, missing page elements, platform updates, etc.), and the system needs to predict these abnormalities in advance and design corresponding processing logic. If an abnormality is detected, the system will take corresponding processing measures, such as retrying the current operation, switching to an alternative positioning expression, skipping the current step and recording the abnormality, etc., to improve the fault tolerance of the video publishing script and reduce task failures caused by abnormalities.
[0112] The retry mechanism for key steps refers to the following: in the video publishing script, if certain key steps (such as setting account verification information, uploading videos, submitting forms, etc.) fail, the entire task may fail. The video publishing system can set retry logic for these key steps, automatically retry a certain number of times, and set a certain waiting time between each retry, to reduce task failures caused by accidental problems (such as network fluctuations, server response delays, etc.) and improve the success rate of tasks.
[0113] The branch processing logic based on page status means that during the execution of the video publishing script, the page status may affect subsequent operations. According to the different page statuses in the publishing process, the execution logic of the video publishing script is dynamically adjusted to ensure that the task can be completed smoothly. By introducing branch processing logic, the video publishing system can dynamically adjust the script execution process according to the page status.
[0114] Step R2: The second terminal device collects account verification information (such as Cookie information):
[0115] After the second user logs in to the third-party video website account (i.e., the video playback platform account) through the browser, the second terminal device can use a special browser plug-in to collect the login status cookie information. When the browser plug-in collects cookie information, it first obtains all cookie information under the specified domain name through the browser extension API, and then uses the RSA asymmetric encryption algorithm to encrypt the cookie data. The specific encryption process has been described in detail in the previous article and will not be repeated here.
[0116] Step R3: The server verifies the account information:
[0117] After the server receives the encrypted cookie data and decrypts it, it can verify the validity of the cookie information through a pre-recorded verification script. During the verification process, the server can initialize a temporary WebDriver instance, inject the cookie information to be verified into the browser session, and then access the user center or personal homepage of the target video playback platform and other pages that require login. By analyzing the DOM structure characteristics of the page (such as user avatars, user names and other identification elements), it is determined whether the current cookie information is in a valid login state. After the verification is passed, the cookies are classified, stored and managed, and a scheduled task is established to regularly detect the validity of the cookie information, and a reminder mechanism is set up for the cookie information to expire soon to ensure the availability of the cookie information when the release task is executed.
[0118] Step R4: The second terminal device submits the task:
[0119] The second user logs in to the backend management system on the second terminal device, selects the target video publishing platform, and configures the initial publishing parameters such as video file, title, description, cover image, publishing time, priority, etc. During the parameter configuration process, the second terminal device can use machine learning algorithms to make intelligent recommendations for video publishing parameters based on historical publishing data. The second user can adopt the intelligently recommended video publishing parameters or make manual adjustments, and finally submit the complete publishing task to the server.
[0120] Step R5: The server performs the task:
[0121] like Figure 5As shown in the figure, after receiving the publishing task, the server first enters the preparation stage. In this stage, the server will initialize the browser environment, configure the WebDriver instance and set the corresponding browser parameters, such as disabling image loading, network current limiting, etc. At the same time, the verified cookie information is injected into the browser session to ensure the login status. After entering the execution stage, the server begins to perform specific operations such as video uploading and information filling according to the preset script. During the execution process, the server will update the execution status and completion progress of the task in real time, and continuously check whether all steps have been completed. When all steps are completed, the server will mark the task as completed. Finally, in the end stage, the server will save the final execution status and results of the task, release browser resources, and close the WebDriver instance. During the entire execution process, the server will monitor the task execution status in real time and record detailed execution logs to the distributed log system for subsequent problem analysis and system optimization. At the same time, the server will collect key performance indicators (such as page loading time, resource usage, etc.) and automatically handle them when abnormalities are found.
[0122] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 11 to 14 can be device A; for another example, the execution subject of steps 11 to 12 can be device A, and the execution subject of steps 13 to 14 can be device B; and so on.
[0123] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the sequence numbers of the operations, such as 12, 13, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.
[0124] It should be noted that the descriptions such as “first” and “second” in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit “first” and “second” to different types.
[0125] Figure 6 is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application, and the electronic device is applicable to the video publishing method and the video publishing script generation method provided by the aforementioned embodiments, such as Figure 6 As shown, the electronic device may include: a memory 601 , a processor 602 , and a communication component 603 .
[0126] The memory 601 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.
[0127] In some exemplary embodiments, the processor 602 is coupled to the memory 601 and is used to execute a computer program in the memory 601, so as to: monitor multiple video publishing operations initiated by the first user on at least one page of each video playback platform to obtain the target elements of each of the multiple video publishing operations and the location information of the target elements on the page to which they belong; generate multiple operation nodes according to the operation sequence of the multiple video publishing operations, the multiple video publishing operations and the target elements of their operations and the location information of the target elements on the page to which they belong, and the multiple operation nodes form a target operation sequence; generate a video publishing script for each video playback platform according to the target operation sequence, and upload the video publishing script to the server.
[0128] Optionally, when the processor 602 obtains the target elements of each of the multiple video publishing operations and the position information of the target elements on the page to which they belong, it is specifically used to: for any video publishing operation, obtain the target element of the video publishing operation, and determine multiple candidate positioning expressions of the target element from the local document object model in different position expressions; any candidate positioning expression is used to characterize the position of the target element in the document object model; determine the target positioning expression from the multiple candidate positioning expressions according to the network fluctuations of the first terminal device and / or the changes in the attribute information of the target element; and generate the positioning information of the target element on the page to which it belongs according to the target positioning expression.
[0129] In other exemplary embodiments, the processor 602 is coupled to the memory 601 and is used to execute the computer program in the memory 601, so as to: select at least one target video playback platform from multiple video playback platforms in response to the platform selection operation of the second user; obtain the target video to be published and its corresponding initial publishing parameters in response to the publishing parameter configuration operation of the second user; determine the publishing parameters of historical videos whose similarity with the initial publishing parameters meets preset conditions by using a parameter recommendation model; adjust the initial publishing parameters according to the publishing parameters of the historical videos to obtain the target publishing parameters corresponding to the target video; send the identification information of the at least one target video playback platform, the target video and its corresponding target publishing parameters to the server, so that the server publishes the target video to the at least one target video playback platform with the target publishing parameters according to the video publishing script of the at least one target video playback platform.
[0130] Optionally, when the processor 602 uses a parameter recommendation model to determine the release parameters of a historical video whose similarity with the initial release parameters meets preset conditions, it is specifically used to: use the parameter recommendation model to respectively extract a first feature vector of the initial release parameters and a second feature vector of the release parameters of multiple candidate historical videos; and based on the similarity between the first feature vector and the second feature vectors of the release parameters of multiple candidate historical videos, select the release parameters of the historical video whose similarity with the initial release parameters meets the preset conditions from the release parameters of the multiple candidate historical videos.
[0131] In other exemplary embodiments, the processor 602 is coupled to the memory 601 and is used to execute a computer program in the memory 601, so as to: obtain a target video that a second user needs to publish, target publishing parameters corresponding to the target video, and identification information of at least one target video playback platform; determine a target video playback script of the at least one target video playback platform from the video publishing scripts of the multiple video playback platforms according to the identification information of the at least one target video playback platform; parse the target video playback script of any target video playback platform to obtain a target operation sequence; the target operation sequence is formed by multiple operation nodes, and the multiple operation nodes are generated according to the operation order of multiple video publishing operations, the multiple video publishing operations and the target elements of their operations, and the position information of the target elements on the page to which they belong; according to the multiple operation nodes of the target operation sequence, the multiple video publishing operations are initiated in sequence on at least one page of any one of the target video playback platforms to publish the target video to any one of the target video playback platforms according to the target publishing parameters.
[0132] Optionally, processor 602 is also used to: obtain historical account verification information under the login state generated when any user logs in to any video playback platform; load the historical account verification information under the login state of any video playback platform into the login page of the video playback platform; judge whether the historical account verification information under the login state of any video playback platform is available according to the change of user characteristic information on the login page; if yes, store the historical account verification information under the login state of any video playback platform locally; if no, send a reminder message to any user to prompt that the historical account verification information is invalid.
[0133] Optionally, the processor 602 is also used to: query at least one target account verification information corresponding to the second user and the at least one target video playback platform from multiple historical account verification information stored locally; and load each target account verification information into the login page of the corresponding target video playback platform to log in to the target video playback platform.
[0134] Optionally, the positioning information of the target element of any video publishing operation on the page to which it belongs is generated based on a target positioning expression among a plurality of candidate positioning expressions of the target element; the processor 602 is also used for: when a platform update of any of the target video playback platforms, a network anomaly and / or a change in the attribute information of the target element is monitored, replacing the target positioning expression with other candidate positioning expressions among the plurality of candidate positioning expressions; and updating the positioning information of the target element on the page to which it belongs based on the other candidate positioning expressions.
[0135] Optionally, when the processor 602 initiates the multiple video publishing operations in sequence on at least one page in any one of the target video playback platforms according to the multiple operation nodes of the target operation sequence, it is specifically used to: execute any one of the operation nodes to select the target element from the multiple elements on the page to which the target element belongs according to the updated positioning information of the target element, and perform a corresponding video publishing operation on the target object.
[0136] Further, if Figure 6 As shown, the electronic device also includes: a display 604, a power supply component 605, an audio component 606 and other components. Figure 6 Only some components are shown schematically, which does not mean that the electronic device only includes Figure 6 Components shown.
[0137] An embodiment of the present application also provides a computer-readable storage medium, which, when the computer program is executed by a processor, enables the processor to implement the steps in the video publishing script generation method or the video publishing method.
[0138] An embodiment of the present application also provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the steps of a video publishing script generation method or a video publishing method are executed.
[0139] In this embodiment, the first terminal device can generate a video publishing script for each video playback platform and send it to the server according to the operation sequence of multiple video publishing operations initiated by the first user on each video playback platform, the multiple video publishing operations and the target elements of the operations and the location information of the target elements; the second terminal device can send the target video, publishing parameters and at least one target video playback platform identifier of the second user to the server; the server can initiate multiple video publishing operations on at least one page in each target video playback platform in sequence according to the video publishing script of each target video playback platform, so as to publish the target video to each target video playback platform according to the target publishing parameters. In this way, video publishing can be carried out more efficiently based on the video publishing script.
[0140] The above-mentioned memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0141] The above-mentioned communication component is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
[0142] The above-mentioned display includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0143] The power supply assembly provides power to various components of the device where the power supply assembly is located. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply assembly is located.
[0144] The above-mentioned audio component can be configured to output and / or input audio signals. For example, the audio component includes a microphone (Microphone, MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.
[0145] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-readable storage media (including but not limited to disk storage, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage, etc.) containing computer-usable program code.
[0146] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0147] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0148] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0149] In a typical configuration, a computing device includes one or more processors (Central Processing Unit, CPU), input / output interface, network interface and memory.
[0150] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0151] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0152] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0153] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for generating a video publishing script, characterized in that: Applicable to a first terminal device, the method includes: Monitoring multiple video publishing operations initiated by the first user on at least one page of each video playback platform to obtain target elements of each of the multiple video publishing operations and location information of the target elements on the pages to which they belong; Generate multiple operation nodes according to the operation sequence of the multiple video publishing operations, the multiple video publishing operations and the target elements of the operations, and the position information of the target elements on the pages to which they belong, wherein the multiple operation nodes form a target operation sequence; A video publishing script is generated for each video playback platform according to the target operation sequence, and the video publishing script is uploaded to the server.
2. The method according to claim 1, characterized in that Obtaining target elements of each of the multiple video publishing operations and location information of the target elements on the pages to which they belong, including: For any video publishing operation, a target element of the video publishing operation is obtained, and multiple candidate positioning expressions of the target element are determined from a local document object model in different position expressions; any candidate positioning expression is used to characterize the position of the target element in the document object model; Determine a target positioning expression from the multiple candidate positioning expressions according to the network fluctuation of the first terminal device and / or the change of the attribute information of the target element; According to the target positioning expression, the positioning information of the target element on the page to which it belongs is generated.
3. A video publishing method, characterized in that: Applicable to the second terminal device, the method includes: In response to a platform selection operation by the second user, selecting at least one target video playback platform from a plurality of video playback platforms; In response to the publishing parameter configuration operation of the second user, obtaining a target video to be published and its corresponding initial publishing parameters; Determine, by using a parameter recommendation model, release parameters of historical videos whose similarity to the initial release parameters meets preset conditions; According to the publishing parameters of the historical video, the initial publishing parameters are adjusted to obtain target publishing parameters corresponding to the target video; The identification information of the at least one target video playback platform, the target video and its corresponding target publishing parameters are sent to the server, so that the server publishes the target video to the at least one target video playback platform according to the video publishing script of the at least one target video playback platform with the target publishing parameters.
4. The method according to claim 3, characterized in that Determining the release parameters of the historical video whose similarity to the initial release parameters meets the preset conditions by using the parameter recommendation model includes: Utilizing the parameter recommendation model, respectively extracting first feature vectors of the initial release parameters and second feature vectors of release parameters of a plurality of candidate historical videos; According to the similarity between the first feature vector and the second feature vectors of the release parameters of multiple candidate historical videos, the release parameters of the historical video whose similarity with the initial release parameters meets the preset conditions are selected from the release parameters of the multiple candidate historical videos.
5. A video publishing method, characterized in that: Applicable to a server, wherein the server stores video publishing scripts of multiple video playback platforms; the method comprises: Acquire a target video that the second user needs to publish, a target publishing parameter corresponding to the target video, and identification information of at least one target video playback platform; Determining a target video playback script of the at least one target video playback platform from the video publishing scripts of the multiple video playback platforms according to the identification information of the at least one target video playback platform; Parsing a target video playback script of any target video playback platform to obtain a target operation sequence; the target operation sequence is formed by a plurality of operation nodes, and the plurality of operation nodes are generated according to the operation sequence of multiple video publishing operations, the multiple video publishing operations and target elements of their operations, and the position information of the target elements on the page to which they belong; According to the multiple operation nodes of the target operation sequence, the multiple video publishing operations are initiated in sequence on at least one page in any one of the target video playback platforms to publish the target video to any one of the target video playback platforms according to the target publishing parameters.
6. The method according to claim 5, characterized in that Also includes: Obtain the historical account verification information generated when any user logs in to any video playback platform; Loading the historical account verification information in the login state of any video playback platform to the login page of the video playback platform; judging whether the historical account verification information in the login state of any video playback platform is available according to the change of the user characteristic information on the login page; If yes, the historical account verification information in the login state of any of the video playback platforms is stored locally; if no, a reminder message is sent to any of the users to prompt that the historical account verification information is invalid.
7. The method according to claim 5, characterized in that Also includes: Querying at least one target account verification information corresponding to the second user and the at least one target video playback platform from a plurality of historical account verification information stored locally; And load each target account verification information into the login page of the corresponding target video playback platform to log in to the target video playback platform.
8. The method according to claim 5, characterized in that The positioning information of the target element of any video publishing operation on the page to which it belongs is generated according to the target positioning expression among the multiple candidate positioning expressions of the target element; The method further comprises: In case of monitoring a platform update of any of the target video playback platforms, a network anomaly and / or a change in the attribute information of the target element, using other candidate positioning expressions from the multiple candidate positioning expressions to replace the target positioning expression; The location information of the target element on the page to which it belongs is updated according to the other candidate location expressions.
9. The method according to claim 8, characterized in that Initiating the multiple video publishing operations in sequence on at least one page in any one of the target video playback platforms according to the multiple operation nodes of the target operation sequence includes: Execute any of the operation nodes to select the target element from multiple elements on the page to which the target element belongs according to the updated positioning information of the target element, and perform a corresponding video publishing operation on the target object.
10. An electronic device, characterized in that: include: A memory and a processor; wherein the memory is used to: store one or more computer instructions; and the processor is used to execute the one or more computer instructions to: execute the steps in the method described in any one of claims 1-9.
11. A computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the processor is enabled to implement the steps in the method according to any one of claims 1 to 9.
12. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, enables the processor to implement the steps of the method according to any one of claims 1 to 9.