Article publishing method, device, computer equipment and storage medium

The articles are classified through the deep learning model, and data statistics and analysis are performed based on the platforms matching the categories in the platform library, and the top-rated platforms are selected for article publishing, which solves the problem of accurate and effective article publishing in the existing technology. Reader group issues, achieving rapid and efficient dissemination and promotion of articles.

CN110750212BActive Publication Date: 2024-10-18CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910843144.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-06
Publication Date
2024-10-18
Estimated Expiration
2039-09-06

AI Technical Summary

Technical Problem

Existing article publishing methods are difficult to accurately reach effective reader groups, resulting in low efficiency in article dissemination and promotion.

Method used

The articles are classified through the deep learning model, and data statistics and analysis are performed based on the platforms that match the categories in the platform library, and the top-rated platforms are selected for publishing the articles to ensure that the articles can be disseminated and promoted quickly and efficiently.

Benefits of technology

Use the deep learning model to classify the target article, and conduct data statistics on the platforms that match the category in the platform library. After analyzing the data, select the top-rated platforms for the target article to publish the article. This can ensure that the target article is published to a certain extent. Being able to reach an effective readership group helps articles to be disseminated and promoted quickly and efficiently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110750212B_ABST
    Figure CN110750212B_ABST
Patent Text Reader

Abstract

The present invention discloses an article publishing method, device, computer equipment and storage medium, which are applied to the field of deep learning technology to solve the problem that existing article publishing is difficult to accurately reach effective readers. The method provided by the present invention includes: obtaining a target article to be published; vectorizing the target article to obtain an article word vector; inputting the article word vector into a deep learning model to obtain a target article category; selecting each target platform whose publishable category of the platform is consistent with the target article category from a platform library; for each target platform, obtaining the reading time, click count and number of visits of the published articles under the target article category on each target platform; for each target platform, scoring each target platform according to the obtained reading time, click count and number of visits and their respective preset weights to obtain a platform score value; publishing the target article to a preset number of target platforms with a high ranking in platform score value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning technology, and in particular to an article publishing method, device, computer equipment and storage medium. Background Art

[0002] At present, with the rapid development of network technology and the continuous increase in the amount of information, people's access to knowledge is no longer limited to traditional paper book resources. More and more people rely on the Internet to browse articles and obtain the information and knowledge they need, such as news apps and book apps. For authors, after writing an article, they often don't know which platform to publish their article on in order to accurately reach interested users.

[0003] Therefore, finding a method that can screen article publishing platforms to reach an effective readership has become an urgent problem that technical personnel in this field need to solve. Summary of the invention

[0004] The embodiments of the present invention provide an article publishing method, apparatus, computer equipment and storage medium to solve the problem that existing article publishing is difficult to accurately reach effective readers.

[0005] A method for publishing an article, comprising:

[0006] Get the target article to be published;

[0007] Vectorize the target article to obtain an article word vector;

[0008] Inputting the article word vector into a deep learning model to obtain a target article category output by the deep learning model, wherein the deep learning model is trained by a plurality of article samples with predetermined article categories;

[0009] Selecting from the platform library each target platform whose publishable category is consistent with the target article category, each platform in the platform library pre-sets its own publishable article category as the publishable category;

[0010] For each target platform, obtain the reading time, click count, and visit count of published articles under the target article category on each target platform;

[0011] For each target platform, score each target platform according to the obtained reading time, number of clicks and number of visits and their respective preset weights to obtain a platform score value;

[0012] The target article is published to a preset number of target platforms with high platform score rankings, wherein the larger the platform score of the target platform is, the higher its ranking is.

[0013] An article publishing device, comprising:

[0014] A target article acquisition module is used to acquire the target article to be published;

[0015] A vectorization processing module, used to vectorize the target article to obtain an article word vector;

[0016] An article classification module, used for inputting the article word vector into a deep learning model to obtain a target article category output by the deep learning model, wherein the deep learning model is trained by a plurality of article samples with predetermined article categories;

[0017] A target platform selection module is used to select each target platform whose publishable category is consistent with the target article category from the platform library, and each platform in the platform library pre-sets its own publishable article category as the publishable category;

[0018] A platform data acquisition module is used to acquire, for each target platform, the reading time, click count, and visit count of published articles under the target article category on each target platform;

[0019] The platform scoring module is used to score each target platform according to the obtained reading time, number of clicks and number of visits and their respective preset weights to obtain a platform score value;

[0020] The article publishing module is used to publish the target article to a preset number of target platforms with high platform score rankings, wherein the larger the platform score of the target platform, the higher the ranking.

[0021] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned article publishing method when executing the computer program.

[0022] A computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned article publishing method when executed by a processor.

[0023] The article publishing method, device, computer equipment and storage medium described above first obtain a target article to be published; then, vectorize the target article to obtain an article word vector; then, input the article word vector into a deep learning model to obtain a target article category output by the deep learning model, wherein the deep learning model is trained by a plurality of article samples of predetermined article categories; then, each target platform whose publishable category is consistent with the target article category is selected from a platform library, wherein each platform in the platform library pre-sets its own publishable article category as the publishable category; for each target platform, obtain the reading time, click count and number of visits of the published articles under the target article category on each target platform; for each target platform, score each target platform according to the obtained reading time, click count and number of visits and their respective preset weights to obtain a platform score value; finally, publish the target article to a preset number of target platforms with a high ranking in platform score value, wherein the larger the platform score value of the target platform, the higher the ranking. It can be seen that the present invention classifies the target articles through the deep learning model, and performs data statistics on the platforms with matching categories in the platform library. After analyzing the data, several platforms with high scores are selected for publishing the target articles. This can ensure that the target articles can reach effective reader groups to a certain extent, which is conducive to the rapid and efficient dissemination and promotion of articles. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0025] Figure 1 This is a schematic diagram of an application environment of an article publishing method in one embodiment of the present invention;

[0026] Figure 2 is a flow chart of an article publishing method in one embodiment of the present invention;

[0027] Figure 3 It is a schematic diagram of a process of storing a target article in an application scenario of an article publishing method in one embodiment of the present invention;

[0028] Figure 4 It is a schematic diagram of a process of pre-training a deep learning model in an application scenario in a method for publishing an article in one embodiment of the present invention;

[0029] Figure 5It is a flow chart of determining the publishable categories of a platform in an application scenario in a method for publishing articles in one embodiment of the present invention;

[0030] Figure 6 It is a structural diagram of an article publishing device in a first application scenario in one embodiment of the present invention;

[0031] Figure 7 is a schematic diagram of the structure of an article publishing device in a second application scenario in an embodiment of the present invention;

[0032] Figure 8 is a schematic diagram of the structure of an article publishing device in a third application scenario according to an embodiment of the present invention;

[0033] Fig. 9 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] The article publishing method provided in this application can be applied to Figure 1 In an application environment, a client communicates with a server via a network. The client may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server may be implemented as an independent server or a server cluster consisting of multiple servers.

[0036] In one embodiment, if Figure 2 As shown, a method for publishing an article is provided, and the method is applied in Figure 1 The server in the example is used as an example to illustrate the process, including the following steps:

[0037] 101. Obtain the target article to be published;

[0038] In this embodiment, when a user needs to publish an article, the user can send the article that the user wants to publish on the platform, that is, the target article, to the server through the client, so that the server can obtain the target article to be published.

[0039] It is understandable that in order to facilitate the storage and data call of the target article by the server, the acquired target article can be stored in a SAN (Storage Area Network) storage system, which helps to improve the data storage capacity and data acquisition speed of the server. Figure 3 As shown, further, after obtaining the target article to be published, it also includes:

[0040] 201. Sending a data operation instruction to the SAN storage system, so that the SAN storage system converts the data operation instruction into a corresponding SCSI instruction;

[0041] 202. Send a shared memory address request message to determine a target shared memory in the SAN storage system;

[0042] 203. Send the target article to the SAN storage system to fill the target shared memory.

[0043] As for step 201, it can be understood that after the server obtains the target article, when it needs to store the target article, it can issue a data operation instruction to the SAN storage system, so that the SAN storage system converts the data operation instruction into a corresponding SCSI instruction. The SCSI instruction includes the data address, data length and access mode of the target article, etc. The SCSI instruction can realize operations such as querying whether the storage device is ready, reading data, writing data to the storage device, etc., and can also query the current capacity and available space of the storage device. In this embodiment, the SCSI instruction can read the data length of the target article, and apply for a target shared memory that can store the target article from the storage device according to the data length.

[0044] For step 202, the server may send a shared memory address request message to the SAN storage system to determine a target shared memory where the target article can be stored.

[0045] For step 203, after determining the target shared memory, the server can send the target article to the SAN storage system. After receiving the target article, the SAN storage system will fill it into the target shared memory and synchronously update the memory capacity information of the storage device.

[0046] 102. Vectorize the target article to obtain an article word vector;

[0047] It is understandable that in order to facilitate the server to process the target article and facilitate the subsequent deep learning model to classify and identify it, the server can vectorize the target article. When vectorizing the target article, the target article can be first split into a large number of words according to the order of the article, and the server then vectorizes these words one by one into vector data, thereby obtaining the word vector of the article.

[0048] 103. Input the article word vector into a deep learning model to obtain a target article category output by the deep learning model, wherein the deep learning model is trained by a plurality of article samples of predetermined article categories;

[0049] After obtaining the article word vector, the server can input the article word vector into a deep learning model to obtain the target article category output by the deep learning model. The deep learning model is trained by a plurality of article samples of predetermined article categories.

[0050] It is understandable that the deep learning model needs to be trained with a large number of article samples, which are pre-labeled with article categories. By adjusting the model parameters of the deep learning model during the training process, when the training completion standard is reached, it can be determined that the deep learning model training is complete and can be used for article category recognition. For ease of understanding, the training process of the deep learning model will be described in detail below. Figure 4 As shown, further, the deep learning model can be pre-trained by the following steps:

[0051] 301. Collect multiple article samples in advance;

[0052] 302. Mark the article category to which each of the plurality of article samples belongs;

[0053] 303. Perform vectorization processing on the multiple article samples to obtain sample word vectors corresponding to each of the multiple article samples;

[0054] 304. For each article sample, input the sample word vector corresponding to each article sample into the deep learning model to obtain the classification result output by the deep learning model;

[0055] 305. Taking the classification result as a target, adjusting the model parameters of the deep learning model to minimize the error between the obtained classification result and the article category to which each article sample belongs;

[0056] 306. If the error meets a preset condition, it is determined that the deep learning model training is completed.

[0057] For the above step 301, before training the deep learning model, it is necessary to collect multiple article samples for training in advance. These article samples can be collected from the platforms that publish the articles, such as from various platforms in the platform library. These platforms can collect the published articles and send them to the server as the article samples.

[0058] For the above step 302, after collecting these article samples, it is necessary to mark these article samples with article categories. In this embodiment, the article categories may include but are not limited to: "Science and Technology", "Humanities", "Emotions", "Sports", etc. Specifically, professionals may be arranged to mark the article categories to which these article samples belong, or the platform may pre-mark the article categories to which the article samples belong, and after the server obtains these article samples, it may directly use the article categories marked by the platform.

[0059] For the above step 303, similar to the above step 102, after obtaining these article samples, in order to facilitate the server to process these article samples and facilitate the subsequent training of the deep learning model, these article samples can be vectorized to obtain the sample word vectors corresponding to each of these article samples.

[0060] For the above step 304, in the training of the deep learning model, the sample word vector corresponding to each article sample is input into the deep learning model. Since the deep learning model has not been trained yet, the classification results output by it mostly have certain deviations and errors from the pre-marked article categories.

[0061] For the above step 305, after obtaining the classification result output by the deep learning model, the error between the classification result and the article category to which each article sample belongs can be calculated, and the model parameters of the deep learning model can be adjusted according to the calculated error to minimize the error between the classification result and the article category to which each article sample belongs.

[0062] For the above step 306, after repeatedly adjusting the model parameters of the deep learning model and performing multiple trainings, the error between the classification result corresponding to each article sample and the pre-marked article category is compared. If the error meets the preset conditions, such as the error is less than 5%, it can be determined that the deep learning model training is completed. Among them, the preset conditions can be determined when training a specific deep learning model, such as setting the error to be less than a specific threshold, which can be a percentage value. The smaller the specific threshold, the more stable the deep learning model obtained after the final training, and the higher the recognition accuracy.

[0063] 104. Selecting from the platform library each target platform whose publishable category is consistent with the target article category, each platform in the platform library pre-sets its own publishable article category as the publishable category;

[0064] It is understandable that, in this embodiment, a platform library is pre-set on the server, and the platform library records information of multiple platforms, and each platform pre-sets the category of articles that can be published, that is, the publishable category. When selecting a platform, the server can select from the platform library each target platform whose publishable category is consistent with the target article category, so that the selected target platform can be used to publish articles of the target article category, that is, can be used to publish the target article.

[0065] It should be noted that the publishable categories of each platform recorded in the platform library need to be pre-set. Generally speaking, the publishable categories of a platform should be the categories to which the articles published on the platform on a daily basis belong. Therefore, when determining the publishable categories of a platform, the number of articles that the platform has ever published can be fully considered. For this purpose, Figure 5 As shown, further, each platform in the platform library can pre-set the publishable categories through the following steps:

[0066] 401. Obtain article categories of all historically published articles on each platform;

[0067] 402. Count the number of articles corresponding to each of the obtained article categories in each platform;

[0068] 403. Filter out the article categories whose number of articles exceeds a preset number threshold as the publishable categories for each platform.

[0069] For step 401, in this embodiment, the server can obtain the article categories of all historically published articles in each platform. The article categories of these historically published articles can be reported to the server by the platform, and the server can collect the article categories of these historically published articles.

[0070] For step 402, after obtaining the article categories of all historically published articles in each platform, the server can count the number of articles corresponding to each of the obtained article categories in each platform. For example, assuming that the server collects a large number of historically published articles in the categories of "technology", "humanities", "emotions", and "sports" when executing step 401, a total of 400 articles, and then counts the historically published articles in the category of "technology" to be 100, the historically published articles in the category of "humanities" to be 50, the historically published articles in the category of "emotions" to be 150, and the historically published articles in the category of "sports" to be 100.

[0071] As for step 403, it is understood that it is generally believed that only when the number of articles reaches a certain scale, the article category is considered to be the category to which the articles published on the platform on a daily basis belong. Therefore, the server can filter out the article categories whose number of articles exceeds the preset number threshold from these article categories, and these selected article categories can be considered as the publishable categories of the corresponding platform.

[0072] 105. For each target platform, obtain the reading time, click count, and visit count of the published articles under the target article category on each target platform;

[0073] After determining the target platform, the server can obtain the reading time, click count and visit number of the published articles under the target article category on each target platform for each target platform. Among them, the reading time refers to the time taken by readers to read the published articles through the platform. It can be seen that if a published article is read by 10,000 people, and the average reading time per person is 10 minutes, the total reading time of the published article is 100,000 minutes. The number of clicks refers to the number of times the published article is clicked and opened on the platform, and the number of visits refers to the number of users who have read the published article.

[0074] 106. For each target platform, score each target platform according to the obtained reading time, number of clicks and number of visits and respective preset weights to obtain a platform score value;

[0075] After obtaining the reading time, click counts, and visits of the published articles under the target article category on each target platform, the server can score each target platform according to the obtained reading time, click counts, visits, and respective preset weights to obtain a platform score. Specifically, the server presets respective preset weights for reading time, click counts, and visits, denoted as a, b, and c, respectively. The reading time is h, the click count is k, and the visits are m. The platform score of the target platform can be expressed as y=a*h+b*k+c*m. The server substitutes the reading time, click counts, visits, and respective preset weights into the above formula to calculate the platform score of the target platform.

[0076] It should be noted that the server needs to calculate the platform score value for each target platform respectively. Therefore, if 10 target platforms are screened out in total, the server needs to execute the above step 106 10 times.

[0077] 107. Publish the target article to a preset number of target platforms with high platform score rankings, wherein the larger the platform score of the target platform is, the higher its ranking is.

[0078] In this embodiment, after calculating the platform score of each target platform, the server can sort these target platforms according to the platform score. The target platform with a larger platform score ranks higher, indicating that the target platform is more suitable for publishing the target article. Considering that most of the platforms where an article is published need to control the number of platforms, in this embodiment, the server pre-sets the preset number, which is the number of platforms where the target article needs to be published. Therefore, the server can publish the target article to the preset number of target platforms with higher platform score rankings.

[0079] In order to reasonably set the preset number, the server can collect statistics and set the preset number in the following two ways (way 1 and way 2). Way 1 includes the following steps 501-503:

[0080] 501. Obtaining articles requested to be published by a requesting client of the target article within a first preset time period;

[0081] 502. Obtain the number of publishing platforms for each article requested to be published;

[0082] 503. Calculate the average number of publishing platforms according to the number of publishing platforms of each article requested to be published as the preset number;

[0083] For step 501, the request client of the target article mentioned here refers to the client terminal used by the user who wants to publish the target article. For example, after an author writes an article, he can use a computer to send a request to the server to request the publication of the article. The computer used by the author is the request client mentioned in this embodiment.

[0084] It is understandable that this may not be the first time that the user of the requesting client has published an article. Therefore, in order to cater to the user's usage habits, the server can obtain the articles requested to be published by the requesting client within a preset first time period, so as to find out the user's willingness for the number of publishing platforms.

[0085] It should be noted that the preset first duration can be set according to actual usage, for example, it can be set to half a year or one year.

[0086] For step 502, the server may then obtain the number of publishing platforms for each article requested to be published.

[0087] For step 503, it can be understood that the server calculates the average number of publishing platforms based on the number of publishing platforms for each article request. It can be considered that the average number of platforms that the user has published articles to using the requesting client over the past period of time is the number of platforms desired by the user. Therefore, the server can set the average number of publishing platforms to the preset number.

[0088] Method 2 includes the following steps 504-506:

[0089] 504. Obtain the historical articles that have been published to the platform within the latest preset second time period;

[0090] 505. Obtain the number of publishing platforms for each of the historical articles;

[0091] 506. Calculate the average value of the number of publishing platforms of each historical article as the preset number.

[0092] Regarding step 504, in this embodiment, compared with method 1, method 2 considers the preset number more from the perspective of the server. The server can obtain the historical articles that have been published to the platform within the latest preset second time period, and the preset second time period here can be set according to actual usage, such as half a year or a year.

[0093] For step 505, after obtaining the historical articles that have been published on the platform within the latest preset second time period, the server can obtain the number of publishing platforms for each of the historical articles.

[0094] As for step 506, it is understandable that the server can calculate the average number of publishing platforms for each historical article based on the number of publishing platforms for each historical article. It can be considered that the average value is the number of platforms determined by the server each time an article is published, which represents the number of platforms generally used by the user group of the server when publishing articles. From a macro perspective, it is applicable to most users of the server. Therefore, the server can set the average value as the preset number.

[0095] In this embodiment, first, a target article to be published is obtained; then, the target article is vectorized to obtain an article word vector; then, the article word vector is input into a deep learning model to obtain a target article category output by the deep learning model, and the deep learning model is trained by a plurality of article samples with predetermined article categories; then, each target platform whose publishable category is consistent with the target article category is selected from a platform library, and each platform in the platform library pre-sets its own publishable article category as the publishable category; for each target platform, the reading time, click count and visit number of published articles under the target article category on each target platform are obtained; for each target platform, each target platform is scored according to the obtained reading time, click count and visit number and their respective preset weights to obtain a platform score value; finally, the target article is published to a preset number of target platforms with a high platform score value ranking, wherein the larger the platform score value of the target platform, the higher the ranking. It can be seen that the present invention classifies the target articles through the deep learning model, and performs data statistics on the platforms with matching categories in the platform library. After analyzing the data, several platforms with high scores are selected for publishing the target articles. This can ensure that the target articles can reach effective reader groups to a certain extent, which is conducive to the rapid and efficient dissemination and promotion of articles.

[0096] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0097] In one embodiment, an article publishing device is provided, which corresponds one-to-one to the article publishing method in the above embodiment. Figure 6 As shown, the article publishing device includes a target article acquisition module 601, a vectorization processing module 602, an article classification module 603, a target platform selection module 604, a platform data acquisition module 605, a platform scoring module 606 and an article publishing module 607. The functional modules are described in detail as follows:

[0098] The target article acquisition module 601 is used to acquire the target article to be published;

[0099] A vectorization processing module 602 is used to vectorize the target article to obtain an article word vector;

[0100] An article classification module 603 is used to input the article word vector into a deep learning model to obtain a target article category output by the deep learning model, wherein the deep learning model is trained by a plurality of article samples with predetermined article categories;

[0101] The target platform selection module 604 is used to select each target platform whose publishable category is consistent with the target article category from the platform library, and each platform in the platform library pre-sets its own publishable article category as the publishable category;

[0102] The platform data acquisition module 605 is used to acquire, for each target platform, the reading time, click count and visit count of the published articles under the target article category on each target platform;

[0103] The platform scoring module 606 is used to score each target platform according to the obtained reading time, number of clicks and number of visits and their respective preset weights to obtain a platform score value;

[0104] The article publishing module 607 is used to publish the target article to a preset number of target platforms with high platform score rankings, wherein the larger the platform score of the target platform is, the higher its ranking is.

[0105] like Figure 7 As shown, further, the deep learning model can be pre-trained by the following modules:

[0106] The sample collection module 608 is used to collect a plurality of article samples in advance;

[0107] A category marking module 609 is used to mark the article category to which each of the plurality of article samples belongs;

[0108] A sample vectorization module 610 is used to perform vectorization processing on the plurality of article samples to obtain sample word vectors corresponding to each of the plurality of article samples;

[0109] The model classification processing module 611 is used to input the sample word vector corresponding to each article sample into the deep learning model to obtain the classification result output by the deep learning model;

[0110] A model parameter adjustment module 612 is used to adjust the model parameters of the deep learning model based on the classification result to minimize the error between the obtained classification result and the article category to which each article sample belongs;

[0111] The model determination completion module 613 is used to determine that the deep learning model training is completed if the error meets a preset condition.

[0112] like Figure 8 As shown, further, each platform in the platform library can pre-set the publishable categories through the following modules:

[0113] An article category acquisition module 614 is used to acquire the article categories of all historically published articles in each platform;

[0114] An article quantity statistics module 615 is used to count the number of articles corresponding to each acquired article category in each platform;

[0115] The article category screening module 616 is used to screen out the article categories whose number of articles exceeds a preset number threshold as the publishable categories of each platform.

[0116] Furthermore, the article publishing device may also include:

[0117] An instruction sending module, used for sending a data operation instruction to the SAN storage system, so that the SAN storage system converts the data operation instruction into a corresponding SCSI instruction;

[0118] An application information sending module, used for sending a shared memory address application message to determine a target shared memory in the SAN storage system;

[0119] The article sending module is used to send the target article to the SAN storage system to fill the target shared memory.

[0120] Furthermore, the preset number can be determined by the following modules:

[0121] A requested article acquisition module, used for acquiring the requested articles published by the requesting client of the target article within a first preset time period;

[0122] A first platform number acquisition module is used to obtain the number of publishing platforms for each article requested to be published;

[0123] A first platform number calculation module, used to calculate the average number of publishing platforms as the preset number according to the number of publishing platforms of each article requested to be published;

[0124] or

[0125] A historical article acquisition module is used to acquire historical articles that have been published to the platform within the latest preset second time period;

[0126] A second platform number acquisition module is used to obtain the number of publishing platforms for each of the historical articles;

[0127] The second platform number calculation module is used to calculate the average number of publishing platforms of each historical article as the preset number.

[0128] For the specific definition of the article publishing device, please refer to the definition of the article publishing method above, which will not be repeated here. Each module in the above-mentioned article publishing device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0129] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data involved in the article publishing method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an article publishing method is implemented.

[0130] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the article publishing method in the above embodiment are implemented, for example: Figure 2 Alternatively, when the processor executes the computer program, the functions of each module / unit of the article publishing device in the above embodiment are realized, for example Figure 6 The functions of modules 601 to 607 are shown in Figure 6. To avoid repetition, they will not be described here.

[0131] In one embodiment, a computer-readable storage medium is provided on which a computer program is stored. When the computer program is executed by a processor, the steps of the article publishing method in the above embodiment are implemented, for example Figure 2 Alternatively, when the computer program is executed by the processor, the functions of each module / unit of the article publishing device in the above embodiment are realized, for example Figure 6 The functions of modules 601 to 607 are shown in Figure 6. To avoid repetition, they will not be described here.

[0132] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0133] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0134] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for publishing an article, characterized in that: include: Get the target article to be published; Vectorize the target article to obtain an article word vector; Inputting the article word vector into a deep learning model to obtain a target article category output by the deep learning model, wherein the deep learning model is trained by a plurality of article samples with predetermined article categories; Selecting from the platform library each target platform whose publishable category is consistent with the target article category, each platform in the platform library pre-sets its own publishable article category as the publishable category; For each target platform, obtain the reading time, click count, and visit count of published articles under the target article category on each target platform; For each target platform, score each target platform according to the obtained reading time, number of clicks and number of visits and their respective preset weights to obtain a platform score value; the calculation formula of the platform score value is: y=a*h+b*k+c*m, where y is the platform score value, h is the reading time, k is the number of clicks, m is the number of visits, a is the preset weight of the reading time, b is the preset weight of the number of clicks, and c is the preset weight of the number of visits; Publishing the target article to a preset number of target platforms with high platform score rankings, wherein the larger the platform score of the target platform, the higher its ranking; The deep learning model is pre-trained by the following steps: Collect multiple article samples in advance; Marking the article categories to which each of the plurality of article samples belongs; Vectorize the multiple article samples to obtain sample word vectors corresponding to the multiple article samples; For each article sample, the sample word vector corresponding to each article sample is input into the deep learning model to obtain the classification result output by the deep learning model; Taking the classification result as a target, adjusting the model parameters of the deep learning model to minimize the error between the obtained classification result and the article category to which each article sample belongs; If the error meets the preset condition, it is determined that the deep learning model training is completed; Each platform in the platform library has pre-set publishable categories through the following steps: Get the article categories of all historically published articles in each platform; Count the number of articles corresponding to each of the obtained article categories on each platform; The article categories whose number of articles exceeds a preset number threshold are screened out as the publishable categories for each platform.

2. The article publishing method according to claim 1, characterized in that: After obtaining the target article to be published, it also includes: Sending a data operation instruction to the SAN storage system so that the SAN storage system converts the data operation instruction into a corresponding SCSI instruction; Sending a shared memory address request message to determine a target shared memory in the SAN storage system; The target article is sent to the SAN storage system to fill the target shared memory.

3. The article publishing method according to any one of claims 1 to 2, characterized in that: The preset number is determined by the following steps: Obtain the article requested to be published by the requesting client of the target article within a first preset time period; Get the number of publishing platforms for each article requested to be published; The average number of publishing platforms is calculated according to the number of publishing platforms of each article requested to be published as the preset number; or Get the historical articles that have been published to the platform within the last preset second period; Get the number of publishing platforms for each of the historical articles; The average value of the number of publishing platforms of each historical article is calculated as the preset number.

4. An article publishing device, characterized in that: include: A target article acquisition module is used to acquire the target article to be published; A vectorization processing module, used to vectorize the target article to obtain an article word vector; An article classification module, used for inputting the article word vector into a deep learning model to obtain a target article category output by the deep learning model, wherein the deep learning model is trained by a plurality of article samples with predetermined article categories; A target platform selection module is used to select each target platform whose publishable category is consistent with the target article category from the platform library, and each platform in the platform library pre-sets its own publishable article category as the publishable category; A platform data acquisition module is used to acquire, for each target platform, the reading time, click count, and visit count of published articles under the target article category on each target platform; The platform scoring module is used to score each target platform according to the obtained reading time, number of clicks and number of visits and their respective preset weights to obtain a platform score value; the calculation formula of the platform score value is: y=a*h+b*k+c*m, where y is the platform score value, h is the reading time, k is the number of clicks, m is the number of visits, a is the preset weight of the reading time, b is the preset weight of the number of clicks, and c is the preset weight of the number of visits; An article publishing module, used for publishing the target article to a preset number of target platforms with high platform score rankings, wherein the larger the platform score of the target platform, the higher the ranking; The deep learning model is pre-trained through the following modules: A sample collection module is used to collect multiple article samples in advance; A category marking module, used to mark the article category to which each of the plurality of article samples belongs; A sample vectorization module, used to perform vectorization processing on the plurality of article samples to obtain sample word vectors corresponding to the plurality of article samples; A model classification processing module is used to input the sample word vector corresponding to each article sample into the deep learning model for each article sample, so as to obtain the classification result output by the deep learning model; A model parameter adjustment module, used to adjust the model parameters of the deep learning model with the classification result as the target, so as to minimize the error between the obtained classification result and the article category to which each article sample belongs; A model determination completion module, used to determine that the deep learning model training is completed if the error meets a preset condition; Each platform in the platform library has pre-set publishable categories through the following modules: An article category acquisition module, used to acquire the article categories of all historically published articles on each platform; An article quantity statistics module is used to count the number of articles corresponding to each acquired article category in each platform; The article category screening module is used to screen out the article categories whose number of articles exceeds a preset number threshold as the publishable categories of each platform.

5. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the article publishing method according to any one of claims 1 to 3 is implemented.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the article publishing method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Word vector analysis-based online article belonging event detection method and device

    CN105975478A

  • Multiple-platform information sharing method and device

    CN106533900A