CN107239557A - A kind of webpage method for building up, electronic equipment and storage medium - Google Patents

A kind of webpage method for building up, electronic equipment and storage medium Download PDF

Info

Publication number
CN107239557A
CN107239557A CN201710428987.0A CN201710428987A CN107239557A CN 107239557 A CN107239557 A CN 107239557A CN 201710428987 A CN201710428987 A CN 201710428987A CN 107239557 A CN107239557 A CN 107239557A
Authority
CN
China
Prior art keywords
data
type
feature information
webpage
fisrt feature
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.)
Granted
Application number
CN201710428987.0A
Other languages
Chinese (zh)
Other versions
CN107239557B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710428987.0A priority Critical patent/CN107239557B/en
Publication of CN107239557A publication Critical patent/CN107239557A/en
Application granted granted Critical
Publication of CN107239557B publication Critical patent/CN107239557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The embodiment of the present invention provides a kind of webpage method for building up, electronic equipment and storage medium, and methods described includes:First kind data and multiple Second Type data are obtained based on multiple sample web page data are analyzed;Expansible data that the different types of sample web page data of Second Type data characterization have, corresponding with the type;It is determined that the type of webpage to be set up, obtains Second Type data corresponding with the type of the webpage to be set up;The second feature information of the corresponding Second Type data of the type of fisrt feature information and the webpage to be set up of the first kind data is obtained respectively;Integration processing is carried out to the corresponding Second Type data of the type of the first kind data and the webpage to be set up by preset strategy based on the fisrt feature information and the second feature information, integral data is obtained, to set up webpage based on the integral data.

Description

A kind of webpage method for building up, electronic equipment and storage medium
Technical field
The present invention relates to data processing technique, more particularly to a kind of webpage method for building up, electronic equipment and storage medium.
Background technology
With the arriving of information age, miscellaneous website is emerged in an endless stream;Due to the article of different website orientations Type is different, and different article's styles corresponds to different database design and developments;Therefore, prior art is carrying out website During construction, single design and development is carried out according to the actual functional capability demand of itself;I.e. each website is required to independent exploitation Website data corresponding with its actual functional capability;In this way, not only result in Web Hosting inefficiency, and increase Web Hosting into This.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of webpage foundation side to solve problems of the prior art Method, electronic equipment and storage medium.
The embodiment of the present invention provides a kind of webpage method for building up, and methods described includes:Based on the multiple sample web page numbers of analysis According to acquisition first kind data and multiple Second Type data;The multiple sample web page data of first kind data characterization In have basic data;The different types of sample web page data of Second Type data characterization the have and sample The corresponding expansible data of the type of this webpage;
It is determined that the type of webpage to be set up, obtains Second Type data corresponding with the type of the webpage to be set up;
Obtain respectively the first kind data fisrt feature information and the webpage to be set up type it is corresponding The second feature information of Second Type data;
Based on the fisrt feature information and the second feature information by preset strategy to the first kind data and The corresponding Second Type data of type of the webpage to be set up carry out integration processing, integral data are obtained, with based on described whole Close data and set up webpage.
In such scheme, the fisrt feature information and the second feature information represent time parameter;It is described to be based on The fisrt feature information is corresponding with the type to the first kind data by preset strategy with the second feature information Second Type data carry out integration processing, including:
Based on the fisrt feature information and the second feature information to the first kind data and the type pair The Second Type data answered are ranked up, and obtain the first data queue;
Data in first data queue are spliced, integral data is obtained.
In such scheme, the fisrt feature information and the second feature information represent time parameter;It is described to be based on The fisrt feature information is corresponding with the type to the first kind data by preset strategy with the second feature information Second Type data carry out integration processing, including:
Based on the fisrt feature information and the second feature information to the first kind data and the type pair The Second Type data answered are ranked up, and obtain the first data queue;
The data in first data queue are deleted according to preset strategy, the second data queue is obtained;
Data in second data queue are spliced, integral data is obtained.
It is described to obtain corresponding with type Second Type data in such scheme, including:
It is determined that at least one corresponding channel information of the type of the webpage to be set up;
First mapping table is searched based on the channel information, Second Type data corresponding with the channel information are obtained.
In such scheme, methods described also includes:
The integral data is write by default webpage mould based on the fisrt feature information and the second feature information Plate, to set up webpage.
The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes:Analytic unit, for based on analysis Multiple sample web page data obtain first kind data and multiple Second Type data;It is many described in the first kind data characterization The basic data being had in individual sample web page data;The different types of sample web page data of Second Type data characterization are had Expansible data have, corresponding with the type of the sample web page;
Acquiring unit, the type for determining webpage to be set up obtains corresponding with the type of the webpage to be set up the Two categorical datas;
Extraction unit, the fisrt feature information and the type for obtaining the first kind data respectively is corresponding The second feature information of Second Type data;
Integral unit, for based on the fisrt feature information and the second feature information by preset strategy to described the The corresponding Second Type data of type of one categorical data and the webpage to be set up carry out integration processing, obtain integral data, To set up webpage based on the integral data.
In such scheme, the fisrt feature information and the second feature information represent time parameter;It is described to integrate Unit, specifically for based on the fisrt feature information and the second feature information to the first kind data and the class The corresponding Second Type data of type are ranked up, and obtain the first data queue;
Data in first data queue are connect, integral data is obtained.
In such scheme, the fisrt feature information and the second feature information represent time parameter;It is described to integrate Unit, specifically for based on the fisrt feature information and the second feature information to the first kind data and the class The corresponding Second Type data of type are ranked up, and obtain the first data queue;
The data in first data queue are deleted according to preset strategy, the second data queue is obtained;
Data in second data queue are spliced, integral data is obtained.
In such scheme, the acquiring unit, the type corresponding at least one specifically for determining the webpage to be set up Individual channel information;
First mapping table is searched based on the channel identication, Second Type data corresponding with the channel information are obtained.
In such scheme, the electronic equipment also includes setting up unit, for based on the fisrt feature information and described The integral data is write default web page template by second feature information, to set up webpage.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, its feature It is, the step of program realizes the above method when being executed by processor.
The embodiment of the present invention also provides a kind of electronic equipment, including:Memory, processor and store on a memory and can The computer program run on a processor, the step of realizing the above method during computing device described program.
Webpage method for building up, electronic equipment and storage medium provided in the embodiment of the present invention, based on the multiple samples of analysis This web data obtains first kind data and multiple Second Type data;The multiple sample of first kind data characterization The basic data being had in web data;That the different types of sample web page data of Second Type data characterization have, The expansible data corresponding with the type of the sample web page;It is determined that the type of webpage to be set up, acquisition is waited to set up with described The corresponding Second Type data of type of webpage;The fisrt feature information of the first kind data is obtained respectively and described is treated Set up the second feature information of the corresponding Second Type data of type of webpage;Based on the fisrt feature information and described second Characteristic information is by preset strategy to the corresponding Second Type data of the type of the first kind data and the webpage to be set up Integration processing is carried out, integral data is obtained, to set up webpage based on the integral data.In this way, by analyzing multiple sample nets Page data obtains the basic data for characterizing and being had in the multiple sample web page data, and characterizes different types of sample web page number According to expansible data have, corresponding with the type;During so that setting up different types of webpage, only by obtaining not The same corresponding expansible data of type of webpage, just can be based on the basic data and expansible data corresponding with type of webpage Webpage foundation is carried out, Web Hosting efficiency is effectively improved, reduces Web Hosting cost.
Brief description of the drawings
Fig. 1 is the handling process schematic diagram one of the webpage method for building up of the embodiment of the present invention;
Fig. 2 is the handling process schematic diagram two of the webpage method for building up of the embodiment of the present invention;
Fig. 3 is the schematic diagram that the embodiment of the present invention is ranked up to first kind data and Second Type data;
Fig. 4 is the handling process schematic diagram three of the webpage method for building up of the embodiment of the present invention;
Fig. 5 is the administration interface schematic diagram of the mapping table of the embodiment of the present invention first;
Fig. 6 is the interface schematic diagram that the embodiment of the present invention is managed to Second Type data;
Fig. 7 is the schematic diagram that the embodiment of the present invention is configured to Second Type data;
Fig. 8 is the establishment exemplary plot of the mapping table of the embodiment of the present invention first;
Fig. 9 is exemplary plot of the embodiment of the present invention based on Second Type data publication article;
Figure 10 is exemplary plot of the embodiment of the present invention based on first kind data publication article;
Figure 11 is the composition structural representation of electronic equipment of the embodiment of the present invention;
Figure 12 constitutes structural representation for the hardware entities of a kind of electronic equipment of the embodiment of the present invention.
Embodiment
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
The handling process schematic diagram one of the webpage method for building up of the embodiment of the present invention, as shown in figure 1, comprising the following steps:
Step S101, first kind data and multiple Second Type data are obtained based on multiple sample web page data are analyzed;
Specifically, electronic equipment collects multiple web datas as sample web page data, multiple webpage numbers of collection in advance According to that can cover all types in existing web data, the type is specially the article's style in web data, to including Multiple sample web page data of the article's style such as film, bulletin, music, animation and house property are analyzed, and obtain multiple samples In this web data have basic data, and different types of sample web page data have, it is relative with the type The expansible data answered.Wherein, the first kind data can be understood as the basis being respectively provided with each sample web page data Data, are referred to as conventional data;The Second Type data can be understood as the class based on different sample web page data Data specific to type, each type of sample web page data, the Second Type data are referred to as self-defining data.
Here, the multiple sample web page data include the data corresponding with least two type of webpage;The webpage Type includes the polytypes such as house property class website, game class website, advertising web site, music class website;It is certainly not limited to above-mentioned The type of webpage enumerated, the corresponding type of other existing webpages is also within the protection domain of the embodiment of the present invention.The base Plinth data include:The data such as the topic of article, the summary of article;The expansible data can be carried out self-defined match somebody with somebody as needed Put.
Step S102, it is determined that the type of webpage to be set up, obtains Equations of The Second Kind corresponding with the type of the webpage to be set up Type data;
Here, as a kind of embodiment, the webpage of each type is to that should have corresponding Second Type data.It is actual to answer In, mapping table can be pre-configured with, the mapping table includes the mapping relations of multigroup type of webpage and Second Type data;Really Surely wait after the type for setting up webpage, Second Type data corresponding with the type can be obtained by searching the mapping table.Make For another embodiment, the webpage of each type includes at least one channel, and the channel can be wrapped by the webpage The subtype contained.The channel such as such as finance and economics, news, amusement are provided with certain website.Each channel is right therewith in the presence of one The content model answered, each corresponding Second Type data of content model one, multiple channels can correspond to same content Model, can also correspond to different content models;All there are corresponding Second Type data in each type of content model, i.e., Each channel can correspond to a Second Type data;Therefore, the first mapping table can be pre-established, first mapping table is used to characterize Channel information and the corresponding relation of the Second Type data, the channel information include channel designation and channel identication, described Channel identication is used for uniqueness and recognizes corresponding channel;Wherein, the content model includes polytype, such as article content Model, atlas content model, video content model etc..
It is to be understood that the corresponding relation of channel designation and channel identication with channel existence anduniquess, each channel is right The content model of type is should determine that, each type of content model all has corresponding Second Type data, therefore, can build Vertical channel information and the corresponding relation of Second Type data.
Specifically, electronic equipment determines the type of webpage to be set up first, and determines the type of webpage correspondence to be set up At least one channel information;First mapping table is searched based on the channel information, obtained and institute in first mapping table The corresponding Second Type data of channel information are stated, that is, obtain expansible data corresponding with the type of webpage.
Step S103, obtains the fisrt feature information of the first kind data and the class of the webpage to be set up respectively The second feature information of the corresponding Second Type data of type;
Here, the fisrt feature information representation obtains the temporal information of the first kind data in step S101, The second feature information representation obtains the temporal information of the Second Type data in step S101.
Specifically, electronic equipment is respectively from the first kind data and the self-contained information of the Second Type data The middle corresponding Second Type number of the type of time parameter and the webpage to be set up for obtaining the first kind data According to time parameter.
Step S104, based on the fisrt feature information and the second feature information by preset strategy to the first kind Type data and the corresponding Second Type data of the type of the webpage to be set up carry out integration processing, obtain integral data;
Specifically, time parameter, the second feature letter in the fisrt feature information for the first kind data It is corresponding with the type to the first kind data according to time parameter when ceasing for the time parameter of the Second Type data Second Type data be ranked up, obtain the first data queue;
Here, the data in first data queue are field data, it is impossible to write direct default network element template, Therefore, the data in first data queue need to be spliced, such as the data in first data queue are spliced "/ The web page tag code such as 0 ", the data in first data queue are converted to and can be directly used for the data for setting up webpage, Integral data is obtained, to set up webpage based on the integral data.
The handling process schematic diagram two of the webpage method for building up of the embodiment of the present invention, as shown in Fig. 2 comprising the following steps:
Step S201, first kind data and multiple Second Type data are obtained based on multiple sample web page data are analyzed;
Specifically, electronic equipment collects multiple web datas as sample web page data, multiple webpage numbers of collection in advance According to that can cover all types in existing web data, the type is specially the article's style in web data, to including Multiple sample web page data of the article's style such as film, bulletin, music, animation and house property are analyzed, and obtain multiple samples In this web data have basic data, and different types of sample web page data have, it is relative with the type The expansible data answered.Wherein, the first kind data can be understood as the basis being respectively provided with each sample web page data Data, are referred to as conventional data;The Second Type data can be understood as the class based on different sample web page data Data specific to type, each type of sample web page data, the Second Type data are referred to as self-defining data.
Here, the multiple sample web page data include the data corresponding with least two type of webpage;The webpage Type includes the polytypes such as house property class website, game class website, advertising web site, music class website;It is certainly not limited to above-mentioned The type of webpage enumerated, the corresponding type of other existing webpages is also within the protection domain of the embodiment of the present invention.The base Plinth data include:The data such as the topic of article, the summary of article;The expansible data can be carried out self-defined match somebody with somebody as needed Put.
Step S202, it is determined that the type of webpage to be set up, obtains Equations of The Second Kind corresponding with the type of the webpage to be set up Type data;
Here, as a kind of embodiment, the webpage of each type is to that should have corresponding Second Type data.It is actual to answer In, mapping table can be pre-configured with, the mapping table includes the mapping relations of multigroup type of webpage and Second Type data;Really Surely wait after the type for setting up webpage, Second Type data corresponding with the type can be obtained by searching the mapping table.Make For another embodiment, the webpage of each type includes at least one channel, and the channel can be wrapped by the webpage The subtype contained.The channel such as such as finance and economics, news, amusement are provided with certain website.Each channel is right therewith in the presence of one The content model answered, each corresponding Second Type data of content model one, multiple channels can correspond to same content Model, can also correspond to different content models;All there are corresponding Second Type data in each type of content model, i.e., Each channel can correspond to a Second Type data;Therefore, the first mapping table can be pre-established, first mapping table is used to characterize Channel information and the corresponding relation of the Second Type data, the channel information include channel designation and channel identication, described Channel identication is used for uniqueness and recognizes corresponding channel;Wherein, the content model includes polytype, such as article content Model, atlas content model, video content model etc..
It is to be understood that the corresponding relation of channel designation and channel identication with channel existence anduniquess, each channel is right The content model of type is should determine that, each type of content model all has corresponding Second Type data, therefore, can build Vertical channel information and the corresponding relation of Second Type data.
Specifically, electronic equipment determines the type of webpage to be set up first, and determines the type pair of the webpage to be set up At least one channel information answered;Based on the channel information search the first mapping table, in first mapping table obtain with The corresponding Second Type data of the channel information, that is, obtain expansible data corresponding with the type of the webpage.
Step S203, obtains the fisrt feature information of the first kind data and the class of the webpage to be set up respectively The second feature information of the corresponding Second Type data of type;
Here, the fisrt feature information representation obtains the temporal information of the first kind data in step S101, The second feature information representation obtains the temporal information of the Second Type data in step S101.
Specifically, electronic equipment is respectively from the first kind data and the self-contained information of the Second Type data The middle corresponding Second Type number of the type of time parameter and the webpage to be set up for obtaining the first kind data According to time parameter.
Step S204, based on the fisrt feature information and the second feature information to the first kind data and institute The corresponding Second Type data of type for stating webpage to be set up are ranked up, extract and spliced, and obtain integral data;
Specifically, the fisrt feature information is the time parameter of the first kind data, the second feature information For the Second Type data time parameter when, it is corresponding to the first kind data and the type according to time parameter Second Type data are ranked up, and obtain the first data queue;According to preset strategy to the data in first data queue Deleted, obtain the second data queue;
Here, the data in first data queue are field data, it is impossible to write direct default network element template, Therefore, the data in second data queue need to be spliced, such as the data in first data queue are spliced "/ The web page tag code such as 0 ", the data in second data queue are converted to and can be directly used for the data for setting up webpage, Integral data is obtained, to set up webpage based on the integral data.
Here, in the data in extracting first data queue, it can be chosen according to the flexible function of webpage to be set up Data in first data queue.
In the above embodiment of the present invention, step S104 and step S204 are based on the fisrt feature information and second spy The schematic diagram that reference breath is ranked up to the first kind data and the Second Type data, as shown in figure 3, illustrating respectively Odd number back end according to time parameter sort the process joined the team and even number back end according to time parameter sort into The process of team.Wherein, first pass represents the process that data sorting is joined the team, i.e., by data by the data self-contained time Information is stored to head node successively;Second procedure represents the assigning process of head node, i.e., by after data storage to head node, cephalomere Point is moved rearwards by as first node, will continue the data storage joined the team to new head node;Afterwards, first node be moved rearwards by for Section Point, head node is moved rearwards by as first node, will continue the data storage joined the team to new head node, by that analogy, Until total data sequence is joined the team.
The handling process schematic diagram of the webpage method for building up of the embodiment of the present invention, as shown in figure 4, comprising the following steps:
Step S301, the first electronic equipment analyzes multiple sample web page data, obtains first kind data and multiple second Categorical data;
Specifically, electronic equipment collects multiple web datas as sample web page data, multiple webpage numbers of collection in advance According to that can cover all types in existing web data, the type is specially the article's style in web data, to including Multiple sample web page data of the article's style such as film, bulletin, music, animation and house property are analyzed, and obtain multiple samples In this web data have basic data, and different types of sample web page data have, it is relative with the type The expansible data answered.Wherein, the first kind data can be understood as the basis being respectively provided with each sample web page data Data, are referred to as conventional data;The Second Type data can be understood as the class based on different sample web page data Data specific to type, each type of sample web page data, the Second Type data are referred to as self-defining data.
Here, the multiple sample web page data include the data corresponding with least two type of webpage;The webpage Type includes the polytypes such as house property class website, game class website, advertising web site, music class website;It is certainly not limited to above-mentioned The type of webpage enumerated, the corresponding type of other existing webpages is also within the protection domain of the embodiment of the present invention.The base Plinth data include:The data such as the topic of article, the summary of article;The expansible data can be carried out self-defined match somebody with somebody as needed Put.
Step S302, the second electronic equipment determines the type of webpage to be set up, and obtains the type with the webpage to be set up Corresponding Second Type data;
Here, so that the type of the webpage to be set up is house property type as an example, the channel that the house property type includes is determined Entitled " classification information " and " commodity ";The channel with channel designation for " classification information " is searched in default first mapping table Corresponding Second Type data, and Second Type data corresponding with the channel that channel designation is " commodity ".
In the present embodiment, the administration interface schematic diagram of first mapping table, as shown in figure 5, " add list ", is used for Storage Second Type data corresponding with each channel;The property of " model " includes " automatic " and " system " two types, its In, " system " represents that the data stored in the corresponding add list of the channel cannot be deleted, and the model property of such as software channel is System, then the data stored in the corresponding add list of software channel cannot be deleted;" automatic " represents that the channel is corresponding attached Plus the data stored in table can be deleted, the model property of such as " commodity " channel is automatic, then " commodity " channel is corresponding The data stored in add list can be deleted as needed., can be as needed in the administration interface of first mapping table Increase or modification channel designation and the corresponding channel information of the channel, add list etc..To the first mapping table mid band correspondence The interface schematic diagram that is managed of Second Type data, as shown in fig. 6, can both be believed by " basic setup " the channel Breath carries out the configuration such as channel designation, channel identication, the Second Type data can also be increased by " field management ", repaiied Change or the management such as delete.The schematic diagram that the Second Type data are configured, as shown in fig. 7, according to actual application feelings Condition is in lower right position shown in Fig. 7 to " page style ", " picture set ", " business hours ", " in Second Type data Location ", " telephone number " and " provinces and cities region " are configured;By being managed to Second Type data, such as increase or modification frequency The corresponding Second Type data in road so that when issuing article based on the channel, can directly invoke increase or the amended frequency The corresponding Second Type data in road, are easy to safeguard.Accordingly, in the embodiment of the present invention, the establishment example of first mapping table Figure, as shown in figure 8, matching somebody with somebody to the information such as " model property " in first mapping table, " name mark ", " add list " Put.
Step S303, the second electronic equipment extracts the very first time parameter of the first kind data, and is treated with described Set up the second time parameter of the corresponding Second Type data of type of webpage;
Here, second electronic equipment can be respectively in first kind data, corresponding with the type of the webpage to be set up The self-contained information of Second Type data in obtain very first time parameter and the second time parameter.Wherein, described first is special Reference breath is characterized in the temporal information that the first kind data are obtained in step S101, and the second feature information representation is in step The temporal information of the Second Type data is obtained in rapid S101.
Step S304, the corresponding Second Type data by the first kind data, with the type of the webpage to be set up Sorted according to very first time parameter and the second time parameter, form the first data queue.
Step S305, the second electronic equipment is sequentially carried out according to preset strategy to the data in first data queue Delete, form the second data queue;
Here, second electronic equipment is deleted the data in first data queue, obtains treating with described The corresponding data of webpage function are set up, the second data queue is formed.
Step S306, the second electronic equipment splices to the data in second data queue, obtains integral data;
Here, the data in the second data queue are field array, it is impossible to write direct default web page template;Cause Data in second data queue need to be carried out string-concatenation by this, and data that will be in second data queue are spelled Web page tag code is connect, integral data is obtained;The integral data is that can write direct the data of default web page template.
Step S307, writes default web page template, to set up webpage by the integral data;
Specifically, the time parameter that the second electronic equipment is carried according to the integral data, the integral data is write Default web page template;Or, page deployment of second electronic equipment based on default web page template, by the integration number According to the default web page template of write-in.
In various embodiments of the present invention, the second data class corresponding with the type is determined according to the type of webpage to be set up Type, only by the processing and configuration of first kind data, Second Type data to obtaining in advance, just can be realized different types of Webpage is set up.
In the embodiment of the present invention, the function that first electronic equipment and second electronic equipment are performed can be by same Electronic equipment is realized, can also be realized by different electronic equipments;In first electronic equipment and second electronic equipment When the function of execution is realized by different electronic equipments, first electronic equipment can set for server, second electronics Standby can be terminal.
Using the above embodiment of the present invention, in exemplary plot of a certain channel based on Second Type data publication article, such as Shown in Fig. 9;Based on the exemplary plot of first kind data publication article, as shown in Figure 10;As can be seen that based on Second Type data When issuing article compared to first kind data publication article is based on, except base words such as article title, Custom Attributes, thumbnails Section is outer, adds the expansible field such as business hours, address, telephone number.
To realize above-mentioned webpage method for building up embodiment of the invention, the embodiment of the present invention also provides a kind of electronic equipment, institute The composition structural representation of electronic equipment is stated, as shown in figure 11, including:Analytic unit 11, acquiring unit 12, the and of extraction unit 13 Integral unit 14;Wherein,
The analytic unit 11, for obtaining first kind data and multiple second based on the multiple sample web page data of analysis Categorical data;The multiple sample web page data include the data corresponding with least two type of webpage;The first kind The basic data being had in the multiple sample web page data of data characterization;The different types of sample of Second Type data characterization Expansible data that this web data has, corresponding with the type of the sample web page;
The acquiring unit 12, the type for determining webpage to be set up obtains the type pair with the webpage to be set up The Second Type data answered;
The extraction unit 13, for obtaining the fisrt feature information of the first kind data respectively and described yet to be built The second feature information of the corresponding Second Type data of type of vertical webpage;
The integral unit 14, for pressing preset strategy pair based on the fisrt feature information and the second feature information The first kind data and the corresponding Second Type data of the type of the webpage to be set up carry out integration processing, are integrated Data, to set up webpage based on the integral data.
In a preferred embodiment, the fisrt feature information and the second feature information represent time parameter; The integral unit 14, specifically for based on the fisrt feature information and the second feature information to the first kind number It is ranked up according to Second Type data corresponding with the type, obtains the first data queue;
Data in first data queue are spliced, integral data is obtained.
In a preferred embodiment, the fisrt feature information and the second feature information represent time parameter; The integral unit 14, specifically for based on the fisrt feature information and the second feature information to the first kind number It is ranked up according to Second Type data corresponding with the type, obtains the first data queue;
The data in first data queue are deleted according to preset strategy, the second data queue is obtained;
Data in second data queue are spliced, integral data is obtained.
In a preferred embodiment, the acquiring unit 12, specifically for determining the type of webpage correspondence to be set up At least one channel information;First mapping table is searched based on the channel identication, corresponding with the channel information the is obtained Two categorical datas;First mapping table is used to characterize the channel information and the corresponding relation of the Second Type data.
Here, the channel information includes:Channel designation and channel identication.
In a preferred embodiment, the electronic equipment also includes setting up unit 15, for based on the fisrt feature The integral data is write default web page template by information and the second feature information, to set up webpage.
In the embodiment of the present invention, constitute the analytic unit 11 of the electronic equipment, it is acquiring unit 12, extraction unit 13, whole Closing unit 14 can be by the central processing unit (CPU) or microprocessor on same electronic equipment with the function of setting up unit 15 Or digital signal processor (DSP) or programmable gate array (FPGA) are realized (MPU);Also can be by distinct electronic apparatuses CPU or MPU or DSP or FPGA realize.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the program The step of above method being realized when being executed by processor.Described computer-readable recording medium includes:Movable storage device, only Read memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc Or CD etc. is various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the present invention is realized using in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.Understood based on such, the present invention is implemented The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be with It is personal computer, server or network equipment etc.) perform all or part of each of the invention embodiment methods described. And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The embodiment of the present invention also provides a kind of electronic equipment, and the hardware composition structural representation of the electronic equipment is such as schemed Shown in 12, including processor 701 and memory 702, be stored with application program 7022 on the memory 702.
The method that the embodiments of the present invention are disclosed can apply in processor 701, or be realized by processor 701. Processor 701 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (DSP, Digital Signal Processor), or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 701 can be realized or held Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, it can be embodied directly at hardware decoding Reason device performs completion, or performs completion with the hardware in decoding processor and software module combination.Software module can be located at In storage medium, the storage medium is located at memory 702, and processor 701 reads the information in memory 702, with reference to its hardware The step of completing preceding method.
, can be by it in several embodiments provided herein, it should be understood that disclosed apparatus and method Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only A kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can be combined, or Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion Coupling point each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs of equipment or unit by some interfaces Or communication connection, can be electrical, machinery or other forms.
The above-mentioned unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists In member;Part or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used Be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned Integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (12)

1. a kind of webpage method for building up, it is characterised in that methods described includes:
First kind data and multiple Second Type data are obtained based on multiple sample web page data are analyzed;The first kind number The basic data being had according to characterizing in the multiple sample web page data;The different types of sample of Second Type data characterization Expansible data that web data has, corresponding with the type of the sample web page;
It is determined that the type of webpage to be set up, obtains Second Type data corresponding with the type of the webpage to be set up;
The fisrt feature information of the first kind data and the type corresponding second of the webpage to be set up are obtained respectively The second feature information of categorical data;
Based on the fisrt feature information and the second feature information by preset strategy to first kind data and described The corresponding Second Type data of type of webpage to be set up carry out integration processing, integral data are obtained, with based on the integration number According to setting up webpage.
2. according to the method described in claim 1, it is characterised in that the fisrt feature information and the second feature information are equal Represent time parameter;It is described that preset strategy is pressed to the first kind based on the fisrt feature information and the second feature information Type data and the corresponding Second Type data of the type of the webpage to be set up carry out integration processing, including:
It is corresponding to the first kind data and the type based on the fisrt feature information and the second feature information Second Type data are ranked up, and obtain the first data queue;
Data in first data queue are spliced, integral data is obtained.
3. according to the method described in claim 1, it is characterised in that the fisrt feature information and the second feature information are equal Represent time parameter;It is described that preset strategy is pressed to the first kind based on the fisrt feature information and the second feature information Type data and the corresponding Second Type data of the type of the webpage to be set up carry out integration processing, including:
It is corresponding to the first kind data and the type based on the fisrt feature information and the second feature information Second Type data are ranked up, and obtain the first data queue;
The data in first data queue are deleted according to preset strategy, the second data queue is obtained;
Data in second data queue are spliced, integral data is obtained.
4. the method according to any one of claims 1 to 3, it is characterised in that the acquisition and the webpage to be set up The corresponding Second Type data of type, including:
It is determined that at least one corresponding channel information of the type of the webpage to be set up;
First mapping table is searched based on the channel information, Second Type data corresponding with the channel information are obtained.
5. the method according to any one of claims 1 to 3, it is characterised in that methods described also includes:
The integral data is write by default web page template based on the fisrt feature information and the second feature information, with Set up webpage.
6. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
Analytic unit, for obtaining first kind data and multiple Second Type data based on the multiple sample web page data of analysis; The basic data being had in the multiple sample web page data of first kind data characterization;The Second Type data characterization Expansible data that different types of sample web page data have, corresponding with the type of the sample web page;
Acquiring unit, the type for determining webpage to be set up obtains Equations of The Second Kind corresponding with the type of the webpage to be set up Type data;
Extraction unit, for obtaining the fisrt feature information of the first kind data and the class of the webpage to be set up respectively The second feature information of the corresponding Second Type data of type;
Integral unit, for pressing preset strategy to the first kind based on the fisrt feature information and the second feature information Type data and the corresponding Second Type data of the type of the webpage to be set up carry out integration processing, integral data are obtained, with base Webpage is set up in the integral data.
7. electronic equipment according to claim 6, it is characterised in that fisrt feature information and the second feature letter Breath represents time parameter;The integral unit, specifically for based on the fisrt feature information and the second feature information The first kind data and the corresponding Second Type data of the type are ranked up, the first data queue is obtained;
Data in first data queue are spliced, integral data is obtained.
8. electronic equipment according to claim 6, it is characterised in that fisrt feature information and the second feature letter Breath represents time parameter;The integral unit, specifically for based on the fisrt feature information and the second feature information The first kind data and the corresponding Second Type data of the type are ranked up, the first data queue is obtained;
The data in first data queue are deleted according to preset strategy, the second data queue is obtained;
Data in second data queue are spliced, integral data is obtained.
9. the electronic equipment according to any one of claim 6 to 8, it is characterised in that the acquiring unit, specifically for true At least one corresponding channel information of type of the fixed webpage to be set up;First mapping table is searched based on the channel identication, Obtain Second Type data corresponding with the channel information.
10. the electronic equipment according to any one of claim 6 to 8, it is characterised in that the electronic equipment also includes setting up Unit, for the integral data to be write into default webpage mould based on the fisrt feature information and the second feature information Plate, to set up webpage.
11. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The step of claim 1 to 5 methods described is realized during execution.
12. a kind of electronic equipment, including:Memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the step of claim 1 to 5 methods described is realized during the computing device described program.
CN201710428987.0A 2017-06-08 2017-06-08 A kind of webpage method for building up, electronic equipment and storage medium Active CN107239557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710428987.0A CN107239557B (en) 2017-06-08 2017-06-08 A kind of webpage method for building up, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710428987.0A CN107239557B (en) 2017-06-08 2017-06-08 A kind of webpage method for building up, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107239557A true CN107239557A (en) 2017-10-10
CN107239557B CN107239557B (en) 2018-10-30

Family

ID=59986894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710428987.0A Active CN107239557B (en) 2017-06-08 2017-06-08 A kind of webpage method for building up, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107239557B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108401191A (en) * 2018-04-20 2018-08-14 上海东方报业有限公司 channel configuration method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020054090A1 (en) * 2000-09-01 2002-05-09 Silva Juliana Freire Method and apparatus for creating and providing personalized access to web content and services from terminals having diverse capabilities
CN101706821A (en) * 2009-12-10 2010-05-12 中兴通讯股份有限公司 Tag-based mobile internet page design system and method
CN101976261A (en) * 2010-11-04 2011-02-16 上海银杏界信息科技有限公司 Storage and search method for webpage data
CN102207861A (en) * 2010-06-25 2011-10-05 南京联创科技集团股份有限公司 Method for expressing personalized information in business
CN103176778A (en) * 2011-12-21 2013-06-26 北大方正集团有限公司 Method and device for webpage development
CN104572690A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Webpage data acquisition method, webpage data acquisition device and webpage data acquisition system
CN104881505A (en) * 2015-06-26 2015-09-02 成都梦旅程网络科技有限公司 Rapid web page updating system
CN105404692A (en) * 2015-12-18 2016-03-16 深圳中兴网信科技有限公司 Web page generation method and generation device
CN106503162A (en) * 2016-10-31 2017-03-15 山东鲁能软件技术有限公司 Page dynamic creation method and system based on SAP platforms

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020054090A1 (en) * 2000-09-01 2002-05-09 Silva Juliana Freire Method and apparatus for creating and providing personalized access to web content and services from terminals having diverse capabilities
CN101706821A (en) * 2009-12-10 2010-05-12 中兴通讯股份有限公司 Tag-based mobile internet page design system and method
CN102207861A (en) * 2010-06-25 2011-10-05 南京联创科技集团股份有限公司 Method for expressing personalized information in business
CN101976261A (en) * 2010-11-04 2011-02-16 上海银杏界信息科技有限公司 Storage and search method for webpage data
CN103176778A (en) * 2011-12-21 2013-06-26 北大方正集团有限公司 Method and device for webpage development
CN104572690A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Webpage data acquisition method, webpage data acquisition device and webpage data acquisition system
CN104881505A (en) * 2015-06-26 2015-09-02 成都梦旅程网络科技有限公司 Rapid web page updating system
CN105404692A (en) * 2015-12-18 2016-03-16 深圳中兴网信科技有限公司 Web page generation method and generation device
CN106503162A (en) * 2016-10-31 2017-03-15 山东鲁能软件技术有限公司 Page dynamic creation method and system based on SAP platforms

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108401191A (en) * 2018-04-20 2018-08-14 上海东方报业有限公司 channel configuration method and system
CN108401191B (en) * 2018-04-20 2020-11-24 上海东方报业有限公司 Channel configuration method and system

Also Published As

Publication number Publication date
CN107239557B (en) 2018-10-30

Similar Documents

Publication Publication Date Title
CN107609186A (en) Information processing method and device, terminal device and computer-readable recording medium
CN103885987B (en) A kind of music recommends method and system
CN104156454B (en) The error correction method and device of search term
CN104598502A (en) Method, device and system for obtaining background music information in played video
CN106708841B (en) The polymerization and device of website visitation path
Mendes et al. Subjecting the catalog to tagging
CN104462397A (en) Promotion information processing method and promotion information processing device
US7949646B1 (en) Method and apparatus for building sales tools by mining data from websites
CN106446115A (en) Mobile Internet user classification method and device
CN108491326A (en) Behavioral test recombination method, device and storage medium
CN111563382A (en) Text information acquisition method and device, storage medium and computer equipment
CN107977420A (en) The abstract extraction method, apparatus and readable storage medium storing program for executing of a kind of evolved document
CN107977678A (en) Method and apparatus for output information
US8943101B2 (en) Keyword acquiring device, content providing system, keyword acquiring method, a computer-readable recording medium and content providing method
CN106934049B (en) News question selection analysis method and device
Fuad et al. Analysis and classification of mobile apps using topic modeling: A case study on Google Play Arabic apps
KR20040017824A (en) Information search system which it follows in the Pattern-Forecast-Analysis to use the pattern of the web document and list
CN106611029A (en) Method and device for improving site search efficiency in website
CN107239557A (en) A kind of webpage method for building up, electronic equipment and storage medium
CN102955779B (en) The method and apparatus of software search
CN110008352B (en) Entity discovery method and device
CN104462552A (en) Question and answer page core word extracting method and device
CN106874505A (en) A kind of searching method and device
CN110457603A (en) Customer relationship abstracting method, device, electronic equipment and readable storage medium storing program for executing
CN110232071A (en) Search method, device and storage medium, the electronic device of drug data

Legal Events

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