CN104660484B - A kind of data transmission method and device for instant communication client - Google Patents

A kind of data transmission method and device for instant communication client Download PDF

Info

Publication number
CN104660484B
CN104660484B CN201310595071.6A CN201310595071A CN104660484B CN 104660484 B CN104660484 B CN 104660484B CN 201310595071 A CN201310595071 A CN 201310595071A CN 104660484 B CN104660484 B CN 104660484B
Authority
CN
China
Prior art keywords
data
instant communication
communication client
server
account
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.)
Active
Application number
CN201310595071.6A
Other languages
Chinese (zh)
Other versions
CN104660484A (en
Inventor
张雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310595071.6A priority Critical patent/CN104660484B/en
Priority to PCT/CN2014/085254 priority patent/WO2015074450A1/en
Publication of CN104660484A publication Critical patent/CN104660484A/en
Application granted granted Critical
Publication of CN104660484B publication Critical patent/CN104660484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention is applied to instant messaging field, and there is provided a kind of data transmission method and device for instant communication client;Instant communication client issues condition using account to what server uploaded data and the data, so that the server sends the data according to the condition that issues of the data, wherein described account is that the server distributes for instant communication user, and the condition that issues includes:The recipient of the data is the instant communication client using the account;The server is received using the instant communication client of the account, and the data that condition is issued are issued according to.The present invention is in advance uploaded onto the server the data using the account, is then logged in the server by the instant communication client of this equipment or another equipment, is downloaded the data;And then realize that the local and remote for carrying out private data using same account is transmitted, more hommization, more security.

Description

A kind of data transmission method and device for instant communication client
Technical field
The invention belongs to instant messaging field, more particularly to a kind of data transmission method for instant communication client with And device.
Background technology
Instant messaging(Instant Messenger, abbreviation IM), it is a kind of industry of the instant exchange message based on internet Business;Server for instant messaging distributes different accounts for the user of each instant messaging.When installing IMU in equipment Interrogate after client, used on instant communication client after the account Successful login, you can realize between different user i.e. When communicate.
When user has installed the equipment of instant communication client using one, some capsule information are found, or oneself is write Write an article, or find to work and live helpful webpage when, due to these above-mentioned data more privacy; When the user of instant messaging does not want to allow others intervene the transmission of above-mentioned private data, deposited frequently with private storage device Storage, then copies out the private data to another distinct device.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of data transmission method and dress for instant communication client Put, it is intended to solve prior art for private data, it is no effectively to utilize instant messaging technology generally using storage device storage The problem of.
On the one hand, a kind of data transmission method for instant communication client, it is described for instant communication client Data transmission method includes:
Instant communication client issues condition using account to what server uploaded data and the data, so that described Server sends the data according to the condition that issues of the data, is used wherein the account is the server for instant messaging Family distribution, the condition that issues includes:The recipient of the data is the instant communication client using the account;
The server is received using the instant communication client of the account to issue according to described in condition issues Data.
On the one hand, another object of the present invention is to provide a kind of data transmission device for instant communication client, institute State includes for the data transmission device of instant communication client:
Data uploading unit, for issuing condition to what server uploaded data and the data using account, so that The server sends the data according to the condition that issues of the data, wherein it is IMU that the account, which is the server, User's distribution is interrogated, the condition that issues includes:The recipient of the data is the instant communication client using the account;
Data download unit, is issued described in condition issues for receiving the server using the account according to Data.
The beneficial effects of the invention are as follows:Pass through instant communication client login service device, the IMU using the account The upload of the data can be carried out to install the instant communication client on distinct device by interrogating client.It is full in the condition that issues When sufficient, server can push the data to the instant communication client for having logged in the account, therefore, it is adaptable to which user uses The account of oneself carries out the transmission of private data, more more hommization, security.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 be the embodiment of the present invention one provide the first be used for instant communication client data transmission method realization Flow chart;
Fig. 2 is second of realization for the data transmission method of instant communication client that the embodiment of the present invention one is provided Flow chart;
Fig. 3 be the embodiment of the present invention one provide the third be used for instant communication client data transmission method realization Flow chart;
Fig. 4 is the 4th kind of realization for the data transmission method of instant communication client that the embodiment of the present invention one is provided Flow chart;
Fig. 5 is the 5th kind of realization for the data transmission method of instant communication client that the embodiment of the present invention one is provided Flow chart;
Fig. 6 is the 6th kind of realization for the data transmission method of instant communication client that the embodiment of the present invention one is provided Flow chart;
Fig. 7 is the 7th kind of realization for the data transmission method of instant communication client that the embodiment of the present invention one is provided Flow chart;
Fig. 8 is the 8th kind of realization for the data transmission method of instant communication client that the embodiment of the present invention one is provided Flow chart;
Fig. 9 be the embodiment of the present invention two provide the first be used for instant communication client data transmission device composition Structure chart;
Figure 10 is second of group for the data transmission device of instant communication client that the embodiment of the present invention two is provided Into structure chart;
Figure 11 be the embodiment of the present invention two provide the third be used for instant communication client data transmission device group Into structure chart;
Figure 12 is the 4th kind of group for the data transmission device of instant communication client that the embodiment of the present invention two is provided Into structure chart;
Figure 13 is the 5th kind of group for the data transmission device of instant communication client that the embodiment of the present invention two is provided Into structure chart;
Figure 14 is the 6th kind of group for the data transmission device of instant communication client that the embodiment of the present invention two is provided Into structure chart;
Figure 15 is the 7th kind of group for the data transmission device of instant communication client that the embodiment of the present invention two is provided Into structure chart;
Figure 16 is the 8th kind of group for the data transmission device of instant communication client that the embodiment of the present invention two is provided Into structure chart.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 show the present embodiment provide the first be used for instant communication client data transmission method realization stream Journey, for the ease of description, illustrate only the part related to the embodiment of the present invention, details are as follows for its implementation process:
Step S11, instant communication client issues condition using account to what server uploaded data and the data, So that the server sends the data according to the condition that issues of the data, wherein it is i.e. that the account, which is the server, When communication user distribution, the condition that issues includes:The recipient of the data is the instant messaging visitor using the account Family end;
Step S12, under the conditions of being issued using the instant communication client reception server of the account according to The data of hair.
It should be noted that may be mounted at distinct device for the instant communication client for logging in the account On, or to install the instant communication client of different editions on the same device.Visitor is communicated when the account success is in sight After family end is logged in, i.e. server detects the account and passes through some Internet protocol address(Internet Protocol Address, IP)After Successful login, record the log-on message of the account and log in the IP of the account;Then, it can select to hold Row step S11 and/or step S12.
It should be noted that the data include the binary data such as word, picture and audio frequency and video.
In the present embodiment, instant communication user is in advance to the server application account, and server is meeting application slip In the case of part, account is distributed to the instant communication user;It should be noted that the server of instant messaging is each IMU The account for interrogating user's distribution is different;So as to be by being logged in for its account distributed between each instant communication user When telecommunication customer end mode, carry out instant messaging.
After user uses the account by instant communication client Successful login server, if user has found that oneself is felt The private data of interest, can upload the data to server;What deserves to be explained is, before the data are uploaded, in advance What setting server issued the data issues condition.In embodiments of the present invention, the account of the data is uploaded with downloading number According to account be necessary for same account, it is ensured that the transmission of the privacies of the data;Therefore, the condition that issues includes:The data Recipient be using the account instant communication client.
Then step S11 is performed, by having logged in the instant communication client of the account, by the data and be institute The described of data setting is stated to issue condition and upload onto the server together.
When server check it is described issue condition and met when, detect the account whether in a certain instant messaging visitor Family end is logged in, if being not logged in, and this for abandoning the data is issued;If the account a certain instant communication client into Work(is logged in, then server is to the instant communication client for having logged in the account(Use the instant messaging visitor of the account Family end)Transmission issues request, and user decides whether to receive the data by the instant communication client, if instant messaging client Termination receives the reception instruction that user sets out, then issues request described in instant communication client response, with server to having stepped on The instant communication client for recording the account pushes the data, and stores the data in this equipment(It is provided with and has logged in The equipment of the instant communication client of the account)On.
Preferably, the client of the account is being logged in, is being set in advance in line model or off-line mode receives clothes The data that business device is issued, being uploaded using the same account.
The line model is:Currently, user is using the state for the instant communication client for having logged in the account.
The off-line mode includes:Leave pattern, busy mode, Do not disturb, and the user such as pattern or stealthy pattern is temporary transient not It is ready or is inconvenient to operate the pattern for the instant communication client for having logged in the account.
Wherein, the pattern of leaving is:Currently, user has left the instant messaging client that can be used and logged in the account The state at end.
The busy mode is:Currently, user is busy with work, busy to use the instant messaging visitor for having logged in the account The state at family end.
It is described that Do not disturb that pattern is:Currently, user is reluctant by the instant communication client band for having logged in the account Come the state bothered.
The stealthy pattern is:Currently, user is only ready to reply the state of oneself instant messaging message interested.
Preferably, the condition that issues can also include:Periodically download receive, at interval of certain time download receive or Timing receipt etc..So as to which, user can be preselect described to issue condition according to demand.
As one embodiment of the invention, Fig. 2 shows that second of the present embodiment offer is used for instant communication client The implementation process of data transmission method, for the ease of description, illustrate only the part related to the embodiment of the present invention.In this implementation In example, the data transmission method of instant communication client is used for based on the first, will timing in order to realize the function of timing receipt The data are received as one of condition is issued, because step S21 is identical with step S11, step S12 is refined.
The instant communication client using the account receives the server and issues what condition was issued according to The step of data, it is specially:
S22, when the data are when issuing condition including timing receipt, if instant communication client connects in the timing The server is signed in using the account in this equipment or another equipment when being reached between the time receiving, then the instant messaging Client receives the data that the server is issued when reaching the timing receipt time
Described equipment is:The instant messaging client for being uploaded the data to the server using the account is installed The equipment at end.Therefore, described equipment is provided with instant communication client, and the present embodiment passes through instant messaging client Hold successfully in account described in server log.
Another equipment is:Other equipment being provided with available for the instant communication client for logging in the account.Cause This, another equipment is also provided with instant communication client.
The timing receipt is:The timing receipt time is preset, when reaching the timing receipt time, if server Detect the account to have logged in, then by the data distributing to the instant communication client for having logged in the account.
In the present embodiment, the use of the instant communication client of the account can be the IMU in this equipment Interrogate client, or the instant communication client in another equipment.Then, when reaching the timing receipt time, To the instant communication client that condition is issued described in satisfaction(Use the instant communication client of the account)The data are issued, The instant communication client for having logged in the account receives the data.Realize described in being downloaded in same equipment or distinct device Data, to reach the purpose that the data are received in local and remote.
As one embodiment of the invention, Fig. 3 shows that the third that the present embodiment provides is used for instant communication client The implementation process of data transmission method, for the ease of description, illustrate only the part related to the embodiment of the present invention.Based on first The data transmission method for instant communication client is planted, in order to realize every time by instant communication client in server success During login, the reminder message of server can be received, and then will upload to log in the next time after the data and be followed by being incorporated as institute That states data issues one of condition, because the third of the present embodiment offer is used for the data transmission method of instant communication client Step S31 it is identical with the step S11 that is provided of data transmission method that the first is used for instant communication client, only to step S12 is refined.
Specifically, the instant communication client using the account receives the server and condition is issued according to The step of data issued, specifically include:
S32, when the condition that issues of the data is followed by the time receiving including login next time, if instant communication client is originally being set Standby or another equipment reuses the account and signs in instant communication server, and the instant communication client output is reminded Message, the reminder message is used to remind instant communication user to select the data for needing to download from the data;
S33, when receiving the selection reception instruction for the data, uses the instant communication client of the account Data download request is sent to the server, so that the data distributing that the server specifies the data download request is extremely Use the instant communication client of the account.
In the present embodiment, instant communication client can upload different data with one or many.Preferably, user Distinct device can be used(The distinct device can be located at different location)The instant messaging is logged in using the same account Client, data are uploaded in different location.Therefore, instant communication user can run into oneself privacy interested in different location Content, using the account in the instant communication client login service device of distinct device, the privacy content is uploaded as data To server.
Correspondingly, when user uses the instant communication client of the account by this equipment or another equipment every time During Successful login server, the instant communication client can export the reminder message issued by the server, pass through the prompting Message informs user:One or more, the different data stored on server.User selects to be needed from clothes when secondary While one or more data that business device is downloaded, the instant communication client can receive the choosing for downloading the data Select reception instruction;Then, the instant communication client for having logged in the account sends data download request to the server;Treat When server receives the data download request, the number downloaded when time needs is pushed to the instant communication client of the account According to the instant communication client that realization has logged in the account downloads needs according to the selectivity of instant communication user.
As the embodiment of the present embodiment one, when the account is by instant communication client login service device, The instant communication client of Successful login can eject reminder message, when user chooses the reminder message(For example click the prompting Message), the page of the reminder message is switched to, one or many that the account is uploaded to server is listed in the page Individual, the different data, user can select to be currently needed for download, one or more data as needed.Such as, User can choose to the one or more data listed in the page of the reminder message, in the IMU of the account Interrogate client triggering and receive instruction with comprising the corresponding selection of one or more data, received according to the selection instruct from Server end carries out specific aim download.Preferably, every time in account described in instant communication client Successful login, if meeting Described to issue condition, the reminder message will be issued to the instant communication client for having logged in the account by server, i.e., When telecommunication customer end be switched to the reminder message the page and display alarm message;It should be noted that for logging in every time It, without the instant communication client in equipment, or is the difference in same equipment that the instant communication client of the account, which can be, The instant communication client of version.
As one embodiment of the invention, Fig. 4 shows that the 4th kind of the present embodiment offer is used for instant communication client The implementation process of data transmission method, for the ease of description, illustrate only the part related to the embodiment of the present invention.Based on first The data transmission method for instant communication client is planted, under line model or off-line mode, realizing the upper of the data Pass or download, step S11 and step S12 are refined respectively.
Specifically, instant communication client uploads the condition that issues of data and the data using account to server Step, is specifically included:
S41, the instant communication client is uploaded under off-line mode or line model using the account to server The data and described issue condition;
At the same time, the instant communication client using the account receives the server according to the lower clockwork spring The step of data that part is issued, it is specially:
S42, using the instant communication client of the account under off-line mode or line model, receives the server The data that condition is issued are issued according to described.
Specifically, when instant communication client is under line model, illustrate that instant communication user can manipulate IMU Interrogate client and carry out instant messaging;So as to, user will directly need the data duplication uploaded into instant communication client, Instant communication client can upload the data to server at once.Accordingly, when issuing condition described in satisfaction, server It can be sent to the instant communication client under line model and issue request;If instant communication user is ready to receive, control should Instant communication client responds this and issues request.So as under line model, realize instant communication user to the data Controllably upload or download.
In addition, when instant communication client is in off-line mode(Including leaving pattern, busy mode, Do not disturb pattern Or stealthy pattern)When, once by the data duplication to instant communication client, the instant communication client can will be described Data are uploaded to the server.In addition, when instant communication client does not complete the upload of the data under line model, After off-line mode is switched to, the upload of the data is continued to complete;Similarly, when under instant communication client off-line mode, not When completing the upload of the data, after line model is switched to, the upload of the data is continued to complete.Correspondingly, IMU When interrogating client in off-line mode, once issuing condition described in meeting, server instant communication client sends and issues request; Instant communication client can respond this and issue request, and by its feedback of the information in off-line mode to server, so as to service Device can detect the account and log in and in off-line mode, directly by the data-pushing to instant communication client. Preferably, when not completing the download of the data in disconnection mode, it is switched to after line model, continues to complete to the number According to download.
As one embodiment of the invention, Fig. 5 shows that the 5th kind of the present embodiment offer is used for instant communication client The implementation process of data transmission method, for the ease of description, illustrate only the part related to the embodiment of the present invention.Based on first The data transmission method for instant communication client is planted, in order to realize that the safety of the data is uploaded, in instant messaging client Hold using account to server upload data and the data the step of issuing condition before, it is described to be used for instant messaging visitor The data transmission method at family end also includes:
S51, the instant communication client sends CIPHERING REQUEST to the server, receives adding for the server-assignment Close algorithm, using the AES to the data encryption;
At the same time, step S11 is refined, the instant communication client uploads data using account to server And the step of issuing condition of the data, it is specially:
S52, the instant communication client is uploaded to the server using the account and encrypted with the AES The data afterwards, and to the server upload described in issue condition.
It should be noted that step S53 is identical with step S12, it will not be repeated here.
Specifically, after the instant communication client of the account has been logged in, when sending the data to server every time, To the server application AES;Then, the instant communication client receives user's setting code and uses the encryption The data after encryption are uploaded to the server, further ensure the peace of the data by data described in algorithm for encryption Full transmission.What deserves to be explained is, the instant communication client of the account has been logged in every time to adding that the server application is arrived Close algorithm can be the same or different.Preferably, the AES is generated at random by server, and be issued to it is described i.e. When telecommunication customer end.Preferably, for being uploaded using the account to the batch of multiple data, same add can be used Close algorithm.Preferably, the AES be rivest, shamir, adelman or symmetric encipherment algorithm, for example:Symmetric key encryption Algorithm DES, RSA Algorithm.
As one embodiment of the invention, Fig. 6 shows that the 6th kind of the present embodiment offer is used for instant communication client The implementation process of data transmission method, for the ease of description, illustrate only the part related to the embodiment of the present invention.6th kind with In instant communication client data transmission method based on the 5th kind be used for instant communication client data transmission method, in order to The safety download of the data is realized, the instant communication client using the account receives the server according to described After the step of data that the condition of issuing is issued, the data transmission method for instant communication client also includes:
S54, when needing to use the data encrypted, using the AES corresponding key from having encrypted The data are decrypted in the data.
Accordingly, used in order to avoid the artificial illegal objective of non-usage account sheet, when taking advantage of addressee absent and logged in the account Number instant communication client downloaded from server and use the data, step S52 is first carried out in advance the data is added It is close and upload;When download condition is met, server is by the data-pushing to the instant messaging for having logged in the account Client, it is necessary to during data described using the encryption downloaded, still need to using in advance using the AES set it is close Code(User presets)The data that this has been encrypted are decrypted, non-user is effectively prevented from and maliciously uses The data.
Preferably, in order to further prevent from illegally breaking a code, upload every time described after being encrypted using AES During data, the identifying code that the server is sent is received(Digital signature), user is in the instant messaging client using the account Correct identifying code is inputted in the verification tip frame for holding ejection, completes to upload the data to server.Realize using numeral label Name technology ensures that the safety of the data is uploaded and downloaded, and efficiently avoid wooden horse and carries out malicious upload.
As one embodiment of the invention, Fig. 7 shows that the 7th kind of the present embodiment offer is used for instant communication client The implementation process of data transmission method, for the ease of description, illustrate only the part related to the embodiment of the present invention.Wherein, originally The 7th kind of data transmission method for being used for instant communication client that embodiment is provided is based on the first for instant messaging client The data transmission method at end, in order to ensure to have logged in the instant communication client by the data download to installation the IMU The equipment of news client can normally use the data, it is to avoid unnecessary download;And then, in the method that the present embodiment is provided Step S71 it is identical with step S11, only step S12 is further refined;The instant communication client using the account The step of server issues the data that condition is issued according to is received, is specifically included:
S72, when meet described in issue condition when, judge be using the equipment where the instant communication client of the account It is no that there is enough memory spaces, if without enough memory spaces, using the account instant communication client not The data that the server is issued are received, if with enough memory spaces, using the instant messaging visitor of the account Family end receives the data that the server is issued.
Specifically, when issuing condition described in satisfaction, the instant communication client of the account is used(The account is logged in Number instant communication client)The server transmission can be received issues request, and the instant communication client detects its institute Equipment(The equipment for installing the instant communication client)Whether there is enough residual memory spaces, if not having, directly Connect and issue request described in the abandoning this download data of the task and response;The number not completed is downloaded so as to avoid According to, it is impossible to while using the data, also waste download bandwidth.Certainly, if with enough residual memory spaces, response is described Issue request, the data that the reception server is directly pushed.
As one embodiment of the invention, Fig. 8 shows that the 8th kind of the present embodiment offer is used for instant communication client The implementation process of data transmission method, for the ease of description, illustrate only the part related to the embodiment of the present invention.Based on first The data transmission method for instant communication client is planted, in order to ensure logging in the instant communication client institute of the account Equipment on, be provided with the application program of the Data Matching to use the data;Present embodiments provide the 8th kind For the data transmission method of instant communication client, wherein, step S81 is identical with step S11, only to the further thin of S12 Change, the instant communication client using the account receives the server and the number that condition is issued is issued according to According to the step of, specifically include:
S82, when meet described in issue condition when, judge be using the equipment where the instant communication client of the account The no application program installed for handling the data, if not installing the application program, uses the instant of the account Telecommunication customer end, which is reminded, installs the application program, when receiving the instruction for not installing the application program, uses the account Number instant communication client do not receive the data that the server is issued, receiving the finger of installing the application program Order, after installing the application program, is received described in the server issues using the instant communication client of the account Data.
Specifically, the data of different file types, are required to the application program of matching to handle;For example:For text Part type for word file, it is necessary to office word could be opened, for the file that file type is JPG forms, can only make Opened with image processing software.Therefore, when issuing condition described in satisfaction, if using the instant communication client of the account to examine Whether the equipment where surveying it, which is provided with, can handle the application program of the data;If so, then receiving the server push The data and store;If the application program of the data can be handled by not installing, instant communication client reminds user's peace Dress, if instant communication client receives the instruction for not installing the application program, directly abandons this and downloads the data Task and feedback server.If instant communication client receives the instruction for installing the application program, from whois lookup Whether there is the application program for handling the data, if having, the application program is downloaded to by instant communication client Equipment where it simultaneously completes to install, after installation to be done, and it is described that the instant communication client receives that the server issues Data.So as to detect have to the application program for handling the data in advance using the instant communication client of the account Avoid unnecessary download to effect.
Preferably, when issuing condition described in satisfaction, judge to have logged in the instant communication client of the account Whether the equipment at place has enough memory spaces, and whether installed the application program for handling the data;If Without enough memory spaces, then the data that the server is sent are not received;If with enough memory spaces, and Application program for handling the data is not installed, then reminds and the application program for being used to handle the data is installed, when When receiving the instruction for not installing the application program for being used to handle the data, the IMU of the account has been logged in News client does not receive the data that the server is sent, and the application for being used to handle the data is installed when receiving The instruction of program, installs after the application program for handling the data, has logged in the IMU of the account Interrogate client and receive the data that the server is sent.
Specifically, when issuing condition described in satisfaction, the instant communication client for having logged in the account receives service Device sends the request of the data, or receives the reminder message that server is issued to instant communication client, and the prompting disappears Include the list for including one or more data that can be currently downloaded from the server in breath, at this moment, logged in described The instant communication client of account first determines whether whether its current device used also has enough memory spaces(For preserving The data downloaded)If without enough memory spaces, directly abandoning this downloading the data of the task.
If current device has enough memory spaces, whether current device is judged according to the file type of the data It is mounted with the application program using the data;If having installed, the data are downloaded from server, are used if it is not installed, reminding Family is installed by the application program;The instruction for being used to handle the application program of the data is installed if receiving, institute is installed Application program is stated, after user installs the application program, the application that current device has installed and used the data is detected Program, and current device is also with enough memory spaces and the spatial cache using the data, by having logged in The instant communication client for stating account downloads the data;If the application program is not installed in user's selection, when receiving uneasiness During the instruction of the dress application program for being used to handle the data, put by the instant communication client for having logged in the account Abandon the receiving the data that the server is sent of the task.
For one embodiment of the invention, different business is provided for same service provider(Including instant messaging business)Using same The situation of the account;If being sent out using the service terminal of the same account to the instant communication client for having logged in the account Data are sent, the data can be uploaded to the server for distributing the account by the service terminal.And then, the step S12, specifically For:
When the service terminal using the account to the instant communication client for having logged in the account sends the data, And the data are when being uploaded to the server, if meet it is described issue condition, the instant messaging for having logged in the account is objective Family end receives the data that the server is issued.Preferably, available for objective to the instant messaging for having logged in the account Family end send the data, included but is not limited to using the service terminal of the account:Mailbox, game communication platform, wechat, Space, microblogging, audio/video player, browser etc..
It should be noted that the account that the present embodiment is provided is the account that service provider distributes, if the service provider provides Multiple different business, and each business can be used the same account, for example:Service provider provide instant messaging business, Mailbox service, game service etc., when user applies for the registration of to service provider, the server that service provider provides distributes account for user Afterwards, user can use the different business that the same account uses service provider to provide, without for each different business point Shen Qing not a different account.
In the present embodiment, number can not be sent to the server using only the instant communication client of the account According to, and can also upload the data to the server using the same account, different service terminal;When passing through When the instant communication client that service terminal has logged in the account to described sends data, once condition is issued described in meeting, Server can send the request for issuing the data to the instant communication client for having logged in the account, if the instant messaging is objective The confirmation that family termination receives user receives instruction, then responds this and issue the request of the data, and receive the server and issue Data.
Embodiment two:
Fig. 9 show second embodiment of the invention provide the first be used for instant communication client data transmission device Composition structure, for the ease of description, illustrate only the part related to the embodiment of the present invention.It should be noted that embodiment Two data transmission devices for instant communication client provided and embodiment one provide for instant communication client Data transmission method is mutually applicable.
A kind of data transmission device for instant communication client, the data transfer for instant communication client Device includes:
Data uploading unit 91, for issuing condition to what server uploaded data and the data using account, with The server is set to send the data according to the condition that issues of the data, wherein it is instant that the account, which is the server, Communication user distribution, the condition that issues includes:The recipient of the data is the instant messaging client using the account End;
Data download unit 92, the institute that condition is issued is issued for receiving the server using the account according to State data.
What deserves to be explained is, the instant communication client that distinct device is installed, the data comprising instant communication client Transmitting device.So as to, after this equipment uploads data by data uploading unit 61, when issuing condition described in satisfaction, service Device detects the instant communication client of the currently used account(The IP of the account is logged in by detecting, detects to log in and is somebody's turn to do Equipment where the instant communication client of account), the equipment of the currently used account can not be this equipment(Set to be another It is standby), and then, what the reception server of data download unit 62 that the instant communication client of the currently used account is included was issued The data.Therefore, the present embodiment realizes the reception of distinct device or same equipment to the data.
Figure 10 shows that second of data transfer for instant communication client that second embodiment of the invention is provided is filled The composition structure put, for the ease of description, illustrate only the part related to the embodiment of the present invention.
As one embodiment of the invention, the data transmission device of instant communication client is used for based on the first, for reality Existing server timing issues the data, and the instant communication client for having logged in the account carries out correspondingly determining to the data When receive, the data download unit 92 is specifically included:
Timing receipt unit 921, for when the data are when issuing condition including timing receipt, if instant messaging is objective Family end has signed in the service in this equipment or another equipment when reaching the timing receipt time using the account Device, then receive the data that the server is issued when reaching the timing receipt time.
Figure 11 shows that the third data transfer for being used for instant communication client that second embodiment of the invention is provided is filled The composition structure put, for the ease of description, illustrate only the part related to the embodiment of the present invention.
As one embodiment of the invention, the data transmission device of instant communication client is used for based on the first, in order to protect Card receives the promptness of the data, and the account is every time by instant communication client Successful login server, and server can Reminder message is issued to carry out selective reception;Specifically, the data download unit 92, is specifically included:
Prompting message unit 922, is followed by the time receiving, if immediately for the condition that issues when the data including login next time Telecommunication customer end reuses the account in this equipment or another equipment and signs in instant communication server, and output prompting disappears Breath, the reminder message is used to remind instant communication user to select the data for needing to download from the data;
Receiving unit 923 is selected, for when receiving the selection reception instruction for the data, using the account Data download request is sent to the server, so that the data distributing that the server specifies the data download request is extremely Use the instant communication client of the account.
Figure 12 shows that the 4th kind of data transfer for being used for instant communication client that second embodiment of the invention is provided is filled The composition structure put, for the ease of description, illustrate only the part related to the embodiment of the present invention.
As one embodiment of the invention, carried out for line model or off-line mode in instant communication client and server The data interaction, the data uploading unit 91 specifically includes:
Pattern uploading unit 914, under off-line mode or line model, institute to be uploaded to server using the account State data and described issue condition;
At the same time, the data download unit 92, is specifically included:
Pattern download unit 924, under off-line mode or line model, receiving the server using the account The data that condition is issued are issued according to described.
Figure 13 shows that the 5th kind of data transfer for being used for instant communication client that second embodiment of the invention is provided is filled The composition structure put, for the ease of description, illustrate only the part related to the embodiment of the present invention.
It is described to be used for instant communication client in order to realize that the encryption of the data is uploaded as one embodiment of the invention Data transmission device also include:
AES acquiring unit 93, for sending CIPHERING REQUEST to the server, receives the server-assignment AES, using the AES to the data encryption;
At the same time, the data uploading unit 91, is specifically included:
Uploading unit 911 is encrypted, for being uploaded using the account to the server with after AES encryption The data, and to the server upload described in issue condition.
Figure 14 shows that the 6th kind of data transfer for being used for instant communication client that second embodiment of the invention is provided is filled The composition structure put, for the ease of description, illustrate only the part related to the embodiment of the present invention.
Preferably, it is used for the data transmission device of instant communication client based on the 6th kind, in order to realize the data Safe handling, the data transmission device for instant communication client, in addition to:
Decryption unit 94, it is corresponding close using the AES for when needing to use the data encrypted Key decrypts the data from the data encrypted.
Figure 15 shows that the 7th kind of data transfer for being used for instant communication client that second embodiment of the invention is provided is filled The composition structure put, for the ease of description, illustrate only the part related to the embodiment of the present invention.
As one embodiment of the invention, in the equipment where the instant communication client using the account without enough Residual memory space in the case of, in order to avoid can not completely download the data and normally use, the data are downloaded single Member 92, in addition to:
Anticipation download unit 925 is stored, for when issuing condition described in satisfaction, judging the IMU using the account Whether the equipment where interrogating client has enough memory spaces, if without enough memory spaces, not receiving described The data that server is issued, if with enough memory spaces, receiving what the server was issued using the account The data.
Figure 16 shows that the 8th kind of data transfer for being used for instant communication client that second embodiment of the invention is provided is filled The composition structure put, for the ease of description, illustrate only the part related to the embodiment of the present invention.
As one embodiment of the invention, whether pacify for the equipment where the instant communication client using the account Fill the concrete condition of the application program for handling the data, the data download unit 92, in addition to:
Application program anticipation download unit 926, for when meet it is described issue condition when, judge be using the account When telecommunication customer end where equipment whether application program for handling the data has been installed, if not installing the application journey Sequence, then remind and install the application program, when receiving the instruction for not installing the application program, the server is not received The data issued, are receiving the instruction of installing the application program, are installing after the application program, use the account Number receive the data that the server is issued.
Another object of the embodiment of the present invention is to provide a kind of instant communication client, and the instant communication client includes The above-mentioned data transmission device for instant communication client.
As one embodiment of the invention, the data transmission device for being used for instant communication client can be operate in immediately Software unit in telecommunication customer end, can also be integrated into instant communication client or runs on i.e. as independent suspension member When telecommunication customer end application system in.
In embodiments of the present invention, the data are uploaded onto the server using the account in advance, then by originally setting The instant communication client of standby or another equipment logs in the server, downloads the data;And then realization uses same account Carry out the local and remote transmission of private data, more more hommization, security.
It will be appreciated by those skilled in the art that simply entering for the unit that above-described embodiment two includes according to function logic What row was divided, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit Specific name is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Those of ordinary skill in the art are further appreciated that all or part of step realized in above-described embodiment method is can To instruct the hardware of correlation to complete by program, described program can be stored in a computer read/write memory medium In, described storage medium, including ROM/RAM, disk, CD etc..
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to assert The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention, Some equivalent substitutes or obvious modification are made on the premise of not departing from present inventive concept, and performance or purposes are identical, all should It is considered as belonging to the scope of patent protection that the present invention is determined by the claims submitted.

Claims (14)

1. a kind of data transmission method for instant communication client, it is characterised in that described to be used for instant communication client Data transmission method include:
Instant communication client uploads data and the data using account under off-line mode or line model to server Issue condition so that the server sends the data according to the condition that issues of the data, wherein the account is institute State what server distributed for instant communication user, the condition that issues includes:The recipient of the data is to use the account Instant communication client;When instant communication client is in off-line mode, once by the data duplication to instant messaging The data can be uploaded to the server by client, the instant communication client;
Using the instant communication client of the account under off-line mode or line model, the server is received according to described The data that the condition of issuing is issued;When the instant communication client is in off-line mode, once condition is issued described in meeting, Can response server send issue request, and by its feedback of the information in off-line mode to server to cause server to examine Measure the account to have logged in and in off-line mode, directly by the data-pushing to instant communication client.
2. it is used for the data transmission method of instant communication client as claimed in claim 1, it is characterised in that the use institute The instant communication client for stating account receives the step of server issues the data that condition is issued according to, specifically For:
When the data are when issuing condition including timing receipt, if instant communication client is when reaching the timing receipt time The server is signed in using the account in this equipment or another equipment, then the instant communication client receives institute State the data that server is issued when reaching the timing receipt time.
3. it is used for the data transmission method of instant communication client as claimed in claim 1, it is characterised in that the use institute The instant communication client for stating account receives the step of server issues the data that condition is issued according to, specifically Including:
When the condition that issues of the data is followed by the time receiving including login next time, if instant communication client is in this equipment or another One equipment reuses the account and signs in instant communication server, and the instant communication client exports reminder message, institute Stating reminder message is used to remind instant communication user to select the data for needing to download from the data;
When receiving the selection for the data and receiving instruction, using the instant communication client of the account to the clothes Business device sends data download request, so that the data distributing that the server specifies the data download request is to using described The instant communication client of account.
4. it is used for the data transmission method of instant communication client as claimed in claim 1, it is characterised in that in instant messaging Client using account to server upload data and the data the step of issuing condition before, it is described to be used for IMU The data transmission method of news client also includes:
The instant communication client sends CIPHERING REQUEST to the server, receives the AES of the server-assignment, Using the AES to the data encryption;
The instant communication client uploads data and the step of issuing condition of the data, tool using account to server Body is:
The instant communication client using the account to the server upload with the AES encryption after described in Data, and to the server upload described in issue condition.
5. it is used for the data transmission method of instant communication client as claimed in claim 4, it is characterised in that the use institute State account instant communication client receive the step of server issues the data that condition issues according to after, The data transmission method for instant communication client also includes:
When needing to use the data encrypted, using the corresponding key of the AES from the data encrypted In decrypt the data.
6. it is used for the data transmission method of instant communication client as claimed in claim 1, it is characterised in that the use institute The instant communication client for stating account receives the step of server issues the data that condition is issued according to, specifically Including:
When issuing condition described in satisfaction, whether the equipment where judging the instant communication client using the account has foot Enough memory spaces, if without enough memory spaces, not receiving described using the instant communication client of the account The data that server is issued, if with enough memory spaces, being received using the instant communication client of the account The data that the server is issued.
7. the data transmission method for instant communication client as described in claim 1 or 6, it is characterised in that described to make The step of server issues the data that condition is issued according to is received with the instant communication client of the account, Specifically include:
When issuing condition described in satisfaction, judge whether installed using the equipment where the instant communication client of the account Application program for handling the data, if not installing the application program, uses the instant messaging client of the account End, which is reminded, installs the application program, when receiving the instruction for not installing the application program, uses the instant of the account Telecommunication customer end does not receive the data that the server is issued, is receiving the instruction of installing the application program, is installing After the application program, the data that the server is issued are received using the instant communication client of the account.
8. a kind of data transmission device for instant communication client, it is characterised in that described to be used for instant communication client Data transmission device include:
Data uploading unit, for issuing condition to what server uploaded data and the data using account, so that described Server sends the data according to the condition that issues of the data, is used wherein the account is the server for instant messaging Family distribution, the condition that issues includes:The recipient of the data is the instant communication client using the account;Data Download unit, the data that condition is issued are issued for receiving the server using the account according to;
The data uploading unit, is specifically included:Pattern uploading unit, under off-line mode or line model, using institute Account is stated to upload the data to server and described issue condition;When instant communication client is in off-line mode, one Denier is by the data duplication to instant communication client, and the data can be uploaded to the clothes by the instant communication client Business device;
The data download unit, is specifically included:Pattern download unit, for using the account in off-line mode or online mould Under formula, receive the server and the data that condition is issued are issued according to;The instant communication client is in offline During pattern, once meet it is described issue condition, can response server send issue request, and by its letter in off-line mode Breath feeds back to server with so that server detects the account and logged in and in off-line mode, directly by the data Push to instant communication client.
9. it is used for the data transmission device of instant communication client as claimed in claim 8, it is characterised in that under the data Carrier unit, is specifically included:
Timing receipt unit, for when the data are when issuing condition including timing receipt, if instant communication client exists Sign in the server using the account in this equipment or another equipment during the arrival of timing receipt time, then receive institute State the data that server is issued when reaching the timing receipt time.
10. it is used for the data transmission device of instant communication client as claimed in claim 8, it is characterised in that the data Download unit, is specifically included:
Prompting message unit, is followed by the time receiving, if instant messaging is objective for the condition that issues when the data including login next time Family end reuses the account in this equipment or another equipment and signs in instant communication server, exports reminder message, institute Stating reminder message is used to remind instant communication user to select the data for needing to download from the data;
Receiving unit is selected, for when receiving the selection for the data and receiving instruction, using the account to described Server sends data download request, so that the data distributing that the server specifies the data download request is to using State the instant communication client of account.
11. it is used for the data transmission device of instant communication client as claimed in claim 8, it is characterised in that described to be used for The data transmission device of instant communication client also includes:
AES acquiring unit, for sending CIPHERING REQUEST to the server, the encryption for receiving the server-assignment is calculated Method, using the AES to the data encryption;
The data uploading unit, is specifically included:
Uploading unit is encrypted, for uploading the number after being encrypted with the AES to the server using the account According to, and to the server upload described in issue condition.
12. it is used for the data transmission device of instant communication client as claimed in claim 11, it is characterised in that described to be used for The data transmission device of instant communication client, in addition to:
Decryption unit, for when needing to use the data encrypted, using the corresponding key of the AES from The data are decrypted in the data of encryption.
13. it is used for the data transmission device of instant communication client as claimed in claim 8, it is characterised in that the data Download unit, in addition to:
Anticipation download unit is stored, for when issuing condition described in satisfaction, judging the instant messaging client using the account Whether the equipment where end has enough memory spaces, if without enough memory spaces, the server is not received The data issued, if with enough memory spaces, the number that the server is issued is received using the account According to.
14. the data transmission device for instant communication client as described in claim 8 or 13, it is characterised in that described Data download unit, in addition to:
Application program anticipation download unit, for when issuing condition described in satisfaction, judging the instant messaging using the account Whether the equipment where client has installed the application program for handling the data, if not installing the application program, Remind and the application program is installed, when receiving the instruction for not installing the application program, the server is not received and is issued The data, receiving the instruction of installing the application program, installing after the application program, connect using the account Receive the data that the server is issued.
CN201310595071.6A 2013-11-21 2013-11-21 A kind of data transmission method and device for instant communication client Active CN104660484B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310595071.6A CN104660484B (en) 2013-11-21 2013-11-21 A kind of data transmission method and device for instant communication client
PCT/CN2014/085254 WO2015074450A1 (en) 2013-11-21 2014-08-27 Instant messaging (im) client side data transmission processprocess and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310595071.6A CN104660484B (en) 2013-11-21 2013-11-21 A kind of data transmission method and device for instant communication client

Publications (2)

Publication Number Publication Date
CN104660484A CN104660484A (en) 2015-05-27
CN104660484B true CN104660484B (en) 2017-08-22

Family

ID=53178899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310595071.6A Active CN104660484B (en) 2013-11-21 2013-11-21 A kind of data transmission method and device for instant communication client

Country Status (2)

Country Link
CN (1) CN104660484B (en)
WO (1) WO2015074450A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020992B (en) * 2016-05-03 2020-06-23 联想(北京)有限公司 Data transmission method and electronic equipment
CN105975354B (en) * 2016-05-03 2021-05-18 联想(北京)有限公司 Data output method and electronic equipment
CN106412695A (en) * 2016-10-28 2017-02-15 青岛海信宽带多媒体技术有限公司 Business issuing method and terminal
CN107483605B (en) * 2017-08-29 2020-12-04 北京小米移动软件有限公司 File downloading method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377785A (en) * 2011-11-28 2012-03-14 上海量明科技发展有限公司 Method and system for sending data to self in instant messaging
CN102510384A (en) * 2011-11-23 2012-06-20 深圳市无线开锋科技有限公司 Personal data sharing interactive processing method and server
CN102523282A (en) * 2011-12-14 2012-06-27 北京百纳威尔科技有限公司 Mobile terminal data sharing method, apparatus thereof and network server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110270934A1 (en) * 2010-04-30 2011-11-03 Yahoo!, Inc. State transfer for instant messaging system with multiple points of presence
CN102355426B (en) * 2011-06-30 2015-01-14 北京神州泰岳软件股份有限公司 Method for transmitting off-line file and system
CN103338254B (en) * 2013-06-28 2015-05-27 腾讯科技(深圳)有限公司 Terminal across application pushing method, device, terminal and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510384A (en) * 2011-11-23 2012-06-20 深圳市无线开锋科技有限公司 Personal data sharing interactive processing method and server
CN102377785A (en) * 2011-11-28 2012-03-14 上海量明科技发展有限公司 Method and system for sending data to self in instant messaging
CN102523282A (en) * 2011-12-14 2012-06-27 北京百纳威尔科技有限公司 Mobile terminal data sharing method, apparatus thereof and network server

Also Published As

Publication number Publication date
WO2015074450A1 (en) 2015-05-28
CN104660484A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN104113534B (en) The login system and method for application APP
JP2009532970A5 (en)
JP2009525654A5 (en)
JP2009524165A (en) Network security system and method
CN107801165A (en) Service note method for pushing, device, computer equipment and storage medium
CN104660484B (en) A kind of data transmission method and device for instant communication client
WO2001097432A3 (en) Secure messaging system with return receipts
CN104992119B (en) A kind of safe transmission method and system of sensitive information Anti-theft
JP2008187280A (en) Electronic mail system, electronic mail relay device, electronic mail relay method, and electronic mail relay program
CN102055730A (en) Cloud processing system, cloud processing method and cloud computing agent device
KR100848540B1 (en) Apparatus and method for managing right of contents in mobile communication system
CN106464950A (en) Method of delivering and protecting media content
EP3149642B1 (en) Systems and methods for controlling media distribution
US20200329001A1 (en) Information processing apparatus, method of restrciting email viewing, and computer program
JP2004326318A (en) Communication device
KR101541165B1 (en) Mobile message encryption method, computer readable recording medium recording program performing the method and download server storing the method
EP3282670A1 (en) Maintaining data security in a network device
CN114172719A (en) Encryption and decryption method, device, equipment and computer readable storage medium
CN115567200B (en) Http interface anti-brushing method, system and related equipment
CN103634292A (en) Method and system for communication information transmission
JP2010219979A (en) Network system with relay server, the relay server, and program
WO2014206146A1 (en) Address book update method and apparatus
CA2932921C (en) Method for detecting a fraudulent terminal by means of a cryptogram, corresponding device and program
EP1515476A4 (en) Data communication system, information processing device and method, recording medium, and program
CN113055344B (en) Scheduling method, device, medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211009

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518044, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.