CN105978948B - A kind of method and system of cloud service - Google Patents
A kind of method and system of cloud service Download PDFInfo
- Publication number
- CN105978948B CN105978948B CN201610270595.1A CN201610270595A CN105978948B CN 105978948 B CN105978948 B CN 105978948B CN 201610270595 A CN201610270595 A CN 201610270595A CN 105978948 B CN105978948 B CN 105978948B
- Authority
- CN
- China
- Prior art keywords
- service
- business
- data
- interface layer
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a kind of method and system of cloud service, this method may include: that proxy server receives the service request that client uploads, and service request is transmitted to business interface layer according to preset network protocol;Business interface layer triggers corresponding business processing interface according to the type of service request and carries out business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to service server or cloud storage service device;When service request type is non-memory class business, service server saves the processing result of non-memory class business;When service request type is storage class business, cloud storage service device saves the processing result of storage class business.
Description
Technical field
The present invention relates to cloud service technical field more particularly to a kind of method and systems of cloud service.
Background technique
With the development of communication technology, cloud computing, cloud service concept emerge one after another, but the cloud conceptual dependency currently proposed
Business be more only through Dropbox and data are backed up or store in network distal end, type of business is single;And it also needs
User is wanted to back up or store manually.Therefore, it is desired that being capable of providing more perfect function, more valuable clothes are provided
The cloud service system of business.
Summary of the invention
It is a primary object of the present invention to propose a kind of method and system of cloud service, it is intended to cloud service be allowed to be capable of providing more
Add kind function and more valuable service.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
In a first aspect, providing a kind of cloud service system, which is characterized in that the system comprises: proxy server, business connect
Mouth layer, service server and cloud storage service device;Wherein,
The proxy server, for receiving the service request of client upload, and according to preset network protocol by institute
It states service request and is transmitted to the business interface layer;
The business interface layer carries out industry for triggering corresponding business processing interface according to the type of the service request
Business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to service server
Or cloud storage service device;
The service server, for saving non-memory class industry when the service request type is non-memory class business
The processing result of business;
The cloud storage service device, for saving storage class business when the service request type is storage class business
Processing result.
Optionally, the proxy server is asked specifically for receiving terminal by the synchronous service that application APP is sent
It asks;Wherein, include in the synchronization request data that need to currently synchronize of the terminal with the terminal previous synchronization when need it is synchronous
Data between differential data;
Correspondingly, the business interface layer, for being connect by the corresponding application programming interface api interface of application program
Receive the differential data;And
The differential data is updated into the corresponding synchrodata caching of the terminal;And
By the differential data transmission to sync data service device;
Correspondingly, the service server includes sync data service device, need to currently be synchronized for saving the terminal
Data.
Optionally, when data type slowly synchronous in synchronous service request is newly-increased synchronization data types, institute
Business interface layer is stated, is also used to establish corresponding synchrodata table for the newly-increased synchronization data types;The synchrodata
Table is to divide table dimension with synchronous number of users;And
When receiving the corresponding data that need to be synchronized of the newly-increased synchronization data types, to institute in synchrodata table
The number of users that newly-increased synchronization data types synchronize is stated to be counted.
Optionally, the proxy server, the synchronous data requests sent specifically for receiving browser;Wherein, described
It include the data that the browser need to synchronize in synchronous data requests;
Correspondingly, the business interface layer, for being needed by WEB management interface or back-stage management interface to the browser
Synchronous data are parsed, and the result after parsing is transmitted to search engine server;
Correspondingly, the service server includes search engine server, needed for saving the browser after parsing
Synchronous data.
Optionally, the proxy server, for receiving the unstructured data to be saved of client upload;
The business interface layer, for generating the corresponding metadata of the unstructured data, and will be described unstructured
Data are transmitted to cloud storage service device;
The cloud storage service device, for saving the unstructured data.
Second aspect provides a kind of method of cloud service, and the method is applied in cloud service system, the cloud service system
System may include proxy server, business interface layer, service server and cloud storage service device;The described method includes:
The proxy server receives the service request that client uploads, and according to preset network protocol by the business
Request is transmitted to the business interface layer;
The business interface layer triggers corresponding business processing interface according to the type of the service request and carries out at business
Reason, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to service server or cloud
Storage server;
When the service request type is non-memory class business, the service server saves the place of non-memory class business
Manage result;
When the service request type is storage class business, the cloud storage service device saves the processing of storage class business
As a result.
Optionally, the proxy server receives the service request that client uploads, and specifically includes: the proxy server
Terminal is received to request by the synchronous service that application APP is sent;It wherein, include that the terminal is current in the synchronization request
Differential data between the data that need to be synchronized and data that need to be synchronous when the terminal previous synchronization;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out
Business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to business service
Device or cloud storage service device, specifically include:
The business interface layer receives the difference number by the corresponding application programming interface api interface of application program
According to;And
The differential data is updated the corresponding synchrodata of the terminal and cached by the business interface layer;And
The business interface layer is by the differential data transmission to sync data service device;
Correspondingly, the service server includes sync data service device, and the service server saves non-memory class industry
The processing result of business, specifically includes: the sync data service device saves the data that the terminal need to currently synchronize.
Optionally, the method also includes:
When data type slowly synchronous in synchronous service request is newly-increased synchronization data types, the business is connect
Mouth layer is that the newly-increased synchronization data types establish corresponding synchrodata table;The synchrodata table is with synchronous number of users
Amount is to divide table dimension;
When receiving the corresponding data that need to be synchronized of the newly-increased synchronization data types, the business interface layer is same
The number of users synchronized in step data table to the newly-increased synchronization data types counts.
Optionally, the proxy server receives the service request that client uploads, and specifically includes: the proxy server
Receive the synchronous data requests that browser is sent;Wherein, the number that need to be synchronized in the synchronous data requests including the browser
According to;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out
Business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to business service
Device or cloud storage service device, specifically include:
The data that the business interface layer need to synchronize the browser by WEB management interface or back-stage management interface into
Row parsing, and the result after parsing is transmitted to search engine server;
Correspondingly, the service server includes search engine server, and the service server saves non-memory class industry
The processing result of business, specifically includes: described search engine server saves the data that the browser after parsing need to synchronize.
Optionally, the proxy server receives the service request that client uploads, and specifically includes: the proxy server
Receive the unstructured data to be saved that client uploads;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out
Business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to business service
Device or cloud storage service device, specifically include: the business interface layer generates the corresponding metadata of the unstructured data, and will
The unstructured data is transmitted to cloud storage service device;
Correspondingly, the cloud storage service device saves the processing result of storage class business, specifically includes: the cloud storage clothes
Business device saves the unstructured data.
A kind of method and system of cloud service provided by the embodiment of the present invention is taken by the cloud for different service types
Business request carries out corresponding cloud service storage scheme, so that cloud service be allowed to be capable of providing more perfect function and more valuable
Service.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of cloud service system provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of another cloud service system provided in an embodiment of the present invention;
Fig. 3 is a kind of realization architecture diagram of cloud service system provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow schematic diagram of cloud service provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.It should be noted that in subsequent description, using for indicating such as " module ", " component " or " list of element
The suffix of member " is only for being conducive to explanation of the invention, and there is no specific meanings for itself.Therefore, " module " and " component "
It can mixedly use.
Embodiment one
Referring to Fig. 1, it illustrates a kind of cloud service system 10 provided in an embodiment of the present invention, which may include:
Proxy server 101, business interface layer 102, service server 103 and cloud storage service device 104;Wherein,
The proxy server 101, for receiving the service request of client upload, and will according to preset network protocol
The service request is transmitted to the business interface layer 102;
The business interface layer 102, for according to the type of the service request trigger corresponding business processing interface into
Row business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to business clothes
Business device 103 or cloud storage service device 104;
The service server 103, for saving non-memory class when the service request type is non-memory class business
The processing result of business;
The cloud storage service device 104, for saving storage class industry when the service request type is storage class business
The processing result of business.
It should be noted that proxy server 101 can configure in 10 structure of cloud service system described in the present embodiment
It preferably can be referring to fig. 2 Nginx for Web server or Reverse Proxy, receive service request from client, and
And service request is transmitted to business interface layer.In the technical scheme of this embodiment, client can be such as be equipped with it is pre-
If the terminal, such as smart phone, tablet computer, laptop of cloud service application program etc.;It is also possible to operate in end
Browser Browser in end, accesses to cloud service system by WEB webpage.The embodiment of the present invention does not repeat specifically.
But for business interface layer 102, including carry out coffret required for business processing and business is corresponding answers
With Program Interfaces (API, Application Programming Interface).The corresponding API type of specific business can
To include but is not limited to: data synchronization, recycle bin, file backup, pushed information, cloud storage, account authentication, caching and data Layer
Transmission etc..
Correspondingly, service server 103 may include: referring to fig. 2 Api server, the Redis of distributed type assemblies deployment
Cache server and Solr search engine and use active/standby mode RDS relevant database;Cloud storage service device 104, specifically
It may include Baidu's cloud disk distributed cloud storage service device.It is not limited specifically in the present embodiment.
Illustratively, during concrete implementation, the proxy server 101, specifically for receiving terminal by answering
The synchronous service request sent with program APP;Wherein, include the data that need to currently synchronize of the terminal in the synchronization request with
The differential data between data that need to be synchronized when the terminal previous synchronization;
Correspondingly, the business interface layer 102, for receiving the difference number by the corresponding api interface of application program
According to;And
The differential data is updated into the corresponding synchrodata caching of the terminal;And
By the differential data transmission to sync data service device;
Correspondingly, the service server 103 includes sync data service device, currently needs to synchronize for saving the terminal
Data.
It should be noted that terminal can incite somebody to action oneself before submitting the data that need to be synchronized during above-mentioned specific implementation
The data and synchronized data of body storage merge processing, obtain change data;Change data are then passed through into agency service
Device 101 is uploaded to business interface layer 102 and service server 103.Even if, also can be subsynchronous under to this synchronization failure
When, the data of this synchronous abnormality are handled again, then is uploaded.
It is subsequent when synchronizing it should also be noted that, single user is other than data for the first time are synchronous, it needs synchronous
Data change is all less, therefore the synchronizing information of user can be cached, when needing synchronous data without updating, directly
Prompting mobile telephone set end is returned to, to improve the oncurrent processing ability of cloud service.
Preferably, from flow and power consumption consideration, it is to be equal to 30% greatly in electricity, and make that terminal, which goes out can be set synchronization policy,
With under WIFI environment, the data of request in every 2 hours are synchronous.
Further, during concrete implementation, when data type slowly synchronous in synchronous service request is new
When the synchronization data types of increasing, the business interface layer 102 is also used to establish for the newly-increased synchronization data types corresponding
Synchrodata table;The synchrodata table is to divide table dimension with synchronous number of users;And
When receiving the corresponding data that need to be synchronized of the newly-increased synchronization data types, to institute in synchrodata table
The number of users that newly-increased synchronization data types synchronize is stated to be counted.
It should be noted that during above-mentioned specific implementation, when having user to the data of newly-increased synchronization data types
When synchronizing, business interface layer 102 can also establish spare synchrodata table for the corresponding data of the synchronization data types.
Illustratively, during concrete implementation, the proxy server 101 is specifically used for receiving browser transmission
Synchronous data requests;Wherein, the data that need to be synchronized in the synchronous data requests including the browser;
Correspondingly, the business interface layer 102, for passing through WEB management interface or back-stage management interface to the browsing
The data that device need to synchronize are parsed, and the result after parsing is transmitted to search engine server;
Correspondingly, the service server 103 includes search engine server, for saving the browser after parsing
The data that need to be synchronized.
It should be noted that referring to fig. 2, search engine server may include Solr during above-mentioned specific implementation
Search engine, the result after parsing can index for the search key of the synchrodata, when the data that browser need to synchronize carry out
After synchronization, the efficiency of inquiry is can be improved in search engine, so that when user passes through browser access synchronized data,
By search carry out Backup Data inquiry with give for change.
Illustratively, during concrete implementation, the proxy server 101, for receive client upload to
The unstructured data of preservation;
The business interface layer 102, for generating the corresponding metadata of the unstructured data, and will be described non-structural
Change data and is transmitted to cloud storage service device 104;
The cloud storage service device 104, for saving the unstructured data.
It should be noted that during above-mentioned specific implementation, the non-structured data may include as shone
The large capacities file such as piece, video, the corresponding metadata of the unstructured data can be generated in business interface layer 102, from then
It is continuous can be by the data that are saved in metadata access cloud storage service device 104.
Embodiment two
It is that cloud service system shown in FIG. 1 is corresponding specific referring to Fig. 3 based on the identical technical concept of previous embodiment
The architecture diagram of realization, in Fig. 3, proxy server is used for as the cloud application program Cloud APP and browser in client
The cloud service service request transmitted in Browser provides network protocol and supports;Business interface layer may include: api interface, WEB
Management interface, back-stage management interface, account verification, information push, personal storage, data synchronization, file backup, equipment management,
The corresponding interfaces of business such as password Token management, search and timing services and the frame Framework developed by JEE;
The corresponding service server of non-memory class business may include: customer center, message push, Redis buffer service
The Mysql database of device, Solr search engine and RDS;
The corresponding storage server of storage class business can be numerous personal cloud storage (PCS, Personal Cloud
Storage)。
Embodiment three
Based on the identical technical concept of previous embodiment, referring to fig. 4, it illustrates a kind of clouds provided in an embodiment of the present invention
The method of service, this method can be applied in cloud service system described in previous embodiment, which may include: agency's clothes
Business device, business interface layer, service server and cloud storage service device;The method may include:
S401: proxy server receives the service request that client uploads, and is asked business according to preset network protocol
It asks and is transmitted to business interface layer;
S402: business interface layer triggers corresponding business processing interface according to the type of service request and carries out business processing,
And according to the type of the corresponding service request of service processing result, service processing result is transmitted to service server or cloud storage
Server;
S403: when service request type is non-memory class business, service server saves the processing of non-memory class business
As a result;
S404: when service request type is storage class business, cloud storage service device saves the processing knot of storage class business
Fruit.
It should be noted that proxy server is configurable to Web service in cloud service system described in the present embodiment
Device or Reverse Proxy preferably can be Nginx, receive service request from client, and by business referring to fig. 2
Request is transmitted to business interface layer.In the technical scheme of this embodiment, client, which can be, is such as equipped with preset cloud clothes
The terminal, such as smart phone, tablet computer, laptop etc. for application program of being engaged in;It is also possible to run in the terminal clear
It lookes at device Browser, is accessed by WEB webpage to cloud service system.The embodiment of the present invention does not repeat specifically.
But it is corresponding for coffret required for business interface layer, including progress business processing and business using journey
Sequence programming interface (API, Application Programming Interface).The specific corresponding API type of business can wrap
It includes but is not limited to: data synchronization, recycle bin, file backup, pushed information, cloud storage, account authentication, caching and data Layer transmission
Deng.
Correspondingly, service server, referring to fig. 2, may include: distributed type assemblies deployment Api server, Redis it is slow
It deposits server and Solr search engine and uses active/standby mode RDS relevant database;Cloud storage service device, specifically can wrap
Include Baidu's cloud disk distributed cloud storage service device.It is not limited specifically in the present embodiment.
Illustratively, during concrete implementation, the proxy server receives the service request that client uploads, tool
Body includes: that the proxy server receives the synchronous service request that terminal is sent by application APP;Wherein, the synchronization
The difference between data and data that need to be synchronous when the terminal previous synchronization that need to be currently synchronized in request including the terminal
Data;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out
Business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to business service
Device or cloud storage service device, specifically include:
The business interface layer receives the difference number by the corresponding application programming interface api interface of application program
According to;And
The differential data is updated the corresponding synchrodata of the terminal and cached by the business interface layer;And
The business interface layer is by the differential data transmission to sync data service device;
Correspondingly, the service server includes sync data service device, and the service server saves non-memory class industry
The processing result of business, specifically includes: the sync data service device saves the data that the terminal need to currently synchronize.
It should be noted that terminal can incite somebody to action oneself before submitting the data that need to be synchronized during above-mentioned specific implementation
The data and synchronized data of body storage merge processing, obtain change data;Change data are then passed through into agency service
Device is uploaded to business interface layer and service server.Even if to this synchronization failure, when also can be subsynchronous under, by this
The data of synchronous abnormality are handled again, then are uploaded.
It is subsequent when synchronizing it should also be noted that, single user is other than data for the first time are synchronous, it needs synchronous
Data change is all less, therefore the synchronizing information of user can be cached, when needing synchronous data without updating, directly
Prompting mobile telephone set end is returned to, to improve the oncurrent processing ability of cloud service.
Preferably, from flow and power consumption consideration, it is to be equal to 30% greatly in electricity, and make that terminal, which goes out can be set synchronization policy,
With under WIFI environment, the data of request in every 2 hours are synchronous.
Further, during concrete implementation, the method also includes:
When data type slowly synchronous in synchronous service request is newly-increased synchronization data types, the business is connect
Mouth layer is that the newly-increased synchronization data types establish corresponding synchrodata table;The synchrodata table is with synchronous number of users
Amount is to divide table dimension;
When receiving the corresponding data that need to be synchronized of the newly-increased synchronization data types, the business interface layer is same
The number of users synchronized in step data table to the newly-increased synchronization data types counts.
It should be noted that during above-mentioned specific implementation, when having user to the data of newly-increased synchronization data types
When synchronizing, business interface layer 102 can also establish spare synchrodata table for the corresponding data of the synchronization data types.
Illustratively, during concrete implementation, the proxy server receives the service request that client uploads, tool
Body includes: that the proxy server receives the synchronous data requests that browser is sent;Wherein, include in the synchronous data requests
The data that the browser need to synchronize;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out
Business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to business service
Device or cloud storage service device, specifically include:
The data that the business interface layer need to synchronize the browser by WEB management interface or back-stage management interface into
Row parsing, and the result after parsing is transmitted to search engine server;
Correspondingly, the service server includes search engine server, and the service server saves non-memory class industry
The processing result of business, specifically includes: described search engine server saves the data that the browser after parsing need to synchronize.
It should be noted that referring to fig. 2, search engine server may include Solr during above-mentioned specific implementation
Search engine, the result after parsing can index for the search key of the synchrodata, when the data that browser need to synchronize carry out
After synchronization, the efficiency of inquiry is can be improved in search engine, so that when user passes through browser access synchronized data,
By search carry out Backup Data inquiry with give for change.
Illustratively, during concrete implementation, the proxy server receives the service request that client uploads, tool
Body includes: that the proxy server receives the unstructured data to be saved that client uploads;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out
Business processing, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to business service
Device or cloud storage service device, specifically include: the business interface layer generates the corresponding metadata of the unstructured data, and will
The unstructured data is transmitted to cloud storage service device;
Correspondingly, the cloud storage service device saves the processing result of storage class business, specifically includes: the cloud storage clothes
Business device saves the unstructured data.
It should be noted that during above-mentioned specific implementation, the non-structured data may include as shone
The large capacities file such as piece, video, the corresponding metadata of the unstructured data can be generated in business interface layer, so that subsequent can
To pass through the data saved in metadata access cloud storage service device.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of cloud service system, which is characterized in that the system comprises: proxy server, business interface layer, service server
With cloud storage service device;Wherein,
The proxy server, for receiving the service request of client upload, and according to preset network protocol by the industry
Business request is transmitted to the business interface layer, wherein the service request includes non-memory class service request and storage class business
Request;
The business interface layer carries out at business for triggering corresponding business processing interface according to the type of the service request
Reason, and according to the type of the corresponding service request of service processing result, service processing result is transmitted to service server or cloud
Storage server;
The service server, for saving non-memory class business when the service request type is non-memory class business
Processing result;
The cloud storage service device, for saving the place of storage class business when the service request type is storage class business
Manage result.
2. system according to claim 1, which is characterized in that the proxy server passes through specifically for receiving terminal
The synchronous service request that application APP is sent;Wherein, the data that need to be currently synchronized in the synchronization request including the terminal
With the differential data between data that need to be synchronous when the terminal previous synchronization;
Correspondingly, the business interface layer, for receiving institute by the corresponding application programming interface api interface of application program
State differential data;And
The differential data is updated into the corresponding synchrodata caching of the terminal;And
By the differential data transmission to sync data service device;
Correspondingly, the service server includes sync data service device, the data that need to currently synchronize for saving the terminal.
3. system according to claim 2, which is characterized in that when data type slowly synchronous in synchronous service request
When being newly-increased synchronization data types, the business interface layer is also used to establish correspondence for the newly-increased synchronization data types
Synchrodata table;The synchrodata table is to divide table dimension with synchronous number of users;And
When receiving the corresponding data that need to be synchronized of the newly-increased synchronization data types, to described new in synchrodata table
The number of users that the synchronization data types of increasing synchronize is counted.
4. system according to claim 1, which is characterized in that the proxy server is specifically used for receiving browser hair
The synchronous data requests sent;Wherein, the data that need to be synchronized in the synchronous data requests including the browser;
Correspondingly, the business interface layer, for needing to synchronize to the browser by WEB management interface or back-stage management interface
Data parsed, and the result after parsing is transmitted to search engine server;
Correspondingly, the service server includes search engine server, need to synchronize for saving the browser after parsing
Data.
5. system according to claim 1, which is characterized in that the proxy server, for receiving client upload
Unstructured data to be saved;
The business interface layer, for generating the corresponding metadata of the unstructured data, and by the unstructured data
It is transmitted to cloud storage service device;
The cloud storage service device, for saving the unstructured data.
6. a kind of method of cloud service, which is characterized in that the method is applied in cloud service system, and the cloud service system can
To include proxy server, business interface layer, service server and cloud storage service device;The described method includes:
The proxy server receives the service request that client uploads, and according to preset network protocol by the service request
It is transmitted to the business interface layer, wherein the service request includes non-memory class service request and storage class service request;
The business interface layer triggers corresponding business processing interface according to the type of the service request and carries out business processing, and
According to the type of the corresponding service request of service processing result, service processing result is transmitted to service server or cloud storage takes
Business device;
When the service request type is non-memory class business, the service server saves the processing knot of non-memory class business
Fruit;
When the service request type is storage class business, the cloud storage service device saves the processing knot of storage class business
Fruit.
7. according to the method described in claim 6, it is characterized in that, the business that the proxy server receives client upload is asked
Ask, specifically include: the proxy server receives terminal and is requested by the synchronous service that application APP is sent;Wherein, described
Between the data and data that need to be synchronous when the terminal previous synchronization that need to be currently synchronized in synchronization request including the terminal
Differential data;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out business
Processing, and according to the type of the corresponding service request of service processing result, by service processing result be transmitted to service server or
Cloud storage service device, specifically includes:
The business interface layer receives the differential data by the corresponding application programming interface api interface of application program;
And
The differential data is updated the corresponding synchrodata of the terminal and cached by the business interface layer;And
The business interface layer is by the differential data transmission to sync data service device;
Correspondingly, the service server includes sync data service device, and the service server saves non-memory class business
Processing result specifically includes: the sync data service device saves the data that the terminal need to currently synchronize.
8. the method according to the description of claim 7 is characterized in that the method also includes:
When data type slowly synchronous in synchronous service request is newly-increased synchronization data types, the business interface layer
Corresponding synchrodata table is established for the newly-increased synchronization data types;The synchrodata table is with synchronous number of users
Divide table dimension;
When receiving the corresponding data that need to be synchronized of the newly-increased synchronization data types, the business interface layer is in same step number
It is counted according to the number of users synchronized in table to the newly-increased synchronization data types.
9. according to the method described in claim 6, it is characterized in that, the business that the proxy server receives client upload is asked
Ask, specifically include: the proxy server receives the synchronous data requests that browser is sent;Wherein, the synchronous data requests
In include the data that need to synchronize of the browser;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out business
Processing, and according to the type of the corresponding service request of service processing result, by service processing result be transmitted to service server or
Cloud storage service device, specifically includes:
The business interface layer is solved by the data that WEB management interface or back-stage management interface need to synchronize the browser
Analysis, and the result after parsing is transmitted to search engine server;
Correspondingly, the service server includes search engine server, and the service server saves non-memory class business
Processing result specifically includes: described search engine server saves the data that the browser after parsing need to synchronize.
10. according to the method described in claim 6, it is characterized in that, the proxy server receives the business that client uploads
Request, specifically includes: the proxy server receives the unstructured data to be saved that client uploads;
Correspondingly, the business interface layer triggers corresponding business processing interface according to the type of the service request and carries out business
Processing, and according to the type of the corresponding service request of service processing result, by service processing result be transmitted to service server or
Cloud storage service device, specifically includes: the business interface layer generates the corresponding metadata of the unstructured data, and will be described
Unstructured data is transmitted to cloud storage service device;
Correspondingly, the cloud storage service device saves the processing result of storage class business, specifically includes: the cloud storage service device
The unstructured data is saved.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610270595.1A CN105978948B (en) | 2016-04-27 | 2016-04-27 | A kind of method and system of cloud service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610270595.1A CN105978948B (en) | 2016-04-27 | 2016-04-27 | A kind of method and system of cloud service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105978948A CN105978948A (en) | 2016-09-28 |
CN105978948B true CN105978948B (en) | 2019-05-24 |
Family
ID=56993745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610270595.1A Active CN105978948B (en) | 2016-04-27 | 2016-04-27 | A kind of method and system of cloud service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105978948B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503149B (en) * | 2016-10-21 | 2020-01-24 | 广东亿迅科技有限公司 | Data synchronization method and system |
CN108156187B (en) * | 2016-12-02 | 2019-04-09 | 中科星图股份有限公司 | A kind of cloud service system |
CN106598502B (en) * | 2016-12-23 | 2020-04-14 | 广州杰赛科技股份有限公司 | Data storage method and system |
CN108512875A (en) * | 2017-02-27 | 2018-09-07 | 上海谦问万答吧云计算科技有限公司 | A kind of storage method and device of online question-answering content |
CN107273540B (en) * | 2017-07-05 | 2021-09-24 | 北京三快在线科技有限公司 | Distributed search and index updating method, system, server and computer equipment |
CN110401719A (en) * | 2019-07-30 | 2019-11-01 | 成都摹客科技有限公司 | Method, apparatus, system and the storage medium of web terminal upload data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101916298A (en) * | 2010-08-31 | 2010-12-15 | 深圳市赫迪威信息技术有限公司 | Database operation method, apparatus and system |
CN101930449A (en) * | 2009-06-22 | 2010-12-29 | 三星电子株式会社 | Client computer, acting server and be used to provide the method for cloud storage |
CN102375833A (en) * | 2010-08-12 | 2012-03-14 | 橘子电视股份有限公司 | Method for recording and searching webpages and method for recording browsed webpages |
CN104765840A (en) * | 2015-04-16 | 2015-07-08 | 成都睿峰科技有限公司 | Big data distributed storage method and device |
-
2016
- 2016-04-27 CN CN201610270595.1A patent/CN105978948B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101930449A (en) * | 2009-06-22 | 2010-12-29 | 三星电子株式会社 | Client computer, acting server and be used to provide the method for cloud storage |
CN102375833A (en) * | 2010-08-12 | 2012-03-14 | 橘子电视股份有限公司 | Method for recording and searching webpages and method for recording browsed webpages |
CN101916298A (en) * | 2010-08-31 | 2010-12-15 | 深圳市赫迪威信息技术有限公司 | Database operation method, apparatus and system |
CN104765840A (en) * | 2015-04-16 | 2015-07-08 | 成都睿峰科技有限公司 | Big data distributed storage method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105978948A (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105978948B (en) | A kind of method and system of cloud service | |
JP6621543B2 (en) | Automatic update of hybrid applications | |
JP6515172B2 (en) | Prioritizing content item synchronization based on sharing | |
CN201682522U (en) | Conversation information storage system and application server | |
CN103379159B (en) | A kind of method that distributed Web station data synchronizes | |
JP2016529599A (en) | Content clipboard synchronization | |
US10122665B2 (en) | Distributed synchronization data in a message management service | |
CN102769640B (en) | The update method of user profile, server and system | |
JP2016532956A (en) | Technology for managing unsynchronized content items on unlinked devices | |
US20140304384A1 (en) | Uploading large content items | |
US20150227605A1 (en) | Information processing terminal, synchronization control method, and computer-readable recording medium | |
US9930063B2 (en) | Random identifier generation for offline database | |
US9401957B2 (en) | System and method for synchronization between servers | |
CN104115142A (en) | Device specific folders for bookmarks synchronization | |
CN109697020A (en) | A kind of date storage method, server and system | |
US11210212B2 (en) | Conflict resolution and garbage collection in distributed databases | |
US8874795B2 (en) | Data synchronization system | |
US20150163326A1 (en) | Approaches for remotely unzipping content | |
US9432238B2 (en) | Communicating large amounts of data over a network with improved efficiency | |
CN102567037B (en) | Realize the method that the timing of desktop material updates | |
CN106657360A (en) | Synchronization method and system for NIS servers under Linux system | |
US7849056B2 (en) | System and method for managing databases associated with respective personal information manager service accounts | |
CA2620453C (en) | System and method for managing databases associated with respective personal information manager service accounts | |
CN103491113B (en) | A kind of synchronous method, the apparatus and system of information fusion file | |
CN115238006A (en) | Retrieval data synchronization method, device, equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |