Specific embodiment
Fig. 1 is the flow chart of multi-medium data edit methods embodiment one of the present invention, as shown in Figure 1, this method comprises:
Step 101, editing machine receive the multi-medium data edit instruction that user sends, the multi-medium data edit instruction
In include multi-medium data to be edited and the user identification information;
Step 102, the editing machine obtain the user from local Cascading Style Sheet CSS according to the identification information
Preference patterns information, the preference patterns information describes the user to different type in the multi-medium data to be edited
The pattern setting information of data;
Step 103, the editing machine edit the multi-medium data to be edited according to the preference patterns information.
The editorial staff that the method provided in this embodiment is particularly suitable for multi-medium data uploads multi-medium data
Editing and processing before being stored into server downloads multi-medium data progress but it is also suitable for the personnel of checking from server
Editing and processing is checked to what multi-medium data carried out when checking.
Editing machine described in the present embodiment refers in particular to the full media editor based on IE kernel.It will first in this implementation
Explanation is introduced with the first usable condition, at this point, the user refers to the editorial staff of multi-medium data.When editorial staff needs
The multi-medium data to be manually entered to it or replicate from the carriers such as notepad is edited, after editing
Multi-medium data be uploaded in server, so as to check by when shown when, the editing machine receive editorial staff hair
The multi-medium data edit instruction sent, wherein include multi-medium data to be edited and editor in the multi-medium data edit instruction
The identification information of personnel.Specifically, when which is, for example, that editorial staff has input multi-medium data
Triggering or editorial staff will trigger from replicating in notepad when the multi-medium data come pastes into editing machine.It should
Multi-medium data is for example including a variety of different types of data such as text, picture, audio, video, table.The mark of above-mentioned user
The identification information of editorial staff in information, that is, the present embodiment, such as the registration user name for the user.It is understood that this
Multi-medium data in embodiment is also possible to either data only comprising a certain seed type in the example above comprising upper
State a plurality of types of data in citing.
In the present embodiment, in advance by the relevant information of the personal editor's hobby of user, that is, editorial staff, i.e. preference patterns are believed
Breath is stored in the Cascading Style Sheet (Cascading Style Sheet, hereinafter referred to as CSS) of editing machine local.Wherein, this is inclined
Good style information describes the pattern setting information that the user treats different types of data in editing multimedia data, such as the volume
Personnel's preference is collected using the Song typeface, the text of No. four pattern editor's texts, caption texts are arranged using black matrix, No. three patterns in preference
Deng.To, after editing machine receives multi-medium data edit instruction, according to the identification information for the user for including in the instruction from
The preference patterns information of the user is obtained in CSS, is edited with treating editing multimedia data according to the preference patterns information.
In turn, after personnel to be edited edit, editorial staff can be edited the multi-medium data hair finished by editing machine
It send and is saved into server.It is worth noting that being sent in the multi-medium data saved in server in the present embodiment
And do not include editorial staff preference patterns information, such as by multi-medium data with certain default form be uploaded in server into
Row saves.
In the present embodiment, explanation is secondly introduced with above-mentioned second of usable condition, at this point, the user refers to multimedia
Data check personnel.In general, personnel are checked and need the multimedia number that downloading is edited by editorial staff from server
The inspection such as legitimacy is carried out accordingly.It is understood that checking personnel in the review process for carrying out multi-medium data
Have itself checks habit, and the pattern of multi-medium data to be checked can be arranged according to the preference of itself, finish checking
Multi-medium data is saved in being uploaded to server afterwards.Therefore, with class the case where editorial staff's editing multimedia data
Seemingly, when above-mentioned editing machine is positioned at the editing machine for checking personnel side, this is stored in advance in the local CSS of the editing machine and checks
The preference patterns information of personnel, thus, when the personnel of checking have downloaded certain multi-medium data from server to be needed to be reviewed,
This is checked personnel and sends above-mentioned multi-medium data edit instruction, so that editing machine is according to the mark for checking personnel for including in the instruction
Know information and obtain corresponding preference patterns information from CSS, with the preference patterns information function in the multi-medium data downloaded to
It is edited, is checked with carrying out legitimacy etc., and after checking, service will be uploaded to again by the multi-medium data checked
In device.It is worth noting that not including the preference for the personnel of checking by the multi-medium data being uploaded in server after checking yet
Style information.
In the present embodiment, by the way that the personal preference patterns information of user to be stored in advance in CSS, when receiving user
When the multi-medium data edit instruction of transmission, the preference patterns information of the user is obtained from CSS, and believe according to the preference patterns
Breath edits multi-medium data to be edited.No matter the user is editorial staff, personnel are still checked, due to by the inclined of its own
Good style information is independently stored in advance, so that it is corresponding to load acquisition automatically according to user identifier when to multi-medium data editor
Preference patterns information function in multi-medium data to be edited, without manual setting repeatedly, improve multi-medium data
Editing and processing efficiency.
Fig. 2 is the flow chart of multi-medium data edit methods embodiment two of the present invention, as shown in Fig. 2, this method comprises:
Step 201, editing machine receive the multi-medium data edit instruction that user sends, the multi-medium data edit instruction
In include multi-medium data to be edited and the user identification information;
Step 202, the editing machine authenticate the operating right of the user according to the identification information of the user;
In the present embodiment, optionally, when the user is above-mentioned editorial staff, editing machine is compiled according to multi-medium data
The identification information for the user for including in volume instruction carries out the authentication of operating right to the editorial staff, such as are as follows: editing machine is to clothes
Be engaged in device send include the identification information authentication request so that server is after receiving the authentication request, according to local preservation
The operating right of each user determine whether having for the editorial staff treats the operating right of editing multimedia data.
It is further alternative, when the user is above-mentioned when checking personnel, when the personnel that check need under in server
Load is when obtaining the multi-medium data wait check, the personnel that this can be checked whether have download the permission of corresponding multi-medium data into
Row authentication at this point, not executing step 202, but is such as checked personnel and is sent to server comprising multi-medium data to be checked
Identification information and this check the identification information of personnel downloading request so that server according to the downloading request to the taster
Member is authenticated, wherein the identification information of the multi-medium data is, for example, title or keyword of multi-medium data etc..
Step 203, the editing machine obtain the user from local Cascading Style Sheet CSS according to the identification information
Preference patterns information;
Whether step 204, the editing machine judge in the preference patterns information not comprising the multimedia number to be edited
According to the style information of middle some types data, if so, 205 are thened follow the steps, it is no to then follow the steps 206;
Step 205, the editing machine determine some types in the multi-medium data to be edited according to the default style information
The style information of data, the default style information have the priority lower than the preference patterns information;
Step 206, the editing machine obtain pre-stored fixed style information, the priority of the fixed style information
Higher than the priority of the preference patterns information;
Step 207, the editing machine are according to the preference patterns information, the default preferences style information and the fixation
Style information edits the multi-medium data to be edited, generates the multimedia text of hypertext markup language html format
Part;
The multimedia file of the html format is uploaded to server by step 208, the editing machine, wherein described
It include the fixed style information, the preference patterns information not comprising the user in the multimedia file of html format.
Further, in this embodiment the preference patterns information of the user stored in the CSS of editing machine local is likely to not
The various types of data for including can be completely covered in multi-medium data to be edited, for example only include to text in preference patterns information
The pattern setting information of word, video, without the style information of picture, when but including picture category in multi-medium data to be edited
The data of type.At this point, whether editing machine need to judge in preference patterns information not comprising some types in multi-medium data to be edited
The style information of data, if so, editing machine determines the multi-medium data to be edited according to pre-set the default style information
In some types data style information, i.e. the style information of picture in the example above, wherein the default style information tool
There is the priority lower than preference patterns information.If it is not, then editing machine obtains pre-stored fixed style information, wherein fixed sample
The priority of formula information is higher than the priority of the preference patterns information.In practical applications, often to certain multimedia numbers
According to pattern have fixed requirement, for example the text in title is required such as to show with black matrix, No. three patterns, at this point, by right
These require informations for fixing pattern of multi-medium data pre-save.It is worth noting that preferential described in the present embodiment
Grade, for same type of multi-medium data, such as caption text, only it is acted on the style information of high priority,
I.e. if regulation caption text is in fixed style information with black matrix, No. three displays, and mark is set in the preference patterns information of user
Text is inscribed with the Song typeface, No. four displays, then for caption text, it will be with the setting of the fixation style information of high priority.Likewise,
If preference patterns information has overlapping effective object with the default style information in practical applications, will be believed using preference patterns
Breath.
After editing machine obtains above-mentioned preference patterns information, fixed style information and the default style information, according to these letters
Breath is treated editing multimedia data and is edited, generation hypertext markup language (Hypertext Markup Language, with
Lower abbreviation HTML) format multimedia file.Due to fixed style information, preference patterns information and the default style information have according to
The secondary priority orders successively decreased, therefore, the style information of high priority will cover the style information of low priority, i.e., for same
The data of type are only acted on the style information of high priority.In the present embodiment, editing machine is with html format to multi-medium data
It is edited, to generate the multimedia file of html format, and then the multimedia file of the html format is uploaded to clothes
Business device, wherein include the fixed style information, the preference not comprising the user in the multimedia file of the html format
Style information.That is, being uploaded in the multi-medium data in server other than the style information of fixed setting, do not include
The preference patterns information of any user.
In the present embodiment, by the way that the personal preference patterns information of user to be stored in advance in CSS, when receiving user
When the multi-medium data edit instruction of transmission, the preference patterns information of the user is obtained from CSS, and believe according to the preference patterns
Breath edits multi-medium data to be edited.No matter the user is editorial staff, personnel are still checked, due to by the inclined of its own
Good style information is independently stored in advance, so that it is corresponding to load acquisition automatically according to user identifier when to multi-medium data editor
Preference patterns information function in multi-medium data to be edited, without manual setting repeatedly, improve multi-medium data
Editing and processing efficiency.In addition, being protected by the priority that fixed style information, preference patterns information and the default style information is arranged
The accuracy of the editing and processing of multi-medium data is demonstrate,proved.
Fig. 3 is the schematic diagram of multi-medium data editing machine embodiment one of the present invention, as shown in figure 3, the editing machine includes:
Receiving module 11, for receiving the multi-medium data edit instruction of user's transmission, the multi-medium data editor refers to
It include the identification information of multi-medium data to be edited and the user in order;
Module 12 is obtained, for obtaining the user's from local Cascading Style Sheet CSS according to the identification information
Preference patterns information, the preference patterns information describe the user to different type number in the multi-medium data to be edited
According to pattern setting information;
Editor module 13, for being edited according to the preference patterns information to the multi-medium data to be edited.
The editing machine of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 1, realization principle and
Technical effect is similar, and details are not described herein again.
Fig. 4 is the schematic diagram of multi-medium data editing machine embodiment two of the present invention, as shown in figure 4, provided in this embodiment
On the basis of editing machine embodiment shown in Fig. 3, further includes:
Sending module 21, for edited multi-medium data to be uploaded to server, wherein be uploaded to the server
In the edited multi-medium data in do not include the user preference patterns information.
Further, the acquisition module 12, is also used to:
Pre-stored fixed style information is obtained, the priority of the fixed style information is believed higher than the preference patterns
The priority of breath;
Correspondingly, the editor module 13, is used for:
The multi-medium data to be edited is edited according to the preference patterns information and the fixed style information,
Generate the multimedia file of hypertext markup language html format;
The sending module 21, is used for:
The multimedia file of the html format is uploaded to server, wherein the multimedia file of the html format
In include the fixed style information.
Further, the editing machine, further includes:
Judgment module 22, for whether judging in the preference patterns information not comprising the editing multimedia data middle part
The style information of classifying type data;
Determining module 23, if for the style information not comprising some types data in the multi-medium data to be edited,
The style information of some types data in the multi-medium data to be edited, the default sample are then determined according to the default style information
Formula information has the priority lower than the preference patterns information;
Correspondingly, the editor module 13, is used for:
The multi-medium data to be edited is edited according to the preference patterns information and the default style information.
Further, the editing machine, further includes:
Authentication module 24, for being authenticated according to the identification information of the user to the operating right of the user.
The editing machine of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 2, realization principle and
Technical effect is similar, and details are not described herein again.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.