Content of the invention
The embodiment of the present invention provides a kind of free online multimedium method and server, for solving electronic equipment program request efficiency relativelyLow technical problem.
On the one hand, the embodiment of the present invention provides a kind of free online multimedium method, is applied to server, comprises the following steps:
Described server obtains a program request operation information, and described program request operation information is used for instruction user by described serviceDevice or the terminal unit being connected with described server carry out for the first multimedia program request operation;Wherein, more than described firstThe multi-medium data of media is the data being stored in publicly-owned Cloud Server;
Described server is based on described program request operation information, generates and refers to described publicly-owned Cloud Server transmission first downloadOrder and the second download instruction;Wherein, described first download instruction is used for the described first multimedia multi-medium data by describedPublicly-owned Cloud Server downloads to described server, and described second download instruction is used for indicating described publicly-owned Cloud Server by describedOne multimedia multi-medium data copies in privately owned Cloud Server corresponding with described user;
Described server receives the described matchmaker more than first based on described first download instruction feedback for the described publicly-owned Cloud ServerThe multi-medium data of body, and described multi-medium data is stored.
Optionally, it is based on described program request operation information in described server, generate and send to described publicly-owned Cloud ServerBefore first download instruction and the second download instruction, methods described also includes:
Described server obtains the account information of described User logs in;
Based on described account information, determine the IP address of privately owned Cloud Server corresponding with described account information, so that instituteState the IP address based on described program request operation information and described privately owned Cloud Server for the server, generate described second download instruction.
Optionally, methods described also includes:
Described server sends synchronic command to described privately owned Cloud Server;
Based on described synchronic command, the first synchronous documents of storage in described server are synchronized to described privately owned cloud serviceDevice, and/or, the second synchronous documents of storage in described privately owned Cloud Server are synchronized in described server.
Optionally, methods described also includes:
Described server obtains the second multimedia multi-medium data taking the first storage device;
Described second multimedia multi-medium data is synchronized to the privately owned Cloud Server of described user by described server, andSend the shared instruction of the IP address including second server to described server, so that described privately owned Cloud Server is to described theTwo servers send the described second multimedia multi-medium data.
Optionally, receive described publicly-owned Cloud Server based on described in described first download instruction feedback in described serverAfter first multimedia multi-medium data, methods described also includes:
Described server plays described first multimedia by playback equipment.
On the other hand, the embodiment of the present invention provides a kind of server, including:
Processor, for obtaining a program request operation information, based on described program request operation information, generates and to described public cloudServer sends the first download instruction and the second download instruction, and receives described publicly-owned Cloud Server and be based on described first and download and refer toDescribed first multimedia multi-medium data of order feedback;Wherein, described program request operation information is used for instruction user by describedServer or the terminal unit being connected with described server carry out for the first multimedia program request operation;Described matchmaker more than firstThe multi-medium data of body is the data being stored in publicly-owned Cloud Server;Described first download instruction is used for described matchmaker more than firstThe multi-medium data of body downloads to described server by described publicly-owned Cloud Server, and described second download instruction is used for indicating describedPublicly-owned Cloud Server copies the described first multimedia multi-medium data in privately owned Cloud Server corresponding with described user to;
Memorizer, for storing described multi-medium data.
Optionally, described processor is additionally operable to:
It is based on described program request operation information in described server, generate and send the first download to described publicly-owned Cloud ServerBefore instruction and the second download instruction, obtain the account information of described User logs in;
Based on described account information, determine the IP address of privately owned Cloud Server corresponding with described account information, so that instituteState the IP address based on described program request operation information and described privately owned Cloud Server for the processor, generate described second download instruction.
Optionally, described processor is additionally operable to:
Send synchronic command to described privately owned Cloud Server;
Based on described synchronic command, the first synchronous documents of storage in described server are synchronized to described privately owned cloud serviceDevice, and/or, the second synchronous documents of storage in described privately owned Cloud Server are synchronized in described server.
Optionally, described processor is additionally operable to:
Obtain the second multimedia multi-medium data of the first storage device;
Described second multimedia multi-medium data is synchronized to the privately owned Cloud Server of described user, and to described serviceDevice sends the shared instruction of the IP address including second server, so that described privately owned Cloud Server is sent out to described second serverSend the described second multimedia multi-medium data
Optionally, described processor is additionally operable to:
Receive described publicly-owned Cloud Server based on described first download instruction feedback more than described first in described serverAfter the multi-medium data of media, described first multimedia is play by playback equipment.
In the embodiment of the present invention, server is obtaining a program request operation information, and this program request operation information is used for instruction userWhat the terminal unit be connected by server or with server was carried out operates for the first multimedia program request, and the first multimediaMulti-medium data be stored in publicly-owned Cloud Server, and then server can be generated and to public cloud based on program request operation informationServer sends for being referred to the first multimedia multi-medium data by the first download that publicly-owned Cloud Server downloads to serverOrder, and be used for indicating that publicly-owned Cloud Server copies the first multimedia multi-medium data to private clound clothes corresponding with userThe second download instruction in business device, therefore according to the first download instruction, server can obtain the first of public cloud server feedbackMultimedia multi-medium data, and multi-medium data is carried out storage to local, simultaneously as the second download instruction can indicate public affairsThere is Cloud Server to copy the first multimedia multi-medium data in privately owned Cloud Server to, therefore user passes through a program request and operatesMay be implemented in automatic download in local and privately owned Cloud Server for the first multimedia multi-medium data, and enter without userThe loaded down with trivial details manual operation of row is so that program request and synchronous effect are preferable.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present inventionIn accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment isThe a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the artThe every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
First the part term in the embodiment of the present invention is explained, in order to skilled artisan understands that.
1) server, may refer to respond service request, and carries out the equipment of data processing and transmission, and it is generally usedIn the local communication and network (as high in the clouds) between of realization.In the embodiment of the present invention, with server as digital media serverIllustrate as a example (Digital Media Server, DMS), the server not limited to this in certain embodiment of the present invention.DMSThere is acquisition, process, management and transmitting multimedia data, the such as work(such as text data, view data, voice data and video dataEnergy.
2) publicly-owned Cloud Server, refers to the Cloud Server that can use that third party provider provides the user, and it is netOpen on network, any with being conducted interviews to it by network per family.
3) privately owned Cloud Server, refers to enterprise or personal one's own Cloud Server, and server is not opened to the outside world,Only use for oneself intra-company people, be usually used in depositing the data that user is not intended to publish.
4) terminal unit, refers to directly be used by a user, and can set up, with server, the equipment being connected, and it can receiveFrom the operation of user, and export corresponding information and present to user.
Below, the network architecture embodiment of the present invention applied is introduced.
As shown in figure 1, the network architecture schematic diagram residing for DMS.
Wherein, with DMS as boundary, the network architecture can be divided into local part and network portion two parts.Local partDMS, terminal, playback equipment three part can be included, this three can be partly different physical equipments under same LAN, also may be usedIn any combination and be integrated in a physical equipment.
Network portion can include total Cloud Server, the offer private multimedia cloud being supplied to total multimedia cloud serviceThe privately owned Cloud Server of service.
Specifically to receive, the multi-medium data in DMS can come from exterior storage medium, such as USB flash disk, hard disk, or can alsoIt is other storage devices in local network it is also possible to carry out automatic network.Privately owned Cloud Server can be from publicly-owned Cloud ServerMiddle acquisition multi-medium data, and preserve the multi-medium data of acquisition.And, DMS can also obtain from public cloud and preserve many matchmakersVolume data, between DMS and privately owned Cloud Server also can synchronized multimedia data, the data flow in this network architecture is dashed linesShown.
With reference to Figure of description, technical scheme provided in an embodiment of the present invention is described in further detail.FollowingProcess of introducing is taking be applied to the network architecture shown in Fig. 1 as a example.
As shown in Fig. 2 the embodiment of the present invention provides a kind of free online multimedium method, the process of the method can describe such asUnder.
S11:Server obtain a program request operation information, program request operation information be used for instruction user pass through server or with clothesWhat the terminal unit that business device connects was carried out operates for the first multimedia program request;Wherein, the first multimedia multi-medium dataFor being stored in the data in publicly-owned Cloud Server;
S12:Server is based on program request operation information, generates and sends the first download instruction and second to publicly-owned Cloud ServerDownload instruction;Wherein, the first download instruction is used for for the first multimedia multi-medium data downloading to clothes by publicly-owned Cloud ServerBusiness device, the second download instruction is used for indicating that the first multimedia multi-medium data is copied to by publicly-owned Cloud Server corresponding with userPrivately owned Cloud Server in;
S13:Server receives the first multimedia multimedia number that publicly-owned Cloud Server is fed back based on the first download instructionAccording to, and multi-medium data is stored.
In the embodiment of the present invention, program request operation information can be that user is directed to produced by the first multimedia program request operationInformation.Such as user passes through terminal unit, the such as online request such as mobile phone, panel computer one video, then terminal is according to user'sProgram request operation can generate corresponding program request operation information.Or, program request operation information can also be user by serverThe program request carrying out operates corresponding information, and such as server directly carries out program request by the server of networking to multimedia.Certainly, ifServer and terminal are Same Physical equipment, then, once user is detected program request operation is carried out to it, you can think serverIt is obtained in that corresponding program request operation information.This program request operation information can need the multimedia messages of program request with instruction user, such asMultimedia names, type etc..
After server obtains program request operation information, at least one download instruction can be generated based on program request operation information,This at least one download instruction can include downloading the first multimedia multi-medium data for server from publicly-owned Cloud ServerTo the first local download instruction, and it is used for indicating that the first multimedia multi-medium data is copied to and works as by publicly-owned Cloud ServerThe second download instruction in the related privately owned Cloud Server of the account information of the login user of front server.
Wherein, the first download instruction can be the first multimedia multimedia letter according to indicated by program request operation informationCease, and the IP address of server itself is generated.Then publicly-owned Cloud Server refers in the first download receiving server transmissionAfter order, can go to inquire about the first multimedia multi-medium data in a network based on the multimedia messages in program request operation informationPosition, such as determine the corresponding URL of the first multimedia, and then can be by corresponding for URL matchmaker more than first based on the first download instructionThe multi-medium data of body is from the home server indicated by network-side downloads to IP address the first download instruction.
Server is in the multimedia multi-medium data of receive public cloud server feedback first, you can by this multimediaData is stored, and such as stores in exterior storage medium, this storage medium can be portable hard drive, read only memory (ROM,Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD, etc.,The embodiment of the present invention is not specifically limited to this.
Therefore, in the embodiment of the present invention, in on-demand process, the first download instruction of being generated by server, you can willUser needs the first multimedia multi-medium data of program request to be automatically downloaded to locally be stored, and is easy to user at any time localChecked, and without user again by being downloaded manually, downloading mode is more convenient.
Second download instruction can be that server operates according to the IP address of the corresponding privately owned Cloud Server of user and program requestInformation and generate.In actual applications, user can log in local server by corresponding user account, and then permissibleSend corresponding service request to server.For example, user can be entered by logging in the mobile phone terminal being connected with serverAnd pass through mobile phone and send video acquisition request to server, the request of this video acquisition can be exactly a program request being directed to this videoOperation, so that server provides corresponding video data for it.So, in user after user account login service device, clothesBusiness device can determine the IP address of privately owned Cloud Server corresponding with account information according to the account information of user, so that serverBased on the IP address of program request operation information and privately owned Cloud Server, generate the second download instruction.
After server sends the second download instruction to publicly-owned Cloud Server, publicly-owned Cloud Server can be based on the second downloadInstruct the corresponding URL address of the multimedia multimedia information inquiry of indicated first, and then the IP based on privately owned Cloud ServerAddress, by the first multimedia multi-medium data copy to the privately owned Cloud Server of active user in.
Therefore, in the embodiment of the present invention, in on-demand process, it is capable of the program request operation of program request operation based on userInformation generates corresponding download instruction, thus realizing dividing multimedia for first indicated by program request operation information multi-medium dataBe not automatically downloaded on local and privately owned Cloud Server, that is, pass through a program request and operate, you can realize on-demand content local andAutomatic synchronization on privately owned Cloud Server, efficiency is higher, contributes to the later stage and accesses on-demand content whenever and wherever possible.
For example, using the first Account Logon one music application in mobile phone, mobile phone can be connected user A with server, usesFamily carries out program request operation by terminal-pair song 1, and this program request operation information is sent to server by terminal, and server is receivingAfter this program request operation information, can song information based on the song 1 indicated by program request operation information, such as song title, singer etc.,Server can also obtain and determine privately owned Cloud Server corresponding to active user according to the current user account information logging in, that is,The current music application corresponding music Cloud Server logging in of user A, obtains the IP address of music Cloud Server.As a rule,User can log in spend by account in terminal unit and access the data applying corresponding high in the clouds.And then, server is permissibleIP address based on privately owned Cloud Server and IP address generate the second download instruction, and the IP address according to itself and songBent 1 song information generates the first download instruction, and is sent to public cloud server.Thus server can receive from publicly-ownedThe multi-medium data of the song 1 downloaded in cloud, and store it in local, in itself or exterior storage medium.Meanwhile, it is based onThe second download instruction that server sends can promote publicly-owned Cloud Server also to copy song 1 to user A currently used accountIn the music Cloud Server of music application logging in, therefore by user A, program request of song 1 is operated, you can automatically downloadTo local and privately owned Cloud Server, that is, be equivalent to the data syn-chronization achieving song 1 between local and privately owned Cloud Server, and noUser is needed to carry out data syn-chronization operation for song 1 again in the later stage.
After server obtains the first multimedia, by corresponding playback equipment, the first multimedia can be played out.Wherein, playback equipment can be independent equipment, then the first multimedia multi-medium data obtaining can be sent to by serverPlayback equipment plays out, and such as song 1 is sent to stereo set and plays out.So, if the three of local part parts areDifferent physical equipments under same LAN, such as song 1 can preserve and be stored in server, and user passes through terminal unit (such asMobile phone) control the broadcasting of song 1, therefore realize will the preservation of multi-medium data, control and play separated from one another, therefore have strongerScheme autgmentability.
Certainly, if the three of local part part combination in any being integrated in a physical equipment, such as playback equipment canWith the functional module being provided in server, then server is after obtaining song 1, you can sung in antiphonal style by the functional module of itselfBent 1 plays out.
Optionally, due to being also possible to be stored with compared with the individuation data of multi-user in server, the photo of such as user, fromThe music of system, proprietary documents etc., user may need by its from server sync to privately owned Cloud Server accordingly, or, useFamily may also need to the data syn-chronization in privately owned Cloud Server to server.Therefore, when user needs to carry out data syn-chronization,Synchronic command can be sent to privately owned Cloud Server by server, when sending synchronic command, can indicate and will serviceData syn-chronization in device to privately owned Cloud Server, and/or, by the data syn-chronization in privately owned Cloud Server in server.
For example, if in server, the first synchronous documents of storage are the short-sighted frequency that user has just made, in privately owned Cloud ServerSecond synchronous documents of storage are downloaded for user and be there is the image a in high in the clouds early stage, not this image a in server.User isThis short-sighted frequency can be preserved for a long time, may will synchronize in privately owned Cloud Server, then now, synchronic command there exist a possible indication thatSynchronization is by the synchronization of server to privately owned Cloud Server, will upload to privately owned Cloud Server by short-sighted frequency, such as the individual of userCloud disk.Or, if user also need to by server end use image a, synchronic command can indicate from privately owned Cloud Server toThe synchronization of home server, that is, the synchronic command in the embodiment of the present invention both can be unidirectional synchronization can also be two-way withStep, those skilled in the art can be configured according to practical situation, and the embodiment of the present invention is not specifically limited to this.
In actual applications, if server receives the second multimedia from storage device, such as user passes through to moveDisk copy to the multi-medium data of server, then user can by by synchronic command by the second multimedia multi-medium dataBy server sync to privately owned Cloud Server.Meanwhile, if user wishes to share to the second multimedia on second server,Such as second server is probably the clothes corresponding to terminal unit needing in user's later stage to be used during the second multimedia usingBusiness device, then server can send the shared instruction of the IP address that include second server to server, so that privately owned cloud serviceDevice sends the second multimedia multi-medium data to second server.
Certainly, in actual applications, if user is logged in different DMS, pass through privately owned Cloud Server, also can be fromMulti-medium data required for obtaining in privately owned Cloud Server, that is, user can be in the different privately owned Cloud Servers of DMS end accessIn multi-medium data, therefore acquisition modes are more convenient, are easy to the content of multimedia of user's play-on-demand whenever and wherever possible.
For example, as shown in figure 3, user M in place A by terminal unit 1 requesting songs 1 being connected with DMS1, then publicly-ownedCorresponding for song 1 multi-medium data is separately sent to local DMS1 and use according to the download instruction that DMS1 sends by Cloud ServerIn the corresponding privately owned Cloud Server of family M, such as private multimedia cloud, the broadcasting that user M can be at the A of place by being connected with DMS1Device plays song 1.Further, if the position change of user M is place B, and the terminal by being connected with DMS2 at the B of placeEquipment is logged in using account, wherein, there is not song 1 in DMS2, then user M after login, can be visited based on its account informationAsk privately owned Cloud Server, and the song 1 in privately owned Cloud Server is synchronized to DMS2, in figure dotted arrow can represent user MControlling stream, block arrows can represent data flow.
Therefore, in the embodiment of the present invention, due to the presence of cloud service, facilitate the synchronization of the multi-medium data of different locationAnd distribution, public cloud can provide multi-medium data original in a large number, and user passes through to obtain the many of program request from publicly-owned Cloud ServerMedia data, and by its locally downloading DMS and privately owned Cloud Server simultaneously, privately owned Cloud Server have preferably privacy andSafety, the DMS that user can also be reached by diverse geographic location accesses privately owned Cloud Server, to obtain the multimedia of program requestData, thus solve regional restriction.Therefore operated by a program request, user also can obtain whenever and wherever possible in the later stage and makeWith the content of multimedia of institute's program request, motility is larger.
As shown in figure 4, the embodiment of the present invention provides a kind of server, for executing the method shown in Fig. 2, this server bagInclude processor 10 and memorizer 20.
Processor 10, for obtaining a program request operation information, based on described program request operation information, generates and to described publicly-ownedCloud Server sends the first download instruction and the second download instruction, and receives described publicly-owned Cloud Server based on described first downloadDescribed first multimedia multi-medium data of instruction feedback;Wherein, described program request operation information is used for instruction user and passes through instituteState server or the terminal unit that is connected with described server is carried out for the first multimedia program request operation;More than described firstThe multi-medium data of media is the data being stored in publicly-owned Cloud Server;Described first download instruction is used for more than described firstThe multi-medium data of media downloads to described server by described publicly-owned Cloud Server, and described second download instruction is used for indicating instituteState publicly-owned Cloud Server and copy the described first multimedia multi-medium data to privately owned Cloud Server corresponding with described userIn.
Memorizer 20, for storing described multi-medium data.In actual applications, memorizer can be depositing of being previously mentionedStorage media, is not repeating herein.
Optionally, processor 10 can be also used for:
It is based on described program request operation information in described server, generate and send the first download to described publicly-owned Cloud ServerBefore instruction and the second download instruction, obtain the account information of described User logs in;
Based on described account information, determine the IP address of privately owned Cloud Server corresponding with described account information, so that instituteState the IP address based on described program request operation information and described privately owned Cloud Server for the processor, generate described second download instruction.
Optionally, processor 10 is additionally operable to:Send synchronic command to described privately owned Cloud Server, referred to based on described synchronizationOrder, the first synchronous documents of storage in described server are synchronized to described privately owned Cloud Server, and/or, by described private cloundIn server, the second synchronous documents of storage are synchronized in described server.
Optionally, processor 10 is additionally operable to:Obtain the second multimedia multi-medium data of the first storage device;Will be describedSecond multimedia multi-medium data is synchronized to the privately owned Cloud Server of described user, and includes second to the transmission of described serverThe shared instruction of the IP address of server, so that described privately owned Cloud Server sends described matchmaker more than second to described second serverThe multi-medium data of body.
Optionally, processor 10 is additionally operable to receive described publicly-owned Cloud Server based on described first download in described serverAfter described first multimedia multi-medium data of instruction feedback, described first multimedia is play by playback equipment.
The modules of the server in the embodiment of the present invention may be configured to execute the free online multimedium side shown in Fig. 2Method, because the server in the embodiment of the present invention is similar to the principle of the method solve problem that the embodiment shown in Fig. 2 is provided,Therefore in the embodiment of the present invention, the enforcement of server may refer to the enforcement of the method that the embodiment shown in Fig. 2 is provided, hereRepeat no more.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functionThe division of module is illustrated, and in practical application, can distribute above-mentioned functions by different function moulds as desiredBlock completes, and the internal structure of device will be divided into different functional modules, to complete all or part of work(described aboveEnergy.
It should be understood that disclosed system in several embodiments provided by the present invention, apparatus and method are permissibleRealize by another way.For example, device embodiment described above is only schematically, for example, described module orThe division of unit, only a kind of division of logic function, actual can have other dividing mode when realizing, for example multiple unitsOr assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.Another, instituteDisplay or the coupling each other discussing or direct-coupling or communication connection can be by some interfaces, device or unitINDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unitThe part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multipleOn NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the application it is also possible toIt is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated listUnit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If described integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unitWhen, can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantiallyThe part in other words prior art being contributed or all or part of this technical scheme can be in the form of software productsEmbody, this computer software product is stored in a storage medium, including some instructions with so that a computerDescribed in equipment (can be personal computer, server, or network equipment etc.) or each embodiment of computing device the applicationThe all or part of step of method.
The above, above example is only in order to be described in detail to the technical scheme of the application, but above enforcementThe explanation of example is only intended to help and understands the method for the present invention and its core concept, should not be construed as limitation of the present invention.ThisThose skilled in the art the invention discloses technical scope in, the change or replacement that can readily occur in, all should coverWithin protection scope of the present invention.