CN112015982A - Customized news generation method, device, equipment and storage medium - Google Patents

Customized news generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN112015982A
CN112015982A CN202010843779.9A CN202010843779A CN112015982A CN 112015982 A CN112015982 A CN 112015982A CN 202010843779 A CN202010843779 A CN 202010843779A CN 112015982 A CN112015982 A CN 112015982A
Authority
CN
China
Prior art keywords
consumption
news
target
keywords
data
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.)
Pending
Application number
CN202010843779.9A
Other languages
Chinese (zh)
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.)
Shenzhen Mingshu Information Co Ltd
Original Assignee
Shenzhen Mingshu Information 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 Shenzhen Mingshu Information Co Ltd filed Critical Shenzhen Mingshu Information Co Ltd
Priority to CN202010843779.9A priority Critical patent/CN112015982A/en
Publication of CN112015982A publication Critical patent/CN112015982A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Abstract

The embodiment of the invention discloses a customized news generating method, a customized news generating device, customized news generating equipment and a storage medium. The method comprises the following steps: acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records, wherein the consumption record library comprises all consumption records of all users; acquiring at least one keyword corresponding to a target user according to the target consumption record; acquiring at least one group of target news data corresponding to a target user according to the keywords; and generating customized news corresponding to the target user according to the target news data, and pushing the customized news to the target user. According to the embodiment of the invention, the consumption characteristics and the focus of the target user are obtained by obtaining the consumption record of the target user, the database is established for the consumption records of all users, the consumption data related to the target user is obtained from the database, customized news is generated, and the targeted and personalized news generation and push are realized.

Description

Customized news generation method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a customized news generating method, a customized news generating device, customized news generating equipment and a storage medium.
Background
News is one of the most convenient and efficient ways for people to obtain external information, financial news is an important news type, covers all social and economic lives and fields related to economy, and has great guiding significance on the economic life of readers.
In the prior art, financial news is usually obtained by a life financial reporter through personal observation, partial business groups or limited data provided by official parties, and then delivered to the public. However, the information obtained in this way is generally information with commonalities obtained from a macroscopic perspective, and it is difficult to provide targeted and personalized news content for the reader.
Disclosure of Invention
The embodiment of the invention provides a customized news generating method, a device, equipment and a storage medium, which are used for obtaining consumption characteristics and points of interest of a target user by obtaining consumption records of the target user, establishing a database for the consumption records of all users, obtaining consumption data related to the target user from the consumption records, generating customized news, and realizing targeted and personalized news generation and pushing.
In a first aspect, an embodiment of the present invention provides a customized news generating method, including:
acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records, wherein the consumption record library comprises all consumption records of all users;
acquiring at least one keyword corresponding to the target user according to the target consumption record;
acquiring at least one group of target news data corresponding to the target user according to the keywords;
and generating customized news corresponding to the target user according to the target news data, and pushing the customized news to the target user.
In a second aspect, an embodiment of the present invention further provides a customized news generating apparatus, including:
the consumption record acquisition module is used for acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records, wherein the consumption record library comprises all consumption records of all users;
the keyword acquisition module is used for acquiring at least one keyword of the target user according to the target consumption record;
the news data acquisition module is used for acquiring at least one group of target news data corresponding to the target user according to the keywords;
and the news generating module is used for generating the customized news of the target user according to the target news data and pushing the customized news to the target user.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the customized news generating method according to the embodiment of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the customized news generating method according to the embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the consumption characteristics and the attention points of the target user are obtained by obtaining the consumption records of the target user, the database is established for the consumption records of all users, the consumption data related to the target user are obtained from the consumption records, customized news is generated and pushed, and the targeted and personalized news is generated and pushed.
Drawings
Fig. 1 is a flowchart of a customized news generating method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a customized news generating method according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a customized news generating apparatus according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a customized news generating method according to an embodiment of the present invention. The method can be executed by the customized news generating device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware manner and can be generally integrated in computer equipment. Such as a cloud platform. As shown in fig. 1, the method of the embodiment of the present invention specifically includes:
step 101, acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records.
Wherein, the consumption record library comprises all consumption records of all users. Each consumption record in the consumption record library is stored corresponding to the user who generates the consumption. The consumption record may be automatically recorded when the user is detected to use the online payment, or may be manually recorded by the user, without limitation. The preset time period may be set according to the requirement of generating customized news, and may be, for example, the last week, the last three months, or the last year. When the preset time period is longer, the consumption characteristics and the focus of the target user in a longer period can be obtained, and the correspondingly generated customized news content is more comprehensive and richer.
And 102, acquiring at least one keyword corresponding to the target user according to the target consumption record.
The keywords are representative contents appearing in the target consumption record, and for example, if the target consumption record includes a consumption place with a high appearance frequency, the consumption place can be taken as one keyword; if the target consumption record comprises the consumption time period with higher occurrence frequency, the time period can be used as a keyword; if the consumption expenditure amount of a certain type in the target consumption record is stable, the consumption level of the target user in the type consumption can be judged and used as a keyword.
Optionally, the consumption record includes: consumption type, consumption amount, consumption time and consumption location; the keywords include: and the consumption keywords comprise a consumption type keyword, a consumption amount keyword, a consumption time keyword and a consumption position keyword.
The consumption type may be set according to the content of the consumption record or the requirement of customized news, for example, the consumption type may include catering, automobiles, online shopping, and the like, or may include more specific take-out, fast food, automobile fueling, clothing, and the like, without limitation. The consumption amount is the amount paid out by each consumption. The consumption time is the time point of each consumption, the specific degree can be set according to the requirement, and can be specific to days, hours or minutes, without limitation. The consumption location is a location where consumption occurs, and may include a city, a business district, or a street where consumption occurs, may include coordinates of a place where consumption occurs, and may also include a merchant where consumption occurs, without limitation.
The consumption keywords are words capable of representing consumption habits and characteristics of the user. The consumption type keyword is a representative consumption type appearing in the target consumption record, for example, if the number of times of appearance of the consumption record with the consumption type of "take-away" in the target consumption record is large, the "take-away" may be determined as one consumption type keyword, and if the consumption record with the consumption type of "automobile refueling" also appears in the target consumption record, the "automobile refueling" may also be determined as one consumption type keyword, and the number of the consumption type keywords is not limited. The consumption amount keyword is a representative summary of the consumption amount in the target consumption record, and may be, for example, a monthly consumption amount average value, a consumption amount average value and a proportion corresponding to each consumption type, and the like, or may be, if it is summarized that the consumption amount of the target user is at a low or medium consumption level, determine that "low or medium consumption" is a consumption amount keyword, and the number of the consumption amount keywords is not limited. The consumption time keywords are representative consumption times or representative summaries appearing in the target consumption records, for example, if the consumption times in the target consumption records are all in july to september, then all of july, august, september and third quarter may be determined as the consumption time keywords, and the number of the consumption time keywords is not limited. The consumption position key words are representative consumption positions appearing in the target consumption records, for example, if the consumption positions in the target consumption records are Shenzhen city, the Shenzhen city can be determined as one consumption position key word, if the consumption positions in the target consumption records are more times of appearance of the consumption records of the shop a, the shop a can also be used as one consumption position key word, and the number of the consumption position key words is not limited.
Optionally, the consumption record further includes: user gender, user age, user family status, user occupation, user income, user living city and user address; the keywords further include: individual keywords including gender keywords, age keywords, family status keywords, occupation keywords, income keywords, residential city keywords, and address keywords.
The gender, age, family condition, occupation, income, city and address of the user may be obtained according to the user information manually filled by the user who generates the consumption and is stored corresponding to the consumption record, or may be inferred according to the consumption record of the user, without limitation.
Individual keywords are words that may characterize a user's personal attributes. The gender key words characterize the gender of the user, including "male" and "female". The age key words represent the age of the user, and may be, for example, "middle age", "young" and "young" or words representing the age group, such as "twenty years" and "thirty years". The family condition keywords characterize the family condition of the user, and may be, for example, "single," "married," and "rent," etc. The career keyword represents careers in which the user is engaged, and may be, for example, "white-collar", "teacher", and "chef". The income keywords represent income level of the user, and can be monthly income amount or annual income amount, or generalized words such as "high income", "medium income", and "low income". The city of residence keyword characterizes a city in which the user lives for a long time. The address keyword represents the location of the user's residence, and may be, for example, an administrative division or street to which the residence belongs.
And 103, acquiring at least one group of target news data corresponding to the target user according to the keywords.
The target news data corresponding to the target user generates consumption data required by customized news for the target user, and the consumption data are related to the target user or belong to the attention point of the target user to a certain extent.
Optionally, the obtaining at least one group of target news data corresponding to the target user according to the keyword includes: acquiring a consumption record comprising at least one keyword in the consumption record library as a reference consumption record; storing the reference consumption records with the same included keywords as a reference database to obtain at least one reference database; performing multi-dimensional data statistics on the reference consumption records in each reference database respectively to obtain target statistical data corresponding to each reference database; and respectively storing the keywords and the corresponding target statistical data which are commonly included by the reference consumption records in the reference databases into a group of target news data to obtain at least one group of target news data.
Optionally, the obtaining at least one group of target news data corresponding to the target user according to the keyword includes: grabbing at least one news report including the keywords on a network platform; and acquiring target news data in the news reports.
The network can be any network platform with financial news release, and the news reports are news which are released on the network platform.
And 104, generating customized news corresponding to the target user according to the target news data, and pushing the customized news to the target user.
The customized news can be pushed to the target user in the form of sentences or articles, and is not limited. The method for generating customized news corresponding to the target user according to the target news data comprises a template-based method and a model-based method. The customized news can be pushed in any online news, for example, in a message prompting manner, in a fixed column, and the like, without limitation.
Optionally, when a template-based method is adopted, the generating customized news corresponding to the target user according to each target news data includes: determining a news generating template corresponding to each target news data in at least one preset news generating template; and filling the target news data into the corresponding news generating template according to the template rule of each news generating template to obtain customized news corresponding to the target news data.
Wherein the news generation template may be determined according to keywords included in the target news data. The news generating template is a universal sentence pattern and comprises at least one vacancy to be filled with data, and the type of the data which can be filled in the vacancy is fixed. Each group of target news data can be filled in the vacant positions in the corresponding news generating templates to form a complete and smooth sentence.
Illustratively, the target news data are "shenzhen city", "takeaway", "1 month in 2020", and "c yuan", and the corresponding news generation template is "from (vacancy)," the average (vacancy) consumption amount of the resident (vacancy) "is" vacancy ", and the target news data can be filled in the news generation template, and the average (takeaway) consumption amount of the resident (shenzhen city) since (1 month in 2020) is obtained as" c yuan ".
Optionally, when a model-based method is adopted, the generating customized news corresponding to the target user according to each target news data includes: and respectively inputting the target news data into a news generating model to obtain customized news which is output by the news generating model and corresponds to the target news data.
The news generation model is based on a Natural Language Processing (NLP) technology, the input of the news generation model is a group of target news data, and the output of the news generation model is a complete and smooth sentence containing the target news data or synonyms thereof.
For example, the input target news data are "june", "Shenzhen city", "car refueling" and "descent", then the output may be "since summer, Shenzhen city citizen has a reduced payout on car refueling".
The embodiment of the invention provides a customized news generating method, which is characterized in that consumption characteristics and points of interest of a target user are obtained by obtaining consumption records of the target user, a database is established for the consumption records of all users, consumption data related to the target user are obtained from the consumption records, customized news is generated and pushed, and targeted and personalized news is generated and pushed.
Optionally, after step 104, the method further includes: and merging the semantically repeated contents in the customized news.
The NLP technology can be adopted to obtain the content with repeated semantics in the customized news. The content with repeated semantemes in the customized news is merged, and the multiple sentences with repeated semantemes can be deleted to only reserve one sentence.
According to the embodiment, the repeated contents in the customized news are combined, so that the customized news pushed to the target user is more concise and smooth, and the user experience is further improved.
Example two
Fig. 2 is a flowchart of a customized news generating method according to a second embodiment of the present invention. In this embodiment of the present invention, the obtaining at least one set of target news data corresponding to the target user according to the keyword may include: acquiring a consumption record comprising at least one keyword in the consumption record library as a reference consumption record; storing the reference consumption records with the same included keywords as a reference database to obtain at least one reference database; performing multi-dimensional data statistics on the reference consumption records in each reference database respectively to obtain target statistical data corresponding to each reference database; and respectively storing the keywords and the corresponding target statistical data which are commonly included by the reference consumption records in the reference databases into a group of target news data to obtain at least one group of target news data.
As shown in fig. 2, the method of the embodiment of the present invention specifically includes:
step 201, acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records, wherein the consumption record library comprises all consumption records of all users.
Step 202, obtaining at least one keyword corresponding to the target user according to the target consumption record.
Step 203, obtaining the consumption record comprising at least one keyword in the consumption record library as a reference consumption record.
Wherein each reference database corresponds to keywords common to the reference consumption records therein.
And step 204, storing the reference consumption records with the same included keywords as one reference database to obtain at least one reference database.
Wherein the reference consumption record may serve as a source of target news data included in the customized news pushed to the target user.
Step 205, performing multidimensional data statistics on the reference consumption records in each reference database, respectively, to obtain target statistical data corresponding to each reference database.
The multidimensional data statistics is carried out on the reference consumption records in the reference database, namely the multidimensional data statistics is carried out on the information except the common keywords in the reference consumption records in the reference database. The dimensionality of the multi-dimensional data statistics can be preset according to different data statistics objects.
Step 206, storing the keywords and the corresponding target statistical data, which are commonly included in the reference consumption records in each reference database, as a group of target news data to obtain at least one group of target news data.
The target news data is used for generating customized news pushed to the target user.
Illustratively, acquiring reference consumption records including keywords "shenzhen city" and "takeout" from all acquired reference consumption records and storing the reference consumption records as a reference database, then counting the consumption time in the reference consumption records, for example, counting the average order quantity of the shenzhen city takeout in each unit time period all day, screening out that the peak value is in a time period, the average order quantity is b orders, then the target statistical data are "a time period" and "b orders", and storing the "shenzhen city", "takeout", "a time period" and "b orders" as a set of target news data; the consumption time and the consumption amount in the reference consumption record can be counted, for example, the per-capita takeout consumption amount of residents in the Shenzhen city in 1 month in 2020 is counted as c yuan or the takeout consumption amount of residents in the Shenzhen city in the first quarter in 2020 is gradually reduced, and the like, and the time range for counting the consumption amount can be determined according to the current time and the consumption time in the reference consumption record, so that the target statistical data are "1 month in 2020" and "c yuan", and the "Shenzhen city", "takeout", "1 month in 2020" and "c yuan" are stored as a set of target news data; the user professions in the reference consumption records can be counted, for example, the point takeout frequency of the d profession among the residents in Shenzhen city is counted to be the highest, the target statistical data is the "d profession", and the "Shenzhen city", "takeout" and "d profession" are stored as a set of target news data.
And step 207, generating customized news corresponding to the target user according to the target news data, and pushing the customized news to the target user.
The specific implementation of the above steps may refer to the implementation of the corresponding steps provided in the first embodiment, which is not described herein again.
The embodiment of the invention provides a customized news generating method, which is characterized in that consumption characteristics and points of interest of a target user are obtained by obtaining consumption records of the target user, a database is established for the consumption records of all users, consumption data related to the target user are obtained from the consumption records, customized news is generated and pushed, and targeted and personalized news is generated and pushed.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a customized news generating apparatus according to a third embodiment of the present invention, and as shown in fig. 3, the apparatus includes: a consumption record obtaining module 301, a keyword obtaining module 302, a news data obtaining module 303, and a news generating module 304.
The consumption record obtaining module 301 is configured to obtain all consumption records of a target user in a consumption record library within a preset time period, where the consumption record library includes all consumption records of all users.
A keyword obtaining module 302, configured to obtain at least one keyword of the target user according to the target consumption record.
And a news data obtaining module 303, configured to obtain at least one set of target news data corresponding to the target user according to the keyword.
And a news generating module 304, configured to generate customized news of the target user according to each piece of the target news data, and push the customized news to the target user.
The embodiment of the invention provides a customized news generating device, which is used for obtaining consumption characteristics and attention points of a target user by obtaining consumption records of the target user, establishing a database for the consumption records of all users, obtaining consumption data related to the target user from the consumption records, generating customized news, and realizing targeted and personalized news generation and pushing.
In an optional implementation of the embodiment of the invention, the consumption record comprises: consumption type, consumption amount, consumption time and consumption location; the keywords include: and the consumption keywords comprise a consumption type keyword, a consumption amount keyword, a consumption time keyword and a consumption position keyword.
In an optional implementation of the embodiment of the present invention, the consumption record further includes: user gender, user age, user family status, user occupation, user income, user living city and user address; the keywords further include: individual keywords including gender keywords, age keywords, family status keywords, occupation keywords, income keywords, residential city keywords, and address keywords.
In an optional implementation manner of the embodiment of the present invention, the news data obtaining module 303 further includes: a reference consumption record obtaining sub-module, configured to obtain a consumption record including at least one keyword in the consumption record library as a reference consumption record; the reference database acquisition sub-module is used for storing the reference consumption records with the same included keywords as one reference database to obtain at least one reference database; the target statistical data acquisition submodule is used for respectively carrying out multi-dimensional data statistics on the reference consumption records in each reference database to obtain target statistical data corresponding to each reference database; and the target news data acquisition submodule is used for respectively storing the keywords and the corresponding target statistical data which are commonly included in the reference consumption records in the reference databases into a group of target news data to obtain at least one group of target news data.
In an optional implementation manner of the embodiment of the present invention, the news data obtaining module 303 further includes: the news crawling submodule is used for crawling at least one news report comprising the keywords on a network platform; and the data capturing submodule is used for acquiring target news data in the news reports.
In an optional implementation manner of the embodiment of the present invention, the news generating module 304 is specifically configured to: determining a news generating template corresponding to each target news data in at least one preset news generating template; and filling the target news data into the corresponding news generating template according to the template rule of each news generating template to obtain customized news corresponding to the target news data.
In an optional implementation manner of the embodiment of the present invention, the news generating module 304 is specifically configured to: and respectively inputting the target news data into a news generating model to obtain customized news which is output by the news generating model and corresponds to the target news data.
In an optional implementation of the embodiment of the present invention, the apparatus further comprises: and the repeated content merging module is used for merging the content with repeated semanteme in the customized news.
The device can execute the customized news generating method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the customized news generating method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors 16, a memory 28, and a bus 18 that connects the various system components (including the memory 28 and the processors 16).
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16 executes various functional applications and data processing by running programs stored in the memory 28, thereby implementing the method provided by the embodiment of the present invention: acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records, wherein the consumption record library comprises all consumption records of all users; acquiring at least one keyword corresponding to the target user according to the target consumption record; acquiring at least one group of target news data corresponding to the target user according to the keywords; and generating customized news corresponding to the target user according to the target news data, and pushing the customized news to the target user.
EXAMPLE five
Fifth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where when the computer program is executed by a processor, the computer program implements a method provided in the fifth embodiment of the present invention: acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records, wherein the consumption record library comprises all consumption records of all users; acquiring at least one keyword corresponding to the target user according to the target consumption record; acquiring at least one group of target news data corresponding to the target user according to the keywords; and generating customized news corresponding to the target user according to the target news data, and pushing the customized news to the target user.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. 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 (a non-exhaustive list) of the computer readable storage medium would include the following: 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 context of this document, 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.
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, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or computer device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A customized news generating method, comprising:
acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records, wherein the consumption record library comprises all consumption records of all users;
acquiring at least one keyword corresponding to the target user according to the target consumption record;
acquiring at least one group of target news data corresponding to the target user according to the keywords;
and generating customized news corresponding to the target user according to the target news data, and pushing the customized news to the target user.
2. The method of claim 1, wherein the consumption record comprises: consumption type, consumption amount, consumption time and consumption location;
the keywords include: and the consumption keywords comprise a consumption type keyword, a consumption amount keyword, a consumption time keyword and a consumption position keyword.
3. The method of claim 2, wherein the consumption record further comprises: user gender, user age, user family status, user occupation, user income, user living city and user address;
the keywords further include: individual keywords including gender keywords, age keywords, family status keywords, occupation keywords, income keywords, residential city keywords, and address keywords.
4. The method according to claim 1, wherein the obtaining at least one set of target news data corresponding to the target user according to the keyword comprises:
acquiring a consumption record comprising at least one keyword in the consumption record library as a reference consumption record;
storing the reference consumption records with the same included keywords as a reference database to obtain at least one reference database;
performing multi-dimensional data statistics on the reference consumption records in each reference database respectively to obtain target statistical data corresponding to each reference database;
and respectively storing the keywords and the corresponding target statistical data which are commonly included by the reference consumption records in the reference databases into a group of target news data to obtain at least one group of target news data.
5. The method of claim 1, wherein generating customized news corresponding to the target user from each of the target news data comprises:
determining a news generating template corresponding to each target news data in at least one preset news generating template;
and filling the target news data into the corresponding news generating template according to the template rule of each news generating template to obtain customized news corresponding to the target news data.
6. The method of claim 1, wherein generating customized news corresponding to the target user from each of the target news data comprises:
and respectively inputting the target news data into a news generating model to obtain customized news which is output by the news generating model and corresponds to the target news data.
7. The method of claim 1, further comprising, after the generating customized news corresponding to the target user from each of the target news data:
and merging the semantically repeated contents in the customized news.
8. A customized news generating apparatus, comprising:
the consumption record acquisition module is used for acquiring all consumption records of a target user in a consumption record library within a preset time period as target consumption records, wherein the consumption record library comprises all consumption records of all users;
the keyword acquisition module is used for acquiring at least one keyword of the target user according to the target consumption record;
the news data acquisition module is used for acquiring at least one group of target news data corresponding to the target user according to the keywords;
and the news generating module is used for generating the customized news of the target user according to the target news data and pushing the customized news to the target user.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the customized news generation method of any one of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the customized news generation method according to any one of claims 1-7.
CN202010843779.9A 2020-08-20 2020-08-20 Customized news generation method, device, equipment and storage medium Pending CN112015982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010843779.9A CN112015982A (en) 2020-08-20 2020-08-20 Customized news generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010843779.9A CN112015982A (en) 2020-08-20 2020-08-20 Customized news generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112015982A true CN112015982A (en) 2020-12-01

Family

ID=73505268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010843779.9A Pending CN112015982A (en) 2020-08-20 2020-08-20 Customized news generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112015982A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112733516A (en) * 2020-12-31 2021-04-30 京东数字科技控股股份有限公司 Method, device, equipment and storage medium for processing instant messages

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130025491A (en) * 2011-09-02 2013-03-12 한국방송공사 Method and apparatus for recommanding broadcast content
US20160037311A1 (en) * 2014-07-31 2016-02-04 Samsung Electronics Co., Ltd. Message service providing device and method of providing content via the same
CN109033241A (en) * 2018-07-04 2018-12-18 北京第视频科学技术研究院有限公司 News recommended method, device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130025491A (en) * 2011-09-02 2013-03-12 한국방송공사 Method and apparatus for recommanding broadcast content
US20160037311A1 (en) * 2014-07-31 2016-02-04 Samsung Electronics Co., Ltd. Message service providing device and method of providing content via the same
CN109033241A (en) * 2018-07-04 2018-12-18 北京第视频科学技术研究院有限公司 News recommended method, device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112733516A (en) * 2020-12-31 2021-04-30 京东数字科技控股股份有限公司 Method, device, equipment and storage medium for processing instant messages
CN112733516B (en) * 2020-12-31 2024-04-09 京东科技控股股份有限公司 Method, device, equipment and storage medium for processing quick message

Similar Documents

Publication Publication Date Title
Gorelik The enterprise big data lake: Delivering the promise of big data and data science
US20220092059A1 (en) Dynamically materialized views for sheets based data
US20210365446A1 (en) Dynamically updated data sheets using row links
CN107908740B (en) Information output method and device
CA2921363C (en) Simplified tax interview
US20180309807A1 (en) Apparatus and Method for Acquiring, Managing, Sharing, Monitoring, Analyzing and Publishing Web-Based Time Series Data
Teorey Database modeling and design: The entity-relationship approach
Bernstein et al. Information integration in the enterprise
Inmon et al. Business metadata: Capturing enterprise knowledge
US20070226250A1 (en) Patent Figure Drafting Tool
US20130110871A1 (en) Distributed platform for network analysis
CN102541867A (en) Data dictionary generating method and system
Kripfganz et al. Instrumental-variable estimation of large-T panel-data models with common factors
US8032567B2 (en) Demonstration tool for a business information enterprise system
White Enterprise search: enhancing business performance
CN102930048A (en) Data abundance automatically found by semanteme and using reference and visual data
US11636162B2 (en) Multi-database document search system architecture
CN107729944B (en) Identification method and device of popular pictures, server and storage medium
CN112835864B (en) File storage method, device, equipment and storage medium
CN112015982A (en) Customized news generation method, device, equipment and storage medium
CN111382977A (en) Book purchasing method and device based on user borrowing behavior and storage medium
CN114722789B (en) Data report integrating method, device, electronic equipment and storage medium
CN114637866B (en) Information management method and device for digitalized new media
CN105574145A (en) Modern family archive electronic management method and system
CN111143328A (en) Agile business intelligent data construction method, system, 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