Information text generation method and device, equipment, medium

By automating the processing of announcement files for virtual product resources, extracting and integrating key and related data to generate information text, the problem of users being unable to obtain information in a timely manner is solved, achieving efficient and timely information delivery.

CN115964550BActive Publication Date: 2025-12-19SHENZHEN FUTU NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310023108.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-06
Publication Date
2025-12-19
Estimated Expiration
2043-01-06

AI Technical Summary

Technical Problem

In existing technologies, the information on virtual product resources is updated rapidly, making it difficult for users to obtain the latest information in a timely manner. Furthermore, manual editing limits the timeliness of information delivery.

Method used

By automating the acquisition of multiple announcement files of virtual product resources, extracting key data and identifying related data from other announcement files, and then performing fusion processing to generate information text.

Benefits of technology

It improves the efficiency of information text generation, enabling users to obtain relevant information in a timely manner, saving manpower and resources, and reducing generation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115964550B_ABST
    Figure CN115964550B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a method and device for generating information text, an electronic device and a computer readable medium, and the method comprises the following steps: obtaining a plurality of announcement files related to a virtual product resource; extracting data from a specified announcement file in the plurality of announcement files to obtain key data of the specified announcement file; determining associated data associated with the key data from other announcement files based on the key data, wherein the other announcement files are announcement files other than the specified announcement file; and performing fusion processing on the key data and the associated data to generate the information text. Through the method, the efficiency of generating the information text can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a method and device for generating information text, an electronic device, and a computer readable medium. BACKGROUND

[0002] In a virtual product resource market, the information of different virtual product resources is updated frequently, and therefore, it is necessary to timely deliver various information to market users so that the users can obtain the latest information of virtual product resources.

[0003] At present, various information is numerous, and in order to facilitate users to watch, it is necessary to sort and analyze various information, and the sorting and analyzing of information is mainly edited and written by artificial. Artificial editing limits the timeliness of information delivery, and often the stock information of the previous day can be published the next day, which causes the users to be unable to obtain the information of virtual product resources in time.

[0004] Therefore, how to improve the efficiency of generating information text so that users can obtain the information text of virtual product resources in time is a problem to be solved. SUMMARY

[0005] Embodiments of the present application provide a method and device for generating information text, an electronic device, and a computer readable medium, which can improve the efficiency of generating information text.

[0006] In a first aspect, embodiments of the present application provide a method for generating information text, comprising:

[0007] obtaining a plurality of announcement files related to virtual product resources published;

[0008] extracting data from a specified announcement file in the plurality of announcement files to obtain key data of the specified announcement file;

[0009] determining associated data associated with the key data from other announcement files based on the key data, wherein the other announcement files are announcement files other than the specified announcement file;

[0010] fusing the key data and the associated data to generate information text.

[0011] In a second aspect, embodiments of the present application provide a device for generating information text, comprising:

[0012] an obtaining unit configured to obtain a plurality of announcement files related to virtual product resources published;

[0013] extracting, by an extracting unit, key data of a specified announcement file from the specified announcement file of the plurality of announcement files;

[0014] determining, by a processing unit, associated data associated with the key data from other announcement files based on the key data, wherein the other announcement files are announcement files other than the specified announcement file;

[0015] fusing, by the processing unit, the key data and the associated data to generate the information text.

[0016] In a third aspect, an electronic device is provided, including one or more processors; and a memory storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the method for generating information text as described above.

[0017] In a fourth aspect, a computer readable medium is provided, and the computer readable medium stores a computer program, when the computer program is executed by a processor, the method for generating information text as described above is implemented.

[0018] In the technical solutions provided by the embodiments of the present application:

[0019] By obtaining the plurality of announcement files of the virtual product resource, the extraction and fusion of the key data and the associated data are automatically performed, and the information text is generated. The entire generation process is automatically completed. Compared with manual editing and manual data analysis in the related art, the efficiency of generating the information text is greatly improved, the information text can be obtained in time, and accordingly, the user can obtain the related information text in time for reading and reference. In addition, manpower and material resources are saved, and the cost of generating the information text is reduced.

[0020] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0021] Figure 1 is a schematic diagram of an implementation environment to which the embodiments of the present application can be applied;

[0022] Figure 2 is a flowchart of a method for generating information text according to an example embodiment of the present application;

[0023] Figure 3 is a flowchart of a method for generating information text according to another example embodiment of the present application;

[0024] Figure 4is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0025] Figure 5 is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0026] Figure 6 is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0027] Figure 7 is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0028] Figure 8 is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0029] Figure 9 is a block diagram of a condition judging associated transaction information according to an example embodiment of the present application;

[0030] Figure 10 is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0031] Figure 11 is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0032] Figure 12 is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0033] Figure 13 is a flow chart of a method for generating information text according to another example embodiment of the present application;

[0034] Figure 14 is a block diagram of a device for generating information text according to an example embodiment of the present application;

[0035] Figure 15 is a structural schematic diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application. DETAILED DESCRIPTION

[0036] The example embodiments will be described in detail herein with reference to the attached drawings. The following description is made with reference to the accompanying drawings in which like reference numerals refer to like elements, unless the context of use indicates otherwise. The following description of example embodiments is not representative of all embodiments consistent with the present application. Rather, it is merely an example of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.

[0037] The block diagrams shown in the drawings are merely functional entities, and do not necessarily have to correspond to physically independent entities. That is, the functional entities can be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0038] The flowcharts shown in the drawings are merely exemplary illustrations, and do not necessarily include all contents and operations / steps, nor necessarily executed in the described order. For example, some operations / steps can be further decomposed, and some operations / steps can be combined or partially combined, so that the actual execution order can be changed according to the actual situation.

[0039] It should also be noted that "multiple" referred to in the present application means two or more. The association relationship of "and / or" describes the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.

[0040] The information text generation method and device, electronic equipment and computer readable medium provided by the embodiments of the present application relate to the technical field of computers, which will be described in detail below.

[0041] Please refer to Figure 1 , Figure 1 is a schematic diagram of an implementation environment involved in the present application. As Figure 1 shown, the implementation environment can include a local service device 110 (referred to as a service device), a crawling application program 120, a local database 130 and a cloud database 140. Among them, the cloud database 140 can save announcement files related to the publication of virtual product resources. These announcement files can be published by a specific service party within a specific time, and each announcement file can include data changes, holder changes, etc. for virtual product resources, which are not limited by the embodiments of the present application. The local database 130 can be a database in the local service device 110, or a database connected with the local service device 110. The local service device 110 can access the local database 130 to obtain specific data or files from the local database 130. The local service device 110 can be a computer for service, which can provide computing power service. The crawling application program 120 can be a crawling program written in a specific language. After running the crawling application program 120, the announcement files saved in the cloud database 140 can be crawled, and the crawled announcement files can be saved to the local database 130. The crawling application program 120 can run in the local service device 110, or run in a service device accessible by the local service device 110, which is not limited by the embodiments of the present application.

[0042] It should be noted that in the embodiments of the present application, the virtual product resource includes but is not limited to stocks, futures, options, securities, virtual currencies or foreign exchange, etc.

[0043] Figure 2 is a flow chart of a method for generating an information text according to an exemplary embodiment. As shown in Figure 2 , in an exemplary embodiment, the method can include steps S210 to S240, and the embodiments of the present application can be embodied by the local service device 110 as shown in Figure 1 . Among them, steps S210 to S240 are described in detail as follows:

[0044] Step S210: Obtain a plurality of announcement files related to the virtual product resource published.

[0045] Among them, the plurality of announcement files can be published by a specific service party, and the service device can download the plurality of announcement files from the cloud database of the service party publishing the announcement files by running a crawling application, so as to save them in the local database. That is, the plurality of announcement files can be obtained from the local database. Among them, the crawling application can be written in Python (spider).

[0046] In the embodiments of the present application, the virtual product resource can be Hong Kong stocks or US stocks. The service party publishing the announcement files related to Hong Kong stocks is different from the service party publishing the announcement files related to US stocks, and the announcement files of the two are also different.

[0047] In the embodiments of the present application, when the virtual product resource is Hong Kong stocks, each announcement file in the local database can include timestamp information, which can represent the publishing time of the announcement file, that is, when the service party publishes the announcement file. And the service device can access the cloud database of the service party publishing the announcement files related to Hong Kong stocks (hereinafter referred to as Hong Kong stock service party) at a specified time point, and crawl the announcement files published within a specified time range. Among them, the specified time point and the specified time range can be designed by those skilled in the art, for example, the specified time point can be 09:01 every day, and the specified time range can be 00:00 to 09:01 of the same day, and the embodiments of the present application are not limited. Exemplarily, the Hong Kong stock service party publishes a plurality of announcement files related to Hong Kong stocks on January 2, and the service device can access the cloud database of the Hong Kong stock service party at 09:01 on January 2 in the morning, and crawl the announcement files with the timestamp in the interval of 00:00 to 09:01 through the crawling application, and download and save them to the local database.

[0048] It should be noted that the crawling application can identify the type of each announcement file when crawling the announcement files related to Hong Kong stocks, download the announcement files of the type of increase or decrease holding to the local database, and other types of announcement files can not be downloaded. The increase or decrease holding type is used to represent the existence of buying and selling of stocks in the announcement file.

[0049] In the embodiment of the application, when the virtual product resource is US stocks, the service device can run the crawling application to access a service party (hereinafter referred to as US stock service party) that publishes announcement files related to US stocks. Specifically, the US stock service party can be accessed uninterruptedly to crawl newly published announcement files. If no newly published announcement file is crawled, the crawling application can enter a dormant state, and the dormant duration can be configured by a person skilled in the art, for example, one minute. After the crawling application crawls the newly published announcement file, it can be saved to the local database, and each newly published announcement file saved to the local database is marked, so that each newly published announcement file contains a mark state, which can represent that the corresponding announcement file has not been processed by the information text generation processing. When the service device obtains the announcement file from the local database, it can detect whether each announcement file includes the mark state, and obtain the announcement file including the mark state, that is, the announcement file that has not been processed by the information text generation processing.

[0050] Step S220: data extraction is performed on the specified announcement file in the plurality of announcement files to obtain key data of the specified announcement file.

[0051] The specified announcement file can be any one of the plurality of announcement files, or the announcement file including the most important or most data in the plurality of announcement files, and the application embodiment is not limited. The specific content of the key data can be designed by a person skilled in the art, and a keyword list can be obtained, which contains a plurality of table item data, such as transaction date, company name, shareholder name, stock number, average price, position ratio before and after action, latest holding number and supplementary explanation, etc., so that the subject, object and value corresponding to each table item data can be identified and obtained in the announcement file. In the embodiment of the application, the plurality of table item data contained in the keyword list can be adaptively modified according to actual needs.

[0052] It should be noted that the service device can identify and obtain the content corresponding to the associated table item data in the specified announcement file according to the plurality of table item data in the keyword list. For the table item data that cannot obtain the content in the specified announcement file, the table item data that cannot obtain the content can be subjected to default processing, that is, a specific default character is filled in, and the default character can identify that the content corresponding to the table item data is empty, for example, the default character can be “ / ” or “N / A” etc.

[0053] In the embodiments of the present application, the service device can determine the specified announcement file in sequence according to the publishing time of the announcement file downloaded into the local database, and then extract the key data from the specified announcement file. For example, the publishing time of the announcement file 1 is 08:30, the publishing time of the announcement file 2 is 8:32, and the publishing time of the announcement file 3 is 8:29. The sequence of the three announcement files determined as the specified announcement file is announcement file 3, announcement file 1 and announcement file 2.

[0054] Step S230: determining the associated data associated with the key data from other announcement files based on the key data; wherein the other announcement files are the announcement files other than the specified announcement file.

[0055] The service device can also obtain the corresponding data in each of the other announcement files according to the multiple table item data in the keyword list.

[0056] Optionally, if the table item data of the content can be obtained in a certain announcement file of the other announcement files, and the similarity between the table item data of the content and the key data is greater than the preset similarity threshold, it can be determined that the announcement file is associated with the specified announcement file, and the content obtained by the announcement file is determined as the associated data.

[0057] For example, the preset similarity threshold is set to 80%, and the multiple table item data in the keyword list are: transaction date, company name, shareholder name, stock quantity, average price, position ratio before and after action, latest holding quantity and supplementary explanation. Each table item data corresponds to the content obtained in the specified announcement file, and each table item data corresponds to the content obtained in the announcement file 4 (a certain announcement file of the other announcement files) except the supplementary explanation. At this time, the similarity between the content obtained in the announcement file 4 and the key data is 7 / 8=87.5%, which is greater than the preset similarity threshold. Therefore, it can be considered that the content obtained in the announcement file 4 is the associated data associated with the key data.

[0058] In this case, the key data and the associated data can be the data of the same company or shareholder trading stocks in different transaction dates; can be the data of different companies or shareholders trading the same stock in the same transaction date; can be the data of different shareholders of the same company trading stocks in the same transaction date, and the like. The embodiments of the present application do not limit the specific content associated with the key data and the associated data. That is, for an event, such as the change of stocks, the holding situation of companies and shareholders, and the like, the information thereof can be disclosed in different announcement files. Therefore, detecting the associated data associated with the key data can obtain the relevant information to ensure that more comprehensive information for the event is obtained.

[0059] Optionally, the key data can include key transaction information, one transaction information can include multiple transaction items, and the multiple transaction items can include transaction date, transaction subject (such as stocks of the transaction), actor (such as a company or a shareholder), number of shares, and total transaction value. If a certain announcement file in other announcement files has the same transaction information as the key transaction information, and at least one of the announcement file and the designated announcement file includes the designated detail description information, it can be determined that the announcement file is associated with the designated announcement file, and the transaction information is the associated data associated with the key data. The designated description information can be set by those skilled in the art.

[0060] In the embodiments of the application, each announcement file can be used as a designated announcement file or an associated announcement file. In order to avoid the same event being reported multiple times, it can be set that after an announcement file is used as a designated announcement file, it can no longer be used as an associated announcement file.

[0061] Step S240: Perform fusion processing on the key data and the associated data to generate the information text.

[0062] The service device can identify the key data, obtain the information text generation template matched with the key data, and then fill the key data and the associated data into the information text generation template to generate the information text.

[0063] Specifically, in the embodiments of the application, the multiple announcement files are crawled and fused once based on the first time threshold, and then are crawled and fused again after the first time threshold. The first time threshold is the interval between the two times of crawling and fusion processing of the service device, and the time length thereof can be configured by those skilled in the art.

[0064] For an announcement file, when the announcement file is used as a designated announcement file, if there is no associated announcement file associated with the announcement file in the multiple announcement files, the associated announcement file of the announcement file can be searched for after the service device crawls the multiple announcement files again, and then fusion processing is performed. If the associated announcement file of the announcement file is still not found at the time of the next fusion processing, the announcement file continues to search for whether there is an associated announcement file associated with the announcement file in the multiple announcement files crawled again, and so on, until the associated announcement file of the announcement file is found.

[0065] For an announcement file, if the associated announcement file has been found in the current multiple announcement files or has been used as an associated announcement file of a certain designated announcement file, the announcement file is no longer used as an associated announcement file after the service device crawls the multiple announcement files again.

[0066] In the embodiment of the present application, when the virtual product resource is a Hong Kong stock, the service device can perform crawling and fusion processing every first time threshold. The first time threshold can be 2 minutes. For example, after the service device extracts the key data and the associated data from the first batch of announcement files, the service device performs fusion processing on the key data and the associated data to generate one or more information files. After 2 minutes, for the announcement files in the first batch of announcement files for which the associated announcement files are not found, the associated announcement files can be searched in the second batch of announcement files. If the associated announcement files of the announcement files exist in the second batch of announcement files, fusion processing is performed to generate information text. If the associated announcement files of the announcement files still do not exist in the second batch of announcement files, the associated announcement files of the announcement files are searched in the third batch of announcement files.

[0067] In the embodiment of the present application, when the virtual product resource is a US stock, the information of the actor and the company can be included in each announcement file. The service device can regard the announcement files of the same actor and company as the same group of announcement files. When two announcement files are a group, the service device can extract the key data of the announcement file published first, extract the associated data of the other announcement file, and perform fusion processing on the two announcement files to obtain merged data. When the service device detects a new announcement file belonging to the group, the merged data can be fused with the corresponding associated data in the announcement file. This is repeated. When a second time threshold is exceeded, the service device does not detect an announcement file belonging to the group and not having been fused in the local database. The service device can output the merged data obtained by fusing the announcement files of the group, and fill the merged data into an automatic template to generate an information file. The second time threshold can be 30 minutes.

[0068] In the embodiment of the present application, after the information text is generated, the service device can perform multiple verifications on the content in the information text before publishing the information text. The verifications include whether the data source and the data are correct. If the data source and the data are incorrect, error correction is performed, and the corresponding content in the information text is updated. Alternatively, the information text can be audited and corrected by a person. The embodiment of the present application is not limited in this regard.

[0069] In the embodiment of the present application, after the information text is generated, the generated information text can be stored in a database, that is, added to an information database. The information database stores information texts to be published.

[0070] In the embodiment of the present application, for a US stock, when the announcement files belonging to a group are not obtained again after the second time threshold is exceeded after the information text is generated, the service device can download new announcement files from a US stock service provider through a crawler application, and save the new announcement files to a local database.

[0071] Through the method, on one hand, after the service device acquires the plurality of announcement files of the virtual product resource, the service device can automatically extract and fuse the key data and the associated data, thereby automatically generating the information text, and the whole process is automatically completed, compared with manual editing and manual data analysis, the method improves the efficiency of generating the information text, and is beneficial to enabling the user to timely acquire the information text; on the other hand, the service device extracts the key data and the associated data from the plurality of announcement files, which can ensure that more complete disclosed information is obtained for a certain event, and the finally generated information file is more comprehensive. In this way, the user can acquire more reliable and comprehensive information while acquiring the related information in time.

[0072] Please refer to Figure 3 , Figure 3 The flowchart of the method for generating the information text is shown for another exemplary embodiment of the present application. As shown in Figure 3 , in an exemplary embodiment, the method for generating the information text can be implemented by the local service device 110 as shown in Figure 1 , and includes steps S210 to S230 and steps S310 to S320.

[0073] The steps S310 to S320 will be described in detail as follows:

[0074] Step S310: Based on the key data, an information text generation template matched with the key data is acquired.

[0075] The service device can store a plurality of information text generation templates, and after the key data is obtained, the service device can search for an information text generation template matched with the key data according to the key data. The matching can mean that a plurality of table item data in the key data is the same as the table item data of a certain information text generation template, or is contained in the table item data of a certain information text generation template. The information text generation template can include a title target and a text template.

[0076] Optionally, the information text generation template can include the calculation of the average price, the total value, etc., and the service device can perform the corresponding calculation according to the key data and the associated data, and fill the obtained result into the information text generation template.

[0077] Exemplarily, a certain information text generation template is as follows:

[0078] Title template: Stock name (company name, mapped by stock code) is increased by XX (number of shares) shares of shares by institution name / senior manager (shareholder / institution / senior manager name), with a value of about XX million (average price * number of shares) Hong Kong dollars.

[0079] Body template: On XX, XX, according to the document disclosed by the Stock Exchange on XX, XX, the institution name / senior management (shareholder / institution / senior management name, logic same as the title) increased the stock code (company name, similar to the editor's stock code) XX (number of shares) shares on XX, XX, at an average price of XX (average price) Hong Kong dollars, with a total value of about XX million (average price * number of shares) Hong Kong dollars. After the increase, the institution name / senior management (shareholder / institution / senior management name, logic same as the title) holds XX (the latest number of shares) shares, and the good position ratio increases from XX% (the position ratio before the action) to XX% (the position ratio after the action). Supplementary information: XX (the content of the supplementary information crawled; if this item is blank, it will not be crawled and this section will not be generated).

[0080] Step S320: Fill the key data and the associated data into the information text generation template to obtain the information text.

[0081] That is, the service device can fill the content corresponding to each table item data in the key data and the associated data into the same position of the table item data in the information text generation template. The information text generation template may also involve calculations of the content corresponding to a specific number of table item data. The service device can perform the corresponding calculations and fill the calculation results into the corresponding positions to obtain the information text.

[0082] It should be noted that steps S210 to S230 have been described in detail in the embodiment shown in Figure 2 , and will not be repeated here.

[0083] By this method, the key data and the associated data can be filled into the information text generation template, so that the finally generated information text is more standardized, and the readability of the information text is improved.

[0084] Please refer to Figure 4 , Figure 4 the flowchart of the information text generation method shown in another exemplary embodiment of the present application. As Figure 4 shown, in an exemplary embodiment, the information text generation method can be implemented by the local service device 110 as Figure 1 shown, including steps S210 to S230 and steps S310, S410 to S430.

[0085] The steps S410 to S430 will be described in detail below:

[0086] Step S410: Merge the key data and the associated data to obtain merged data.

[0087] The key data and the associated data can include the same table data, and the same table data can be combined.

[0088]

[0089] Table 1

[0090]

[0091] Table 2

[0092] After the combination, the combined data can be obtained, as shown in Table 3.

[0093]

[0094] Table 3

[0095] Step S420: obtaining the associated screenshot image of the key data and the associated screenshot image of the associated data.

[0096] The key data and the associated data are extracted from the corresponding announcement file, and the source of the extraction can be text, table or picture. The key data and the associated data are mainly in the form of text, and some important data can be displayed to the user in the form of picture. Therefore, the associated screenshot image can be obtained. The method of obtaining the associated screenshot image can be to use a headless browser to take a screenshot at a specific position in the announcement file, thereby obtaining the associated screenshot image.

[0097] Step S430: filling the combined data and the obtained associated screenshot image into the information text generation template to obtain the information text.

[0098] The information text generation template also includes a picture space, and the screenshot of specific content can be inserted at the corresponding position to generate the information text.

[0099] It should be noted that steps S210 to S230 and steps S310 have been described in detail in the embodiments shown in Figure 2 and Figure 3 , and will not be repeated here.

[0100] Through the method, the associated screenshot image can be included in the information text, so that the information disclosed in the announcement file can be more fully displayed.

[0101] Please refer to Figure 5 , Figure 5 the flowchart of the information text generation method shown in another exemplary embodiment of the present application. As Figure 5As shown in the example embodiment, the information text generation method can be implemented by the local service device 110 as shown in Figure 1 including step S210, steps S510 to S530 and steps S230 to S240.

[0102] The steps S510 to S530 are described in detail as follows:

[0103] Step S510: obtaining a keyword list; wherein the keyword list contains a plurality of table item data.

[0104] The keyword list can be set by those skilled in the art, and a plurality of table item data can be set according to actual needs.

[0105] Step S520: determining table item data associated with a specified announcement file in the plurality of announcement files from the keyword list.

[0106] The contents included in the specified announcement file can correspond to different table item data, and the service device can count the table item data required by the specified announcement file (i.e. the table item data associated with the specified announcement file).

[0107] Step S530: data extraction on the specified announcement file based on the determined table item data, to obtain key data of the specified announcement file.

[0108] The determined table item data is associated with the specified announcement file, so that the corresponding content can be obtained for each determined table item data. For the table item data for which the content cannot be obtained in the specified announcement file, the table item data for which the content cannot be obtained can be processed by default, and the default processing is to fill in a specific default character.

[0109] It should be noted that steps S210, S230 to S240 have been described in detail in the embodiment as shown in Figure 2 , and will not be described here.

[0110] According to the method, the key data is obtained from the specified announcement file according to the plurality of table item data in the keyword list, so that the obtained key data information is more comprehensive.

[0111] Please refer to Figure 6 , Figure 6 the flowchart of the information text generation method of another example embodiment of the present application. As shown in Figure 6 , in an example embodiment, the information text generation method can be implemented by the local service device 110 as shown in Figure 1 including steps S210 to S220, steps S610 to S630 and step S240.

[0112] In the embodiments of the present application, the other announcement files are multiple.

[0113] The steps S610 to S630 will be described in detail as follows.

[0114] Step S610: determining the key transaction information corresponding to the key data based on the key data.

[0115] The key data can include the key transaction information, one transaction information can include multiple transaction items, and the multiple transaction items can include the transaction date, the transaction subject (such as the stock of the transaction), the actor (such as the company or the shareholder), the number of shares, and the total transaction value. The service device can extract the key transaction information from the key data in the designated announcement file according to the multiple transaction items in the key data.

[0116] Step S620: detecting whether the multiple other announcement files contain the associated transaction information matching the key transaction information respectively.

[0117] The multiple other announcement files can include other transaction information, and the service device can detect whether the associated transaction information matching the key transaction information exists in the other transaction information.

[0118] Step S630: if the associated transaction information matching the key transaction information is detected, taking the associated transaction information as the associated data.

[0119] The transaction represented by the associated transaction information can be the same transaction as the transaction represented by the key transaction information.

[0120] It should be noted that the steps S210 to S220 and S240 have been described in detail in the embodiments shown in Figure 2 , and will not be described here.

[0121] Through the method, the service device can detect the same transaction of the transaction in the other announcement file and the designated announcement file, prevent the same transaction from being accumulated, and improve the accuracy of data statistics.

[0122] Please refer to Figure 7 , Figure 7 the flowchart of the information text generation method shown in another exemplary embodiment of the present application. As shown in Figure 7 , in an exemplary embodiment, the information text generation method can be implemented by the local service device 110 shown in Figure 1 , including steps S210 to S220, S610, S710 to S730, S630, and S240.

[0123] In the embodiments of the present application, the key transaction information includes a plurality of types of first transaction items.

[0124] The steps S710 to S730 are described in detail as follows:

[0125] Step S710: For each other announcement file, it is detected whether the other announcement file contains second transaction items respectively matched with the plurality of types of first transaction items.

[0126] The plurality of types of first transaction items are transaction date, transaction subject, actor, stock quantity and total transaction value. There are other transactions in the other announcement file, and the other transactions include a plurality of second transaction items, which are respectively identical to the types of the plurality of first transaction items, and the contents of each transaction item can be different. If the contents of the transaction date, the transaction subject, the stock quantity and the total transaction value of the plurality of first transaction items and the plurality of second transaction items are identical, and the actors are different, it is indicated that the two transactions are initiated by different persons, and can be regarded as the same transaction, that is, the plurality of first transaction items are matched with the plurality of second transaction items.

[0127] For example, the key transaction information represents that the actor 1 bought 10000 shares of XX stock on December 1, 11:00 am, with a total value of 1 million yuan; and in the other announcement file, there is a transaction information representing that the actor 2 sold 10000 shares of XX stock on December 1, 11:00 am, with a total value of 1 million yuan. Then it can be determined that the two transactions are actually the same transaction.

[0128] Step S720: If it is detected that the other announcement file contains the second transaction items respectively matched with the plurality of types of first transaction items, a detection result for representing that the other announcement file contains the associated transaction information matched with the key transaction information is obtained.

[0129] The associated transaction information is the transaction information represented by the plurality of second transaction items.

[0130] Step S730: If it is detected that the other announcement file does not contain the second transaction items matched with any of the plurality of types of first transaction items, a detection result for representing that the other announcement file does not contain the associated transaction information matched with the key transaction information is obtained.

[0131] It should be noted that the steps S210 to S220, the step S240 and the steps S610 to S630 have been described in detail in the embodiments shown in FIGS. 2 and 6 respectively, and will not be described herein. Figure 2 and Figure 6

[0132] ​Through the method, the same transaction can be determined from different actors, same transaction date, same transaction target, same number of shares and same total transaction value, repeated calculation of the same transaction can be avoided, and accuracy and reliability of the final generated information text can be improved.

[0133] Please refer to Figure 8 , Figure 8 A flow chart of the method for generating information text is shown for another exemplary embodiment of the present application. As shown in Figure 8 , in an exemplary embodiment, the method for generating information text can be implemented by the local service device 110 as shown in Figure 1 , and includes steps S210 to S220, steps S610 to S620, steps S810 to S820 and step S240.

[0134] In the present embodiment, steps S810 to S820 are described in detail as follows:

[0135] Step S810: If it is detected that there are multiple other announcement files corresponding to the associated transaction information matching the key transaction information, it is detected whether there is at least one announcement file containing the specified detail description information in the multiple other announcement files and the specified announcement file.

[0136] The specified description information can be set by those skilled in the art, and can include further information about the interests of a child under 18 years old and / or a spouse, further information about the interests of a body controlled by a major shareholder, further information about the interests jointly held by a major shareholder and another person, further information about the interests jointly held by a director and another person, or further information about the interests of a body controlled by a director.

[0137] Step S820: If it is detected that there is at least one announcement file containing the specified detail description information in the multiple other announcement files and the specified announcement file, the associated transaction information matching the key transaction information contained in the multiple other announcement files is taken as the associated data.

[0138] Alternatively, the other announcement files corresponding to the associated transaction information matching the key transaction information can be one and more than one. If there is at least one announcement file containing the specified detail description information in the one and more than one other announcement files and the specified announcement file, the associated transaction information matching the key transaction information contained in the one and more than one other announcement files is taken as the associated data.

[0139] For example, if it is determined that the same transaction is included in the specified announcement document 3 and the announcement document 5 and the announcement document 6, and further information about the interests of the children under 18 years old and / or the spouse is included in the specified announcement document 3, it can be determined that the specified announcement document 3 and the announcement document 5 and the announcement document 6 are associated, and the associated transaction information about the same transaction in the announcement document 5 and the announcement document 6 can be used as the associated data.

[0140] In the embodiments of the present application, in combination with the embodiments shown in Figure 7 , it can be provided that after it is determined that the same transaction as the transaction represented by the key transaction information is included in other announcement documents, it is further determined that at least one of the other announcement documents and the specified announcement document includes the specified detailed description information, and then it is determined that the transaction information representing the transaction in the other announcement document is the associated transaction information, which can be used as the associated data. The number of the other announcement documents can be one or more than one.

[0141] Please refer to Figure 9 , Figure 9 for the condition block diagram for determining the associated transaction information shown in an exemplary embodiment of the present application. For example, there is a transaction 1 in the specified announcement document, and among the transactions included in the other announcement documents, the transaction satisfying condition 1 with the transaction 1 can be considered as the same transaction as the transaction 1, and the condition 1 is that the transaction date is the same, the transaction subject is the same, the actor is different, the number of shares is the same, and the total transaction value is the same. Further, the two or more than two announcement documents including the transaction 1 (i.e. the specified announcement document and at least one other announcement document) also need to satisfy condition 2, and then it is determined that the transaction 1 is disclosed by multiple announcement documents. The condition 2 is that among the two or more than two announcement documents including the transaction 1, at least one of the announcement documents includes at least one of the further information in the specified detailed description information. In this way, the transaction information about the transaction 1 in the other announcement documents including the transaction 1 can be considered as the associated transaction information.

[0142] It should be noted that the steps S210 to S220, the step S240, and the steps S610 to S620 have been described in detail in the embodiments shown in Figure 2 and Figure 6 , and will not be described here.

[0143] Through the method, the specified announcement document and the other announcement document having the same transaction can be considered as the associated transaction information, i.e. the associated data, in the other announcement document after it is determined that at least one of the announcement documents includes the specified detailed description information. In this way, the transaction information needs to satisfy certain conditions to be considered as the associated transaction information, which can improve the reliability of determining the associated transaction information.

[0144] Referring to Figure 10 , Figure 10 A flowchart of a method for generating information text is shown for another exemplary embodiment of the present application. As shown in Figure 10 , in an exemplary embodiment, the method for generating information text can be implemented by the local service device 110 as shown in Figure 1 , including steps S1010 and steps S220 to S240.

[0145] Step S1010 will be described in detail as follows:

[0146] Step S1010: obtaining a plurality of announcement files with a marked state from a designated storage area; wherein the marked state is used to represent that the announcement files have not been processed for information text generation, and the designated storage area stores a plurality of announcement files related to virtual product resources collected.

[0147] Step S1010 can be an execution step for US stocks. After the crawling application crawls newly published announcement files related to US stocks, the announcement files can be saved to a designated storage area (which can be a local database), and each newly saved announcement file in the designated storage area is marked so that each newly saved announcement file contains a marked state. When the service device obtains the announcement files from the local database, it can obtain the announcement files containing the marked state, i.e., the announcement files that have not been processed for information text generation.

[0148] Optionally, after generating one information text, the service device can delete the marked state of the announcement file in the local database used to generate the information text, i.e., the announcement file has participated in the information text generation process.

[0149] It should be noted that steps S220 to S240 have been described in detail in the embodiment as shown in Figure 2 , and will not be described here.

[0150] Through this method, the service device can obtain announcement files that have not been processed. If an abnormal exit of the program occurs during the information text generation process, causing the task state to be interrupted, the marked state of the announcement file will not disappear. In this way, it can prevent the announcement files from being missed, and ensure the data comprehensiveness of the finally generated information text.

[0151] Referring to Figure 11 , Figure 11 A flowchart of a method for generating information text is shown for another exemplary embodiment of the present application. As shown in Figure 11 , in an exemplary embodiment, the method for generating information text can be implemented by the local service device 110 as shown in Figure 1The local service device 110 shown implements, including steps S1110 to S1120, steps S1010 and steps S220 to S240.

[0152] The steps S1110 to S1120 are described in detail as follows:

[0153] Step S1110: The crawler process is timed to crawl the publishing website to collect a plurality of announcement files related to virtual product resources published in real time by the publishing website.

[0154] The service device can access the cloud database of the service party publishing a plurality of announcement files related to virtual product resources through the publishing website, thereby downloading a plurality of announcement files published in real time.

[0155] Step S1120: Store the collected plurality of announcement files in a designated storage area.

[0156] Optionally, for Hong Kong stocks, the announcement file of the announcement file type of the holding type can be downloaded to the local database.

[0157] Optionally, for US stocks, the announcement file can be continuously downloaded from the cloud database, and if no new announcement file is downloaded, the crawling application can enter a dormant state, and the dormant duration can be configured by a person skilled in the art, for example, one minute.

[0158] It should be noted that steps S1010 and steps S220 to S240 have been described in detail in the embodiments shown in Figure 10 and Figure 2 , which will not be repeated here.

[0159] Through this method, the announcement files in the local database can be updated, so that the local database and the cloud database keep data synchronization, and the timeliness of the finally generated information text is higher.

[0160] Please refer to Figure 12 , Figure 12 the flowchart of the information text generation method shown in another exemplary embodiment of the present application. As shown in Figure 12 , in an exemplary embodiment, the information text generation method can be implemented by the local service device 110 shown in Figure 1 , and the information text generation method can be applied to the case where the virtual product resource is Hong Kong stocks, including steps S1210 to S1280.

[0161] The steps S1210 to S1280 are described in detail as follows:

[0162] Step S1210: Obtain the announcement file list in the cloud database.

[0163] The announcement file list includes announcement files published by the Hong Kong stock service party in real time.

[0164] Step S1220: Determine whether the announcement file in the announcement file list is an announcement file of the type of increase / decrease of holding.

[0165] If yes, save the announcement file of the type of increase / decrease of holding to the local database, and perform step S1240; if no, perform step S1230.

[0166] Step S1230: Filter the announcement file which is not of the type of increase / decrease of holding.

[0167] Step S1240: Obtain the specified announcement file, and extract the key data of the specified announcement file.

[0168] Step S1250: Determine whether there is associated data associated with the key data.

[0169] If yes, perform step S1260; if no, perform step S1270.

[0170] Step S1260: Merge the key data and the associated data to obtain merged data.

[0171] Step S1270: Obtain the associated screenshot image.

[0172] Optionally, for step S1250, if there is no associated data associated with the key data, obtain the associated screenshot image of the key data.

[0173] Optionally, for step S1250, if there is associated data associated with the key data, obtain the associated screenshot image of the key data and the associated screenshot image of the associated data.

[0174] Step S1280: Fill into the information text generation template to obtain the information text.

[0175] Optionally, for step S1250, if there is no associated data associated with the key data, fill the key data and the associated screenshot image of the key data into the information text generation template to obtain the information text.

[0176] Optionally, for step S1250, if there is associated data associated with the key data, fill the merged data generated in step S1260, the associated screenshot image of the key data, and the associated screenshot image of the associated data into the information text generation template to obtain the information text.

[0177] It should be noted that the detailed implementation process of steps S1210 to S1280 has been described in detail in the foregoing embodiments, and will not be repeated here.

[0178] Through the method, the obtained announcement file can be automatically processed to generate the information text, and the efficiency of generating the information text is improved.

[0179] Please refer to Figure 13 , Figure 13 The flowchart of the information text generation method shown in another exemplary embodiment of the present application. As Figure 13 shown, in an exemplary embodiment, the information text generation method can be implemented by the local service device 110 as Figure 1 shown, and the information text generation method can be applied to the case where the virtual product resource is a US stock, including steps S1301 to S1310.

[0180] The announcement file related to the US stock in the embodiments of the present application is referred to as a serialized file.

[0181] The steps S1301 to S1310 will be described in detail as follows:

[0182] Step S1301: reading the announcement file in the local database.

[0183] Step S1302: obtaining the announcement file with the marked state from the local database to obtain an announcement file list.

[0184] Step S1303: reading a plurality of groups of announcement files in the cache.

[0185] Among them, each announcement file in the announcement file list includes the information of the executor and the company, and the announcement files with the same executor and company can be regarded as the same group of announcement files. The cache stores different groups of announcement files, and the announcement file list can be compared with the different groups of announcement files in the cache to compare whether the information of the executor and the company included in each announcement file is the same.

[0186] Step S1304: adding the target announcement file to the target group with the same executor and company.

[0187] Among them, the target announcement file is any one of the announcement files in the announcement file list, and it can be judged whether there is a target group with the same information of the executor and the company as the target announcement file in the plurality of groups already existing in the cache, if yes, the target announcement file is added to the target group; if not, a target group can be established, and the target announcement file is added to the target group.

[0188] After this step, the cache can include multiple groups of announcement files, and the execution person and company information between any two groups of announcement files are different.

[0189] Step S1305: determining whether the non-updating duration of the target group exceeds a second duration threshold.

[0190] The non-updating duration of the target group refers to the duration that no new announcement file is added to the target group. If no, step S1306 is performed; if yes, step S1307 is performed.

[0191] Step S1306: storing the target group into the cache.

[0192] When the next announcement file list is obtained, step S1303 can be performed.

[0193] It should be noted that if the target group includes only one announcement file, and the non-updating duration of the target group exceeds the second duration threshold, the target group can be stored into the cache, or the single announcement file in the target group can be processed to generate the information text, or the target group can be deleted. The specific processing method can be designed by those skilled in the art, and the embodiments of the present application are not limited.

[0194] Step S1307: extracting the key data and the associated data in the target group, and performing merging processing to obtain the merged data.

[0195] For the US stock, any one of the announcement files in the target group can be determined as the specified announcement file, and the other announcement files are the associated announcement files, so as to obtain the key data and the associated data, perform merging processing, and obtain the merged data.

[0196] Step S1308: filling the merged data, the associated screenshot image of the key data, and the screenshot image of the associated data into the information text generation template to generate the information text.

[0197] Optionally, only the associated screenshot image in the announcement file with the latest release date in the target group can be filled into the information text generation template.

[0198] In the embodiments of the present application, for the US stock, the final situation of the stock held by a certain execution person or company can be counted, including the stock code, the transaction time, the holding increase situation (displayed as plus), the holding decrease situation (displayed as minus), the total change quantity, and the total change amount. The total change quantity or the total change amount can be set to increase or decrease. If the calculated value symbol is positive, it is an increase. If the calculated value symbol is negative, it is a decrease.

[0199] It should be noted that if there is the same transaction in two or more announcement files in the target group, it can be identified to avoid repeated calculation.

[0200] Step S1309: Add the information text to the information database.

[0201] Step S1310: Access the cloud server of the US stock service provider through the crawling application and download the newly released announcement files to the local database.

[0202] After completing step S1310, step S1302 can be executed to process the next batch of announcement documents.

[0203] It should be noted that the detailed implementation process of steps S1301 to S1310 has been described in detail in the foregoing embodiments, and will not be repeated here.

[0204] This method automates the processing of acquired announcement files to generate news text, thus improving the efficiency of news text generation.

[0205] Figure 14 This is a schematic diagram illustrating the structure of an information text generation apparatus according to an exemplary embodiment. For example... Figure 14 As shown, in an exemplary embodiment, the information text generation apparatus includes:

[0206] The acquisition unit 1410 is used to acquire multiple announcement files related to the published virtual product resources.

[0207] Extraction unit 1420 is used to extract data from a specified announcement file among multiple announcement files to obtain the key data of the specified announcement file.

[0208] Processing unit 1430 is used to determine associated data related to the key data from other announcement files based on the key data; wherein, other announcement files are announcement files other than the specified announcement file.

[0209] The processing unit 1430 is also used to fuse key data and related data to generate information text.

[0210] In one embodiment of this application, based on the aforementioned scheme, an information text generation template matching the key data is obtained; the key data and related data are then filled into the information text generation template to obtain the information text.

[0211] In one embodiment of this application, based on the aforementioned scheme, the processing unit 1430 is further configured to merge key data and related data to obtain merged data; the acquisition unit 1410 is further configured to acquire related screenshot images of key data and related screenshot images of related data; and the filling unit 1440 is configured to fill the merged data and the acquired related screenshot images into the information text generation template to obtain information text.

[0212] In an embodiment of the present application, based on the foregoing scheme, the acquisition unit 1410 is further configured to acquire a keyword list, wherein the keyword list contains a plurality of table item data; and the processing unit 1430 is further configured to determine, from the keyword list, table item data associated with the specified announcement file among the plurality of announcement files; and perform data extraction on the specified announcement file based on the determined table item data to obtain key data of the specified announcement file.

[0213] In an embodiment of the present application, based on the foregoing scheme, the processing unit 1430 is further configured to determine, based on the key data, key transaction information corresponding to the key data; detect whether the plurality of other announcement files contain associated transaction information matching the key transaction information, respectively; and if it is detected that the associated transaction information matching the key transaction information is contained, take the associated transaction information as the associated data.

[0214] In an embodiment of the present application, based on the foregoing scheme, the key transaction information includes a plurality of types of first transaction items; and the processing unit 1430 is further configured to, for each other announcement file, detect whether the other announcement file contains second transaction items respectively matching the plurality of types of first transaction items; if it is detected that the other announcement file contains the second transaction items respectively matching the plurality of types of first transaction items, obtain a detection result for representing that the other announcement file contains the associated transaction information matching the key transaction information; and if it is detected that the other announcement file does not contain the second transaction item matching any first transaction item in the plurality of types of first transaction items, obtain a detection result for representing that the other announcement file does not contain the associated transaction information matching the key transaction information.

[0215] In an embodiment of the present application, based on the foregoing scheme, after detecting whether the plurality of other announcement files contain the associated transaction information matching the key transaction information, respectively, the processing unit 1430 is further configured to, if it is detected that there are a plurality of other announcement files containing the associated transaction information matching the key transaction information, detect whether at least one announcement file among the plurality of other announcement files and the specified announcement file contains the specified detail description information; and if it is detected that at least one announcement file among the plurality of other announcement files and the specified announcement file contains the specified detail description information, take the associated transaction information matching the key transaction information contained in the plurality of other announcement files as the associated data.

[0216] In an embodiment of the present application, based on the foregoing scheme, the acquisition unit 1410 is further configured to acquire, from the specified storage area, a plurality of announcement files in a marked state; wherein the marked state is used to represent that the announcement file has not been subjected to the information text generation processing, and the specified storage area stores a plurality of announcement files related to the virtual product resource acquired.

[0217] In an embodiment of the present application, based on the foregoing scheme, before obtaining the plurality of announcement files with the existence mark state from the designated storage area, the processing unit 1430 is further configured to perform crawler on the publishing website by a crawler process at a timing, to collect a plurality of announcement files related to the virtual product resource published in real time by the publishing website; and store the collected plurality of announcement files in the designated storage area.

[0218] It should be noted that the information text generation apparatus provided in the above embodiments and the information text generation method provided in the above embodiments belong to the same concept, and the specific operation manners of various modules and units have been described in detail in the method embodiments, which will not be described here.

[0219] Embodiments of the present application also provide an electronic device, comprising: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the information text generation method provided in each of the above embodiments.

[0220] Figure 15 The structural schematic diagram of the computer system of the electronic device suitable for implementing the embodiments of the present application is shown.

[0221] It should be noted that, Figure 15 The computer system 1500 of the electronic device shown is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present application.

[0222] As Figure 15 shown, the computer system 1500 includes a central processing unit (CPU) 1501, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 1502 or programs loaded from a storage portion 1508 into a random access memory (RAM) 1503, such as performing the methods in the above embodiments. In the RAM 1503, various programs and data required for system operation are also stored. The CPU 1501, the ROM 1502, and the RAM 1503 are connected to each other through a bus 1504. An input / output (I / O) interface 1505 is also connected to the bus 1504.

[0223] The following components are connected to the I / O interface 1505: an input part 1506 including a keyboard, a mouse, etc.; an output part 1507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), etc., and a speaker, etc.; a storage part 1508 including a hard disk, etc.; and a communication part 1509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part 1509 performs communication processing via a network such as the Internet. A drive 1510 is also connected to the I / O interface 1505 as necessary. A removable medium 1511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 1510 as necessary, so that a computer program read therefrom is installed in the storage part 1508 as necessary.

[0224] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to embodiments of the present application. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing a computer program for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication part 1509, and / or installed from the removable medium 1511. When the computer program is executed by the central processing unit (CPU) 1501, various functions defined in the system of the present application are executed.

[0225] It should be noted that the computer-readable medium in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable medium may, for example, be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer-readable medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, the computer-readable medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus or device. In this application, the computer-readable signal medium can include a data signal that propagates in a baseband or as part of a carrier wave, carrying computer-readable computer programs. Such a propagated data signal can take many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium that can send, propagate or transmit programs for use by or in connection with an instruction execution system, apparatus or device. The computer programs contained in the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, or the like, or any suitable combination thereof.

[0226] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In the flowcharts or block diagrams, each block can represent a module, a program segment or a part of code containing one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order from that noted in the drawings. For example, two blocks represented in succession can actually be executed substantially in parallel, and sometimes in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0227] The units described in the embodiments of the present application can be implemented in the form of software, or can be implemented in the form of hardware, and the described units can also be arranged in a processor. In some cases, the names of the units do not constitute a limitation on the units themselves.

[0228] Another aspect of the present application also provides a computer readable medium having a computer program stored thereon, the computer program being executed by a processor to implement the cross-domain data transmission method as described above. The computer readable medium can be included in the electronic device described in the above embodiments, or can exist separately and not be assembled into the electronic device.

[0229] Another aspect of the present application also provides a computer program product or computer program, which includes computer instructions stored in a computer readable medium. The processor of the computer device reads the computer instructions from the computer readable medium, and the processor executes the computer instructions to enable the computer device to perform the cross-domain data transmission method provided in the above embodiments.

[0230] The above is only a preferred exemplary embodiment of the present application, and is not intended to limit the implementation of the present application. Those skilled in the art can easily make corresponding modifications or variations according to the main concept and spirit of the present application, and the protection scope of the present application should be subject to the protection scope required by the claims.

Claims

1. A method for generating an informative text, characterized by, The method comprises the following steps: obtaining a plurality of published announcement files related to a virtual product resource; obtaining a keyword list, wherein the keyword list contains a plurality of entry data; determining entry data associated with a specified announcement file in the plurality of announcement files from the keyword list; extracting data from the specified announcement file based on the determined entry data to obtain key data of the specified announcement file; determining key transaction information corresponding to the key data based on the key data, wherein the key transaction information includes a plurality of types of first transaction items; for each other announcement file, detecting whether the other announcement file contains second transaction items respectively matched with the plurality of types of first transaction items, wherein the other announcement file is an announcement file other than the specified announcement file, and the other announcement file is a plurality of announcement files; if it is detected that the other announcement file contains the second transaction items respectively matched with the plurality of types of first transaction items, a detection result is obtained for representing that the other announcement file contains associated transaction information matched with the key transaction information; if it is detected that the other announcement file does not contain the second transaction items matched with any of the plurality of types of first transaction items, a detection result is obtained for representing that the other announcement file does not contain the associated transaction information matched with the key transaction information; if it is detected that the other announcement file contains the associated transaction information matched with the key transaction information, the associated transaction information is taken as the associated data, wherein the associated data is entry data having a similarity greater than a preset similarity threshold with the entry data having content in the key data; performing fusion processing on the key data and the associated data to generate an information text.

2. The method of claim 1, wherein, The fusion processing on the key data and the associated data to generate the information text comprises: obtaining an information text generation template matched with the key data based on the key data; filling the key data and the associated data into the information text generation template to obtain the information text.

3. The method of claim 2, wherein, The filling of the key data and the associated data into the information text generation template to obtain the information text comprises: performing merging processing on the key data and the associated data to obtain merged data; obtaining associated screenshot images of the key data and associated screenshot images of the associated data; filling the merged data and the obtained associated screenshot images into the information text generation template to obtain the information text.

4. The method of claim 1, wherein, After the detection of whether the plurality of other announcement files contain the associated transaction information matched with the key transaction information, the method further comprises: if it is detected that there are a plurality of other announcement files containing the associated transaction information matched with the key transaction information, detecting whether at least one announcement file among the plurality of other announcement files and the specified announcement file contains specified detail description information. The taking of the associated transaction information as the associated data if it is detected that the other announcement file contains the associated transaction information matched with the key transaction information comprises: If it is detected that at least one of the multiple other announcement files and the specified announcement file contains the specified detail description information, the associated transaction information in the multiple other announcement files that matches the key transaction information is obtained as the associated data.

5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: The method further includes:

6. The method of claim 5, wherein, Before the step of obtaining the multiple announcement files with the existing marking state from the specified storage area, the method further includes: The crawler process is used to perform crawling on the publishing website at a specified time to collect the multiple announcement files related to the virtual product resource published by the publishing website in real time. The collected multiple announcement files are stored in the specified storage area.

7. An information text generating apparatus characterized by comprising: The method further includes: An obtaining unit is configured to obtain the multiple announcement files related to the virtual product resource published by the publishing website. An extracting unit is configured to obtain a keyword list, wherein the keyword list contains multiple entry data, determine entry data associated with a specified announcement file in the multiple announcement files from the keyword list, and perform data extraction on the specified announcement file based on the determined entry data to obtain key data of the specified announcement file. A processing unit is configured to determine key transaction information corresponding to the key data based on the key data, wherein the key transaction information includes multiple types of first transaction items, detect whether the multiple other announcement files contain second transaction items respectively matching the multiple types of first transaction items for each other announcement file, wherein the other announcement files are announcement files other than the specified announcement file, and the other announcement files are multiple, obtain a detection result indicating that the other announcement files contain associated transaction information matching the key transaction information if it is detected that the other announcement files contain the second transaction items respectively matching the multiple types of first transaction items, obtain a detection result indicating that the other announcement files do not contain associated transaction information matching the key transaction information if it is detected that the other announcement files do not contain the second transaction items matching any first transaction item in the multiple types of first transaction items, and obtain the associated transaction information as associated data if it is detected that the associated transaction information matching the key transaction information is contained, wherein the associated data is entry data with a similarity greater than a preset similarity threshold to entry data with existing content in the key data. The processing unit is further configured to perform fusion processing on the key data and the associated data to generate the information text.

8. An electronic device, comprising: The method further includes: One or more processors; A memory is configured to store one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to implement the method for generating the information text according to any one of claims 1 to 6.

9. A computer readable medium having stored thereon a computer program, characterized in that The computer program, when executed by a processor, implements the information text generation method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for obtaining and parsing announcement information through crawler

    CN111177511A

  • Method and apparatus for improving voice recognition performance in a voice application distribution system

    CN1522432A