CN106202373A - Multiple terminals data processing method and data server - Google Patents

Multiple terminals data processing method and data server Download PDF

Info

Publication number
CN106202373A
CN106202373A CN201610534344.XA CN201610534344A CN106202373A CN 106202373 A CN106202373 A CN 106202373A CN 201610534344 A CN201610534344 A CN 201610534344A CN 106202373 A CN106202373 A CN 106202373A
Authority
CN
China
Prior art keywords
data
request
treat
request data
terminal unit
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
CN201610534344.XA
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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201610534344.XA priority Critical patent/CN106202373A/en
Publication of CN106202373A publication Critical patent/CN106202373A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention provides a kind of multiple terminals data processing method and data server, and the method includes: the data operation request that receiving terminal apparatus sends, data operation request includes the mark of the cluster tool belonging to terminal unit and the type of data manipulation;If the type of data manipulation is data acquisition operations, then treats request data according to the data cached set acquisition that the mark of cluster tool is corresponding, and treat request data to terminal unit transmission;If the type of data manipulation is data modification operation, then according to data operation request to treating that request data is modified in data cached set, and each terminal unit in cluster tool sends and amended treats request data.For improving the efficiency that multi-terminal equipment data are processed.

Description

Multiple terminals data processing method and data server
Technical field
The present embodiments relate to field of computer technology, particularly relate to a kind of multiple terminals data processing method and data clothes Business device.
Background technology
Along with developing rapidly of communication technology, multiple terminal units (such as mobile phone, TV, computer etc.) can be tied up It is fixed, so that the plurality of terminal unit can obtain identical data.
Same application can be installed in multiple terminal units, after multiple terminal units are bound, obtain one set Standby set, after the data in this application program are modified by a terminal unit in cluster tool, then in cluster tool Other terminal unit in application program in data be also carried out corresponding amendment.In the prior art, set in terminal After application program is operated by the terminal unit in standby set, data server, according to time order and function order, records each end The operation note to application program of the end equipment, when any one terminal unit in cluster tool sends data to data server During operation requests (conduct interviews data or amendment etc.), data server is according to each terminal unit pair in this cluster tool The operation note of this application program, in data base, inquiry obtains latest data corresponding to this data operation request, and according to Data operation request is processed by new data.
But, in the prior art, each terminal unit to data server send data operation request time, data, services Device is required to inquire about in data base according to operation note obtain up-to-date data message, and this process needs to consume more duration, Cause to multi-terminal equipment data process inefficient.
Summary of the invention
The embodiment of the present invention provides a kind of multiple terminals data processing method and data server, sets multiple terminals for improving The efficiency that standby data process.
First aspect, the embodiment of the present invention provides a kind of multiple terminals data processing method, including:
The data operation request that receiving terminal apparatus sends, described data operation request includes belonging to described terminal unit The mark of cluster tool and the type of data manipulation;
If the type of described data manipulation is data acquisition operations, then according to the caching that the mark of described cluster tool is corresponding Data acquisition system obtains treats request data, and treats request data to described in the transmission of described terminal unit;
If the type of described data manipulation is data modification operation, then according to described data operation request to described caching number Described in set, treat that request data is modified, and each terminal unit in described cluster tool sends amended treating Request data.
In a kind of possible embodiment, the described data cached set corresponding according to the mark of described cluster tool obtains Take and treat request data, including:
Judge whether described data cached set;
If so, judge whether described data cached set includes treating request data;The most then at described data cached collection Treat request data described in conjunction obtains, if it is not, treat request data described in then obtaining in data base, and treat request data by described Add to described data cached set;
Treat request data if it is not, then obtain in data base, create described data cached set, and described data cached Request data is treated described in set is added.
In alternatively possible embodiment, according to described data operation request to the institute in described data cached set State and treat that request data is modified, including:
Request data is treated described in judging whether described data cached set includes;
The most then in described data cached set, treat that request data is modified to described;
If it is not, treat that request data is modified to described the most in the database, and described amended data are added Add to described data cached set.
In alternatively possible embodiment, in described data cached set, treat that request data is modified to described Afterwards, also include:
In the database treated request data is modified.
In alternatively possible embodiment, for any one terminal unit in described terminal unit set, to Each terminal unit in described cluster tool sends amended treats request data, including:
Obtain the current page that described terminal unit is currently displaying;
Judge with described, described current page treats that request data is the most corresponding;
The most then send the described amended up-to-date page treating that request data is corresponding to described terminal unit, so that institute State terminal unit according to described latest page in the face of described current page is updated;
If it is not, then send a notification message to described terminal unit, described notification message include described in treat that request data is corresponding Page iden-tity.
In alternatively possible embodiment, described method also includes:
Obtain described data cached set does not accesses duration;
If the described duration that do not accesses is more than preset duration, then delete described data cached set.
Second aspect, the embodiment of the present invention provides a kind of data server, including:
Receiver module, the data operation request sent for receiving terminal apparatus, described data operation request includes institute State mark and the type of data manipulation of cluster tool belonging to terminal unit;
First acquisition module, for when the type of described data manipulation is data acquisition operations, according to described equipment collection Request data is treated in the data cached set acquisition of the mark correspondence closed;
Sending module, treats request data described in sending to described terminal unit;
Modified module, for when the type of described data manipulation is data modification operation, asks according to described data manipulation Ask and treat that request data is modified described in described data cached set;
Described sending module is additionally operable to, and each terminal unit in described cluster tool sends amended treats number of request According to.
In a kind of possible embodiment, described first acquisition module specifically for:
Judge whether described data cached set;
If so, judge whether described data cached set includes treating request data;The most then at described data cached collection Treat request data described in conjunction obtains, if it is not, treat request data described in then obtaining in data base, and treat request data by described Add to described data cached set;
Treat request data if it is not, then obtain in data base, create described data cached set, and described data cached Request data is treated described in set is added.
In alternatively possible embodiment, described modified module specifically for:
Request data is treated described in judging whether described data cached set includes;
The most then in described data cached set, treat that request data is modified to described;
If it is not, treat that request data is modified to described the most in the database, and described amended data are added Add to described data cached set.
In alternatively possible embodiment, described modified module is additionally operable to, at described modified module at described caching In data acquisition system to described treat that request data is modified after, in the database treated request data is modified.
In alternatively possible embodiment, described sending module specifically for:
Obtain the current page that described terminal unit is currently displaying;
Judge with described, described current page treats that request data is the most corresponding;
The most then send the described amended up-to-date page treating that request data is corresponding to described terminal unit, so that institute State terminal unit according to described latest page in the face of described current page is updated;
If it is not, then send a notification message to described terminal unit, described notification message include described in treat that request data is corresponding Page iden-tity.
In alternatively possible embodiment, described data server also includes the second acquisition module and removing module, Wherein,
Described second acquisition module is used for, and obtain described data cached set does not accesses duration;
Described removing module is used for, described do not access duration more than preset duration time, delete described data cached set.
The multiple terminals data processing method of embodiment of the present invention offer and data server, receive end at data server After the data operation request that end equipment sends, if the type of data manipulation is data acquisition operations, then according to cluster tool Request data is treated in the data cached set acquisition of mark correspondence, and treats request data to terminal unit transmission so that data, services Device is without obtaining up-to-date to the operation note of application program in inquiry in data base according to terminal unit each in cluster tool Treat request data, and then raising data server obtains the efficiency treating request data;If the type of data manipulation is data modification Operation, then treat request data according to data operation request in data cached set and modify, and in cluster tool The transmission of each terminal unit is amended treats request data so that the data in data cached set are that in cluster tool, each terminal sets The standby latest data to application procedure operation so that data server can obtain up-to-date treating in this data cached set please Seek data, improve data server and obtain the efficiency treating request data, and then improve the effect that multi-terminal equipment data are processed Rate.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
The application scenarios schematic diagram of the multiple terminals data processing method that Fig. 1 provides for the present invention;
The schematic flow sheet of the multiple terminals data processing method that Fig. 2 provides for the present invention;
The schematic flow sheet treating request data amending method that Fig. 3 provides for the present invention;
Fig. 4 sends the amended flow chart treating request data method for what the present invention provided to terminal unit;
The structural representation one planting data server that Fig. 5 provides for the present invention;
The structural representation two planting data server that Fig. 6 provides for the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
The application scenarios schematic diagram of the multiple terminals data processing method that Fig. 1 provides for the present invention, refers to Fig. 1, including setting Standby set 101 and data server 102.Wherein, this cluster tool 101 includes that multiple terminal unit (is designated as 101-1 extremely respectively 101-N), each terminal unit can be the equipment such as mobile phone, computer, TV, in each terminal unit in terminal unit set 101 all Same application is installed, the data server 102 each terminal unit in terminal unit set 101 provides this application journey Data in sequence.Each terminal unit in terminal unit set 101 can share the data in this same application, i.e. when Data in this application program are modified by one terminal unit, then the data in this application program in other-end equipment It is also carried out identical amendment.In this application, data server is that each cluster tool creates a data cached collection Close, this data cached set store each terminal unit latest data information to application procedure operation in cluster tool, So that data server can be with quick obtaining latest data information according to this data cached set, and according to this latest data information The data operation request sending terminal unit processes.Below, by specific embodiment to the technical side shown in the application Case is described in detail.
It should be noted that these specific embodiments can be combined with each other, for same or analogous concept below Or process may repeat no more in certain embodiments.
The schematic flow sheet of the multiple terminals data processing method that Fig. 2 provides for the present invention, the executive agent of the method is number According to server, referring to Fig. 2, the method may include that
The data operation request that S201, receiving terminal apparatus send, data operation request includes belonging to terminal unit The mark of cluster tool and the type of data manipulation;
If the type of S202 data manipulation is data acquisition operations, then according to the caching number that the mark of cluster tool is corresponding Treat request data according to set acquisition, and treat request data to terminal unit transmission;
If the type of S203 data manipulation is data modification operation, then according to data operation request to data cached set In treat that request data is modified, and each terminal unit in cluster tool sends and amended treats request data.
In embodiments of the present invention, terminal unit can carry out binding to form cluster tool in several ways, such as, Can create the cluster tool that application program is corresponding in a terminal unit, this application program can be video playback application journey Sequences etc., other terminal unit can add this cluster tool by modes such as scanning Quick Response Code, input preset password.Certainly, many Individual terminal unit can also log in this application program by identical application program account, to form cluster tool.
After multiple terminal units form cluster tool, any one terminal unit in cluster tool all can be corresponding With program conduct interviews, the operation such as amendment.Below, with any one terminal unit in cluster tool to the number in application program According to when operating, as a example by the processing procedure of data processing equipment, the method shown in Fig. 2 is described in detail.
When terminal unit needs to operate the data in application program, terminal unit sends number to data server According to operation requests, include mark and the type of data manipulation of cluster tool belonging to terminal unit in data operation request, Optionally, the type of data manipulation includes data acquisition operations and data modification operation etc..Certainly, in data operation request also The mark treating request data can be included, so that data server can obtain according to the mark treating request data treats number of request According to.
After data server receives the data operation request that terminal unit sends, data server obtains data behaviour Data, according to the difference of the type of data manipulation, are carried out different operations, specifically by the type of the data manipulation in asking :
If the type of data manipulation is data acquisition operations, then data server is according to corresponding the delaying of mark of cluster tool Deposit data set obtains and treats request data.Optionally, whether data server first judges to exist in data server data cached Set;Optionally, treat the efficiency of request data in order to improve data server acquisition, data cached set can be able to be arranged In the caching of data server.
When the data cached set that the mark that there is cluster tool in data server is corresponding, then data server enters one Step judges whether include in data cached set treating request data;The most then obtain in data cached set and treat request data, Treat request data if it is not, then obtain in data base, and by treating that request data is added to data cached set, then set to terminal Preparation is sent and is treated request data.When the data cached set that the mark that there is not cluster tool in data server is corresponding, then count Obtain in data base according to server and treat request data, then create data cached set, add in data cached set and treat Request data, then sends to terminal unit and treats request data.
If the type of data manipulation is data modification operation, then data server first obtains and treats request data, optionally, and can Treat request data to be obtained by above-mentioned feasible implementation, and treat request data according to data operation request and repair Change, and each terminal unit in cluster tool sends and amended treats request data.So, when the data in application program When being modified, data server can at once in cluster tool each terminal unit send amended data, so that equipment In set, the data in each terminal unit can keep synchronizing.
The multiple terminals data processing method that the embodiment of the present invention provides, receives what terminal unit sent at data server After data operation request, if the type of data manipulation is data acquisition operations, then according to corresponding the delaying of mark of cluster tool Deposit data set obtains treats request data, and treats request data to terminal unit transmission so that data server is without according to setting In standby set, the operation note of application program is obtained in inquiry in data base and up-to-date treats request data by each terminal unit, enters And improve data server and obtain the efficiency treating request data;If the type of data manipulation is data modification operation, then according to number In data cached set, treat request data according to operation requests to modify, and each terminal unit in cluster tool sends Amended treat request data so that the data in data cached set are that in cluster tool, application program is grasped by each terminal unit The latest data made, so that data server can obtain up-to-date request data for the treatment of, Jin Erti in this data cached set High data server obtains the efficiency treating request data.
On the basis of embodiment illustrated in fig. 2, optionally, can be by the most feasible implementation according to data manipulation Ask data cached set treats that request data is modified (S203 in embodiment illustrated in fig. 2), concrete, refer to Embodiment illustrated in fig. 3.
The schematic flow sheet treating request data amending method that Fig. 3 provides for the present invention, refers to Fig. 3, and the method can To include:
S301, judge whether data cached set includes treat request data;
The most then perform S302;
If it is not, then perform S303;
S302, in data cached set, treat request data modify;
S303, data base treats request data modify, and amended data are added to data cached collection Close.
In the embodiment shown in fig. 3, when data server need to treat request data modify time, data server is first Judge whether data cached set includes treat request data.
If data cached set includes treating request data, then directly in data cached set, treat request data and carry out Amendment, optionally, treats after request data modifies in data cached set, it is also possible to treated please in data base Data are asked to modify.
If not including in data cached set treating request data, then data server is treated request data in data base and is entered Row amendment, and the interpolation of the most amended data is to data cached set.
In above process, when data server need to treat request data modify time, data server is to caching Data acquisition system treats that request data is modified, and then can ensure that data cached set treats that request data is up-to-date Data.
On the basis of any one embodiment above-mentioned, send at the data server each terminal unit in cluster tool Amended when request data, for any one terminal unit in terminal unit set, data server can pass through The each terminal unit transmission in cluster tool of the most feasible implementation is amended treats that request data (is implemented shown in Fig. 2 S203 in example), concrete, shown in Figure 4 embodiment.
Fig. 4 sends the amended flow chart treating request data method for what the present invention provided to terminal unit, refers to Fig. 4, the method may include that
The current page that S401, acquisition terminal unit are currently displaying;
S402, judge current page and treat that request data is the most corresponding;
The most then perform S403;
If it is not, then perform S404;
S403, to terminal unit send the amended up-to-date page treating that request data is corresponding so that terminal unit according to Latest page is updated in the face of current page;
S404, sending a notification message to terminal unit, notification message includes treating the page iden-tity that request data is corresponding.
In the embodiment shown in fig. 4, treat after request data modifies at data server, data server to All terminal units in cluster tool send amended treats request data.Below, with data server in cluster tool Any one terminal unit send amended treat request data as a example by, the method shown in Fig. 4 embodiment is carried out specifically Bright.
Data server to terminal unit send amended treat request data after, data server first obtains terminal The current page that equipment is currently displaying, optionally, data server can to terminal unit send current page request message with Obtain the current page that terminal unit is currently displaying.Data server judges current page and treats that request data is the most corresponding, can Choosing, if current page includes and treats request data or the data relevant with treating request data, it is determined that current page and Treat that request data is corresponding.
If it is corresponding that current page treats request data, then data server generation is amended treats that request data is corresponding The up-to-date page, and send this up-to-date page to terminal unit, so that terminal unit is carried out in the face of current page according to this latest page Update.
If current page with treat that request data is the most corresponding, then data server generate include treating the page that request data is corresponding The notification message of mark, and send this notification message to terminal unit, so that user can be according to this notification message correspondence page The page of mark correspondence carries out manual refreshing, to realize treating that request data synchronizes to amended.
In above process, when the data in application program are modified, data server can be at once to cluster tool In each terminal unit send amended data so that in cluster tool the data in each terminal unit can keep with Step.
On the basis of any one embodiment above-mentioned, user can cancel and binding multiple terminal units, to delete Except a cluster tool, after cluster tool is deleted, terminal unit can send cluster tool to data server and cancel logical Know, so that data server can delete corresponding data cached of the mark of this cluster tool according to this cluster tool cancellation notice Set.Certainly, what data server can obtain data cached set in real time or periodically does not accesses duration, if not accessing Duration is more than preset duration, then delete data cached set.Optionally, this do not access duration can be 3 hours, one day, three It etc., in actual application, this preset duration can be set according to actual needs.As such, it is possible to effectively resource is entered Row recycling, to improve the utilization rate to memory source.
Below, by concrete example, the method shown in above-described embodiment is described in detail.
Exemplary, it is assumed that user is mounted on video player 1 to mobile phone 1, mobile phone 2 and TV, and user is for regarding Frequently player 1, is bound mobile phone 1, mobile phone 2 and TV, to form cluster tool 1.
When any one terminal unit in this cluster tool logs in video player 1 by account 1, other-end sets Standby then log in video player 1 automatically by account 1.
When mobile phone 1 needs the page 1 (the most up-to-date film information) browsing in video player 1, mobile phone 1 takes to data Business device sends data operation request 1, and this data operation request includes the mark of cluster tool 1 and the type (number of data manipulation According to obtaining operation).When data server receives the data operation request 1 that mobile phone 1 sends, data server judges that this locality is not Including the data cached set of cluster tool 1 correspondence, then data server creates the caching number of cluster tool 1 correspondence in the buffer According to set 1, and obtaining the page 1 in data base, and add the page 1 to data cached set 1, then data server is to hands Machine 1 sends the page 1.
When any one terminal unit in mobile phone 2 and TV needs to browse the page 1 in video player 1, data Server judges that data cached set 1 includes the page 1, then data server directly obtains the page in data cached set 1 1, and send the page 1 to corresponding terminal unit.
When mobile phone 2 needs to buy the film 1 in video player 1, mobile phone 2 sends data to data server Operation requests 2, this data operation request includes the mark of cluster tool 1 and the type (data modification operation) of data manipulation. When data server receives the data operation request 2 that mobile phone 2 sends, data server judges in data cached set 1 not Including the purchase information to film 1, then data server obtains the purchase information of film 1 in data base, by the state of film 1 It is revised as buying state, and film 1 details page (state of film 1 is for buying state) is added to data cached collection Close.Then, the current page that data server acquisition mobile phone 1, mobile phone 2 and TV are currently displaying:
Assume that mobile phone 2 is the details page of the film 1 (page that the purchase information of film 1 is corresponding with the current page of TV Face), then to the up-to-date page of mobile phone 2 and the details page of TV transmission film 1, (state of film 1 is in data server life Purchase state) so that current page is updated to the up-to-date page by mobile phone 2 and TV so that at mobile phone 2 and the up-to-date page of TV In, film 1 is in state of buying.
Assume that details page that mobile phone 1 current display page is film 2 (is not page corresponding to the purchase information of film 1 Face), then data server sends the notification message of the details page including film 1 to mobile phone 1, so that user is according to this notice Message carries out manual refreshing to the page of film 1, and when user carries out manual refreshing to the page of film 1, mobile phone 1 takes to data The details page of business device acquisition request film 1, data server obtains the details page (electricity of film 1 in data cached set The state of shadow 1 is for buying state), and the details page of film 1 is sent to mobile phone 1 so that in mobile phone 1, film 1 is in Purchase state.
The structural representation one planting data server that Fig. 5 provides for the present invention, refers to Fig. 5, and this data server can To include:
Receiver module 501, the data operation request sent for receiving terminal apparatus, described data operation request includes The mark of the cluster tool belonging to described terminal unit and the type of data manipulation;
First acquisition module 502, for when the type of described data manipulation is data acquisition operations, according to described equipment Request data is treated in the data cached set acquisition that the mark of set is corresponding;
Sending module 503, treats request data described in sending to described terminal unit;
Modified module 504, for when the type of described data manipulation is data modification operation, according to described data manipulation Request treats that request data is modified described in described data cached set;
Described sending module 503 is additionally operable to, and each terminal unit in described cluster tool sends amended waiting and asks Data.
Data server shown in the embodiment of the present invention can perform the technical scheme shown in said method embodiment, in fact Existing principle and beneficial effect are similar to, and the most no longer repeat.
In a kind of possible embodiment, described first acquisition module 502 specifically for:
Judge whether described data cached set;
If so, judge whether described data cached set includes treating request data;The most then at described data cached collection Treat request data described in conjunction obtains, if it is not, treat request data described in then obtaining in data base, and treat request data by described Add to described data cached set;
Treat request data if it is not, then obtain in data base, create described data cached set, and described data cached Request data is treated described in set is added.
In alternatively possible embodiment, described modified module specifically for:
Request data is treated described in judging whether described data cached set includes;
The most then in described data cached set, treat that request data is modified to described;
If it is not, treat that request data is modified to described the most in the database, and described amended data are added Add to described data cached set.
Further, described modified module 504 is additionally operable to, at described modified module 504 in described data cached set To described treat that request data is modified after, in the database treated request data is modified.
In a kind of possible embodiment, described sending module specifically for:
Obtain the current page that described terminal unit is currently displaying;
Judge with described, described current page treats that request data is the most corresponding;
The most then send the described amended up-to-date page treating that request data is corresponding to described terminal unit, so that institute State terminal unit according to described latest page in the face of described current page is updated;
If it is not, then send a notification message to described terminal unit, described notification message include described in treat that request data is corresponding Page iden-tity.
The structural representation two planting data server that Fig. 6 provides for the present invention, on the basis of embodiment illustrated in fig. 5, Referring to Fig. 6, this data server can also include the second acquisition module 505 and removing module 506, wherein,
Described second acquisition module 505 is used for, and obtain described data cached set does not accesses duration;
Described removing module 506 is used for, described do not access duration more than preset duration time, delete described data cached collection Close.
Data server shown in the embodiment of the present invention can perform the technical scheme shown in said method embodiment, in fact Existing principle and beneficial effect are similar to, and the most no longer repeat.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to The hardware crossing programmed instruction relevant completes.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a multiple terminals data processing method, it is characterised in that including:
The data operation request that receiving terminal apparatus sends, described data operation request includes setting belonging to described terminal unit The mark of standby set and the type of data manipulation;
If the type of described data manipulation is data acquisition operations, then according to corresponding data cached of the mark of described cluster tool Request data is treated in set acquisition, and treats request data to described in the transmission of described terminal unit;
If the type of described data manipulation is data modification operation, then according to described data operation request to described data cached collection Treat described in conjunction that request data is modified, and each terminal unit in described cluster tool sends amended waiting and asks Data.
Method the most according to claim 1, it is characterised in that the described caching corresponding according to the mark of described cluster tool Data acquisition system obtains and treats request data, including:
Judge whether described data cached set;
If so, judge whether described data cached set includes treating request data;The most then in described data cached set Treat request data described in acquisition, if it is not, treat request data described in then obtaining in data base, and treat that request data is added by described To described data cached set;
Treat request data if it is not, then obtain in data base, create described data cached set, and in described data cached set Request data is treated described in middle interpolation.
Method the most according to claim 1 and 2, it is characterised in that according to described data operation request to described caching number Described in set, treat that request data is modified, including:
Request data is treated described in judging whether described data cached set includes;
The most then in described data cached set, treat that request data is modified to described;
If it is not, treat that request data is modified to described the most in the database, and described amended data are added extremely Described data cached set.
Method the most according to claim 3, it is characterised in that treat request data to described in described data cached set After modifying, also include:
In the database treated request data is modified.
Method the most according to claim 1 and 2, it is characterised in that for any one in described terminal unit set Terminal unit, each terminal unit in described cluster tool sends amended treats request data, including:
Obtain the current page that described terminal unit is currently displaying;
Judge with described, described current page treats that request data is the most corresponding;
The most then send the described amended up-to-date page treating that request data is corresponding to described terminal unit, so that described end End equipment is updated in the face of described current page according to described latest page;
If it is not, then send a notification message to described terminal unit, described notification message include described in treat the page that request data is corresponding Face identifies.
Method the most according to claim 1 and 2, it is characterised in that described method also includes:
Obtain described data cached set does not accesses duration;
If the described duration that do not accesses is more than preset duration, then delete described data cached set.
7. a data server, it is characterised in that including:
Receiver module, the data operation request sent for receiving terminal apparatus, described data operation request includes described end The mark of the cluster tool belonging to end equipment and the type of data manipulation;
First acquisition module, for when the type of described data manipulation is data acquisition operations, according to described cluster tool Request data is treated in the data cached set acquisition of mark correspondence;
Sending module, treats request data described in sending to described terminal unit;
Modified module, for when the type of described data manipulation is data modification operation, according to described data operation request pair Treat that request data is modified described in described data cached set;
Described sending module is additionally operable to, and each terminal unit in described cluster tool sends amended treats request data.
Data server the most according to claim 7, it is characterised in that described first acquisition module specifically for:
Judge whether described data cached set;
If so, judge whether described data cached set includes treating request data;The most then in described data cached set Treat request data described in acquisition, if it is not, treat request data described in then obtaining in data base, and treat that request data is added by described To described data cached set;
Treat request data if it is not, then obtain in data base, create described data cached set, and in described data cached set Request data is treated described in middle interpolation.
9. according to the data server described in claim 7 or 8, it is characterised in that described modified module specifically for:
Request data is treated described in judging whether described data cached set includes;
The most then in described data cached set, treat that request data is modified to described;
If it is not, treat that request data is modified to described the most in the database, and described amended data are added extremely Described data cached set.
Data server the most according to claim 9, it is characterised in that described modified module is additionally operable to, in described amendment Module in described data cached set to described treat that request data is modified after, in the database to being waited to ask Data are modified.
CN201610534344.XA 2016-07-08 2016-07-08 Multiple terminals data processing method and data server Pending CN106202373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610534344.XA CN106202373A (en) 2016-07-08 2016-07-08 Multiple terminals data processing method and data server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610534344.XA CN106202373A (en) 2016-07-08 2016-07-08 Multiple terminals data processing method and data server

Publications (1)

Publication Number Publication Date
CN106202373A true CN106202373A (en) 2016-12-07

Family

ID=57473908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610534344.XA Pending CN106202373A (en) 2016-07-08 2016-07-08 Multiple terminals data processing method and data server

Country Status (1)

Country Link
CN (1) CN106202373A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019024472A1 (en) * 2017-07-31 2019-02-07 平安科技(深圳)有限公司 Data operation method and device and computer readable storage medium
CN111881386A (en) * 2018-08-31 2020-11-03 创新先进技术有限公司 Page access method, device and system based on code scanning operation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364909A (en) * 2011-11-01 2012-02-29 北京瑞信在线系统技术有限公司 Message synchronization system and method based on mobile equipment and local server
CN102937919A (en) * 2012-11-02 2013-02-20 青岛海信传媒网络技术有限公司 Synchronization method for multiple intelligent terminals
CN103747072A (en) * 2013-12-30 2014-04-23 乐视网信息技术(北京)股份有限公司 Data reading and writing method and application server
CN104092646A (en) * 2013-10-28 2014-10-08 腾讯科技(深圳)有限公司 Operation synchronization method and device
CN104980455A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Multi-terminal data synchronization method based on cloud storage, device and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364909A (en) * 2011-11-01 2012-02-29 北京瑞信在线系统技术有限公司 Message synchronization system and method based on mobile equipment and local server
CN102937919A (en) * 2012-11-02 2013-02-20 青岛海信传媒网络技术有限公司 Synchronization method for multiple intelligent terminals
CN104092646A (en) * 2013-10-28 2014-10-08 腾讯科技(深圳)有限公司 Operation synchronization method and device
CN103747072A (en) * 2013-12-30 2014-04-23 乐视网信息技术(北京)股份有限公司 Data reading and writing method and application server
CN104980455A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Multi-terminal data synchronization method based on cloud storage, device and system thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019024472A1 (en) * 2017-07-31 2019-02-07 平安科技(深圳)有限公司 Data operation method and device and computer readable storage medium
CN111881386A (en) * 2018-08-31 2020-11-03 创新先进技术有限公司 Page access method, device and system based on code scanning operation
CN111881386B (en) * 2018-08-31 2024-03-12 创新先进技术有限公司 Page access method, device and system based on code scanning operation

Similar Documents

Publication Publication Date Title
CN105677250B (en) The update method and updating device of object data in object storage system
US8949535B1 (en) Cache updating
CN103853714B (en) A kind of data processing method and device
CN105868231A (en) Cache data updating method and device
EP3306897B1 (en) Access method and apparatus
CN110008019B (en) Method, device and system for sharing server resources
CN107463613A (en) Page loading method and device
CN103631869B (en) A kind of method and apparatus for alleviating server-side database access pressure
CN110535901A (en) Service degradation method, apparatus, computer equipment and storage medium
WO2021073002A1 (en) Terminal page access method and system
CN105900176A (en) System and method for resolving DRAM page conflicts based on memory access patterns
CN107277066A (en) Account management method, portable electric appts and account management system
CN104735657A (en) Security terminal verification method, device and system and wireless access point binding method
CN108989369A (en) The method and its system of progress current limliting are requested user
CN106021512A (en) Page refresh method and apparatus
CN104539742A (en) Information push method, information push device and information push system
CN106202373A (en) Multiple terminals data processing method and data server
CN104639973A (en) Information pushing method and device
CN110472391A (en) Data access method and device, storage medium, electronic device
CN107357808B (en) Data management method, device and equipment
CN110442445B (en) Design method and device based on computing grid in large-scale container cloud scene
EP2724489B1 (en) Validating download success
CN103714059A (en) Data updating method and device
CN106896990A (en) The discharging method and device of a kind of application program
CN105991450B (en) Mac address table update method and device

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