CN105100057A - Application data processing method and system - Google Patents

Application data processing method and system Download PDF

Info

Publication number
CN105100057A
CN105100057A CN201510303338.9A CN201510303338A CN105100057A CN 105100057 A CN105100057 A CN 105100057A CN 201510303338 A CN201510303338 A CN 201510303338A CN 105100057 A CN105100057 A CN 105100057A
Authority
CN
China
Prior art keywords
client
server end
token information
application data
session
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
CN201510303338.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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510303338.9A priority Critical patent/CN105100057A/en
Publication of CN105100057A publication Critical patent/CN105100057A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Abstract

The invention provides an application data processing method and system. The method comprises: a server end performs authentication according to received token information sent by a client, wherein the token information is generated by the server end, is pushed to the client and is sent to the server end when the client detects that an accessed network changes; if the authentication is passed, then the server end re-packages a connection with the client into a new session and replaces an old session with the new session; and the server end continues to send application data of a set application of the client to the client, for enabling the client to process the application data. The application data processing method provided by the invention is used for simplifying the step that the server end continues to send the application data to the application of the client, when the accessed network of the client changes, improving user experience of the client application, avoiding repeated logic authentication of the server end and easing the operation pressure of the server end.

Description

Application data processing method and system
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of application data processing method and system.
Background technology
Between a client and a server ensure network connect when, if client access network change, such as, be switched to B network from A network, but client still can with ensure between server that network is connected.
Usually, client first can disconnect A network and connect, connect B network again, now, connecting with server and carrying out the application of data interaction process in client, such as, games in client will be logged off, and need to re-enter login account password, after server again logic certification, the application data that reception server sends could be continued.
Because the network of client access changes, and cause the application of client to be logged off, need to re-enter login account password, re-start logic certification by server, add extra login step, server also needs again to carry out logic certification, while reducing the Consumer's Experience of the application of client, too increase the execution step of server, especially when client terminal quantity is numerous, easily cause the problem that server stress is excessive.
Summary of the invention
In view of above-mentioned existing application data processing method adds extra login step, server needs again to carry out logic certification, while the Consumer's Experience of application reducing client, too increase the execution step of server, especially when client terminal quantity is numerous, easily cause the problem that server stress is excessive, propose the present invention to provide a kind of overcoming the problems referred to above or the application data processing method solved the problem at least in part and system.
According to one aspect of the present invention, provide a kind of application data processing method, comprising:
The token information that server end sends according to the client received carries out certification, wherein, described token information is generated by described server end and pushes to described client, and sends to described server end when described client detects that the network of access changes;
If certification is passed through, then the connection Reseal with described client is new session by described server end, and utilizes described new session to replace old session; Described server end continues the application data of the setting application sending described client to described client, so that described client processes described application data.
According to a further aspect in the invention, provide a kind of application data treatment system, comprising: server end, described server end comprises:
Authentication module, token information for sending according to the client received carries out certification, wherein, described token information is generated by described server end and pushes to described client, and sends to described server end when described client detects that the network of access changes;
Connect update module, if carry out certification pass through for the token information of described authentication module according to the client transmission received, be then new session by the connection Reseal with described client, and utilize described new session to replace old session;
Application data continues sending module, for continuing the application data of the setting application sending described client to described client, so that described client processes described application data.
In existing application data processing scheme, when the network of client access changes, client first can disconnect the network before change and connect, the network set up again after change connects, and during this period, the application of client needs to re-enter login account password, logic certification is re-started by server, certification is by afterwards, and server just can continue to send application data to the application in client, and the application in client continues to receive application data and application data proceeds process.Whole process steps is numerous and diverse, reduces the Consumer's Experience of application, adds the execution step of server, easily causes the problem that server stress is excessive.And application according to the present invention data processing scheme, the token information that received server-side client sends, and carry out certification according to token information.The token information that client sends is generated by server end and pushes to client, and detects that the network of access sends to server end when changing in client.If certification is passed through, then the connection Reseal with client is new session by server end, and utilizes new session to replace old session, and old session is before the network of client access changes, the session that the connection encapsulation in client obtains by server end.Server end continues the application data of the setting application sending client to client, so that client application data processes.Client does not need to re-enter logon account password, server end does not need to carry out logic certification, simplify the network of client access when changing, server end continues to client application the step sending application data, while improving the Consumer's Experience of the application of client, avoid server end to re-start logic certification, alleviate the operating pressure of server end.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the flow chart of steps of a kind of application data processing method according to the embodiment of the present invention one;
Fig. 2 is the flow chart of steps of a kind of application data processing method according to the embodiment of the present invention two;
Fig. 3 is the flow chart of steps of a kind of application data processing method according to the embodiment of the present invention three;
Fig. 4 is the flow chart of steps of a kind of application data processing method according to the embodiment of the present invention four;
Fig. 5 is the structured flowchart of a kind of application data treatment system according to the embodiment of the present invention five;
Fig. 6 is the structured flowchart of a kind of application data treatment system according to the embodiment of the present invention six;
Fig. 7 is the structured flowchart of a kind of application data treatment system according to the embodiment of the present invention seven;
Fig. 8 is the structured flowchart of a kind of application data treatment system according to the embodiment of the present invention eight.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiment one
Introduce a kind of application data processing method that the embodiment of the present invention provides in detail.
With reference to Fig. 1, show the flow chart of steps of a kind of application data processing method in the embodiment of the present invention one.
Step 100, client sends authentication information to server end.
Described client can be personal computer or mobile terminal etc.
Described authentication information can for authentication information required when being applied in described client logs in described server end, such as, and login username and password etc.
Step 102, described client after described server end carries out authentication success according to described authentication information, preserve from described received server-side, apply corresponding token information with the setting of described client.
Described token information may be used for identifying the identity identification information of the setting application of described client, and described identity identification information can comprise username and password for logging in described server end etc.
Step 104, when described client detects that the network of access changes, by advance from described received server-side, apply corresponding token information with the setting of described client and be sent to server end.
The network of described client access can be wireless network, as third generation digital communication (3rdGeneration, 3G) network or Wireless Fidelity (WirelessFidelity, WiFi) network etc.
Described network changes and refers to from client access A net, changes to client access B net.
Step 106, receives after described server end carries out certification according to described token information, to the application data of the described setting application that described client sends, and processes described application data.
After described server end carries out certification according to the token information that described client sends, continue the application data sending setting application to client, client application data processes.
Setting application in the embodiment of the present invention can be games, and the application data of setting application can be the data such as scene, article of games, and application data carries out process can for load etc. the data such as scene, article of games.
It should be noted that, the embodiment of the present invention does not do concrete restriction to setting application, and, concrete restriction is not done to the application data of setting application yet.
In sum, in the technical scheme of the embodiment of the present invention, client sends authentication information to server end, client is after server end carries out authentication success according to authentication information, preserve from received server-side, apply corresponding token information with the setting of client, when client detects that the network of access changes, by receive from server in advance, apply corresponding token information with the setting of client and be sent to server; Server carries out certification to token information, after certification is passed through, continue the application data sending setting application to client, after client reception server carries out certification according to described token information, to the application data of the setting application that client sends, and application data processes.Do not need to re-enter logon account password, do not need server to carry out logic certification, simplify the network of client access when changing, client application continues to receive and processes the step of application data, improves the Consumer's Experience of the application of client.
Embodiment two
Introduce a kind of application data processing method that the embodiment of the present invention provides in detail.
With reference to Fig. 2, show the flow chart of steps of a kind of application data processing method in the embodiment of the present invention two.
Step 200, client sends authentication information to server end, and wherein, described authentication information can comprise authentication header information and authentication content information.
Described client can be personal computer or mobile terminal etc.
Described authentication header information can comprise the session that client and server connects, and now, session content is empty.
Described authentication content information can be the authentication content information of the setting application of client, can comprise the username and password etc. that certification logs in.
Step 202, described client after described server end carries out authentication success according to described authentication information, preserve from described received server-side, apply corresponding token information with the setting of described client.
Wherein, described authentication header information can identify the session that described client is connected with described server end, and described token information can be the parameter that described session is arranged for described server end.
Preferably, described token information can comprise the session identification after coding, random value and process identification (PID).
Described token information is used for and session identification pairing, and session identification has uniqueness, and login successfully can add session identification in a session in the setting application of client, session identification is sustained.Random value is provided by libbsp self, reads the Random Entropy pond from class unix system.Process identification (PID) is constant in a seeervice cycle (server end is thoroughly restarted).
Step 204, when described client detects that the network of access changes, by advance from received server-side, apply corresponding token information with the setting of described client and be sent to server end.
The network of described client access can be wireless network, as third generation digital communication (3rdGeneration, 3G) network or Wireless Fidelity (WirelessFidelity, WiFi) network etc.
Described network changes and refers to from client access A net, changes to client access B net.
Described token information may be used for identifying the identity identification information of the setting application of described client, and described identity identification information can comprise username and password for logging in described server end etc.
Preferably, described client in advance from received server-side, apply the process of corresponding token information with the setting of described client, can comprise:
Step 41, described client, after receiving described setting that described server end returns and applying the feedback information logined successfully, sends token information request command to described server end.
Described client initiatively can send token information request command to server end, active obtaining token information.
Step 42, described client receives the token information that described server end pushes according to described token information request command.
Step 206, receives after described server end carries out certification according to described token information, to the application data of the described setting application that described client sends, and processes described application data.
After described server end carries out certification according to the token information that described client sends, continue the application data sending setting application to client, client application data processes.
Step 208, described client upgrades described token information.
Preferably, described step 208 can comprise:
Step 2081, described client sends token information update request information to described server end, and wherein, described token information update request information comprises update time.
Token information has ageing.Described update time can set according to the characteristic of setting application, and for common games, playing update time can be tens seconds.
Step 2082, described client receives described server end according to the token information after upgrading the random value in described token information described update time.
Setting application in the embodiment of the present invention can be games, and the application data of setting application can be the data such as scene, article of games, and application data carries out process can for load etc. the data such as scene, article of games.
It should be noted that, the embodiment of the present invention does not do concrete restriction to setting application, and, concrete restriction is not done to the application data of setting application yet.
And the token information in the embodiment of the present invention also can not upgrade, rise identical with the cycle of the session that client and server connects.
Above-mentioned steps 208 can any time period after server end generates token information be carried out, and namely above-mentioned steps 208 can any time period after above-mentioned steps 202 perform.
In sum, in the technical scheme of the embodiment of the present invention, client sends authentication information to server end, client is after server end carries out authentication success according to authentication information, preserve from received server-side, apply corresponding token information with the setting of client, when client detects that the network of access changes, by receive from server in advance, apply corresponding token information with the setting of client and be sent to server; Server carries out certification to token information, after certification is passed through, continue the application data sending setting application to client, after client reception server carries out certification according to described token information, to the application data of the setting application that client sends, and application data processes.Do not need to re-enter logon account password, do not need server to carry out logic certification, simplify the network of client access when changing, client application continues to receive and processes the step of application data, improves the Consumer's Experience of the application of client.
Embodiment three
Introduce a kind of application data processing method that the embodiment of the present invention provides in detail.
With reference to Fig. 3, show the flow chart of steps of a kind of application data processing method in the embodiment of the present invention three.
Step 300, the token information that server end sends according to the client received carries out certification, wherein, described token information can be generated by described server end and push to described client, and sends to described server end when described client detects that the network of access changes.
Described client can be personal computer or mobile terminal etc.
Described client when detecting that the network of access changes, can send token information to server end.The token information sent is that described server end generates and pushes to described client.
Step 302, if certification is passed through, then the connection Reseal with described client is new session by described server end, and utilize described new session to replace old session, described server end continues the application data of the setting application sending described client to described client, so that described client processes described application data.
Described step 302 can be divided into two implementations, is respectively session encapsulation and replacement process; Continue the process sending application data.
Wherein, described old session is before the network of client access changes, the session that the connection encapsulation in client obtains by server end.
In sum, the technical scheme in the embodiment of the present invention, the token information that received server-side client sends, and carry out certification according to token information.The token information that client sends is generated by server end and pushes to client, and detects that the network of access sends to server end when changing in client.If certification is passed through, then the connection Reseal with client is new session by server end, and utilizes new session to replace old session, and old session is before the network of client access changes, the session that the connection encapsulation in client obtains by server end.Server end continues the application data of the setting application sending client to client, so that client application data processes.Client does not need to re-enter logon account password, server end does not need to carry out logic certification, simplify the network of client access when changing, server end continues to client application the step sending application data, while improving the Consumer's Experience of the application of client, avoid server end to re-start logic certification, alleviate the operating pressure of server end.
Embodiment four
Introduce a kind of application data processing method that the embodiment of the present invention provides in detail.
With reference to Fig. 4, show the flow chart of steps of a kind of application data processing method in the embodiment of the present invention four.
Step 400, the token information that server end sends according to the client received carries out certification, wherein, described token information can be generated by described server end and push to described client, and sends to described server end when described client detects that the network of access changes.
Described client can be personal computer or mobile terminal etc.
Described client when detecting that the network of access changes, can send token information to server end.The token information sent is that described server end generates and pushes to described client.
Preferably, described step 400 can be:
Whether described server end can detect the session of mating with the described token information received and survive; If survival, then certification is passed through.
Wherein, described session can comprise session identification and token information.
Particularly, whether described server end according to the session identification matched with the described token information received, can detect the session of mating with the described token information received and survives.
Described session survival represents that the connection that client and server are set up is available.
If certification is passed through, then perform step 402, the connection of the session updates that described server end is connected with described server end according to described client and described client.
Preferably, described step 402 can be:
Connection Reseal with described client is new session by described server end, and utilizes described new session to replace old session.
Wherein, before described old session can change for the network accessed in described client, the connection encapsulation with described client obtains by described server end.
In the term of validity of session, the network of client is connected in the effective time and can switches.As long as session survival, new session substituted for old session, and client still can receive the application data of setting application.
Step 404, if certification is passed through, then described server end continues the application data of the setting application sending described client to described client, so that described client processes described application data.
Described step 404 is the process that described server continues to send to the setting application of described client application data.
Step 406, described server end upgrades described token information.
Preferably, described token information can comprise the session identification after coding, random value and process identification (PID).
Particularly, described server end upgrades the random value in described token information.
Preferably, described step 406 can be divided into two kinds of situations:
Situation 1:
Step 61, the update request information that client described in described received server-side sends, wherein said update request information comprises update time.
Described client active request upgrades token information, and update time is set by client.
Step 62, described server end upgraded the random value in described token information according to described update time.
Situation 2:
Step 63, described server end upgrades the random value in described token information according to preset timer, and wherein, described timer is preset in the top layer thread of described server end.
Server end initiatively upgrades token information, and the timer in top layer thread can carry timed task.
In sum, the technical scheme in the embodiment of the present invention, the token information that received server-side client sends, and carry out certification according to token information.The token information that client sends is generated by server end and pushes to client, and detects that the network of access sends to server end when changing in client.If certification is passed through, then the connection Reseal with client is new session by server end, and utilizes new session to replace old session, and old session is before the network of client access changes, the session that the connection encapsulation in client obtains by server end.Server end continues the application data of the setting application sending client to client, so that client application data processes.Client does not need to re-enter logon account password, server end does not need to carry out logic certification, simplify the network of client access when changing, server end continues to client application the step sending application data, while improving the Consumer's Experience of the application of client, avoid server end to re-start logic certification, alleviate the operating pressure of server end.
Embodiment five
Introduce a kind of application data treatment system that the embodiment of the present invention provides in detail.
With reference to Fig. 5, show the structured flowchart of a kind of application data treatment system in the embodiment of the present invention five.
Described system can comprise client, and described client can comprise: authentication information sending module 500, and token information preserves module 502, token information sending module 504, application data processing module 506.
Introduce the relation between the function of each module and each module below respectively in detail.
Authentication information sending module 500, for sending authentication information to server end.
Token information preserve module 502, after carrying out authentication success at described server end according to described authentication information, preserve from described received server-side, apply corresponding token information with the setting of described client.
Token information sending module 504, for when described client detects that the network of access changes, by advance from received server-side, apply corresponding token information with the setting of described client and be sent to server end.
Application data processing module 506, for receiving after described server end carries out certification according to described token information, to the application data of the described setting application that described client sends, and processes described application data.
In sum, technical scheme in the embodiment of the present invention, client sends authentication information to server end, client is after server end carries out authentication success according to authentication information, preserve from received server-side, apply corresponding token information with the setting of client, when client detects that the network of access changes, by receive from server in advance, apply corresponding token information with the setting of client and be sent to server; Server carries out certification to token information, after certification is passed through, continue the application data sending setting application to client, after client reception server carries out certification according to described token information, to the application data of the setting application that client sends, and application data processes.Do not need to re-enter logon account password, do not need server to carry out logic certification, simplify the network of client access when changing, client application continues to receive and processes the step of application data, improves the Consumer's Experience of the application of client.
Embodiment six
Introduce a kind of application data treatment system that the embodiment of the present invention provides in detail.
With reference to Fig. 6, show the structured flowchart of a kind of application data treatment system in the embodiment of the present invention six.
Described system can comprise client, described client can comprise: authentication information sending module 600, token information preserves module 602, request sending module 604, token information receiver module 606, token information sending module 608, application data processing module 610, token information update module 612.
Wherein, described token information update module 612 can comprise: update request sending module 6121, upgrades token receiver module 6122.
Introduce the relation between the function of each module and each module below respectively in detail.
Authentication information sending module 600, before detecting that the network of access changes in described client, send authentication information to described server end, wherein, described authentication information comprises authentication header information and authentication content information.
Token information preserve module 602, after carrying out authentication success at described server end according to described authentication information, preserve from described received server-side, apply corresponding token information with the setting of described client.
Wherein, the session that described in described authentication header message identification, client is connected with described server end, described token information is described server end is the parameter that described session is arranged.
Request sending module 604, the described setting returned for receiving described server end in described client sends token information request command to described server end after applying the feedback information logined successfully.
Token information receiver module 606, for receiving the token information that described server end pushes according to described token information request command.
Preferably, described token information can comprise the session identification after coding, random value and process identification (PID).
Token information sending module 608, for when described client detects that the network of access changes, by advance from received server-side, apply corresponding token information with the setting of described client and be sent to server end.
Application data processing module 610, for receiving after described server end carries out certification according to described token information, to the application data of the described setting application that described client sends, and processes described application data.
Token information update module 612, for upgrading described token information.
Preferably, described token information update module 612, can comprise:
Update request sending module 6121, for sending token information update request information to described server end, wherein, described token information update request information comprises update time.
Upgrade token receiver module 6122, for receiving described server end according to the token information after upgrading the random value in described token information described update time.
In sum, technical scheme in the embodiment of the present invention, client sends authentication information to server end, client is after server end carries out authentication success according to authentication information, preserve from received server-side, apply corresponding token information with the setting of client, when client detects that the network of access changes, by receive from server in advance, apply corresponding token information with the setting of client and be sent to server; Server carries out certification to token information, after certification is passed through, continue the application data sending setting application to client, after client reception server carries out certification according to described token information, to the application data of the setting application that client sends, and application data processes.Do not need to re-enter logon account password, do not need server to carry out logic certification, simplify the network of client access when changing, client application continues to receive and processes the step of application data, improves the Consumer's Experience of the application of client.
Embodiment seven
Introduce a kind of application data treatment system that the embodiment of the present invention provides in detail.
With reference to Fig. 7, show the structured flowchart of a kind of application data treatment system in the embodiment of the present invention seven.
Described system can comprise server end, and described server end can comprise: authentication module 700, connects update module 702, and application data continues sending module 704.
Introduce the relation between the function of each module and each module below respectively in detail.
Authentication module 700, carry out certification for the token information sent according to the client received, wherein, described token information is generated by described server end and pushes to described client.
Connect update module 702, pass through if carry out certification for described authentication module 700 according to the token information that the client that receives sends, be then new session by the connection Reseal with described client, and utilize described new session to replace old session.
Application data continues sending module 704, for continuing the application data of the setting application sending described client to described client, so that described client processes described application data.
In sum, the technical scheme in the embodiment of the present invention, the token information that received server-side client sends, and carry out certification according to token information.The token information that client sends is generated by server end and pushes to client, and detects that the network of access sends to server end when changing in client.If certification is passed through, then the connection Reseal with client is new session by server end, and utilizes new session to replace old session, and old session is before the network of client access changes, the session that the connection encapsulation in client obtains by server end.Server end continues the application data of the setting application sending client to client, so that client application data processes.Client does not need to re-enter logon account password, server end does not need to carry out logic certification, simplify the network of client access when changing, server end continues to client application the step sending application data, while improving the Consumer's Experience of the application of client, avoid server end to re-start logic certification, alleviate the operating pressure of server end.
Embodiment eight
Introduce a kind of application data treatment system that the embodiment of the present invention provides in detail.
With reference to Fig. 8, show the structured flowchart of a kind of application data treatment system in the embodiment of the present invention eight.
Described system can comprise server end, and described server end can comprise: authentication module 800, connects update module 802, and application data continues sending module 804, token information update module 806.
Wherein, described token information update module 806 can comprise: solicited message receiver module 8061, first random value update module 8062, second random value update module 8063.
Introduce the relation between the function of each module and each module below respectively in detail.
Authentication module 800, carry out certification for the token information sent according to the client received, wherein, described token information is generated by described server end and pushes to described client.
Preferably, whether described authentication module 800 detects the session of mating with the described token information received and survives; If survival, then determine that certification is passed through.
Wherein, described session comprises session identification and token information.
Preferably, whether described authentication module 800, according to the session identification matched with the described token information received, detects the session of mating with the described token information received and survives.
Connect update module 802, pass through if carry out certification for described authentication module 800 according to the token information that the client that receives sends, be then new session by the connection Reseal with described client, and utilize described new session to replace old session.
Preferably, before the application data that the setting that described connection update module 802 continues to send to described client described client at described application data continuation sending module 804 is applied, the session updates be connected with described server end according to described client and the connection of described client.
Wherein, described old session is that before the network accessed in described client changes, the connection encapsulation with described client obtains by described server end.
Application data continues sending module 804, if carry out certification for described authentication module according to the token information that the client received sends to pass through, then continue the application data of the setting application sending described client to described client, so that described client processes described application data.
Token information update module 806, for upgrading described token information.
Preferably, described token information update module 806 upgrades the random value in described token information; Wherein, described token information comprises the session identification after coding, random value and process identification (PID).
Preferably, described token information update module 806, can comprise:
Solicited message receiver module 8061, for receiving the update request information that described client sends, wherein said update request information comprises update time.
First random value update module 8062, for according to upgrading the random value in described token information described update time.
Second random value update module 8063, for upgrading the random value in described token information according to preset timer, wherein, described timer is preset in the top layer thread of described server end.
It should be noted that, above-mentioned solicited message receiver module 8061 and the first random value update module 8062 can use in one case, and above-mentioned second random value update module 8063 can use in another case.Solicited message receiver module 8061 and the first random value update module 8062 are coordinations with the second random value update module 8063.
In sum, the technical scheme in the embodiment of the present invention, the token information that received server-side client sends, and carry out certification according to token information.The token information that client sends is generated by server end and pushes to client, and detects that the network of access sends to server end when changing in client.If certification is passed through, then the connection Reseal with client is new session by server end, and utilizes new session to replace old session, and old session is before the network of client access changes, the session that the connection encapsulation in client obtains by server end.Server end continues the application data of the setting application sending client to client, so that client application data processes.Client does not need to re-enter logon account password, server end does not need to carry out logic certification, simplify the network of client access when changing, server end continues to client application the step sending application data, while improving the Consumer's Experience of the application of client, avoid server end to re-start logic certification, alleviate the operating pressure of server end.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment in this application data processing scheme provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure required by system that there is the present invention program is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as the following claims reflect, all features of inventive aspect disclosed single embodiment before being to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the application data processing scheme of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of application data processing method, comprising:
The token information that server end sends according to the client received carries out certification, wherein, described token information is generated by described server end and pushes to described client, and sends to described server end when described client detects that the network of access changes;
If certification is passed through, then the connection Reseal with described client is new session by described server end, and utilizes described new session to replace old session; Described server end continues the application data of the setting application sending described client to described client, so that described client processes described application data.
A2, method according to A1, wherein, the token information that described server end sends according to the client received carries out certification, comprising:
Whether described server end detects the session of mating with the described token information received and survives;
If survival, then certification is passed through;
Wherein, described session comprises session identification and token information.
A3, method according to A2, wherein, whether described server end detects the session of mating with the described token information received and survives, and comprising:
Whether described server end, according to the session identification matched with the described token information received, detects the session of mating with the described token information received and survives.
A4, method according to A1, wherein, before described server end continues to send the application data of setting application of described client to described client, described method also comprises:
The connection of the session updates that described server end is connected with described server end according to described client and described client.
A5, method according to A4, wherein,
Described old session is that before the network accessed in described client changes, the connection encapsulation with described client obtains by described server end.
A6, method according to A1, wherein, described method also comprises:
Described server end upgrades described token information.
A7, method according to A6, wherein, described server end upgrades described token information, comprising:
Described server end upgrades the random value in described token information;
Wherein, described token information comprises the session identification after coding, random value and process identification (PID).
A8, method according to A7, wherein, described server end upgrades the random value in described token information, comprising:
The update request information that client described in described received server-side sends, wherein said update request information comprises update time;
Described server end upgraded the random value in described token information according to described update time.
A9, method according to A7, wherein, described server end upgrades the random value in described token information, comprising:
Described server end upgrades the random value in described token information according to preset timer, and wherein, described timer is preset in the top layer thread of described server end.
Correspondingly, the invention also discloses B10, a kind of application data treatment system, comprising: server end, described server end comprises:
Authentication module, token information for sending according to the client received carries out certification, wherein, described token information is generated by described server end and pushes to described client, and sends to described server end when described client detects that the network of access changes;
Connect update module, if carry out certification pass through for the token information of described authentication module according to the client transmission received, be then new session by the connection Reseal with described client, and utilize described new session to replace old session;
Application data continues sending module, for continuing the application data of the setting application sending described client to described client, so that described client processes described application data.
B11, system according to B10, wherein, whether described authentication module detects the session of mating with the described token information received and survives; If survival, then determine that certification is passed through;
Wherein, described session comprises session identification and token information.
B12, system according to B11, wherein, whether described authentication module, according to the session identification matched with the described token information received, detects the session of mating with the described token information received and survives.
B13, system according to B10, wherein, before the application data that the setting that described connection update module continues to send to described client described client at described application data continuation sending module is applied, the session updates be connected with described server end according to described client and the connection of described client.
B14, system according to B13, wherein, described old session is that before the network accessed in described client changes, the connection encapsulation with described client obtains by described server end.
B15, system according to B10, wherein, described server end also comprises:
Token information update module, for upgrading described token information.
B16, system according to B15, wherein, described token information update module upgrades the random value in described token information;
Wherein, described token information comprises the session identification after coding, random value and process identification (PID).
B17, system according to B16, wherein, described token information update module, comprising:
Solicited message receiver module, for receiving the update request information that described client sends, wherein said update request information comprises update time;
First random value update module, for according to upgrading the random value in described token information described update time.
B18, system according to B16, wherein, described token information update module, comprising:
Second random value update module, for upgrading the random value in described token information according to preset timer, wherein, described timer is preset in the top layer thread of described server end.

Claims (10)

1. an application data processing method, comprising:
The token information that server end sends according to the client received carries out certification, wherein, described token information is generated by described server end and pushes to described client, and sends to described server end when described client detects that the network of access changes;
If certification is passed through, then the connection Reseal with described client is new session by described server end, and utilizes described new session to replace old session; Described server end continues the application data of the setting application sending described client to described client, so that described client processes described application data.
2. method according to claim 1, wherein, the token information that described server end sends according to the client received carries out certification, comprising:
Whether described server end detects the session of mating with the described token information received and survives;
If survival, then certification is passed through;
Wherein, described session comprises session identification and token information.
3. method according to claim 2, wherein, whether described server end detects the session of mating with the described token information received and survives, and comprising:
Whether described server end, according to the session identification matched with the described token information received, detects the session of mating with the described token information received and survives.
4. method according to claim 1, wherein, before described server end continues to send the application data of setting application of described client to described client, described method also comprises:
The connection of the session updates that described server end is connected with described server end according to described client and described client.
5. method according to claim 4, wherein,
Described old session is that before the network accessed in described client changes, the connection encapsulation with described client obtains by described server end.
6. method according to claim 1, wherein, described method also comprises:
Described server end upgrades described token information.
7. method according to claim 6, wherein, described server end upgrades described token information, comprising:
Described server end upgrades the random value in described token information;
Wherein, described token information comprises the session identification after coding, random value and process identification (PID).
8. method according to claim 7, wherein, described server end upgrades the random value in described token information, comprising:
The update request information that client described in described received server-side sends, wherein said update request information comprises update time;
Described server end upgraded the random value in described token information according to described update time.
9. method according to claim 7, wherein, described server end upgrades the random value in described token information, comprising:
Described server end upgrades the random value in described token information according to preset timer, and wherein, described timer is preset in the top layer thread of described server end.
10. an application data treatment system, comprising: server end, and described server end comprises:
Authentication module, token information for sending according to the client received carries out certification, wherein, described token information is generated by described server end and pushes to described client, and sends to described server end when described client detects that the network of access changes;
Connect update module, if carry out certification pass through for the token information of described authentication module according to the client transmission received, be then new session by the connection Reseal with described client, and utilize described new session to replace old session;
Application data continues sending module, for continuing the application data of the setting application sending described client to described client, so that described client processes described application data.
CN201510303338.9A 2015-06-05 2015-06-05 Application data processing method and system Pending CN105100057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510303338.9A CN105100057A (en) 2015-06-05 2015-06-05 Application data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510303338.9A CN105100057A (en) 2015-06-05 2015-06-05 Application data processing method and system

Publications (1)

Publication Number Publication Date
CN105100057A true CN105100057A (en) 2015-11-25

Family

ID=54579604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510303338.9A Pending CN105100057A (en) 2015-06-05 2015-06-05 Application data processing method and system

Country Status (1)

Country Link
CN (1) CN105100057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331155A (en) * 2016-09-26 2017-01-11 联动优势电子商务有限公司 Method for preventing repeated login of user and server

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050090259A1 (en) * 2003-10-24 2005-04-28 Qualcomm Incorporated Handoff between a wireless local area network and a cellular communication system
CN1758776A (en) * 2004-10-08 2006-04-12 乐金电子(中国)研究开发中心有限公司 Flow device and method of network switch of mobile communication terminal
CN101080089A (en) * 2006-05-26 2007-11-28 株式会社日立制作所 Control method for network switching of mobile terminal, mobile terminal and system
CN101163113A (en) * 2006-10-12 2008-04-16 阿里巴巴公司 Disconnection reconnecting system and method of instant communication
CN101534531A (en) * 2009-04-02 2009-09-16 中兴通讯股份有限公司 A network switching method and system
CN101610553A (en) * 2008-06-17 2009-12-23 福建工程学院 A kind of method for quick multi-wireless module switching
CN101969443A (en) * 2010-10-28 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method and system for switching and operating network application program on network terminal
CN102131152A (en) * 2010-01-15 2011-07-20 中兴通讯股份有限公司 Method and system for maintaining continuity of instant message service
CN102421159A (en) * 2011-12-19 2012-04-18 华为终端有限公司 Method and system for switching dual-mode communication terminal
CN103179621A (en) * 2011-12-22 2013-06-26 上海无线通信研究中心 Method and system switching between cellular network and wireless local area network
WO2014166254A1 (en) * 2013-07-29 2014-10-16 中兴通讯股份有限公司 Network switching method, device, and terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050090259A1 (en) * 2003-10-24 2005-04-28 Qualcomm Incorporated Handoff between a wireless local area network and a cellular communication system
CN1758776A (en) * 2004-10-08 2006-04-12 乐金电子(中国)研究开发中心有限公司 Flow device and method of network switch of mobile communication terminal
CN101080089A (en) * 2006-05-26 2007-11-28 株式会社日立制作所 Control method for network switching of mobile terminal, mobile terminal and system
CN101163113A (en) * 2006-10-12 2008-04-16 阿里巴巴公司 Disconnection reconnecting system and method of instant communication
CN101610553A (en) * 2008-06-17 2009-12-23 福建工程学院 A kind of method for quick multi-wireless module switching
CN101534531A (en) * 2009-04-02 2009-09-16 中兴通讯股份有限公司 A network switching method and system
CN102131152A (en) * 2010-01-15 2011-07-20 中兴通讯股份有限公司 Method and system for maintaining continuity of instant message service
CN101969443A (en) * 2010-10-28 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method and system for switching and operating network application program on network terminal
CN102421159A (en) * 2011-12-19 2012-04-18 华为终端有限公司 Method and system for switching dual-mode communication terminal
CN103179621A (en) * 2011-12-22 2013-06-26 上海无线通信研究中心 Method and system switching between cellular network and wireless local area network
WO2014166254A1 (en) * 2013-07-29 2014-10-16 中兴通讯股份有限公司 Network switching method, device, and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331155A (en) * 2016-09-26 2017-01-11 联动优势电子商务有限公司 Method for preventing repeated login of user and server
CN106331155B (en) * 2016-09-26 2019-05-07 联动优势电子商务有限公司 A kind of method preventing user's repeat logon and server

Similar Documents

Publication Publication Date Title
CN105450730A (en) Method and apparatus for processing request from client
CN108540433B (en) User identity verification method and device
CN106331135B (en) A kind of part interface update method, system, client and server-side
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN104717261A (en) Login method and desktop management device
CN105629786B (en) A kind of household appliance control instruction sending method and device
CN104866389A (en) Data recovery method as well as data backup method, device and system based on mobile operating system
CN109495433A (en) Data download method and device, storage medium and electronic device
CN106713004B (en) Router adaptation method and system
CN105159771A (en) Method and apparatus for processing inter-application chain type start
CN107168765A (en) A kind of method and system of remote compilation software
CN103561006A (en) Application authentication method and device and application authentication server based on Android
CN105100056A (en) Application data processing method and system
CN109660487B (en) Authorization method based on H5 webpage, storage medium, electronic device and system
CN103987030A (en) Method, device and system for achieving number-portability upgrading network
CN104125303A (en) Data read-and-write requesting method, client end and data read-and-write requesting system
US9462408B2 (en) Information processing method and electronic device
CN105554136A (en) Backup data restoration method, device and system
CN105224541A (en) The uniqueness control method of data, information storage means and device
CN103561082A (en) Compressing request processing method and server
CN105100057A (en) Application data processing method and system
CN105162805A (en) User account login method and apparatus
CN110493644B (en) Television application upgrading method, television terminal and server
CN103581240A (en) Application program downloading method, user equipment and application server
CN106302670A (en) A kind of picture update method, communication terminal and server

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: 20151125