[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112468543B - Method, device, equipment and computer readable medium for publishing information - Google Patents

Method, device, equipment and computer readable medium for publishing information Download PDF

Info

Publication number
CN112468543B
CN112468543B CN202011257065.6A CN202011257065A CN112468543B CN 112468543 B CN112468543 B CN 112468543B CN 202011257065 A CN202011257065 A CN 202011257065A CN 112468543 B CN112468543 B CN 112468543B
Authority
CN
China
Prior art keywords
data
data source
information
output data
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011257065.6A
Other languages
Chinese (zh)
Other versions
CN112468543A (en
Inventor
杨立兴
邓小茜
唐敏
张艺亿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202011257065.6A priority Critical patent/CN112468543B/en
Publication of CN112468543A publication Critical patent/CN112468543A/en
Application granted granted Critical
Publication of CN112468543B publication Critical patent/CN112468543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device, equipment and a computer readable medium for publishing information, and relates to the technical field of computers. One embodiment of the method comprises: determining output data change of a data source according to real-time output data of the data source; generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source; if the data change result of the data source meets a preset updating condition, adopting the real-time output data to construct dynamic information; and configuring display information according to the dynamic information and the picture of the preset updating condition, and displaying the display information at a preset position to release information. This embodiment enables timely updating of information.

Description

Method, device, equipment and computer readable medium for publishing information
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer-readable medium for publishing information.
Background
In the existing information publishing process, the publishing of pictures is mainly realized in the following way, and then functions such as publishing positions and release time can be set.
Firstly, uploading the picture to a server, and configuring corresponding information and a release position after the picture is manually checked. And then, sending the pictures and the information to a publishing position. And finally, when the picture needs to be replaced, the picture is uploaded again and the information is edited again to release the picture again.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: due to the fact that the pictures and the information are updated quickly, the publishing process is slow and is difficult to update in time.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a computer-readable medium for publishing information, which can update information in time.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of publishing information, including:
determining output data change of a data source according to real-time output data of the data source;
generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source;
if the data change result of the data source meets a preset updating condition, adopting the real-time output data to construct dynamic information;
and configuring display information according to the dynamic information and the picture of the preset updating condition, and displaying the display information at a preset position to release information.
Before determining that the output data of the data source is changed according to the real-time output data of the data source, the method further comprises the following steps:
and according to the type of the data source, configuring a script to acquire real-time output data of the data source.
The step of acquiring real-time output data of the data source by the configuration script according to the type of the data source comprises the following steps:
acquiring the data updating period of the data source according to the type of the data source;
and based on the data updating period of the data source, the configuration script acquires the real-time output data of the data source.
Before determining that the output data of the data source is changed according to the real-time output data of the data source, the method further comprises the following steps:
and carrying out data cleaning on the original output data acquired from the data source to obtain the real-time output data of the data source.
The method for determining the output data of the data source before changing according to the real-time output data of the data source further comprises the following steps:
and storing the real-time output data of the data source in a database according to the storage condition of the data source.
The determining output data changes of the data source according to real-time output data of the data source includes:
and determining output data change of the data source according to the acquisition time of the real-time output data of the data source.
The generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source comprises:
determining a data change condition based on the data source;
and comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition to generate a data change result of the data source.
Comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition to generate a data change result of the data source, and the method comprises the following steps:
and comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition to generate a time data change result and/or a space data change result of the data source.
If the data change result of the data source meets a preset updating condition, the real-time output data is adopted to construct dynamic information, and the method comprises the following steps:
acquiring the preset updating condition according to the data change result of the data source and the data source;
and if the data change result meets the preset updating condition, adopting the real-time output data to construct dynamic information.
The dynamic information includes one or more of: tables, images and text.
The data sources include one or more of: gold, bonds, financial products, stocks, and funds.
The picture of the preset updating condition is a picture which is approved to be in accordance with the preset updating condition.
Configuring display information according to the dynamic information and the picture with the preset updating condition, wherein the configuration display information comprises the following steps:
based on the picture with the preset updating condition, adjusting the occupied position of the dynamic information;
and synthesizing the display information according to the occupied position of the dynamic information and the picture with the preset updating condition.
And the picture with the preset updating condition is positioned in the picture template.
The picture of the preset updating condition is positioned in the picture template;
synthesizing the display information according to the occupied position of the dynamic information and the picture of the preset updating condition, wherein the synthesizing comprises the following steps:
and synthesizing the display information in the picture template according to the occupied position of the dynamic information and the picture with the preset updating condition.
The preset position is a position in a preset area, and the preset area comprises one or more of the following: web pages, software, applications, and outdoor presentation areas.
Configuring display information according to the dynamic information and the picture of the preset updating condition, and displaying the display information at a preset position to release information, wherein the configuration comprises the following steps:
configuring display information according to the dynamic information and the picture of the preset updating condition, and storing the display information into a database;
extracting the display information from the database according to the extraction time determined by the information release period;
and displaying the display information according to the release information period at the preset position to release information.
According to a second aspect of the embodiments of the present invention, there is provided an apparatus for distributing information, including:
the change module is used for determining the output data change of the data source according to the real-time output data of the data source;
the result module is used for generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source;
the construction module is used for constructing dynamic information by adopting the real-time output data when the data change result of the data source meets a preset updating condition;
and the configuration module is used for configuring display information according to the dynamic information and the pictures with the preset updating conditions, and displaying the display information at a preset position to release information.
According to a third aspect of the embodiments of the present invention, there is provided an electronic device that issues information, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method as described above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the method as described above.
One embodiment of the above invention has the following advantages or benefits: determining output data change of the data source according to real-time output data of the data source; generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source; if the data change result of the data source meets the preset updating condition, adopting real-time output data to construct dynamic information; and configuring display information according to the dynamic information and the picture with the preset updating condition, and displaying the display information at a preset position to release the information. The real-time output data of the data source can be processed in time, and the display information is configured by combining the picture with the preset updating condition, so that the information updating can be realized in time, and the time interval for releasing the information is shortened.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of a method of publishing information according to an embodiment of the invention;
FIG. 2 is a schematic flow chart illustrating the process of obtaining real-time output data from a data source according to an embodiment of the present invention;
FIG. 3 is a schematic flow diagram for generating data change results for a data source according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a data change result of a data source generated according to an embodiment of the invention;
FIG. 5 is a schematic flow chart illustrating the construction of dynamic information using real-time output data according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating configuration exposure information according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of composite presentation information according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating displaying presentation information at a predetermined location according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a main structure of an apparatus for issuing information according to an embodiment of the present invention;
FIG. 10 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 11 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
When information is distributed, a manufactured picture is obtained first. And after the picture passes the audit, uploading the picture to a publishing server by the client. And the publishing server distributes the pictures to the corresponding publishing positions according to the configuration information. When the pictures need to be changed, the pictures need to be uploaded again, and the pictures are published by the publishing server after passing the audit.
The current information release mainly has the technical problem of low information release efficiency: and whether the picture needs to be updated or not is manually identified, and the time for manually checking the picture is longer. In addition, pictures need to be uploaded manually, so that the efficiency of information publishing is low.
Furthermore, for data that has real-time variations, it is difficult to show in real-time in the picture. It is difficult to show the core data.
In order to solve the technical problems that the process of releasing the information is slow and the information is difficult to update in time, the following technical scheme in the embodiment of the invention can be adopted.
Referring to fig. 1, fig. 1 is a schematic diagram of a main flow of a method for publishing information according to an embodiment of the present invention, where when a data change result of a data source meets a preset update condition, display information is configured according to dynamic information and a picture of the preset update condition, and then information is published at a preset position. As shown in fig. 1, the method specifically comprises the following steps:
s101, determining output data change of the data source according to real-time output data of the data source.
In the embodiment of the present invention, the data source refers to a database or a database server used by a database application. The database is different for different data sources. As one example, the data source 1 is a database of stocks. The data source 2 is a database of funds. It will be appreciated that data belonging to the same category is stored in the same database. As one example, the data sources include one or more of: gold, bonds, financial products, stocks, and funds.
In the embodiment of the present invention, in order to obtain real-time output data of data, the real-time output data may be obtained through a script. Scripts are executable files written in a certain format using a particular descriptive language. The data can be automatically acquired by adopting the script, so that the data acquisition efficiency is improved.
It is contemplated that the characteristics of the data sources are different for different kinds of data sources. Then, the data source may be selected, depending on the type of data source, the configuration script obtains real-time output data of the data source. That is, for the same kind of data source, the same script is used to obtain real-time output data. And scripts do not need to be written separately for each data source, so that the utilization rate of the scripts is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart of a process for acquiring real-time output data of a data source according to an embodiment of the present invention, which specifically includes the following steps:
s201, acquiring the data updating period of the data source according to the type of the data source.
If the types of the data sources are different, the data updating periods are different. As an example, the data source is a database of stocks, and the update period is 6 seconds. As another example, the data source is a financial product and the update period is 24 hours. And according to the type of the data source, the data updating period of the data source can be obtained in time.
In the embodiment of the present invention, data update periods of a plurality of kinds of data sources may be preset. And then when obtaining the data, can learn the data update cycle in time.
S202, based on the data updating period of the data source, the configuration script obtains real-time output data of the data source.
After the data update period is obtained, the configuration script can obtain real-time output data of the data source based on the data update period of the data source. This is because, if the data update period is short, and the real-time output data of the data source is acquired at a fixed time interval greater than the data update period, the data cannot be acquired in time; if the data updating period is long and the real-time output data of the data source is acquired at a fixed time interval smaller than the data updating period, the acquired data is repeated, and resources are wasted.
And configuring the script to acquire real-time output data of the data source according to the data updating period of the data source. On one hand, the data can be acquired in time, and on the other hand, the reasonable use of resources is ensured.
In an embodiment of the present invention, after the raw real-time output data of the data source is obtained, the raw real-time output data is considered to have error data, and the error data may cause a misjudgment. Then the raw real-time output data needs to be processed. Namely, the original output data acquired from the data source is subjected to data cleaning to obtain the real-time output data of the data source. Wherein the raw real-time output data is unprocessed output data.
Data cleaning refers to the last procedure for finding and correcting recognizable errors in data, including checking data consistency, processing invalid and missing values, etc
As one example, data cleansing includes examining a preset data format. That is, in the raw output data acquired from the data source, raw output data in accordance with a preset data format is taken as real-time output data.
Thus, the data source is an external data source, the data format is not controllable, and if the data format of the external data source is changed, the acquired data may not meet the predetermined rule, the data is unusable. That is, the purpose of data cleansing is to ensure the availability of data.
In one embodiment of the invention, the real-time output data of the data source may be stored in the database according to the storage condition of the data source. That is, the real-time output data of the data source is stored in the database according to the storage condition of the data source. Wherein the storage condition of the data source is a rule for storing data preset for the data source. As an example, the data source is a bond database, and the storage condition of the data source is to store the data with the accuracy of two decimal places.
In one embodiment of the invention, to determine whether a change has occurred to the output data of a data source. In specific implementation, the output data change of the data source is determined according to the acquisition time of the real-time output data of the data source.
As an example, the real-time output data of the data source includes an acquisition time, and if the acquisition time of the real-time output data of the data source is later than the acquisition time of the real-time output data of the latest data source, the output data of the data source is determined to be changed; and if the acquisition time of the real-time output data of the data source is earlier than the acquisition time of the real-time output data of the latest data source, determining that the output data of the data source is not changed.
Such as: the acquisition time of the real-time output data of the data source is 5 months, 12 days, 12 o 'clock, 10 min 00 s, the acquisition time of the latest real-time output data of the data source is 5 months, 12 days, 12 o' clock, 04 min 05 s, and the change of the output data of the data source is determined because the acquisition time of the real-time output data of the data source is later than the acquisition time of the real-time output data of the latest data source.
And S102, generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source.
For the data source, the data change condition is the basis for comparing the output data. The data change conditions are different for each data source. The data change condition is preset for the kind of the data source. And further based on the data change results of the generating data source.
Referring to fig. 3, fig. 3 is a schematic flowchart of generating a data change result of a data source according to an embodiment of the present invention, which specifically includes:
s301, determining a data change condition based on a data source.
If the types of the data sources are different, the data change conditions are different. The kind of the data source is firstly known, and then the data change condition is determined based on the kind of the data source. The data change condition may be stored in the database in advance. As one example, the data change condition may be a preset model.
S302, comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition, and generating a data change result of the data source.
The real-time output data of the data source reflects the current data state of the data source, and the historical output data of the data source reflects the historical data state of the data source.
And comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition to generate a data change result of the data source. Wherein the data change result is a change that characterizes the output data over a period of time.
In one embodiment of the invention, the data change results can be measured in both time and/or space. As an example, the data changes over time T1 to T2. As another example, the data within the spaces S1 to S2 changes results.
That is, according to the data change condition, comparing the real-time output data of the data source with the historical output data of the data source, and generating the time data change result and/or the space data change result of the data source.
Referring to fig. 4, fig. 4 is a schematic diagram of a data change result of a data source according to an embodiment of the present invention.
The data source outputs data for product a, data for product B, and data for product C.
Specifically, the real-time output data of product A is D1, and labeled PAD1. After time T, the real-time output data of product A is D2, and then labeled PAD2. Then the latest real-time output data for product a is PAD2.
The real-time output data of product B is D1, then it is labeled PBD1. After time T, the real-time output data of product B is D2, and the PBD2 is marked. Then the latest real-time output data for product B is PBD2.
The real-time output data of product C is D, and labeled PCD1. After time T, the real-time output data of product C is D1, and then labeled PCD1. Then the latest real-time output data for product C is PCD1.
And comparing the PAD2, the PBD2 and the PCD1 according to the data change condition to generate a data change result PBD2 of the data source.
S103, if the data change result of the data source meets the preset updating condition, the dynamic information is constructed by adopting real-time output data.
In the embodiment of the invention, whether dynamic information is constructed is judged according to the preset updating condition. Specifically, if the data change result of the data source meets a preset updating condition, real-time output data is adopted to construct dynamic information; and if the data change result of the data source does not meet the preset updating condition, no dynamic information needs to be constructed.
Referring to fig. 5, fig. 5 is a schematic flowchart of a process for constructing dynamic information by using real-time output data according to an embodiment of the present invention, which specifically includes the following steps:
s501, acquiring a preset updating condition according to a data change result of the data source and the data source.
In the embodiment of the invention, the preset updating condition is related to the data source and the data change result of the data source. Furthermore, according to the data change result of the data source and the data source, the preset updating condition can be obtained from the preset condition database. Wherein, a plurality of updating conditions are stored in the preset condition database.
And S502, if the data change result meets the preset updating condition, adopting real-time output data to construct dynamic information.
And under the condition that the data change result meets the preset updating condition, if the dynamic information needs to be updated, adopting real-time output data to construct the dynamic information.
Wherein the dynamic information comprises one or more of: tables, images and text. That is, the form of the dynamic information is various, and the dynamic information can be preset according to actual requirements.
As an example, the data source is a gold database, the data change result of the data source is that the gold price is 420 yuan, and the corresponding preset updating condition is that the gold price is greater than or equal to 420. And constructing dynamic information under the condition that the data change result of the data source meets the preset updating condition. The dynamic information is: the price of gold is greatly increased.
As another example, the data source is a database of the fund, the data change result of the data source is that the daily rise of the fund exceeds 3%, and the corresponding preset update condition is that the daily rise of the fund exceeds 2.5%, then dynamic information is constructed, where the dynamic information is: an advertisement "recommend purchase fund".
In the embodiment of fig. 5, in the case that the data change result satisfies the preset update condition, the dynamic information is constructed.
And S104, configuring display information according to the dynamic information and the picture with the preset updating condition, and displaying the display information at a preset position to release the information.
In the embodiment of the present invention, the picture with the preset updating condition is a picture that has passed the audit and meets the preset updating condition. That is to say, the preset updating condition corresponds to the picture of the preset updating condition, and since the picture of the preset updating condition is a picture that has already passed the audit, the picture can be published without the audit in the process of publishing the picture, thereby improving the efficiency of publishing information.
Referring to fig. 6, fig. 6 is a schematic flowchart of configuration display information according to an embodiment of the present invention, which specifically includes:
s601, based on the picture with the preset updating condition, the occupied position of the dynamic information is adjusted.
In the embodiment of the invention, the display information not only comprises the pictures, but also comprises dynamic information. The size of the picture is preset, and the occupied position of the dynamic information can be adjusted based on the picture with the preset updating condition.
Specifically, for each piece of display information, there is a corresponding template, and after matching a picture with a preset update condition to the template, the position occupied by the dynamic information is adjusted on the basis.
S602, synthesizing display information according to the occupied position of the dynamic information and the picture with the preset updating condition.
After the occupied position of the dynamic information is determined, the display information can be synthesized according to the occupied position of the dynamic information and the picture with the preset updating condition.
Specifically, the display information can be synthesized by matching the picture with the preset update condition according to the template and adjusting the position occupied by the dynamic information.
In the embodiment of fig. 6, the picture of the preset update condition is combined with the dynamic information to form the display information.
In the embodiment of the invention, the picture with the preset updating condition is positioned in the picture template, and then the display information is synthesized based on the picture template and the dynamic information.
Referring to fig. 7, fig. 7 is a schematic diagram of a composite presentation according to an embodiment of the invention. In fig. 7, the picture template includes a picture with a preset update condition, and the dynamic information is PBD2. And after the occupied position of the dynamic information in the picture template is adjusted, the picture template and the dynamic information are synthesized into display information. And then, synthesizing the display information in the picture template according to the occupied position of the dynamic information and the picture with the preset updating condition.
In the embodiment of the invention, the display information can be displayed at a preset position, so that the information is released. The preset position is a position for displaying the presentation information. Specifically, the preset position is a position located in a preset area, and the preset area includes one or more of the following: web pages, software, applications, and outdoor presentation areas. That is, presentation information may be displayed in web pages, software, applications, and outdoor presentation areas.
Referring to fig. 8, fig. 8 is a schematic flow chart of displaying the display information at the preset position according to the embodiment of the present invention, which specifically includes:
s801, configuring display information according to the dynamic information and the picture with the preset updating condition, and storing the display information into a database.
After the display information is established, the display information needs to be stored in a database so as to be displayed. Specifically, the display information is configured according to the dynamic information and the picture with the preset updating condition, and the display information is stored in the database.
In the display information, setting an identifier according to the dynamic information and the picture with the preset updating condition so as to distinguish a plurality of display information in the database.
S802, extracting the display information from the database according to the extraction time determined by the information publishing period.
The display information can be extracted from the database according to the extraction time determined by the period of the release information, and the aim is to periodically display the display information so as to achieve a better display effect.
The period of the release information is determined according to the data updating period of the data source. As an example, the period of the release information is set to be greater than the data updating period to avoid repeatedly releasing the same presentation information; as another example, the period of publishing information is set to be smaller than the data update period, and the presentation information is published at that time.
And S803, displaying the display information at the preset position according to the period of the release information so as to release the information.
After the display information is extracted, the display information can be automatically displayed at a preset position according to the period of the release information so as to release the information.
In the embodiment of fig. 8, the display information is configured, and the information is automatically released in combination with the period of the released information, so that the efficiency of releasing the information is improved.
In the embodiment, the output data change of the data source is determined according to the real-time output data of the data source; generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source; if the data change result of the data source meets the preset updating condition, adopting real-time output data to construct dynamic information; and configuring display information according to the dynamic information and the picture with the preset updating condition, and displaying the display information at a preset position to release the information. The real-time output data of the data source can be processed in time, and the display information is configured by combining the picture with the preset updating condition, so that the information updating can be realized in time, and the time interval for releasing the information is shortened.
Referring to fig. 9, fig. 9 is a schematic diagram of a main structure of an apparatus for publishing information according to an embodiment of the present invention, where the apparatus for publishing information may implement a method for publishing information, and as shown in fig. 9, the apparatus for publishing information specifically includes:
a changing module 901, configured to determine, according to real-time output data of a data source, that output data of the data source is changed;
a result module 902, configured to generate a data change result of the data source based on real-time output data of the data source and historical output data of the data source;
a constructing module 903, configured to construct dynamic information by using the real-time output data when a data change result of the data source meets a preset update condition;
a configuration module 904, configured to configure display information according to the dynamic information and the picture of the preset update condition, and display the display information at a preset position to publish information.
In an embodiment of the present invention, the changing module 901 is further configured to, according to the type of the data source, configure a script to obtain real-time output data of the data source.
In an embodiment of the present invention, the changing module 901 is specifically configured to obtain a data update period of the data source according to the type of the data source;
and based on the data updating period of the data source, the configuration script acquires the real-time output data of the data source.
In an embodiment of the present invention, the changing module 901 is further configured to perform data cleaning on the raw output data acquired from the data source to obtain real-time output data of the data source.
In an embodiment of the present invention, the changing module 901 is further configured to store the real-time output data of the data source in a database according to the storage condition of the data source.
In an embodiment of the present invention, the changing module 901 is specifically configured to determine that the output data of the data source is changed according to the acquisition time of the real-time output data of the data source.
In an embodiment of the present invention, the result module 902 is specifically configured to determine a data change condition based on the data source;
and comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition to generate a data change result of the data source.
In an embodiment of the present invention, the result module 902 is specifically configured to compare the real-time output data of the data source with the historical output data of the data source according to the data change condition, and generate a time data change result and/or a spatial data change result of the data source.
In an embodiment of the present invention, the constructing module 903 is specifically configured to obtain the preset updating condition according to a data change result of the data source and the data source;
and if the data change result meets the preset updating condition, adopting the real-time output data to construct dynamic information.
In one embodiment of the invention, the dynamic information comprises one or more of: tables, images and text.
In one embodiment of the invention, the data sources include one or more of: gold, bonds, financial products, stocks, and funds.
In an embodiment of the present invention, the picture of the preset update condition is a picture that has passed the audit and meets the preset update condition.
In an embodiment of the present invention, the configuration module 904 is specifically configured to adjust a position occupied by the dynamic information based on the picture of the preset update condition;
and synthesizing the display information according to the occupied position of the dynamic information and the picture with the preset updating condition.
In an embodiment of the present invention, the picture of the preset update condition is located in a picture template.
In an embodiment of the present invention, the picture of the preset update condition is located in a picture template;
the configuration module 904 is specifically configured to synthesize the display information in the picture template according to the occupied position of the dynamic information and the picture of the preset update condition.
In one embodiment of the present invention, the preset position is a position located in a preset area, and the preset area includes one or more of the following: web pages, software, applications, and outdoor presentation areas.
In an embodiment of the present invention, the configuration module 904 is specifically configured to configure the display information according to the dynamic information and the picture of the preset update condition, and store the display information in a database;
extracting the display information from the database according to the extraction time determined by the information release period;
and displaying the display information according to the release information period at the preset position to release information.
Fig. 10 illustrates an exemplary system architecture 1000 to which the method of publishing information or the apparatus for publishing information of embodiments of the invention may be applied.
As shown in fig. 10, the system architecture 1000 may include terminal devices 1001, 1002, 1003, a network 1004, and a server 1005. The network 1004 is used to provide a medium for communication links between the terminal devices 1001, 1002, 1003 and the server 1005. Network 1004 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 1001, 1002, 1003 to interact with a server 1005 via a network 1004 to receive or transmit messages or the like. The terminal devices 1001, 1002, 1003 may have installed thereon various messenger client applications such as shopping applications, web browser applications, search applications, instant messenger, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 1001, 1002, 1003 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 1005 may be a server that provides various services, such as a backend management server (for example only) that supports shopping websites browsed by users using the terminal devices 1001, 1002, 1003. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the method for distributing information provided by the embodiment of the present invention is generally executed by the server 1005, and accordingly, the apparatus for distributing information is generally disposed in the server 1005.
It should be understood that the number of terminal devices, networks, and servers in fig. 10 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation.
Referring now to FIG. 11, shown is a block diagram of a computer system 1100 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 11 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 11, the computer system 1100 includes a Central Processing Unit (CPU) 1101, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 1102 or a program loaded from a storage section 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data necessary for the operation of the system 1100 are also stored. The CPU 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
The following components are connected to the I/O interface 1105: an input portion 1106 including a keyboard, mouse, and the like; an output portion 1107 including a signal output unit such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 1108 including a hard disk and the like; and a communication section 1109 including a network interface card such as a LAN card, a modem, or the like. The communication section 1109 performs communication processing via a network such as the internet. A driver 1110 is also connected to the I/O interface 1105 as necessary. A removable medium 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1110 as necessary, so that a computer program read out therefrom is mounted into the storage section 1108 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 1109 and/or installed from the removable medium 1111. The above-described functions defined in the system of the present invention are executed when the computer program is executed by a Central Processing Unit (CPU) 1101.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a change module, a result module, a build module, and a configuration module. The names of these modules do not in some cases constitute a limitation on the modules themselves, and for example, the change unit may also be described as "for determining an output data change of a data source from real-time output data of the data source".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
determining output data change of a data source according to real-time output data of the data source;
generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source;
if the data change result of the data source meets a preset updating condition, adopting the real-time output data to construct dynamic information;
and configuring display information according to the dynamic information and the picture of the preset updating condition, and displaying the display information at a preset position to release information.
According to the technical scheme of the embodiment of the invention, the output data change of the data source is determined according to the real-time output data of the data source; generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source; if the data change result of the data source meets the preset updating condition, adopting real-time output data to construct dynamic information; and configuring display information according to the dynamic information and the picture with the preset updating condition, and displaying the display information at a preset position to release the information. The real-time output data of the data source can be processed in time, and the display information is configured by combining the picture with the preset updating condition, so that the information updating can be realized in time, and the time interval for releasing the information is shortened.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (18)

1. A method of distributing information, comprising:
determining output data change of a data source according to real-time output data of the data source, wherein the determining of the output data change of the data source according to the real-time output data of the data source comprises the following steps: determining output data change of the data source according to the acquisition time of the real-time output data of the data source;
generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source;
if the data change result of the data source meets a preset updating condition, adopting the real-time output data to construct dynamic information;
configuring display information according to the dynamic information and the picture of the preset updating condition, and displaying the display information at a preset position to release information;
configuring display information according to the dynamic information and the picture with the preset updating condition, wherein the configuration display information comprises the following steps:
based on the picture with the preset updating condition, adjusting the occupied position of the dynamic information;
and synthesizing the display information according to the occupied position of the dynamic information and the picture with the preset updating condition.
2. The method for distributing information according to claim 1, wherein before determining that the output data of the data source is changed according to the real-time output data of the data source, the method further comprises:
and according to the type of the data source, configuring a script to acquire real-time output data of the data source.
3. The method for distributing information according to claim 2, wherein the configuring script obtains real-time output data of the data source according to the type of the data source, and comprises:
acquiring the data updating period of the data source according to the type of the data source;
and based on the data updating period of the data source, the configuration script acquires the real-time output data of the data source.
4. The method for distributing information according to claim 1, wherein before determining that the output data of the data source is changed according to the real-time output data of the data source, the method further comprises:
and carrying out data cleaning on the original output data acquired from the data source to obtain the real-time output data of the data source.
5. The method for distributing information according to claim 1, wherein before determining that the output data of the data source is changed according to the real-time output data of the data source, the method further comprises:
and storing the real-time output data of the data source in a database according to the storage condition of the data source.
6. The method for publishing information according to claim 1, wherein the generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source comprises:
determining a data change condition based on the data source;
and comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition to generate a data change result of the data source.
7. The method for distributing information according to claim 6, wherein the comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition to generate the data change result of the data source comprises:
and comparing the real-time output data of the data source with the historical output data of the data source according to the data change condition to generate a time data change result and/or a space data change result of the data source.
8. The method for publishing information according to claim 1, wherein if the data change result of the data source meets a preset update condition, the real-time output data is adopted to construct dynamic information, and the method comprises:
acquiring the preset updating condition according to the data change result of the data source and the data source;
and if the data change result meets the preset updating condition, adopting the real-time output data to construct dynamic information.
9. The method of claim 8, wherein the dynamic information comprises one or more of: tables, images and text.
10. A method for distributing information as claimed in any one of claims 1 to 9, wherein said data sources include one or more of: gold, bonds, financial products, stocks, and funds.
11. The method for distributing information according to claim 1, wherein the picture meeting the preset updating condition is a picture that has passed an audit and meets the preset updating condition.
12. The method for distributing information according to claim 1, wherein the picture of the preset update condition is located in a picture template.
13. The method for distributing information according to claim 1, wherein the picture of the preset updating condition is located in a picture template;
synthesizing the display information according to the occupied position of the dynamic information and the picture of the preset updating condition, wherein the synthesizing comprises the following steps:
and synthesizing the display information in the picture template according to the occupied position of the dynamic information and the picture with the preset updating condition.
14. The method of claim 1, wherein the preset location is a location located in a preset area, and the preset area comprises one or more of the following: web pages, software, applications, and outdoor presentation areas.
15. The method for distributing information according to claim 1, wherein the configuring presentation information according to the dynamic information and the picture of the preset update condition, and displaying the presentation information at a preset position to distribute information comprises:
configuring display information according to the dynamic information and the picture of the preset updating condition, and storing the display information into a database;
extracting the display information from the database according to the extraction time determined by the information release period;
and displaying the display information according to the release information period at the preset position to release information.
16. An apparatus for distributing information, comprising:
a change module for determining output data change of the data source according to real-time output data of the data source, determining output data change of the data source according to the acquisition time of the real-time output data of the data source;
the result module is used for generating a data change result of the data source based on the real-time output data of the data source and the historical output data of the data source;
the construction module is used for adopting the real-time output data to construct dynamic information when the data change result of the data source meets a preset updating condition;
the configuration module is used for configuring display information according to the dynamic information and the picture of the preset updating condition, displaying the display information at a preset position to release information, and adjusting the position occupied by the dynamic information based on the picture of the preset updating condition; and synthesizing the display information according to the occupied position of the dynamic information and the picture with the preset updating condition.
17. An electronic device for distributing information, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-15.
18. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-15.
CN202011257065.6A 2020-11-12 2020-11-12 Method, device, equipment and computer readable medium for publishing information Active CN112468543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011257065.6A CN112468543B (en) 2020-11-12 2020-11-12 Method, device, equipment and computer readable medium for publishing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011257065.6A CN112468543B (en) 2020-11-12 2020-11-12 Method, device, equipment and computer readable medium for publishing information

Publications (2)

Publication Number Publication Date
CN112468543A CN112468543A (en) 2021-03-09
CN112468543B true CN112468543B (en) 2023-04-07

Family

ID=74825527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011257065.6A Active CN112468543B (en) 2020-11-12 2020-11-12 Method, device, equipment and computer readable medium for publishing information

Country Status (1)

Country Link
CN (1) CN112468543B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730383A (en) * 2017-10-13 2018-02-23 叶海波 A kind of stock information display methods and device
CN108022168A (en) * 2017-11-23 2018-05-11 上海宽全智能科技有限公司 Data unusual fluctuation monitoring method, equipment and storage medium
CN109656983A (en) * 2018-12-14 2019-04-19 北京向上心科技有限公司 Information cuing method, information presentation device, server and readable storage medium storing program for executing
CN110009503A (en) * 2019-04-03 2019-07-12 平安信托有限责任公司 Finance product recommended method, device, computer equipment and storage medium
CN110083765A (en) * 2019-04-12 2019-08-02 平安信托有限责任公司 Financing information-pushing method, device, computer equipment and storage medium
CN110888696A (en) * 2018-09-07 2020-03-17 北京京东金融科技控股有限公司 Page display method and system, computer system and computer readable medium
CN111414568A (en) * 2019-01-07 2020-07-14 北京字节跳动网络技术有限公司 Information display method and device, electronic equipment and storage medium
CN111784504A (en) * 2020-06-29 2020-10-16 京东数字科技控股有限公司 Data processing method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730383A (en) * 2017-10-13 2018-02-23 叶海波 A kind of stock information display methods and device
CN108022168A (en) * 2017-11-23 2018-05-11 上海宽全智能科技有限公司 Data unusual fluctuation monitoring method, equipment and storage medium
CN110888696A (en) * 2018-09-07 2020-03-17 北京京东金融科技控股有限公司 Page display method and system, computer system and computer readable medium
CN109656983A (en) * 2018-12-14 2019-04-19 北京向上心科技有限公司 Information cuing method, information presentation device, server and readable storage medium storing program for executing
CN111414568A (en) * 2019-01-07 2020-07-14 北京字节跳动网络技术有限公司 Information display method and device, electronic equipment and storage medium
CN110009503A (en) * 2019-04-03 2019-07-12 平安信托有限责任公司 Finance product recommended method, device, computer equipment and storage medium
CN110083765A (en) * 2019-04-12 2019-08-02 平安信托有限责任公司 Financing information-pushing method, device, computer equipment and storage medium
CN111784504A (en) * 2020-06-29 2020-10-16 京东数字科技控股有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112468543A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN110019350B (en) Data query method and device based on configuration information
CN109683998B (en) Internationalization realization method, device and system
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
WO2018177032A1 (en) Method and device for processing response data, client device and electronic device
CN110019158A (en) A kind of method and apparatus of monitoring data quality
CN112947919A (en) Method and device for constructing service model and processing service request
US20160042041A1 (en) Customized and Automated Dynamic Infographics
CN112486482A (en) Page display method and device
CN113190517B (en) Data integration method and device, electronic equipment and computer readable medium
CN114489916A (en) Method and device for loading visual large-screen page component
CN110807535A (en) Construction method and construction device of unified reservation platform and unified reservation platform system
CN113378346A (en) Method and device for model simulation
CN113190558A (en) Data processing method and system
CN112468543B (en) Method, device, equipment and computer readable medium for publishing information
CN113536748A (en) Method and device for generating chart data
CN113656506B (en) Electronic specification acquisition method and device and readable medium
CN113760279A (en) Method and device for generating page
CN109889402B (en) Method and apparatus for generating information
CN108898446B (en) Method and apparatus for outputting information
CN112784195A (en) Page data publishing method and system
CN115248804A (en) Configuration data processing method and device, computer equipment and storage medium
CN113450170A (en) Information display method and device
CN107679230B (en) Information processing method, system, medium, and computing device
CN111179164A (en) Method and device for generating thumbnail
CN113253991A (en) Task visualization processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant