CN103905504A - Information pushing method and system - Google Patents

Information pushing method and system Download PDF

Info

Publication number
CN103905504A
CN103905504A CN201210583064.XA CN201210583064A CN103905504A CN 103905504 A CN103905504 A CN 103905504A CN 201210583064 A CN201210583064 A CN 201210583064A CN 103905504 A CN103905504 A CN 103905504A
Authority
CN
China
Prior art keywords
information
client
push
provides
push server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210583064.XA
Other languages
Chinese (zh)
Inventor
张诗彦
王玉海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Group Corp
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Haier Group Corp
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haier Group Corp, Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Haier Group Corp
Priority to CN201210583064.XA priority Critical patent/CN103905504A/en
Publication of CN103905504A publication Critical patent/CN103905504A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an information pushing method and system. The method comprises the steps that an information providing client and an information receiving client establish Web Socket connection with a pushing server; the information providing client sends the identity information to the pushing server; by comparing the identity information, which is stored by the pushing server, of the information providing client and the identity information sent by the information providing client, the pushing server carries out identity authentication on the information providing client; the identity authentication of the information providing client is successful, and content information is pushed to the pushing server; and the pushing server pushes the content information pushed by the information providing client to the information receiving client. According to the technical scheme of the invention, information or caution is sent to every household of a community through the existing community network in real time, wherein the information or the caution is the latest and is concerned by the household; the overall development cost can be saved; and information safety protection is realized.

Description

A kind of information-pushing method and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of information-pushing method and system.
Background technology
In the information age, the approach of people's acquired information is more and more, and especially young man likes by network acquired information.In recent years, Intelligent Community development is very fast.For example, past intercom system early has all adopted analog signal, and at present along with the reduction of digital intecommunication system hardware cost, increasing community has all been equipped with security intercommunication system.How can be real-time by content information up-to-date, that producer is concerned about or remind and send to accurately each producer of community by existing community network, and expend less development cost, become the key of Study on Problems.
Summary of the invention
The object of the invention is to propose a kind of information-pushing method and system, can be real-time by information up-to-date, that producer is concerned about or remind each producer who is sent to accurately community by existing community network, save overall development cost.
For reaching this object, the present invention by the following technical solutions:
A kind of information-pushing method, described method comprises:
S1: information provides client and the foundation of information reception client to be connected with the WebSocket of push server;
S2: described information provides client to send the identity information of self to described push server, the identity information that described push server provides client identity information and described information to provide client to send by more described push server canned data, provides client to carry out authentication to described information;
S3: described information provides client after by authentication, pushes content information to described push server;
S4: described push server provides the content information of client push to push to described information described information and receives client;
Wherein, to provide client and information to receive client can be all one or more to described information.
Further, described step S2 also comprises:
Described information receives the identity information of client to described push server transmission self;
Described push server receives client identity information by more described push server canned data and described information receives the identity information that client sends, and described information is received to client and carry out authentication;
Described step S4 specifically comprises:
After the authentication of described information reception client identity is passed through, described push server provides the content information of client push to push to described information described information and receives client.
Further, the identity information that described information provides client and described information to receive client sends as HTTP header.
Further, after described step S3, before step S4, also comprise:
Described push server receives described information provides the content information of client push;
Described push server provides client Permission Levels information according to self canned data, judge whether described content information is allowed to push to described information and receives client, if, described push server is responsible for to content information described in described information reception client push, otherwise described push server refusal is to content information described in described information reception client push.
Further, described content information comprises that information receives client appointed information;
Described push server receives client appointed information according to described information, to content information described in described information reception client push.
Preferably, described information receives geographical location information or the IP address information that client appointed information comprises information reception client;
Wherein, the geographical location information that described information receives client comprises one or more in region, Lou Dong, unit, floor and room number.
Further, in the time that network breaks down, described push server provides the content information of client push to be temporarily kept on the memory of described push server described information.
The present invention also provides a kind of information transmission system, and described system comprises: information provides client, push server, information to receive client;
Described information provides client, for pushing content information to described push server;
Described push server, receives client for described information being provided the described content information of client push push to described information;
Described information receives client, the described content information pushing for receiving described push server;
Wherein, it can be all one or more that described information provides client and information to receive client, and described push server comprises:
Communication interface modules, for providing client and described information to receive client communication with described information, provides the described content information of client push to push to described information described information and receives client;
Client-side information administration module, provides client and/or described information reception client identity information and/or described information that client Permission Levels information is provided for managing the described information of self storing;
Client-side information authentication module, provide client identity information to provide client to carry out authentication to described information for the described information of storing according to described client-side information administration module, and/or provide client Permission Levels information to provide client to carry out Permission Levels authentication to described information according to described information, and/or according to the described information reception client identity information of described client-side information administration module storage, described information reception client is carried out to authentication.
Further, communication interface modules, for connecting by WebSocket, provides client and described information to receive client communication with described information.
Further, described client-side information authentication module provides client Permission Levels information to provide client to carry out Permission Levels authentication to described information according to the described information of storing in described client-side information administration module specifically to comprise:
Client-side information authentication module provides client Permission Levels information according to the described information of storing in described client-side information administration module, judge that described information provides the described content information of client push whether to be allowed to push to described information and receives client, if, described communication interface modules is responsible for to content information described in described information reception client push, otherwise described communication interface modules refusal is to content information described in described information reception client push.
Further, described push server also comprises:
Information temporary storage module, in the time that network breaks down, temporarily storing described information provides the described content information of client push.
The technical scheme that the present invention proposes, in information pushing process, provides client and information to receive client to information and authenticates, and has realized the fail safe protection to information; Content information cannot be pushed to information and receive when client when network breaks down, temporarily preserve content information, there is good fault tolerance; Employing information receives geographical location information or the IP address information of client, content information accurately can be pushed to each information and receive client.The information-pushing method that the present invention proposes and system can be real-time by information up-to-date, that producer is concerned about or remind each producer who sends to community by existing community network, can save overall development cost.
Accompanying drawing explanation
Fig. 1 is a kind of information-pushing method schematic diagram that the embodiment of the present invention one provides;
Fig. 2 is that the information that the embodiment of the present invention one provides provides client to be connected and flow for authenticating ID schematic diagram with the WebSocket of push server;
Fig. 3 is that the push server that the embodiment of the present invention one provides pushes content information to information reception client schematic flow sheet;
Fig. 4 is that the push server that the embodiment of the present invention two provides provides client to carry out Permission Levels identifying procedure schematic diagram to information;
Fig. 5 is that the information that the embodiment of the present invention two provides provides client end response Permission Levels identifying procedure schematic diagram;
Fig. 6 is a kind of information transmission system schematic diagram that the embodiment of the present invention three provides;
Fig. 7 is a kind of information transmission system schematic diagram that the embodiment of the present invention four provides.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with accompanying drawing and by embodiment.
Embodiment mono-
For can be real-time by information up-to-date, that producer is concerned about or remind each producer who sends to community by existing community network, the present embodiment provides a kind of information-pushing method.
So-called information-pushing method is: receiving party does not need polling information sender whether to have fresh information, only needs outstanding message transmit leg that message " propelling movement " is come.Relative with propelling movement mode is " pulling " mode.
Information pushing has two important roles, information sender and receiving party, information sender is responsible for edit file content and is determined which producer or equipment need to receive, and receiving party determines which informational needs receives, and information is carried out to necessary preservation and editor.In actual applications, information sender is generally the relevant service operation side of residential property personnel or community, and recipient is generally producer.At this, equipment or software program that information sender is used are called " information provides client ", and equipment or software program that receiving party uses are called " information reception client ", and the server of being responsible for transmission task is called " push server ".
First consider the reliability of transfer of data, the present embodiment selects TCP as basic agreement.Secondly, since be PUSH message, information transmission client is just necessary so can be directly to push server propelling data, and push server can directly receive client push data to information.Here there are two kinds of selections: one is that push server is carried out short connection with each client, after data interaction, disconnect TCP and connect; Another kind is that push server is grown and is connected with each client, and TCP carries out data interaction with regard to one straight through this connection after connecting.The present embodiment adopts the long mode connecting of TCP, and this is because mainly consider the diversity of the network architecture, and the long connection of TCP can adapt to the more network architecture.For example, information receives client and is connected with community network by indoor gateway, push server initiatively link information receives client, can initiatively connect push server but information receives client, after connecting, push server just can be connected to information and received client transmission data by this.Then, consider that information data is Word message mostly, the present embodiment adopts the WebSocket technology just growing up in recent years.
It can be all one or more that the information that the present embodiment relates to provides client, information to receive client.Provide client to receive client push content information as example by push server to one or more information take an information below, set forth the information-pushing method that the present invention proposes, the method is equally applicable to multiple information provides the situation of client.
Fig. 1 is a kind of information-pushing method schematic diagram that the embodiment of the present invention one provides.Referring to Fig. 1, information-pushing method comprises:
S101: information provides client and the foundation of information reception client to be connected with the WebSocket of push server;
S102: push server provides client and information reception client to carry out authentication to information;
S103: in push server, information is provided after the authentication of client passes through, information provides client to push content information to push server;
Wherein, content information comprises that information receives client appointed information, and information receives client appointed information and further comprises that information receives geographical location information or the IP address information of client;
S104: push server provides the content information of client push to push to information information and receives client.
Fig. 2 is that the information that the embodiment of the present invention one provides provides client to be connected and flow for authenticating ID schematic diagram with the WebSocket of push server.Referring to Fig. 2, provide client to be connected with the WebSocket of push server for above-mentioned steps S101 with information in step S102 and authentication process specifically comprises:
S201: information provides client to initiate to set up WebSocket connection request with push server;
S202: the WebSocket connection request that push server reception information provides client to initiate, set up and provide the WebSocket of client to be connected with information;
S203: information provides client that the identity information of self is written in HTTP header, and sends it to push server;
S204: the identity information that push server reading information provides client to send, whether the identity information that provides client identity information and information to provide client to send by comparison self canned data is consistent, provide client to carry out authentication to information: if consistent, push server provides the authentication of client to pass through to information, execution step S205, otherwise, carry out S206;
S205: push server provides client to send the message of successful connection to information, and both sides safeguard connection;
S206: push server provides client to send the message of connection failure to information, and both sides disconnect, information provides client to carry out mistake and processes.
Wherein, information provides the identity information of client self and push server self canned data that client identity information is provided, and any one in the various forms such as producer's name, password, equipment Serial Number of client can employing information be provided.
Receiving client for above-mentioned steps S101 with information in step S102 is connected and authentication process with the WebSocket of push server, with information provide client to be connected with the WebSocket of push server and authentication process similar, as long as providing client all to replace with information the information relating in step S201-S206 receives client, repeats no more here.
Fig. 3 is that the push server that the embodiment of the present invention one provides pushes content information to information reception client schematic flow sheet.Referring to Fig. 3, for the present embodiment propose information-pushing method, in step S104 push server by information provide the content information of client push push to information receive client comprise:
S301: information receives client setting up WebSocket with push server and is connected, after authentication passes through, and waits for push server propelling movement content information;
S302: push server provides the information in the content information of client push to receive client appointed information according to information: geographical location information or IP address information, judge that this content information need push to single information and receive client or multiple information reception client, if single information receives client, execution step S303, if multiple information receives client, execution step S304.
S303: push server receives the IP address information of client according to information, receive client push content information to single information;
S304: push server receives the geographical location information of client according to information, adopts the mode of address parameter, receives client push content information to multiple information;
In community network, a producer may have multiple information to receive client device, the equipment such as such as indoor terminal, Set Top Box, mobile phone, and certain content information is also mass-sended possibly to multiple producers, all producers that for example issue some unit; In the case, push server need to provide information the content information of client to push to multiple information and receive client;
For community, geographical location information generally comprises: region, Lou Dong, unit, floor, room number, in the present embodiment, push server adopts and mass-sends community information using the geographical location information of community, producer place as the mode of address parameter, and parameter format is region+building number+unit+room number; For example, suppose that in certain content information, geographical location information is 2 unit 502, building, No. 2nd, 1 region, push server is written as 1,2,2,5,2 by address parameter, mass-sends together all information reception clients to building, No. 2nd, 1 region 2 unit 502 Room producers with content information.All information of 1 building, No. 2nd, region 2 unit 502 Room producers receive client and read after this address parameter, confirm to receive this content information, carry out respective handling; Suppose again, in certain content information, geographical location information is building, No. 2nd, 1 region, push server is written as 1,2 by address parameter, and 0,0,0, mass-send together to all producers in 1 No. 2 building, region with content information, wherein 0 representative is all, all producers in 1 No. 2 building, region read after this address parameter, confirm to receive this content information; The present embodiment just illustrates a kind of implementation method, and parameter format also can use extended formatting;
S305: corresponding single or multiple information receives client and processes the content information that push server pushes.
The community information method for pushing advantage that the embodiment of the present invention one provides is:
(1) adopt propelling movement mode: real-time is good, in the normal situation of network, after information sends, information receives client and can receive very soon message; Client logic is simpler than " pulling " mode, and the mode of pulling need to be done timing and pull operation, logically complicated than pushing, accordingly, push server will be more complex, but push server is the mode of " one-to-many ", so can save overall development cost.
(2) use WebSocket agreement interconnection technique: WebSocket agreement is a kind of agreement based on the long connection of TCP, text, transmit text data convenient, simple, client is easily developed debugging, and all primary support WebSocket agreements of main flow browser at present, the information that developer can develop easily based on Web receives client application.
(3) provide client, information to receive client to information respectively and carry out authentication, realized the fail safe protection to content information, can prevent that illegal producer from intercepting and capturing content information.
Embodiment bis-
In order further to strengthen the fail safe protection to content information; avoid invalid information to provide client to bring unnecessary puzzlement to the producer of community; the information that just up-to-date, producer is concerned about more accurately and effectively or prompting send to each producer of community, and the present embodiment has been done further improvement on the basis of embodiment mono-.
After step S103 in embodiment mono-, also comprise before step S104: push server to information provide client to carry out Permission Levels authentication, information provides the authentication of client end response Permission Levels.
Fig. 4 is that the push server that the embodiment of the present invention two provides provides client to carry out Permission Levels identifying procedure schematic diagram to information.Referring to Fig. 4, push server provides the detailed process that client is carried out Permission Levels authentication to be to information:
S401: push server reception information provides the content information of client push;
S402: storing each information in push server provides the Permission Levels information of client, push server is searched with information Permission Levels information corresponding to client provides, come accordingly to judge that information provides the content information of client push whether to allow pushed to information reception client: if within the scope allowing in push server, execution step S403, otherwise, execution step S404;
S403: push server is responsible for that the content information of reception is pushed to information and is received client;
S404: push server refusal pushes to information by the content information of reception and receives client.
Fig. 5 is that the information that the embodiment of the present invention two provides provides client end response Permission Levels identifying procedure schematic diagram.Referring to Fig. 5, information provides the detailed process of client end response Permission Levels authentication to be:
S501: information provides client to judge that content information pushes success or not: if success, execution step S502, otherwise, execution step S503;
S502: information provides client to carry out the propelling movement of next new content information;
S503: information provides whether client inspection is that network breaks down, if network breaks down, execution step S504, otherwise, execution step S505;
S504: information provides client to re-establish with the WebSocket of push server to be connected, pushes and did not push successful content information last time to push server;
S505: information provides client to be judged to be push server refusal and pushes content information, stops pushing and not pushing successful content information last time to push server.
In addition; consider network problem; possible push server temporarily cannot receive information and receive the WebSocket connection request that client is sent, and fails to provide the content information of client push to push to information information and receives client, and it is not online that for example Network Abnormal or information receive client.In the case, the present embodiment provides the content information of client push to be temporarily saved on the memory of push server information, again send WebSocket connection request also by after authentication to push server etc. information reception client, push server pushes to information by the content information not pushing and receives client.
In the present embodiment, push server provides client to carry out Permission Levels authentication to information, has realized the further fail safe protection to content information, the unnecessary puzzlement of having avoided invalid information to provide client to bring to the producer of community; When the network push server that breaks down cannot push to content information information and receives when client, push server is temporarily preserved content information, make in the time carrying out information pushing, to there is good fault tolerance, more accurately and effectively content information is pushed to each producer of community.
Embodiment tri-
Fig. 6 is a kind of information transmission system schematic diagram that the embodiment of the present invention three provides.Referring to Fig. 6, this information transmission system comprises: information provides client 61, push server 62, information to receive client 63;
Information provides client 61, for push self identity information and content information to push server 62;
Push server 62, carries out authentication for provide client 61, information to receive client 63 to information, and the content information that provides client 61 to push information is pushed to information and receives client 63;
Information receives client 63, for push the identity information of self to push server 62, receives the content information from push server 62.
Wherein, push server 62 comprises:
Communication interface modules 621, provides client 61, information to receive client 63 and communicate for connecting by WebSocket with information, and the content information that provides client 61 to push information is pushed to information and receives client 63;
Client-side information administration module 622, provides client 61, information to receive client 63 identity informations for managing self canned data;
Client-side information authentication module 623, carries out authentication for provide client 61, information to receive client 63 to information.
Information provides client 61 and information reception client 63 all to can be one or more; The identity information that information provides client 61, information to receive client 63 is all included in HTTP header; Content information comprises that information receives client appointed information, and information receives client appointed information and further comprises that information receives geographical location information or the IP address information of client 63.
Client-side information authentication module 623 provides client 61 to carry out authentication to information specifically to comprise:
Client-side information authentication module 623 reads the identity information that in communication interface modules 621, information provides client 61 to send, whether consistent by the identity information that relatively client-side information administration module 622 canned datas provide client 61 identity informations and information to provide client 61 to send, provide client 61 to authenticate to information: if consistent, client-side information authentication module 623 provides the authentication of client 61 to pass through to information, communication interface modules 621 provides client 61 to send the message of successful connection to information, and both sides safeguard connection; Otherwise communication interface modules 621 provides client 61 to send the message of connection failure to information, both sides disconnect, and information provides client 61 to carry out mistake and processes.
The above-mentioned information relating to provides identity information, client-side information administration module 622 canned datas of client 61 self to provide client 61 identity informations, and any one in the various forms such as producer's name, password, equipment Serial Number of client 61 can employing information be provided.
Client-side information authentication module 623 receives the authentication of client 63 to information, with providing the authentication of client 61 similar to information, only need provide client 61 to carry out the information of authentication in specifically comprising to information above-mentioned client-side information authentication module 623 provides client 61 to replace with information to receive client 63, repeat no more here.
The content information that communication interface modules 621 provides client 61 to push information is pushed to information reception client 63 and specifically comprises:
Communication interface modules 621 provides the information in the content information that client 61 pushes to receive client appointed information according to information: geographical location information or IP address information, it is that single information receives client or multiple information receives client that judgement information receives client 63, if single information receives client, communication interface modules 201 receives the IP address information of client 63 according to information, receive client 63 push content information to information; Be that multiple information receives client else if, communication interface modules 621 receives the geographical location information of client 63 according to information, adopts the mode of address parameter, receives client 63 push content information to information.
The present embodiment and embodiment mono-belong to same inventive concept, receive the mode that adopts address parameter when client 63 is multiple information reception client about information, the detailed description that pushes content information to information reception client 63, can, referring to embodiment mono-, repeat no more here.
The information transmission system that the present embodiment provides can be real-time by content information up-to-date, that producer is concerned about or remind each producer who pushes to community by existing community network; the client-side information authentication module 623 of push server 62 can provide client 61, information reception client 63 to carry out authentication to information; realize the fail safe protection to community information, can prevent that illegal producer from intercepting and capturing content information.
Embodiment tetra-
In order further to strengthen the fail safe protection to content information; avoid invalid information to provide client to bring unnecessary puzzlement to the producer of community; each producer who more accurately and effectively information up-to-date, that producer is concerned about or prompting is sent to community, the present embodiment has been done further improvement on the basis of embodiment tri-.
Fig. 7 is a kind of information transmission system that embodiment tetra-provides.Referring to Fig. 7, this information transmission system comprises: information provides client 71, push server 72, information to receive client 73;
Information provides client 71, for push self identity information and content information to push server 72;
Push server 72, carries out authentication and Permission Levels authentication for provide client 71, information to receive client 73 to information, and the content information that provides client 71 to push information is pushed to information and receives client 73;
Information receives client 73, for push the identity information of self to push server 72, receives the content information from push server 72.
Wherein, push server 72 comprises:
Communication interface modules 721, provides client 71, information to receive client 73 and communicate for connecting by WebSocket with information, and the content information that provides client 71 to push information is pushed to information and receives client 73;
Client-side information administration module 722, provides client 71, information to receive client 73 identity informations and information provides client 71 Permission Levels information for managing self canned data;
Client-side information authentication module 723, carries out authentication and Permission Levels authentication for provide client 71, information to receive client 73 to information;
Information temporary storage module 724, in the time that network breaks down, the content information that temporarily storage information provides client 71 to push.
Information provides client 71 and information reception client 73 all to can be one or more; The identity information that information provides client 71, information to receive client 73 is all included in HTTP header; Content information comprises that information receives client appointed information, and information receives client appointed information and further comprises that information receives geographical location information or the IP address information of client 73.
Client-side information authentication module 723 provides client 71, information to receive the authentication of client 73 to information, identical with the authentication that client-side information authentication module 623 in embodiment tri-provides client 61, information to receive client 63 to information, repeat no more here.
The content information that communication interface modules 721 provides client 71 to push information is pushed to information and receives client 73, with the content information that in embodiment tri-, communication interface modules 621 provides client 61 to push information be pushed to information receive client 63 identical, repeat no more here.
Compared with embodiment tri-, client-side information authentication module 723, except for provide client 71, information to receive the authentication of client 73 to information, also authenticates for the Permission Levels that information provided to client 71.
Client-side information authentication module 723 provides the Permission Levels authentication of client 71 specifically to comprise to information:
Client-side information authentication module 723 is searched with information and Permission Levels information corresponding to client 71 is provided from client-side information administration module 722, come accordingly to judge information provides the content information that client 71 pushes whether to allow pushed to information reception client 73: if within the scope allowing at client-side information authentication module 723, communication interface modules 721 is responsible for that the content information of reception is pushed to information and is received client 73; Otherwise communication interface modules 721 is refused that the content information of reception is pushed to information and is received client.
Information provides client 71 to respond Permission Levels authentications specifically to comprise:
Information provides client 71 to judge that content information pushes success or not: if success, information provides client 71 to carry out the propelling movement of next new content information; Otherwise, whether information provides client 71 to check is that network breaks down, if network breaks down, information provides client 71 to re-establish with the WebSocket of communication interface modules 721 to be connected, to push and do not push successful content information last time to communication interface modules 721; If be not that network breaks down, information provides client 71 to be judged to be communication interface modules 721 refusals and pushes content information, stops pushing this content information to communication interface modules 721.
In addition; consider network problem; communication interface modules 721 in possible push server 72 temporarily cannot be set up with the WebSocket of information reception client 73 and be connected; the content information of failing information to provide client 71 to push pushes to information reception client 73, and it is not online that for example Network Abnormal or information receive client 73.In the case, the content information that the temporary transient preservation information of information temporary storage module 724 in the present embodiment push server 72 provides client 71 to push, receive client 73 and again set up WebSocket with communication interface modules 721 and be connected etc. information, and by after the authentication of client-side information authentication module 723, communication interface modules 721 pushes to information by temporary transient information temporary storage module 724 content information of preserving and receives client 73.
In the present embodiment, client-side information authentication module 723 provides client 71 to carry out Permission Levels authentication to information, has realized the further fail safe protection to content information, the unnecessary puzzlement of having avoided invalid information to provide client to bring to the producer of community; When the network communication interface modules 721 that breaks down cannot push to content information information and receives when client, the temporary transient content information of preserving of information temporary storage module 724, make information transmission system there is good fault tolerance, can more accurately and effectively content information be pushed to each producer of community.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (11)

1. an information-pushing method, is characterized in that, described method comprises:
S1: information provides client and the foundation of information reception client to be connected with the WebSocket of push server;
S2: described information provides client to send the identity information of self to described push server, the identity information that described push server provides client identity information and described information to provide client to send by more described push server canned data, provides client to carry out authentication to described information;
S3: described information provides client after by authentication, pushes content information to described push server;
S4: described push server provides the content information of client push to push to described information described information and receives client;
Wherein, to provide client and information to receive client can be all one or more to described information.
2. information-pushing method according to claim 1, is characterized in that, described step S2 also comprises:
Described information receives the identity information of client to described push server transmission self;
Described push server receives client identity information by more described push server canned data and described information receives the identity information that client sends, and described information is received to client and carry out authentication;
Described step S4 specifically comprises:
After the authentication of described information reception client identity is passed through, described push server provides the content information of client push to push to described information described information and receives client.
3. information-pushing method according to claim 2, is characterized in that, the identity information that described information provides client and described information to receive client sends as HTTP header.
4. information-pushing method according to claim 1, is characterized in that, after described step S3, before step S4, also comprises:
Described push server receives described information provides the content information of client push;
Described push server provides client Permission Levels information according to self canned data, judge whether described content information is allowed to push to described information and receives client, if, described push server is responsible for to content information described in described information reception client push, otherwise described push server refusal is to content information described in described information reception client push.
5. according to the arbitrary described information-pushing method of claim 1-4, it is characterized in that, described content information comprises that information receives client appointed information;
Described push server receives client appointed information according to described information, to content information described in described information reception client push.
6. information-pushing method according to claim 5, is characterized in that, described information receives client appointed information and comprises that information receives geographical location information or the IP address information of client;
Wherein, the geographical location information that described information receives client comprises one or more in region, Lou Dong, unit, floor and room number.
7. information-pushing method as claimed in claim 1, is characterized in that, in the time that network breaks down, described push server provides the content information of client push to be temporarily kept on the memory of described push server described information.
8. an information transmission system, is characterized in that, described system comprises: information provides client, push server, information to receive client;
Described information provides client, for pushing content information to described push server;
Described push server, receives client for described information being provided the described content information of client push push to described information;
Described information receives client, the described content information pushing for receiving described push server;
Wherein, it can be all one or more that described information provides client and information to receive client, and described push server comprises:
Communication interface modules, for providing client and described information to receive client communication with described information, provides the described content information of client push to push to described information described information and receives client;
Client-side information administration module, provides client and/or described information reception client identity information and/or described information that client Permission Levels information is provided for managing the described information of self storing;
Client-side information authentication module, provide client identity information to provide client to carry out authentication to described information for the described information of storing according to described client-side information administration module, and/or provide client Permission Levels information to provide client to carry out Permission Levels authentication to described information according to described information, and/or according to the described information reception client identity information of described client-side information administration module storage, described information reception client is carried out to authentication.
9. information transmission system as claimed in claim 8, is characterized in that, communication interface modules provides client and described information to receive client communication for connecting by WebSocket with described information.
10. information transmission system as claimed in claim 8, it is characterized in that, described client-side information authentication module provides client Permission Levels information to provide client to carry out Permission Levels authentication to institute's information according to the described information of storing in described client-side information administration module specifically to comprise:
Client-side information authentication module provides client Permission Levels information according to the described information of storing in described client-side information administration module, judge that described information provides the described content information of client push whether to be allowed to push to described information and receives client, if, described communication interface modules is responsible for to content information described in described information reception client push, otherwise described communication interface modules refusal is to content information described in described information reception client push.
11. information transmission systems as claimed in claim 8, is characterized in that, described push server also comprises:
Information temporary storage module, in the time that network breaks down, temporarily storing described information provides the described content information of client push.
CN201210583064.XA 2012-12-27 2012-12-27 Information pushing method and system Pending CN103905504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210583064.XA CN103905504A (en) 2012-12-27 2012-12-27 Information pushing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210583064.XA CN103905504A (en) 2012-12-27 2012-12-27 Information pushing method and system

Publications (1)

Publication Number Publication Date
CN103905504A true CN103905504A (en) 2014-07-02

Family

ID=50996659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210583064.XA Pending CN103905504A (en) 2012-12-27 2012-12-27 Information pushing method and system

Country Status (1)

Country Link
CN (1) CN103905504A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252524A (en) * 2014-08-28 2014-12-31 重庆智韬信息技术中心 Automatic data matching and pushing method for mobile terminals
CN104486639A (en) * 2014-12-16 2015-04-01 成都驰通数码系统有限公司 Community information publication mechanism and publication system
CN104796473A (en) * 2015-04-21 2015-07-22 努比亚技术有限公司 Cross-platform information push method and cross-platform information push system
WO2015149471A1 (en) * 2014-04-04 2015-10-08 中兴通讯股份有限公司 Information pushing method, system and device and computer storage medium
CN105554020A (en) * 2016-01-12 2016-05-04 成都素颜信息技术有限公司 Real-time communication system based on socket.io and communication method thereof
CN105554055A (en) * 2015-10-27 2016-05-04 深圳市美贝壳科技有限公司 Community service system based on set top box
CN106209951A (en) * 2015-05-08 2016-12-07 北京娜迦信息科技发展有限公司 Information transferring method, client and server
CN106470386A (en) * 2015-08-19 2017-03-01 中兴通讯股份有限公司 A kind of near-field communication data transmission method and device
CN106534774A (en) * 2016-10-27 2017-03-22 四川九洲电器集团有限责任公司 Image transmission system
CN106899493A (en) * 2017-02-22 2017-06-27 广东网金控股股份有限公司 Based on information push method and its device that UDP and Https is realized
CN107241311A (en) * 2017-05-15 2017-10-10 北京微影时代科技有限公司 One kind selects seat method and device in real time
CN107634976A (en) * 2016-07-18 2018-01-26 阿里巴巴集团控股有限公司 Information push, acquisition, advertisement pushing, acquisition methods and device
CN107786623A (en) * 2016-09-20 2018-03-09 平安科技(深圳)有限公司 Message asynchronous processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373459A (en) * 2001-03-02 2002-10-09 北京金百冠投资顾问有限公司 Geographic address information labelling technique
CN101026466A (en) * 2006-02-22 2007-08-29 迈世亚(北京)科技有限公司 Data push method
CN101582148A (en) * 2009-04-29 2009-11-18 深圳市世纪凯旋科技有限公司 Putting advertising information method and device
CN102165477A (en) * 2008-09-26 2011-08-24 微软公司 Predictive geo-temporal advertisement targeting
US20110208570A1 (en) * 2010-02-24 2011-08-25 Dehai Kong Apparatus, system, and method for individualized and dynamic advertisement in cloud computing and web application
CN102497424A (en) * 2011-12-12 2012-06-13 创新科存储技术(深圳)有限公司 Method for achieving cloud storage through mobile storage device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373459A (en) * 2001-03-02 2002-10-09 北京金百冠投资顾问有限公司 Geographic address information labelling technique
CN101026466A (en) * 2006-02-22 2007-08-29 迈世亚(北京)科技有限公司 Data push method
CN102165477A (en) * 2008-09-26 2011-08-24 微软公司 Predictive geo-temporal advertisement targeting
CN101582148A (en) * 2009-04-29 2009-11-18 深圳市世纪凯旋科技有限公司 Putting advertising information method and device
US20110208570A1 (en) * 2010-02-24 2011-08-25 Dehai Kong Apparatus, system, and method for individualized and dynamic advertisement in cloud computing and web application
CN102497424A (en) * 2011-12-12 2012-06-13 创新科存储技术(深圳)有限公司 Method for achieving cloud storage through mobile storage device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015149471A1 (en) * 2014-04-04 2015-10-08 中兴通讯股份有限公司 Information pushing method, system and device and computer storage medium
CN104252524A (en) * 2014-08-28 2014-12-31 重庆智韬信息技术中心 Automatic data matching and pushing method for mobile terminals
CN104486639A (en) * 2014-12-16 2015-04-01 成都驰通数码系统有限公司 Community information publication mechanism and publication system
CN104796473A (en) * 2015-04-21 2015-07-22 努比亚技术有限公司 Cross-platform information push method and cross-platform information push system
CN106209951A (en) * 2015-05-08 2016-12-07 北京娜迦信息科技发展有限公司 Information transferring method, client and server
CN106470386A (en) * 2015-08-19 2017-03-01 中兴通讯股份有限公司 A kind of near-field communication data transmission method and device
CN105554055A (en) * 2015-10-27 2016-05-04 深圳市美贝壳科技有限公司 Community service system based on set top box
CN105554020A (en) * 2016-01-12 2016-05-04 成都素颜信息技术有限公司 Real-time communication system based on socket.io and communication method thereof
CN105554020B (en) * 2016-01-12 2019-01-08 成都阳帆网络科技有限公司 A kind of realtime communication system and its means of communication based on socket.io
CN107634976A (en) * 2016-07-18 2018-01-26 阿里巴巴集团控股有限公司 Information push, acquisition, advertisement pushing, acquisition methods and device
CN107634976B (en) * 2016-07-18 2020-10-16 阿里巴巴集团控股有限公司 Information pushing method, information obtaining method, advertisement pushing method, advertisement obtaining method and device
CN107786623A (en) * 2016-09-20 2018-03-09 平安科技(深圳)有限公司 Message asynchronous processing method and device
CN107786623B (en) * 2016-09-20 2021-03-30 平安科技(深圳)有限公司 Message asynchronous processing method and device
CN106534774A (en) * 2016-10-27 2017-03-22 四川九洲电器集团有限责任公司 Image transmission system
CN106899493A (en) * 2017-02-22 2017-06-27 广东网金控股股份有限公司 Based on information push method and its device that UDP and Https is realized
CN106899493B (en) * 2017-02-22 2020-04-24 广东网金控股股份有限公司 Message pushing method and device based on UDP and http
CN107241311A (en) * 2017-05-15 2017-10-10 北京微影时代科技有限公司 One kind selects seat method and device in real time

Similar Documents

Publication Publication Date Title
CN103905504A (en) Information pushing method and system
CN100525187C (en) Authentication method, terminal device, relay device and authentication server
CN101057460B (en) Server apparatus, mobile terminal
US10193848B2 (en) System and related method for management of devices of a network system via social media interfaces
US20150051717A1 (en) Methods and system for joining a smart energy device to a zigbee network
WO2012118639A4 (en) Remote monitoring systems for monitoring medical devices via wireless communication networks
CN102663545A (en) Power distribution network maintenance operation management system based on intelligent mobile phone
CN102364921A (en) Realization method and equipment for enterprise service bus and corresponding platform
CN103220292A (en) Cross-safe-area data transmission method and system
CN107612661A (en) Data communication method and device
US11095747B2 (en) Method and apparatus for receiving response information in M2M system
JP2010206426A (en) System and method for vpn connection
CN101567861B (en) Data synchronization method and application system between heterogeneous application systems
CN113099446B (en) Safety verification method and system for Beidou short message terminal
CN103856539A (en) Private cloud system, intelligent home system and home data protection method
CN105730694A (en) Control method for unmanned aerial vehicle and unmanned aerial vehicle system
CN103975568A (en) Security management system having multiple relay servers, and security management method
CN106992916A (en) A kind of electric power dispatching system and implementation method based on virtual private cloud
WO2019104465A1 (en) Wireless communication method, device and system, wireless communication equipment and recording medium
CN102484600A (en) Mobile node assignement to a router in a wpan
CN107592639A (en) A kind of terminal device adds the method and system of router white list
JP5512641B2 (en) Wireless terminal, emergency information distribution system, and program
CN103684837B (en) Backup processing method, system and the back-up processing server of communication information
CN112351066A (en) Information bidirectional transmission method and system based on unidirectional optical gate
KR100942694B1 (en) Co-operating apparatus using Peer to Peer and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140702

RJ01 Rejection of invention patent application after publication