CN102170409A - A method and a system of instant messaging on webpages based on flash - Google Patents

A method and a system of instant messaging on webpages based on flash Download PDF

Info

Publication number
CN102170409A
CN102170409A CN2011101069392A CN201110106939A CN102170409A CN 102170409 A CN102170409 A CN 102170409A CN 2011101069392 A CN2011101069392 A CN 2011101069392A CN 201110106939 A CN201110106939 A CN 201110106939A CN 102170409 A CN102170409 A CN 102170409A
Authority
CN
China
Prior art keywords
source user
communication information
targeted customer
communication server
authority
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
CN2011101069392A
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network 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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2011101069392A priority Critical patent/CN102170409A/en
Publication of CN102170409A publication Critical patent/CN102170409A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a system of instant messaging on webpages based on flash and is applied to the field of network techniques. The method is characterized in that a messaging server authenticates permission after receiving a message sent by a source user; after the authentication is passed, authenticates the permission of receiving the message of a target user; and after the authentication is passed, sends the message to the target user. The invention realizes the instant messaging and message safety without the need for downloading and installing software.

Description

On a kind of webpage based on the method and system of the instant messaging of flash
Technical field
The invention belongs to networking technology area, relate in particular on a kind of webpage method and system based on the instant messaging of Flash.
Background technology
Arrival along with the Internet Age, the variation of matter has all taken place in people's live and work mode, the interconnectivity of internet, the characteristics open and information of sharing have been broken the traditional mode that information is propagated, and make people obtain the approach diversification more of information, and the content of obtaining information is abundanter.Along with the development of Internet technology, people can stay indoors just realize with good friend's chat, with instant messaging activity such as affiliate's negotiation.Current, the immediate communication tool that downloads and installs based on needs, as: QQ, MSN and POPO etc. have been subjected to liking of users deeply, these immediate communication tools provide new approach for people's information interchange, it is another the important information interchange mode except that mobile phone, fixed line and Email, by these instruments, make that the interchange cost between the people reduces greatly, and improved the efficient that exchanges.Yet, the user of these above-mentioned immediate communication tools must download and install correspondent customer terminal software, because the installation process of these client softwares is comparatively loaded down with trivial details, never used this class instrument and not frequent computed user to bring very big inconvenience.
And the immediate communication tool software of current client downloads is increasing, reaches 32.6MB such as QQ2010 software, and MSN software reaches 11.2MB, has taken no small computer memory space; Simultaneously, because the network security problem that brings also can perplex the user down; In addition, (as chat record etc.) all is stored in the computer terminal because all data messages, in case changed computer reasons such as (as) going on business or reinstalled software, the user can't obtain original data message, very inconvenience; And the present network terminal has spread to instruments such as mobile phone, requires higher for the instantaneity of instant messaging and the memory space of instrument.So people have just had such demand: need not to download and install any software, can realize instant messaging once opening webpage, and all data messages can be safely stored on the webpage.
Though the communication modes on some webpages has also appearred on the network, such as message board, forum etc., and, its common deficiency is: instantaneity is too poor, can't realize webpage version audio frequency and video, is difficult to satisfy the instant demand of linking up of people.
At present, can realize webpage version audio frequency and video technology (as fms or red5) though there is a kind of Internet video to share, it can't utilize user's bandwidth resources, to such an extent as to cause very big server and bandwidth pressure for the platform provider, cost sharply rises along with the increase of number of users, this is unfavorable for using on a large scale and promoting, to such an extent as to the product and the company of certain market scale do not appear possessing in present webpage version audio frequency and video.In addition, the communication information in the existing solution (as the audio frequency and video communication information) all is passive acceptance, can not authenticate control subjective, can cause occurring user's operation and true inconsistent phenomenon.
In addition, obtaining of existing information is passive often, does not authenticate control effectively, causes potential safety hazard easily.
Summary of the invention
Defective in view of above-mentioned prior art existence, main purpose of the present invention is the method and system that propose on a kind of webpage based on the instant messaging of Flash, realize need not download client software and just can on webpage, realize instant messaging, and can carry out the authentication control of communication information.
Main purpose of the present invention will be achieved by the following technical programs:
Based on the method for the instant messaging of Flash, comprise the steps: on a kind of webpage
The authority of the communication information that communication server sends the source user that receives authenticates and after authentication is passed through, and the authority that the targeted customer is received described communication information authenticates and after authentication is passed through, described communication information is sent to described targeted customer.
Based on the system of the instant messaging of Flash, comprise communication server, source user and targeted customer on a kind of webpage, wherein:
The authority of the communication information that communication server sends the source user that receives authenticates and after authentication is passed through, and the authority that the targeted customer is received described communication information authenticates and after authentication is passed through, described communication information is sent to described targeted customer.
Main purpose of the present invention is the method and system that propose on a kind of webpage based on the instant messaging of Flash, realized need not download client software and just can realize instant messaging on webpage, and the authentication that can carry out communication information is controlled.
Description of drawings
Fig. 1 be among the embodiment one on a kind of webpage based on the flow chart of the method for the instant messaging of Flash;
Fig. 2 be among the embodiment two on a kind of webpage based on the frame diagram of the system of the instant messaging of Flash.
Embodiment
Embodiment one
As shown in Figure 1, based on the method for the instant messaging of Flash, specifically comprise the steps: on a kind of webpage of specific embodiments of the invention
Step 101:Source user is opened webpage, and described webpage loads the Flash plug-in unit automatically, and described Flash plug-in unit and data processing server connect, and obtain key; The Flash plug-in unit also connects with communication server, and begins to monitor described communication server transfer of data.
Technique scheme is drawn together following process:
(1a) source user is opened webpage, and webpage loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up by the XMLSocket class and is connected with the permanent of communication server, and begins to monitor the transfer of data of described communication server;
(1b) the Flash plug-in unit of described source user is set up and being connected of data processing server by the Netconnection class, and begins to monitor the information of receiving, described data processing server sends extremely described Flash plug-in unit of the pairing unique key of source user.
Step 102:Described Flash plug-in unit is sent to described communication server with described source user number of the account ID and corresponding key, and described communication server is saved to a variables L ist with described source user number of the account ID and corresponding key.
Technique scheme comprises following process:
(2a) the Flash plug-in unit on the described source user webpage is sent to communication server with source user number of the account ID and corresponding key;
(2b) described communication server is saved to a variables L ist with described source user number of the account ID and corresponding key.
Step 103:The Flash plug-in unit of described source user sends to described communication server with targeted customer's number of the account ID, described communication server is sent to the Flash plug-in unit of described source user with the key of described targeted customer's number of the account ID correspondence, and the Flash plug-in unit of described source user is sent to communication server according to targeted customer's number of the account ID and corresponding key with communication information.
(3a) interface of the described Flash plug-in unit of javascript code call in the described source user webpage sends to described communication server with information such as targeted customer's number of the account ID;
(3b) described communication server receives the information that described source user is sent, and query interface List returns the pairing key of described targeted customer's number of the account ID to the Flash plug-in unit in the described source user webpage;
(3c) the Flash plug-in unit in the described source user webpage is sent to described communication server by Netconnection, described targeted customer's number of the account ID and pairing key with communication information.
Step 104:After described communication server receives communication information, described communication information is authenticated, and after authentication is passed through, described communication information is sent to described targeted customer.
Technique scheme specifically comprises following process:
After (4a) described communication server receives described communication information, described source user identity is authenticated, promptly whether source user is the validated user that communication server is discerned, if authentication is not passed through, then simultaneous operation is ended, if authentication is passed through, then proceeds next step authentication;
(4b) authority to the communication information of described source user authenticates, be whether source user has the authority that sends communication information (as: audio/video information instruction, document transmission information command), if authentication is not passed through, then simultaneous operation is ended, if authentication is passed through, then proceed next step authentication;
(4c) the operated target of the communication information of described source user is carried out purview certification, be whether the information command that source user sends has the authority of visiting described targeted customer, if authentication is not passed through, then simultaneous operation is ended, if authentication is passed through, then proceed next step authentication;
(4d) described targeted customer authenticates the authority of the communication information of described source user, promptly the communication information that whether allows the reception sources user to send to the targeted customer authenticates, if authentication is not passed through, then simultaneous operation is ended, if after authentication was passed through, then described communication server sent to the targeted customer with described communication information.
Step 105:Described targeted customer receives communication information, and communication information is shown on the webpage.
Technique scheme specifically comprises following process:
After described targeted customer's Flash plug-in unit was received communication information, the javascript interface that calls on described targeted customer's webpage showed described communication information on described targeted customer's webpage.
Embodiment two
As shown in Figure 2, based on the system of the instant messaging of Flash, comprise communication server, source user and targeted customer on a kind of webpage of specific embodiments of the invention, wherein:
The authority of the communication information that communication server sends the source user that receives authenticates and after authentication is passed through, and the authority that the targeted customer is received described communication information authenticates and after authentication is passed through, described communication information is sent to described targeted customer.
Preferably, before the authority of the communication information that communication server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates; The authority of the communication information that described communication server sends the source user that receives authenticates and after authentication is passed through, also described source user is instructed operated target purview certification, the authority whether described communication information that promptly described source user sends can visit described targeted customer.
Introduce the operation principle of present embodiment below with reference to the accompanying drawings in detail:
Source user A opens webpage, and described webpage loads the Flash plug-in unit automatically, and described Flash plug-in unit and data processing server connect, and obtain key; Described Flash plug-in unit also connects with communication server, and begins to monitor described communication server transfer of data.
The Flash plug-in unit of described source user A is sent to described communication server with number of the account ID and the corresponding key of described source user A, and described communication server is saved to number of the account ID and the key of described source user A among the one variables L ist.
The Flash plug-in unit of described source user sends to described communication server with targeted customer's number of the account ID, described communication server is sent to the Flash plug-in unit of described source user with the key of described targeted customer's correspondence, and the Flash plug-in unit of described source user is sent to described communication server according to targeted customer's number of the account ID and corresponding key with communication information.
After described communication server receives described communication information, authenticate, authentication includes but not limited to: the source user authentication, data command purview certification (whether source user has the authority that sends communication information), the operated target purview certification of source user communication information (authority whether this communication information that source user sends can the access destination user), the targeted customer instructs purview certification (whether the targeted customer has the authority of this communication information that the reception sources user sends) to source user, after all authentications were passed through, described communication server was transmitted to other targeted customer B with described communication information, C.
After targeted customer B, C received communication information, the javascript interface that calls on described targeted customer's webpage showed described communication information on the webpage of described targeted customer B, C.
Wherein, user B, C, and user A, B, any two or three of C send communication information simultaneously, the transmission of communication information and the process of authentication are the same, do not repeat them here.
Compared with prior art, beneficial effect of the present invention is:
(1) need not to download and install any software, can on webpage, realize instant messaging, reduce inconvenience; (2) memory space of saving computer improves network environment safety simultaneously; (3) have high instantaneity, nothing hysteresis, be fit to very much the application of network audio-video; (4) maximally utilise the bandwidth resources that the user is left unused, greatly alleviated server and bandwidth pressure; (5) be fit to comprise the use of any network terminal of PC; (6) technology realizes simple, clear thinking, and the utilization threshold is low, and technical being easy to popularized and be accepted; (7) server carries out the strictness authentication to authority, guarantees safety of data, and the user is not subjected to the interference of extraneous information.
The present invention still has multiple concrete execution mode, and all employings are equal to replacement or equivalent transformation and all technical schemes of forming, all drop within the scope of protection of present invention.

Claims (10)

  1. On the webpage based on the method for the instant messaging of Flash, it is characterized in that:
    The authority of the communication information that communication server sends the source user that receives authenticates and after authentication is passed through, and the authority that the targeted customer is received described communication information authenticates and after authentication is passed through, described communication information is sent to described targeted customer.
  2. 2. method according to claim 1 is characterized in that: before the authority of the communication information that communication server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates.
  3. 3. method according to claim 1, it is characterized in that: the authority of the communication information that communication server sends the source user that receives authenticates and after authentication is passed through, also described source user is instructed operated target purview certification, the authority whether described communication information that promptly described source user sends can visit described targeted customer authenticates.
  4. 4. method according to claim 1, it is characterized in that: communication server obtains before the communication information, also comprise: source user is opened webpage, described webpage loads the Flash plug-in unit automatically, described Flash plug-in unit is set up with described communication server and forever is connected, and begins to monitor the transfer of data of described communication server; And described Flash plug-in unit and data processing server connect, and obtain key from described data processing server.
  5. 5. method according to claim 4 is characterized in that: call the application programming interface API of described Flash plug-in unit, described source user number of the account ID and key are sent to described communication server; Described communication server is saved to described source user number of the account ID and corresponding key in one variable.
  6. 6. method according to claim 5, it is characterized in that: the application programming interface API that calls described Flash plug-in unit, described targeted customer's number of the account ID is sent to communication server, and described communication server is sent to the key of described targeted customer's number of the account ID correspondence the Flash plug-in unit of described source user.
  7. 7. method according to claim 6 is characterized in that: the Flash plug-in unit of described source user is sent to described communication server according to the key of the described targeted customer's number of the account ID correspondence that receives with communication information.
  8. 8. method according to claim 1, it is characterized in that: described targeted customer receives before the described communication information, also comprise: described targeted customer opens webpage, described webpage loads the Flash plug-in unit automatically, described Flash plug-in unit is set up with described communication server and forever is connected, and described Flash plug-in unit begins to monitor the transfer of data of described communication server.
  9. On the webpage based on the system of the instant messaging of Flash, it is characterized in that: comprise communication server, source user and targeted customer, wherein:
    The authority of the communication information that communication server sends the source user that receives authenticates and after authentication is passed through, and the authority that the targeted customer is received described communication information authenticates and after authentication is passed through, described communication information is sent to described targeted customer.
  10. 10. system according to claim 8 is characterized in that:
    Before the authority of the communication information that communication server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates; The authority of the communication information that described communication server sends the source user that receives authenticates and after authentication is passed through, also described source user is instructed operated target purview certification, the authority whether described communication information that promptly described source user sends can visit described targeted customer.
CN2011101069392A 2011-04-27 2011-04-27 A method and a system of instant messaging on webpages based on flash Pending CN102170409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101069392A CN102170409A (en) 2011-04-27 2011-04-27 A method and a system of instant messaging on webpages based on flash

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101069392A CN102170409A (en) 2011-04-27 2011-04-27 A method and a system of instant messaging on webpages based on flash

Publications (1)

Publication Number Publication Date
CN102170409A true CN102170409A (en) 2011-08-31

Family

ID=44491391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101069392A Pending CN102170409A (en) 2011-04-27 2011-04-27 A method and a system of instant messaging on webpages based on flash

Country Status (1)

Country Link
CN (1) CN102170409A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375408A (en) * 2016-08-30 2017-02-01 武汉恒力鼎立科技有限公司 Communication system based on internet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705299A (en) * 2004-05-27 2005-12-07 腾讯科技(深圳)有限公司 Method for controlling instant messages in instant messaging system
CN101867621A (en) * 2010-07-02 2010-10-20 苏州阔地网络科技有限公司 Method for realizing p2p communication on webpage
CN101883058A (en) * 2010-07-02 2010-11-10 苏州阔地网络科技有限公司 General method for realizing group communication on webpage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705299A (en) * 2004-05-27 2005-12-07 腾讯科技(深圳)有限公司 Method for controlling instant messages in instant messaging system
CN101867621A (en) * 2010-07-02 2010-10-20 苏州阔地网络科技有限公司 Method for realizing p2p communication on webpage
CN101883058A (en) * 2010-07-02 2010-11-10 苏州阔地网络科技有限公司 General method for realizing group communication on webpage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375408A (en) * 2016-08-30 2017-02-01 武汉恒力鼎立科技有限公司 Communication system based on internet

Similar Documents

Publication Publication Date Title
CN101217554B (en) An instant communication method realized on website
KR102642108B1 (en) Greeting protocol system and method for communicating using a private overlay peer-to-peer network
JP6515207B2 (en) Internet access authentication method and client, and computer storage medium
CN103067340B (en) The method for authenticating of remote control network information household appliances and system, the Internet home gateway
CN102307215A (en) Method for peer-to-peer (p2p) communication
CN104660714A (en) Remote control method, remote control device and remote control system of terminal equipment
US10097555B2 (en) Device-to-device network membership confirmation
CN102075455A (en) Instant communication method
KR20120091438A (en) Agent-less follow-me service for cloud-based applications
WO2017052357A1 (en) A type of humanized smart home network gateway and access method
CN102316149A (en) P2p (peer-to-peer) video communication method
CN102185699A (en) Group information interaction method and system for community platform
CN102185701A (en) Method and system for realizing group information interaction
CN104639421A (en) Instant communication information processing method and instant communication information processing system based on intelligent television
CN102137038A (en) Group information interaction method and system based on community platform
CN102137044A (en) Method and system for safely interacting group information based on community platform
CN102164041A (en) Webpage-based netmeeting method and system
CN102137035A (en) Method and system for realizing group information interaction based on community platform
CN102130971A (en) Method and system for realizing peer-to-peer (P2P) communication on webpage
CN102170409A (en) A method and a system of instant messaging on webpages based on flash
CN102185848A (en) Webpage-based audio and video communication method and system
CN105743891A (en) Networking method and device, server and router
CN102137120A (en) Method and system for group communication
CN102185795A (en) Method and system for realizing group communication on community platform
CN102130923A (en) Method and system for achieving group communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110831