CN104348705A - Picture group sending data processing method based on enterprise instant communication platform - Google Patents

Picture group sending data processing method based on enterprise instant communication platform Download PDF

Info

Publication number
CN104348705A
CN104348705A CN201310333016.XA CN201310333016A CN104348705A CN 104348705 A CN104348705 A CN 104348705A CN 201310333016 A CN201310333016 A CN 201310333016A CN 104348705 A CN104348705 A CN 104348705A
Authority
CN
China
Prior art keywords
picture
client
server
pictorial information
information
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
CN201310333016.XA
Other languages
Chinese (zh)
Other versions
CN104348705B (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.)
Nantong Aimu Network Technology Co ltd
Original Assignee
SHANGHAI YUNMU 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 SHANGHAI YUNMU NETWORK TECHNOLOGY Co Ltd filed Critical SHANGHAI YUNMU NETWORK TECHNOLOGY Co Ltd
Priority to CN201310333016.XA priority Critical patent/CN104348705B/en
Publication of CN104348705A publication Critical patent/CN104348705A/en
Application granted granted Critical
Publication of CN104348705B publication Critical patent/CN104348705B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a picture group sending data processing method based on an enterprise instant communication platform. The method comprises the steps that picture information is received by a server firstly and information for receiving pictures is sent to all client-terminals in sub-networks; and the picture information is acquired from a certain client-terminal in the same sub-network firstly when the picture information is received by all the client-terminals and successful acquisition within a preset period of time is judged, and the picture information is acquired from the server if the judgment result is no. Compared with methods in the prior art, existing defects of picture sensing in groups are overcome, picture sending and presenting speed is enhanced, network bandwidth occupation of intranet users is reduced and thus normal use of an enterprise network is guaranteed.

Description

Based on the picture mass-sending data processing method of enterprise instant communication platform
Technical field
The present invention relates to a kind of image data processing method, especially relate to a kind of picture based on enterprise instant communication platform mass-sending data processing method.
Background technology
Enterprise instant communication is a kind of network communication service for enterprise clerical workforce, and the content of communication comprises word, picture, voice, video and file and sends out mutually.Wherein picture is a kind of form of expression intuitively expressing the true idea of communication person, and enterprise such in many ways link up in send that picture generally uses often in group.
In the group of existing enterprise's immediate communication tool, transmission picture is normally realized by such pattern: the sender of picture sends the request sending picture to server, and by this picture uploading to server, then each recipient downloads this picture from server after receiving instruction respectively.User's major part due to enterprise instant communication tool is the enterprise clerical workforce in same local area network (LAN), their community network bandwidth, if each user is from server download pictures, so will certainly take a lot of bandwidth within a period of time, not only picture is downloaded and the speed that presents can be very slow, but also can affect the normal use of other users to the network bandwidth.
Summary of the invention
Object of the present invention be exactly in order to overcome above-mentioned prior art exist defect and provide a kind of picture based on enterprise instant communication platform mass-send data processing method, not only overcome in existing group send picture drawback, also improve the speed that picture sends and presents, reduce Intranet user taking the network bandwidth, to ensure the normal use of enterprise network.
Object of the present invention can be achieved through the following technical solutions:
A kind of mass-sending of the picture based on enterprise instant communication platform data processing method, first the method receives pictorial information by server and to the message of each client transmission and reception picture in subnet, each client preferentially obtains this pictorial information from a certain client in same subnet when receiving pictorial information, and judge whether obtain successfully in setting-up time, if not, then this pictorial information is obtained from server.
The method specifically comprises the following steps:
1) in subnet, a user end to server sends the request sending picture, and pictorial information is transferred to server;
2) server is by the message of Tcp to other client broadcast " reception picture " in subnet;
3) after client receives the message of " reception picture " in subnet, judge whether this locality exists this picture, if so, then obtain pictorial information according to the local store path of this picture, if not, then perform step 4);
4) judge whether to download this picture, if, then perform step 5), if not, then send apply for information by Udp other client in subnet, and judge whether to receive within the setting response time to receive the response, if so, then send link information and connect corresponding client acquisition pictorial information, and perform step 5), if not, then step 6 is performed);
5) judge whether successfully obtain picture within setting download time, if not, then obtain this pictorial information from server;
6) judge whether picture is off-line picture, if so, then obtains this pictorial information from server, if not, then obtain this pictorial information from a certain client in same subnet.
Described step 6) in same subnet a certain client place obtain pictorial information and be specially:
61) select client in several subnets representatively, represent and obtain pictorial information from server, and send announcement information by broadcast to other client except representative;
62) client receiving announcement information judges whether and represents in same a group, if so, then connects and represents and obtain pictorial information, perform step 63), if not, then ignore this announcement information;
63) judge whether successfully obtain picture within setting download time, if not, then obtain this pictorial information from server.
The described setting response time is 3 seconds.
Described setting download time is 10 ~ 15 seconds.
The number of described representative is three.
Compared with prior art, the present invention has the following advantages:
1) speed that picture sends and presents is improved.The self adaptation p 2 p technology of the present invention in units of subnet, the mode using udp broadcast+nat to penetrate, achieves the technology that picture in subnet is distributed fast, enhances Consumer's Experience, improve the download of picture, the speed of display.
2) taking of user network bandwidth is reduced.The quick ways of distribution of picture in the subnet that the present invention adopts, can also reduce user's taking community network bandwidth in subnet, and efficiently avoid the network bandwidth OL is problem.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.The present embodiment is implemented premised on technical solution of the present invention, but protection scope of the present invention is not limited to following embodiment.
A kind of mass-sending of the picture based on enterprise instant communication platform data processing method, first the method receives pictorial information by server and to the message of each client transmission and reception picture in subnet, each client preferentially obtains this pictorial information from a certain client in same subnet when receiving pictorial information, and judge whether obtain successfully in setting-up time, if not, then this pictorial information is obtained from server.The method is sent the request sending picture by user end to server a certain in group, and this picture is submitted to server, then other clients or from server download pictures or obtain picture from client in other groups of subnet and show in group, specifically comprise the following steps:
1) in subnet, a user end to server sends the request sending picture, and pictorial information is transferred to server;
2) server is by the message of Tcp to other client broadcast " reception picture " in subnet;
3) after client receives the message of " reception picture " in subnet, judge whether this locality exists this picture, if so, then obtain pictorial information according to the local store path of this picture, if not, then perform step 4);
4) judge whether to download this picture, if, then perform step 5), if not, then send apply for information by Udp other client in subnet, and judge whether to receive in 3 seconds to receive the response, if so, then send link information and connect corresponding client acquisition pictorial information, and perform step 5), if not, then step 6 is performed);
5) judge whether successfully obtained picture in 15 seconds, if not, then obtain this pictorial information from server;
6) judge whether picture is off-line picture, if so, then obtains this pictorial information from server, if not, then obtain this pictorial information from a certain client in same subnet, be specially:
61) select client in several subnets representatively, represent and obtain pictorial information from server, and send announcement information by broadcast to other client except representative;
62) client receiving announcement information judges whether and represents in same a group, if so, then connects and represents and obtain pictorial information, perform step 63), if not, then ignore this announcement information;
63) judge whether successfully obtained picture in 10 seconds, if not, then obtain this pictorial information from server.
Now there is the group of 50 people for one, be described in detail in conjunction with flow chart as shown in Figure 1:
In step S101, the customer end A in group sends the request sending picture to Http server, and by this picture uploading to Http server;
In step s 102, connection server, broadcasts the message of " reception picture " to the customer end B in group, C, D with Tcp
In step s 103, customer end B, C, D in group ... after receiving the message from server " reception picture ", judge whether this locality exists this picture, if so, then perform step S104, file path is notified upper strata and obtains picture, if not, then step S105 is performed;
In step S105, when oneself this locality of client in group not this picture time, judge whether to download this picture, if so, then perform step S106, if do not obtain successful words in 15 seconds, go server to download immediately.If not, then step S107 is performed;
In step s 107, when in group, recipient is not downloading this picture, with Udp broadcast in subnet, in subnet, other client sends apply for information, inquires that who has this picture file, waits for that 3 seconds received and receive the response.If there is response, then perform step S108, connexon network users obtains picture, if unsuccessful acquisition in 15 seconds, goes server to download immediately; If without response, then perform step S109;
In step S109, in group, recipient other users in inquiry subnet, not after this picture, judge whether this picture lower is off-line picture, if so, then directly goes Http server to download; If not, then step S110 is performed;
In step s 110, in group, recipient finds this picture through above judgement it's not true in subnet, votes in Three Represents and downloads this picture from Http server;
In step S111, in group, recipient judges whether lower oneself be representative, if so, then performs step S112, if not, then performs step S113;
In step S112, selected representative, from Http server download pictures, has been downloaded rear Udp and has been broadcast to other client in subnet and sends out message, then performs step S114;
In step S113, be not chosen as the client of representative, wait represents download pictures, after representing successful download pictures, in group, other recipients obtain picture from representative office, and 10 seconds did not complete download, and in group, recipient is directly from Http server download pictures, if the stand-by period was more than 30 seconds, then in group recipient directly from Http server download pictures;
In step S114, after the client in subnet receives broadcast, under judgement whether in same a group, if so, then perform step S115, connect this user and obtain picture file, if not, then perform step S116, ignore this broadcast.

Claims (6)

1. the mass-sending of the picture based on an enterprise instant communication platform data processing method, it is characterized in that, first the method receives pictorial information by server and to the message of each client transmission and reception picture in subnet, each client preferentially obtains this pictorial information from a certain client in same subnet when receiving pictorial information, and judge whether obtain successfully in setting-up time, if not, then this pictorial information is obtained from server.
2. a kind of mass-sending of the picture based on enterprise instant communication platform data processing method according to claim 1, it is characterized in that, the method specifically comprises the following steps:
1) in subnet, a user end to server sends the request sending picture, and pictorial information is transferred to server;
2) server is by the message of Tcp to other client broadcast " reception picture " in subnet;
3) after client receives the message of " reception picture " in subnet, judge whether this locality exists this picture, if so, then obtain pictorial information according to the local store path of this picture, if not, then perform step 4);
4) judge whether to download this picture, if, then perform step 5), if not, then send apply for information by Udp other client in subnet, and judge whether to receive within the setting response time to receive the response, if so, then send link information and connect corresponding client acquisition pictorial information, and perform step 5), if not, then step 6 is performed);
5) judge whether successfully obtain picture within setting download time, if not, then obtain this pictorial information from server;
6) judge whether picture is off-line picture, if so, then obtains this pictorial information from server, if not, then obtain this pictorial information from a certain client in same subnet.
3. a kind of picture based on enterprise instant communication platform mass-sending data processing method according to claim 2, is characterized in that, described step 6) in same subnet a certain client place obtain pictorial information and be specially:
61) select client in several subnets representatively, represent and obtain pictorial information from server, and send announcement information by broadcast to other client except representative;
62) client receiving announcement information judges whether and represents in same a group, if so, then connects and represents and obtain pictorial information, perform step 63), if not, then ignore this announcement information;
63) judge whether successfully obtain picture within setting download time, if not, then obtain this pictorial information from server.
4. a kind of mass-sending of the picture based on enterprise instant communication platform data processing method according to claim 2, it is characterized in that, the described setting response time is 3 seconds.
5. a kind of mass-sending of the picture based on enterprise instant communication platform data processing method according to claim 3, it is characterized in that, described setting download time is 10 ~ 15 seconds.
6. a kind of mass-sending of the picture based on enterprise instant communication platform data processing method according to claim 3, it is characterized in that, the number of described representative is three.
CN201310333016.XA 2013-08-01 2013-08-01 Picture mass-sending data processing method based on enterprise instant communication platform Expired - Fee Related CN104348705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310333016.XA CN104348705B (en) 2013-08-01 2013-08-01 Picture mass-sending data processing method based on enterprise instant communication platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310333016.XA CN104348705B (en) 2013-08-01 2013-08-01 Picture mass-sending data processing method based on enterprise instant communication platform

Publications (2)

Publication Number Publication Date
CN104348705A true CN104348705A (en) 2015-02-11
CN104348705B CN104348705B (en) 2017-12-15

Family

ID=52503562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310333016.XA Expired - Fee Related CN104348705B (en) 2013-08-01 2013-08-01 Picture mass-sending data processing method based on enterprise instant communication platform

Country Status (1)

Country Link
CN (1) CN104348705B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295114A (en) * 2016-04-05 2017-10-24 北京京东尚科信息技术有限公司 Distributed Services addressing method and system
CN111970284A (en) * 2020-08-19 2020-11-20 网易(杭州)网络有限公司 Message processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039250A (en) * 2006-03-16 2007-09-19 腾讯科技(深圳)有限公司 Image sharing system and method
CN101127623A (en) * 2007-09-27 2008-02-20 腾讯科技(深圳)有限公司 Data processing method, device and system
CN102447642A (en) * 2010-09-30 2012-05-09 腾讯科技(深圳)有限公司 Method and device for managing messages and pictures based on IM (Instant Messaging) client
CN102457480A (en) * 2010-10-22 2012-05-16 江苏真云计算科技有限公司 Cloud computing safty architecture
US20120136943A1 (en) * 2010-11-25 2012-05-31 Infosys Technologies Limited Method and system for seamless interaction and content sharing across multiple networks
CN103179156A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Method, system and device for sharing pictures

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039250A (en) * 2006-03-16 2007-09-19 腾讯科技(深圳)有限公司 Image sharing system and method
CN101127623A (en) * 2007-09-27 2008-02-20 腾讯科技(深圳)有限公司 Data processing method, device and system
CN102447642A (en) * 2010-09-30 2012-05-09 腾讯科技(深圳)有限公司 Method and device for managing messages and pictures based on IM (Instant Messaging) client
CN102457480A (en) * 2010-10-22 2012-05-16 江苏真云计算科技有限公司 Cloud computing safty architecture
US20120136943A1 (en) * 2010-11-25 2012-05-31 Infosys Technologies Limited Method and system for seamless interaction and content sharing across multiple networks
CN103179156A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Method, system and device for sharing pictures

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295114A (en) * 2016-04-05 2017-10-24 北京京东尚科信息技术有限公司 Distributed Services addressing method and system
CN111970284A (en) * 2020-08-19 2020-11-20 网易(杭州)网络有限公司 Message processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104348705B (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN106850745B (en) Real-time synchronization method and device
JP4740328B2 (en) Messenger notification system and method using sink server
CN103546362B (en) Method, system and the server pushed into row information
CN103780652B (en) A kind of method and system of microblogging resource sharing
US9660999B2 (en) Discovery and connection to a service controller
CN102314408B (en) Method, device, equipment and system for acquiring configuration information and configuring
CN102263988B (en) Message service realization method of internet protocol television (IPTV) and system thereof
CN105847381A (en) Scheduling method and device for content server
US20120059887A1 (en) Instant Messaging
CN102571941B (en) Cloud point-to-point data transmission method and system
WO2006115526A3 (en) Apparatus and method for community relay node delivery
CN104135491B (en) For method, terminal, server and the system of instruction message distribution
EP2178252A1 (en) Method for sharing community network service information
CN105681260A (en) Cloud storage file transmission method, fusion communication platform, sending end and system
CN101551922A (en) A method and system for remotely fetching number
US10075354B2 (en) Identification of servers by common wide area network addresses
CN101599921B (en) Enterprise instant communication system and file transfer method thereof
CN101645854A (en) Method, device and system for acquiring user information
CN102348198A (en) Wireless terminal and remote parameter setting method thereof
CN107995124B (en) Traffic scheduling method and device
CN104348705A (en) Picture group sending data processing method based on enterprise instant communication platform
CN102291432A (en) Network information sharing method, device and client
CN102594908B (en) Method, equipment and system for transmitting network contents
CN103188132A (en) Instant messaging method and system based on content distribution network (CDN)
CN103856805A (en) Cross-time-zone program list transition method

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
TR01 Transfer of patent right

Effective date of registration: 20210310

Address after: Inside qingzhihua garden, 377 Century Avenue, Nantong City, Jiangsu Province, 226000

Patentee after: Nantong Aimu Network Technology Co.,Ltd.

Address before: 200436 room 505, no.250, JIANGCHANG Third Road, Zhabei District, Shanghai

Patentee before: SHANGHAI YUNMU NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171215

CF01 Termination of patent right due to non-payment of annual fee