CN103533087A - Cloud service platform middleware and cloud uploading method - Google Patents

Cloud service platform middleware and cloud uploading method Download PDF

Info

Publication number
CN103533087A
CN103533087A CN201310533857.5A CN201310533857A CN103533087A CN 103533087 A CN103533087 A CN 103533087A CN 201310533857 A CN201310533857 A CN 201310533857A CN 103533087 A CN103533087 A CN 103533087A
Authority
CN
China
Prior art keywords
layer
file
cloud
data
middleware
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
CN201310533857.5A
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.)
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201310533857.5A priority Critical patent/CN103533087A/en
Publication of CN103533087A publication Critical patent/CN103533087A/en
Priority to PCT/CN2014/088289 priority patent/WO2015062399A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides cloud service platform middleware and a cloud uploading method. The middleware comprises a core engine layer, a data layer, a supporting layer and a messaging component layer, wherein the core engine layer is used for providing calling interfaces for different cloud services; the calling interfaces are called by a cloud application layer outside the middleware; the data layer is in communication with the core engine layer to save the user cloud data; the supporting layer is in communication with the core engine layer to provide service components for realizing different cloud services; the messaging component layer is in communication with the supporting layer and the core engine layer respectively to realize message passing between the supporting layer and the core engine layer. In this way, the development time of cloud applications can be greatly shortened, and the development cost can be reduced. In addition, the cloud applications set up based on the middleware can integrate user data at different cloud applications through the middleware, so as implement data passing and share among different cloud applications. The storage resource can be saved, and the user experience can be improved.

Description

A kind of cloud service platform middleware and cloud method for uploading
Technical field
The present invention relates to communication technical field, be specifically related to a kind of cloud service platform middleware and cloud method for uploading.
Background technology
Along with the development of computer technology, cloud service is accepted extensively and is used by people with its reliability and versatility, immediately, emerges more and more cloud application that meet the different demands of people, cloudlike photograph album, Yun Wangpan, cloud video, cloud notes etc.
At present, cloud service provider, when building a cloud application service platform, is the customization cloud application build of being undertaken by analysis user use scenes mostly, if will strengthen cloud service on the basis of original cloud application again, the service platform that need to overthrow original cloud application, rebuilds; On the basis of original cloud application service platform, build an even a plurality of cloud application service platform arranged side by side.For first kind of way, length consuming time, the cost of cost is large; And in the second way, relatively independent between each cloud application, cannot between each cloud application, realize the high in the clouds data sharing to same user.Be illustrated below.
On the basis of the service platform based on individual cloud video, then release this cloud application of individual cloud photograph album, two kinds of modes of corresponding prior art, specific implementation can be presented as:
Mode one, overthrows the framework of existing cloud Video Applications platform, reanalyses current use scenes, builds brand-new system architecture, makes it support cloud video, two use scenes of cloud photograph album simultaneously.The cost that this mode obviously need to cost a lot of money, particularly user's request are upgraded use scenes comparatively frequently, and it is more outstanding that this cost just seems.
Mode two, independent consideration cloud photograph album is applied, and only analyzes the use scenes of cloud photograph album, is a set of independently service platform of its customization, the a set of network infrastructure that meets cloud photograph album application characteristic of independent construction, provides the Integrated using scene of cloud video, cloud photograph album to user with this again.Under this mode, the user data of two clouds application be separate, cannot get through, that is to say, the high in the clouds data (as user bottom data, business datum etc.) of user in cloud Video Applications cannot share in the application of cloud photograph album.Under this mode, two service platforms may need to safeguard a large amount of identical data, cause the waste of storage resources; For user, also may reduce user's experience.
Summary of the invention
The cloud service platform middleware of the embodiment of the present invention and cloud method for uploading, the problem that cost cost is large, data cannot be got through existing when strengthening cloud service in order to solve prior art.
For this reason, the embodiment of the present invention provides following technical scheme:
A middleware, described middleware comprises core engine layer, data Layer, supporting layer, message components layer, wherein,
Described core engine layer, for the calling interface of different cloud services is provided, calls for the cloud application layer of described middleware outside;
Described data Layer is communicated by letter with described core engine layer, for preserving user high in the clouds data;
Described supporting layer is communicated by letter with described core engine layer, for the serviced component of realizing different cloud services is provided;
Described message components layer is communicated by letter with described supporting layer, described core engine layer respectively, for realizing the message transmission of described supporting layer and described core engine interlayer.
Preferably, the serviced component that described supporting layer provides comprises at least one in following serviced component:
Picture thumbnail assembly, static resource pond, video code conversion system, file distributing and accelerating system, distributed file storage system.
Preferably, described middleware also comprises data buffer storage layer,
Described data buffer storage layer, meets the user high in the clouds data of preset rules for data Layer described in buffer memory.
Preferably, described core engine layer, also for integrating same user in the high in the clouds of different cloud services data, and preserves the corresponding relation between the high in the clouds data after user and integration.
Preferably, described core engine layer, the access situation to different cloud services for supervisory user also, and generate cloud daily record and be saved to described data Layer.
Preferably, described message components layer, also for described cloud application layer communication, realize the message transmission between different cloud services.
Accordingly, the embodiment of the present invention also provides a kind of cloud method for uploading, and developer builds the application layer that cloud upload service can be provided, and described application layer is communicated by letter with above-mentioned cloud service platform middleware, carries out cloud upload according to following steps:
Described application layer is to the calling interface Transmit message upload request of the cloud upload service in the core engine layer of described middleware, and described request comprises the file fingerprint of file to be uploaded;
Described cloud upload service judges according to described file fingerprint whether this file to be uploaded completes and upload;
If completed, do not upload, notify the distributed file storage system in the supporting layer that described application layer is uploaded to described file to be uploaded described middleware;
After file completes and uploads, described distributed file storage system writes the memory address of file in the message queue of message components layer of described middleware, and file is uploaded to successful information feeds back to described application layer;
The message that described core engine layer is safeguarded reads process and accesses described message components layer by predetermined interval, therefrom reads the file memory address that described distributed file storage system writes, and described file memory address is saved to the data Layer of described middleware.
Preferably, if described file to be uploaded is picture, described method also comprises:
After file completes and uploads, described distributed file storage system utilizes described picture thumbnail assembly to generate thumbnail, and deposits described thumbnail in static resource pond.
Preferably, if described file to be uploaded is video file, described method also comprises:
Described message reads process from described message components layer reads described file memory address, and the video code conversion system that described core engine layer is controlled described supporting layer reads described video file and carries out video code conversion from described distributed file storage system;
After transcoding completes, described video code conversion system is saved to the file after transcoding file distributing and the accelerating system of described supporting layer, and the memory address of the file after transcoding is write in the message queue of described message components layer;
Described message reads process and accesses described message components layer according to predetermined interval, therefrom reads the memory address of the file after described transcoding and is saved to described data Layer.
Preferably, described file request to be uploaded also comprises loopback address, and described method also comprises:
Described described file memory address is saved to the data Layer of described middleware after,
Described cloud upload service is sent and uploads successfully acknowledge message to described application layer by described loopback address.
The cloud service platform middleware of the embodiment of the present invention and cloud method for uploading, by middleware, the bottom business of a plurality of cloud services and data are carried out to unified management and maintenance, developer only need build simple application layer, then the external interface that calling middleware provides can be built a new cloud application, so just can greatly shorten the development time of cloud application, reduce development cost.In addition, the cloud application building based on middleware of the present invention, also can integrate the data of user under different cloud application by middleware, and the data that realize between different cloud application are got through and share, and so also can save storage resources, improve user and experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, the accompanying drawing the following describes is only some embodiment that record in the application, for those of ordinary skills, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic diagram of the cloud service platform middleware of the embodiment of the present invention;
Fig. 2 is the flow chart of embodiment of the present invention cloud method for uploading embodiment 1;
Fig. 3 is the flow chart of embodiment of the present invention cloud method for uploading embodiment 2.
Embodiment
In order to make those skilled in the art person understand better the present invention program, below in conjunction with drawings and embodiments, the embodiment of the present invention is described in further detail.
While strengthening cloud service in order to solve prior art on original cloud application foundation, build the problems such as new cloud application service platform length consuming time, cost are large, the embodiment of the present invention provides a kind of cloud service platform middleware, for developer provides the technical support that realizes multiple cloud application.So, in the time need to hatching a new cloud application, developer only need to build application layer, then by application layer, calls the middleware of the embodiment of the present invention, and the mode of splicing with application layer and middleware realizes a kind of new cloud application.A kind of new cloud application of time structure that prior art need to spend 3~5 months relatively, after adopting the present invention program, only needs within 1~2 month, can complete, and has greatly shortened the research and development time, has reduced time cost.
It should be noted that, it is the User Interface of cloud application that application layer can be understood as, i.e. visual and the interface that can direct control of user, and the cloud service demand that its user oriented is different, can realize the cloud of the clients such as mobile terminal, PC end, TV end and apply displaying.
Below the formation of the cloud service platform middleware of the embodiment of the present invention is explained.
Embodiment 1
Referring to Fig. 1, show the schematic diagram of the cloud service platform middleware of the embodiment of the present invention, as embodiment of the present invention middleware, form the embodiment 1 of scheme, middleware can comprise core engine layer, data Layer, supporting layer, message components layer.Below each layer explained.
(1) core engine layer, for the calling interface of different cloud services is provided, calls for the cloud application layer of middleware outside.
The most basic function of core engine layer be the calling interface that will safeguard for different cloud application services, referring to Fig. 1 examples cited, the services such as core engine layer can provide to application layer and upload, download, move, rename, search, and the calling interface of these services is provided to developer, for it.So, when developer intends building a new cloud application, as long as exploitation realizes the application layer of service display, and call when needed the corresponding interface that core engine layer provides.
It should be noted that, core engine layer is as the external interface of middleware of the present invention, can be directly and application layer communication, and according to the communicating by letter of actual service condition foundation and data Layer, supporting layer or message components layer, to this, will below explain one by one.
(2) data Layer is communicated by letter with core engine layer, for preserving user high in the clouds data.
The most basic function of data Layer is to realize high in the clouds storage, mainly by database component, is formed.
(3) supporting layer is communicated by letter with core engine layer, for the serviced component of realizing different cloud services is provided.
Application layer is called after core engine layer, by core engine layer according to application layer for the different cloud services that user provides, cooperatively interact and realize cloud service with supporting layer.Referring to Fig. 1 examples cited, supporting layer can be presented as: picture thumbnail assembly, static resource pond, video code conversion system, file distributing and accelerating system, distributed file storage system, supervisory control system etc.
The assembly that supporting layer comprises can be divided into the general purpose module of realizing different cloud services, as, the file that the dish service of cloud net and cloud album-service are uploaded all can be saved in distributed file storage system, and for these two cloud application, distributed file storage system just can be regarded as general purpose module.Or different cloud services all can be passed through supervisory control system, the health status such as application interface, message queue, server, network, disk, database principal and subordinate are monitored in real time, therefore supervisory control system also can be regarded as general purpose module.
In addition, the assembly of supporting layer also can be divided into the personalization component that realizes personalized cloud service, as, for cloud album-service, except preserving the photograph album that user uploads by distributed file storage system, when file that user uploads being detected and be picture, also can carry out picture processing by picture thumbnail assembly and generate thumbnail, and push it in static resource pond, to improve picture access speed.Again for example, for video file, it may be taken by different terminals such as mobile phone, video cameras, also may there is different video formats, after guaranteeing that user uploads successfully, can, anywhere by any this video file of equipment normal play, also tackle video file and unify transcoding.Picture thumbnail assembly, static resource pond, video code conversion system etc. all can be regarded as personalization component.
(4) message components layer is communicated by letter with supporting layer, core engine layer respectively, for realizing the message transmission of supporting layer and core engine interlayer.
The most basic function of message components layer be to realize supporting layer to the message transmission of core engine layer direction.When calling core engine layer and provide upload service to user as, application layer, core engine layer can coordinate with the distributed file storage system of supporting layer, carries out file and uploads and store; After having uploaded, distributed file storage system also needs memory address to be saved in data Layer, so that user carries out file while downloading at needs, core engine layer can be from data Layer file reading memory address, and then removes corresponding position acquisition file.In this course, supporting layer is, by message components layer, memory address is passed to core engine layer, and then is saved to data Layer by core engine layer, and this will be explained in the cloud method for uploading below.
So, the middleware that developer just can utilize the embodiment of the present invention to provide builds a new cloud application quickly and easily, and on stream, developer only needs to build simple application layer, then make the external interface of application layer and middleware carry out alternately.For the bottom business and the data that realize cloud service, all can be managed and be safeguarded by middleware unification, this just can greatly reduce unnecessary overlapping development work, reduces the cost of the aspects such as data are synchronous, hardware and software development, maintenance upgrade.
Embodiment 2
In addition, for prior art, strengthen cloud service mode two, cannot get through the shortcoming of data between two stand-alone service platforms, the embodiment of the present invention also provides middleware to form the embodiment 2 of scheme.In this embodiment, core engine layer, also for integrating same user in the high in the clouds of different cloud services data, and preserves the corresponding relation between the high in the clouds data after user and integration.
That is to say, developer can build the application layer of a plurality of different cloud services, and utilizes middleware of the present invention to splice a plurality of different clouds application, the application layer of the cloud application such as cloud net dish as shown in Figure 1, cloud photograph album, cloud backup.In order to guarantee that user is without the getting through and share of data in cloud application, core engine layer also should have the function of integrating user high in the clouds data.
Detailed process can withdraw deposit for: when user carries out data upload by the cloud application that utilizes middleware of the present invention and be built into, core engine layer can be set up the corresponding relation between subscriber identity information and cloud application, because cloud application is also corresponding with user data, so also just set up the corresponding relation between subscriber identity information and user data, like this, when user need to realize the interlock of relevant cloud service, core engine layer just can be according to the condition of user's input, search the data feedback of needs to user, so both can save storage resources, can improve again user experiences.Below this process is illustrated.
As, by Middleware implementation of the present invention cloud net dish and two clouds of cloud photograph album apply, if realize individual photo the representing and management in cloud photograph album of cloud net dish, process can be presented as: first, core engine layer can be set up the mapping relations between user identity coding and cloud net dish, and then realizes associated (certainly comprise between this user and above-mentioned individual photo associated) of this user and cloud net dish all customer data; Accordingly, core engine layer also can be set up this user's identity coding and the mapping relations between cloud photograph album, realizes its associated with cloud photograph album all customer data, so, has just set up this user and the incidence relation of data under two clouds application.Secondly, the individual photo of wanting to realize cloud net dish user is during to the representing of cloud photograph album, using it as interlock condition entry, whether core engine layer can be set up and have mapping relations with cloud net dish according to this user of this condition judgment, if had, just can from cloud net dish, search and read the individual photo that user needs, and shared to cloud photograph album, realize individual photo the representing at cloud photograph album in cloud net dish.
Embodiment 3
Realize between the application of different clouds data get through with share after, in order to realize the data communication between different cloud application first floor system, and reduce coupling, realize loose coupling between system, the embodiment of the present invention also provides the embodiment 3 of middleware formation scheme.In this embodiment, message components layer, also for described cloud application layer communication, realize the message transmission between different cloud services.
That is to say, the message components layer in the present invention, except realizing the message transmission under same application, can also be realized the message transmission between different application.Take below and transmit the information of sharing and explain as example:
Message transmission under same application can be presented as: user A has shared a photo to user B in cloud photograph album application, and message components layer can send and share information reminding to the user B in the application of cloud photograph album, and the current user of the having A of prompting user B has shared photo to it.
Message transmission under different application can be presented as: user A has shared a photo to user B in the application of cloud photograph album, because the data between different application are got through, therefore message components layer also can send and share information reminding to the user B in cloud net dish application, the current user of the having A of prompting user B has shared photo to it in the application of cloud photograph album.As a kind of preferred version of the embodiment of the present invention, when user B clicks the chained address of sharing in prompting message, also can directly from Yun Wangpan, jump to cloud photograph album, check the photo that user A is shared.
It should be noted that, it is the embodiment of message process under same application that the transmission of the memory address that above embodiment introduces at 1 place can be understood as.
Embodiment 4
In order to improve the access speed of utilizing the cloud application that middleware of the present invention builds, the embodiment of the present invention also provides middleware to form the embodiment 4 of scheme.In this embodiment, middleware also comprises data buffer storage layer, meets the user high in the clouds data of preset rules for data Layer described in buffer memory.
Generally, user, access cloud application, wish therefrom to read or during downloading data, need to call core engine layer by application layer, then by core engine layer according to user's request, from data Layer, read corresponding user data.In order to improve the processing speed of this process, the embodiment of the present invention has also been set up reading speed data buffer storage layer faster, the data that part met to preset rules (preset rules can be presented as the data of the particular type that data that user is conventional or user arrange etc., and the present invention can not limit this) read data buffer storage layer and preserve from data Layer.When user needs visit data, by core engine layer, first from data buffer storage layer, read, if data buffer storage layer does not exist, visit again data Layer and therefrom read.
Data buffer storage layer can comprise data buffer storage assembly, session shared unit etc., because itself and data Layer are all in order to realize high in the clouds data storage and inquiry, therefore in Fig. 1 example shown, the two is not carried out to strict description.
Embodiment 5
In order to record the access situation of utilizing the cloud application that middleware of the present invention builds, the embodiment of the present invention also provides middleware to form the embodiment 5 of scheme.In this embodiment, core engine layer, the access situation to different cloud services for supervisory user also, and generate cloud daily record and be saved to described data Layer.
That is to say, core engine layer also possesses monitoring function, can statistical analysis the visit capacity, the use liveness of application etc. of the number of users that has of each cloud application, Preset Time section (as every day, per hour etc.), corresponding to this, data Layer also includes log component, the data that monitor for preserving core engine layer.
Cloud upload procedure take below as example, to utilizing the use procedure of the cloud application that middleware of the present invention builds to explain.
Embodiment 6
As above introduced, from developer's angle, it need to build an application layer that cloud upload service can be provided, and then makes this application layer communicate by letter with cloud service platform middleware of the present invention, carries out cloud upload according to following steps.Flow chart that specifically can embodiment 1 shown in Figure 2, can comprise:
Step 101, described application layer is to the calling interface Transmit message upload request of the cloud upload service in the core engine layer of described middleware, and described request comprises the file fingerprint of file to be uploaded.
Application layer is shown operation interface to user, and when receiving the file upload request that user sends by client, set up and communicate by letter with the core engine layer of middleware, call the file upload service interface that core engine layer provides to it, file upload request is submitted to this interface, trigger cloud upload procedure.
It should be noted that, what in file upload request, mainly comprise is the file fingerprint of file to be uploaded, it is the identity information of file that file fingerprint can be considered, and each file is to there being unique separately file fingerprint, and file fingerprint can pass through the formation such as file content, file size, file type.
Step 102, described cloud upload service judges according to described file fingerprint whether this file to be uploaded completes and upload, if completed, does not upload, and performs step 103; If complete and upload, to user feedback, upload successfully.
After cloud upload service in core engine layer receives the file upload request of application layer forwarding, first according to file fingerprint, judge whether this file to be uploaded completes and upload:
If completed, upload that (no matter be that user oneself had previously uploaded this document, or other user uploaded this document, all can be considered and completed and upload.For other user, uploaded the situation of this document, active user has been equivalent to share other user's the progress of uploading and upload file), core engine layer is directly uploaded successful message by application layer to user feedback file, realizes file and passes second.
If completed, do not upload (can be embodied as file and not exist, or file is uploaded interruption), cloud upload service can be searched the uploading nodes nearest apart from this subscription client, and this uploading nodes is distributed to client, in order to realize file, uploads.
Step 103, notifies the distributed file storage system in the supporting layer that described application layer is uploaded to described file to be uploaded described middleware.
This step is to find apart from after the nearest uploading nodes of client, by application layer by the address notification client of this uploading nodes, and then by uploading nodes, file to be uploaded is uploaded to the supporting layer of middleware, specifically upload in the distributed file storage system of supporting layer.
Step 104, after file completes and uploads, described distributed file storage system writes the memory address of file in the message queue of message components layer of described middleware, and file is uploaded to successful information feeds back to described application layer.
Step 105, the message that described core engine layer is safeguarded reads process and accesses described message components layer by predetermined interval, therefrom read the file memory address that described distributed file storage system writes, and described file memory address is saved to the data Layer of described middleware.
After file has been uploaded, also need the memory address of file to be saved in data Layer, in order to subsequent user, reading or using during download file, this is also needed to carry out following two aspects and process:
First aspect, distributed file storage system is written to the memory address of file (or being interpreted as store path) in the message queue of message components layer, also can upload successful message (being mainly to be represented to user and checked by application layer) to client user's feedback file simultaneously.
Second aspect, core engine layer is safeguarding that a message reads process, this process is a regularly script, can, every a message components layer of Preset Time interval access, read the message in message queue.After distributed file storage system writes message queue by file memory address, can be read process by message and read and be saved in data Layer.So far, just completed and utilized the cloud application that middleware of the present invention builds to carry out the process that cloud is uploaded.
Embodiment 7
Referring to Fig. 3, show the flow chart of cloud method for uploading embodiment 2 of the present invention, can comprise:
Step 201, described application layer is to the calling interface Transmit message upload request of the cloud upload service in the core engine layer of described middleware, and described request comprises the file fingerprint of loopback address and file to be uploaded.
Step 202, described cloud upload service judges according to described file fingerprint whether this file to be uploaded completes and upload, if completed, does not upload, and performs step 203; If complete and upload, to user feedback, upload successfully.
Step 203, notifies the distributed file storage system in the supporting layer that described application layer is uploaded to described file to be uploaded described middleware.
Step 204, after file completes and uploads, described distributed file storage system writes the memory address of file in the message queue of message components layer of described middleware, and file is uploaded to successful information feeds back to described application layer.
Step 205, the message that described core engine layer is safeguarded reads process and accesses described message components layer by predetermined interval, therefrom read the file memory address that described distributed file storage system writes, and described file memory address is saved to the data Layer of described middleware.
Step 201~205 are basic identical with step 101~105, repeat no more herein.Difference is, also comprises and that is to say loopback address in the present embodiment in file upload request, and client user wishes, after platform confirms that file is uploaded successfully, by loopback address, to its feedback, to upload successfully acknowledge message.
Step 206, described cloud upload service sends and uploads successfully acknowledge message to described application layer.
When client, file is uploaded to result and require when comparatively strict, can in file upload request, to be added into loopback address, require platform to the state of finally uploading of its feedback file.
In cloud method for uploading embodiment 1, after file completes and uploads, distributed file storage system can be uploaded successful message to client feedback file, but, from above introducing, after distributed file storage system feeds back this message to application layer, also will read process through message reads memory address and memory address is saved in to the processing procedures such as data Layer, no matter mistake appears in which in these processes, all may cause that user is follow-up cannot correctly read or download to this upload file.Therefore, the present embodiment is also for uploading the situation that result has relatively high expectations (cloudlike backup), utilize the mode of readjustment, after guaranteeing that file memory address is correctly saved in data Layer, by core engine layer, to application layer Transmit message, upload successfully acknowledge message, with this, make client user grasp the state of finally uploading of file.
It should be noted that, carrying out the file that cloud uploads may be common document, also may be picture category file, or video class file, file for picture category and video class, in upload procedure, also need to utilize the personalization component of supporting layer to carry out special processing, explain respectively below.
After file completes and uploads, if distributed file storage system judges that this document is as picture category file, can trigger picture thumbnail assembly and generate thumbnail, and deposit described thumbnail in static resource pond.This process can be carried out before distributed file storage system writes message queue by file memory address, also can after file memory address is write to message queue, carry out, or carry out this two actions simultaneously, and this present invention can not limited.
If file to be uploaded is video file, in message, read after process reads the memory address of this document from the message queue of message components layer, core engine layer can send to file memory address video code conversion system, control video code conversion system and from distributed file storage system, read this video class file, and carry out video code conversion.In order to improve the reading speed of the video file after transcoding, video code conversion system is after completing transcoding, also the file after transcoding can be saved to file distributing and accelerating system, and the memory address in file distributing and accelerating system writes in the message queue of message components layer by it, the process that reads that waits for the arrival of news reads and is saved in data Layer.That is to say, for a video file, data Layer is preserved two memory address, and one is the memory address that is stored in the original upload file in distributed file storage system, for user, checks and downloads; One is the memory address of the file after the transcoding being stored in file distributing and accelerating system, for user, on distinct device, plays.
Above the embodiment of the present invention is described in detail, has applied embodiment herein the present invention is set forth, the explanation of above embodiment is just for helping to understand method of the present invention and platform; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (10)

1. a cloud service platform middleware, is characterized in that, described middleware comprises core engine layer, data Layer, supporting layer, message components layer, wherein,
Described core engine layer, for the calling interface of different cloud services is provided, calls for the cloud application layer of described middleware outside;
Described data Layer is communicated by letter with described core engine layer, for preserving user high in the clouds data;
Described supporting layer is communicated by letter with described core engine layer, for the serviced component of realizing different cloud services is provided;
Described message components layer is communicated by letter with described supporting layer, described core engine layer respectively, for realizing the message transmission of described supporting layer and described core engine interlayer.
2. method according to claim 1, is characterized in that, the serviced component that described supporting layer provides comprises at least one in following serviced component:
Picture thumbnail assembly, static resource pond, video code conversion system, file distributing and accelerating system, distributed file storage system.
3. method according to claim 1, is characterized in that, described middleware also comprises data buffer storage layer,
Described data buffer storage layer, meets the user high in the clouds data of preset rules for data Layer described in buffer memory.
4. according to the method described in claim 1~3 any one, it is characterized in that,
Described core engine layer, also for integrating same user in the high in the clouds of different cloud services data, and preserves the corresponding relation between the high in the clouds data after user and integration.
5. according to the method described in claim 1~3 any one, it is characterized in that,
Described core engine layer, the access situation to different cloud services for supervisory user also, and generate cloud daily record and be saved to described data Layer.
6. according to the method described in claim 1~3 any one, it is characterized in that,
Described message components layer, also for described cloud application layer communication, realize the message transmission between different cloud services.
7. a cloud method for uploading, is characterized in that, developer builds the application layer that cloud upload service can be provided, and described application layer is communicated by letter with the cloud service platform middleware described in claim 1~6 any one, carries out cloud upload according to following steps:
Described application layer is to the calling interface Transmit message upload request of the cloud upload service in the core engine layer of described middleware, and described request comprises the file fingerprint of file to be uploaded;
Described cloud upload service judges according to described file fingerprint whether this file to be uploaded completes and upload;
If completed, do not upload, notify the distributed file storage system in the supporting layer that described application layer is uploaded to described file to be uploaded described middleware;
After file completes and uploads, described distributed file storage system writes the memory address of file in the message queue of message components layer of described middleware, and file is uploaded to successful information feeds back to described application layer;
The message that described core engine layer is safeguarded reads process and accesses described message components layer by predetermined interval, therefrom reads the file memory address that described distributed file storage system writes, and described file memory address is saved to the data Layer of described middleware.
8. method according to claim 7, is characterized in that, if described file to be uploaded is picture, described method also comprises:
After file completes and uploads, described distributed file storage system utilizes described picture thumbnail assembly to generate thumbnail, and deposits described thumbnail in static resource pond.
9. method according to claim 7, is characterized in that, if described file to be uploaded is video file, described method also comprises:
Described message reads process from described message components layer reads described file memory address, and the video code conversion system that described core engine layer is controlled described supporting layer reads described video file and carries out video code conversion from described distributed file storage system;
After transcoding completes, described video code conversion system is saved to the file after transcoding file distributing and the accelerating system of described supporting layer, and the memory address of the file after transcoding is write in the message queue of described message components layer;
Described message reads process and accesses described message components layer according to predetermined interval, therefrom reads the memory address of the file after described transcoding and is saved to described data Layer.
10. method according to claim 7, is characterized in that, described file request to be uploaded also comprises loopback address, and described method also comprises:
Described described file memory address is saved to the data Layer of described middleware after,
Described cloud upload service is sent and uploads successfully acknowledge message to described application layer by described loopback address.
CN201310533857.5A 2013-10-31 2013-10-31 Cloud service platform middleware and cloud uploading method Pending CN103533087A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310533857.5A CN103533087A (en) 2013-10-31 2013-10-31 Cloud service platform middleware and cloud uploading method
PCT/CN2014/088289 WO2015062399A1 (en) 2013-10-31 2014-10-10 Cloud service platform middleware and cloud uploading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310533857.5A CN103533087A (en) 2013-10-31 2013-10-31 Cloud service platform middleware and cloud uploading method

Publications (1)

Publication Number Publication Date
CN103533087A true CN103533087A (en) 2014-01-22

Family

ID=49934751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310533857.5A Pending CN103533087A (en) 2013-10-31 2013-10-31 Cloud service platform middleware and cloud uploading method

Country Status (2)

Country Link
CN (1) CN103533087A (en)
WO (1) WO2015062399A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995706A (en) * 2014-06-06 2014-08-20 广州金山网络科技有限公司 Method and device for displaying picture thumbnail
WO2015062399A1 (en) * 2013-10-31 2015-05-07 乐视网信息技术(北京)股份有限公司 Cloud service platform middleware and cloud uploading method
CN105450542A (en) * 2014-08-21 2016-03-30 联想(北京)有限公司 Data-processing method and first electronic device
CN107508910A (en) * 2017-09-20 2017-12-22 郑州云海信息技术有限公司 A kind of method and Middleware layers for managing storage device
WO2019037192A1 (en) * 2017-08-24 2019-02-28 平安科技(深圳)有限公司 Method and device for uploading user information, and computer-readable storage medium
CN110225118A (en) * 2019-06-13 2019-09-10 浪潮软件股份有限公司 Realize the message-oriented middleware auxiliary system and message transfer service that message is once sent to
CN113676358A (en) * 2021-09-03 2021-11-19 温州众邦科技技术研究有限公司 Cloud computing network management control method based on user requirements

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110298919B (en) * 2019-05-13 2023-08-29 广东领慧数字空间科技有限公司 Cloud service system applied to intelligent measurement of building
CN111552568B (en) * 2020-04-28 2023-11-21 中国银行股份有限公司 Cloud service calling method and device
CN112073513B (en) * 2020-09-08 2023-07-04 国家市场监督管理总局信息中心 Cooperative processing method, device and system for metering forced detection service
CN114257612B (en) * 2021-11-26 2024-05-28 珠海大横琴科技发展有限公司 Data processing method
CN115002038B (en) * 2022-08-04 2022-10-25 中国电子科技集团公司第十五研究所 Intelligent peak regulation method and system based on cloud distributed coordination service
CN117891628B (en) * 2024-03-15 2024-05-28 山东乾云启创信息科技股份有限公司 Cloud management platform long-time task execution result tracking method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255974A (en) * 2011-08-24 2011-11-23 无锡中科方德软件有限公司 Cloud storage method for cloud computing server
CN102970354A (en) * 2012-11-08 2013-03-13 华南理工大学 Construction method of cloud computing system based on super resource integration
CN103051710A (en) * 2012-12-20 2013-04-17 中国科学院深圳先进技术研究院 Virtual cloud platform management system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739771A (en) * 2012-04-18 2012-10-17 上海和辰信息技术有限公司 Cloud application integrated management platform and method supporting service fusion
CN103368942A (en) * 2013-05-25 2013-10-23 中山市中商港科技有限公司 Cloud data security storage and management method
CN103327189B (en) * 2013-06-28 2015-07-15 小米科技有限责任公司 Method and device for uploading, browsing and deleting pictures
CN103533087A (en) * 2013-10-31 2014-01-22 乐视网信息技术(北京)股份有限公司 Cloud service platform middleware and cloud uploading method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255974A (en) * 2011-08-24 2011-11-23 无锡中科方德软件有限公司 Cloud storage method for cloud computing server
CN102970354A (en) * 2012-11-08 2013-03-13 华南理工大学 Construction method of cloud computing system based on super resource integration
CN103051710A (en) * 2012-12-20 2013-04-17 中国科学院深圳先进技术研究院 Virtual cloud platform management system and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015062399A1 (en) * 2013-10-31 2015-05-07 乐视网信息技术(北京)股份有限公司 Cloud service platform middleware and cloud uploading method
CN103995706A (en) * 2014-06-06 2014-08-20 广州金山网络科技有限公司 Method and device for displaying picture thumbnail
CN105450542A (en) * 2014-08-21 2016-03-30 联想(北京)有限公司 Data-processing method and first electronic device
CN105450542B (en) * 2014-08-21 2019-08-27 联想(北京)有限公司 A kind of data processing method and the first electronic equipment
WO2019037192A1 (en) * 2017-08-24 2019-02-28 平安科技(深圳)有限公司 Method and device for uploading user information, and computer-readable storage medium
CN107508910A (en) * 2017-09-20 2017-12-22 郑州云海信息技术有限公司 A kind of method and Middleware layers for managing storage device
CN110225118A (en) * 2019-06-13 2019-09-10 浪潮软件股份有限公司 Realize the message-oriented middleware auxiliary system and message transfer service that message is once sent to
CN113676358A (en) * 2021-09-03 2021-11-19 温州众邦科技技术研究有限公司 Cloud computing network management control method based on user requirements

Also Published As

Publication number Publication date
WO2015062399A1 (en) 2015-05-07

Similar Documents

Publication Publication Date Title
CN103533087A (en) Cloud service platform middleware and cloud uploading method
CN102474432B (en) Social network virtual private network
US9167374B2 (en) Machine-to-machine rules management methods and systems
US20130240618A1 (en) Exchange of dynamically updated data using matrix bar codes
CN105144659A (en) Restlike API that supports a resilient and scalable distributed application
US10609123B2 (en) Hybrid quorum policies for durable consensus in distributed systems
CN102934413A (en) Smartphone management system and method
CN108512814B (en) Media data processing method, device and system
CN112019625B (en) Websocket-based message pushing method, system, device and medium
CN103475674A (en) Unified communications systems and methods
CN113568970A (en) Application service data management method, device, equipment and storage medium
CN103873519A (en) Data synchronization method, client end, server, terminal and system
US11178197B2 (en) Idempotent processing of data streams
CN113196218B (en) System and method for delivering modular tools
CN101378329A (en) Distributed business operation support system and method for implementing distributed business
CN109241128A (en) A kind of expired events automatic trigger method and system
US20130159468A1 (en) Computer implemented method, computer system, electronic interface, mobile computing device and computer readable medium
CN110445826B (en) Session information acquisition method, device and server
CN106209584A (en) User profile processing method based on the Internet, client and server
CN109743366B (en) Resource locking method, device and system for multi-living scene
US11381665B2 (en) Tracking client sessions in publish and subscribe systems using a shared repository
Göndör et al. The current state of interoperability in decentralized online social networking services
CN112817493B (en) Content sharing method and device, computer equipment and storage medium
US20220084078A1 (en) Methods and Systems for Untargeting Users of an Online Service for Advertising
CN108289056A (en) Share the method, apparatus and computing device of dynamic chart

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20151225

Address after: 100080, building 689, No. 1, 2 South Avenue, Beijing, Haidian District, 1153, Zhongguancun

Applicant after: LETV CLOUD COMPUTING CO., LTD.

Address before: Room six, building 19, building 68, No. 100089 South Road, Haidian District, Beijing

Applicant before: LeTV Information Technology (Beijing) Co., Ltd.

AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20190215