CN104753933A - Data processing method and device, client side and server - Google Patents

Data processing method and device, client side and server Download PDF

Info

Publication number
CN104753933A
CN104753933A CN201510122497.9A CN201510122497A CN104753933A CN 104753933 A CN104753933 A CN 104753933A CN 201510122497 A CN201510122497 A CN 201510122497A CN 104753933 A CN104753933 A CN 104753933A
Authority
CN
China
Prior art keywords
client
communication session
historical data
source client
described source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510122497.9A
Other languages
Chinese (zh)
Inventor
查文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510122497.9A priority Critical patent/CN104753933A/en
Publication of CN104753933A publication Critical patent/CN104753933A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a data processing method, a data processing device, a client side and a server. The data processing method includes that when an acquisition request sent by a source client side and related to historical data of a communication session is received, the server inquires a target client side which participates in the same communication session as the source client side; the server acquires the historical data of the communication session, which is requested, from the target client side; the server sends the historical data of the communication session, which is requested, to the source client side. The data processing method, the data processing device, the client side and the server can provide the historical data of the communication session, provide historical data support in the communication session process, and improve quality and efficiency of the communication session.

Description

A kind of data processing method, device, client and server
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of data processing method, device, client and server.
Background technology
The communication system of the Internet refers to for Internet user provides the intercommunion platform of communication session.Communication session can include but not limited to: instant communication session, SNS (Social Networking Services, social network services) communication session etc.Client refers to can at such as PC (Personal Computer, personal computer), run in the terminal such as notebook computer, mobile phone, PAD (panel computer), intelligent wearable device, car-mounted terminal, and the application program of communication session function can be realized, client can include but not limited to: instant communication client, SNS client side etc.Usually, the historical data of each communication session of server meeting buffer memory in communication system, in prior art, client can from the historical data of server obtaining communication session and carry out this locality store, to conversate interchange to facilitate user, after the historical data of communication session is handed down to client by server, can delete having completed in spatial cache the data issued, to alleviate storage burden; After this, if client loses the data in local memory space due to the reason such as refitting, equipment replacement of application program, due to lost data cannot be obtained from server again, thus make client cannot provide historical data support in communication session, affect quality and the efficiency of communication session.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method, device, client and server, can provide the historical data of communication session, to provide historical data support in communication session, promotes quality and the efficiency of communication session.
Embodiment of the present invention first aspect provides a kind of data processing method, can comprise:
When receiving the acquisition request of the historical data about communication session that source client sends, server lookup and described source client participate in the destination client of same communication session;
Described server obtains the historical data of the communication session of asking from described destination client;
The historical data of asked communication session is sent to described source client by described server.
Embodiment of the present invention second aspect provides another kind of data processing method, can comprise:
Source client query and local terminal participate in the destination client of same communication session;
Described source client sends the acquisition request about the historical data of communication session to described destination client;
Described source client receives the historical data of the communication session of asking that described destination client returns.
The embodiment of the present invention third aspect provides a kind of data processing equipment, can comprise:
Query unit, for when receiving the acquisition request of the historical data about communication session that source client sends, inquiry and described source client participate in the destination client of same communication session;
Request unit, for obtaining the historical data of the communication session of asking from described destination client;
Feedback unit, for being sent to described source client by the historical data of asked communication session.
Embodiment of the present invention fourth aspect provides a kind of server, can comprise the data processing equipment that the above-mentioned third aspect provides.
The embodiment of the present invention the 5th aspect provides a kind of client, can comprise:
Query unit, for inquiring about the destination client participating in same communication session with local terminal;
Request unit, for sending the acquisition request about the historical data of communication session to described destination client;
Receiving element, for receiving the historical data of the communication session of asking that described destination client returns.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The structural representation of a kind of communication system that Fig. 1 provides for the embodiment of the present invention;
The flow chart of a kind of data processing method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of the another kind of data processing method that Fig. 3 provides for the embodiment of the present invention;
The flow chart of another data processing method that Fig. 4 provides for the embodiment of the present invention;
The flow chart of another data processing method that Fig. 5 provides for the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of data processing equipment that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the embodiment of the query unit 101 shown in Fig. 6;
Fig. 8 is the structural representation of the embodiment of the request unit 102 shown in Fig. 6;
Fig. 9 is the structural representation of the embodiment of the feedback unit 103 shown in Fig. 6;
The structural representation of a kind of client that Figure 10 provides for the embodiment of the present invention;
Figure 11 is the structural representation of the embodiment of the query unit 201 shown in Figure 10.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In the embodiment of the present invention, communication session can include but not limited to: instant communication session, SNS communication session etc.Client refers to run in the terminals such as such as PC, notebook computer, mobile phone, PAD, intelligent wearable device, car-mounted terminal, and the application program of communication session function can be realized, client can include but not limited to: instant communication client, SNS client side etc.Divide according to the client terminal quantity participating in communication session, the type of communication session can comprise: session or cluster conversation separately; Wherein, independent session refers to session one to one, namely refers to that the session carried out between two clients exchanges; Cluster conversation refers to one-to-many session, namely refers to that the session carried out between two or more client exchanges.It should be noted that, the client participating in communication session can be called as the member client of this communication session.
Referring to Fig. 1, is the structural representation of a kind of communication system that the embodiment of the present invention provides; As shown in Figure 1, server and at least one client can be comprised in this communication system.Wherein, the user of client or client-side can register in the communication system shown in Fig. 1, the user of client-side is by after client logs communication system, client can be accessed by server, and can carry out communication session with the user of other client-sides accessing to described server; After the user of client-side exits communication system by client, client disconnects the connection between described server.Wherein, server refers to provide communication session necessary service for client, and can user in supervisory communications or client, Session Time involved by communication session, the information such as client identification that participates in session are stored and distributed, and to the equipment that the information such as the data of communication session forward and process.
Usually, the historical data of each communication session of server meeting buffer memory in communication system, and according to certain strategy such as: arrival certain hour or accumulation are cached to the strategies such as certain data volume, the historical data of each communication session is handed down to the member client of communication session, after the historical data issuing communication session to member client, described server can be deleted having completed in spatial cache the data issued, to alleviate the storage burden of server.In view of each member client of communication session all can the historical data of local storing communication session, based on this feature, the following data processing scheme of the embodiment of the present invention is proposed.It should be noted that, the source client involved by the embodiment of the present invention can refer to any client in communication system, and described destination client can refer to any client in communication system except the client of described source.
Based on foregoing description, below in conjunction with accompanying drawing 2-accompanying drawing 5, the data processing method that the embodiment of the present invention provides is described in detail.
Referring to Fig. 2, is the flow chart of a kind of data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from server side; The method can comprise the following steps S101-step S103.
S101, when receiving the acquisition request of the historical data about communication session that source client sends, server lookup and described source client participate in the destination client of same communication session.
In practical application, source client is before sending the acquisition request about the historical data of communication session to server, the demand of the historical data that whether there is obtaining communication session can be detected, this testing process can include but not limited to following several mode: (1) is detected the acquisition whether existed about the historical data of communication session and operated, such as: the user of source client-side clicks the action button of the historical data being used for obtaining communication session in the session interface of certain communication session; Or, the user of source client-side selects the menu option of the historical data being used for obtaining communication session, etc., if detect that the acquisition about the historical data of communication session operates, described source client can determine the demand of the historical data that there is obtaining communication session.(2) detect whether use new terminal, such as: when the user of source client-side passes through source client logs to communication system, described source client can obtain local terminal place terminal iidentification, whether inquire about this terminal iidentification is recorded in the historical log list of this user, if do not record, confirm that this user employs new terminal, thus the demand of the historical data that there is obtaining communication session can be determined.(2) historical data whether local terminal stores the communication session once participated in is detected, such as: when the user of source client-side participates in a certain communication session, source client can detect user and whether there is the historical record participating in this communication session, if there is the historical record participating in this communication session, show that user once participated in this communication session, source client detects local terminal again and whether stores historical data about this communication session, if do not store, can determine the demand that there is the historical data obtaining this communication session.
Can set up wired or wireless connection between source client with described server, described source client, based on the connection between server, sends the acquisition request about the historical data of communication session to described server.It should be noted that, described source client can the historical data of all communication sessions that participates in of acquisition request local terminal, or, can the historical data of some communication sessions that participates in of acquisition request, or can the historical data of certain some communication session that participates in of acquisition request.Because server can provide communication session necessary service for client, and can manage information such as the communication sessions between the client in communication system, client, therefore, in this step, when receiving the acquisition request of the historical data about communication session that described source client sends, described server can inquire about the communication session that this source client participates in, and chooses destination client all member client of the communication session participated in from this source client.
S102, described server obtains the historical data of the communication session of asking from described destination client.
Usually, the historical data of each communication session of server meeting buffer memory in communication system, and according to certain strategy such as: arrival certain hour or accumulation are cached to the strategies such as certain data volume, the historical data of each communication session is handed down to the member client of communication session, after the historical data issuing communication session to member client, described server can be deleted having completed in spatial cache the data issued, to alleviate the storage burden of server.That is, each member client of communication session all can the local historical data storing this communication session, and in this step, described server can obtain the historical data of the communication session that described source client is asked from described destination client.
S103, the historical data of asked communication session is sent to described source client by described server.
The historical data of asked communication session can be sent to described source client according to certain strategy by described server, and concrete strategy can include but not limited to: the historical data of the communication session of asking obtained from described destination client is sent to described source client by (1) in real time; (2) historical data of the communication session of asking obtained from described destination client is carried out buffer memory, when data cached data volume arrives certain threshold value, be sent to described source client by data cached; (3) historical data of the communication session of asking obtained from described destination client being carried out buffer memory, when arriving regular hour threshold value, being sent to described source client by data cached; Etc..Be understandable that, described server needs to select sending strategy according to actual conditions, such as: need to select sending strategy according to the transmission configuration of source client, when supposing to get the historical data of asked communication session from described destination client, if source client is in non-access state, namely do not connect with server, described server then needs the historical data of first this communication session of buffer memory, sends after the access of source client again.In this step, after the historical data of asked communication session is sent to described source client by described server, described source client can store the historical data of asked communication session, in specific implementation, according to the sending strategy of described server, described source client is when storing the historical data of the communication session of asking, may also need to carry out some process, such as: need the historical data of different communication sessions to be carried out difference and store, or, when receiving multiple historical data of same communication session, need to carry out merging to the plurality of historical data to store.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Referring to Fig. 3, is the flow chart of the another kind of data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from source client, mutual side between server and destination client; The method can comprise the following steps S201-step S215.
S201, source user end to server sends the acquisition request about the historical data of communication session.
In practical application, source client is before sending the acquisition request about the historical data of communication session to server, the demand of the historical data that whether there is obtaining communication session can be detected, this testing process can include but not limited to following several mode: (1) is detected the acquisition whether existed about the historical data of communication session and operated, such as: the user of source client-side clicks the action button of the historical data being used for obtaining communication session in the session interface of certain communication session; Or, the user of source client-side selects the menu option of the historical data being used for obtaining communication session, etc., if detect that the acquisition about the historical data of communication session operates, described source client can determine the demand of the historical data that there is obtaining communication session.(2) detect whether use new terminal, such as: when the user of source client-side passes through source client logs to communication system, described source client can obtain local terminal place terminal iidentification, whether inquire about this terminal iidentification is recorded in the historical log list of this user, if do not record, confirm that this user employs new terminal, thus the demand of the historical data that there is obtaining communication session can be determined.(2) historical data whether local terminal stores the communication session once participated in is detected, such as: when the user of source client-side participates in a certain communication session, source client can detect user and whether there is the historical record participating in this communication session, if there is the historical record participating in this communication session, show that user once participated in this communication session, source client detects local terminal again and whether stores historical data about this communication session, if do not store, can determine the demand that there is the historical data obtaining this communication session.
Can set up wired or wireless connection between source client with described server, described source client, based on the connection between server, sends the acquisition request about the historical data of communication session to described server.It should be noted that, described source client can the historical data of all communication sessions that participates in of acquisition request local terminal, or, can the historical data of some communication sessions that participates in of acquisition request, or can the historical data of certain some communication session that participates in of acquisition request.
S202, the communication session that described in described server lookup, source client participates in.
Because server can provide communication session necessary service for client, and can manage information such as the communication sessions between the client in communication system, client, therefore, in this step, when receiving the acquisition request of the historical data about communication session that described source client sends, described server can inquire about the communication session that this source client participates in.
S203, described server judges the type of the communication session that described source client participates in.
The type of described communication session can comprise: session or cluster conversation separately; Wherein, independent session refers to session one to one, namely refers to that the session carried out between two clients exchanges; Cluster conversation refers to one-to-many session, namely refers to that the session carried out between two or more client exchanges.In this step, described server is after inquiring the communication session that described source client participates in, the type of this communication session can be determined according to the quantity of the member client of this communication session, such as: if inquire source customer end A to participate in communication session a, the member client of this communication session a comprises source customer end A and customer end B, namely member client's quantity of this communication session a is 2, and described server can determine that the type of this communication session is independent session; For another example: if inquire source customer end A to participate in communication session b, the member client of this communication session b comprises source customer end A, customer end B, client C and client D, namely member client's quantity of this communication session a is greater than 2, and described server can determine that the type of this communication session is cluster conversation.
S204, if the type of communication session that described source client participates in is independent session, another member client in the communication session that described source client participates in by described server except the client of described source is defined as destination client.According to example shown in step S203, if source customer end A and customer end B carry out independent session, described in this step, customer end B is directly defined as destination client by server.
S205, if the type of the communication session that described source client participates in is cluster conversation, in described server other member client from the communication session that described source client participates in except the client of described source, the member client choosing transmission configuration the best is defined as destination client.
Described transmission configuration can comprise access state and network environment status, and wherein, described access state, for describing the connection status between client and server, can comprise access or off-line online and not access two states.Described network environment status is for describing the network environment at the current place of client, include but not limited to wifi (WIreless-Fidelity, Wireless Fidelity) the described free capaciated flow network environment such as network environment, and the charging capaciated flow network environment that non-wifi network environment describes.Wherein, non-Wifi network environment can include but not limited to: the network environment such as 2G (2-Generation wireless telephone technology, second generation mobile communication technical specification), 3G, 4G.Further, the network environment status in transmission configuration also can segment according to the configuring condition of network signal intensity, network transfer speeds.According to example shown in step S204, if source customer end A participates in communication session b, the member client of this communication session b comprises: if source customer end A, customer end B, client C and client D customer end B are in the non-access state of off-line, client C is in online access and non-Wifi network environment, client D is in online access and Wifi network environment, and server described in this step can choose the client D of transmission configuration the best as destination client.
S206, described server sends data upload instruction to described destination client.
Described data upload instruction is used to indicate the historical data that asked communication session is uploaded in described destination client.Being understandable that, in order to reach the object of clear and definite instruction, the description about communication session in described data upload instruction, can being comprised, such as: the ID that can comprise communication session, or comprise member client's mark of communication session, etc.; Further, also can comprise in described data upload instruction and upload instruction about communication session, such as: the time period (as the historical data of nearest 3 days about this communication session please be upload, etc.) can be comprised belonging to historical data that needs upload.Described server can set up wired or wireless connection with described destination client, and described server based on the connection between described destination client, can send data upload instruction to described destination client.
S207, the historical data of the communication session that described destination client is asked according to described data upload instruction fetch.
Usually, the historical data of each communication session of server meeting buffer memory in communication system, and according to certain strategy, the historical data of each communication session is handed down to the member client of communication session, described destination client can the historical data of local storing communication session, in this step, the historical data of asked communication session is extracted according to described data upload instruction in described destination client from the memory space of local terminal.
S208, the historical data of asked communication session is uploaded to described server in described destination client.
For the ease of transmission, described destination client is uploaded to described server after the historical data of asked communication session can being carried out encapsulation process.Preferably, in order to avoid data upload brings impact or harassing and wrecking to the user of described target customer side, in the embodiment of the present invention, the mode that described destination client can adopt backstage to upload carries out uploading of the historical data of asked communication session.It should be noted that, described destination client is in the process of data upload, the transmission configuration of local terminal can be detected in real time, if the transmission configuration of local terminal changes, such as: described destination client is changed to the non-access state of off-line from online access state, or described destination client is non-wifi network environment from Wifi change of network environment, described destination client needs to stop data upload process, when the transmission configuration of described destination client is changed to preferable states again, recover data upload process.
S209, described server receives the historical data of the communication session of asking that described destination client is uploaded.
S210, described server obtains the transmission configuration of described source client, and described transmission configuration comprises access state and network environment status.
Wherein, described access state, for describing the connection status between described source client and server, can comprise access or off-line online and not access two states.Described network environment status, for describing the network environment at the current place of client, described source, includes but not limited to the free capaciated flow network environment that wifi network environment etc. is described and the charging capaciated flow network environment that non-wifi network environment describes.Wherein, non-Wifi network environment can include but not limited to: the network environments such as 2G, 3G, 4G.Further, the network environment status in described transmission configuration also can segment according to the configuring condition of network signal intensity, network transfer speeds.In this step, described server can the access state of source client described in active detecting and network environment status, further, if when described source client is under online access state, described source client also can detect the network environment status at local terminal place voluntarily and report to described server.
S211, if the transmission configuration of described source client accesses for online and be positioned at wifi network environment, the historical data of asked communication session is sent to described source client by described server.
If the transmission configuration of described source client is positioned at Wifi network environment for online access, show that client current transmission configuration in described source is better, the historical data of asked communication session then can be sent to described source client by described server; Particularly, the historical data of asked communication session can be sent to described source client according to any one mode following by described server: the historical data of the communication session of asking obtained from described destination client is sent to described source client by (1) in real time; (2) historical data of the communication session of asking uploaded of destination client described in described server buffer, when data cached data volume arrives predetermined number threshold value, described server is data cachedly sent to described source client by described; (3) historical data of the communication session of asking uploaded of destination client described in described server buffer, when arriving preset time threshold, described server is data cachedly sent to described source client by described.
S212, described source client receives the historical data of the communication session of asking that described server sends; Afterwards, terminate.
S213, if the transmission configuration of described source client accesses for online and be positioned at non-Wifi network environment, described server sends transmission prompting message to described source client.
Because non-Wifi network environment describes charging capaciated flow network environment, transfer of data will expend charging flow, in this step, described server first can send transmission prompting message to described source client, to make described source client export described transmission prompting message, prompting user is about to expend charging flow to treat that user confirms.
S214, described source client returns acknowledge message to described server.
If user confirms to carry out transfer of data in the charging capaciated flow network environment described at non-wifi network environment, described source client returns acknowledge message to described server.
S215, the historical data of asked communication session is sent to described source client by described server.The process of transmitting of this step see the process of transmitting described in the step S212 of the present embodiment, can be not repeated herein.
In above-mentioned Fig. 2-embodiment illustrated in fig. 3, source client, by sending the acquisition request of the historical data about communication session to server, obtains the historical data of asked communication session by server and feeds back to described source client from destination client.In above-described embodiment, source client can the historical data of all communication sessions that participates in of acquisition request local terminal, or, can the historical data of some communication sessions that participates in of acquisition request, or can the historical data of certain some communication session that participates in of acquisition request.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Referring to Fig. 4, is the flow chart of another data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from source client-side; The method can comprise the following steps S301-step S303.
S301, source client query and local terminal participate in the destination client of same communication session.
In practical application, source client can detect the demand of the historical data that whether there is obtaining communication session, this testing process can include but not limited to following several mode: (1) is detected the acquisition whether existed about the historical data of communication session and operated, such as: the user of source client-side clicks the action button of the historical data being used for obtaining communication session in the session interface of certain communication session; Or, the user of source client-side selects the menu option of the historical data being used for obtaining communication session, etc., if detect that the acquisition about the historical data of communication session operates, described source client can determine the demand of the historical data that there is obtaining communication session.(2) detect whether use new terminal, such as: when the user of source client-side passes through source client logs to communication system, described source client can obtain local terminal place terminal iidentification, whether inquire about this terminal iidentification is recorded in the historical log list of this user, if do not record, confirm that this user employs new terminal, thus the demand of the historical data that there is obtaining communication session can be determined.(2) historical data whether local terminal stores the communication session once participated in is detected, such as: when the user of source client-side participates in a certain communication session, source client can detect user and whether there is the historical record participating in this communication session, if there is the historical record participating in this communication session, show that user once participated in this communication session, source client detects local terminal again and whether stores historical data about this communication session, if do not store, can determine the demand that there is the historical data obtaining this communication session.
If source client did not carry out refitting or the equipment replacement of application program, usually the communication session list that source client participates in is had in the client of source, described source client knows by inquiring about local communication session list the communication session that local terminal participates in, and chooses destination client all member client of the communication session participated in from source client.If source client is due to the reason such as repacking program or equipment replacement, communication session list cannot be inquired from the memory space of local terminal, described source client can inquire about from server the communication session that described source client participates in, and chooses destination client all member client of the communication session participated in from source client.
S302, described source client sends the acquisition request about the historical data of communication session to described destination client.
Usually, the historical data of each communication session of server meeting buffer memory in communication system, and according to certain strategy such as: arrival certain hour or accumulation are cached to the strategies such as certain data volume, the historical data of each communication session is handed down to the member client of communication session, after the historical data issuing communication session to member client, described server can be deleted having completed in spatial cache the data issued, to alleviate the storage burden of server.That is, each member client of communication session all can the local historical data storing this communication session, in this step, described source client can send acquisition request about the historical data of communication session, with the historical data of asking described destination client to provide asked communication session directly to described destination client.
S303, described source client receives the historical data of the communication session of asking that described destination client returns.
Described source client can set up wired or wireless connection with described destination client, and described source client based on the connection between described destination client, can receive the historical data of the communication session of asking that described destination client returns.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Referring to Fig. 5, is the flow chart of another data processing method that the embodiment of the present invention provides; The present embodiment sets forth the idiographic flow of data processing method from the mutual side of source client and destination client; The method can comprise the following steps S401-step S407.
S401, source client judges the type of the communication session that local terminal participates in.
The type of described communication session can comprise: session or cluster conversation separately; Wherein, independent session refers to session one to one, namely refers to that the session carried out between two clients exchanges; Cluster conversation refers to one-to-many session, namely refers to that the session carried out between two or more client exchanges.In this step, the quantity of the member client of the communication session that described source client can participate according to local terminal determines the type of this communication session, such as: if described source customer end A participates in communication session a, the member client of this communication session a comprises source customer end A and customer end B, namely member client's quantity of this communication session a is 2, can determine that the type of this communication session is independent session; For another example: if source customer end A participates in communication session b, the member client of this communication session b comprises source customer end A, customer end B, client C and client D, namely member client's quantity of this communication session a is greater than 2, can determine that the type of this communication session is cluster conversation.
S402, if the type of the communication session participated in is independent session, another member client in participated in communication session except local terminal is defined as destination client by described source client.
According to example shown in step S401, if source customer end A and customer end B carry out independent session, customer end B is directly defined as destination client by the client of source described in this step.
S403, if the type of the communication session participated in is cluster conversation, in described source client other member client from participated in communication session except local terminal, the member client choosing transmission configuration the best is defined as destination client.
Described transmission configuration can comprise access state and network environment status, and wherein, described access state, for describing the connection status between client and server, can comprise access or off-line online and not access two states.Described network environment status, for describing the network environment at the current place of client, includes but not limited to the free capaciated flow network environment that wifi network environment etc. is described and the charging capaciated flow network environment that non-wifi network environment describes.Wherein, non-Wifi network environment can include but not limited to: the network environments such as 2G, 3G, 4G.Further, the network environment status in transmission configuration also can segment according to the configuring condition of network signal intensity, network transfer speeds.According to example shown in step S401, if source customer end A participates in communication session b, the member client of this communication session b comprises: if source customer end A, customer end B, client C and client D customer end B are in the non-access state of off-line, client C is in online access and non-Wifi network environment, client D is in online access and Wifi network environment, and the client of source described in this step can choose the client D of transmission configuration the best as destination client.
S404, described source client sends the acquisition request about the historical data of communication session to described destination client.
Can set up wired or wireless connection between source client with described destination client, described source client, based on the connection between destination client, sends the acquisition request about the historical data of communication session to described destination client.It should be noted that, in the present embodiment, described source client can the historical data of communication session that jointly participates in of acquisition request and described destination client.
S405, the historical data of the communication session of asking is extracted in described destination client.
Usually, the historical data of each communication session of server meeting buffer memory in communication system, and according to certain strategy, the historical data of each communication session is handed down to the member client of communication session, described destination client can the historical data of local storing communication session, in this step, the historical data of asked communication session can be extracted in described destination client from the memory space of local terminal.
S406, the historical data of asked communication session is back to described source client by described destination client.
For the ease of transmission, described destination client is back to described source client after the historical data of asked communication session can being carried out encapsulation process.Preferably, the user being transferred to described target customer side in order to avoid data brings impact or harassing and wrecking, and in the embodiment of the present invention, the mode that described destination client can adopt backstage to upload carries out the transmission of the historical data of asked communication session.It should be noted that, described destination client is in the process of transfer of data, the transmission configuration of local terminal can be detected in real time, if the transmission configuration of local terminal changes, such as: described destination client is changed to the non-access state of off-line from online access state, or described destination client is non-wifi network environment from Wifi change of network environment, described destination client needs to stop data transmission procedure, when the transmission configuration of described destination client is changed to preferable states again, resume data transmission process.
S407, described source client receives the historical data of the communication session of asking that described destination client returns.After described source client receives the historical data of asked communication session, the described historical data storing asked communication session.
In above-mentioned Fig. 4-embodiment illustrated in fig. 5, source client sends the acquisition request of the historical data about communication session directly to destination client, and directly from destination client, obtains the historical data of asked communication session.In above-described embodiment, source client can the historical data of communication session that jointly participates in of acquisition request and described destination client.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Below in conjunction with accompanying drawing 6-accompanying drawing 9, the data processing equipment that the embodiment of the present invention provides is described in detail.It should be noted that, following data processing equipment can run in server, to be used for performing the method shown in above-mentioned accompanying drawing 2-accompanying drawing 3.
Referring to Fig. 6, is the structural representation of a kind of data processing equipment that the embodiment of the present invention provides; This device can comprise: query unit 101, request unit 102 and feedback unit 103.
Query unit 101, for when receiving the acquisition request of the historical data about communication session that source client sends, inquiry and described source client participate in the destination client of same communication session.
In practical application, source client is before sending the acquisition request about the historical data of communication session, the demand of the historical data that whether there is obtaining communication session can be detected, this testing process can include but not limited to following several mode: (1) is detected the acquisition whether existed about the historical data of communication session and operated, such as: the user of source client-side clicks the action button of the historical data being used for obtaining communication session in the session interface of certain communication session; Or, the user of source client-side selects the menu option of the historical data being used for obtaining communication session, etc., if detect that the acquisition about the historical data of communication session operates, described source client can determine the demand of the historical data that there is obtaining communication session.(2) detect whether use new terminal, such as: when the user of source client-side passes through source client logs to communication system, described source client can obtain local terminal place terminal iidentification, whether inquire about this terminal iidentification is recorded in the historical log list of this user, if do not record, confirm that this user employs new terminal, thus the demand of the historical data that there is obtaining communication session can be determined.(2) historical data whether local terminal stores the communication session once participated in is detected, such as: when the user of source client-side participates in a certain communication session, source client can detect user and whether there is the historical record participating in this communication session, if there is the historical record participating in this communication session, show that user once participated in this communication session, source client detects local terminal again and whether stores historical data about this communication session, if do not store, can determine the demand that there is the historical data obtaining this communication session.
Can set up wired or wireless connection between source client with described server, described source client, based on the connection between server, sends the acquisition request about the historical data of communication session to described server.It should be noted that, described source client can the historical data of all communication sessions that participates in of acquisition request local terminal, or, can the historical data of some communication sessions that participates in of acquisition request, or can the historical data of certain some communication session that participates in of acquisition request.Because server can provide communication session necessary service for client, and can manage information such as the communication sessions between the client in communication system, client, therefore, when receiving the acquisition request of the historical data about communication session that described source client sends, described query unit 101 can inquire about the communication session that this source client participates in, and chooses destination client all member client of the communication session participated in from this source client.
Request unit 102, for obtaining the historical data of the communication session of asking from described destination client.
Usually, the historical data of each communication session of server meeting buffer memory in communication system, and according to certain strategy such as: arrival certain hour or accumulation are cached to the strategies such as certain data volume, the historical data of each communication session is handed down to the member client of communication session, after the historical data issuing communication session to member client, described server can be deleted having completed in spatial cache the data issued, to alleviate the storage burden of server.That is, each member client of communication session all can the local historical data storing this communication session, and described request unit 102 can obtain the historical data of the communication session that described source client is asked from described destination client.
Feedback unit 103, for being sent to described source client by the historical data of asked communication session.
The historical data of asked communication session can be sent to described source client according to certain strategy by described feedback unit 103, and concrete strategy can include but not limited to: the historical data of the communication session of asking obtained from described destination client is sent to described source client by (1) in real time; (2) historical data of the communication session of asking obtained from described destination client is carried out buffer memory, when data cached data volume arrives certain threshold value, be sent to described source client by data cached; (3) historical data of the communication session of asking obtained from described destination client being carried out buffer memory, when arriving regular hour threshold value, being sent to described source client by data cached; Etc..Be understandable that, described feedback unit 103 needs to select sending strategy according to actual conditions, such as: need to select sending strategy according to the transmission configuration of source client, when supposing to get the historical data of asked communication session from described destination client, if source client is in non-access state, namely do not connect with server, the historical data of first this communication session of buffer memory of described feedback unit 103 need, sends after the access of source client again.After the historical data of asked communication session is sent to described source client by described feedback unit 103, described source client can store the historical data of asked communication session, in specific implementation, according to the sending strategy of described feedback unit 103, described source client is when storing the historical data of the communication session of asking, may also need to carry out some process, such as: need the historical data of different communication sessions to be carried out difference and store, or, when receiving multiple historical data of same communication session, need to carry out merging to the plurality of historical data to store.
Refer to Fig. 6 again, this device also can comprise: configuration acquiring unit 104 and transmission processing unit 105.
Configuration acquiring unit 104, for obtaining the transmission configuration of described source client, described transmission configuration comprises access state and network environment status.
Wherein, described access state, for describing the connection status between described source client and server, can comprise access or off-line online and not access two states.Described network environment status, for describing the network environment at the current place of client, described source, includes but not limited to the free capaciated flow network environment that wifi network environment etc. is described and the charging capaciated flow network environment that non-wifi network environment describes.Wherein, non-Wifi network environment can include but not limited to: the network environments such as 2G, 3G, 4G.Further, the network environment status in described transmission configuration also can segment according to the configuring condition of network signal intensity, network transfer speeds.Described configuration acquiring unit 104 can the access state of source client described in active detecting and network environment status, further, if when described source client is under online access state, described configuration acquiring unit 104 also can receive described source client and detect voluntarily and the network environment status at the local terminal place reported.
Transmission processing unit 105, if access for the transmission configuration of described source client for online and be positioned at wifi network environment, notifies that the historical data of asked communication session is sent to described source client by described feedback unit; Or, if access for the transmission configuration of described source client for online and be positioned at non-Wifi network environment, transmission prompting message is sent to described source client, when receiving the acknowledge message that described source client returns, notify that the historical data of asked communication session is sent to described source client by described feedback unit.
If the transmission configuration of described source client is positioned at Wifi network environment for online access, show that client current transmission configuration in described source is better, the historical data of asked communication session can be sent to described source client by described transmission processing unit 105.If the transmission configuration of described source client accesses for online and be positioned at non-Wifi network environment, because non-Wifi network environment describes charging capaciated flow network environment, transfer of data will expend charging flow, described transmission processing unit 105 first can send transmission prompting message to described source client, described transmission prompting message is exported to make described source client, prompting user is about to expend charging flow to treat that user confirms, the described source client that receives waiting is when returning acknowledge message, the historical data of asked communication session can be sent to described source client by described transmission processing unit 105.
Particularly, the historical data of asked communication session can be sent to described source client according to any one mode following by described transmission processing unit 105: the historical data of the communication session of asking obtained from described destination client is sent to described source client by (1) in real time; (2) historical data of the communication session of asking uploaded by destination client described in described server buffer, when data cached data volume arrives predetermined number threshold value, described transmission processing unit 105 is data cachedly sent to described source client by described; (3) historical data of the communication session of asking uploaded by destination client described in described server buffer, when arriving preset time threshold, described transmission processing unit 105 is data cachedly sent to described source client by described.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Referring to Fig. 7, is the structural representation of the embodiment of the query unit 101 shown in Fig. 6; This query unit 101 can comprise: session query unit 1001, type judging unit 1002 and target determination unit 1003.
Session query unit 1001, for when receiving the acquisition request of the historical data about communication session that source client sends, inquires about the communication session that described source client participates in.
Because server can provide communication session necessary service for client, and can manage information such as the communication sessions between the client in communication system, client, therefore, when receiving the acquisition request of the historical data about communication session that described source client sends, described session query unit 1001 can inquire about the communication session that this source client participates in.
Type judging unit 1002, for judging the type of the communication session that described source client participates in.
The type of described communication session can comprise: session or cluster conversation separately; Wherein, independent session refers to session one to one, namely refers to that the session carried out between two clients exchanges; Cluster conversation refers to one-to-many session, namely refers to that the session carried out between two or more client exchanges.Described type judging unit 1002 is after inquiring the communication session that described source client participates in, the type of this communication session can be determined according to the quantity of the member client of this communication session, such as: if inquire source customer end A to participate in communication session a, the member client of this communication session a comprises source customer end A and customer end B, namely member client's quantity of this communication session a is 2, and described type judging unit 1002 can determine that the type of this communication session is independent session; For another example: if inquire source customer end A to participate in communication session b, the member client of this communication session b comprises source customer end A, customer end B, client C and client D, namely member client's quantity of this communication session a is greater than 2, and described type judging unit 1002 can determine that the type of this communication session is cluster conversation.
Target determination unit 1003, if the type of the communication session participated in for described source client is independent session, another member client in the communication session participate in described source client except the client of described source is defined as destination client; Or, if the type of the communication session participated in for described source client is cluster conversation, in other member client from the communication session that described source client participates in except the client of described source, the member client choosing transmission configuration the best is defined as destination client.
According to example shown in the present embodiment, if source customer end A and customer end B carry out independent session, customer end B is directly defined as destination client by described target determination unit 1003.Described transmission configuration can comprise access state and network environment status, and wherein, described access state, for describing the connection status between client and server, can comprise access or off-line online and not access two states.Described network environment status, for describing the network environment at the current place of client, includes but not limited to the free capaciated flow network environment that wifi network environment etc. is described and the charging capaciated flow network environment that non-wifi network environment describes.Wherein, non-Wifi network environment can include but not limited to: the network environments such as 2G, 3G, 4G.Further, the network environment status in transmission configuration also can segment according to the configuring condition of network signal intensity, network transfer speeds.According to example shown in the present embodiment, if source customer end A participates in communication session b, the member client of this communication session b comprises: if source customer end A, customer end B, client C and client D customer end B are in the non-access state of off-line, client C is in online access and non-Wifi network environment, client D is in online access and Wifi network environment, and described target determination unit 1003 can choose the client D of transmission configuration the best as destination client.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Referring to Fig. 8, is the structural representation of the embodiment of the request unit 102 shown in Fig. 6; This request unit 102 can comprise: command unit 2001 and data receipt unit 2002.
Command unit 2001, for sending data upload instruction to described destination client, the historical data of the communication session of asking according to described data upload instruction fetch to make described destination client is also uploaded.
Described data upload instruction is used to indicate the historical data that asked communication session is uploaded in described destination client.Being understandable that, in order to reach the object of clear and definite instruction, the description about communication session in described data upload instruction, can being comprised, such as: the ID that can comprise communication session, or comprise member client's mark of communication session, etc.; Further, also can comprise in described data upload instruction and upload instruction about communication session, such as: the time period (as the historical data of nearest 3 days about this communication session please be upload, etc.) can be comprised belonging to historical data that needs upload.Described server can set up wired or wireless connection with described destination client, and described command unit 2001 based on the connection between described destination client, can send data upload instruction to described destination client.
Data receipt unit 2002, for receiving the historical data of the communication session of asking that described destination client is uploaded.
Usually, the historical data of each communication session of server meeting buffer memory in communication system, and according to certain strategy, the historical data of each communication session is handed down to the member client of communication session, described destination client can the historical data of local storing communication session, and the historical data of asked communication session is extracted according to described data upload instruction in described destination client from the memory space of local terminal.For the ease of transmission, described destination client is uploaded to described server after the historical data of asked communication session can being carried out encapsulation process.Preferably, in order to avoid data upload brings impact or harassing and wrecking to the user of described target customer side, in the embodiment of the present invention, the mode that described destination client can adopt backstage to upload carries out uploading of the historical data of asked communication session.It should be noted that, described destination client is in the process of data upload, the transmission configuration of local terminal can be detected in real time, if the transmission configuration of local terminal changes, such as: described destination client is changed to the non-access state of off-line from online access state, or described destination client is non-wifi network environment from Wifi change of network environment, described destination client needs to stop data upload process, when the transmission configuration of described destination client is changed to preferable states again, recover data upload process.Described data receipt unit 2002 receives the historical data of the communication session of asking that described destination client is uploaded.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Referring to Fig. 9, is the structural representation of the embodiment of the feedback unit 103 shown in Fig. 6; This feedback unit 103 can comprise: buffer unit 3001 and data transmission unit 3002.
Buffer unit 3001, for the historical data of the communication session of asking that destination client described in buffer memory is uploaded.
Data transmission unit 3002, for when data cached data volume arrives predetermined number threshold value, is data cachedly sent to described source client by described, or when arrival preset time threshold, is data cachedly sent to described source client by described.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
The embodiment of the invention also discloses a kind of server, this server can comprise a data processing equipment, and the 26S Proteasome Structure and Function of this device see the attached associated description embodiment illustrated in fig. 9 of above-mentioned accompanying drawing 6-, can be not repeated herein.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Below in conjunction with accompanying drawing 10-accompanying drawing 11, the client that the embodiment of the present invention provides is described in detail.It should be noted that, following client can refer in particular to source client, and this client can run in terminal, to be used for performing the method shown in above-mentioned accompanying drawing 4-accompanying drawing 5.
Referring to Figure 10, is the structural representation of a kind of client that the embodiment of the present invention provides; The client of the present embodiment can be source client; This client can comprise: query unit 201, request unit 202 and receiving element 203.
Query unit 201, for inquiring about the destination client participating in same communication session with local terminal.
In practical application, source client can detect the demand of the historical data that whether there is obtaining communication session, this testing process can include but not limited to following several mode: (1) is detected the acquisition whether existed about the historical data of communication session and operated, such as: the user of source client-side clicks the action button of the historical data being used for obtaining communication session in the session interface of certain communication session; Or, the user of source client-side selects the menu option of the historical data being used for obtaining communication session, etc., if detect that the acquisition about the historical data of communication session operates, described source client can determine the demand of the historical data that there is obtaining communication session.(2) detect whether use new terminal, such as: when the user of source client-side passes through source client logs to communication system, described source client can obtain local terminal place terminal iidentification, whether inquire about this terminal iidentification is recorded in the historical log list of this user, if do not record, confirm that this user employs new terminal, thus the demand of the historical data that there is obtaining communication session can be determined.(2) historical data whether local terminal stores the communication session once participated in is detected, such as: when the user of source client-side participates in a certain communication session, source client can detect user and whether there is the historical record participating in this communication session, if there is the historical record participating in this communication session, show that user once participated in this communication session, source client detects local terminal again and whether stores historical data about this communication session, if do not store, can determine the demand that there is the historical data obtaining this communication session.
If source client did not carry out refitting or the equipment replacement of application program, usually the communication session list that source client participates in is had in the client of source, described query unit 201 knows by the communication session list of query source client this locality the communication session that local terminal participates in, and chooses destination client all member client of the communication session participated in from source client.If source client is due to the reason such as repacking program or equipment replacement, communication session list cannot be inquired from the memory space of local terminal, described query unit 201 can inquire about from server the communication session that described source client participates in, and chooses destination client all member client of the communication session participated in from source client.
Request unit 202, for sending the acquisition request about the historical data of communication session to described destination client.
Usually, the historical data of each communication session of server meeting buffer memory in communication system, and according to certain strategy such as: arrival certain hour or accumulation are cached to the strategies such as certain data volume, the historical data of each communication session is handed down to the member client of communication session, after the historical data issuing communication session to member client, described server can be deleted having completed in spatial cache the data issued, to alleviate the storage burden of server.That is, each member client of communication session all can the local historical data storing this communication session, described request unit 202 can send acquisition request about the historical data of communication session, with the historical data of asking described destination client to provide asked communication session directly to described destination client.
Receiving element 203, for receiving the historical data of the communication session of asking that described destination client returns.
Described source client can set up wired or wireless connection with described destination client, and described receiving element 203 based on the connection between described destination client, can receive the historical data of the communication session of asking that described destination client returns.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
Referring to Figure 11, is the structural representation of the embodiment of the query unit 201 shown in Figure 10; This query unit 201 can comprise: type judging unit 4001 and target determination unit 4002.
Type judging unit 4001, for judging the type of the communication session that local terminal participates in.
The type of described communication session can comprise: session or cluster conversation separately; Wherein, independent session refers to session one to one, namely refers to that the session carried out between two clients exchanges; Cluster conversation refers to one-to-many session, namely refers to that the session carried out between two or more client exchanges.The quantity of the member client of the communication session that described type judging unit 4001 can participate according to source client determines the type of this communication session, such as: if described source customer end A participates in communication session a, the member client of this communication session a comprises source customer end A and customer end B, namely member client's quantity of this communication session a is 2, can determine that the type of this communication session is independent session; For another example: if source customer end A participates in communication session b, the member client of this communication session b comprises source customer end A, customer end B, client C and client D, namely member client's quantity of this communication session a is greater than 2, can determine that the type of this communication session is cluster conversation.
Target determination unit 4002, if be independent session for the type of the communication session participated in, is defined as destination client by another member client in participated in communication session except local terminal; Or if be cluster conversation for the type of the communication session participated in, in other member client from participated in communication session except local terminal, the member client choosing transmission configuration the best is defined as destination client.
According to example shown in the present embodiment, if source customer end A and customer end B carry out independent session, customer end B is directly defined as destination client by described target determination unit 4002.Described transmission configuration can comprise access state and network environment status, and wherein, described access state, for describing the connection status between client and server, can comprise access or off-line online and not access two states.Described network environment status, for describing the network environment at the current place of client, includes but not limited to the free capaciated flow network environment that wifi network environment etc. is described and the charging capaciated flow network environment that non-wifi network environment describes.Wherein, non-Wifi network environment can include but not limited to: the network environments such as 2G, 3G, 4G.Further, the network environment status in transmission configuration also can segment according to the configuring condition of network signal intensity, network transfer speeds.According to example shown in the present embodiment, if source customer end A participates in communication session b, the member client of this communication session b comprises: if source customer end A, customer end B, client C and client D customer end B are in the non-access state of off-line, client C is in online access and non-Wifi network environment, client D is in online access and Wifi network environment, and described target determination unit 4002 can choose the client D of transmission configuration the best as destination client.
In the embodiment of the present invention, when source client-requested obtains the historical data of communication session, inquiry and described source client participate in the destination client of same communication session, the historical data of asked communication session is obtained from destination client, thus the historical data of communication session can be provided for source client, to make described source client can provide historical data support in communication session, improve quality and the efficiency of communication session.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (15)

1. a data processing method, is characterized in that, comprising:
When receiving the acquisition request of the historical data about communication session that source client sends, server lookup and described source client participate in the destination client of same communication session;
Described server obtains the historical data of the communication session of asking from described destination client;
The historical data of asked communication session is sent to described source client by described server.
2. the method for claim 1, is characterized in that, described when receiving the acquisition request of the historical data about communication session that source client sends, server lookup and described source client participate in the destination client of same communication session, comprising:
When receiving the acquisition request of the historical data about communication session that source client sends, the communication session that described in server lookup, source client participates in;
Described server judges the type of the communication session that described source client participates in;
If the type of the communication session that described source client participates in is independent session, another member client in the communication session that described source client participates in by described server except the client of described source is defined as destination client;
If the type of the communication session that described source client participates in is cluster conversation, in described server other member client from the communication session that described source client participates in except the client of described source, the member client choosing transmission configuration the best is defined as destination client.
3. method as claimed in claim 1 or 2, it is characterized in that, described server obtains the historical data of the communication session of asking from described destination client, comprising:
Described server sends data upload instruction to described destination client, and the historical data of the communication session of asking according to described data upload instruction fetch to make described destination client is also uploaded;
Described server receives the historical data of the communication session of asking that described destination client is uploaded.
4. method as claimed in claim 3, it is characterized in that, the historical data of asked communication session is sent to described source client by described server, comprising:
The historical data of the communication session of asking that destination client described in described server buffer is uploaded, when data cached data volume arrives predetermined number threshold value, described server is data cachedly sent to described source client by described; Or,
The historical data of the communication session of asking that destination client described in described server buffer is uploaded, when arriving preset time threshold, described server is data cachedly sent to described source client by described.
5. method as claimed in claim 4, it is characterized in that, it is characterized in that, described server also comprises before the historical data of asked communication session is sent to described source client:
Described server obtains the transmission configuration of described source client, and described transmission configuration comprises access state and network environment status;
If the transmission configuration of described source client accesses for online and be positioned at wifi network environment, the historical data of asked communication session is sent to described source client by described server;
If the transmission configuration of described source client accesses for online and be positioned at non-Wifi network environment, described server sends transmission prompting message to described source client, when receiving the acknowledge message that described source client returns, the historical data of asked communication session is sent to described source client by described server.
6. a data processing method, is characterized in that, comprising:
Source client query and local terminal participate in the destination client of same communication session;
Described source client sends the acquisition request about the historical data of communication session to described destination client;
Described source client receives the historical data of the communication session of asking that described destination client returns.
7. method as claimed in claim 6, it is characterized in that, the client query of described source and local terminal participate in the destination client of same communication session, comprising:
Described source client judges the type of the communication session that local terminal participates in;
If the type of the communication session participated in is independent session, another member client in participated in communication session except local terminal is defined as destination client by described source client;
If the type of the communication session participated in is cluster conversation, in described source client other member client from participated in communication session except local terminal, the member client choosing transmission configuration the best is defined as destination client.
8. a data processing equipment, is characterized in that, comprising:
Query unit, for when receiving the acquisition request of the historical data about communication session that source client sends, inquiry and described source client participate in the destination client of same communication session;
Request unit, for obtaining the historical data of the communication session of asking from described destination client;
Feedback unit, for being sent to described source client by the historical data of asked communication session.
9. device as claimed in claim 8, it is characterized in that, described query unit comprises:
Session query unit, for when receiving the acquisition request of the historical data about communication session that source client sends, inquires about the communication session that described source client participates in;
Type judging unit, for judging the type of the communication session that described source client participates in;
Target determination unit, if the type of the communication session participated in for described source client is independent session, another member client in the communication session participate in described source client except the client of described source is defined as destination client; Or, if the type of the communication session participated in for described source client is cluster conversation, in other member client from the communication session that described source client participates in except the client of described source, the member client choosing transmission configuration the best is defined as destination client.
10. device as claimed in claim 8 or 9, it is characterized in that, described request unit comprises:
Command unit, for sending data upload instruction to described destination client, the historical data of the communication session of asking according to described data upload instruction fetch to make described destination client is also uploaded;
Data receipt unit, for receiving the historical data of the communication session of asking that described destination client is uploaded.
11. devices as claimed in claim 10, it is characterized in that, described feedback unit comprises:
Buffer unit, for the historical data of the communication session of asking that destination client described in buffer memory is uploaded;
Data transmission unit, for when data cached data volume arrives predetermined number threshold value, is data cachedly sent to described source client by described, or when arrival preset time threshold, is data cachedly sent to described source client by described.
12. devices as claimed in claim 11, is characterized in that, also comprise:
Configuration acquiring unit, for obtaining the transmission configuration of described source client, described transmission configuration comprises access state and network environment status;
Transmission processing unit, if access for the transmission configuration of described source client for online and be positioned at wifi network environment, notifies that the historical data of asked communication session is sent to described source client by described feedback unit; Or, if access for the transmission configuration of described source client for online and be positioned at non-Wifi network environment, transmission prompting message is sent to described source client, when receiving the acknowledge message that described source client returns, notify that the historical data of asked communication session is sent to described source client by described feedback unit.
13. 1 kinds of servers, is characterized in that, comprise the data processing equipment as described in any one of claim 8-12.
14. 1 kinds of clients, is characterized in that, comprising:
Query unit, for inquiring about the destination client participating in same communication session with local terminal;
Request unit, for sending the acquisition request about the historical data of communication session to described destination client;
Receiving element, for receiving the historical data of the communication session of asking that described destination client returns.
15. clients as claimed in claim 14, it is characterized in that, described query unit comprises:
Type judging unit, for judging the type of the communication session that local terminal participates in;
Target determination unit, if be independent session for the type of the communication session participated in, is defined as destination client by another member client in participated in communication session except local terminal; Or if be cluster conversation for the type of the communication session participated in, in other member client from participated in communication session except local terminal, the member client choosing transmission configuration the best is defined as destination client.
CN201510122497.9A 2015-03-19 2015-03-19 Data processing method and device, client side and server Pending CN104753933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510122497.9A CN104753933A (en) 2015-03-19 2015-03-19 Data processing method and device, client side and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510122497.9A CN104753933A (en) 2015-03-19 2015-03-19 Data processing method and device, client side and server

Publications (1)

Publication Number Publication Date
CN104753933A true CN104753933A (en) 2015-07-01

Family

ID=53593037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510122497.9A Pending CN104753933A (en) 2015-03-19 2015-03-19 Data processing method and device, client side and server

Country Status (1)

Country Link
CN (1) CN104753933A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911554A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of historical information methods of exhibiting and device
CN107103652A (en) * 2017-03-13 2017-08-29 珠海格力电器股份有限公司 The storage method and device of data
CN107231401A (en) * 2016-03-25 2017-10-03 华为技术有限公司 A kind of methods, devices and systems of monitoring session
CN111813458A (en) * 2019-09-02 2020-10-23 厦门雅基软件有限公司 Session data acquisition method and device, electronic equipment and readable storage medium
CN116107503A (en) * 2022-12-26 2023-05-12 长春吉大正元信息技术股份有限公司 Data transmission method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056188A (en) * 2006-04-10 2007-10-17 腾讯科技(深圳)有限公司 Method and system for pushing the history records to the specified members in the discussion group
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN104125135A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Instant messaging application chatting record management method and terminal thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056188A (en) * 2006-04-10 2007-10-17 腾讯科技(深圳)有限公司 Method and system for pushing the history records to the specified members in the discussion group
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN104125135A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Instant messaging application chatting record management method and terminal thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911554A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of historical information methods of exhibiting and device
CN106911554B (en) * 2015-12-23 2020-07-10 北京奇虎科技有限公司 Historical information display method and device
CN107231401A (en) * 2016-03-25 2017-10-03 华为技术有限公司 A kind of methods, devices and systems of monitoring session
CN107231401B (en) * 2016-03-25 2021-02-09 华为技术有限公司 Session monitoring method, device and system
CN107103652A (en) * 2017-03-13 2017-08-29 珠海格力电器股份有限公司 The storage method and device of data
CN111813458A (en) * 2019-09-02 2020-10-23 厦门雅基软件有限公司 Session data acquisition method and device, electronic equipment and readable storage medium
CN116107503A (en) * 2022-12-26 2023-05-12 长春吉大正元信息技术股份有限公司 Data transmission method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN104753933A (en) Data processing method and device, client side and server
CN101212444B (en) The method of managing conversation and wireless universal serial bus host and device
EP2800302B1 (en) Method, device and system for determining a policy and charging rule function
CN105939335A (en) Method and system for managing channel ownership in a publish-subscribe data processing environment
CA2393571A1 (en) Anonymity in a presence management system
CN105101456B (en) A kind of method, equipment and system for internet of things equipment triggering
CN107645561A (en) A kind of preview picture method of cloud mobile phone
CN110808948B (en) Remote procedure calling method, device and system
KR20140127744A (en) Electronic device for multiple radio access and method thereof
CN102143212A (en) Cache sharing method and device for content delivery network
CN108984433B (en) Cache data control method and equipment
CN103516579A (en) Service system providing offline message and corresponding service method
CN108055199A (en) Support the mobile method for pushing and system that deferred information preserves
CN104506457A (en) Bandwidth adjusting method and system and intelligent pipeline platform
KR102220979B1 (en) Method, apparatus and system for providing next generation messaging service
CN107580365B (en) Region management method and system for satellite communication
EP3035721A1 (en) Resource sharing between devices in a wireless network
CN103781025A (en) Instant message state update system, instant message state update system and instant message server
CN101742422A (en) Method and device of mobile instant messaging
CN102209313A (en) Presence information subscribing method and system, resource list server and presence server
KR101066328B1 (en) Method for balancing load in mobile environment and mobile device implementing the same
CN105516247A (en) Information recommendation method and apparatus for communication application
US20110154211A1 (en) Apparatus and method for providing information of terminal for session mobility between terminals
KR101813693B1 (en) Method, user device and server for sending bulk message
CN107347110A (en) Intelligent terminal tele-control system

Legal Events

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

Application publication date: 20150701