CN103379015B - The data transmission method of Website server and IM client and its device and system - Google Patents
The data transmission method of Website server and IM client and its device and system Download PDFInfo
- Publication number
- CN103379015B CN103379015B CN201210107489.3A CN201210107489A CN103379015B CN 103379015 B CN103379015 B CN 103379015B CN 201210107489 A CN201210107489 A CN 201210107489A CN 103379015 B CN103379015 B CN 103379015B
- Authority
- CN
- China
- Prior art keywords
- application
- list
- client
- renewal
- website server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
This application discloses the data transmission method of a kind of Website server and IM client and its device and system, wherein, the method includes:Website server receives the operational order from user;Website server responds operational order and the customized application of user in the local list of application preserving is managed operating;List of application after management operation is updated for the Website server, and the list of application after updating is pushed to IM client by long connection, wherein, the length that length is connected as instant messaging IM server with IM client is set up is connected.Present application addresses the website side belonging to application in IM client in correlation technique cannot keep length to be connected thus the problem of message push cannot be realized with IM client, ensure that Website server and IM client message therebetween pushes, further, also achieve the data syn-chronization between the website side belonging to application and the IM client in IM client.
Description
Technical field
The application is related to internet arena, in particular to the data transfer of a kind of Website server and IM client
Method and its device and system.
Background technology
With the development of Internet technology, instant messaging (Instant Messenger, abbreviation IM) product is because of its own side
Just used by increasing user the advantages of, quick, therefore, in instant communication product, often additional number of site side
Application, lift the usage amount of the application of website side by the customer group of shared IM.
In the related, application that can be customized to user in website side by the following method is managed:
S1:Website server receive user input on website with apply corresponding management operation instruction;
S2:Website server response management operational order is managed operation accordingly to the application of website side, for example, increases
Plus application, deletion are applied, the position in list of application is applied in change.
Equally, in the related, line pipe can be entered in the application customized to user of IM client-side by the following method
Reason:
S1:IM client receive user input on website with apply corresponding management operation instruction;
S2:IM client end response management operation instruction is managed operation accordingly to the application of IM client-side, for example,
Increase application, delete application, change and apply the position in list of application.
However, in the related, do not set up transmission channel between Website server and IM client, so,
Website server local application is managed operate after it is impossible to by update after application message synchronized update to IM client
On, or, it is impossible to arrive the application message synchronized update after updating after IM client is managed to local application operating
On Website server.Thus so that Website server is asynchronous with the application message in IM client.
For the problems referred to above in correlation technique, effective solution is not yet proposed at present.
Content of the invention
The main purpose of the application is to provide data transmission method and its dress of a kind of Website server and IM client
Put and system, length cannot be kept with the website side solving belonging to the application in IM client in correlation technique to be connected with IM client
Thus the problem of message push cannot be realized.
One side according to the application, there is provided a kind of Website server and the data transmission method of IM client, is somebody's turn to do
Method includes:Website server receives the operational order from user;Website server responds operational order to local preservation
In list of application, the customized application of user is managed operating;Application row after management operation is updated for the Website server
Table, and the list of application after updating is pushed to IM client by long connection, wherein, length is connected as servicing in instant messaging IM
The length set up between device and IM client is connected.
Preferably, above-mentioned management operation includes at least one of:List of application increases and applies, from list of application
Delete application, change and apply the position in list of application.
Preferably, after the list of application after updating is pushed to IM client by long connection by Website server, also
Including:IM client receives the list of application after updating;IM client is according to the list of application after the renewal receiving to local
The list of application preserving synchronizes renewal operation, wherein, synchronized update the list of application of local preservation that obtains of operation with
List of application after the renewal receiving is consistent.
Preferably, IM client is carried out more to the local list of application preserving according to the list of application after the renewal receiving
New step includes:List of application after the renewal that the first process in IM client will be received by the first process passes through process
Between passage be sent to the second process in IM client, wherein, the second process is used in the local list of application preserving
Application is managed operating;Second process is carried out to the local list of application preserving according to the list of application after the renewal receiving
Synchronized update operates.
Preferably, Website server and the data transmission method of IM client also include:IM client receives and is derived from user
Operational order;IM client end response operational order is managed grasping to the customized application of user in the local list of application preserving
Make, wherein, management operation includes at least one of:Increase application in list of application, delete application from list of application, change
Allergic effect is used in the position in list of application;List of application after management operation is updated for the IM client, and after updating
List of application be sent to Website server.
Preferably, the step that the list of application after updating is sent to Website server is included by IM client:IM client
The request updating list of application is sent by HTTP to Website server;IM client after Website server respond request,
Send certification mark to Website server;IM client Website server identification certification mark after, by update after application
List is sent to Website server.
Preferably, after the list of application after updating is sent to Website server by IM client, the method also includes:
Website server receives the list of application after updating;Website server is protected to local according to the list of application after the renewal receiving
The list of application deposited synchronizes renewal operation, and wherein, synchronized renewal operates the list of application of local preservation obtaining and connect
List of application after the renewal receiving is consistent.
Preferably, the method also includes:The notification message related to the application in list of application is passed through by Website server
Long connection is pushed to IM client.
A kind of another aspect according to the application, there is provided Website server, including:First receiving unit, for receiving
Operational order from user;First administrative unit, orders to user in the local list of application preserving for responding operational order
The application of system is managed operating, and wherein, management operation includes at least one of:In list of application increase application, from should
With deleting application in list, changing and apply the position in list of application;First push unit, for obtaining through management operation
List of application after renewal, and the list of application after updating is pushed to IM client by long connection, wherein, length is connected as
The length set up between instant messaging IM server and IM client is connected.
Preferably, this Website server also includes:Second receiving unit, for receiving what IM client was sent by HTTP
Update the request of list of application;First response unit, for responding the request of the renewal list of application of IM client transmission, and to
IM client sends certification request;Recognition unit, for identifying the certification mark that IM client sends.
Preferably, this Website server also includes:3rd receiving unit, passes through long connection for receiving from IM client
List of application after the renewal pushing;First updating block, for protecting to local according to the list of application after the renewal receiving
The list of application deposited synchronizes renewal operation, and wherein, synchronized renewal operates the list of application of local preservation obtaining and connect
List of application after the renewal receiving is consistent.
Preferably, also include:Second push unit, for passing through the notification message related to the application in list of application
Long connection is pushed to IM client.
A kind of another aspect according to the application, there is provided IM client, this IM client includes:Receiving unit, is used for
Receive the list of application after the long renewal connecting and pushing from Website server, wherein, length is connected as in instant messaging IM
The length set up between server and IM client is connected;Updating block, for according to the list of application pair after the renewal receiving
The local list of application preserving synchronizes renewal operation, wherein, the synchronized application row updating the local preservation that operation obtains
Table is consistent with the list of application after the renewal receiving.
Preferably, updating block includes:First process, for receiving the list of application after renewal, and will receive more
List of application after new by process between passage be sent to the second process;Second process, for receiving what the first process sent
List of application after renewal, and the application in the local list of application preserving is managed operating, wherein, the second process according to
List of application after the renewal receiving synchronizes renewal operation to the local list of application preserving.
Preferably, described receiving unit is additionally operable to receive the operational order from user;Described IM client also includes:Pipe
Reason unit, is managed operating to the customized application of user in the local list of application preserving for responding operational order, wherein,
Management operation includes at least one of:Increase application in list of application, delete application from list of application, change and apply
Position in list of application;Push unit, for through management operation is updated after list of application, and will update after answer
With list, Website server is pushed to by long connection.
A kind of another aspect according to the application, there is provided communication system, including above-mentioned Website server and IM client
End.
In technical scheme described in the application, Website server is shared instant messaging IM server and is built with IM client
Vertical long connection, is connected by the length that IM server and IM client are set up and for application data to be sent to IM client, IM client
End receives the data from Website server transmission and IM client is updated by the data according to reception from application with it.
Meanwhile, when user is managed operation to the application in IM client, IM client can also be managed operation accordingly and be sent out
Give Website server, realize the data syn-chronization between Website server and IM client, thus solving net in correlation technique
The nonsynchronous problem of application message in site server and IM client is it is ensured that application in Website server and IM client
Consistency on messaging.Additionally, by above-mentioned long connection, notification message can also be pushed to IM client by Website server, so,
IM client can obtain and the information applying corresponding business aspect in real time.
Brief description
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen
Schematic description and description please is used for explaining the application, does not constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is that the Website server according to the embodiment of the present application is preferred with one kind of the data transmission system of IM client
Structural representation;
Fig. 2 is a kind of preferred structure chart of the Website server according to the embodiment of the present application;
Fig. 3 is another kind of preferably structure chart of the Website server according to the embodiment of the present application;
Fig. 4 is another preferred structure chart of the Website server according to the embodiment of the present application;
Fig. 5 is another preferred structure chart of the Website server according to the embodiment of the present application;
Fig. 6 is a kind of preferred structure chart of the IM according to the embodiment of the present application;
Fig. 7 is another kind of preferably structure chart of the IM according to the embodiment of the present application;
Fig. 8 is another preferred structure chart of the IM according to the embodiment of the present application;
Fig. 9 is that the Website server according to the embodiment of the present application is preferred with one kind of the data transmission method of IM client
Flow chart;
Figure 10 is that the application that the IM client according to the embodiment of the present application is added is switched to work from the sidebar of IM client
A kind of preferred flow chart of tool strips;
Figure 11 is that the application that the IM client according to the embodiment of the present application is added is switched to IM client from instrument strips
Sidebar a kind of preferred flow chart;
Figure 12 be according to the embodiment of the present application when additional application is in the sidebar of IM client Website server
The synchronous schematic flow sheet with IM client data;And
Figure 13 is that had during renewal according to the Website server of the embodiment of the present application for new information to be sent to IM client
Preferably flow chart.
Specific embodiment
To describe the application in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting
In the case of, the embodiment in the application and the feature in embodiment can be mutually combined.
Before the further detail below of description present embodiments, will be described with reference to Figure 1 and can be used for realizing this Shen
The suitable counting system structure of of principle please.In the following description, except as otherwise noted, otherwise will with reference to by one or
Multiple actions of computer execution and the symbol of operation represent to describe present embodiments.As such, it will be understood that sometimes
It is referred to as this kind of action of computer execution and operate the processing unit including computer to represent data to structured form
The manipulation of the signal of telecommunication.This manipulation transforms data or safeguard it on the position in the accumulator system of computer, this is with this
The mode of the technical staff in field all understanding reconfigures or changes the operation of computer.The data structure safeguarding data is that have
The physical location of the memorizer of particular community defined in the form of data.Although however, this Shen described in above-mentioned context
Please, but its being not intended to limit property, as understood by those skilled in the art, action described below and operation
Each side also can be realized with hardware.
Turn to accompanying drawing, wherein identical reference number refers to identical element, and the principle of the application is shown in a conjunction
Realize in suitable computing environment.Hereinafter describe based on embodiments herein, and be not considered as with regard to not clear and definite herein
Description alternative embodiment and limit the application.
Fig. 1 shows the schematic diagram of the example computer architecture that can be used for these equipment.Mesh for description
, the architecture painted is only an example of proper environment, and not the range to the application or function proposition are any
Limitation.Also this computing system should not be construed to there is any dependence or demand to any component shown in Fig. 1 or a combination thereof.
The principle of the application can be operated using the universal or special calculating of other or communication environment or configuration.It is applied to this
The example of the well-known computing system, environment and configuration of application includes but is not limited to, personal computer, server, many places
Reason device system, the system based on microprocessor, the distribution of minicomputer, mainframe computer and the arbitrary said system of inclusion or equipment
Formula computing environment.
In its most basic configuration, the Website server in Fig. 1 is at least wrapped with the data transmission system 100 of IM client
Include:The server 102 of one website and one or more client 104.Server 102 can include but is not limited to microprocessor
The processing meanss of device MCU or PLD FPGA etc., the storage device for data storage and and client communication
Transmitting device;Client 104 can include:The transmitting device of Micro-processor MCV and server communication and user mutual
Display device.In the present specification and claims, " data transmission system of Website server and IM client " can also
It is defined as being able to carry out software, firmware or microcode to realize any nextport hardware component NextPort of function or the combination of nextport hardware component NextPort.Website
The data transmission system 100 of server and IM client can even is that distributed, to realize distributed function.
As used in this application, term " module ", " assembly " or " unit " can refer in Website server and IM client
The software object of execution or routine in the data transmission system 100 at end.Difference assembly described herein, module, unit, engine
Can be implemented as executing (for example, as single in the data transmission system 100 with IM client for the Website server with service
Thread) object or process.Although system and method described herein preferably to be realized with software, hardware or software
Realization with the combination of hardware is also may and to be contemplated.
Embodiment 1
This application provides a kind of Website server, as shown in Fig. 2 this Website server includes:First receiving unit
202, for receiving the operational order from user;First administrative unit 204, answers to local preservation for responding operational order
It is managed operating with the customized application of user in list, wherein, management operation includes at least one of:In list of application
Increase application, delete application from list of application, change and apply the position in list of application;First push unit 206, with
One administrative unit 204 connects, and for the list of application after management operation is updated, and the list of application after updating is led to
Long connection is pushed to IM client, and wherein, length is connected as the length set up between instant messaging IM server and IM client
Connect.Specifically, for example, the different application of certain website is attached with a kind of IM client of instant messenger, when with
Family application customized to user under the corresponding website of application of IM client carries out different operating, and (e.g., user is in current site
Position relationship between the lower application deleting customization, the related application increasing under website or the adjustment application of customization) when, website
Server receives the operational order from user, and executes this operational order corresponding management operation (application of deletion customization, increasing
Plus the position relationship of application or the adjustment application of customization), after the operation having executed user's instruction, according to user in current net
The application of system of standing firm forms new list of application, and Website server passes through instant messaging IM server and sets up long company with IM client
Connect and the list of application after updating is pushed to IM client, now, IM client is according to the list of application after this renewal to IM visitor
On the end of family, the application of additional website is adjusted, and reaches and arranges with the application on website with additional list of application in IM client
Table is synchronous.
Above-mentioned preferred embodiment in, Website server shares what instant messaging IM server and IM client were set up
Long connection, is connected by the length that IM server and IM client are set up and for application data to be sent to IM client, IM client terminates
Receive the data from Website server transmission and application with it is updated certainly by IM client according to the data receiving.With
When, when user is managed operation to the application in IM client, IM client can also be managed operation accordingly and be sent
To Website server, realize the data syn-chronization between Website server and IM client, thus solving website in correlation technique
The nonsynchronous problem of application message on server and IM client is it is ensured that Website server is believed with the application in IM client
Breath concordance.Additionally, by above-mentioned long connection, notification message can also be pushed to IM client, so, IM by Website server
Client can obtain and the information applying corresponding business aspect in real time.
The application is also improved to above-mentioned Website server, is received from IM client with realizing Website server
Update the data the data syn-chronization it is ensured that between Website server and IM client, for achieving the above object, specifically, as Fig. 3 institute
Show, Website server also includes:Second receiving unit 302, is arranged by the more new opplication that HTTP sends for receiving IM client
The request of table;First response unit 304, is connected with the second receiving unit 302, for responding the more new opplication of IM client transmission
The request of list, and send certification request to IM client;Recognition unit 306, is connected with the first response unit 304, for knowing
The certification mark that other IM client sends.Above-mentioned preferred embodiment in, Website server also receives from IM client
By HTTP send renewal list of application request, Website server respond this ask and identify certification mark after, connect
Receive updating the data from IM client, be further ensured that the data syn-chronization between server and IM client.
The application has also carried out further optimization to above-mentioned Website server, to realize Website server and IM client
Between data syn-chronization, for achieving the above object, specifically, as shown in figure 4, this Website server also includes:3rd receives list
Unit 402, for receiving the list of application after the long renewal connecting and pushing from IM client;First updating block 404, with
3rd receiving unit 402 connects, for being carried out to the local list of application preserving according to the list of application after the renewal receiving
Synchronized update operates, wherein, answering after synchronized renewal the operation list of application of local preservation obtaining and the renewal receiving
Consistent with list.Specifically, for example, the application of certain website is attached with a kind of IM client of instant messenger, when
User the list of application of IM client is modified (e.g., user delete under current site customization application, increase website under
Position relationship between the application of customization of related application or adjustment) when, Website server can be serviced by instant messaging IM
Device is connected the new list of application receiving user after the change of IM client, meanwhile, website service with IM client foundation length
The corresponding list of applying of user's customization on website is carried out more by device according to the list of application after user's renewal in IM client
Newly, on website after renewal, the application from IM client that corresponding list and Website server receive of applying of user's customization arranges
Table is consistent, realizes the synchronization of Website server and data in IM client further.
The application has also carried out further optimization to above-mentioned Website server, specifically, as shown in figure 5, this website
Server also includes the second push unit 502, connects for the notification message related to the application in list of application is passed through length
It is pushed to IM client.For example, the application of certain website is attached with a kind of IM client of instant messenger, when on website
When in corresponding IM client, additional application has data to update, can by the data updating pass through instant messaging IM server with
IM client sets up long linkup transmit to IM client it is preferred that applying of adding in IM client is receiving network upgrade
After data, corresponding application can remind user in different forms it is preferred that display should in the application that updates on the client
With the quantity updating, or it is prompted to user in the form of character rolling.The enforcement of technique scheme, when adnexa in IM client
Application when having data to update, Website server in time by the data-pushing updating to client it is ensured that user to pass through IM objective
Family end obtains up-to-date data in time.
Embodiment 2
On the basis of Website server described in above-described embodiment 1, present invention also provides a kind of and above-mentioned website
Server corresponding IM client, specifically, as shown in fig. 6, this IM client includes:Receiving unit 602, is derived from for receiving
List of application after the long renewal connecting and pushing for the Website server, wherein, length be connected as instant messaging IM server with
The long connection set up between IM client;Updating block 604, is connected with receiving unit 602, after according to the renewal receiving
List of application renewal operation is synchronized to the local list of application preserving, wherein, synchronized update that operation obtains local
The list of application preserving is consistent with the list of application after the renewal receiving.Specifically, for example, in a kind of instant messenger
IM client on be attached with the different application of certain website, when user orders to user under the corresponding website of application of IM client
System application carry out different operating (e.g., user delete under current site customization application, increase website under related application or
Position relationship between the adjustment application of customization) when, Website server receives the operational order from user, and executes this behaviour
Make order corresponding management operation (delete the application of customization, increase application or the position relationship of the adjustment application of customization),
After having executed the operation of user's instruction, new list of application, website service are formed according to the application that user customizes in current site
Device is set up to grow to be connected by instant messaging IM server and IM client and the list of application after updating is pushed to IM client, this
When, IM client receives passes through the list of application after the long renewal connecting push from Website server, and according to receiving
List of application after renewal synchronizes renewal operation to the list of application locally preserving, and reaches and additional answering in IM client
Synchronous with the list of application on website with list.
The application is also improved to above-mentioned updating block 604, specifically, as shown in fig. 7, updating block 604 wraps
Include:First process 702 and the second process 704, wherein, the first process 702 is used for the list of application after receiving renewal, and will receive
To renewal after list of application by process between passage be sent to the second process 704;Second process 704 receives the first process
List of application after the renewal sending, and the application in the local list of application preserving is managed operating, wherein, second enters
Journey 704 synchronizes renewal operation according to the list of application after the renewal receiving to the local list of application preserving.Above-mentioned
In preferred embodiment, the first process 702 receives the list of application after updating, and the list of application after updating is passed through process
Between passage be sent to the second process 704 it is ensured that IM client can receive the list of application after renewal, the second process
704 are specifically updated operation according to the list of application after the renewal that receives to the application in IM client it is ensured that IM
In client be applied to the customization of user under website list of application consistent.
The application has also carried out further optimization to above-mentioned IM client, specifically, as shown in figure 8, described reception
Unit is additionally operable to receive the operational order from user;This IM client also includes:Administrative unit 804, with described receiving unit
602 connections, are managed operating to the customized application of user in the local list of application preserving for responding operational order, its
In, management operation includes at least one of:Increase application in list of application, deletion is applied from list of application, changing should
Position in list of application;Push unit 806, is connected with administrative unit 804, for after management operation is updated
List of application, and by update after list of application be sent to Website server.For example, in a kind of IM visitor of instant messenger
The application of certain website is attached with the end of family, (e.g., user is in current site when user is modified to the list of application of IM client
Position relationship between the lower application deleting customization, the related application increasing under website or the adjustment application of customization) when, IM visitor
By user, the new list of application after the change of IM client is sent to corresponding website client end it is preferred that IM client at family end
End sends the request updating list of application, after Website server respond request, IM client by HTTP to Website server
Hold and send certification mark to Website server it is preferred that this certification mark can be the software account of this IM client, in website
After server identification certification mark, the list of application after updating is sent to Website server by IM client.Receive new
The corresponding list of application of user's customization on website is updated it according to user in IM client by the Website server of list of application
List of application afterwards is updated, and the corresponding list of application of user's customization on website after renewal is next with Website server reception
Consistent from the list of application of IM client, realize the data syn-chronization of Website server and IM client further.
Present invention also provides a kind of communication system, this system includes Website server and enforcement described in embodiment 1
IM client described in example 2, just repeats no more herein.
Embodiment 3
On the basis of above-described embodiment 1 and embodiment 2, present invention also provides a kind of Website server and IM client
Data transmission method, specifically, as shown in figure 9, the method comprises the steps:
S902, Website server receives the operational order from user;
S904, Website server responds operational order and enters line pipe to the customized application of user in the local list of application preserving
Reason operation;Preferably, described management operation includes at least one of:Increase application in described list of application, answer from described
With deleting application in list, changing and apply the position in list of application.
S906, Website server through management operation is updated after list of application, and by renewal after list of application
IM client is pushed to by long connection, wherein, length is connected as foundation between instant messaging IM server and IM client
Long connection.
Specifically, for example, the different application of certain website is attached with a kind of IM client of instant messenger, when
User's application customized to user under the corresponding website of application of IM client carries out different operating, and (e.g., user is in current net
The position relationship stood down between the application deleting customization, the related application increasing under website or the adjustment application of customization) when, net
Site server receive from user operational order, and execute this operational order corresponding management operation (delete customization application,
Increase application or the position relationship of the adjustment application of customization), after the operation having executed user's instruction, according to user current
The application of website customization forms new list of application, and Website server passes through instant messaging IM server and sets up length with IM client
Connect and the list of application after updating is pushed to IM client, now, IM client is according to the list of application after this renewal to IM
In client, the application of additional website is adjusted, and reaches and the application on list of application and website additional in IM client
List synchronization.
Above-mentioned preferred embodiment in, Website server shares what instant messaging IM server and IM client were set up
Long connection, is connected by the length that IM server and IM client are set up and is sent to and IM client application data, IM client
Receive the data from Website server transmission and application with it is updated certainly by IM client according to the data receiving.With
When, when user is managed operation to the application in IM client, IM client can also be managed operation accordingly and be sent
To Website server, realize the data syn-chronization between Website server and IM client, thus solving website in correlation technique
The nonsynchronous problem of application message on server and IM client is it is ensured that Website server is believed with the application in IM client
Breath concordance.Additionally, by above-mentioned long connection, notification message can also be pushed to IM client by Website server, so, can
Can be obtained in real time and the information applying corresponding business aspect with IM client.
The application is also optimized to the data transmission method of above-mentioned Website server and IM client, specifically,
After the list of application after updating is pushed to IM client by long connection by Website server, also include:IM client terminates
Receive the list of application after updating;IM client is entered to the local list of application preserving according to the list of application after the renewal receiving
Row synchronized update operates, wherein, after synchronized renewal the operation list of application of local preservation obtaining and the renewal receiving
List of application is consistent.Above-mentioned preferred embodiment in, IM client receive from Website server send user in net
The application to customization of standing down be modified after list of application it is ensured that list of application website corresponding with this application under IM client
Under list of application consistent.
Present invention also provides a kind of IM client is answered to local preservation according to the list of application after the renewal receiving
The specific scheme being updated with list, the program comprises the steps:The first process in IM client will be entered by first
List of application after the renewal that journey receives by process between passage be sent to the second process in IM client, wherein,
Two processes are used for the application in the local list of application preserving is managed operating;After second process is according to the renewal receiving
List of application renewal operation is synchronized to the local list of application preserving.Above-mentioned preferred embodiment in, IM client
Two processes of execution difference in functionality, i.e. the first process and the second process are included on end, the first process receives answering after updating
With list, and by the list of application after updating by process between passage be sent to the second process it is ensured that IM client can
Receive the list of application after renewal, the second process is according to the list of application after the renewal receiving to the application in IM client
Specifically updated operation it is ensured that in IM client be applied to the customization of user under website list of application consistent.
Present invention also provides a kind of IM client will be preferred to Website server for the data is activation of IM client itself
Method, specifically, the method comprises the steps:IM client receives the operational order from user;IM client is rung
Answer operational order that the customized application of user in the local list of application preserving is managed operating, wherein, management operation includes
At least one of:Increase application in list of application, delete application from list of application, change and apply in list of application
Position;List of application after management operation is updated for the IM client, and the list of application after updating is sent to website
Server.For example, the different application of certain website is attached with a kind of IM client of instant messenger, when user is in IM visitor
Family end apply the application customized to user under corresponding website to carry out different operating (e.g., user deletes calmly under current site
Position relationship between related application under the application of system, increase website or the adjustment application of customization) when, Website server connects
Receive from user operational order, and execute this operational order corresponding management operation (delete customization application, increase application or
The position relationship of the adjustment application of customization), after the operation having executed user's instruction, customized in current site according to user
Application forms new list of application, and the list of application after updating is sent to IM client Website server it is preferred that IM client
End sends the request updating list of application, after Website server respond request, IM client by HTTP to Website server
Hold and send certification mark to Website server it is preferred that this certification mark can be the software account of this IM client, in website
After server identification certification mark, the list of application after updating is sent to Website server by IM client.
The application is also connected, by length, the method carrying out data transmission to above-mentioned Website server and IM client and carries out
Further optimization, specifically, after the list of application after updating is sent to Website server by IM client, also wraps
Include:Website server receives the list of application after updating;Website server is according to the list of application after the renewal receiving to this
The list of application that ground preserves synchronizes renewal operation, wherein, the synchronized list of application updating the local preservation that operation obtains
Consistent with the list of application after the renewal receiving.Above-mentioned preferred embodiment in, when user is right in the application of IM client
When under the website answered, the application customized to user carries out different operating, Website server receives the renewal sending from IM client
Rear new list of application it is ensured that in IM client be applied to user's customization under website list of application consistent.
The application has also carried out further optimization to said method, and the method also includes:Website server will be with application
The related notification message of application in list is pushed to IM client by long connection, specifically, for example, in a kind of instant chat
The application of certain website is attached with the IM client of instrument, when additional application in IM client corresponding on website has data more
When new, the data of renewal can be set up long linkup transmit to IM client by instant messaging IM server and IM client,
Preferably, that IM client is added applies after receiving the data of network upgrade, and corresponding application can carry in different forms
Awake user is it is preferred that show the quantity of this applying the update in the application that updates on the client, or is carried in the form of character rolling
Show to user.The enforcement of technique scheme, when the application of adnexa in IM client has data to update, Website server is timely
By the data-pushing of renewal to client it is ensured that user obtains up-to-date data in time by IM client.
Embodiment 4
The application, on the basis of above-described embodiment 1- embodiment 3, additionally provides a kind of specific Website server and IM
The scheme of the data transfer of client, specifically, the application application related to additional website in above-mentioned IM client
Display form is optimized it is preferred that stating additional application in IM client to include two kinds of forms:Application is attached to IM client
The sidebar at end or application are presented in independent tool bar, and both existence forms can be mutual switching, carries below
Supply the schematic flow sheet of mutually switching between both forms, Figure 10 shows the additional application of IM client from IM client
Sidebar be switched to a kind of preferred flow chart of instrument strips, comprise the steps:
S1002, user sends the request switching to tool bar form;
S1004, tool bar process show tools bar interface and user are in the corresponding data in this interface;
S1006, tool bar process judges whether user successfully loads and normally show in the corresponding data in this interface;If sentencing
Disconnected result is yes, execution step S1008, otherwise execution step S1010;
S1008, hiding sidebar, main interface layout again, and show tools bar;
S1010, shows handoff failure.
Figure 11 shows that the application that IM client is added is switched to one kind of the sidebar of IM client from instrument strips
Preferably flow chart, specifically, comprises the steps:
S1102, user sends the request of the sidebar switching to IM client;
S1104, main interface adjusts layout, and display sidebar and user are in the corresponding data in this interface;
S1106, judges whether user successfully loads and normally show in the corresponding data in this interface;If judged result is
It is, execution step S1108, otherwise execution step S1110;
S1108, hide tools bar, main interface layout again, and show sidebar;
S1110, shows handoff failure.
Above-mentioned preferred embodiment on the basis of, present invention also provides a kind of be in IM client when additional application
The Website server scheme synchronous with IM client data during the sidebar at end, specifically, as shown in figure 12, walks including following
Suddenly:
S1202, user executes the request of deletion, increase or Mobile solution in sidebar;
S1204, IM client sends a request to tool bar process by pipeline communication;
S1206, tool bar process logs in the corresponding website of application, calls website interface to send and application-dependent data is carried out
The request of modification;
S1208, Website server processes request;
S1210, Website server judges whether successfully modified;If success, execute S1212-S1214, otherwise execute
S1216-S1218;
S1212, tool bar process updates the application data of itself, and notifies IM client to be updated successfully;
S1214, IM client updates data in sidebar;
S1216, tool bar process notifies IM client to change unsuccessfully;
The display of S1218, IM client is changed unsuccessfully, and shows the state before modification.
Above-mentioned preferred embodiment in, after the renewal of application message is performed on IM client, IM client
Apply corresponding website that fresh information is synchronized on Website server it is ensured that Website server and IM client by logging in
On applied information consistency.
Figure 13 shows Website server to have during renewal to be sent to new information the preferred flow chart of IM client, tool
For body, comprise the steps:
S1302, Website server judges have new information will push;
S1304, Website server calls IM server interface transmission message to be pushed;
S1306, IM server is by long linkup transmit protocol package to IM client;
S1308, IM client is passed through to name pipeline notification tool hurdle process;
S1310, updates process internal data, and shows on interface.
In above-mentioned preferred embodiment, Website server passes through the length that instant messaging IM server is set up with IM client
Connect and carry out data transmission with IM client, by above-mentioned long connection, notification message can also be pushed to by Website server
IM client, as such, it is possible to IM client can obtain and the information applying corresponding business aspect in real time.
It can be seen from the foregoing description that in this application, Website server shares instant messaging IM server and IM visitor
The long connection that family end is set up, is connected by the length that IM server and IM client are set up and is sent to and IM client application data
End, the data from Website server transmission for the IM client reception the data according to reception are by IM client from application with it
It is updated.Meanwhile, when user is managed operation to the application in IM client, IM client can also be managed accordingly
Reason operation is sent to Website server, realizes the data syn-chronization between Website server and IM client, thus solving correlation
The nonsynchronous problem of application message in Website server and IM client in technology is it is ensured that Website server and IM client
On applied information consistency.Additionally, by above-mentioned long connection, notification message can also be pushed to IM client by Website server
End, as such, it is possible to IM client can obtain and the information applying corresponding business aspect in real time.
Obviously, those skilled in the art should be understood that each module of above-mentioned the application or each step can be with general
Computing device realizing, they can concentrate on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the executable program code of computing device, it is thus possible to they are stored
To be executed by computing device in the storage device, and in some cases, can be with different from shown in order execution herein
The step going out or describing, or they are fabricated to respectively each integrated circuit modules, or by the multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the application is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiment of the application, be not limited to the application, for the skill of this area
For art personnel, the application can have various modifications and variations.All within spirit herein and principle, made any repair
Change, equivalent, improvement etc., should be included within the protection domain of the application.
Claims (13)
1. a kind of Website server and the data transmission method of IM client are it is characterised in that include:
Website server receives the operational order from user;
Described Website server responds described operational order and the customized application of user described in the local list of application preserving is entered
Line pipe reason operation;
List of application after described management operation is updated for the described Website server, and call instant messaging IM server
Interface, the list of application after described renewal is pushed to described IM client by long connection, wherein, described length is connected as shortly
The length set up between Shi Tongxin IM server and IM client is connected;
Also include:
Described Website server receives the list of application after the renewal that IM client sends;
Described Website server carries out same according to the list of application after the described renewal receiving to the local list of application preserving
Step updates operation, wherein, after synchronized renewal the operation list of application of local preservation obtaining and the described renewal receiving
List of application is consistent.
2. method according to claim 1 is it is characterised in that described management operation includes at least one of:Described
Increase application in list of application, delete application from described list of application, change and apply the position in list of application.
3. method according to claim 1 is it is characterised in that arrange the application after described renewal in described Website server
After table is pushed to described IM client by described long connection, also include:
Described IM client receives described list of application after updating;
Described IM client synchronizes to the local list of application preserving according to the list of application after the described renewal receiving
Update operation, wherein, answering after synchronized renewal the operation list of application of local preservation obtaining and the described renewal receiving
Consistent with list.
4. method according to claim 3 it is characterised in that described IM client according to the described renewal receiving after
The step that list of application is updated to the local list of application preserving includes:
List of application after the described renewal that the first process in described IM client will be received by described first process passes through
Passage between process is sent to the second process in described IM client, and wherein, described second process is used for local preservation
Application in list of application is managed operating;
Described second process synchronizes to the local list of application preserving according to the list of application after the described renewal receiving
Update operation.
5. method according to claim 1 is it is characterised in that also include:
Described IM client receives the operational order from user;
Operational order described in described IM client end response is carried out to the customized application of user described in the local list of application preserving
Management operation, wherein, described management operation includes at least one of:Increase application in described list of application, answer from described
With deleting application in list, changing and apply the position in list of application;
Described IM client through described management operation is updated after list of application, and by described renewal after list of application
It is sent to described Website server.
6. method according to claim 5 is it is characterised in that the list of application after described renewal is sent out by described IM client
The step giving described Website server includes:
Described IM client is passed through HTTP and is sent the request updating described list of application to described Website server;
Described IM client, after the described request of described Website server response, sends certification mark to described Website server
Know;
Described IM client, after described Website server identification described certification mark, the list of application after described renewal is sent out
Give described Website server.
7. method according to claim 1 is it is characterised in that also include:
The notification message related to the application in list of application is pushed to described by described Website server by described long connection
IM client.
8. a kind of Website server is it is characterised in that include:
First receiving unit, for receiving the operational order from user;
First administrative unit, for responding described operational order to the customized application of user described in the local list of application preserving
It is managed operating, wherein, described management operation includes at least one of:Described list of application increases and applies, from institute
State and delete application in list of application, change and apply the position in list of application;
First push unit, for the list of application after described management operation is updated, and calls instant messaging IM to take
Business device interface, the list of application after described renewal is pushed to IM client by long connection, wherein, described length is connected as shortly
The length set up between Shi Tongxin IM server and IM client is connected;
3rd receiving unit, for receiving from IM client by the described long list of application connecting after the renewal pushing;
First updating block, for carrying out to the local list of application preserving according to the list of application after the described renewal receiving
Synchronized update operates, wherein, after synchronized renewal the operation list of application of local preservation obtaining and the described renewal receiving
List of application consistent.
9. Website server according to claim 8 is it is characterised in that also include:
Second receiving unit, for receiving the request of the described list of application of renewal that described IM client is sent by HTTP;
First response unit, for responding the request of the described list of application of renewal that described IM client sends, and to described IM
Client sends certification request;
Recognition unit, for identifying the certification mark that described IM client sends.
10. Website server according to claim 8 is it is characterised in that also include:
Second push unit, is pushed to institute for the notification message related to the application in list of application is passed through described long connection
State IM client.
A kind of 11. IM clients are it is characterised in that include:
Receiving unit, calls instant messaging IM server interface for receiving from Website server, is pushed by long connection
List of application after renewal, wherein, described length is connected as the length set up between instant messaging IM server and IM client even
Connect;Described list of application is the operational order that described Website server responds user, to user in the local list of application preserving
List of application after the renewal that customized application obtains after being managed operating;
Updating block, for synchronizing to the local list of application preserving according to the list of application after the described renewal receiving
Update operation, wherein, answering after synchronized renewal the operation list of application of local preservation obtaining and the described renewal receiving
Consistent with list;
Described receiving unit is additionally operable to:Receive the operational order from user;Described IM client also includes:
Administrative unit, is carried out to the customized application of user described in the local list of application preserving for responding described operational order
Management operation, wherein, described management operation includes at least one of:Increase application in described list of application, answer from described
With deleting application in list, changing and apply the position in list of application;
Push unit, be additionally operable to through described management operation is updated after list of application, and by described renewal after application
List is sent to described Website server, so that described Website server is according to the list of application pair after the described renewal receiving
The local list of application preserving synchronizes renewal operation, wherein, the synchronized application row updating the local preservation that operation obtains
Table is consistent with the list of application after the described renewal receiving.
12. IM clients according to claim 11 are it is characterised in that described updating block includes:
First process, for receiving the list of application after described renewal, and the list of application after the described renewal receiving is led to
Cross the passage between process and be sent to the second process;
Described second process, for receiving the list of application after the described renewal that described first process sends, and preserves to local
List of application in application be managed operate, wherein, described second process is according to the application after the described renewal receiving
List synchronizes renewal operation to the local list of application preserving.
A kind of 13. communication systems are it is characterised in that include the Website server as any one of claim 8-10 and power
Profit requires the IM client any one of 11-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210107489.3A CN103379015B (en) | 2012-04-12 | 2012-04-12 | The data transmission method of Website server and IM client and its device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210107489.3A CN103379015B (en) | 2012-04-12 | 2012-04-12 | The data transmission method of Website server and IM client and its device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103379015A CN103379015A (en) | 2013-10-30 |
CN103379015B true CN103379015B (en) | 2017-03-01 |
Family
ID=49463591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210107489.3A Active CN103379015B (en) | 2012-04-12 | 2012-04-12 | The data transmission method of Website server and IM client and its device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103379015B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103944923A (en) * | 2014-05-14 | 2014-07-23 | 沈文策 | Network information processing system and method |
CN104092682A (en) * | 2014-07-04 | 2014-10-08 | 深圳深讯和科技有限公司 | Data interaction method and system |
CN105991421A (en) * | 2015-03-02 | 2016-10-05 | 中国移动通信集团贵州有限公司 | Method, equipment and system for pushing message in group communication circle |
CN106202176A (en) * | 2016-06-27 | 2016-12-07 | 武汉斗鱼网络科技有限公司 | A kind of method and system realizing website version heat upgrading |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075990A (en) * | 2007-06-13 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method for issuing instant telecommunication software and instant telecommunication server |
CN101141414A (en) * | 2007-09-26 | 2008-03-12 | 腾讯科技(深圳)有限公司 | Method, system and instant communication client terminal of implementing feedback of advertisement grade |
CN102137126A (en) * | 2010-01-21 | 2011-07-27 | 腾讯科技(深圳)有限公司 | System and method for updating web data |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100221693A1 (en) * | 2006-03-31 | 2010-09-02 | Rakesh Kumar Gupta | Instant Messaging For A Virtual Learning Community |
CN101699911A (en) * | 2007-07-03 | 2010-04-28 | 卢苇 | Mobile instant messaging image compression method |
-
2012
- 2012-04-12 CN CN201210107489.3A patent/CN103379015B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075990A (en) * | 2007-06-13 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method for issuing instant telecommunication software and instant telecommunication server |
CN101141414A (en) * | 2007-09-26 | 2008-03-12 | 腾讯科技(深圳)有限公司 | Method, system and instant communication client terminal of implementing feedback of advertisement grade |
CN102137126A (en) * | 2010-01-21 | 2011-07-27 | 腾讯科技(深圳)有限公司 | System and method for updating web data |
Also Published As
Publication number | Publication date |
---|---|
CN103379015A (en) | 2013-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106790523B (en) | A kind of information push method and server | |
CN103379015B (en) | The data transmission method of Website server and IM client and its device and system | |
DE10354906A1 (en) | Interactive two-way collaboration in process control systems | |
CN110391974A (en) | A kind of message synchronization method, server-side, terminal and system | |
CN105721547A (en) | Method and device for cooperative processing business | |
CN102413068A (en) | Cloud computing-based system and method for controlling internet of things terminal device | |
CN108111401A (en) | A kind of colonization method across instantaneous communication system | |
CN111797173B (en) | Alliance chain sharing system, method and device, electronic equipment and storage medium | |
CN106790131A (en) | A kind of parameter modification method, device and distributed platform | |
CN106713684A (en) | Method and equipment for binding unified communication client account number with phone number | |
CN104363306A (en) | Private cloud management control method for enterprise | |
CN103069751A (en) | Network information processing system, network information processing apparatus, and information processing method | |
CN108111662A (en) | Communication means and system, business platform, client and communication network | |
DE60120367T2 (en) | PROCEDURE FOR INFORMATION EXCHANGE BETWEEN MOBILE PHONE USER | |
CN101924815A (en) | 3G MOA phone middleware embedded system | |
CN108924368A (en) | A kind of call control method, device and server | |
CN110471697A (en) | Configuration method and Related product | |
CN102368747A (en) | Method for providing online information in instant messaging and system thereof | |
CN105122851A (en) | System for transmitting heterogeneous network-linked data and method therefor | |
CN106941680A (en) | Base station monitoring method, terminal, vpn server and system | |
CN106682945A (en) | Method and apparatus for managing free gifts | |
CN110309929A (en) | The method of elevator maintenance and estate management shared data | |
CN103546513B (en) | The method and device of communication between a kind of customer terminal webpage | |
CN109831340A (en) | Server exchange method, equipment, server, client and readable storage medium storing program for executing | |
CN108039966A (en) | A kind of method and system of control message server in real time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1186884 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1186884 Country of ref document: HK |