Video pushing method and device and electronic equipment

Through the server generation and pushing dynamic videos, displaying the financial information of the target financial products, solving the problem of low efficiency in obtaining financial information by users and achieving faster and more intuitive financial information acquisition.

CN120034671AActive Publication Date: 2025-05-23CSC FINANCIAL CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510488232.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2025-05-23
Estimated Expiration
2045-04-18

AI Technical Summary

Technical Problem

In the prior art, users are less efficient in obtaining financial information, need to manually search and subscribe to a variety of financial information sources, and it is difficult to effectively screen and analyze a large amount of unstructured information.

Method used

Provide a video push method, collects target financial products and trading days input by users through the server, obtains relevant financial data and news and public opinion data, generates financial charts and voice broadcasts, combines audio and charts to generate dynamic videos, and synchronizes feedback to the client.

Benefits of technology

By displaying processed financial information in dynamic visual video format, users can obtain financial information of target financial products more quickly and simply, improving the efficiency of users in obtaining financial information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034671A_ABST
    Figure CN120034671A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a video pushing method and device and electronic equipment, and relates to the technical field of data processing. The specific scheme is as follows: obtaining an identifier of a target financial product and a target trading day input by a user at a client; obtaining financial data of the target financial product based on the identifier and the target trading day; generating a financial chart image of the target financial product based on the financial data; obtaining news public opinion data related to the target financial product; converting the news public opinion data into text data in a preset data format; generating an audio segment for broadcasting the voice of the text data; generating a video frame of the target video based on the duration of the audio segment and the financial chart image; and performing audio track synchronization on the audio segment and the video frame of the target video to obtain the target video, and feeding back the target video to the client. By applying the scheme provided by the embodiment of the invention, the financial information acquisition efficiency of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a video pushing method, device and electronic equipment. Background Art

[0002] In the financial field, users need to understand market dynamics, company performance, policy changes, etc. through various types of financial information, so that users can better assess the risks of financial products. It can be seen that financial information plays an important role for users. There are many ways to obtain financial information, and the amount of unstructured information in financial information is large. In the prior art, users usually obtain financial information by manually searching for financial information and manually subscribing to many related websites and news sources. Based on this method, users have low efficiency in obtaining financial information. Summary of the invention

[0003] The purpose of the embodiments of the present invention is to provide a video push method, device and electronic device to improve the efficiency of users obtaining financial information. The specific technical solution is as follows:

[0004] According to one aspect of an embodiment of the present invention, a video push method is provided, which is applied to a server, and the method includes:

[0005] Obtain the identifier and target trading date of the target financial product entered by the user in the client;

[0006] Based on the identifier and the target transaction date, obtaining financial data of the target financial product;

[0007] Based on the financial data, generating a financial chart image of the target financial product;

[0008] Obtain news and public opinion data related to the target financial product;

[0009] Converting the news and public opinion data into text data in a preset data format;

[0010] generating an audio segment of speech that broadcasts the text data;

[0011] Generate a video frame of a target video based on the duration of the audio segment and the financial chart image;

[0012] The audio segment is synchronized with the video frame of the target video to obtain the target video, and the target video is fed back to the client.

[0013] According to another aspect of an embodiment of the present invention, a video push method is provided, which is applied to a client, and the method includes:

[0014] Obtain the identifier and target trading date of the target financial product input by the user;

[0015] Sending the identifier of the target financial product and the target trading date to the server, so that the server generates a target video according to any of the above-mentioned video push methods applied to the server, and feeds back the target video to the client;

[0016] The target video is received and displayed.

[0017] According to another aspect of an embodiment of the present invention, a video push device is provided, which is applied to a server, and the device includes:

[0018] A first target information obtaining module is used to obtain the identifier and target transaction date of the target financial product input by the user on the client;

[0019] A financial data acquisition module, used to acquire the financial data of the target financial product based on the identifier and the target transaction date;

[0020] A financial chart image generation module, used to generate a financial chart image of the target financial product based on the financial data;

[0021] A news and public opinion data acquisition module, used to obtain news and public opinion data related to the target financial product;

[0022] A text data conversion module, used to convert the news public opinion data into text data in a preset data format;

[0023] An audio segment generating module, used for generating an audio segment of the voice that broadcasts the text data;

[0024] A video frame generation module, used for generating a video frame of a target video based on the duration of the audio segment and the financial chart image;

[0025] The target video feedback module is used to synchronize the audio segment with the video frame of the target video to obtain the target video, and feed back the target video to the client.

[0026] According to another aspect of an embodiment of the present invention, a video push device is provided, which is applied to a client, and the device includes:

[0027] A second target information obtaining module is used to obtain the identifier and target trading date of the target financial product input by the user;

[0028] A target information sending module, used for sending the identifier of the target financial product and the target transaction date to the server, so that the server generates a target video according to any of the above-mentioned video push devices applied to the server, and feeds back the target video to the client;

[0029] The target video display module is used to receive the target video and display the target video.

[0030] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0031] Memory, used to store computer programs;

[0032] The processor is used to implement any of the above-mentioned video pushing methods when executing the program stored in the memory.

[0033] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any of the above-mentioned video pushing methods is implemented.

[0034] According to another aspect of the embodiments of the present invention, there is provided a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the above-mentioned video pushing methods.

[0035] Beneficial effects of the embodiments of the present invention:

[0036] According to the video push method provided by the embodiment of the present invention, when a user wants to obtain the financial information of the target financial product on the target trading day, the user can input the identifier of the target financial product and the target trading day on the user side to send a request to the server side, and the server side collects the financial data of the target financial product and the news and public opinion data, processes the financial data to generate financial chart information, generates audio of the voice of the text in the news and public opinion data, and generates a target video that can introduce the financial information of the target financial product based on the audio and financial chart information, and feeds the generated target video back to the user side. The processed financial information is displayed to the user in the form of a dynamic and visualized video, so that the user can obtain the target video that introduces the financial information of the target financial product in a more convenient way, which enables the user to obtain the financial information of the target financial product more quickly and simply, and improves the efficiency of the user in obtaining financial information.

[0037] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0039] Figure 1 A schematic diagram of a flow chart of a video push method provided by an embodiment of the present invention;

[0040] Figure 2 A flowchart of another video push method provided by an embodiment of the present invention;

[0041] Figure 3a A schematic diagram of a first financial chart image provided by an embodiment of the present invention;

[0042] Figure 3b A schematic diagram of a second financial chart image provided by an embodiment of the present invention;

[0043] Figure 3c A schematic diagram of a third type of financial chart image provided by an embodiment of the present invention;

[0044] Figure 3d A schematic diagram of a fourth financial chart image provided by an embodiment of the present invention;

[0045] Figure 4 A schematic diagram of a flow chart of a method for generating a video frame provided by an embodiment of the present invention;

[0046] Figure 5 A flowchart of another video push method provided by an embodiment of the present invention;

[0047] Figure 6 A schematic diagram of the structure of a video push device provided by an embodiment of the present invention;

[0048] Figure 7 A schematic diagram of the structure of another video push device provided by an embodiment of the present invention;

[0049] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0051] The following is a description of the background technology of the embodiments of the present invention.

[0052] In the financial field, users need to understand market dynamics, company performance, policy changes, etc. through various types of financial information, so that users can better assess the risks of financial products. It can be seen that financial information is very important to users. However, users usually need to manually search for the information they need on the Internet, manually subscribe to relevant websites and news sources to obtain financial information, and the financial information searched by users usually contains two parts: structured information and unstructured information. On the one hand, it is difficult for users to filter and analyze a large amount of unstructured information; on the other hand, collecting relevant data of structured information often requires users to have strong professionalism in the computer field and the financial field, and ordinary users often find it difficult to collect relevant data of a large amount of unstructured information and difficult to analyze the collected data. In addition, the information obtained by users is disorganized and the information presentation is not intuitive enough. Although financial information is obtained, it is difficult for users to quickly understand and evaluate financial information.

[0053] In one embodiment of the present invention, see Figure 1 A flow chart of a video push method is provided, the method is applied to a server, and the method includes the following steps S101-S108.

[0054] Step S101: Obtain the identifier of the target financial product and the target trading date input by the user on the client.

[0055] Among them, financial products may include: stocks, funds, futures, bonds, etc. If the user wants to learn more about the financial information of the target financial product, the user can enter the identifier of the target financial product on the client, and the client can send the identifier of the target financial product to the server to request the target video introducing the financial information of the target financial product. Among them, each financial product has a unique identifier corresponding to it. For example, when the target financial product is a stock, the identifier of the target financial product can be: stock ID (identification). In one case, the user can also enter the date of the target trading day to which the user wants to learn more about the financial information of the target financial product on the client. In another case, if the user does not enter the date of the target trading day, if the current date is a non-trading day, the nearest trading day before the date when the user uses the client to initiate a request for the target video introducing the financial information of the target financial product can be used as the target trading day. If the current date is a trading day, the date when the user uses the client to initiate a request for the target video introducing the financial information of the target financial product can be used as the target trading day. In this way, the server can obtain the identifier and target trading day of the target financial product by receiving the identifier and target trading day of the target financial product entered by the user on the client.

[0056] Step S102: Based on the identifier and the target transaction date, obtain the financial data of the target financial product.

[0057] Step S103: Generate a financial chart image of the target financial product based on the financial data.

[0058] For different types of financial data, the server can obtain the financial data in different ways, and then generate financial chart images of the target financial products in different ways. The way in which the server obtains the financial data and generates the financial chart images in steps S102-S103 is described in the following embodiments and will not be described in detail here.

[0059] Step S104: Obtain news and public opinion data related to the target financial product.

[0060] In one implementation, the server can determine the target company related to the target financial product based on the identifier of the target financial product, and then obtain the news and public opinion data related to the target company within the second historical time from the data source of the news and public opinion data, for example, news content related to the target company, comments related to the target company in social media, etc. The second historical time is: a historical time of a preset time length before the target trading date, or a historical time of a preset time length before the current date. For example, the second historical time can be three months before the target trading date, or three months before the current date. Specifically, the server can obtain the news and public opinion data through a preset news and public opinion data acquisition interface.

[0061] Step S105: converting the news public opinion data into text data in a preset data format.

[0062] The preset data format may be a string array.

[0063] In one implementation, the server can directly convert the text of the obtained news and public opinion data into text data in a preset data format.

[0064] In another implementation, after obtaining the news public opinion data, the server can sort the news public opinion data in chronological order according to the time to which the news public opinion data belongs, input the sorted news public opinion data into a pre-trained large language model for summary extraction, obtain the news summary text of the news public opinion data, and then convert the above news summary text into text data in a preset data format to obtain the text data of the news summary text stored in a preset data structure. The time to which the news public opinion data belongs can be the time when the news public opinion data is collected, or it can be the time when the news public opinion data is released, and the large language model can be a large language model that has been tuned with financial vertical scenario data.

[0065] Other implementations of converting the text data into the preset data format in step S105 are described in the following embodiments and will not be described in detail here.

[0066] Step S106: Generate an audio segment of the voice that announces the text data.

[0067] The generated audio segment may be stored in the form of an audio file. For example, the data format of the audio file may be a WAV (WaveForm, audio file format) format.

[0068] In one implementation, the server may input the text data in the preset data format converted in step S105 into a preset speech generation model to generate an audio segment of the speech that broadcasts the text data. The preset speech generation model may be one of the following models: PnG BERT, Flow-TTS, Glow-TTS, DeepVoice3, and Tacontron2 (five audio generation models for text-to-speech).

[0069] Furthermore, in the process of generating an audio segment of the voice that announces the text data, the server may use the preset default voice parameters to generate the audio segment, wherein the voice parameters may include: timbre and speech speed, etc. The default voice parameters may include: timbre: female voice-neutral style, speech speed: 200 words / minute. The client may display a voice parameter selection button to the user on the user interaction interface, and the client may send the timbre and speech speed selected by the user to the server, and the server may use the timbre and speech speed selected by the user to generate the audio segment.

[0070] Other implementations of generating the audio segment in step S106 are described in the following embodiments and will not be described in detail here.

[0071] Step S107: Generate video frames of the target video based on the duration of the audio segment and the financial chart image.

[0072] In one implementation, the server may generate video frames showing each financial chart image in sequence according to the duration of the audio segment as video frames of the target video.

[0073] Other implementations of generating the video frame of the target video in step S107 are described in the following embodiments and are not described in detail here.

[0074] Step S108: Synchronize the audio track of the audio segment with the video frame of the target video to obtain the target video, and feed back the target video to the client.

[0075] In one implementation, the timestamps of the audio segment and the video frame are aligned to synchronize the audio tracks of the audio segment and the video frame of the target video, and the target video is obtained. After the target video is obtained, the obtained target video is fed back to the client.

[0076] Other implementations of audio track synchronization in step S108 are described in the following embodiments and will not be described in detail here.

[0077] By applying the video push method provided by the embodiment of the present invention, when a user wants to obtain the financial information of the target financial product on the target trading day, the user can input the identifier of the target financial product and the target trading day on the user side to send a request to the server side, and the server side collects the financial data of the target financial product and the news and public opinion data, processes the financial data to generate financial chart information, generates audio of the voice of the text in the news and public opinion data, and generates a target video that can introduce the financial information of the target financial product based on the audio and financial chart information, and feeds the generated target video back to the user side. The processed financial information is displayed to the user in the form of a dynamic and visualized video, so that the user can obtain the target video that introduces the financial information of the target financial product in a more convenient way, which enables the user to obtain the financial information of the target financial product more quickly and simply, and improves the efficiency of the user in obtaining financial information.

[0078] In this way, users can quickly obtain intuitive and rich financial information without having to have relevant coding skills, lowering the technical threshold for users to obtain financial information.

[0079] In another embodiment of the present invention, see Figure 2 A flow chart of another video push method is provided, the method comprising the following steps S201-S211. The above steps S105-S106 can be implemented by the following steps S206-S207, the above step S107 can be implemented by the following steps S208-S210, and the above step S108 can be implemented by the following step S211.

[0080] Step S201: Obtain the identifier of the target financial product and the target trading date input by the user on the client.

[0081] Step S202: Based on the identifier and the target transaction date, obtain the financial data of the target financial product.

[0082] Step S203: Generate a financial chart image of the target financial product based on the financial data.

[0083] Step S204: Obtain news and public opinion data related to the target financial product.

[0084] The implementation of steps S201-S204 is the same as the implementation of steps S101-S104 described above, and will not be described in detail here.

[0085] Step S205: segment the news and public opinion data.

[0086] In one implementation, the server can sort the news and public opinion data in chronological order according to the time to which the news and public opinion data belongs, input the sorted news and public opinion data into a pre-trained large language model for summary extraction, obtain the news summary text of the news and public opinion data, and then use a preset prompt to instruct the large language model to segment the news summary text to obtain multiple paragraphs of news summary text as multiple paragraphs of news and public opinion data. Among them, the preset prompt may include: segmenting the news summary text with about 100 words per paragraph, and the preset prompt may also include: segmenting the news summary text according to different topics, wherein the text length of the news summary text may also be limited to the range of 600 to 1000 words.

[0087] For example, if the length of the obtained news summary text is 700 words, the news summary text is segmented with each paragraph having about 100 words, and news public opinion data of 7 paragraphs can be obtained.

[0088] In another implementation, the server may obtain the news summary text in the manner of the previous implementation, extract the semantics in the news summary text, and segment the news summary text according to preset semantic categories. For example, the preset semantic categories may include: social evaluation and public opinion, financial market news, policy news, etc.

[0089] In another implementation, the server may segment the text of the obtained news and public opinion data according to a preset paragraph word limit to obtain multiple paragraphs of news and public opinion data.

[0090] Step S206: for each paragraph of news public opinion data obtained by segmentation, convert the news public opinion data of the paragraph into text data in a preset data format.

[0091] In one implementation, when the preset data format is a string array, the server converts the obtained news public opinion data of each paragraph into text data in the preset data format, and obtains text data in the string array data format corresponding to each paragraph.

[0092] For example, if 7 paragraphs of news public opinion data are obtained by segmentation, the server converts the data format of each paragraph of news public opinion data, and a string array including 7 paragraphs of text data can be obtained, and the length of the string array is 7. The length of the string array is the same as the number of paragraphs obtained by segmenting the news public opinion data.

[0093] Step S207: for each paragraph of text data obtained, generate an audio segment of speech that announces the text data of the paragraph.

[0094] In one implementation, when the preset data format is a string array, for each paragraph of text data obtained, the server can generate an audio segment of the voice that broadcasts the text data of the paragraph in the following manner: the server can input the text data in the string array data format corresponding to the paragraph into a preset voice generation model to generate an audio segment of the voice that broadcasts the text data of the paragraph. The audio segment of each paragraph obtained can have a sequence, for example, the audio segment of each paragraph can be sorted according to the order of the text data of each paragraph in the news public opinion data.

[0095] For example, if a string array of 7 paragraphs is obtained, the string array of the first paragraph is input into the preset speech generation model to generate an audio segment of the speech that broadcasts the text data of the first paragraph, and so on, until an audio segment of the speech that broadcasts the text data of the seventh paragraph is obtained.

[0096] Step S208: For each paragraph of news public opinion data, generate a background image of the paragraph based on the text data of the paragraph.

[0097] In one implementation, for each paragraph of news and public opinion data, the server can generate the background image of the paragraph in the following manner: the server can input the text data of the paragraph into a stable-diffusion (a generative model) improved model, and the stable-diffusion improved model can output a background image related to the content described by the text data of the paragraph. For example, if the main content of the text data description is that XX Company held a shareholders' meeting, then the stable-diffusion improved model can output a background image of multiple people meeting in a conference room. Among them, the stable-diffusion improved model can be a stable-diffusion model that has been fine-tuned with financial graphic data.

[0098] The following is an example of generating a background image for each paragraph.

[0099] For example, if step S207 obtains text data of 7 paragraphs, then the server can input the first paragraph into the stable-diffusion improved model to obtain the background image of the first paragraph, and so on, until the seventh paragraph is input into the stable-diffusion improved model to obtain the background image of the seventh paragraph, and finally obtain the background images of 7 paragraphs. The number of generated background images is the same as the number of paragraphs obtained by segmenting the news public opinion data.

[0100] Furthermore, the server may generate a background image of a specified resolution according to a preset background resolution. For example, the background resolution may be 1280×720.

[0101] Step S209: Generate video frames of the background video layer of the target video based on the duration of the audio segment of each paragraph and the background image of each paragraph.

[0102] The server can generate video frames of the background video layer of the target video by following the steps AB:

[0103] Step A: For each paragraph, generate an entry special effect video frame and an exit special effect video frame of the background image of the paragraph, generate a video frame showing the background image of the paragraph between the entry special effect video frame and the exit special effect video frame, and obtain a segmented video frame of the paragraph. The video duration of the generated video frame showing the background image of the paragraph is the same as the duration of the audio segment of the paragraph. The order of generating the entry special effect video frame and the exit special effect video frame and generating the video frame showing the background image of the paragraph is not a matter of first or last.

[0104] In one implementation, for each paragraph, the server can generate segmented video frames of the paragraph according to the preset parameters of the background video layer video:

[0105] Generate a video frame showing the background image of the paragraph whose video duration is the same as the duration of the audio segment of the paragraph, and generate a background entry special effect video frame of the paragraph before the video frame of the above-mentioned background image according to the video playback order, and generate a background entry special effect video frame of the paragraph after the video frame of the above-mentioned background image, to obtain the segmented video frame of the paragraph. The video parameters of the background video layer may include: background frame rate, background entry special effect duration, background exit special effect duration, etc. For example, the background frame rate may be 24 frames / second, and the background entry special effect duration and background exit special effect duration are 0.5 seconds.

[0106] For another example, the server can use ffmpeg (an open source multimedia processing framework) to generate segmented video frames for each paragraph, such as generating segmented video frames for each paragraph according to the following instructions: ffmpeg -framerate 24 -i level1_imgs.txt -vf "transition=dissolve,0.5:0.5" -c:v libx264 -pix_fmt yuv420p -crf23 level1.mp4. Among them, -framerate 24 means setting the video frame rate to 24 frames per second, -framerate 24 means setting the background frame rate to 24 frames per second, -i level1_imgs.txt: indicates a text file storing the file names of each background image and the absolute path where the files are stored, -vf "transition=dissolve,0.5:0.5" means setting the entry and exit effects to: the dissolve effect to the field transition effect, 0.5:0.5 means setting the background entry effect duration to 0.5 seconds and the background exit effect duration to 0.5 seconds, -c:v libx264 means using the libx264 encoder for video encoding, -pix_fmt yuv420p means setting the pixel format to yuv420p, -crf 23 means setting the quality factor of the output video to 23, and level1.mp4 indicates the name of the output video file.

[0107] In this way, the background image in the video can be switched more smoothly and naturally, further improving the visual effect and viewing experience of the generated target video.

[0108] Step B: splicing the segmented video frames of each generated paragraph to obtain the video frames of the background video layer of the target video.

[0109] In one implementation, the segmented video frames of each paragraph may be sorted according to the sorting order of the audio segments of each paragraph, and the generated segmented video frames of each paragraph may be spliced ​​to obtain the video frames of the background video layer of the target video.

[0110] Step S210: Based on the total duration of each audio segment and the financial chart image, a video frame of the information video layer of the target video is generated to obtain the video frame of the target video.

[0111] Among them, the picture of the information video layer is displayed on the picture of the background video layer.

[0112] In one implementation method, the server can respectively set the video frames of the background video layer of the target video and the video frames of the information video layer of the target video in different layers and merge them to obtain the video frames of the target video, wherein the layer where the video frames of the information video layer of the target video are located is below the layer where the video frames of the background video layer of the target video are located.

[0113] Step S211: synchronize the audio track of the audio segment with the video frame of the target video to obtain the target video, and feed back the target video to the client.

[0114] When the video frames of the background video layer of the target video are obtained according to the above steps AB, the video duration of the video frames of the background image of each paragraph is the same as the duration of the audio segment of the paragraph. After adding the entry special effect video frames and the exit special effect video frames, the audio track synchronization can be performed in the following way: add interval audio of the audio interval time between the audio segments of two adjacent paragraphs.

[0115] The audio interval time is equal to the sum of the duration of the exit special effect of the first paragraph and the duration of the entrance special effect of the second paragraph. The first paragraph is the paragraph to which the segmented video frames played first in the video playback order belong, and the second paragraph is the paragraph to which the segmented video frames played later in the video playback order belong. The interval audio can be blank audio or special effect audio of the entrance special effect and the exit special effect.

[0116] For example, if the following command is used to generate segmented video frames for each paragraph: ffmpeg -framerate 24 -ilevel1_imgs.txt -vf "transition=dissolve,0.5:0.5" -c:v libx264 -pix_fmtyuv420p -crf 23 level1.mp4, then the duration of the entry and exit effects in the video frames of each paragraph is 0.5 seconds, that is, the duration of the exit effect in the video frame of the first paragraph is 0.5 seconds, and the duration of the entry effect in the video frame of the second paragraph is 0.5 seconds, then the audio interval time is: 0.5 seconds + 0.5 seconds = 1 second.

[0117] In addition, if the entry special effect of the segmented video frame of the first paragraph is 0.5 seconds, then the timestamp of the start of the audio segment of the first paragraph should be aligned with the timestamp of the start of the segmented video frame of the first paragraph. An opening video frame showing text information such as the target financial product ID and other information of the target financial product can also be added before the segmented video frame of the first paragraph, and a video frame showing risk warnings can be added at the end of the target video. In this way, the visual effect and viewing experience of the generated target video can be further improved by setting the interval audio of the audio interval time, and the situation where the audio track is out of sync with the video screen can be reduced.

[0118] From the above, it can be seen that by segmenting the news and public opinion data, audio segments and background images can be generated for different paragraphs respectively. By generating video frames of the background video layer and video frames of the information video layer, the visual effect and viewing experience of the generated target video can be improved.

[0119] The following describes the manner in which the server obtains financial data and generates financial chart images in steps S102-S103.

[0120] In one embodiment of the present invention, the financial data may include at least one of the following data:

[0121] 1. Intraday financial data of the target financial product on the target trading day.

[0122] 2. The intraday financial data of the target financial product during the trading day interval, where the trading day interval is: the first preset number of consecutive trading days including the target trading day.

[0123] 3. Financial data from financial reports of companies related to the target financial products.

[0124] In this way, by obtaining multi-dimensional financial data, users can be provided with richer financial information and their sources of financial information acquisition can be increased, which can further enable users to efficiently obtain multi-dimensional financial information and improve the efficiency of users in obtaining financial information.

[0125] The following describes how to obtain different financial data.

[0126] 1. Intraday financial data of the target financial product on the target trading day

[0127] The intraday financial data is obtained in the following manner: for each first preset time period in the target trading day, based on the trading data of the target financial product in the first preset time period, the first trading indicator of the target financial product in the first preset time period is obtained, and the intraday financial data including the first trading indicator of each first preset time period in the target trading day is obtained.

[0128] The first transaction indicator may include at least one of the following indicators: the starting price of the first preset time, the ending price of the first preset time, the highest price within the first preset time, and the lowest price within the first preset time. For example, the first preset time may be one minute, five minutes, ten minutes, and so on.

[0129] In one implementation, for each first preset time period in the target trading day, the server can determine the transaction data belonging to the first preset time period according to the timestamp of the transaction data, and calculate the first transaction index of the target financial product of the first preset time period according to the transaction data within the first preset time period. For example, taking the first preset time period as one minute as an example, the server can determine the transaction data belonging to [10:40:00, 10:41:00), and calculate the first transaction index of the target financial product of [10:40:00, 10:41:00) according to the transaction data within [10:40:00, 10:41:00), and similarly, calculate the first transaction index of the target financial product of [10:41:00, 10:42:00), and so on, until the first transaction index of the target financial product of each minute in the trading time period of the target trading day is calculated, and the first transaction index at the minute level is obtained.

[0130] The above step S103 can generate a financial chart image of intraday financial data in the following manner:

[0131] For each first trading indicator of the first preset time period in the target trading day, a financial chart image including the first trading indicator of the first preset time period and the first trading indicator of the preceding time period of the first preset time period is generated according to the chronological order of each first preset time period in the target trading day.

[0132] Specifically, the server generates a financial chart image of the intraday financial data of each first preset time for each first trading indicator of the first preset time, and then obtains the financial chart image of the intraday financial data of the first first preset time according to the time sequence of each first preset time in the target trading day. When generating the first trading indicator of the second first preset time, the first trading indicator of the second first preset time is added based on the first trading indicator of the first preset time used for the financial chart image of the intraday financial data of the first preset time, and a financial chart image including multiple consecutive first trading indicators of the first preset time is generated according to the added first trading indicator to obtain the financial chart image of the second intraday financial data. And so on, when generating the first trading indicator of the current first preset time, the first trading indicator of the first preset time used for the financial chart image of the intraday financial data of the previous first preset time is added based on the first trading indicator of the first preset time, and a financial chart image including multiple consecutive first trading indicators of the first preset time is generated according to the added first trading indicator, until the financial chart image of the kth intraday financial data is generated, where k represents the number of first preset time periods included in the target trading day. In the process of generating the financial chart image, the image may be generated according to the preset image parameters of the financial chart image. For example, the image parameters may include resolution, and the resolution of the financial chart image may be set to 640×360.

[0133] For example, see Figure 3a A diagram of the first type of financial chart image provided, Figure 3b A diagram of the second type of financial chart image provided, Figure 3c A schematic diagram of the third type of financial chart image provided, Figure 3d The fourth type of financial chart image provided is shown in Figure 1. Figure 3a is the i-th financial chart image, then the i+1-th financial chart image can be found in Figure 3b The financial chart image shown, the i+2th financial chart image can be found in Figure 3c The financial chart image shown, the i+3th financial chart image can be found in Figure 3d Financial chart image shown.

[0134] The above step S103 can also generate a financial chart image of intraday financial data in the following manner:

[0135] After obtaining the financial chart images of k intraday financial data according to the above implementation, the server can draw a dynamic picture based on the financial chart images of the k intraday financial data as the financial chart image of the intraday financial data.

[0136] Specifically, the server can use FFmpeg to draw dynamic pictures based on financial chart images of k intraday financial data.

[0137] For example, the server can name the generated financial chart images of k intraday financial data in sequence: image1.jpg, image2.jpg......imagek.jpg. And record the file names of the image files of the generated financial chart images of k intraday financial data and the absolute paths of the image files in a text file named images.txt. Then, the dynamic image can be drawn based on the financial chart images of k intraday financial data based on the following command: ffmpeg -f image2pipe -i images.txt -r 24 -loop 1 output.gif. Among them, -fimage2pipe means that ffmpeg reads the input file in the image pipe format, -r 24 means setting the frame rate of the dynamic image to 24 frames per second, -loop 1 means that the dynamic image is played in a loop, and output.gif means the file name of the generated dynamic image. In addition, if you need to adjust the size or color depth of the dynamic image, you can also add additional ffmpeg parameters, such as -s (set resolution) and -pix_fmt (set pixel format).

[0138] 2. Daily financial data of the target financial product during the trading day

[0139] The intraday financial data is obtained in the following manner: for each trading day in the trading day interval, based on the trading data of the target financial product on the trading day, the second trading indicator of the target financial product on the trading day is obtained, and the intraday financial data including the second trading indicator of each trading day in the trading day interval is obtained.

[0140] The second trading indicator may include at least one of the following indicators: the highest price of the trading day, the lowest price of the trading day, the opening price of the trading day, the closing price of the trading day, and the transaction amount of the trading day. The trading day interval may be 22 trading days. If the target trading day is the trading day closest to the current date, the trading day interval may be the target trading day and the 21 trading days before the target trading day.

[0141] In one implementation, for each trading day in the target trading day, the server can determine the trading data belonging to the trading day according to the timestamp of the trading data, and calculate the second trading index of the target financial product of the trading day according to the trading data of the trading day. In addition, if the target financial product is a stock, and the stock undergoes changes such as ex-rights and ex-dividends, the three indicator calculation methods of pre-adjusted, non-adjusted, and post-adjusted can be used to calculate the pre-adjusted second trading index, the non-adjusted second trading index, and the post-adjusted second trading index within the trading day interval, and the corresponding financial chart image can be generated for each second trading index.

[0142] The above step S103 can generate a financial chart image of the daily financial data in the following manner:

[0143] For the second trading index of each trading day in the target trading day, a financial chart image including the second trading index of the trading day and the second trading index of the preceding time of the trading day is generated according to the time sequence of each trading day in the trading day interval.

[0144] Specifically, the server generates a financial chart image of the intraday financial data of each trading day for the second trading indicator of the trading day, and then obtains the financial chart image of the intraday financial data of the first trading day according to the time sequence of each trading day in the trading day interval. When generating the second trading indicator of the second trading day, the second trading indicator of the second trading day is added based on the second trading indicator of the trading day used for the financial chart image of the intraday financial data of the first trading day, and a financial chart image including the second trading indicators of multiple consecutive trading days is generated according to the added second trading indicator to obtain the financial chart image of the second intraday financial data. And so on, when generating the second trading indicator of the current trading day, the second trading indicator of the trading day used for the financial chart image of the intraday financial data of the previous trading day is added based on the second trading indicator of the trading day, and a financial chart image including the second trading indicators of multiple consecutive trading days is generated according to the added second trading indicator, until the financial chart image of the jth intraday financial data is generated, where j represents the number of trading days included in the trading day interval. In the process of generating the financial chart image, the image generation can be performed according to the preset image parameters of the financial chart image. For example, the image parameters may include resolution. For example, the resolution of the financial chart image may be set to 640×360. In addition, the generated financial chart image of the intraday financial data may also refer to the following Figure 3a-3d Financial chart image shown.

[0145] The above step S103 can also generate a financial chart image of the daily financial data in the following manner:

[0146] After obtaining the j financial chart images of the daily financial data according to the above implementation, the server can draw a dynamic picture based on the j financial chart images of the daily financial data as the financial chart image of the daily financial data.

[0147] Specifically, the server may use FFmpeg to draw dynamic images based on financial chart images of j daily financial data.

[0148] For example, the server can name the generated financial chart images of j daily financial data in sequence: image1.jpg, image2.jpg...imagej.jpg. And record the file names of the image files of the generated financial chart images of j daily financial data and the absolute paths of the image files in a text file named images.txt. Then, the server can draw dynamic images based on the financial chart images of j daily financial data based on the following command: ffmpeg -f image2pipe -i images.txt -r 24 -loop 1 output.gif.

[0149] 3. Financial data of companies related to the target financial products

[0150] The financial report financial data is obtained in the following manner: for each financial report period in the first historical time of the company, based on the financial report of the company in the financial report period, the financial report indicators of the company in the financial report period are obtained, and the financial report financial data including the financial report indicators of the company in each financial report period are obtained. Among them, the first historical time can be a preset time length before the target trading day, for example, the preset time length can be three years, and the first historical time is three years before the target trading day. Each financial report period can be annual, semi-annual, or quarterly. Corresponding to the financial report period, the financial report of the company in the financial report period used to calculate the financial report indicators may include: annual report, semi-annual report, and quarterly report.

[0151] In one implementation, the server may calculate at least one of the following indicators for the reporting period as the company's financial reporting indicator for the reporting period: total revenue amount, net profit attributable to parent company, debt-to-net asset ratio, property rights ratio, and tangible net worth debt ratio.

[0152] The debt-to-equity ratio is obtained using the following expression: d2e = tot_liab / (tot_assets -tot_liab), where tot_liab is the company's total liabilities reported for the reporting period, and tot_assets is the company's total assets reported for the reporting period.

[0153] The equity ratio is obtained by the following expression: debttoequity = tot_liab / tot_shrhldr_eqy_excl_min_int, where tot_shrhldr_eqy_excl_min_int is the company's reported shareholders' equity for the reporting period.

[0154] The debt-to-tangible net worth ratio is obtained as follows:

[0155] ttdtotangibleequity_1 =tot_liab / (tot_shrhldr_eqy_excl_min_int -intang_assets), where tot_shrhldr_eqy_excl_min_int is the shareholders' equity reported by the company for the reporting period, and intang_assets is the intangible assets reported by the company for the reporting period.

[0156] After calculating the above-mentioned debt-to-net-asset ratio, property rights ratio, and tangible net worth debt ratio, each of the debt-to-net-asset ratio, property rights ratio, and tangible net worth debt ratio can be constructed into structured data in the form of data frames in the form of quarterly, semi-annual, and annual data.

[0157] The above step S103 can generate a financial chart image of the financial report financial data in the following manner: for each financial report indicator of the company within the first historical period, generate a financial chart image representing the financial report indicator within the first historical period.

[0158] Specifically, the server can generate a bar chart of annual total revenue in the past three years, a bar chart of annual net profit attributable to shareholders in the past three years, a line chart of quarterly total revenue in the past three years, a line chart of quarterly net profit attributable to shareholders in the past three years, a line chart of changes in the debt-to-net asset ratio in each quarter in the past three years, a line chart of changes in the property rights ratio in each quarter in the past three years, and a line chart of changes in the tangible net worth debt ratio in the past three years.

[0159] The above step S103 can also generate a financial chart image of the financial report financial data in the following manner: for each financial report indicator of the latest financial report period within the company's first historical time, generate a year-on-year financial chart image representing the financial report indicator of the latest financial report period relative to the financial report indicator of the same financial report period in the previous year.

[0160] Specifically, the server can generate a year-on-year bar chart of quarterly total revenue for the quarter in which the most recently released financial report is located, and a year-on-year bar chart of quarterly net profit attributable to shareholders for the quarter in which the most recently released financial report is located.

[0161] In addition, the server can generate financial chart images of financial report financial data based on matplot or highcarts (two visual chart drawing tools).

[0162] When generating a financial chart image of financial report financial data, the resolution of the financial chart image can be set to 640×360.

[0163] In addition, before obtaining financial data, the initial data of each type of financial data can be obtained, such as the initial data of intraday financial data and interday financial data can include the transaction data of the target financial product, and the initial data of financial report financial data can include the company's financial report. The data source and data storage form of the initial data of each type of financial data are different. The server can first obtain the initial data of the above three types of financial data respectively according to different preset financial data acquisition interfaces, and then classify and identify the initial data of each type of financial data obtained, and then determine the method for processing the initial data of the financial data according to the classification identification, and then process the initial data to obtain the financial data. In this way, the initial data including structured information and unstructured information can be processed accordingly to obtain financial data, which is convenient for further pre-processing such as cleaning, sorting and analysis of the financial data.

[0164] In this way, by pre-processing the multi-dimensional financial data such as cleaning, sorting and analysis, the financial information can be further refined, and more intuitive and detailed financial information can be provided to users, further enabling users to efficiently obtain multi-dimensional financial information and improving the efficiency of users in obtaining financial information.

[0165] The following describes the method of generating the video frame of the target video in step S107.

[0166] In one embodiment of the present invention, see Figure 4 A flow chart of a method for generating a video frame is provided, wherein the method comprises the following steps S401-S403.

[0167] Step S401: Obtaining the information level of the material used to generate the video frame of the target video.

[0168] The material includes at least one of the following information: financial chart images, text data, and images generated based on text data, and the information volume level represents the amount of financial information contained in the material.

[0169] In one implementation, the information level of each type of material is set in advance, and the value of the information level of each type of material can be recorded. For example, the information level of text data can be 1, the information level of images generated based on text data can be 2, the information level of financial chart images of intraday financial data can be 3, and the information level can be 4. The higher the value of the information level of the material, the higher the amount of financial information contained in the material. The server can record the value of the information level of each type of material according to the value of the information level of each type of material.

[0170] For example, assuming that the materials include: financial chart images generated based on the company's financial report, financial chart images generated based on intraday financial data, financial chart images generated based on daytime financial data, and images generated based on text data, then the information level of the financial chart images generated based on the company's financial report is the third level, the information level of the financial chart images generated based on intraday financial data is the second level, the information level of the financial chart images generated based on daytime financial data is the second level, and the information level of the images generated based on text data is the first level. In order of information level from low to high, the information level is the first level, the second level, and the third level.

[0171] In another implementation, the server can determine the time span of the data based on the data used to generate the material, and sort the materials in order of time span from long to short based on the time span of the data used to generate the material, so as to obtain the information level of the material used to generate the video frame of the target video. For example, for the material of financial chart images of intraday financial data, the material used to generate the financial chart images of intraday financial data is the intraday financial data of the first trading indicator of each first preset time length in the target trading day, and the time span is the target trading day. For the material of financial chart images generated based on financial report financial data, the material used to generate the financial chart images is the financial report of the company in each financial report period in the first historical time, and the time span is the first historical time, which is greater than the target trading day by one day. Therefore, the material of financial chart images generated based on financial report financial data can have a greater information level than the material of financial chart images of intraday financial data.

[0172] If the materials include: financial chart images generated based on the company's financial report, financial chart images generated based on intraday financial data, and images generated based on text data, then the order of sorting the materials in the order of time span from long to short is: financial chart images generated based on the company's financial report, financial chart images generated based on intraday financial data, and images generated based on text data. According to the above order, the information level of the financial chart images generated based on the company's financial report is the third level, the information level of the financial chart images generated based on intraday financial data is the second level, and the information level of the images generated based on text data is the first level.

[0173] Other implementations of step S401 for obtaining the information level of the material are described in the following embodiments and will not be described in detail here.

[0174] Step S402: Based on the information level of each material, determine the layer of each material in the video frame and the layout information in the layer.

[0175] In one implementation, a preset correspondence between the material belonging to each information level and the layers in the video frame and the layout information in the layers can be set for each information level. The server can use the above preset correspondence to quickly generate video frames of the target video using relatively fixed materials in the layers in the video frame and the layout information in the layers, thereby improving the efficiency of video generation and the efficiency of pushing videos to users.

[0176] For example, the layer in the video frame and the layout information in the layer corresponding to the material with the first information level are: located in the bottom layer. The layer in the video frame and the layout information in the layer corresponding to the material with the second information level are: located in the upper layer of the bottom layer, and located in the preset low-attention area in the layer. The layer in the video frame and the layout information in the layer corresponding to the material with the second information level are: located in the upper layer of the bottom layer, and located in the preset high-attention area in the layer. For example, the low-attention area may include an area of ​​a preset size in the upper left corner and an area of ​​a preset size in the upper right corner, and the high-attention area may include an area of ​​a preset size in the middle. For example, the low-attention area may include an area located in the upper left corner and 1 / 4 of the size of the video screen, and an area located in the upper right corner and 1 / 4 of the size of the video screen.

[0177] For another example, the display area of ​​the material corresponding to the material with the third information level in the layer is: located in the central area of ​​the target video, with the center of the target video as the center of the circle and the length or width of the target video at the first preset ratio as the diameter. The display area of ​​the material corresponding to the second information level in the layer is: located in the four corners of the target video, with the four corners of the target video as the center of the circle and the length or width of the target video at the second preset ratio as the radius. The display area of ​​the material corresponding to the first information level in the layer is: located in the edge area of ​​the target video, with the four edges of the target video as the starting ends, and extending to the center of the target video to form the length or width of the target video at the third preset ratio. For example, the first preset ratio can be 0.35, the second preset ratio can be 0.15, and the third preset ratio can be 0.10.

[0178] Furthermore, for materials with the third level of information volume, you can set dynamic zooming, three-dimensional floating effects and other prominent effects, for example, the zoom factor of dynamic zooming can be set to: 1.2-1.5. For materials with the second level of information volume, you can use dynamic thumbnails to display them. For materials with the first level of information volume, you can use a semi-transparent mode for carousel display, for example, the transparency can be set to 60%.

[0179] Step S403: Generate a video frame of the target video based on the layer where each material is located, the layout information of the material in the layer, and the duration of the audio segment.

[0180] In one implementation, for materials with different information levels, the server can determine the layer and layout information corresponding to the information level of the material, and use the material in the layout area indicated by the layout information in the determined layer to generate a video frame corresponding to the information level. Until the video frame corresponding to each information level is generated, the video frame of the target video is obtained. The video duration of the generated video frame is the same as the duration of the audio segment. In addition, if there are multiple audio segments, the video duration of the generated video frame is the same as the total duration of each audio segment.

[0181] For example, the materials include: financial chart images generated based on the company's financial reports, financial chart images generated based on intraday financial data, financial chart images generated based on interday financial data, and images generated based on text data, and the information volume level of the financial chart images generated based on the company's financial reports is the third level, the information volume level of the financial chart images generated based on intraday financial data is the second level, the information volume level of the financial chart images generated based on interday financial data is the second level, and the information volume level of the images generated based on text data is the first level.

[0182] In the process of generating video frames using materials of different information levels, for each information level, video frames can be generated based on the materials of the information level according to the pre-set video parameters of the information level. For example, if the video parameters include the frame rate of the video, the duration of the entry special effect, the duration of the exit special effect, and the transition special effect, for the video frames generated by the image generated based on text data with the first information level, the frame rate of the generated video frames can be set to 24 frames / second, and the duration of the entry special effect and the duration of the exit special effect are both 0.5 seconds. For the video frames generated by the financial chart image generated based on intraday financial data and the financial chart image generated based on daytime financial data with the second information level, the frame rate of the generated video frames can be set to 48 frames / second, and the duration of the entry special effect and the duration of the exit special effect are both 1 second. For video frames generated using financial chart images generated based on a company's financial report with the third level of information volume, the frame rate of the generated video frames can be set to 60 frames per second, and the duration of the entry and exit special effects are both 1.5 seconds.

[0183] The instructions for generating video frames of different information levels based on materials of different information levels can refer to the above step S209. For example, the server can generate video frames of the first information level according to the following instructions: ffmpeg -framerate 24 -i level1_imgs.txt -vf "transition=dissolve,0.5:0.5" -c:vlibx264 -pix_fmt yuv420p -crf 23 level1.mp4. For example, -i level1_imgs.txt: can represent a text file storing the file names of materials of the first information level and the absolute paths of the file storages.

[0184] The server can generate video frames with the second level of information volume according to the following instructions: ffmpeg -framerate 48 -i level2_imgs.txt -vf "transition=rectcrop,1:1" -c:v libx264 -pix_fmt yuv420p -crf 23 level2.mp4. For example, -i level2_imgs.txt: can represent a text file storing the file names of the materials with the second level of information volume and the absolute paths of the files, -vf "transition=rectcrop,1:1" means that the entry and exit effects are set as the transition effect of rectangular cropping, and 1:1 means that the duration of the entry and exit effects is 1 second and 1 second respectively.

[0185] The server can generate video frames with the third level of information volume according to the following instructions: ffmpeg -framerate 60 -i level3_imgs.txt -vf "transition=slideright,1.5:1.5" -c:vlibx264 -pix_fmt yuv420p -crf 23 level2.mp4. For example, -i level2_imgs.txt: can represent a text file storing the file names of materials with the third level of information volume and the absolute paths of the files, -vf " transition=rectcrop,1:1" means that the entry and exit effects are set as: a transition effect of sliding to the right, and 1.5:1.5 means that the duration of the entry effect is 1.5 seconds and the duration of the exit effect is 1.5 seconds.

[0186] In this way, according to the information level of the material, the video frames generated using materials with different information levels are divided into information levels. When generating the video frames of the target video, the parameters can be flexibly adjusted according to the information level to highlight more important information, thereby enabling users to more efficiently obtain more important information with higher information volume, thereby enhancing the visual effect and viewing experience.

[0187] The following describes the method of obtaining the information level of the material in step S401.

[0188] In one embodiment of the present application, the server may obtain an information volume characterization value of the material based on the financial data or news and public opinion data used to generate the material, and then determine the information volume level of the material based on the information volume characterization value of the material.

[0189] The following describes the method of determining the information value representation value of the material according to different situations.

[0190] Case 1: The data used to generate the material is news and public opinion data

[0191] In one implementation, the server can determine the timeliness importance value of the news public opinion data based on the release time of the news public opinion data, the preset timeliness reinforcement coefficient, and the preset time decay coefficient. Then, based on the frequency representation value of each financial keyword in the news public opinion data, the amount of text data in the news public opinion data, and the timeliness representation value, the information volume representation value of the material is obtained.

[0192] Among them, the financial keywords in the news public opinion data are: financial keywords obtained by keyword matching in the news public opinion data based on the financial keywords in the preset financial entity vocabulary. The frequency representation value of the financial keywords is: a numerical value representing the frequency of the financial keywords in the news public opinion data and the representativeness of the financial keywords to the news public opinion data. For example, the frequency representation value can be determined by the TF-IDF (term frequency-inverse document frequency) method. The timeliness reinforcement coefficient is: a coefficient set according to the degree of influence of time on the importance of the news public opinion data. For example, for news public opinion data with strong timeliness, a higher timeliness reinforcement coefficient can be set. The time decay coefficient is: a coefficient set according to the degree of decay of the importance of the news public opinion data over time. For example, if the news public opinion data is released, the longer the current time is from the release time of the news public opinion data, the lower the importance of the news public opinion data, that is, the lower the reference value of the news public opinion data, then a larger time decay coefficient can be set.

[0193] Specifically, the server can determine the information value of the material according to the following expression:

[0194] ;

[0195] in, The financial keywords in the news and public opinion data belong to the preset financial entity vocabulary. Represents financial keywords determined based on the TF-IDF method The word frequency representation value of is the preset time-effectiveness enhancement coefficient, is the preset time decay coefficient, is the time interval between the release time of news and public opinion data and the time when the user sends the video request. is the timeliness representation value. In this way, the timeliness attenuation of news and public opinion data can be achieved. When the time between the release of news and public opinion data and the time when the user sends a video request is too long, the information representation value of the news and public opinion data is reduced, thereby reducing the importance of the material generated based on the news and public opinion data in the target video. For example, if For a hour, the information value of the material calculated is Q, then if If it is a+24 hours, the information characterization value of the material calculated is 0.1Q.

[0196] Case 2: The data used to generate the material is the financial data of the company related to the target financial product

[0197] In one implementation, the server can determine the information value corresponding to each financial report indicator in the financial report data according to the difference between the current value and the base value of the financial report indicator, the dispersion value of the financial report indicator in the preset historical financial report period, the weight corresponding to the financial report indicator, and the industry deviation of the industry to which the relevant company of the target financial product belongs.

[0198] Among them, the financial reporting indicators of financial reporting data may include at least one of the following indicators: total revenue amount, net profit attributable to shareholders, debt-to-net asset ratio, property rights ratio and tangible net worth debt ratio. The current value of the financial reporting indicator is: the value of the financial reporting indicator in the latest financial reporting period. The base period value of the financial reporting indicator is: the value of the financial reporting indicator in the preset benchmark historical financial reporting period. The preset historical financial reporting period can be: the second number of consecutive financial reporting periods in history including the financial reporting period to which the target trading day belongs. For example, the second number can be 12, and the dispersion representation value can be the standard deviation.

[0199] After obtaining the information quantity representation value corresponding to each financial report indicator, the sum of the information quantity representation values ​​corresponding to each financial report indicator can be used as the information quantity representation value of the material.

[0200] For example, the server can determine the information value of the material according to the following expression:

[0201] ;

[0202] Where n is the number of types of financial indicators in financial report financial data, is the difference between the current value and the base value of the i-th financial report indicator, is the dispersion representation value of the ith financial report indicator in the preset historical financial report period, is the weight corresponding to the i-th financial report indicator, for The sigmoid (S-shaped growth curve) function, The preset industry deviation.

[0203] For example, the value of the sigmoid function can be calculated as follows: , is the steepness coefficient, such as, It can be 5. The weight corresponding to the i-th financial report indicator can be set according to the type of the i-th financial report indicator. For example, if the i-th financial report indicator belongs to the asset and liability type, It can be set to 1.2. If the i-th financial report indicator belongs to the profit type, Can be set to 1, if the i-th financial report indicator belongs to the cash flow type, Can be set to 0.8.

[0204] Case 3: The data used to generate the material is the intraday financial data and / or interday financial data of the target financial product

[0205] In one implementation, the server can obtain the information quantity representation value of the material based on the maximum transaction volume in each time unit in the quantity-price financial data, the number of times that the quantity-price financial data meets the preset quantity-price change trend, and the transaction volume and rate of return of each time unit in the quantity-price financial data. Among them, the quantity-price financial data is: intraday financial data or inter-day financial data. When the quantity-price financial data is intra-day financial data, the time unit can be the first preset time length. When the quantity-price financial data is inter-day financial data, the time unit can be a trading day. The preset quantity-price change trend can be: the change trend of the breakthrough pattern that meets the MACD (Moving Average Convergence Divergence) golden cross or dead cross conditions.

[0206] In addition, when the data used to generate the material are the intraday financial data and interday financial data of the target financial product, the information content characterization value of the material of the intraday financial data can be determined for the material generated based on the intraday financial data of the target financial product, and the information content characterization value of the material of the interday financial data can be determined for the material generated based on the interday financial data of the target financial product.

[0207] Specifically, the server can determine the information value of the material according to the following expression:

[0208] ;

[0209] in, is the number of time units included in the quantity and price financial data, is the trading volume of the t-th time unit, is the rate of return of the t-th time unit, It is the maximum value of the transaction volume in each time unit in the volume-price financial data. It is the number of times that the quantity and price financial data meets the preset quantity and price change trend.

[0210] In the expression, use To calculate the information value of the material instead of using pure yield, reduce the impact of low trading volume on the accuracy of determining the number of times that the preset volume and price change trend is met.

[0211] The following describes a method for determining the information level of a material based on the information representation value of the material.

[0212] In one implementation, the server may determine the information volume score of each material according to the information volume characterization value of each material, and determine the information volume level of the material based on the correspondence between the information volume score of the material, a preset information volume score and the information volume level.

[0213] The server can determine the information score of each material according to the maximum and minimum values ​​of the information representation values ​​of each material. For example, the server can determine the information score of each material according to the following expression:

[0214] ;

[0215] in, For the The information content score of each material, For the The information value of a material is represented by is the minimum value of the information representation value of each material, It is the maximum value of the information representation value of each material.

[0216] Assume that the correspondence between the preset information volume score and the information volume level is: , then The information level of a material is the first level. , then The information level of a material is the second level. , then The information level of the material is the third level. and is the preset grade cutoff value, for example, It can be 0.5, It can be 0.8.

[0217] The following describes a method for determining the layout information of each material in the target video.

[0218] For each material, the server can determine the layout information of the material in the video frame according to the information score of the material, the preset resolution of the target video, the preset horizontal distribution factor and the vertical amplitude coefficient. For example, the coordinates of the material in the video frame can be determined as the layout information in the following manner:

[0219] ;

[0220] ;

[0221] in, For the The horizontal coordinate of the material in the video frame, The width of the target video's preset resolution. is the preset horizontal distribution factor, is the inverse of the error function, For the The vertical coordinate of the material in the video frame, The height of the preset resolution of the target video. is the preset vertical amplitude coefficient, For the The sequence number of the material in the same frame. The total number of materials in the same frame.

[0222] Determining the layout information in the above manner and then generating the video frames of the target video does not simply use fixed layout information to generate the video frames of the target video. Determining the layout information in the above manner can flexibly determine the layout information of each material according to the importance of different financial data in different time periods, for different target trading days and different target financial products, so that in the final generated target video, materials including financial data with higher importance will be highlighted and materials including financial data with lower importance will be weakened, thereby improving the user's video viewing experience and allowing the user to intuitively obtain more important financial information.

[0223] Furthermore, the server can determine the visual effect color compensation value of the material according to the color information of the material, the color of the background, and the information quantity representation value of the material. The main color value of the material is adjusted based on the visual effect color compensation value of the material, so that the color of the material of the financial data with a higher color compensation value is more prominent relative to the color of the background, and the color of the material of the financial data with a lower color compensation value is displayed weakly relative to the color of the background.

[0224] Specifically, the server can calculate the visual effect color compensation value according to the following expression:

[0225] ;

[0226] in, For the The visual effect color compensation value of each material, For the The information value of a material is represented by For the The contrast of the material, The maximum value of the contrast of each material.

[0227] It can be calculated as follows:

[0228] ;

[0229] in, is the brightness value of the main color of the material, is the brightness value of the background color, Take the red and green axis values ​​of the main color of the material. The brightness value of the background color. Take the value of the yellow-blue axis of the main color of the material. Get the value of the yellow-blue axis for the background color.

[0230] By adjusting the main color value of the material in this way, the visual effect can be that the color of the material including financial data with higher importance is made more prominent relative to the background color, thereby highlighting the more important financial information, and the color of the material including financial data with lower importance is weakened relative to the background color, thereby improving the user's experience of watching the video.

[0231] Corresponding to the above-mentioned video push method applied to the server, the embodiment of the present invention also provides a video push method applied to the client. Figure 5 A flowchart of another video push method is provided, wherein the method comprises the following steps S501-S503:

[0232] Step S501: Obtain the identifier of the target financial product and the target trading date input by the user.

[0233] For step S501 , reference may be made to the description of step S101 , which will not be described in detail here.

[0234] Step S502: Send the identifier of the target financial product and the target transaction date to the server, so that the server generates a target video according to the above-mentioned video push method applied to the server, and feeds back the target video to the client.

[0235] Step S503: receiving the target video and displaying the target video.

[0236] By applying the video push method provided by the embodiment of the present invention, when a user wants to obtain the financial information of the target financial product on the target trading day, the user can input the identifier of the target financial product and the target trading day on the user side to send a request to the server side, and the server side collects the financial data of the target financial product and the news and public opinion data, processes the financial data to generate financial chart information, generates audio of the voice of the text in the news and public opinion data, and generates a target video that can introduce the financial information of the target financial product based on the audio and financial chart information, and feeds the generated target video back to the user side. The processed financial information is displayed to the user in the form of a dynamic and visualized video, so that the user can obtain the target video that introduces the financial information of the target financial product in a more convenient way, which enables the user to obtain the financial information of the target financial product more quickly and simply, and improves the efficiency of the user in obtaining financial information.

[0237] In the technical solution provided in the embodiments of the present application, operations such as acquisition, storage, use, processing, transmission, provision and disclosure of user personal information are all performed with the user's authorization.

[0238] Corresponding to the above-mentioned video pushing method applied to the server, an embodiment of the present invention further provides a video pushing device.

[0239] In one embodiment of the present invention, see Figure 6 A schematic diagram of the structure of a video push device is provided, the device is applied to a server, and the device includes:

[0240] The first target information obtaining module 601 is used to obtain the identifier and target transaction date of the target financial product input by the user on the client.

[0241] The financial data acquisition module 602 is used to obtain the financial data of the target financial product based on the identifier and the target transaction date.

[0242] The financial chart image generation module 603 is used to generate a financial chart image of a target financial product based on financial data.

[0243] The news and public opinion data acquisition module 604 is used to obtain news and public opinion data related to the target financial product.

[0244] The text data conversion module 605 is used to convert the news public opinion data into text data in a preset data format.

[0245] The audio segment generating module 606 is used to generate an audio segment of the voice that announces the text data.

[0246] The video frame generation module 607 is used to generate a video frame of a target video based on the duration of the audio segment and the financial chart image.

[0247] The target video feedback module 608 is used to synchronize the audio track of the audio segment with the video frame of the target video to obtain the target video, and feed back the target video to the client.

[0248] By applying the video push method provided by the embodiment of the present invention, when a user wants to obtain the financial information of the target financial product on the target trading day, the user can input the identifier of the target financial product and the target trading day on the user side to send a request to the server side, and the server side collects the financial data of the target financial product and the news and public opinion data, processes the financial data to generate financial chart information, generates audio of the voice of the text in the news and public opinion data, and generates a target video that can introduce the financial information of the target financial product based on the audio and financial chart information, and feeds the generated target video back to the user side. The processed financial information is displayed to the user in the form of a dynamic and visualized video, so that the user can obtain the target video that introduces the financial information of the target financial product in a more convenient way, which enables the user to obtain the financial information of the target financial product more quickly and simply, and improves the efficiency of the user in obtaining financial information.

[0249] In one embodiment of the present invention, the device further comprises:

[0250] The segmentation processing module is used to process news and public opinion data in segments.

[0251] The text data conversion module is specifically used to convert the news and public opinion data of each paragraph obtained by segmentation into text data in a preset data format.

[0252] The audio segment generating module is specifically used to generate an audio segment of the voice that broadcasts the text data of each paragraph according to the text data obtained in the paragraph.

[0253] The video frame generation module is specifically used to generate a background image of each paragraph based on the text data of the paragraph for the news and public opinion data of the paragraph; generate video frames of the background video layer of the target video based on the duration of the audio segment of each paragraph and the background image of each paragraph; generate video frames of the information video layer of the target video based on the total duration of each audio segment and the financial chart image, and obtain the video frames of the target video, wherein the picture of the information video layer is displayed on the picture of the background video layer.

[0254] From the above, it can be seen that by segmenting the news and public opinion data, audio segments and background images can be generated for different paragraphs respectively. By generating video frames of the background video layer and video frames of the information video layer, the visual effect and viewing experience of the generated target video can be improved.

[0255] In one embodiment of the present invention, a video frame generation module is specifically used to generate, for each paragraph, an entry special effect video frame and an exit special effect video frame of the background image of the paragraph, and generate a video frame showing the background image of the paragraph between the entry special effect video frame and the exit special effect video frame to obtain segmented video frames of the paragraph, wherein the video duration of the generated video frame showing the background image of the paragraph is the same as the duration of the audio segment of the paragraph; the generated segmented video frames of each paragraph are spliced ​​to obtain video frames of the background video layer of the target video.

[0256] In this way, the background image in the video can be switched more smoothly and naturally, further improving the visual effect and viewing experience of the generated target video.

[0257] In one embodiment of the present invention, the target video feedback module is specifically used to add interval audio of the audio interval time between the audio segments of two adjacent paragraphs, wherein the audio interval time is equal to the sum of the exit special effect duration of the first paragraph and the entry special effect duration of the second paragraph, the first paragraph is: the paragraph to which the segmented video frames played first in the video playback order of the two adjacent paragraphs belong, and the second paragraph is: the paragraph to which the segmented video frames played later in the video playback order of the two adjacent paragraphs belong.

[0258] In this way, the interval audio with the audio interval time can further improve the visual effect and viewing experience of the generated target video, and the situation where the audio track is out of sync with the video picture can be reduced.

[0259] In one embodiment of the present invention, a video frame generation module is specifically used to obtain the information level of the material used to generate the video frame of the target video, wherein the material includes at least one of the following information: financial chart images, text data, and images generated based on the text data, and the information level represents the amount of financial information contained in the material; based on the information level of each material, the layer of each material in the video frame and the layout information in the layer are determined; based on the layer where each material is located, the layout information of the material in the layer, and the duration of the audio segment, the video frame of the target video is generated.

[0260] In this way, according to the information level of the material, the video frames generated using materials with different information levels are divided into information levels. When generating the video frames of the target video, the parameters can be flexibly adjusted according to the information level to highlight more important information, thereby enabling users to more efficiently obtain higher and more important information and enhance the visual effect and viewing experience.

[0261] In one embodiment of the present invention, the financial data includes at least one of the following data: intraday financial data of the target financial product on the target trading day, interday financial data of the target financial product in the trading day interval, and financial report financial data of companies related to the target financial product, wherein the trading day interval is: the first preset number of consecutive trading days including the target trading day.

[0262] In this way, by obtaining multi-dimensional financial data, users can be provided with richer financial information and their sources of financial information acquisition can be increased, which can further enable users to efficiently obtain multi-dimensional financial information and improve the efficiency of users in obtaining financial information.

[0263] In one embodiment of the present invention, in the case where the financial data includes intraday financial data, the intraday financial data is obtained in the following manner: for each first preset time period in the target trading day, based on the trading data of the target financial product in the first preset time period, a first trading indicator of the target financial product in the first preset time period is obtained, and the intraday financial data including the first trading indicator of each first preset time period in the target trading day is obtained; based on the financial data, a financial chart image of the target financial product is generated, including: for each first preset time period in the target trading day, according to the time sequence of each first preset time period in the target trading day, a financial chart image including the first trading indicator of the first preset time period and the first trading indicator of the preceding time of the first preset time period is generated; and / or in the case where the financial data includes inter-day financial data, the inter-day financial data is obtained in the following manner: for each trading day in the trading day interval, based on the trading data of the target financial product in the trading day, a second trading indicator of the target financial product on the trading day is obtained, and the intraday financial data including the second trading indicator of each trading day in the trading day interval is obtained. The financial data includes the intraday financial data of the trading indicator; based on the financial data, generating a financial chart image of the target financial product, including: for the second trading indicator of each trading day in the trading day interval, generating a financial chart image including the second trading indicator of the trading day and the second trading indicator of the preceding time of the trading day according to the time sequence of each trading day in the trading day interval; and / or in the case where the financial data includes financial report financial data, the financial report financial data is obtained in the following manner: for each financial reporting period of the company within the first historical time, based on the financial report of the company in the financial reporting period, obtaining the financial report indicators of the company in the financial reporting period, and obtaining financial report financial data including the financial report indicators of the company in each financial reporting period; based on the financial data, generating a financial chart image of the target financial product, including: for each financial report indicator of the company within the first historical time, generating a financial chart image representing the financial report indicator within the first historical time, and / or for each financial report indicator of the latest financial reporting period of the company within the first historical time, generating a year-on-year financial chart image representing the financial report indicator of the latest financial reporting period relative to the financial report indicator of the same financial reporting period of the previous year.

[0264] In this way, by pre-processing the multi-dimensional financial data such as cleaning, sorting and analysis, the financial information can be further refined, and more intuitive and detailed financial information can be provided to users, further enabling users to efficiently obtain multi-dimensional financial information and improving the efficiency of users in obtaining financial information.

[0265] In one embodiment of the present invention, see Figure 7 A schematic diagram of the structure of another video push device is provided, the device is applied to a client, and the device includes:

[0266] The second target information obtaining module 701 is used to obtain the identifier and target trading date of the target financial product input by the user;

[0267] The target information sending module 702 is used to send the identifier of the target financial product and the target transaction date to the server, so that the server generates a target video according to any of the above video push devices and feeds back the target video to the client;

[0268] The target video display module 703 is used to receive the target video and display the target video.

[0269] The embodiment of the present invention further provides an electronic device, such as Figure 8 As shown, it includes a processor 801 , a communication interface 802 , a memory 803 and a communication bus 804 , wherein the processor 801 , the communication interface 802 , and the memory 803 communicate with each other via the communication bus 804 .

[0270] Memory 803, used for storing computer programs;

[0271] The processor 801 is used to execute the program stored in the memory 803, and implements the following steps:

[0272] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0273] The communication interface is used for communication between the above electronic device and other devices.

[0274] The memory may include a Random Access Memory (RAM), or may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0275] The aforementioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0276] In another embodiment provided by the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above video push methods are implemented.

[0277] In another embodiment provided by the present invention, there is also provided a computer program product containing instructions, which, when running on a computer, causes the computer to execute any of the video push methods in the above embodiments.

[0278] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

[0279] It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including", or any other variation thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements but also other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device that includes the element.

[0280] Each embodiment in this specification is described in a related manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device, electronic device, storage medium, and computer program product, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments.

[0281] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A video push method, characterized in that: Applied to the server, the method includes: Obtain the identifier and target trading date of the target financial product entered by the user in the client; Based on the identifier and the target transaction date, obtaining financial data of the target financial product; Based on the financial data, generating a financial chart image of the target financial product; Obtain news and public opinion data related to the target financial product; Converting the news and public opinion data into text data in a preset data format; generating an audio segment of speech that broadcasts the text data; Generate a video frame of a target video based on the duration of the audio segment and the financial chart image; The audio segment is synchronized with the video frame of the target video to obtain the target video, and the target video is fed back to the client.

2. The method according to claim 1, characterized in that After obtaining the news and public opinion data related to the target financial product, it also includes: Processing the news and public opinion data in segments; The step of converting the news public opinion data into text data in a preset data format includes: For each paragraph of news public opinion data obtained by segmentation, convert the news public opinion data of the paragraph into text data in a preset data format; The step of generating an audio segment for broadcasting the text data includes: For each paragraph of text data obtained, generate an audio segment of speech that broadcasts the text data of the paragraph; The step of generating a video frame of a target video based on the duration of the audio segment and the financial chart image comprises: For each paragraph of news public opinion data, a background image of the paragraph is generated based on the text data of the paragraph; Generate video frames of a background video layer of a target video based on the duration of the audio segment of each paragraph and the background image of each paragraph; Based on the total duration of each audio segment and the financial chart image, a video frame of the information video layer of the target video is generated to obtain the video frame of the target video, wherein the picture of the information video layer is displayed on the picture of the background video layer.

3. The method according to claim 2, characterized in that The step of generating a video frame of a background video layer of a target video based on the duration of the audio segment of each paragraph and the background image of each paragraph comprises: For each paragraph, an entry special effect video frame and an exit special effect video frame of the background image of the paragraph are generated, and a video frame showing the background image of the paragraph is generated between the entry special effect video frame and the exit special effect video frame to obtain segmented video frames of the paragraph, wherein the video duration of the generated video frame showing the background image of the paragraph is the same as the duration of the audio segment of the paragraph; The segmented video frames of each generated paragraph are spliced ​​together to obtain the video frames of the background video layer of the target video.

4. The method according to claim 3, characterized in that: The step of synchronizing the audio segment with the video frame of the target video to obtain the target video includes: An interval audio of an audio interval time is added between the audio segments of two adjacent paragraphs, wherein the audio interval time is equal to the sum of the exit special effect duration of the first paragraph and the entrance special effect duration of the second paragraph, the first paragraph is: the paragraph to which the segmented video frames played first in the video playback order of the two adjacent paragraphs belong, and the second paragraph is: the paragraph to which the segmented video frames played later in the video playback order of the two adjacent paragraphs belong.

5. The method according to claim 1, characterized in that The step of generating a video frame of a target video based on the duration of the audio segment and the financial chart image comprises: Obtaining an information level of a material used to generate a video frame of a target video, wherein the material includes at least one of the following information: the financial chart image, the text data, and an image generated based on the text data, and the information level represents the amount of financial information contained in the material; Determine the layer of each material in the video frame and the layout information in the layer based on the information level of each material; The video frame of the target video is generated based on the layer where each material is located, the layout information of the material in the layer, and the duration of the audio segment.

6. The method according to any one of claims 1 to 5, characterized in that The financial data includes at least one of the following data: intraday financial data of the target financial product on the target trading day, interday financial data of the target financial product in a trading day interval, and financial report financial data of a company related to the target financial product, wherein the trading day interval is: a first preset number of consecutive trading days including the target trading day; and / or In the case where the financial data includes the intraday financial data, the intraday financial data is obtained in the following manner: for each first preset time period in the target trading day, based on the trading data of the target financial product in the first preset time period, the first trading indicator of the target financial product in the first preset time period is obtained, and the intraday financial data including the first trading indicator of each first preset time period in the target trading day is obtained; the generating of the financial chart image of the target financial product based on the financial data includes: for each first preset time period in the target trading day, according to the time sequence of each first preset time period in the target trading day, generating a financial chart image including the first trading indicator of the first preset time period and the first trading indicator of the preceding time of the first preset time period; and / or In the case where the financial data includes the intraday financial data, the intraday financial data is obtained in the following manner: for each trading day in the trading day interval, based on the trading data of the target financial product on the trading day, the second trading index of the target financial product on the trading day is obtained, and the intraday financial data including the second trading index of each trading day in the trading day interval is obtained; the generating of the financial chart image of the target financial product based on the financial data includes: for the second trading index of each trading day in the trading day interval, according to the time sequence of each trading day in the trading day interval, generating a financial chart image including the second trading index of the trading day and the second trading index of the preceding time of the trading day; and / or In the case where the financial data includes the financial report financial data, the financial report financial data is obtained in the following manner: for each financial reporting period within the first historical time of the company, based on the financial report of the company in the financial reporting period, the financial report indicators of the company in the financial reporting period are obtained, and the financial report financial data including the financial report indicators of the company in each financial reporting period are obtained; the financial chart image of the target financial product is generated based on the financial data, including: for each financial report indicator of the company within the first historical time, a financial chart image representing the financial report indicator within the first historical time is generated, and / or for each financial report indicator of the latest financial reporting period within the first historical time of the company, a year-on-year financial chart image representing the financial report indicator of the latest financial reporting period relative to the same financial reporting indicator of the previous year is generated.

7. A video push method, characterized in that: Applied to a client, the method comprises: Obtain the identifier and target trading date of the target financial product input by the user; Sending the identifier of the target financial product and the target transaction date to the server, so that the server generates a target video according to the video push method according to any one of claims 1 to 6, and feeds back the target video to the client; The target video is received and displayed.

8. A video push device, characterized in that: Applied to the server, the device comprises: A first target information obtaining module is used to obtain the identifier and target trading date of the target financial product input by the user on the client; A financial data acquisition module, used to acquire the financial data of the target financial product based on the identifier and the target transaction date; A financial chart image generation module, used to generate a financial chart image of the target financial product based on the financial data; A news and public opinion data acquisition module, used to obtain news and public opinion data related to the target financial product; A text data conversion module, used to convert the news public opinion data into text data in a preset data format; An audio segment generating module, used for generating an audio segment of the voice that broadcasts the text data; A video frame generation module, used for generating a video frame of a target video based on the duration of the audio segment and the financial chart image; The target video feedback module is used to synchronize the audio segment with the video frame of the target video to obtain the target video, and feed back the target video to the client.

9. A video push device, characterized in that: Applied to a client, the device comprises: A second target information obtaining module is used to obtain the identifier and target trading date of the target financial product input by the user; a target information sending module, configured to send the identifier of the target financial product and the target trading date to the server, so that the server generates a target video according to the video push device according to claim 8, and feeds back the target video to the client; The target video display module is used to receive the target video and display the target video.

10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method described in any one of claims 1 to 6 or 7 when executing a program stored in a memory.

Citation Information

Patent Citations

  • Public opinion hotspot acquisition method and system based on Internet data

    CN111984787A

  • Asset risk control method and device based on new media data

    CN113222471A

  • Neural networks trained using event occurrences

    CN116090516A

  • Financial product transaction monitoring method and system based on deep learning

    CN116151984A

  • Dynamic speaking face generation method, device and equipment and storage medium thereof

    CN118781239A