Product resource financial information generation method and device, electronic equipment and medium
By acquiring financial reporting events related to product resources and generating financial reporting information within a target timeframe, the problem of weak financial reporting information display was solved, enabling timely information transmission and improved transaction efficiency.
Patent Information
- Application Number
- CN202310145121.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-10
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2043-02-10
AI Technical Summary
In existing technologies, the display of financial information for product resources is weak, the threshold for users to obtain information is high, and financial forecast information and financial report content cannot be published in a timely and effective manner, which affects transaction efficiency.
By acquiring financial report events related to product resources, the trigger type is determined. When the trigger type is automatically triggered, it is checked whether the current time is within the target time range. Information data and market data are then acquired to generate financial report information, which is displayed on the product resource display page.
It provides comprehensive and timely financial information, helping users understand product resources and improving information transmission efficiency and the accuracy of transaction decisions.
Smart Images

Figure CN116150524B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular to a product resource financial report information generation method and device, electronic equipment and computer readable storage medium. BACKGROUND
[0002] At present, the product resource related App (Application) on the market is provided with a product resource corresponding display page, and the display page displays relevant information of the corresponding product resource, so that the user can understand the product resource. However, the information displayed on the display page on the market is relatively weak, and many public market information about the product resource that is valuable to the user usually exists in various official websites and files, and is not refined into information, resulting in a high threshold for users to obtain information. In particular, when the financial report of many stocks is released, the financial report information and the content of the financial report cannot be timely and effectively disclosed, thereby reducing the transmission efficiency of the financial report information and affecting related transactions. SUMMARY
[0003] To solve the above technical problems, the embodiments of the present application provide a product resource financial report information generation method and device, electronic equipment and computer readable storage medium, which aims to solve the technical problem of weak information displayed on the display page of the product resource.
[0004] Other characteristics and advantages of the present application will become apparent from the following detailed description, or will be learned by practice of the present application.
[0005] According to one aspect of the embodiments of the present application, a product resource financial report information generation method is provided, comprising:
[0006] obtaining a financial report event of a product resource, and determining a trigger type of the financial report event;
[0007] if the trigger type of the financial report event is an automatic trigger type, detecting whether the current time is in a first target time range of the product resource;
[0008] if the current time is in the first target time range of the product resource, obtaining financial report information data of the product resource according to the financial report event;
[0009] generating financial report information corresponding to the automatic trigger type according to the information data and market data of the product resource, and displaying the financial report information on a display page of the product resource.
[0010] According to one aspect of the embodiments of the present application, a product resource financial report information generation device is provided, comprising:
[0011] a first obtaining module configured to obtain a financial report event of a product resource, and determine a trigger type of the financial report event;
[0012] detecting whether the current time is in the first target time range of the product resource if the trigger type of the financial report event is the automatic trigger type;
[0013] the second obtaining module is configured to obtain the information data of the financial report of the product resource according to the financial report event if the current time is in the first target time range of the product resource;
[0014] the generating module is configured to generate the financial report information corresponding to the automatic trigger type according to the information data and the market data of the product resource, and display the financial report information on the display page of the product resource.
[0015] According to an aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the financial report information generation method of the product resource as described above.
[0016] According to an aspect of an embodiment of the present application, a computer readable storage medium is provided, and the computer readable storage medium stores computer readable instructions. When the computer readable instructions are executed by a processor of a computer, the computer executes the financial report information generation method of the product resource as described above.
[0017] According to an aspect of an embodiment of the present application, a computer program product or computer program is provided, and the computer program product or computer program comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the financial report information generation method of the product resource provided in various optional embodiments described above.
[0018] In the technical solution provided by the embodiments of the present application, the financial report event is generated. For the automatic trigger type of the financial report event, the information data of the financial report of the product resource is obtained according to the financial report event only when the financial report event is in the first target time range of the product resource. Further, the corresponding financial report information is generated by combining the information data and the market data of the product resource, and the information is displayed to the user through the display page. That is, in the technical solution provided by the embodiments of the present application, the effective financial report information of the public financial report of the product resource is provided to the user on the basis of the information data of the public financial report, and the information gap of the product resource in the market is effectively filled. At the same time, the market data provides more detailed market information, so that the generated financial report information is more comprehensive, and is more conducive to the user to understand the related product resource and make relevant decisions on the product resource.
[0019] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application, as claimed. BRIEF DESCRIPTION OF DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and serve to explain the principles of the application. It is readily apparent to one skilled in the art that the following figures are merely some embodiments of the present application, and other figures can be obtained by one of ordinary skill in the art without any creative work, based on these figures. In the drawings:
[0021] Figure 1 is a schematic diagram of an implementation environment to which the present application pertains;
[0022] Figure 2 is a flowchart of a method for generating financial information of a product resource according to an embodiment of the present application;
[0023] Figure 3 is a flowchart of a method for generating financial information of a product resource according to another embodiment of the present application;
[0024] Figure 4 is a flowchart of a method for generating financial information of a product resource according to another embodiment of the present application;
[0025] Figure 5 is a flowchart of a method for generating financial information of a product resource according to another embodiment of the present application;
[0026] Figure 6 is a flowchart of step S240 according to an embodiment of the present application;
[0027] Figure 7 is a flowchart of step S620 according to an embodiment of the present application;
[0028] Figure 8 is a flowchart of a method for generating financial information of a product resource according to another embodiment of the present application;
[0029] Figure 9 is a schematic diagram of a method for generating financial information of a product resource according to another embodiment of the present application;
[0030] Figure 10 is a block diagram of a device for generating financial information of a product resource according to an embodiment of the present application;
[0031] Figure 11 shows a structural schematic diagram of a computer system of an electronic device suitable for implementing embodiments of the present application. DETAILED DESCRIPTION
[0032] Detailed description will be given to the exemplary embodiments here, and examples thereof are shown in the drawings. When the following description refers to the drawings, the same numbers on different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present application as detailed in the appended claims.
[0033] 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 software, or in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0034] The flowcharts shown in the drawings are merely exemplary illustrations, and do not necessarily include all contents and operations / steps, nor do they have to be executed in the described order. For example, some operations / steps can be further divided, and some operations / steps can be combined or partially combined, so the actual execution order can be changed according to actual situations.
[0035] It should also be noted that "multiple" as mentioned in the present application means two or more. The association relationship of "and / or" describing the associated objects means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. The character " / " generally represents that the associated objects before and after are in an "or" relationship.
[0036] At present, the public market information valuable to users on the market exists in various official websites and files, and has not been refined into information, resulting in a high threshold for users to obtain information. Especially when the financial reports of many product resources are released, it is difficult to timely and effectively publish the financial report information and the content of the financial report, which reduces the transmission efficiency of the financial report information and affects the generation of related transactions. At the same time, the production end of the financial information hopes to be able to produce these financial information at low cost, increase the coverage and richness of product resources, and promote user activity and transaction conversion.
[0037] Financial report is a document provided by an enterprise to reflect the financial status of the enterprise on a specific date and the operating results and cash flow of the enterprise in a certain accounting period. Equity disclosure is required by the Stock Exchange for large shareholders (individuals and companies holding 5% or more of the shares) to disclose their equity in the listed company, and for directors and senior executives of the listed company to disclose their equity in the listed company and the company connected with the listed company. Equity disclosure can help investors identify individuals who control or have the ability to control the equity of the listed company, and individuals who may benefit from transactions involving connected entities of the listed company. Investors can make investment decisions based on their equity disclosure (share buy / sell behavior). Therefore, more valuable information for users can be extracted from the financial report to assist them in making decisions.
[0038] Please refer to Figure 1 , Figure 1 is a schematic diagram of an implementation environment related to the present application. The implementation environment includes a terminal 110 and a server 120, which communicate with each other through a wired or wireless network.
[0039] The product resources described in the present application include but are not limited to virtual product resources such as stocks, futures, options, securities, virtual currencies, funds, or foreign exchange. The terminal is installed with an application program capable of displaying product resources, and the above-mentioned application program can run on any device capable of running an application program such as a smart phone, a tablet, a notebook computer, a computer, a vehicle terminal, a smart TV, a smart watch, etc., but is not limited thereto. The terminal 110 can refer to one of a plurality of terminals, and the present embodiment is only exemplified by the terminal 110. Those skilled in the art can know that the number of the above-mentioned terminals can be more or less. For example, the above-mentioned terminal can be only one, or the above-mentioned terminal can be dozens or hundreds, or more, and at this time, the implementation environment of the financial report information generation method of the above-mentioned product resources also includes other terminals. The number of terminals and the type of devices are not limited in the present application.
[0040] The server 120 can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), and big data and artificial intelligence platform, etc., which is not limited herein.
[0041] Figure 2 is a flowchart of a financial report information generation method of a product resource according to an exemplary embodiment. The method can be applied toFigure 1 The implementation environment shown, and by Figure 1 The server 120 in the illustrated embodiment environment is specifically executed.
[0042] like Figure 2 As shown in an exemplary embodiment, the method for generating financial statement information for this product resource may include steps S210 to S240, which are described in detail below:
[0043] Step S210: Obtain the financial reporting events of the product resources and determine the trigger type of the financial reporting events.
[0044] In this embodiment of the application, financial reporting events corresponding to product resources are generated. These financial reporting events can be automatically generated based on the financial reporting information corresponding to the product resources, or they can be manually generated by the management personnel. After the task is started, financial reporting events will be read from the generated financial reporting events. Specifically, during the reading process, financial reporting events that have not expired can be read to determine the trigger type of the obtained financial reporting events, that is, to determine whether the financial reporting events are automatically triggered or manually triggered. Financial reporting events with different trigger types have different processing procedures.
[0045] In one exemplary embodiment of this application, please refer to Figure 3 Before obtaining the financial reporting event of the product resource in step S210, the method for generating financial reporting information of the product resource also includes steps S310 to S330, which are detailed below:
[0046] Step S310: Obtain financial information for products whose inventory entry date or release date falls within the second target time range in the future, and generate corresponding automatically triggered financial event based on the financial information.
[0047] In this embodiment, the generation of financial statement information has different time conditions. This application generates corresponding financial statement information on the date the financial statement is entered into the database and the day before its release. Therefore, when automatically triggering the generation of the corresponding financial statement event, it acquires financial statement information where the date of entry into the database and its display falls within a second target time range in the future, or where the date of release falls within a second target time range in the future, to avoid omissions and generate the corresponding automatically triggered financial statement event. Subsequently, when generating the corresponding financial statement information, the server only needs to process the corresponding event and determine whether the event meets the information generation conditions. Specifically, the aforementioned second target time range in the future can be set to fall within a week's time range. In other embodiments, the second target time range in the future can be set to other time ranges, which are not limited here.
[0048] Step S320, receiving an operation based on the target personnel to generate a financial report event of the artificial trigger type.
[0049] In the embodiment of the present application, the target personnel can manually operate the financial report based on the product resource in the management background to generate the corresponding financial report event. When manually operating the financial report in the management background, manually operating the financial report to disable, the financial report crawler to store the crawler to automatically expose, and automatically disabling the financial report, the financial report event of the artificial trigger type will be pushed.
[0050] Step S330, pushing the generated financial report event into the queue of the remote dictionary service database.
[0051] In the embodiment of the present application, the generated financial report event of the automatic trigger type and the financial report event of the artificial trigger type are both pushed into the queue of the remote dictionary service database (redis), which is used for subsequent generation of the corresponding financial report information. Redis is a high-performance key-value database based on memory. By pushing the financial report event into the redis queue, the persistence of the message supported by redis can be used to repeatedly view the financial report event in the redis queue, while the order of the financial report event in the queue can be guaranteed. In addition, RPUSH can be used to place the financial report event at the beginning of the queue, so as to achieve the purpose of processing the financial report event in priority. When pushing the financial report event into the redis queue, the financial report event is directly pushed based on the chronological order of the disclosure date of the financial report information corresponding to the financial report event, that is, the closer the disclosure date of the financial report information of the financial report event to the current time, the more front the position of the financial report event in the redis queue.
[0052] In the embodiment of the present application, the financial report event of the product resource is obtained by obtaining the financial report event from the queue of the remote dictionary service database.
[0053] In the embodiment of the present application, the financial report event of the product resource is obtained by directly obtaining it from the redis queue.
[0054] In an exemplary embodiment of the present application, after determining the trigger type of the financial report event in step S210, the financial report information generation method of the product resource further includes the following steps, which are described in detail as follows:
[0055] If the trigger type of the financial report event is the artificial trigger type, the financial report event is executed to process the displayed information of the product resource on the display page.
[0056] In the embodiments of the present application, for the financial report event of the manual triggering type, after the financial report event of the triggering type is acquired, the financial report event can be directly executed. The financial report event of the manual triggering type can be pushed when the administrator manually operates the financial report to be exposed, manually operates the financial report to be disabled, the financial report crawler is automatically exposed, or the financial report is automatically disabled. When the financial report event of the manual triggering type is executed, the financial report event generated due to the manual operation of the financial report to be exposed and the financial report crawler to be automatically exposed is executed, and the corresponding financial information is generated and displayed on the display page of the product resource. When the financial report event generated due to the manual operation of the financial report to be disabled and the automatic disabling of the financial report is executed, the corresponding financial information is hidden.
[0057] In step S220, if the triggering type of the financial report event is the automatic triggering type, it is detected whether the current time is in the first target time range of the product resource.
[0058] In the embodiments of the present application, for the financial report event of the automatic triggering type, it is determined whether the current time is in the first target time range of the product resource. Specifically, the first target time range of the product resource can be set as the previous trading day of the product resource. The present application displays the financial information on the previous trading day of the product resource, so as to provide the corresponding financial information for the user to perform the transaction processing in the next trading day. The financial information is provided for the user to provide the forward-looking information reminder, so as to assist the user to perform the corresponding transaction processing. In other embodiments, the first target time range of the product resource can be set as other time ranges, which are not limited herein.
[0059] In an exemplary embodiment of the present application, please refer to Figure 4 Before the detection of whether the current time is in the first target time range of the product resource in step S220, the financial information generation method of the product resource further includes steps S410 and S420, which are described in detail as follows.
[0060] In step S410, the trading day of the product resource in the target time period and the disclosure day of the financial report corresponding to the financial report event are acquired.
[0061] In the embodiments of the present application, the trading day of the product resource in the target time period is acquired. In the actual program processing process, because the market trading day and the natural day are different, the trading day information of the product resource in the target time period is synchronized from the market, and the disclosure day of the financial report corresponding to the financial report event is acquired. In the embodiments of the present application, the target time period can be set as one month.
[0062] In step S420, the first target time range of the product resource is determined according to the trading day and the disclosure day.
[0063] In the embodiments of the present application, according to the trading day and the disclosure day of the product resource in the target time period, the first target time range of the product resource is determined, that is, whether the natural day corresponding to the current time belongs to the previous trading day of the market corresponding to the product resource is determined.
[0064] In step S230, if the current time is in the first target time range of the product resource, the information data of the financial report of the product resource is obtained according to the financial report event.
[0065] In the embodiments of the present application, if the current time is in the first target time range of the product resource, the information data of the product resource is obtained, specifically, the corresponding information data can be crawled from the disclosed website through the crawler technology. When the domain name of the website for obtaining information data and market data is renamed or disabled, the background management personnel should be informed to facilitate the management personnel to take measures to reduce the corresponding impact.
[0066] In step S240, the financial report information corresponding to the automatic trigger type is generated according to the information data and the market data of the product resource, and the financial report information is displayed on the display page of the product resource.
[0067] In the embodiments of the present application, the above-mentioned market data can include the financial report information of the product resource in the last quarter and the financial report information of the same quarter of last year, and the additional information corresponding to the financial report, such as accounting standards, etc. The financial report information corresponding to the automatic trigger type is generated according to the crawled information data and the market data of the product resource, and the financial report information is displayed on the display page of the product resource.
[0068] Specifically, the financial report information template is set in advance, and the financial report information template can be as follows:
[0069] The product resource XX will release the financial report after the opening of XX month XX;
[0070] The product resource XX has a turnover of XX RMB in XX year XX quarter (i.e. the last quarter), a net profit of XX RMB, an earnings per share of XX RMB, a turnover of XX million RMB in XX year XX quarter (i.e. the same quarter last year), a net profit of XX million RMB, an earnings per share of XX RMB. The accounting standards used in the above data are XX;
[0071] Prompt information:
[0072] 1. There is no hard rule for the division of the accounting year of Hong Kong and US listed companies, which is determined by the enterprise itself, so each financial report period can be regarded as the annual report cutoff day of the enterprise, and the natural year cannot be regarded as the fiscal year.
[0073] 2. Generally, the company will hold a conference call on or near the above-mentioned financial report release date, and the company management will discuss the latest quarter's financial report and operating conditions, and communicate with investors, analysts, media, etc.
[0074] Investors can participate in the form of offline meetings or online telephone conferences, etc.
[0075] The missing part (i.e. the XX part in the financial report information template) in the above-mentioned financial report information template is extracted from the information data and the market data, and the extracted data is filled into the financial report information template, so as to generate the corresponding financial report information.
[0076] Further, the financial report information template can further include the following information:
[0077] XX, according to the documents disclosed by the Stock Exchange on XX, XX, the institution name / senior manager (XX) increased the stock code (XX) XX shares on XX, with a value of about XX Hong Kong dollars. After the increase, the latest holding number of the institution name / senior manager (XX) is XX shares, and the holding ratio is increased from XX% to XX%.
[0078] In this application, the financial report event is generated, and for the automatically triggered type of financial report event, it needs to be in the first target time range of the product resource, and then further generate the corresponding financial report information. The generated financial report information combines information data and market data, and can provide users with forward-looking information of the public financial report of the product resource on the basis of the financial report information of the public financial report, effectively filling the information gap of the product resource in the market. At the same time, the market data provides more detailed last quarter and last year's same quarter financial report information, so that the generated financial report information is more comprehensive, and is more conducive to users to understand the related product resources and make relevant decisions on the product resources.
[0079] In an exemplary embodiment of the present application, please refer to Figure 5 Before displaying the financial report information on the display page of the product resource in step S240, the financial report information generation method of the product resource further includes steps S510 to S530, which are described in detail as follows:
[0080] Step S510, detect whether the date information of the financial report corresponding to the financial report information changes, or whether the financial report corresponding to the financial report information is disabled.
[0081] In the embodiments of the present application, in order to ensure the accuracy of the financial report information provided to the user, it is detected whether the date information of the financial report corresponding to the financial report information is changed or whether the financial report corresponding to the financial report information is disabled. When the date information of the financial report is changed or the financial report is disabled, the published financial report information needs to be changed to avoid misleading the user and making a wrong decision.
[0082] In step S520, if the date information of the financial report corresponding to the financial report information is changed, a corresponding to-be-updated financial report event is generated to generate target financial report information when the to-be-updated financial report event is executed, and the financial report information is replaced by the target financial report information.
[0083] In the embodiments of the present application, when the date information of the financial report corresponding to the financial report information is changed, a to-be-updated financial report event is generated according to the changed date information of the financial report, so that a new financial report information is generated as target financial report information when the to-be-updated financial report event is executed, and the original financial report information is updated to the target financial report information by calling the management interface.
[0084] In step S530, if the financial report corresponding to the financial report information is disabled, a corresponding disabled financial report event is generated to hide the financial report information by calling the management interface when the corresponding disabled financial report event is executed.
[0085] In the embodiments of the present application, when the financial report corresponding to the financial report information is disabled, a disabled financial report event is directly generated, and the original displayed financial report information is hidden by calling the management interface.
[0086] In an exemplary embodiment of the present application, please refer to Figure 6 In step S240, the financial report information is displayed on the display page of the product resource, including steps S610 to S630, which are described in detail as follows.
[0087] In step S610, if the display request is received, the audit state information of the financial report information is detected.
[0088] In the embodiments of the present application, when the generated financial report information is displayed, the generated financial report information needs to be audited. After receiving the display request, the audit state information of the financial report information corresponding to the display request is detected, and the audit state information represents whether the financial report information passes the audit.
[0089] In step S620, according to the audit state information, a processing flow of the financial report information corresponding to the audit state information is determined, and the financial report information is processed according to the determined processing flow to obtain a processing result.
[0090] In the embodiments of the present application, different audit state information has different processing procedures, the processing procedure of the financial information under the corresponding audit state is determined, and the processing procedure is executed to obtain the corresponding processing result.
[0091] In step S630, the financial information is displayed on the display page of the product resource according to the processing result.
[0092] In the embodiments of the present application, the financial information is displayed on the display page of the product resource according to the processing result, so that the user can understand the product resource according to the financial information, and then assist in decision-making.
[0093] In an exemplary embodiment of the present application, please refer to Figure 7 In step S620, the processing procedure of the financial information under the corresponding audit state information is determined according to the audit state information, including steps S710 to S740, which are described in detail as follows:
[0094] In step S710, if the audit state information represents that the financial information is in an unreviewed state, the processing procedure is determined to be a first processing procedure of calling a management interface to review the financial information to determine whether the financial information contains sensitive words.
[0095] In the embodiments of the present application, when the audit state information represents that the financial information is in an unreviewed state, the corresponding processing procedure is determined to be the first processing procedure, and in the first processing procedure, the management interface is called to review the financial information for sensitive words to determine whether the financial information contains sensitive words. In an embodiment of the present application, a sensitive word dictionary can be pre-set, and the sensitive word dictionary contains a plurality of sensitive words. When reviewing, it is detected whether the sensitive words existing in the sensitive word dictionary exist in the financial information.
[0096] In the embodiments of the present application, the pre-set database is used as the sensitive word dictionary, and when the financial information is detected for sensitive words:
[0097] The financial information is first split for keywords to obtain information keywords;
[0098] The information keywords are traversed in the sensitive word dictionary to determine the correlation between the information keywords and each sensitive word in the sensitive word dictionary;
[0099] Based on the correlation, it is judged whether the information keywords are sensitive words, and the sensitive words in the financial information are determined.
[0100] Specifically, in the embodiment, the information keywords are quantitatively replaced to obtain the keyword string Str_key. The correlation Con(Str_key, Str_sen) between the information keywords and each sensitive word in the sensitive word dictionary is determined by traversing each sensitive word string Str_sen in the sensitive word dictionary.
[0101]
[0102] Wherein, a and β are preset string factors, used to represent the weight of the string belonging to different sets. The above method determines the sensitive word in the financial information by calculating the string correlation, which improves the screening accuracy and processing efficiency of the sensitive word.
[0103] In another embodiment of the application, a sensitive word detection model can be pre-trained, and the generated financial information is directly input into the sensitive word detection model to detect whether there is a sensitive word. When no sensitive word is detected in the financial information, the audit state information of the financial information is changed from the unreviewed state to the review passed state.
[0104] Further, after the sensitive word audit of the financial information, the financial information can be further audited based on the publishing scenario of the financial information. Specifically, please refer to Figure 8 After the financial information is processed by the first processing flow, it can also be processed by the following steps S810 to S840, which are described in detail as follows:
[0105] Step S810, if the audit state information of the financial information indicates that the financial information is in the review passed state, the publishing scenario label corresponding to the financial information is obtained.
[0106] In the embodiment of the application, the audit state of the financial information indicates that it has passed the sensitive word audit, and the corresponding publishing scenario label is obtained. When the financial information is generated, it will be associated with the corresponding publishing scenario label, such as stock, news, and flash. The publishing scenario label corresponds to a publishing scenario, and at least one publishing scenario label can be associated with the same financial information, or the financial information can not be associated with the publishing scenario label. When the financial information is not associated with the publishing scenario label, it is not necessary to perform the subsequent steps S810 to S840.
[0107] Step S820, according to the publishing scenario label corresponding to the financial information, the filtering rule of the corresponding publishing scenario is determined, and the financial information is filtered by the filtering rule to obtain the filtering result.
[0108] In the embodiments of the present application, the different publishing scenarios are pre-set with corresponding filtering rules, the filtering rules contain filtering words in the corresponding publishing scenarios, the publishing scenario label of the financial information is recognized, the filtering rule corresponding to the financial information is determined, the financial information is filtered based on the determined filtering rule, and a filtering result is obtained.
[0109] In step S830, if the filtering result indicates that the financial information passes the filtering processing in the corresponding publishing scenario, the financial information is displayed on the display page of the corresponding publishing scenario after the filtering processing.
[0110] In the embodiments of the present application, when the financial information does not detect the filtering words in a certain filtering rule, it is indicated that the financial information passes the filtering processing in the corresponding publishing scenario, and the financial information is displayed on the display page of the publishing scenario.
[0111] In step S840, if the filtering result indicates that the financial information does not pass the filtering processing in the corresponding publishing scenario, the display of the financial information on the display page of the corresponding publishing scenario after the filtering processing is abandoned.
[0112] In the embodiments of the present application, when the financial information detects the filtering words in a certain filtering rule, it is indicated that the financial information does not pass the filtering processing in the corresponding publishing scenario, and the display of the financial information in the publishing scenario is cancelled, but the display of the financial information in other publishing scenarios is not affected.
[0113] In step S720, if the audit state information indicates that the financial information is in the auditing state, a second processing procedure of abandoning the display of the financial information on the display page of the product resource is determined.
[0114] In the embodiments of the present application, if the audit state information indicates that the financial information is in the auditing state, a second processing procedure of abandoning the display of the financial information on the display page of the product resource is determined, in the second processing procedure, the occurrence of the inconsistent data and the auditing failure is avoided, at this time, the update interface should abandon the display of the financial information on the display page, and wait for the next time when the display request is received to retry.
[0115] In step S730, if the audit state information indicates that the financial information is in the auditing passing state, a third processing procedure of calling the display interface to display the financial information on the display page of the product resource is determined.
[0116] In the embodiment of the present application, if the audit state information represents that the financial information information is in the passed audit state, the processing flow is determined as a third processing flow, in which a display interface is directly called to display the financial information information on a display page corresponding to the financial information information.
[0117] In step S740, if the audit state information represents that the financial information information is in the unpassed audit state, a fourth processing flow of calling a management interface to hide the financial information information is determined.
[0118] In the embodiment of the present application, if the audit state information represents that the financial information information is in the unpassed audit state, the processing flow is determined as the fourth processing flow, in which the management interface is called to hide the financial information information. Further, the financial information information that is unpassed in the audit is pushed to a manual audit flow, and whether the financial information information can be displayed on the display page is further audited by the manual.
[0119] In one example embodiment of the present application, please refer to Figure 9 , Figure 9 is a schematic diagram of a financial information generation method of a product resource according to an example embodiment. A financial event queue is read to obtain a financial event of a product resource, and whether the obtained financial event exceeds a corresponding deadline is detected. If the obtained financial event exceeds the corresponding deadline, the flow is ended. If the obtained financial event does not exceed the corresponding deadline, for an automatically triggered type of financial event, whether the current time is in a first target time range of the product resource is detected. If the current time is not in the first target time range of the product resource, the flow is ended. If the current time is in the first target time range of the product resource, market data and financial information data of the product resource, and a financial information information template are obtained, and the financial information information is generated. If the obtained financial event does not exceed the corresponding deadline, for a manually triggered type of financial event, the market data and the financial information data of the product resource, and the financial information information template are directly obtained, and the financial information information is generated. The generated information is input into a database and displayed on a display page of the product resource, and the flow can be ended.
[0120] In one example embodiment of the present application, please refer to Figure 10 , Figure 10 is a financial information generation device of a product resource according to an example embodiment, which comprises:
[0121] The first obtaining module 1010 is configured to obtain a financial event of a product resource, and determine a trigger type of the financial event.
[0122] The detection module 1020 is configured to detect whether the current time is in the first target time range of the product resource if the trigger type of the financial report event is the automatic trigger type.
[0123] The second acquisition module 1030 is configured to acquire the information data of the financial report of the product resource according to the financial report event if the current time is in the first target time range of the product resource.
[0124] The generation module 1040 is configured to generate the financial report information corresponding to the automatic trigger type according to the information data and the market data of the product resource, and display the financial report information on the display page of the product resource.
[0125] In an example embodiment of the present application, the financial report information generation apparatus of the product resource further comprises:
[0126] The third acquisition module is configured to acquire the trading day of the product resource in the target time period and the disclosure day of the financial report corresponding to the financial report event.
[0127] The determination module is configured to determine the first target time range of the product resource according to the trading day and the disclosure day.
[0128] In an example embodiment of the present application, the financial report information generation apparatus of the product resource further comprises:
[0129] The detection unit is configured to detect whether the date information of the financial report corresponding to the financial report information changes or the financial report corresponding to the financial report information is disabled.
[0130] The first generation unit is configured to generate a corresponding to-be-updated financial report event if the date information of the financial report corresponding to the financial report information changes, so as to generate target financial report information when the to-be-updated financial report event is executed, and replace the financial report information with the target financial report information.
[0131] The second generation unit is configured to generate a corresponding disabled financial report event if the financial report corresponding to the financial report information is disabled, so as to call a management interface to hide the financial report information when the corresponding disabled financial report event is executed.
[0132] In an example embodiment of the present application, the financial report information generation apparatus of the product resource further comprises:
[0133] The fourth acquisition module is configured to acquire financial report information of the product resource, wherein the warehousing explicit date of the financial report is in a second target time range in the future or the publishing date of the financial report is in the second target time range in the future, and generate a financial report event of the corresponding automatic trigger type based on the financial report information, or
[0134] The receiving module is configured to receive an operation based on a target person to generate a financial report event of a manual trigger type.
[0135] a pushing module, configured to push the generated financial report event into a queue of a remote dictionary service database;
[0136] a first obtaining module, comprising:
[0137] an obtaining submodule, configured to obtain the financial report event from the queue of the remote dictionary service database.
[0138] In an example embodiment of the present application, the financial report information generation apparatus of the product resource further comprises:
[0139] an executing module, configured to execute the financial report event to process the displayed information of the product resource on the display page if the trigger type of the financial report event is the manual trigger type.
[0140] In an example embodiment of the present application, the generating module 1040 comprises:
[0141] a detecting submodule, configured to detect the audit state information of the financial report information if the display request is received;
[0142] a determining submodule, configured to determine a processing flow of the financial report information under the audit state information according to the audit state information, and process the financial report information according to the determined processing flow to obtain a processing result;
[0143] a display submodule, configured to display the financial report information on the display page of the product resource according to the processing result.
[0144] In an example embodiment of the present application, the determining submodule comprises:
[0145] a first determining unit, configured to determine that the processing flow is a first processing flow of calling a management interface to audit the financial report information to determine whether the financial report information contains sensitive words if the audit state information represents that the financial report information is in an un-audited state;
[0146] a second determining unit, configured to determine that the processing flow is a second processing flow of abandoning to display the financial report information on the display page of the product resource if the audit state information represents that the financial report information is in an auditing state;
[0147] a third determining unit, configured to determine that the processing flow is a third processing flow of calling a display interface to display the financial report information on the display page of the product resource if the audit state information represents that the financial report information is in an audit-passed state.
[0148] The fourth determining unit is configured to determine the fourth processing procedure as a fourth processing procedure of calling a management interface to hide the financial information if the audit state information of the financial information indicates that the financial information is in a non-passed state.
[0149] In an example embodiment of the present application, the financial information generation apparatus of the product resource further comprises:
[0150] The acquisition unit is configured to acquire a publishing scenario label corresponding to the financial information if the audit state information of the financial information indicates that the financial information is in a passed state.
[0151] The filtering processing unit is configured to determine a filtering rule of a corresponding publishing scenario according to the publishing scenario label corresponding to the financial information, and perform filtering processing on the financial information through the filtering rule to obtain a filtering result.
[0152] The display unit is configured to display the financial information on a display page of the corresponding publishing scenario that passes the filtering processing if the filtering result indicates that the financial information passes the filtering processing in the corresponding publishing scenario.
[0153] The display unit is configured to display the financial information on a display page of the corresponding publishing scenario that passes the filtering processing if the filtering result indicates that the financial information passes the filtering processing in the corresponding publishing scenario.
[0154] It should be noted that the apparatus provided by the above embodiments and the method provided by the above embodiments belong to the same concept, and the specific manner in which each module and unit performs operations has been described in detail in the method embodiments, which will not be described here.
[0155] Embodiments of the present application also provide an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the financial information generation method of the product resource provided in each of the above embodiments.
[0156] Figure 11 The structure of the computer system of the electronic device suitable for implementing the embodiments of the present application is shown.
[0157] It should be noted that, Figure 11 The computer system 1100 of the electronic device shown is only an example and should not limit the functions and use range of the embodiments of the present application.
[0158] As Figure 11As shown, the computer system 1100 includes a central processing unit (CPU) 1101 that can execute various appropriate actions and processes according to programs stored in a read-only memory (ROM) 1102 or loaded from a storage section 1108 into a random access memory (RAM) 1103, such as executing the methods in the above-described embodiments. Various programs and data required for system operation are also stored in the RAM 1103. The CPU 1101, the ROM 1102, and the RAM 1103 are connected to each other through a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0159] Connected to the I / O interface 1105 are an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as necessary. A removable recording medium 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 1110 as necessary, so that a computer program read therefrom is installed into the storage section 1108 as necessary.
[0160] In particular, according to embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. 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 section 1109, and / or installed from the removable recording medium 1111. When the computer program is executed by the central processing unit (CPU) 1101, various functions defined in the systems of the present application are executed.
[0161] 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 storage 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 storage 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 (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, the computer-readable storage medium can be any tangible medium that contains or stores a program used by an instruction execution system, apparatus or device, and can be used or combined with the same. In this application, the computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer-readable computer programs. Such a propagated data signal can take various 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, which can send, transmit, propagate or transport a program 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.
[0162] 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, which contains 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 different orders than that shown in the drawings. For example, two blocks that are shown 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 diagrams or flowcharts, and the combination of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0163] 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.
[0164] Another aspect of the present application also provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the method described above. The computer readable storage 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.
[0165] Another aspect of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to make the computer device execute the method provided in each of the above embodiments.
[0166] 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 financial information of a product resource, characterized by, The method comprises the following steps: obtaining a financial report event of a product resource, and determining a trigger type of the financial report event; if the trigger type of the financial report event is an automatic trigger type, detecting whether a current time is a previous trading day of the product resource; if the current time is the previous trading day of the product resource, obtaining information data of a financial report of the product resource according to the financial report event; extracting missing data in a financial report information template from information data and market data of the product resource, filling the extracted data into the financial report information template, obtaining financial report information corresponding to the automatic trigger type, and displaying the financial report information on a display page of the product resource; wherein the market data comprises financial report information of the previous quarter and the same quarter last year, and additional information corresponding to each financial report.
2. The method of claim 1, wherein, Before the step of detecting whether the current time is the previous trading day of the product resource, the method further comprises the following steps: obtaining trading days of the product resource in a target time period and disclosure days of a financial report corresponding to the financial report event; determining the previous trading day of the product resource according to the trading days and the disclosure days.
3. The method of claim 1, wherein, Before the step of displaying the financial report information on the display page of the product resource, the method further comprises the following steps: detecting whether date information of a financial report corresponding to the financial report information has changed or whether the financial report corresponding to the financial report information has been disabled; if the date information of the financial report corresponding to the financial report information has changed, generating a corresponding to-be-updated financial report event, so as to generate target financial report information when the to-be-updated financial report event is executed, and replace the financial report information with the target financial report information; if the financial report corresponding to the financial report information has been disabled, generating a corresponding disabled financial report event, so as to call a management interface to hide the financial report information when the corresponding disabled financial report event is executed.
4. The method of claim 1, wherein, Before the step of obtaining the financial report event of the product resource, the method further comprises the following steps: obtaining financial report information of a financial report of the product resource, wherein an import externalization day of the financial report is in a second target time range in the future or a release day of the financial report is in the second target time range in the future, and generating a financial report event of the automatic trigger type based on the financial report information, or receiving an operation based on a target personnel to generate a financial report event of a manual trigger type; pushing the generated financial report event to a queue of a remote dictionary service database; the step of obtaining the financial report event of the product resource comprises the following step:
5. The method of claim 4, wherein, obtaining the financial report event from the queue of the remote dictionary service database. After the step of determining the trigger type of the financial report event, the method further comprises the following steps:
6. The method of any one of claims 1 to 5, wherein, if the trigger type of the financial report event is the manual trigger type, executing the financial report event to process displayed information of the product resource on the display page. The step of displaying the financial report information on the display page of the product resource comprises the following steps: if a display request is received, detecting audit state information of the financial report information; According to the audit state information, a processing flow corresponding to the audit state information for the financial report information is determined, and the financial report information is processed according to the determined processing flow to obtain a processing result; The financial report information is displayed on the display page of the product resource according to the processing result.
7. The method of claim 6, wherein, The processing flow corresponding to the audit state information for the financial report information is determined according to the audit state information, and includes: If the audit state information indicates that the financial report information is in an unreviewed state, the processing flow is determined to be a first processing flow of calling a management interface to review the financial report information to determine whether the financial report information contains sensitive words; If the audit state information indicates that the financial report information is in a reviewing state, the processing flow is determined to be a second processing flow of abandoning to display the financial report information on the display page of the product resource; If the audit state information indicates that the financial report information is in a passed state, the processing flow is determined to be a third processing flow of calling a display interface to display the financial report information on the display page of the product resource; If the audit state information indicates that the financial report information is in an unpassed state, the processing flow is determined to be a fourth processing flow of calling a management interface to hide the financial report information.
8. A product resource financial statement information generating apparatus characterized by comprising: It includes: A first acquisition module configured to acquire a financial report event of a product resource and determine a trigger type of the financial report event; A detection module configured to detect whether the current time is in a previous trading day of the product resource if the trigger type of the financial report event is an automatic trigger type; A second acquisition module configured to acquire information data of a financial report of the product resource according to the financial report event if the current time is in the previous trading day of the product resource; A generation module configured to extract missing data in a financial report information template from the information data and market data of the product resource, fill the extracted data into the financial report information template, obtain financial report information corresponding to the automatic trigger type, and display the financial report information on the display page of the product resource; wherein the market data includes financial report information of the previous quarter and financial report information of the same quarter last year, and additional information corresponding to each financial report information.
9. An electronic device, comprising: It includes: One or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the financial report information generation method of the product resource according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer readable instruction is stored thereon, which, when executed by a processor of a computer, causes the computer to execute the financial report information generation method of the product resource according to any one of claims 1 to 7.
Citation Information
Patent Citations
Business condition brief report generation method and device, electronic equipment and storage medium
CN111125351A
Financial information generation method and device, equipment and medium
CN115358193A