CN104283924A - Method and device for information push, client side and server - Google Patents

Method and device for information push, client side and server Download PDF

Info

Publication number
CN104283924A
CN104283924A CN201310284747.XA CN201310284747A CN104283924A CN 104283924 A CN104283924 A CN 104283924A CN 201310284747 A CN201310284747 A CN 201310284747A CN 104283924 A CN104283924 A CN 104283924A
Authority
CN
China
Prior art keywords
information
pushed
control
application program
displaying control
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
CN201310284747.XA
Other languages
Chinese (zh)
Other versions
CN104283924B (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 CN201310284747.XA priority Critical patent/CN104283924B/en
Publication of CN104283924A publication Critical patent/CN104283924A/en
Application granted granted Critical
Publication of CN104283924B publication Critical patent/CN104283924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and device for information push, a client side and a server. The method includes the steps that configuration information of information to be pushed is acquired by acquiring and analyzing an information configuration file; according to the configuration information, feature information of the information to be pushed is acquired, and the exhibition position of an exhibition control corresponding to the information to be pushed on an application program operation interface is acquired as well; when an operation event corresponding to an application program is monitored, the exhibition control is displayed on the application program operation interface. The method for pushing the information to be pushed has the advantages that information push and the application program are separated and the configuration efficiency of information push and convenience for information push configuration change are improved; furthermore, the maintenance cost of information push is reduced and a large amount of manpower and a large number of material resources are saved.

Description

Information-pushing method, device, client and server
Technical field
The present invention relates to computer realm, particularly relate to a kind of information-pushing method, device, client and server.
Background technology
Day by day intelligent along with the development of computer technology and all kinds of e-platform, information pushing becomes that enterprise releases news, one of the main channel of user's obtaining information to utilize e-platform to carry out.
For enterprise's advertisement, Google AdSense(ad network), AdMob(moving advertising) etc. the rise of social advertisement system and development, impel mode also variation and the facilitation day by day of advertisement pushing.Current social advertisement system depends on fixing advertise control, needs client to create advertise control in advance, pulls ad material and create, show from server or this locality.During this, may there is repeatedly exchanges data in client and server.But for client software, advertisement represent position usually and software logic be closely coupled; Once need to delete, revise or newly-increased advertisement position, usually need again to issue new software version, thus consume a large amount of development costs.Therefore, by information pushing medium and the basic logical separation of software, and realize representing the controlled, self-defined of position to pushed information, become a kind of urgent demand.
Summary of the invention
Given this, be necessary to provide a kind of information-pushing method, device, client and server, be intended to operation and the closely-coupled problem of application logic such as location, establishment, displaying that solve information to be pushed.
The embodiment of the invention discloses a kind of information-pushing method, comprise the following steps:
Obtain and resolving information configuration file, obtain the configuration information of information to be pushed;
According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
Monitor the Action Events that described application program is corresponding;
When monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
The embodiment of the present invention also discloses a kind of information push-delivery apparatus, comprising:
Data obtaining module, for obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
Event-monitoring module, for monitoring Action Events corresponding to described application program;
Information display module, for when monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
The embodiment of the present invention also discloses a kind of information pushing client, comprises described information push-delivery apparatus;
Described information push-delivery apparatus comprises:
Data obtaining module, for obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
Event-monitoring module, for monitoring Action Events corresponding to described application program;
Information display module, for when monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
The embodiment of the present invention also discloses a kind of Information Push Server, comprises described information push-delivery apparatus;
Described information push-delivery apparatus comprises:
Data obtaining module, for obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
Event-monitoring module, for monitoring Action Events corresponding to described application program;
Information display module, for when monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
The embodiment of the present invention, by obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface; When monitoring Action Events corresponding to described application program, described application program operation interface shows described displaying control, push the method for described information to be pushed, compared in prior art, information pushing is coupled once change original information pushing and namely need to change compared with Software Coding, again releasing software version with application program, the embodiment of the present invention has the beneficial effect by information pushing and separate, improves the allocative efficiency of information pushing and the flexibility to information pushing configuration change; Further, reduce the maintenance cost of information pushing, save a large amount of man power and materials.
Accompanying drawing explanation
Fig. 1 is information-pushing method one embodiment schematic flow sheet of the present invention;
Fig. 2 is information-pushing method embody rule scene first embodiment scene schematic diagram of the present invention;
Fig. 3 is information-pushing method embody rule scene second embodiment scene schematic diagram of the present invention;
Fig. 4 is information push-delivery apparatus first embodiment high-level schematic functional block diagram of the present invention;
Fig. 5 is that in information-pushing method of the present invention, each control carries out the position relationship one example structure schematic diagram shown at application program operation interface;
Fig. 6 is information push-delivery apparatus one embodiment high-level schematic functional block diagram of the present invention;
Fig. 7 is information pushing client one embodiment high-level schematic functional block diagram of the present invention;
Fig. 8 is Information Push Server one embodiment high-level schematic functional block diagram of the present invention.
The realization of embodiment of the present invention object, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Reference Fig. 1, Fig. 1 are information-pushing method one embodiment schematic flow sheets of the present invention; In the present embodiment, the subject of implementation of information-pushing method can be client, also can be server; The present embodiment only client is example, describes the implementation procedure of information-pushing method of the present invention.
As shown in Figure 1, information-pushing method of the present invention comprises the following steps:
Step S01, acquisition also resolving information configuration file, obtains the configuration information of information to be pushed;
When the present embodiment can realize information pushing, the configuration of displaying logic characteristic information that information to be pushed is corresponding as described in switching of multimedia messages etc. of the position of information displaying, information type and information displaying.When carrying out information pushing, need to obtain the information configuration file comprising described characteristic information.Described information configuration file pulls from server automatically when client is run, and also initiatively can be issued by server.Client resolves the described information configuration file obtained, and obtains the configuration information of information to be pushed.
In a preferred embodiment, in order to improve the convenience of system process, described configuration information is saved in JSON file.Described JSON(JavaScript Object Notation, object representation) be the data interchange format of a kind of lightweight of JavaScript language, JSON is totally independent of the text formatting of language, is a kind of data interchange format comparatively conventional at present.
Step S02, according to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
The configuration information of the information to be pushed that client obtains according to resolving information configuration file, obtains the characteristic information of information to be pushed, and the display location of displaying control on application program operation interface that this information to be pushed is corresponding.Accurately to locate displaying control corresponding to described information to be pushed (being referred to as " target widget "), first needing to find the father's control for loading this control (being referred to as " host's control "), then determining the position of target widget in host's control (back gauge as alignment thereof, up and down all directions).
For enterprise's advertisement, client resolves advertisement configuration file, obtain treat advertisement type, host's control, the position of target widget in host's control and this advertisement represent the characteristic informations such as logic; So that when pushing this advertisement, can application program operation interface really allocation show the displaying control at this advertisement place; Described displaying control really allocation also can adopt the particular location coordinate on this application program operation interface to represent.Such as, client, according to described configuration information, is determined to push this advertisement with the form of hyperlink text (word chain), as " the also bag postal of best seller 9.9 folding ", once detect that user clicks above-mentioned word chain, is jumped on advertisement page corresponding to this word chain.In addition, host's control that client obtains this advertisement is the bottom panel control under application window, and also getting the display position of advertisement in this displaying control is: advertisement is positioned at the physical centre position of host's control and shows etc. with left-Aligned form.
It will be appreciated by those skilled in the art that, the information pushed and the displaying control at this information place also can adopt other mode to show, the present embodiment will not carry out exhaustive one by one, and the concrete ways of presentation of the present embodiment to client information to be pushed does not limit.
Step S03, monitor Action Events corresponding to described application program;
The Action Events that client control application program is corresponding, detect on this application program operation interface with this, whether the idsplay order of the displaying control of information to be pushed triggers, thus according to the idsplay order of displaying control of the information to be pushed triggered, show displaying control to push information to be pushed, the announcement information that such as enterprise sends or the advertisement etc. that businessman pushes.
Step S04, on described application program operation interface, show described displaying control, push described information to be pushed based on described displaying control.
When client control is to the Action Events of application program, the display location of displaying control on described application program operation interface that client is just corresponding according to the described information to be pushed obtained, shows described displaying control; Simultaneously, client is according to the characteristic information of the described information to be pushed obtained, the such as information type of described information to be pushed, and the display location of described information to be pushed on displaying control, represent logic, information to be pushed described in described displaying control is shown, with information to be pushed described in pushing to user.
Such as, application program gets the displaying logic of this information to be pushed for after application main window opened for 10 seconds, just at this information to be pushed displaying control of the position display determined and this information to be pushed, the then Action Events of this application program of client control, when the control command based on user side, when this application main window is created 10 seconds, namely when client control is to the Action Events that described application program is corresponding, trigger the idsplay order of information to be pushed displaying control, client is just according to the display location obtaining displaying control, the chat window of application software is shown this displaying control, meanwhile, client according to the characteristic information of described information to be pushed, based on described displaying control, information to be pushed described in propelling movement, namely client shows the displaying control of information to be pushed on the chat window of application software, and according to the characteristic information of this information to be pushed, in the corresponding display location of this displaying control, the displaying logic corresponding according to characteristic information shows information to be pushed, realizes thus pushing described information to be pushed to user side.
Below by for concrete application scenarios, the implementation procedure of information-pushing method of the present invention is described again.For ease of describing, in the present embodiment, client is PC, and application program is MSN QQ, and information to be pushed is advertisement.
PC pulls the information configuration file treating advertisement to server, obtain and treat that the configuration information of advertisement is specially: information type is that the advertisement text represented with word chain form " spends stiver just can buy a mobile phone here "; The position of displaying control in QQ chat window at display advertisement place is, bottom panel left in chat window and be in the position of same level height with " closedown " and " transmission " control, and is positioned at the left side of " closedown " and " transmission " control; The position of advertisement in displaying control is be positioned at the physical centre of displaying control, and shows in left-Aligned mode; The display logic of advertisement is, after QQ chat window creates, 10 seconds started display, and display mode is static, and displaying time is 30 seconds; After complete 30 seconds to be shown, show the advertisement that next is to be pushed; If the advertisement of current display is the last item advertisement, then after having shown, treat that advertisement displaying control can be selected again display advertisement or destroy control.
PC monitors the Action Events of QQ chat software in real time; Once monitor the touch control operation based on user side, when creating QQ chat window, PC triggers the idsplay order treating advertisement displaying control.The configuration information treating advertisement obtained according to PC and treat the display location of advertisement displaying control, QQ chat window creates and shows that this treats advertisement.As shown in Figure 2, Fig. 2 is information-pushing method embody rule scene first embodiment scene schematic diagram of the present invention to concrete displaying scene.
Please refer to Fig. 3, Fig. 3 is information-pushing method embody rule scene second embodiment scene schematic diagram of the present invention; As shown in Figure 3, ad display location to be pushed is QQ chat window upper right side, and with the form Dynamic Announce of picture.The implementation procedure of the scene of information pushing shown in Fig. 3 please refer to the specific descriptions of above-described embodiment, does not repeat them here.
The present embodiment, by obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface; When monitoring Action Events corresponding to described application program, described application program operation interface shows described displaying control, push the method for described information to be pushed, there is the beneficial effect by information pushing and separate, improve information pushing allocative efficiency and to the flexibility of information pushing configuration change and convenience; Further, reduce the exploitation of information pushing, operation and maintenance cost, save a large amount of man power and materials.
Based on Fig. 1, Fig. 2 and specific descriptions embodiment illustrated in fig. 3, please referring again to Fig. 1, the present embodiment is only to " step S02, according to described configuration information, obtain the characteristic information of described information to be pushed and the display location of displaying control on application program operation interface corresponding to described information to be pushed " in, " obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface " to describe further, other steps involved by relevant information-pushing method of the present invention, please refer to the specific descriptions of above-mentioned related embodiment, do not repeat them here.
In embodiment described in Fig. 1, obtain comprising of the display location of displaying control on application program operation interface corresponding to information to be pushed:
The present embodiment is that tree structure describes with control each in application program.In the present embodiment, client can pre-set on application program operation interface, the title corresponding to each control; In a preferred embodiment, the unique corresponding title of each control on described application program operation interface can be set, like this, only need get the title of displaying control corresponding to information to be pushed and search the title of this displaying control, the displaying control that described information to be pushed is corresponding can be found, thus obtain the display location of described displaying control on described application program operation interface.Or, by name path or the index information of each control on described application program operation interface, search the path that the displaying control corresponding with described information to be pushed matches, to obtain the display location of described displaying control on the operation interface of application program.
Such as, each control in tree structure in this application program is arranged an optional name(title) corresponding with it.If title is unique in the operation interface of application program, directly the control corresponding with this title can be obtained by traveling through all controls with child control.Otherwise, if name has multiple, then need to specify the name path of control successively to locate.Name path is safeguarded by JSON array, and each element corresponds to the interface control of its sequence number place level.The control of the BottomPanel by name under the control Panel under application program operation interface TopWnd is represented as [" TopWnd ", " Panel ", " BottomPanel "].In addition, control also can be located by index, and now, each element in path data is control and the father's control sequence number at place control level.Please refer to Fig. 4, Fig. 4 is the control structure one example structure schematic diagram in information-pushing method of the present invention on application program operation interface; Can be expressed as [" a ", " c ", " e "] the location of control e in Fig. 4; In Fig. 4, also can be expressed as [1,1], from 0 open numbering the location of control e, control e is the 2nd child control in the next stage control of next stage control the 2nd (from 0 open numbering, the numbering of the 2nd child control is 1) the child control c being arranged in top layer a father control.Fig. 4 is on the operation interface of concrete application program, and the position relationship of each control please refer to Fig. 5, and Fig. 5 is that in information-pushing method of the present invention, each control carries out the position relationship one example structure schematic diagram shown at application program operation interface; The controls at different levels of the tree structure shown in Fig. 4 are presented at effect on the operation interface of application program namely as shown in Figure 5.
In a preferred embodiment, client provides fault-tolerance and the robustness of information transmission system, and client is allowed provides multiple alternative path to control to be positioned.When mating path, application program returns when the control finding first can navigate to.If do not match corresponding control yet after attempting all paths and comprising alternative path, then return failure.Namely, after all name path of having searched each control on described application program operation interface or index information, when all can not find the path that the displaying control corresponding with described information to be pushed match, the information of searching failure is returned; This mode improves ease for maintenance and the convenience on information pushing backstage.
Information-pushing method of the present invention can be implemented on the server.Server is according to information configuration file, resolve the configuration information obtaining information to be pushed, according to configuration information, obtain the characteristic information of information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on client application operation interface; The Action Events that server monitoring client application is corresponding; When monitoring described Action Events, server, according to the display location of described displaying control, the application program operation interface of client shows described displaying control; And according to the characteristic information of described information to be pushed, based on described displaying control to information to be pushed described in client push.About the specific descriptions of above-mentioned implementation process, please refer to the specific descriptions of above-mentioned related embodiment, do not repeat them here.
The present embodiment by obtaining and resolving information configuration file, obtains the configuration information of information to be pushed by server; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface; When monitoring Action Events corresponding to described application program, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, the method of described information to be pushed is pushed based on described displaying control, compared in prior art, information pushing and application logic are coupled once change original information pushing mode, and needing increases development and issue new software version, the embodiment of the present invention has the beneficial effect by information pushing and separate, improve information pushing allocative efficiency and to the flexibility of information pushing configuration change and convenience; Further, reduce the exploitation of information pushing, operation and maintenance cost, save a large amount of man power and materials.
Please refer to Fig. 6, Fig. 6 is information push-delivery apparatus one embodiment high-level schematic functional block diagram of the present invention; As shown in Figure 6, information push-delivery apparatus of the present invention comprises: data obtaining module 01, event-monitoring module 02 and information display module 03.
Data obtaining module 01, for obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
When data obtaining module 01 can realize information pushing, the configuration of displaying logic characteristic information that information to be pushed is corresponding as described in switching of multimedia messages etc. of the position of information displaying, information type and information displaying.When carrying out information pushing, data obtaining module 01 needs to obtain the information configuration file comprising described characteristic information.Described information configuration file can be pulled from server when client is run automatically by data obtaining module 01, also initiatively can be issued by server.Data obtaining module 01 resolves the described information configuration file obtained, and obtains the configuration information of information to be pushed.
In a preferred embodiment, in order to improve the convenience of system process, described configuration information is saved in JSON file by data obtaining module 01.Described JSON is the data interchange format of a kind of lightweight of JavaScript language, and JSON is totally independent of the text formatting of language, is a kind of data interchange format comparatively conventional at present.
The configuration information of the information to be pushed that data obtaining module 01 obtains according to resolving information configuration file, obtains the characteristic information of information to be pushed, and the display location of displaying control on application program operation interface that this information to be pushed is corresponding.Accurately to locate displaying control corresponding to described information to be pushed (being referred to as " target widget "), first needing to find the father's control for loading this control (being referred to as " host's control "), then determining the position of target widget in host's control (back gauge as alignment thereof, up and down all directions).
For enterprise's advertisement, data obtaining module 01 resolves advertisement configuration file, obtain treat the type of advertisement, host's control, target widget in host's control position and this advertisement represent the characteristic informations such as logic; So that when pushing this advertisement, can application program operation interface really allocation show the displaying control at this advertisement place; Described displaying control really allocation also can adopt the particular location coordinate on this application program operation interface to represent.Such as, data obtaining module 01 is according to described configuration information, determine to push this advertisement with the form of hyperlink text (word chain), as " the also bag postal of best seller 9.9 folding ", once detect that user clicks above-mentioned word chain, redirect then jumps on advertisement page corresponding to this word chain.In addition, host's control that data obtaining module 01 obtains this advertisement is the bottom panel control under application window, and also getting the display position of advertisement in this displaying control is: advertisement is positioned at the physical centre position of host's control and shows etc. with left-Aligned form.
Those skilled in the art will appreciate that the information of propelling movement and the displaying control at this information place also can adopt other mode to show, the present embodiment will not carry out exhaustive one by one, and the concrete ways of presentation that the present embodiment treats the information of propelling movement does not limit.
Event-monitoring module 02, for monitoring Action Events corresponding to described application program;
The Action Events that event-monitoring module 02 monitoring application program is corresponding, detect on this application program operation interface with this, whether the idsplay order of the displaying control of information to be pushed triggers, thus according to the idsplay order of displaying control of the information to be pushed triggered, show displaying control to push information to be pushed, the announcement information that such as enterprise sends or the advertisement etc. that businessman pushes.
Information display module 03, for when monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
When event-monitoring module 02 monitors the Action Events of application program, the display location of displaying control on the operation interface of described application program that information display module 03 is just corresponding according to the described information to be pushed obtained, shows the displaying control of described information to be pushed; Simultaneously, information display module 03 is according to the characteristic information of the described information to be pushed obtained, the such as information type of described information to be pushed, and the display location of described information to be pushed on displaying control, represent logic, information to be pushed described in described displaying control is shown, with information to be pushed described in pushing to user.
Such as, data obtaining module 01 gets the displaying logic of this information to be pushed for after application main window opened for 10 seconds, just at this information to be pushed displaying control of the position display determined and this information to be pushed, then event-monitoring module 02 monitors the Action Events of this application program, when the control command based on user side, when this this application main window is created 10 seconds, namely when event-monitoring module 02 monitors Action Events corresponding to described application program, trigger the idsplay order of information to be pushed displaying control, information display module 03 is just according to the display location of the displaying control obtained, the chat window of application software is shown this displaying control, meanwhile, client according to the characteristic information of described information to be pushed, based on described displaying control, information to be pushed described in propelling movement, namely client shows the displaying control of information to be pushed on the chat window of application software, and according to the characteristic information of this information to be pushed, in the corresponding display location of this displaying control, the displaying logic corresponding according to characteristic information shows information to be pushed, realizes thus pushing described information to be pushed to user side.
Below by for concrete application scenarios, the implementation procedure of information-pushing method of the present invention is described again.For ease of describing, in the present embodiment, client is PC, and application program is MSN QQ, and information to be pushed is advertisement.
PC pulls the information configuration file treating advertisement to server, obtain and treat that the configuration information of advertisement is specially: information type is that the advertisement text represented with word chain form " spends stiver just can buy a mobile phone here "; The position of displaying control in QQ chat window at display advertisement place is, bottom panel left in chat window and be in the position of same level height with " closedown " and " transmission " control, and is positioned at the left side of " closedown " and " transmission " control; The position of advertisement in displaying control is be positioned at the physical centre of displaying control, and shows in left-Aligned mode; The display logic of advertisement is, after QQ chat window creates, 10 seconds started display, and display mode is static, and displaying time is 30 seconds; After complete 30 seconds to be shown, show the advertisement that next is to be pushed; If the advertisement of current display is the last item advertisement, then after having shown, treat that advertisement displaying control can be selected again display advertisement or destroy control.
PC monitors the Action Events of QQ chat software in real time; Once monitor the touch control operation based on user side, when creating QQ chat window, PC triggers the idsplay order treating advertisement displaying control.The configuration information treating advertisement obtained according to PC and treat the display location of advertisement displaying control, QQ chat window creates and shows that this treats advertisement.Concrete displaying scene as shown in Figure 2.
Ad display location to be pushed shown in Fig. 3 is QQ chat window upper right side, and with the form Dynamic Announce of picture.The implementation procedure of the scene of information pushing shown in Fig. 3 please refer to the specific descriptions of above-described embodiment, does not repeat them here.
The present embodiment, by obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface; When monitoring Action Events corresponding to described application program, described application program operation interface shows described displaying control, push described information to be pushed, there is the beneficial effect by information pushing and separate, improve information pushing allocative efficiency and to the flexibility of information pushing configuration change and convenience; Further, reduce the exploitation of information pushing, operation and maintenance cost, save a large amount of man power and materials.
Based on the specific descriptions of above-described embodiment, please obtain comprising of the information to be pushed display location of corresponding displaying control on application program operation interface referring again to the data obtaining module 01 shown in Fig. 6, Fig. 6:
The present embodiment is that tree structure describes with control each in application program.In the present embodiment, client can pre-set on application program operation interface, the title corresponding to each control; In a preferred embodiment, the unique corresponding title of each control on described application program operation interface can be set, like this, data obtaining module 01 need get the title of displaying control corresponding to information to be pushed and search the title of this displaying control, the displaying control that described information to be pushed is corresponding can be found, thus obtain the display location of described displaying control on described application program operation interface.Or, data obtaining module 01 is by the name path of each control on described application program operation interface or index information, search the path that the displaying control corresponding with described information to be pushed matches, to obtain the display location of described displaying control on the operation interface of application program.
Such as, each control in tree structure in this application program is arranged an optional name corresponding with it.If title is unique in the operation interface of application program, data obtaining module 01 directly can obtain the control corresponding with this title by traveling through all controls with child control.Otherwise if name has multiple, then data obtaining module 01 needs to specify the name path of control successively to locate.Name path is safeguarded by JSON array, and each element corresponds to the interface control of its sequence number place level.The control of the BottomPanel by name under the control Panel under application program operation interface TopWnd is represented as [" TopWnd ", " Panel ", " BottomPanel "].In addition, data obtaining module 01 also can carry out orient control by index, and now, each element in path data is control and the father's control sequence number at place control level.Can be expressed as [" a ", " c ", " e "] the location of control e in Fig. 4; In Fig. 4, also can be expressed as [1,1], from 0 open numbering the location of control e, control e is the 2nd child control in the next stage control of next stage control the 2nd (from 0 open numbering, the numbering of the 2nd child control is 1) the child control c being arranged in top layer a father control.The controls at different levels of the tree structure shown in Fig. 4 are presented at effect on the operation interface of application program namely as shown in Figure 5.
In a preferred embodiment, client provides fault-tolerance and the robustness of information transmission system, and client is allowed provides multiple alternative path to control to be positioned.When mating path, data obtaining module 01 returns when the control finding first can navigate to.If data obtaining module 01 does not match corresponding control yet after all paths of trial comprise alternative path, then return failure.After all name path of namely having searched each control on described application program operation interface at data obtaining module 01 or index information, when all can not find the path that the displaying control corresponding with described information to be pushed match, data obtaining module 01 returns the information of searching failure; This mode improves ease for maintenance and the convenience on information pushing backstage.
Based on the description of above-described embodiment, please refer to Fig. 7, Fig. 7 is information pushing client one embodiment high-level schematic functional block diagram of the present invention; As shown in Figure 7, information pushing client of the present invention comprises information push-delivery apparatus 100.
Described information push-delivery apparatus 100 comprises: data obtaining module 01, event-monitoring module 02 and information display module 03.
Data obtaining module 01, for obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
Event-monitoring module 02, for monitoring Action Events corresponding to described application program;
Information display module 03, for when monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
The specific descriptions of pusher 100 please refer to the specific descriptions of above-mentioned related embodiment for information about, do not repeat them here.
The present embodiment, by obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface; When monitoring Action Events corresponding to described application program, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, described information to be pushed is pushed based on described displaying control, there is the beneficial effect by information pushing and separate, improve information pushing allocative efficiency and to the flexibility of information pushing configuration change and convenience; Further, reduce the exploitation of information pushing, operation and maintenance cost, save a large amount of man power and materials.
Please refer to Fig. 8, Fig. 8 is Information Push Server one embodiment high-level schematic functional block diagram of the present invention.As shown in Figure 8, Information Push Server of the present invention comprises information push-delivery apparatus 100.
Described information push-delivery apparatus 100 comprises: data obtaining module 01, event-monitoring module 02 and information display module 03.
Data obtaining module 01, for obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
Event-monitoring module 02, for monitoring Action Events corresponding to described application program;
Information display module 03, for when monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
The specific descriptions of pusher 100 please refer to the specific descriptions of above-mentioned related embodiment for information about, do not repeat them here.
The present embodiment, by obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface; When monitoring Action Events corresponding to described application program, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, described information to be pushed is pushed based on described displaying control, there is the beneficial effect by information pushing and separate, improve information pushing allocative efficiency and to the flexibility of information pushing configuration change and convenience; Further, reduce the exploitation of information pushing, operation and maintenance cost, save a large amount of man power and materials.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (12)

1. an information-pushing method, is characterized in that, comprises the following steps:
Obtain and resolving information configuration file, obtain the configuration information of information to be pushed;
According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
Monitor the Action Events that described application program is corresponding;
When monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
2. the method for claim 1, is characterized in that, described according to configuration information, and the characteristic information obtaining described information to be pushed comprises:
According to described configuration information, obtain position in described displaying control of the type of described information to be pushed, described information to be pushed and represent logic.
3. the method for claim 1, is characterized in that, the display location of displaying control on application program operation interface that the described information to be pushed of described acquisition is corresponding comprises:
According to the unique corresponding mark of each control on the described application program operation interface pre-set, search for carrying father's control of displaying control corresponding to described information to be pushed in described application program operation interface, and obtain the display location of described displaying control on described father's control.
4. method as claimed in claim 3, is characterized in that, described in search the path that the displaying control corresponding with described information to be pushed match after comprise:
After all accessed paths defined in the configuration information searching described information to be pushed, when all can not find the path that the displaying control corresponding with described information to be pushed match, return the information of searching failure.
5. the method as described in any one of Claims 1-4, is characterized in that, on described application program operation interface, each control is tree structure.
6. an information push-delivery apparatus, is characterized in that, comprising:
Data obtaining module, for obtaining and resolving information configuration file, obtains the configuration information of information to be pushed; According to described configuration information, obtain the characteristic information of described information to be pushed, and obtain the display location of displaying control corresponding to described information to be pushed on application program operation interface;
Event-monitoring module, for monitoring Action Events corresponding to described application program;
Information display module, for when monitoring described Action Events, according to the display location of described displaying control, described application program operation interface shows described displaying control; And according to the characteristic information of described information to be pushed, push described information to be pushed based on described displaying control.
7. device as claimed in claim 6, is characterized in that, described data obtaining module also for:
According to described configuration information, obtain position in described displaying control of the type of described information to be pushed, described information to be pushed and represent logic.
8. device as claimed in claim 6, is characterized in that, described data obtaining module also for:
According to the unique corresponding mark of each control on the described application program operation interface pre-set, search for carrying father's control of displaying control corresponding to described information to be pushed in described application program operation interface, and obtain the display location of described displaying control on described father's control.
9. device as claimed in claim 8, is characterized in that, described data obtaining module also for:
After having searched all accessed paths defined in configuration information corresponding to described information to be pushed, when all can not find the path that the displaying control corresponding with described information to be pushed match, return the information of searching failure.
10. the device as described in any one of claim 6 to 9, is characterized in that, on described application program operation interface, each control is tree structure.
11. 1 kinds of information pushing clients, is characterized in that, comprise the information push-delivery apparatus described in any one of claim 6 to 10.
12. 1 kinds of Information Push Servers, is characterized in that, comprise the information push-delivery apparatus described in any one of claim 6 to 10.
CN201310284747.XA 2013-07-08 2013-07-08 Information-pushing method, device, client and server Active CN104283924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310284747.XA CN104283924B (en) 2013-07-08 2013-07-08 Information-pushing method, device, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310284747.XA CN104283924B (en) 2013-07-08 2013-07-08 Information-pushing method, device, client and server

Publications (2)

Publication Number Publication Date
CN104283924A true CN104283924A (en) 2015-01-14
CN104283924B CN104283924B (en) 2019-08-13

Family

ID=52258401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310284747.XA Active CN104283924B (en) 2013-07-08 2013-07-08 Information-pushing method, device, client and server

Country Status (1)

Country Link
CN (1) CN104283924B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353955A (en) * 2015-10-21 2016-02-24 广州市久邦数码科技有限公司 Short message system
CN105389363A (en) * 2015-11-04 2016-03-09 广州市久邦数码科技有限公司 Pushed popup window display method and system for same
CN105931032A (en) * 2016-05-11 2016-09-07 百度在线网络技术(北京)有限公司 Intelligent household platform, method and apparatus for pushing information applied to platform
CN106790336A (en) * 2015-11-25 2017-05-31 百度在线网络技术(北京)有限公司 The method for pushing of information, pusher and the method and apparatus for display information
WO2017107831A1 (en) * 2015-12-23 2017-06-29 北京金山安全软件有限公司 Application based broadcasting method, device and electronic device
WO2017114182A1 (en) * 2015-12-30 2017-07-06 阿里巴巴集团控股有限公司 Interface data displaying method and device
CN107450903A (en) * 2017-05-31 2017-12-08 阿里巴巴集团控股有限公司 A kind of information processing method and device
CN107957909A (en) * 2016-10-17 2018-04-24 腾讯科技(深圳)有限公司 A kind of information processing method, terminal device and server
CN108234600A (en) * 2017-12-06 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of data automatic push method implementation method in Air-Ground data transmission
CN109976754A (en) * 2017-12-27 2019-07-05 Tcl集团股份有限公司 A kind of method and its terminal that information is shown
CN113778547A (en) * 2021-07-30 2021-12-10 北京达佳互联信息技术有限公司 Object processing method and device, computer program product and processor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046873A (en) * 2006-03-29 2007-10-03 腾讯科技(深圳)有限公司 Method and device for issuing network advertisement in network game
CN101271488A (en) * 2007-04-23 2008-09-24 盛趣信息技术(上海)有限公司 Method for advertisement insertion in game
CN101330397A (en) * 2008-07-01 2008-12-24 腾讯科技(深圳)有限公司 Method and system for feeding advertisement for game client terminal
CN101360072A (en) * 2008-09-25 2009-02-04 腾讯科技(深圳)有限公司 Mobile terminal advertisement releasing system based on IM and method thereof
US20110054980A1 (en) * 2009-09-02 2011-03-03 Dave Simons Game revenue optimization system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046873A (en) * 2006-03-29 2007-10-03 腾讯科技(深圳)有限公司 Method and device for issuing network advertisement in network game
CN101271488A (en) * 2007-04-23 2008-09-24 盛趣信息技术(上海)有限公司 Method for advertisement insertion in game
CN101330397A (en) * 2008-07-01 2008-12-24 腾讯科技(深圳)有限公司 Method and system for feeding advertisement for game client terminal
CN101360072A (en) * 2008-09-25 2009-02-04 腾讯科技(深圳)有限公司 Mobile terminal advertisement releasing system based on IM and method thereof
US20110054980A1 (en) * 2009-09-02 2011-03-03 Dave Simons Game revenue optimization system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353955A (en) * 2015-10-21 2016-02-24 广州市久邦数码科技有限公司 Short message system
CN105389363A (en) * 2015-11-04 2016-03-09 广州市久邦数码科技有限公司 Pushed popup window display method and system for same
CN106790336B (en) * 2015-11-25 2020-11-24 上海优扬新媒信息技术有限公司 Information pushing method and device and information displaying method and device
CN106790336A (en) * 2015-11-25 2017-05-31 百度在线网络技术(北京)有限公司 The method for pushing of information, pusher and the method and apparatus for display information
WO2017107831A1 (en) * 2015-12-23 2017-06-29 北京金山安全软件有限公司 Application based broadcasting method, device and electronic device
WO2017114182A1 (en) * 2015-12-30 2017-07-06 阿里巴巴集团控股有限公司 Interface data displaying method and device
US11216610B2 (en) 2015-12-30 2022-01-04 Advanced New Technologies Co., Ltd. Generating a graphical user interface based on formatted structure data
CN105931032A (en) * 2016-05-11 2016-09-07 百度在线网络技术(北京)有限公司 Intelligent household platform, method and apparatus for pushing information applied to platform
CN107957909A (en) * 2016-10-17 2018-04-24 腾讯科技(深圳)有限公司 A kind of information processing method, terminal device and server
CN107957909B (en) * 2016-10-17 2022-01-07 腾讯科技(深圳)有限公司 Information processing method, terminal equipment and server
CN107450903A (en) * 2017-05-31 2017-12-08 阿里巴巴集团控股有限公司 A kind of information processing method and device
CN108234600A (en) * 2017-12-06 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of data automatic push method implementation method in Air-Ground data transmission
CN109976754A (en) * 2017-12-27 2019-07-05 Tcl集团股份有限公司 A kind of method and its terminal that information is shown
CN113778547A (en) * 2021-07-30 2021-12-10 北京达佳互联信息技术有限公司 Object processing method and device, computer program product and processor
CN113778547B (en) * 2021-07-30 2024-02-06 北京达佳互联信息技术有限公司 Object processing method, device, computer program product and processor

Also Published As

Publication number Publication date
CN104283924B (en) 2019-08-13

Similar Documents

Publication Publication Date Title
CN104283924A (en) Method and device for information push, client side and server
CN102819555B (en) A kind of method and apparatus carrying out recommendation information loading in the reading model of webpage
CN103353899B (en) The accurate searching method of a kind of integrated information
CN113268226B (en) Page data generation method, device, storage medium and equipment
CN104615731A (en) Two-dimension code display method and system
CN103034517A (en) Method and device for loading browser control tool
CN105069132A (en) Webpage implementation method based on static shell
CN104036011A (en) Webpage element display method and browser device.
CN108549567B (en) Animation display method, device, terminal, server and storage medium
CN109241474A (en) Offer, displaying, dissemination method, server and the client of page info
CN103714141A (en) Information pushing method and device
CN113079417A (en) Method, device and equipment for generating bullet screen and storage medium
US20130275456A1 (en) Method and System for Content Search
CN103034518A (en) Method and browser for loading browser control tool
US8209324B2 (en) Method and system for providing information in virtual space
CN103559194A (en) Searching method, server and system
CN103036770A (en) System and method used for information forwarding
CN105468419A (en) Method and device for realizing broadcast based on application software and electronic equipment
CN104199917A (en) Method and device for translating webpage content and client
CN111538645B (en) Data visualization method and related equipment
CN105915615A (en) Method for displaying application information in mobile equipment and device thereof
CN110502299B (en) Method and equipment for providing novel information
CN104239067A (en) Making method and device of miniature client end
CN105450718A (en) Interface updating method and client end
CN104731897A (en) Method and device for achieving information displaying

Legal Events

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