Methods of exhibiting, device, the server of material
Technical field
This specification is related to field of communication technology more particularly to a kind of methods of exhibiting of material, device, server.
Background technique
It is shown currently, the page of APP would generally design a variety of different material contents, such as (banner is wide by carousel Banner
Accuse), advertisement position, activity pop-up, content module etc., to show colourful content element to user.Above-mentioned content
It shows that essence is all static material content, is presented in the page of APP simply by the different forms of expression.
In the related art, it is shown for different contents, developer needs to show each single item before APP publication
Content carry out stand-alone development, that is, need to show for different content and configure material database corresponding with content displaying, it is plain
The implementation in material library be list, be configured in list with a content show the material quantity in a corresponding material database with
And extended attribute corresponding to each single item material.Backstage manager can be generated by configuring relevant extended attribute for opening up
The material shown.
Since content displayings different in the related technology requires stand-alone development, and the different materials for showing content can not be held
Continuousization is applied in different content scenes, so that the development difficulty of APP increases, the period is elongated.
Summary of the invention
To overcome the problems in correlation technique, present description provides the methods of exhibiting of material, device, servers.
According to this specification embodiment in a first aspect, provide a kind of methods of exhibiting of material, it is applied to server, it is described
Method includes:
The material inquiry request of client is obtained, the request includes the identification information of customer terminal webpage;
The page configuration information of client, the page configuration information are obtained according to the identification information of the customer terminal webpage
In include the customer terminal webpage display module and the display module associated by material mark;
The associated material of the material mark is transferred from material source, and the associated material of material mark is sent
It is shown into corresponding display module in the customer terminal webpage, wherein material and one or more element in the material source
Material mark is associated.
Optionally, the material source includes the set of multiple materials, includes one or more tools in the set of each material
There is the material of same type extended attribute;
Server transfers material mark institute from one or more set with same type extended attribute material
Associated material.
Optionally, the material mark includes one or more story types marks, and server passes through the story types
Mark directly transfers all elements in the associated set with the same category extended attribute material of the story types mark
Material.
Optionally, the material mark is associated with any material in the set of one or more materials, and server passes through institute
It states material mark and transfers the associated whole materials of material mark from the set of one or more materials.
Optionally, the associated material of material mark is sent to corresponding display module in the customer terminal webpage
Middle display, comprising:
According to material mark and associated material, material list is generated, the material list is sent to the client
It is shown in corresponding display module in end page face.
Optionally, after generating material list, further includes:
The material in the material list is ranked up according to predetermined order rule, by the material list after sequence
It is sent in the customer terminal webpage in corresponding display module and is shown with specified display order.
Optionally, the material inquiry request further includes client use environment, the client use environment include with
Under it is at least any:
User ID, device id, client release number, client publication channel;
The associated material of the material mark is transferred from material source further include:
According to the client use environment, the associated material of the material mark is screened to preset screening rule.
Optionally, the default screening rule is following at least any including judging whether client belongs to:
Black and white lists, designated user group, designated equipment, indicated release number, specified publication channel.
Optionally, further include following steps:
The extended attribute is editable state, and server repairs the extended attribute value according to the input of user
Change.
According to the second aspect of this specification embodiment, a kind of displaying device of material is provided, comprising:
Material inquiry request obtains module, and for obtaining the material inquiry request of client, the request includes client
The identification information of the page;
Page configuration data obtaining module, for obtaining the page of client according to the identification information of the customer terminal webpage
Configuration information includes associated by the display module and the display module of the customer terminal webpage in the page configuration information
Material mark;
Material sending module, for transferring the associated material of the material mark from material source, by the material mark
Material associated by knowing is sent in the customer terminal webpage to be shown in corresponding display module, wherein in the material source
Material is associated with one or more material marks.
According to the third aspect of this specification embodiment, a kind of server is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, method described in first aspect present invention is realized when the processor executes described program.
According to the fourth aspect of this specification embodiment, a kind of computer readable storage medium is provided, is stored thereon with meter
Calculation machine program, when executed by one or more processors, so that processor, which executes, appoints method described in first aspect present invention.
The technical solution that the embodiment of this specification provides can include the following benefits:
In this specification embodiment, server is identified according to the material in the material inquiry request of client, by the material
The associated material of mark is sent to customer terminal webpage and shows, and the material in the material source and one or more materials identify
It is associated, allow multiple display modules to be associated with the same material, realize the multiplexing of material, the same material can be made
It uses in different displaying contents, to reduce the development difficulty of APP and shorten the development cycle of APP.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
This specification can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the reality for meeting this specification
Example is applied, and is used to explain the principle of this specification together with specification.
Fig. 1 is a kind of this specification application environment signal of material methods of exhibiting shown according to an exemplary embodiment
Figure.
Fig. 2 is a kind of this specification flow chart of the methods of exhibiting of material shown according to an exemplary embodiment.
Fig. 3 A-3C is the storage mode schematic diagram of this specification material list shown according to an exemplary embodiment.
Fig. 4 is that this specification material content shown according to an exemplary embodiment shows schematic diagram.
Fig. 5 is a kind of this specification structural block diagram of the displaying device of material shown according to an exemplary embodiment.
A kind of Fig. 6 this specification structural schematic diagram of server shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute
The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses
Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims
Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is
Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but
These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off
In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed
For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or
" when ... " or " in response to determination ".
Next this specification embodiment is described in detail.
As shown in Figure 1, Fig. 1 is a kind of this specification application of material methods of exhibiting shown according to an exemplary embodiment
Environment schematic, including user terminal 10 and server 20, user terminal 10 can be any intelligence with function of surfing the Net eventually
End, for example, can be specially mobile phone, tablet computer, E-book reader, multimedia player etc., server 20 can be meter
Calculation machine, can also be private server.Wherein, user terminal 10 can be by WLAN couple in router, and passes through road
By the server 20 on device access public network.The client of software APP is installed on user terminal 10, it is abundant in order to be presented to user
Colorful content element, the page 11 of APP client is equipped with a variety of different material contents and shows, such as carousel Banner
(banner), advertisement position, activity pop-up, content module etc..In the example in fig 1, the customer terminal webpage 11 of user terminal 10
It is equipped with carousel Banner 12.In general, it is multiple and different to take turns stream broadcasting when showing on the APP page by a carousel Banner
Material.
Shown material content can be through WLAN from service on the customer terminal webpage 11 of user terminal 10
It is transferred in device 20.In one example, server is by each material shown on customer terminal webpage according to itself display
Attribute is decomposed into a variety of extended attributes, such as one short net cast button material, and extended attribute may include: in text
Hold, textcolor, show the time started, shows residence time, signal language, button image, if spell using main broadcaster's pet name
It connects, material can show its all extended attribute value when showing on customer terminal webpage 11.
In the prior art, in the system development stage, developer can show according to each single item content on customer terminal webpage
Corresponding generate shows associated list with this content, wherein shows to be one-to-one relationship, list between content and list
In include that this content shows extended attribute included by included material quantity and each material.In system configuration rank
Section, administrative staff are by inputting the corresponding every extended attribute value of each material in the extended attribute input frame into list, just
Generate the material for showing on customer terminal webpage.For user in the corresponding page of client request, client is to service
Device sends the material call request for calling the content of the page to show, server is according to the material call request, by the content exhibition
Show that the extended attribute value of material in associated list is sent on customer terminal webpage to show.In the prior art, each single item content
Displaying requires individually to develop a corresponding list, and the material attribute in the system configuration stage, list and material quantity
It cannot change.
This specification embodiment is developed again by the management backstage to server, in the system development stage, exploitation
Personnel pre-define the extended attribute for needing material to be used in the server.And the material content shown with customer terminal webpage
Associated list was generated in the system configuration stage.In the system configuration stage, administrative staff be can be according to client's end page
The extended attribute of the material shown required for face creates list, includes every extended attribute of material, administrative staff in list
After inputting the extended attribute value of material in list, corresponding material is just generated.In this specification embodiment, each material
It is identified with associated material, such as material ID.In one example, it can be the material with same type extended attribute
It is arranged in same list, it is assumed that the carousel Banner12 in Fig. 1 is showing that the material quantity of hour wheel stream broadcasting is 5, and 5
Material has the extended attribute of same type, then, can be in the form of list 21 in Fig. 1 when generating 5 materials in the server
To generate this 5 materials.Every data line in list 21 corresponds to the material of a display, and each column in list are one corresponding
Identical extended attribute.
Fig. 2 is a kind of this specification flow chart of the methods of exhibiting of material shown according to an exemplary embodiment, application
In server end, comprising the following steps:
In step 201, the material inquiry request of client is obtained, the request includes that the mark of customer terminal webpage is believed
Breath.
User can be and be switched to by the modes such as trigger button or the sliding page when browsing the customer terminal webpage of APP
The new display page, if the page is previously provided with static material content and shows that the client, which can be, to be passed through
Https (Hyper Text Transfer Protocol over Secure SocketLayer or Hypertext
Transfer Protocol Secure, Hyper text transfer security protocol) or json (JavaScript Object
Notation, JS object numbered musical notation) mode, send the material for obtaining material content to be shown in the page to server
Inquiry request.Wherein, the identification information for identifying the new display page, the identification information are contained in material inquiry request
It can be a string of characters, such as page1.
In step 202, the page configuration information of client is obtained according to the identification information of the customer terminal webpage, it is described
The mark of material associated by display module and the display module in page configuration information including the customer terminal webpage.
In step 203, the associated material of the material mark is transferred from material source, and material mark is closed
The material of connection is sent in the customer terminal webpage and shows in corresponding display module, wherein material in the material source with
One or more material marks are associated.
In the page layout of client, multiple display modules are generally included, display module is for each in paging
Display area, different display modules can correspond to different material contents and show.Each display module is shown with it
It is associated between material, client is in the page for receiving server transmission after required material to be shown, according to aobvious
Show that the incidence relation between module and material sends specified material in corresponding display module to show.
The configuration information of customer terminal webpage generally includes the displays information from them of customer terminal webpage and the display module is closed
The identification information of the material of connection can also include in some instances the information such as navigation page, the secondary navigation page.Client
The configuration information of the page is normally stored in server, server client's end page in the material inquiry request for receiving client
After the identification information in face, displays information from them and the display module of the customer terminal webpage are obtained according to the identification information corresponding to
Material mark.
The material source can be the set of all materials, and server is identified according to the corresponding material of each display module,
The corresponding material of material mark is found from material source, and the material searched out is sent to it is right in the customer terminal webpage
It is shown in the display module answered.Material mark can be it is associated with one or more materials, thus a display module
One or more materials can be called.Each material be also possible to it is associated with one or more material marks, thus one or
Multiple display modules can be associated with the same material, realize the multiplexing of material.
In this specification embodiment, server is identified according to the material in the material inquiry request of client, by the material
The associated material of mark is sent to customer terminal webpage and shows, and the material in the material source and one or more materials identify
It is associated, allow multiple display modules to be associated with the same material, realize the multiplexing of material, the same material can be made
It uses in different displaying contents, to reduce the development difficulty of APP and shorten the development cycle of APP.
In an exemplary embodiment, at the system configuration stage, the material content that is had according to customer terminal webpage
It shows type and quantity, when administrative staff create list, it is multiple with same type expansion with include to can be a list
Open up the material of attribute.
As shown in figs. 3 a-3 c, Fig. 3 A- Fig. 3 C is the storage mode schematic diagram of the material list of one embodiment.Fig. 3 A-
It is respectively list 31, list 32 and list 33 in Fig. 3 C, wherein list 31 is the material for including 5 the same category extended attributes
Set, the material ID of 5 materials is respectively 311-315, wherein each material include 5 extended attributes;List 32 is packet
The set of the material of 3 the same category extended attributes is included, 3 material ID are respectively 321-323, wherein each material includes 4
Item extended attribute;List 33 is the set for including 2 the same category extended attribute materials, and 2 material ID are respectively 331-
332, wherein each material includes 3 extended attributes;In the present embodiment, the material source includes the set of multiple materials, often
It include one or more materials with same type extended attribute in the set of a material, server has from one or more
The associated material of the material mark is transferred in the set of the material of same type extended attribute.
The mark of material associated by display module can be material ID, and display module can be associated with one or more materials
ID can be the material ID that association has same type extended attribute material if it is multiple material ID, be also possible to association tool
There is the material ID of different type extended attribute material, to realize any calling to material in data source.
In some scenes, a material content shows that included multiple materials often have the extension category of same type
Property, the carousel Banner12 of example as shown in figure 1 just has the material of 5 same type extended attributes.In order to call conveniently, the element
Material mark can also include that story types identify, and the story types mark is associated with the whole in the set of the material corresponding to it
Material.Story types identify the mark that can be the set with the same category extended attribute material, and server is from one or more
The associated material of the material mark is transferred in a set with same type extended attribute material.Story types mark can
To be the ID of such as list, server can be the mark such as table by the set with the same category extended attribute material
Single 31 ID31, directly transfers all materials in list 31, is closed without going with each material ID in list 31
Connection.
In some scenes, a material content displaying can also be the material including multiple and different Extended-type attributes,
Such as in Fig. 4, " activity race " is the material of two kinds of different type extended attributes with " live streaming is recruited ", and then wraps in " whole "
" activity race " and " live streaming is recruited " the two materials are included.Material " activity race " and " live streaming is recruited " can be to distinguish not
Same list is stored in database profession, and when the user clicks when " activity race " or " live streaming is recruited " button, server can be root
The extended attribute value that the two is transferred according to the material ID that " activity race " or " live streaming is recruited " are stored in database profession, can also be root
The ID of the list stored respectively in the server according to the two transfers the extended attribute value of the two.And for " whole ", then its institute
Display module can be associated with two story types mark, i.e., it is associated with " activity race " in the server simultaneously and " is broadcast live
The ID for the list that recruitment " stores respectively is called while to realize to two materials, without duplicate setting one
List including material " activity race " and " live streaming is recruited ".
In the application scenarios of some complexity, the material mark can also be associated in the set of one or more materials
Any material, to realize any calling to material in material source.Such as material source id field can be set in the database,
The material source ID can be associated with any material in the set of one or more materials, and the customer terminal webpage is shown
When showing that material associated by module is identified as material source ID, server is by one or more materials associated by the ID of the material source
The associated whole materials of material mark are transferred in set and are sent in the display module shows.
In an exemplary embodiment, server is deployed into corresponding according to material mark and associated material
After material, material list is generated, may include the attribute value of all materials and the display order of material in material list,
The material list is sent in the customer terminal webpage in corresponding display module and shows by server.In some needs to element
In the scene that the display order of material is defined, such as when needing to carry out top set display to specified material, material column are being generated
After table, server also reorders to material list, to be sent the material in material list with specified display order
It is shown to customer terminal webpage.
In an exemplary embodiment, in order to more accurately launch advertisement to user, or more accurately to different
User shows different display active ingress etc., and it is different for different client use environment displays that customer terminal webpage may be implemented
Material content.Its implementation, which can be, is in the server associated material use environment different from client, such as
Material ID is associated from different use environments, by detecting the use environment of client, according to default screening rule, from
When transferring material associated by the material mark in material source, the use also with given client end filtered out is finally transferred
The material of environmental correclation connection.
The use environment of client can be including in User ID, device id, client release number, client publication channel
At least any can characterize equipment characteristic parameter used in client user's feature, client edition eigen or client.
In an application scenarios, client obtains above-mentioned use environment and asks when user end to server sends material inquiry request
Condition is asked to further comprise at least any feature in above-mentioned use environment, so that server be made to identify according to material from material source
In when transferring material, the material for meeting default client use environment can be filtered out according to default screening rule.
The default screening rule can be including judging whether client belongs to black and white lists, designated user group, specifies
It is equipment, indicated release number, at least any in specified publication channel, wherein can be judged by User ID the user whether be
Whether member or the user belong to the member of designated user group on blacklist or white list, and the use can be judged by device id
Whether equipment used in family is designated equipment, and designated equipment can be to be judged according to parameters such as mobile phone brand, mobile phone models, is led to
Crossing client version number may determine that the batch of the client software, and the client publication channel may determine where client
The operating system of terminal, such as Android system or IOS system etc..
This specification embodiment generates list corresponding with material shown by customer terminal webpage in the application configuration stage,
In the system configuration stage, the extended attribute that administrative staff can be the material of the displaying according to required for customer terminal webpage creates table
It is single, it include that every extended attribute of material is just given birth to after administrative staff input the extended attribute value of material in list in list
At corresponding material.
Unlike the prior art, the extended attribute of list is editable state in the embodiment of the present invention, i.e., in list
Extended attribute determine after, can be edited according to actual needs.
In one embodiment, the editable state includes at least any in can modifying, can increase, can deleting.
In this specification embodiment, the extended attribute characterized in the tables of data of material is editable state, to make user
When modifying the display content of customer terminal webpage, the material content of modification server end that can be more convenient does not need servicing
Newly-increased material is developed at device end again, to reduce the development difficulty of APP and shorten the development cycle of APP.
Corresponding with the embodiment of the methods of exhibiting of aforementioned material, the disclosure also provides a kind of displaying device of material, institute
The displaying device for stating material can be applied in user terminal, and user terminal can be any intelligence with function of surfing the Net eventually
End, for example, can be specially mobile phone, tablet computer, Intelligent bracelet, E-book reader, multimedia player etc., to realize
The multiplexing of material, the same material can be used in different displaying contents, thus reduce APP development difficulty and
Shorten the development cycle of APP.
As shown in figure 5, Fig. 5 is a kind of disclosure structure of the displaying device of material shown according to an exemplary embodiment
Block diagram.The displaying device 600 of the material includes:
Material inquiry request obtains module 601, and for obtaining the material inquiry request of client, the request includes client
The identification information in end page face.
Page configuration data obtaining module 602, for obtaining client according to the identification information of the customer terminal webpage
Page configuration information includes that the display module of the customer terminal webpage and the display module are closed in the page configuration information
The material of connection identifies.
Material sending module 603, for transferring the associated material of the material mark from material source, by the material
The associated material of mark is sent in the customer terminal webpage to be shown in corresponding display module, wherein in the material source
Material be associated with one or more materials marks.
In one exemplary embodiment, the material source includes the set of multiple materials, is wrapped in the set of each material
Include one or more materials with same type extended attribute.
In one exemplary embodiment, the material mark includes one or more story types marks, the material
Type identification is associated with whole materials in the set of the material pointed by it.
In one exemplary embodiment, the material mark is associated with any element in the set of one or more materials
Material.
In one exemplary embodiment, material sending module 603 further include:
Material list generation unit 6031, for material list being generated, by institute according to material mark and associated material
It states material list and is sent in the customer terminal webpage and shown in corresponding display module.
In one exemplary embodiment, material sending module 603 further include:
Sequencing unit 6032, for being ranked up according to predetermined order rule to the material in the material list.
In one exemplary embodiment, the material inquiry request further includes client use environment, the client
Use environment includes following at least any:
User ID, device id, client release number, client publication channel;
The associated material of the material mark is transferred from material source further include:
According to the client use environment, the associated material of the material mark is screened to preset screening rule.
In one exemplary embodiment, the default screening rule includes judging whether client belongs to following at least to appoint
One:
Black and white lists, designated user group, designated equipment, indicated release number, specified publication channel.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with
It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not
In the case where making the creative labor, it can understand and implement.
Corresponding with the embodiment of the methods of exhibiting of aforementioned material, the disclosure also provides a kind of displaying device application of material
Server, the server can be common computer or private server.The server includes:
Processor;
Memory, for storing the computer program that can be executed by the processor;
Wherein, the displaying side of material documented by any of the above-described embodiment is realized when the processor executes described program
Method.
As shown in fig. 6, Fig. 6 is an a kind of structural schematic diagram of server 800 shown according to an exemplary embodiment.
Referring to Fig. 6, it further comprises one or more processors, Yi Jiyou that server 800, which includes processing component 822,
Memory resource representated by memory 832, can be by the instruction of the execution of processing component 822, such as application program for storing.
The application program stored in memory 832 may include it is one or more each correspond to one group of instruction module.
In addition, processing component 822 is configured as executing instruction, to execute the methods of exhibiting of above-mentioned material.
Server 800 can also include that a power supply module 826 be configured as the power management of executive device 800, and one
Wired or wireless network interface 850 is configured as device 800 being connected to network and input and output (I/O) interface 858.
Device 800 can be operated based on the operating system for being stored in memory 832, such as Android, IOS, Windows
ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Corresponding with the embodiment of the methods of exhibiting of aforementioned material, the present invention also provides a kind of computer-readable storage mediums
Matter is stored thereon with computer program, which realizes any of the above-described implementation when being executed by the processing component 822 of above-mentioned server
The step of methods of exhibiting of the material documented by example.
It wherein includes storage medium (the including but not limited to disk of program code that the present invention, which can be used in one or more,
Memory, CD-ROM, optical memory etc.) on the form of computer program product implemented.Computer-usable storage medium packet
Permanent and non-permanent, removable and non-removable media is included, can be accomplished by any method or technique information storage.Letter
Breath can be computer readable instructions, data structure, the module of program or other data.The example packet of the storage medium of computer
Include but be not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM),
Other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory
(EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), digital versatile disc
(DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices or any other non-biography
Defeated medium, can be used for storage can be accessed by a computing device information.
The function of various components and the realization process of effect are specifically detailed in the above method and correspond to step in above equipment
Realization process, details are not described herein.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Those skilled in the art will readily occur to this specification after considering specification and practicing the invention applied here
Other embodiments.This specification is intended to cover any variations, uses, or adaptations of this specification, these modifications,
Purposes or adaptive change follow the general principle of this specification and do not apply in the art including this specification
Common knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification and
Spirit is indicated by the following claims.
It should be understood that this specification is not limited to the precise structure that has been described above and shown in the drawings,
And various modifications and changes may be made without departing from the scope thereof.The range of this specification is only limited by the attached claims
System.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specification
Within the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protection
Within enclosing.