CN108021629B - Method, device and system for generating advertisement material data - Google Patents

Method, device and system for generating advertisement material data Download PDF

Info

Publication number
CN108021629B
CN108021629B CN201711175108.4A CN201711175108A CN108021629B CN 108021629 B CN108021629 B CN 108021629B CN 201711175108 A CN201711175108 A CN 201711175108A CN 108021629 B CN108021629 B CN 108021629B
Authority
CN
China
Prior art keywords
data
lexical
material data
target
setting table
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
CN201711175108.4A
Other languages
Chinese (zh)
Other versions
CN108021629A (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.)
Seashell Housing Beijing Technology Co Ltd
Original Assignee
Seashell Housing Beijing Technology 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 Seashell Housing Beijing Technology Co Ltd filed Critical Seashell Housing Beijing Technology Co Ltd
Priority to CN201711175108.4A priority Critical patent/CN108021629B/en
Publication of CN108021629A publication Critical patent/CN108021629A/en
Application granted granted Critical
Publication of CN108021629B publication Critical patent/CN108021629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24573Query processing with adaptation to user needs using data annotations, e.g. user-defined metadata

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Computational Linguistics (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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides an advertisement material data generation method, device and system. The method comprises the steps of obtaining a configuration file, wherein the configuration file comprises data tag items; acquiring a lexical setting table, wherein the lexical setting table comprises lexical names and corresponding data resources, analyzing the configuration file through the lexical setting table according to the mapping relation between the data label items and the lexical names, and acquiring the data resources corresponding to the data label items in the configuration file from the lexical setting table as target data resources; and acquiring corresponding target basic material data according to the target data resources to generate advertisement material data. The apparatus is configured to perform the method. According to the embodiment of the invention, the configuration file is analyzed through the lexical setting table to obtain the corresponding target data resource, the target base material data is obtained according to the target data resource to generate the advertisement material data, the advertisement material data is generated without using a hard coding mode, the repeated work of research personnel is avoided, and the work efficiency is improved.

Description

Method, device and system for generating advertisement material data
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to an advertisement material data generation method, device and system.
Background
The processing of the current internet advertisement materials focuses on the aspects of text originality, picture quality, picture originality, display forms and the like, and advertisements related to real estate belong to a part of the processing, and the focus points are similar. A brief introduction to these aspects follows.
(1) Text creativity: the internet advertising industry has consistently attracted the audience's click-through access in concise languages (e.g., compelling slogans), so a good textual creative appears particularly important. Many advertisement delivery platforms have corresponding advertisement text editing systems or similar services to facilitate people to edit advertisement texts, so as to improve the quality of advertisement delivery.
(2) Picture quality: pictures, an important component of internet advertising, may be somewhat more appealing than text. Taking a house advertisement as an example, a house picture or a house picture which is made of perfect texture can reflect the true price of the house or the house better than a common picture. Therefore, a plurality of systems for uploading and producing the advertisement pictures emerge.
(3) Creative pictures: this is similar to the previous point and also requires the assistance of a picture management system to facilitate the provision of picture creatives.
(4) The display form is as follows: internet advertisements may be presented in a variety of forms, such as videos, dynamic material, static material, and the like. Different presentation forms provide different material templates in the advertising material management system for selection by people.
The basic data of the traditional internet house property advertisement material needs to be extracted by research and development personnel in a hard coding mode according to the requirements of different advertisement platforms, namely, a newly added advertisement delivery target platform needs to be added with corresponding codes to meet corresponding requirements, so that the research and development personnel can work repeatedly, and the work efficiency is reduced.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides an advertisement material data generation method, device and system.
In a first aspect, an embodiment of the present invention provides a method for generating advertisement material data, including:
acquiring a configuration file configured by a user according to requirements, wherein the configuration file comprises data tag items;
acquiring a pre-configured lexical setting table, wherein the lexical setting table comprises lexical names and data resources corresponding to the lexical names, and the data tag items and the lexical names have a mapping relation;
analyzing the configuration file through a lexical setting table according to the mapping relation, and acquiring data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources;
and acquiring corresponding target basic material data according to the target data resources to generate advertisement material data.
In a second aspect, an embodiment of the present invention provides an advertisement material data generating apparatus, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a configuration file configured by a user according to requirements, and the configuration file comprises a data tag item;
the second acquisition module is used for acquiring a pre-configured lexical setting table, wherein the lexical setting table comprises lexical names and data resources corresponding to the lexical names, and the data tag items and the lexical names have a mapping relation;
the analysis module is used for analyzing the configuration file through a lexical setting table according to the mapping relation, and acquiring data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources;
and the generating module is used for acquiring corresponding target base material data according to the target data resources to generate advertisement material data.
In a third aspect, an embodiment of the present invention provides an advertisement material data generation system, which includes a generation device, a first database, and a second database, where the generation device is in communication connection with the first database and the second database, respectively;
the generating means is for performing the method steps of the first aspect;
the first database is used for storing the basic material data and the lexical setting table;
the second database is used for receiving and storing the advertisement material data generated by the generating device.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor being capable of performing the method steps of the first aspect when invoked by the program instructions.
In a fifth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform the method steps of the first aspect.
According to the method, the device and the system for generating the advertisement material data, the configuration file is analyzed by the lexical setting table through the mapping relation between the data label items in the configuration file and the lexical names in the lexical setting table, the corresponding target data resources are obtained from the lexical setting table, the target basic material data are obtained according to the target data resources, so that the advertisement material data are generated, the advertisement material data are generated without a hard coding mode, the repeated work of research and development personnel is avoided, and the work efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for generating advertisement material data according to an embodiment of the present invention;
FIG. 2 is an edited configuration file provided by an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for generating advertisement material data according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an advertisement material data generating apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an advertisement material data generation system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a method for generating advertisement material data according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101: acquiring a configuration file configured by a user according to requirements, wherein the configuration file comprises data tag items;
specifically, the advertisement operator only needs to edit and configure different configuration files when he wants to obtain the data corresponding to the advertisement delivery target platform, which should be noted that the configuration files can be edited by himself or the configuration files can be configured in a visual manner. Fig. 2 is an edited configuration file according to an embodiment of the present invention, as shown in fig. 2. In addition, if data label items which are not in the configuration file are required to be newly added, the corresponding data label items can be directly added through the database, and program codes do not need to be modified in the whole process, recompilation and deployment are not required, and the like. Of course, some configuration templates may be stored in the device in advance, and the advertisement operator may visually select a desired configuration template on the interface by means of telephone, and automatically generate a configuration file similar to that in fig. 2 in the background after selecting the desired configuration template. Therefore, after the advertisement operator edits the configuration file, the configuration file is submitted to the device, the device obtains the configuration file configured by the user according to the requirement, the configuration file comprises at least one data label item.
Step 102: acquiring a pre-configured lexical setting table, wherein the lexical setting table comprises lexical names and data resources corresponding to the lexical names, and the data tag items and the lexical names have a mapping relation;
specifically, a lexical setting table is configured in advance, the lexical setting table includes lexical names and data resources corresponding to the lexical names, and table 1 is the lexical setting table provided in the embodiment of the present invention, and is shown in table 1:
TABLE 1
Figure BDA0001478071440000051
The lexical setting table further includes an identifier ID, a type, a numerical range, a tag position, and the like, where the lexical name includes a data tag item in a configuration file configured by a user, and the naming of the data tag item in the configuration file is consistent with the lexical name in the lexical setting table, and the type is a type corresponding to the lexical name, where 0 is a variable, 1 is an operator, 2 is a tag without a data source, 3 is a tag with a data source (i.e., a tag to be provided to material data), and 4 is a screening item, where when the type is 3, the data resource is a corresponding acquisition path of data to be acquired by the data source tag in the base material data, and when the type is 4, a column corresponding to the resource data is a corresponding code of the screening item in the screening table. The tag position is a tag position that is finally displayed in the advertisement material data. It should be noted that table 1 only lists some, but not all, of the contents. The configured lexical setting table is stored in a database, the device obtains the lexical setting table from the database, and it can be seen through the configuration file and the table 1 in fig. 2 that the data tag items in the configuration file have a mapping relation with the lexical names in the table 1, that is, the data tag items in the configuration file can find the lexical names which are always named in the lexical setting table.
Step 103: analyzing the configuration file through a lexical setting table according to the mapping relation, and acquiring data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources;
specifically, because the data tag item in the configuration file has a mapping relationship with the lexical name in the lexical setting table, the lexical name corresponding to the data tag item in the configuration file can be found according to the mapping relationship, and because each lexical name in the lexical setting table corresponds to one data resource, the corresponding target data resource can be obtained according to the lexical name corresponding to the data tag item, and this process is a process of analyzing the configuration file through the lexical setting table.
Step 104: and acquiring corresponding target basic material data according to the target data resources to generate advertisement material data.
Specifically, when the type is 3, the data resource is a corresponding path of data to be acquired by the data tag item in the base material data, so that corresponding target base material data can be acquired from the base material data according to the path corresponding to the target data resource, and after the target base material data is acquired, the target base material data is placed in a corresponding position according to the tag position, thereby generating advertisement material data.
According to the embodiment of the invention, the configuration file is analyzed by utilizing the lexical setting table through the mapping relation between the data tag item in the configuration file and the lexical name in the lexical setting table, the corresponding target data resource is obtained from the lexical setting table, the target basic material data is obtained according to the target data resource so as to generate the advertisement material data, the advertisement material data is generated without using a hard coding mode, the repeated work of research and development personnel is avoided, and the work efficiency is improved.
On the basis of the above embodiment, the method further includes:
determining data parameters required by advertisement material data, periodically acquiring source data, constructing basic material data corresponding to each source data according to the acquired source data and the data parameters, and storing the basic material data into a first database.
Specifically, table 2 shows data parameters of the internet property information provided in the embodiment of the present invention, as shown in table 2:
TABLE 2
Figure BDA0001478071440000061
Figure BDA0001478071440000071
Taking internet property information as an example, the property data is summarized and divided in detail according to the inherent characteristics of the internet property information, data parameters required by the internet property data (namely advertisement material data) are summarized, all basic data required by the internet advertisement material are basically included, then source data are obtained, the data parameters corresponding to the source data are used as corresponding basic material data, and the basic material data are stored in a first database. And periodically acquiring the source data, and updating the first database according to the method.
According to the embodiment of the invention, the basic material data is formed by periodically acquiring the source data and is stored in the first database, so that the accuracy and the comprehensiveness of the basic material data are ensured.
On the basis of the above embodiment, the method further includes:
and periodically scanning the first database, acquiring the basic material data in the first database, and storing the basic material data into a memory according to the naming mode of the data resources in the lexical setting table.
Specifically, the first database is periodically scanned, and the basic material data is stored in the memory according to the naming mode of the data resource in the lexical setting table, as can be seen from table 1, the data resource includes two parts, which are separated by a comma, the front of the comma represents a data block, and the rear of the comma represents a specific path in the data block, so that when the basic material data is stored in the memory, the data block is stored in blocks according to the data block, and the target basic material data is conveniently queried. In consideration of the problem that the data volume of the basic material data is too large and exceeds the memory, the data can be processed in batches according to a certain dimension, for example, the data can be acquired and analyzed according to a city.
The embodiment of the invention avoids querying data from the first database every time by periodically storing the basic material data stored in the first database into the memory, improves the querying efficiency, and ensures the consistency of the basic material data in the memory and the first database by periodically scanning.
On the basis of the above embodiment, the target data resource includes a target data block and a target data path, and correspondingly, the acquiring, according to the target data resource, corresponding target base material data to generate advertisement material data includes:
and acquiring corresponding target basic material data from the memory according to the target data block and the target data path to generate the advertisement material data.
Specifically, after the basic material data is stored in the memory, the lexical setting table stored in the database may also be stored in the memory, so that the data tag item in the configuration file may flexibly control whether to acquire the corresponding basic material data through the data resource in the lexical setting table. The data resources comprise the data blocks and the data paths, so that the target data resources comprise target data blocks and target data paths, the target data blocks indicate that the corresponding data blocks in the memory should be queried, and the target data paths indicate specific query paths in the data blocks, so that the corresponding target basic material data can be obtained from the memory according to the target data blocks and the target data paths, and the advertisement material data can be generated. In addition, it should be noted that, for the corresponding codes of the columns corresponding to the data resources corresponding to the screening items in the lexical setting table, the base material data of the filtering conditions can be extracted from the memory through the codes, so as to perform corresponding data screening on the configuration file configured with the corresponding screening items. And the analysis of the variable with the type of 0 extracts the basic material data by prioritizing a series of data items divided by commas, thereby realizing a more complex mode of extracting the basic material data by priority logic.
Taking the frameimage tag in fig. 2 as an example, since the tag is configured, it indicates that the user wants to obtain the data corresponding to the tag. As just described, the whole amount of cell related data has been put into the memory in advance, the data corresponding to the frame image tag is in a data map in the memory, the data map is data in a key-value format, the key is the cell ID, the value is the cell related data, where the value has the data image _ frame corresponding to the frame image, and it needs to use the java reflection mechanism to fetch the data in java, and it needs to fetch the data by the getFrameImagePath method, so the data resource in table 1 has been configured with "image _ frame, getFrameImagePath" in advance in order to implement the corresponding relationship. With this correspondence, when the data of each cell is extracted according to the configuration file of fig. 2 at the background timing of the program, the corresponding data can be automatically acquired according to this logic.
In addition, the item of type 3 in table 1 is an item that may have a correspondence relationship to extract corresponding data, and the item of type 2 is merely displayed intact in the result data and exists as a direct display item. If the type 4 item, such as availablehouse, is configured in the configuration file of fig. 2, if the tag availablehouse corresponding to the item is configured in the configuration file of fig. 2, then the value data in the memory with key of the SALE is fetched according to the corresponding relationship of the items with similar type 3 of the SALE in the data resource column of the availablehouse of table 1 at the time of program background timing according to the configuration file of fig. 2, where the value data is a list of cell IDs and is used to filter each cell ID, thereby implementing the filtering function. The item with type 0 is more specific, for example, the num attribute of the frame image in fig. 2, if it is set to 2, then there may be data corresponding to two frame image tags in the finally obtained data. That is to say, this type of attribute is a series of customized rules for restricting data acquisition for an item of type 2, and different applications can implement their own desired restriction rules by writing codes according to their needs, so the implementation of the num attribute is implemented by writing codes by themselves, and exists as a flexible reservation scheme.
According to the embodiment of the invention, the configuration file is analyzed by utilizing the lexical setting table through the mapping relation between the data tag item in the configuration file and the lexical name in the lexical setting table, the corresponding target data resource is obtained from the lexical setting table, the target basic material data is obtained according to the target data resource so as to generate the advertisement material data, the advertisement material data is generated without using a hard coding mode, the repeated work of research and development personnel is avoided, and the work efficiency is improved.
On the basis of the above embodiments, the method further includes:
and displaying the advertisement material data in a visual mode.
Specifically, the generated advertisement material data can be displayed in a visual manner for the user to look up the data.
Fig. 3 is a schematic flow chart of a method for generating advertisement material data according to an embodiment of the present invention, as shown in fig. 3, the method includes:
step 301: logging in an interface; and the user logs in the advertisement material management interface.
Step 302: editing a configuration file; the user can edit the configuration file on the advertisement material management interface.
Step 303: checking; the configuration file is in an XML format and can be verified in validity through an XSD file.
Step 304: submitting a configuration file; if the validity check passes, the configuration file may be submitted and saved, and the configuration file may be stored in the first database.
Step 305: scanning a configuration file; the generating device scans the configuration file in the first database and acquires the scanned configuration file.
Step 306: acquiring basic material data; the first database is periodically scanned, basic material data in the first database are obtained, and the basic material data are stored in the memory.
Step 307: acquiring a lexical setting table; and acquiring a lexical setting table from the first database and storing the lexical setting table in a memory.
Step 308: analyzing the configuration file; and analyzing the configuration file according to the lexical configuration table to obtain the target data resource.
Step 309: generating advertisement material data; and acquiring target basic material data from the memory according to the target data resources, and generating advertisement material data.
Step 310: exporting; and exporting and displaying the advertisement material data.
According to the embodiment of the invention, the configuration file is analyzed by utilizing the lexical setting table through the mapping relation between the data tag item in the configuration file and the lexical name in the lexical setting table, the corresponding target data resource is obtained from the lexical setting table, the target basic material data is obtained according to the target data resource so as to generate the advertisement material data, the advertisement material data is generated without using a hard coding mode, the repeated work of research and development personnel is avoided, and the work efficiency is improved.
Fig. 4 is a schematic structural diagram of an advertisement material data generating apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes: a first obtaining module 401, a second obtaining module 402, an analyzing module 403, and a generating module 404, wherein:
the first obtaining module 401 is configured to obtain a configuration file configured by a user according to a requirement, where the configuration file includes a data tag item; the second obtaining module 402 is configured to obtain a pre-configured lexical setting table, where the lexical setting table includes lexical names and data resources corresponding to the lexical names, and the data tag items have mapping relationships with the lexical names; the parsing module 403 is configured to parse the configuration file through a lexical setting table according to the mapping relationship, and obtain a data resource corresponding to the data tag item in the configuration file from the lexical setting table as a target data resource; the generating module 404 is configured to obtain corresponding target base material data according to the target data resource to generate advertisement material data.
Specifically, the advertisement operator only needs to edit and configure different configuration files when he wants to obtain the data corresponding to the advertisement delivery target platform, which should be noted that the configuration files can be edited by himself or the configuration files can be configured in a visual manner. Therefore, after the advertisement operator edits the configuration file, the configuration file is submitted to the first obtaining module 401, the first obtaining module 401 obtains the configuration file configured by the user according to the requirement, and the configuration file includes the data tag item. A lexical setting table is configured in advance, the lexical setting table includes lexical names and data resources corresponding to the lexical names, the second obtaining module 402 obtains the preconfigured lexical setting table, the lexical setting table includes the lexical names and the data resources corresponding to the lexical names, and the data tag items and the lexical names have mapping relations. Since the data tag item in the configuration file has a mapping relationship with the lexical name in the lexical setting table, the parsing module 403 may find the lexical name corresponding to the data tag item in the configuration file according to the mapping relationship, and since each lexical name in the lexical setting table corresponds to one data resource, a corresponding target data resource may be obtained according to the lexical name corresponding to the data tag item, which is a process of parsing the configuration file through the lexical setting table. The generating module 404 obtains corresponding target base material data from the base material data according to the path corresponding to the target data resource, and after obtaining the target base material data, puts the target base material data on a corresponding position according to the label position, thereby generating advertisement material data.
The embodiment of the apparatus provided in the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the apparatus are not described herein again, and refer to the detailed description of the above method embodiments.
According to the embodiment of the invention, the configuration file is analyzed by utilizing the lexical setting table through the mapping relation between the data tag item in the configuration file and the lexical name in the lexical setting table, the corresponding target data resource is obtained from the lexical setting table, the target basic material data is obtained according to the target data resource so as to generate the advertisement material data, the advertisement material data is generated without using a hard coding mode, the repeated work of research and development personnel is avoided, and the work efficiency is improved.
On the basis of the above embodiment, the apparatus further includes:
the first storage module is used for determining data parameters required by the advertisement material data, periodically acquiring source data, constructing basic material data corresponding to each source data according to the acquired source data and the data parameters, and storing the basic material data into a first database.
Specifically, the real estate data are summarized and divided in detail according to inherent characteristics of internet real estate information, data parameters required by the internet real estate data (namely advertisement material data) are summarized, all basic data required by the internet advertisement material are basically included, then the first storage module obtains source data, the data parameters corresponding to the source data serve as corresponding basic material data, and the basic material data are stored in the first database. And periodically acquiring the source data, and updating the first database according to the method.
According to the embodiment of the invention, the basic material data is formed by periodically acquiring the source data and is stored in the first database, so that the accuracy and the comprehensiveness of the basic material data are ensured.
Fig. 5 is a schematic structural diagram of an advertisement material data generating system according to an embodiment of the present invention, and as shown in fig. 5, the system includes: a generating device 501, a first database 502 and a second database 503, wherein the generating device 501 is respectively connected with the first database 502 and the second database 503 in a communication way;
the generating means 501 is configured to perform the method of any of claims 1-5;
the first database 502 is used for storing the basic material data and the lexical setting table;
the second database 503 is configured to receive and store the advertisement material data generated by the generating device 501.
Specifically, the advertisement material data generation system comprises a generation device 501, a first database 502 and a second database 503, wherein the generation device 501 comprises an advertisement material management interface service 5011 and an advertisement material base material service 5012, the advertisement material management interface service 5011 comprises a picture management module 50111 and a template configuration module 50112, the picture management module 50111 is used for designing advertisement originality and editing pictures and storing the pictures, and the template configuration module 50112 is used for providing a user to access a template configuration webpage and visually selecting corresponding configuration templates, so that corresponding configuration files are generated in the background. The advertising material base material service 5012 includes a base data service module 50121 and a material data processing module 50122, and the base data service module 50121 periodically scans the first database 502 to maintain the real-time and consistency of the base material data in the base data service module 50121 and the base material data in the first database 502. The material data processing module 50122 analyzes the configuration file by using the lexical setting table through the mapping relationship between the data tag items in the configuration file and the lexical names in the lexical setting table, obtains the data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources, and obtains corresponding target basic material data according to the target data resources to generate advertisement material data for use by a common advertisement delivery end.
The embodiment of the system provided by the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the system are not described herein again, and refer to the detailed description of the above method embodiments.
According to the embodiment of the invention, the configuration file is analyzed by utilizing the lexical setting table through the mapping relation between the data tag item in the configuration file and the lexical name in the lexical setting table, the corresponding target data resource is obtained from the lexical setting table, the target basic material data is obtained according to the target data resource so as to generate the advertisement material data, the advertisement material data is generated without using a hard coding mode, the repeated work of research and development personnel is avoided, and the work efficiency is improved.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, the electronic device includes: a processor (processor)601, a memory (memory)602, and a bus 603;
wherein the content of the first and second substances,
the processor 601 and the memory 602 communicate with each other through the bus 603;
the processor 601 is configured to call program instructions in the memory 602 to perform the methods provided by the above-mentioned method embodiments, for example, including: acquiring a configuration file configured by a user according to requirements, wherein the configuration file comprises data tag items; acquiring a pre-configured lexical setting table, wherein the lexical setting table comprises lexical names and data resources corresponding to the lexical names, and the data tag items and the lexical names have a mapping relation; analyzing the configuration file through a lexical setting table according to the mapping relation, and acquiring data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources; and acquiring corresponding target basic material data according to the target data resources to generate advertisement material data.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: acquiring a configuration file configured by a user according to requirements, wherein the configuration file comprises data tag items; acquiring a pre-configured lexical setting table, wherein the lexical setting table comprises lexical names and data resources corresponding to the lexical names, and the data tag items and the lexical names have a mapping relation; analyzing the configuration file through a lexical setting table according to the mapping relation, and acquiring data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources; and acquiring corresponding target basic material data according to the target data resources to generate advertisement material data.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: acquiring a configuration file configured by a user according to requirements, wherein the configuration file comprises data tag items; acquiring a pre-configured lexical setting table, wherein the lexical setting table comprises lexical names and data resources corresponding to the lexical names, and the data tag items and the lexical names have a mapping relation; analyzing the configuration file through a lexical setting table according to the mapping relation, and acquiring data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources; and acquiring corresponding target basic material data according to the target data resources to generate advertisement material data.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatuses and the like are merely illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A method of generating advertisement material data, comprising:
acquiring a configuration file configured by a user according to requirements, wherein the configuration file comprises data tag items;
acquiring a pre-configured lexical setting table, wherein the lexical setting table comprises lexical names, identification IDs (identities), types, numerical ranges, label positions and data resources corresponding to the lexical names, and the data label items and the lexical names have mapping relations;
analyzing the configuration file through a lexical setting table according to the mapping relation, and acquiring data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources;
acquiring corresponding target base material data according to the target data resources, and putting the target base material data on corresponding positions according to the label positions to generate advertisement material data;
the target data resource comprises a target data block and a target data path, and correspondingly, the step of obtaining corresponding target base material data according to the target data resource comprises the following steps:
and acquiring corresponding target basic material data from a memory according to the target data block and the target data path.
2. The method of claim 1, further comprising:
determining data parameters required by advertisement material data, periodically acquiring source data, constructing basic material data corresponding to each source data according to the acquired source data and the data parameters, and storing the basic material data into a first database.
3. The method of claim 2, further comprising:
and periodically scanning the first database, acquiring the basic material data in the first database, and storing the basic material data into a memory according to the naming mode of the data resources in the lexical setting table.
4. The method according to any one of claims 1-3, further comprising:
and displaying the advertisement material data in a visual mode.
5. An advertisement material data generating apparatus characterized by comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a configuration file configured by a user according to requirements, and the configuration file comprises a data tag item;
the second acquisition module is used for acquiring a pre-configured lexical setting table, wherein the lexical setting table comprises lexical names, identification IDs (identification IDs), types, numerical ranges, label positions and data resources corresponding to the lexical names, and the data label items and the lexical names have mapping relations;
the analysis module is used for analyzing the configuration file through a lexical setting table according to the mapping relation, and acquiring data resources corresponding to the data tag items in the configuration file from the lexical setting table as target data resources;
the generating module is used for acquiring corresponding target base material data according to the target data resources, and putting the target base material data on a corresponding position according to the label position to generate advertisement material data;
the target data resource includes a target data block and a target data path, and correspondingly, the generating module is specifically configured to:
and acquiring corresponding target basic material data from a memory according to the target data block and the target data path.
6. The apparatus of claim 5, further comprising:
the first storage module is used for determining data parameters required by the advertisement material data, periodically acquiring source data, constructing basic material data corresponding to each source data according to the acquired source data and the data parameters, and storing the basic material data into a first database.
7. An advertisement material data generation system comprises a generation device, a first database and a second database, wherein the generation device is respectively in communication connection with the first database and the second database;
the generating means is for performing the method of any one of claims 1-4;
the first database is used for storing the basic material data and the lexical setting table;
the second database is used for receiving and storing the advertisement material data generated by the generating device.
8. An electronic device, comprising: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any one of claims 1-4.
9. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1-4.
CN201711175108.4A 2017-11-22 2017-11-22 Method, device and system for generating advertisement material data Active CN108021629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711175108.4A CN108021629B (en) 2017-11-22 2017-11-22 Method, device and system for generating advertisement material data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711175108.4A CN108021629B (en) 2017-11-22 2017-11-22 Method, device and system for generating advertisement material data

Publications (2)

Publication Number Publication Date
CN108021629A CN108021629A (en) 2018-05-11
CN108021629B true CN108021629B (en) 2021-06-11

Family

ID=62080797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711175108.4A Active CN108021629B (en) 2017-11-22 2017-11-22 Method, device and system for generating advertisement material data

Country Status (1)

Country Link
CN (1) CN108021629B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109872189A (en) * 2019-01-28 2019-06-11 优估(上海)信息科技有限公司 A kind of configuration method and device of advertisement landing page
CN110765771B (en) * 2019-09-17 2023-05-05 创新先进技术有限公司 Method and device for determining advertisement sentences
CN112862510A (en) * 2019-11-27 2021-05-28 北京沃东天骏信息技术有限公司 Method and device for managing advertisement resources
CN112651780A (en) * 2020-12-25 2021-04-13 上海硬通网络科技有限公司 Advertisement file generation method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019684A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 Dynamic template-based business page configuring method
CN105159877A (en) * 2015-06-18 2015-12-16 杭州电子科技大学 Cross-media automatic typesetting system and method thereof
CN106406846A (en) * 2015-08-03 2017-02-15 腾讯科技(深圳)有限公司 A display interface creating method and device
CN106779833A (en) * 2016-12-09 2017-05-31 广东神马搜索科技有限公司 Information issuing method, equipment, programmable device and service platform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7478100B2 (en) * 2003-09-05 2009-01-13 Oracle International Corporation Method and mechanism for efficient storage and query of XML documents based on paths
CN103488706A (en) * 2013-09-06 2014-01-01 北京东方艾迪普科技发展有限公司 Processing method and device for mass data base

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019684A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 Dynamic template-based business page configuring method
CN105159877A (en) * 2015-06-18 2015-12-16 杭州电子科技大学 Cross-media automatic typesetting system and method thereof
CN106406846A (en) * 2015-08-03 2017-02-15 腾讯科技(深圳)有限公司 A display interface creating method and device
CN106779833A (en) * 2016-12-09 2017-05-31 广东神马搜索科技有限公司 Information issuing method, equipment, programmable device and service platform

Also Published As

Publication number Publication date
CN108021629A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN108021629B (en) Method, device and system for generating advertisement material data
US8583488B2 (en) Generating advertisements using user assets
CN105094775B (en) Webpage generation method and device
CN107798001B (en) Webpage processing method, device and equipment
CN109598171B (en) Data processing method, device and system based on two-dimensional code
CN104239067B (en) The preparation method and device of miniature client
CN112507273A (en) Webpage generating method and device and electronic equipment
CN112102445B (en) Building poster manufacturing method, device, equipment and computer readable storage medium
US10713421B2 (en) Systems and methods for converting static image online content to dynamic online content
CN110780868A (en) Website development method, device, equipment and storage medium based on componentized template
CN107515866B (en) Data operation method, device and system
CN110798567A (en) Short message classification display method and device, storage medium and electronic equipment
CN110096276A (en) Source of houses displayed page configuration method, equipment, storage medium and device
CN107612966B (en) Feed information feedback processing method and system
CN110968314A (en) Page generation method and device
CN111752565A (en) Interface generation method and device, computer equipment and readable storage medium
CN115526160A (en) Rich text processing method, device and equipment and storage medium
US20200073925A1 (en) Method and system for generating a website from collected content
US20150100868A1 (en) System and method for simulating dynamic content by automatically updating a static image with applicability to a virtual business card
CN110716775A (en) Traceable template configuration method, electronic device, storage medium and system
CN110765296A (en) Image searching method, terminal device and storage medium
US11113461B2 (en) Generating edit suggestions for transforming digital documents
CN113051477A (en) Content recommendation method and device, electronic equipment and medium
US20170236133A1 (en) System and methods for lead generation
CN110851568A (en) Commodity information processing method, terminal device and computer-readable 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
CB02 Change of applicant information

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co.,Ltd.

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant before: LIANJIA(BEIJING) TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant