CN108733731A - Convenient method, device and the electronic equipment of multimedia resource in a kind of change document - Google Patents

Convenient method, device and the electronic equipment of multimedia resource in a kind of change document Download PDF

Info

Publication number
CN108733731A
CN108733731A CN201710276868.8A CN201710276868A CN108733731A CN 108733731 A CN108733731 A CN 108733731A CN 201710276868 A CN201710276868 A CN 201710276868A CN 108733731 A CN108733731 A CN 108733731A
Authority
CN
China
Prior art keywords
multimedia resource
document
menu
multimedia
former
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.)
Granted
Application number
CN201710276868.8A
Other languages
Chinese (zh)
Other versions
CN108733731B (en
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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Guangzhou Jinshan Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Jinshan Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Jinshan Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201710276868.8A priority Critical patent/CN108733731B/en
Publication of CN108733731A publication Critical patent/CN108733731A/en
Application granted granted Critical
Publication of CN108733731B publication Critical patent/CN108733731B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of convenient method, device and electronic equipment for changing multimedia resource in document is announced herein, the method includes:Receive the selected operation to changing multimedia resource object in document;When the selected operation has selected all identical multimedia resources in document, the former multimedia resource data are replaced with into new multimedia resource data;When the selected operation has selected the identical multimedia resource of some types in document, then the path indexing for replacing the identical multimedia resource of the selected some types is the path indexing of new multimedia resource data.The embodiment of the present invention realizes the resource of same type, easily change including sound, background music, video, picture etc., only needing to operate can once be modified for the multimedia resource of particular range or all ranges, operation facility, fast, and leakage will not be caused to change, effectively increase office efficiency.

Description

Convenient method, device and the electronic equipment of multimedia resource in a kind of change document
Technical field
This application involves field of communication technology, the convenient method of multimedia resource in espespecially a kind of change document, device and Electronic equipment.
Background technology
With the development of technology, the function of various documents becomes more and more, use demand of the user to various documents It is more and more.PPT PowerPoints are more and more applied in the working and learning of people.User can not only throw It is demonstrated on shadow instrument or computer, PPT PowerPoints can also be printed, other publicity materials are made, to apply Into wider field.PPT PowerPoints can also be utilized to show that PPT is drilled in internet teleconferencing or to spectators Show manuscript.Every page in PPT PowerPoints is called lantern slide, and every lantern slide is mutual indepedent in PPT PowerPoints.User Multiple resources would generally be imported in lantern slide, such as word, table, also typically include the multimedia resources such as picture.
Include often the same multimedia resource (sound, background music, video, picture) in a PowerPoint Multiple copies appear in different positions, for example, identical picture appears in different lantern slides, most common situation is more It opens lantern slide and all employs same pictures as background picture.Shown in referring to Fig.1, the demonstration changed text is needed for the prior art Original text schematic diagram.It includes same pictures to have the lantern slides of page five in PowerPoint shown in Fig. 1.If in all lantern slides The picture be revised as an other pictures, existing technology, which needs to be switched in all lantern slides, selects the picture, then into Row change.The number that picture occurs is more, and the operation of change is more, and changes the problem of operation is easy to cause omission.It is right In video, current technology there is a problem of same.And for sound and background music, it can be changed there is presently no entrance, Namely user must first delete original, be inserted into new, do so and not only there is a problem of mentioned above, and can also lead The attribute set originally is caused to lose, such as:Volume, plays hidden icons at loop play.
With reference to shown in Fig. 2, Fig. 2 is the effect diagram to the picture modification in PowerPoint using the prior art.As it can be seen that Existing technology, which needs to be switched in all lantern slides, selects the picture, is then modified.The prior art as can be seen from Figure 2 It is effective just for the object picture chosen to change picture, for other lantern slide draw above piece object invalidations.If changed The lantern slide of page four draw above piece next, needs to choose change one by one.
Therefore, media resource in prior art document changes method, has the shortcomings that cumbersome, and is easy to cause The problem of leakage changes.How to overcome the above problem, becomes technical staff's problem needed to be considered.
Invention content
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of convenient sides of media resource in change document Method, device and electronic equipment.
In order to reach the object of the invention, an embodiment of the present invention provides a kind of convenient sides of media resource in change document Method, including:
Receive the selected operation to changing multimedia resource object in document;
When the selected operation has selected all identical multimedia resources in document, by the former multimedia resource data Replace with new multimedia resource data;When it is described it is selected operation have selected the identical multimedia resource of some types in document, then The path indexing for replacing the identical multimedia resource of the selected some types is the path indexing of new multimedia resource data.
In embodiments of the present invention, when it is described it is selected operation have selected the identical multimedia resource of some types in document, The method further includes:
Judge whether the path indexing of also multimedia resource object using former multimedia resource, when determining no more matchmakers Body resource object is deleted former multimedia resource data using the path indexing of former multimedia resource.
In embodiments of the present invention, the method further includes:
It has been completed when determining replacement operation, display reminding information.
In embodiments of the present invention, the selected operation received to changing multimedia resource object in document, including:
It is provided by man-machine interactive interface and selectes menu swift to operate, received user and select menu swift to operate for described The selection instruction of input.
It is in embodiments of the present invention, described to receive selection instruction of the user for the selected menu input swift to operate, Including:Receive click commands.
In order to reach the object of the invention, the embodiment of the present invention additionally provides a kind of dress for changing multimedia resource in document It sets, including:
Interface module, for receiving the selected operation to changing multimedia resource object in document;
Processing module has selected all identical multimedia resources in document, by the change multimedia resource for working as The corresponding former multimedia resource data of object replace with new multimedia resource data.
In embodiments of the present invention, described device further includes:
Reminding module has been completed, display reminding information for that ought determine replacement operation.
In embodiments of the present invention, the interface module includes:
Menu provides submodule, and menu swift to operate, the shortcut menu are selected for being provided by man-machine interactive interface For selected all identical multimedia resource;
Command reception submodule, the selection instruction for receiving user for the selected menu input swift to operate.
In embodiments of the present invention, it is defeated for the selected menu swift to operate to receive user for described instruction receiving submodule The selection instruction entered, including:Receive click commands.
In order to reach the object of the invention, the embodiment of the present invention additionally provides a kind of dress for changing multimedia resource in document It sets, including:
Interface module, for receiving the selected operation to changing resource object in document;
First processing module has selected the identical multimedia resource of some types in document for working as the selected operation, The path indexing for then replacing the identical former multimedia resource of the selected some types is the path of new multimedia resource data Index.
In embodiments of the present invention, described device further includes:
Second processing module, the path indexing for judging whether also resource object using former multimedia resource, when sentencing The path indexing to break to no resource object using former multimedia resource, former multimedia resource data are deleted.
In embodiments of the present invention, described device further includes:
Reminding module has been completed, display reminding information for that ought determine replacement operation.
In embodiments of the present invention, the interface module includes:
Menu provides submodule, and menu swift to operate, the shortcut menu are selected for being provided by man-machine interactive interface For selected part multimedia resource;
Command reception submodule, the selection instruction for receiving user for the selected menu input swift to operate.
In embodiments of the present invention, it is defeated for the selected menu swift to operate to receive user for described instruction receiving submodule The selection instruction entered, including:Receive click commands.
In order to reach the object of the invention, the embodiment of the present invention additionally provides a kind of electronic equipment, including:Processor and storage Device, the memory are stored with computer executable instructions, real when the computer executable instructions are executed by the processor Now following method:
Receive the selected operation to changing multimedia resource object in document;
When the selected operation has selected all identical multimedia resources in document, by the former multimedia resource data Replace with new multimedia resource data;When it is described it is selected operation have selected the identical multimedia resource of some types in document, then The path indexing for replacing the identical multimedia resource of the selected some types is the path indexing of new multimedia resource data.
An embodiment of the present invention provides it is a kind of change document in the more resources of media convenient method, device and electronic equipment, By receiving the selected operation to changing resource object, when the selected operation has selected all identical media moneys in document The former media resource data is replaced with new media resource data by source;When the selected operation has selected part matchmaker in document Body resource, then the path indexing for replacing the selected part of media resource is the path indexing of new media resource data.This hair Bright embodiment has the characteristics of easy operation, it is seen then that the embodiment of the present invention realizes same asset, and (sound, regards background music Frequently, picture) easily change, it is only necessary to operation once can for particular range or all ranges multimedia resource into Row change, operation facility fast, and will not cause leakage to change, effectively increase office efficiency.The embodiment of the present invention avoided More troublesome operations improves operating efficiency to simplify operating process, improves the usage experience of user, improves use Family satisfaction.
Description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is that the prior art needs the PowerPoint schematic diagram changed.
Fig. 2 is the effect diagram to the picture modification in PowerPoint using the prior art.
Fig. 3 is the flow signal of the convenient method of multimedia resource in the change document that first embodiment of the invention provides Figure.
Fig. 4 is the flow signal of the convenient method of multimedia resource in the change document that second embodiment of the invention provides Figure.
Fig. 5 is the apparatus structure schematic diagram of multimedia resource in the change document that third embodiment of the invention provides.
Fig. 6 is the apparatus structure schematic diagram of multimedia resource in the change document that fourth embodiment of the invention provides.
Fig. 7 is the effect diagram using multimedia resource in the method change document of first embodiment of the invention.
Fig. 8 is the effect diagram using multimedia resource in the method change document of second embodiment of the invention.
Fig. 9 is the structural schematic diagram for the electronic equipment that fifth embodiment of the invention provides.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The each embodiment of the description present invention with reference to the drawings.In subsequent description, using for indicating element Such as suffix of " module ", " component " or " unit " is only for being conducive to the explanation of the present invention, and there is no specific meanings for itself Justice.Therefore, " module " can be used mixedly with " component ".
Embodiment described below is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, all other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Term "and/or" used herein is only a kind of describing mode for the incidence relation for describing affiliated partner, should Kind describing mode indicates that affiliated partner may exist three kinds of relationships, for example, when the description using " A and/or B " in text, it can be with table Show:One, individualism A;Two, A and B are existed simultaneously;Three, individualism B;As it can be seen that co-existing in three kinds of situations.
In the application, electronic equipment can be various terminal equipment, including mobile terminal and fixed terminal.Mobile terminal can To implement in a variety of manners.For example, may include such as mobile phone, smart phone, laptop, Digital Broadcasting Receiver The movement of device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), navigation device etc. Terminal, and such as number TV, desktop computer etc. fixed terminal.
Embodiment one:
With reference to shown in Fig. 3, the convenient method of multimedia resource in the change document provided for first embodiment of the invention Flow diagram.As shown in figure 3, in the present embodiment, the convenient method of multimedia resource in the change document, including:
Step 101, the selected operation to changing multimedia resource object in document is received;
In the present embodiment, described pair change resource object selected operation be:It has selected all identical more in document Media resource.
Step 102, when having selected all identical multimedia resources in document, by the corresponding original of the change resource object Multimedia resource data replace with new multimedia resource data.
In the present embodiment, the selected operation to changing resource object is received, can be carried out in any terminal device.It can be with Man-machine interactive interface is provided by terminal device, selected behaviour of the user to change resource object is received by the man-machine interactive interface Make.
In some implementations, the selected operation received from terminal device may include:Receive user's input Selection instruction;In practical application, user selects the object to be edited, terminal in the user interface that terminal device screen is presented Equipment receives selection instruction input by user and identifies the object to be edited, wherein the selection instruction can be click commands Deng.
In practical application, click commands apply in general to can by clicking the object that can choose, such as picture, The objects such as text box, chart, can be by clicking once or twice or clicking designated position come selected object.If input Be click commands, then after terminal device receives the click commands, identify the object at institute's click location.
And in embodiments of the present invention, it can be to the selected operation setting shortcut of change resource object, i.e., in user After a media multimedia resource having been selected by click commands, in user interface presentation menu, such as " selection is all ", and After user is received to the clicking operation of " selection is all ", all identical multimedia resources are identified.It can also be directly in user Menu, such as " selection is all " are presented in interface, and after receiving user to the clicking operation of " selection is all ", identification is all identical Multimedia resource.
In this way, receiving selection instruction input by user, for example the operation of shortcut menu is clicked, it identifies in document and owns Identical multimedia resource has the characteristics that easy to operate.Excessive repetitive operation is avoided, to simplify operating process, Improve operating efficiency.
The identical multimedia resource refers to the multimedia resource that there is identical data to mark, i.e. multimedia resource can To be identified according to data markers.
In the present embodiment, the document includes text data and multi-medium data.The text data refers to by word The computer data constituted is accorded with, includes the English stored in a manner of ASCII character, number, specific information (such as carriage return, line feed information Deng) data or the character data that is stored in a manner of computer internal code.The text data does not include in addition to significant character information Any multimedia messages, such as sound, animation, image and video information.
The multi-medium data refers to the data for including multimedia messages, as comprising sound, animation, picture and video One or more information.And in the present embodiment, it is described receive in document change resource object selected operation, in particular to The operation of selected multimedia object.
Wherein, image data can directly copy into a certain page of PPT files, and work as has several phases in same PPT files With picture when, the first width picture refers to initial data, cause initial data be inserted into document be the first width picture insertion draw It rises.And the mode that other pictures are passage path index provides, and the original is shown in display by the path indexing Beginning multi-medium data.
As it can be seen that in the present embodiment, identical multimedia resource is disposably changed in order to realize, consider in data Layer to resource It is replaced, because the same multimedia resource occurs the copy of a display in different places, actually has in data Layer A data, it is only necessary to this part of data be substituted and so just complete all places for using this resource and change.Pass through New resource is added in data Layer, all places for using former resource are then changed to new resource, finally former resource It deletes.
In the present embodiment, as an implementation, the method further includes:
Step 103, it has completed when determining replacement operation, display reminding information.
The operation of user, only simply prompt user's replacement operation is prompted to complete in this way, to notify that user is related The state status of terminal device work, does not need to user and does any processing.
Certainly, exemplary only explanation herein in practical application, can carry out selection interface a variety of settings, and User can also carry out a variety of selection operations according to selection interface, and better man-machine interaction experience may be implemented.
It should be noted that the executive agent of 101~step 103 of above-mentioned steps can be a kind of device, which can be with It is to be located locally the application of equipment, or can is the plug-in unit being located locally in the application of equipment or Software Development Kit Functional units such as (Software Development Kit, SDK), the embodiment of the present invention is to this without being particularly limited to.It is described Using the application program (native App) that can be mounted in equipment, or it can also be one of the browser in equipment Web page program (web App), the embodiment of the present invention is to this without limiting.
Embodiment two:
With reference to shown in Fig. 4, the stream of the convenient method of media resource in the change document provided for second embodiment of the invention Journey schematic diagram.As shown in figure 4, in the present embodiment, the convenient method of media resource in the change document, including:
Step 201, the selected operation to changing multimedia resource object in document is received;
In the present embodiment, described pair change resource object selected operation be:It is identical to have selected some types in document Multimedia resource.
In embodiments of the present invention, the identical multimedia resource of some types in the document can be identical more matchmakers Body resource, for example be identical picture or identical audio.Alternatively, it can also be different media resource, for example, it is different Picture, or but selection multimedia resource type have to identical or be all picture, be all audio, video, so It can realize and the unified of multi-medium data is replaced.
Step 202, when it is described it is selected operation have selected part multimedia resource in document, then replace the selected part The path indexing of former multimedia resource is the path indexing of new multimedia resource data.
In the present embodiment, the method further includes:
Step 203, judge whether that also resource object is not provided using the path indexing of former multimedia resource when determining Source object is deleted former multimedia resource data using the path indexing of former multimedia resource.
In the present embodiment, the selected operation to changing resource object is received, can be carried out in any terminal device.It can be with Man-machine interactive interface is provided by terminal device, selected behaviour of the user to change resource object is received by the man-machine interactive interface Make.
In some implementations, the selected operation received from terminal device may include:Receive user's input Selection instruction;In practical application, user selects the object to be edited, terminal in the user interface that terminal device screen is presented Equipment receives selection instruction input by user and identifies the object to be edited, wherein the selection instruction can be click commands Deng.
In practical application, click commands apply in general to can by clicking the object that can choose, such as picture, The objects such as text box, chart, can be by clicking once or twice or clicking designated position come selected object.If input Be click commands, then after terminal device receives the click commands, identify the object at institute's click location.
And in embodiments of the present invention, it can be to the selected operation setting shortcut of change resource object, i.e., in user After having selected a media multimedia resource by click commands, menu, such as " change particular range " is presented in user interface, And after receiving user to the clicking operation of " change particular range ", identify selected multimedia resource.
In this way, receiving selection instruction input by user, for example the operation of shortcut menu is clicked, it identifies in document and selectes The identical multimedia resource in part, have the characteristics that easy to operate.Excessive repetitive operation is avoided, to simplify operation Process improves operating efficiency.
In the present embodiment, as an implementation, the method further includes:
Step 204, it has completed when determining replacement operation, display reminding information.
The operation of user, only simply prompt user's replacement operation is prompted to complete in this way, to notify that user is related The state status of terminal device work, does not need to user and does any processing.
Certainly, exemplary only explanation herein in practical application, can carry out selection interface a variety of settings, and User can also carry out a variety of selection operations according to selection interface, and better man-machine interaction experience may be implemented.
It should be noted that the executive agent of 201~step 204 of above-mentioned steps can be a kind of device, which can be with It is to be located locally the application of equipment, or can is the plug-in unit being located locally in the application of equipment or Software Development Kit Functional units such as (Software Development Kit, SDK), the embodiment of the present invention is to this without being particularly limited to.It is described Using the application program (native App) that can be mounted in equipment, or it can also be one of the browser in equipment Web page program (web App), the embodiment of the present invention is to this without limiting.
Embodiment three:
Referring to Figure 5, the apparatus structure of multimedia resource shows in the change document provided for third embodiment of the invention It is intended to.As shown in figure 5, in the present embodiment, the device of multimedia resource in the change document, including:
Interface module 501, for receiving the selected operation to changing multimedia object in document;
Processing module 502 has selected all identical multimedia resources in document, by the change resource object for working as Corresponding original multimedia resource data replace with new multimedia resource data.
In the present embodiment, described device further includes:
Reminding module 503 has been completed, display reminding information for that ought determine replacement operation.
In the present embodiment, the interface module 501 includes:
Menu provides submodule, and menu swift to operate, the shortcut menu are selected for being provided by man-machine interactive interface For selected all identical multimedia resource;
Command reception submodule, the selection instruction for receiving user for the selected menu input swift to operate.
In the present embodiment, described instruction receiving submodule receives user for the selected menu input swift to operate Selection instruction, including:Sink block choosing instruction or click commands.
Other refer to the detailed description of the embodiment of the present application one about the otherwise description of the present embodiment apparatus structure, Details are not described herein.
Example IV:
With reference to shown in Fig. 6, the apparatus structure signal of media resource in the change document provided for fourth embodiment of the invention Figure.As shown in fig. 6, in the present embodiment, the device of media resource in the change document, including:
Interface module 601, for receiving the selected operation to changing resource object in document;
In the present embodiment, described pair change resource object selected operation be:It is identical more to have selected part in document Media resource.
First processing module 602 has selected part multimedia resource in document for working as the selected operation, then replaces institute The path indexing for stating selected part original multimedia resource is the path indexing of new multimedia resource data.
In the present embodiment, described device further includes:
Second processing module 603, the path indexing for judging whether the also former multimedia resource of resource object use, when No resource object is determined using the path indexing of former multimedia resource, former multimedia resource data are deleted.
In the present embodiment, as an implementation, described device further includes:
Reminding module 604 has been completed, display reminding information for that ought determine replacement operation.
In the present embodiment, the interface module 601 includes:
Menu provides submodule, and menu swift to operate, the shortcut menu are selected for being provided by man-machine interactive interface For selected part multimedia resource;
Command reception submodule, the selection instruction for receiving user for the selected menu input swift to operate.
In the present embodiment, described instruction receiving submodule receives user for the selected menu input swift to operate Selection instruction, including:Sink block choosing instruction or click commands.
Other refer to the detailed description of the embodiment of the present application two about the otherwise description of the present embodiment apparatus structure, Details are not described herein.
Technical solution of the present invention is illustrated below by the example in concrete application.
Example one:
In this application example, by the way that user interface is arranged, it is selected that user is received by the user interface Operation.The method of multimedia resource, includes the following steps in the change document of this application example:
Step 501, selection will change the object of resource, " change is all " for selecting the embodiment of the present invention newly-increased by user Functional entrance selects new resources in the dialog box of pop-up;
Step 502, all objects for using former resource are recorded;
Step 503, it is new resources to change former resource in data Layer;
Step 504, all object for using former resource more new states are notified.
In this application example, it is only necessary to which change is primary to may make the same picture on all lantern slides to be changed in addition One picture, obtains following effect:By taking picture shown in FIG. 1 as an example, picture replacement is carried out using the method for this application example Flow is:The picture of first page lantern slide is selected, " change is all " functional entrance that the present invention is newly-increased is selected, in the dialogue of pop-up An other pictures are selected in frame, this application example can be recorded first in the lantern slide of front page five and use original picture, in data Layer Image data is changed, notice uses the lantern slides of page five update of original picture, finally shows the effect of Fig. 7.
Example two:
In this application example, by the way that user interface is arranged, it is selected that user is received by the user interface Operation.The method of multimedia resource, includes the following steps in the change document of this application example:
Step 601, selection will change the object of resource, select " change particular range " functional entrance that the present invention is newly-increased, The range to be changed is set in the dialog box of pop-up;
Step 602, new resources are selected;
Step 603, the object that former resource is used in particular range is recorded;
Step 604, new resources are added to data Layer;
Step 605, the object more new state of former resource is used in notice particular range.
In order to reduce the volume of document, the present invention can also judge whether former resource also has place reference, if do not quoted Then delete former resource data.
By taking picture shown in FIG. 1 as an example, use this application example method carry out picture replacement flow for:Selection first The picture of page lantern slide selects " change particular range " functional entrance that the present invention is newly-increased, and the is arranged in the dialog box of pop-up One, the lantern slides of page three, five are to change the object of resource, and select other one new picture as new multi-medium data, The embodiment of the present invention can first record the object that original picture is used in the lantern slide of page first and third, five, and new picture is inserted into data Layer Data notify the object update picture indices path that original picture is used in the lantern slide of page first and third, five, the newer picture Index path is directed toward new image data, by repainting lantern slide, the final effect for showing Fig. 8, since original picture is unreal Lamp piece two and four is using, so cannot be deleted in data Layer.
In embodiments of the present invention, the selected operation to changing resource object is received, when the selected operation has selected text The former media resource data is replaced with new media resource data by all identical media resources in shelves;As the selected behaviour Part media resource in document is had selected, then the path indexing for replacing the selected part of media resource is new media resource The path indexing of data.To which the embodiment of the present invention avoids excessive troublesome operation, operating process is simplified, operation is improved Efficiency has better man-machine interaction experience, can meet the various individual demands of user, and then improve the use of user Experience, improves user satisfaction.
In embodiments of the present invention, the operation on screen is received, may include:Receive selection instruction input by user; The object to be edited is identified according to the selection instruction.In practical application, user interface that user is presented in mobile device screen The object to be edited of upper selection, electronic equipment receive selection instruction input by user and identify the object to be edited, in this way, connecing Selection instruction input by user, such as clicking operation are received, is directly replaced related content, there is spy easy to operate Point.Excessive repetitive operation is avoided, to simplify operating process, improves operating efficiency, and leakage will not be changed, is enhanced User experience.
The present invention provides a kind of methods of easily change same asset (sound, background music, video, picture), only It needs operation once can be directed to particular range or the resource of all ranges is modified, operation facility, fast, and will not Change leakage, effectively provides office efficiency and experience, and the present invention is not only applicable to PowerPoint, while being also applied for word texts Shelves and excel electrical forms, only there are no sound, background sounds for word document and the current version of excel electrical forms Happy video, and picture has.
In this application, a kind of electronic equipment is also provided, which includes:Processor and memory, the storage Device is stored with computer executable instructions, and the computer executable instructions realize following method when being executed by the processor:
Receive the selected operation to changing multimedia resource object in document;
When the selected operation has selected all identical multimedia resources in document, by the former multimedia resource data Replace with new multimedia resource data;When it is described it is selected operation have selected the identical multimedia resource in part in document, then replace The path indexing of the selected part multimedia resource is the path indexing of new multimedia resource data.
Wherein, more matchmakers in above-mentioned change document are can also be achieved when the computer executable instructions are executed by the processor Other detailed processes of the convenient method of body resource, details are not described herein.
Embodiment five:
Fig. 9 is the structural schematic diagram for the electronic equipment that fifth embodiment of the invention provides.It is shown in Figure 9, for the present invention A kind of structural schematic diagram for the electronic equipment that embodiment is provided.
The electronic equipment 300 of the embodiment of the present invention may include with one in next unit or more than one Arbitrary combination:Processing unit 302, memory 304, power supply unit 306, multimedia unit 308, audio unit 310, input/defeated Go out the interface 312 of (I/O), sensor unit 314 and communication unit 316.
The integrated operation of 302 usual control electronics 300 of processing unit, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing unit 302 may include one or more processors 320 to hold Row instruction, to complete all or part of step of the method described in the embodiment of the present invention.In addition, processing unit 302 can wrap One or more modules are included, convenient for the interaction between processing unit 302 and other units.For example, processing unit 302 may include Multi-media module, to facilitate the interaction between multimedia unit 308 and processing unit 302.
Memory 304 stores various types of data to support the operation in electronic equipment 300.These data include being used for The instruction of any application program or method that are operated on electronic equipment 300, picture, video etc..Memory 304 can be by any The volatibility or non-volatile memory device or combination thereof of type realizes, such as static RAM (SRAM), Electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM) may be programmed read-only storage Device (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply unit 306 provides electric power for the various units of electronic equipment 300.Multimedia unit 308 includes:In the electricity The screen of one output interface is provided between sub- equipment 300 and user.In some embodiments, screen may include liquid crystal display Device (LCD) and touch panel (TP).If screen includes touch panel, screen may be implemented as touch screen, be come from receiving The input signal of user.Touch panel includes one or more touch sensors to sense on touch, slide, and touch panel Gesture.The touch sensor can not only sense the boundary of a touch or slide action, but also detect and the touch or cunning The dynamic relevant duration and pressure of operation.In some embodiments, multimedia unit 308 include front camera and/ Or rear camera.When electronic equipment 300 is in operation mode, when such as screening-mode or video mode, front camera and/or Rear camera can receive external multi-medium data.
Audio unit 310 is for output and/or input audio signal.For example, audio unit 310 includes a microphone, When electronic equipment 300 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone is for receiving External audio signal.The received audio signal can be further stored in memory 304 or be sent out via communication unit 316 It send.In some embodiments, audio unit 310 further includes a loud speaker, is used for exports audio signal.I/O interfaces 312 are place Interface is provided between reason unit 302 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, click wheel, button etc.. These buttons may include but be not limited to:Home button, volume button, start button and locking press button.
Sensor unit 314 includes one or more sensors, the state for providing various aspects for electronic equipment 300 Assessment.For example, sensor unit 314 can detect the state that opens/closes of electronic equipment 300, the relative positioning of unit, example As the unit be electronic equipment 300 display and keypad, sensor unit 314 can also detect electronic equipment 300 or The position change of 300 1 units of electronic equipment, the existence or non-existence that user contacts with electronic equipment 300, electronic equipment 300 The temperature change of orientation or acceleration/deceleration and electronic equipment 300.Sensor unit 314 may include proximity sensor, be used for Do not have to detect the presence of nearby objects when any physical contact.Sensor unit 314 can also include optical sensor such as CMOS Or ccd image sensor, for being used in imaging applications.In some embodiments, which can also include Acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication of the communication unit 316 for wired or wireless way between electronic equipment 300 and other equipment.Electronic equipment 300 can access the wireless network based on communication standard, such as WiFi, 2G, 3G or 4G or combination thereof.In one embodiment In, communication unit 316 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.? In one embodiment, the communication unit 316 further includes near-field communication (NFC) module, to promote short range communication.For example, in NFC Module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) Technology and other technologies are realized.
The electronic equipment 300 of the embodiment of the present invention can be by one or more application application-specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
The electronic equipment of the embodiment of the present invention is able to carry out the convenient method of multimedia resource in change document above-mentioned, When realizing to document into edlin, by after receiving user to the selection operation of multimedia resource object, for being selection The identical multimedia resource of all identical multimedia resources or part carries out different processing respectively in document, or can be with The optional relevant operation of user is further prompted, has the characteristics of easy operation, avoids excessive troublesome operation, to simplify Operating process, improves operating efficiency, can ensure the performance of terminal device well, improves working efficiency, and enhancing is used Family usage experience.
In addition, the embodiment of the present application also provides a kind of computer readable storage medium, computer executable instructions are stored with, The computer executable instructions are performed realization following methods:
Receive the selected operation to changing multimedia resource object in document;
When the selected operation has selected all identical multimedia resources in document, by the former multimedia resource data Replace with new multimedia resource data;When it is described it is selected operation have selected the identical multimedia resource in part in document, then replace The path indexing of the selected part multimedia resource is the path indexing of new multimedia resource data.
Above computer readable storage medium storing program for executing, including some instructions are used so that a computer installation (can be personal Computer, server or network equipment etc.) or each embodiment the method for processor (Processor) the execution present invention Part steps.And the computer readable storage medium includes:USB flash disk, mobile hard disk, read-only memory (ReadOnly Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various to deposit Store up the medium of program code.
Wherein, the computer executable instructions, which are performed, can also be achieved in above-mentioned change document multimedia resource just Other detailed processes of prompt method, details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, for example, multiple modules or unit can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or module Letter connection can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separated, aobvious as module The component shown may or may not be physical module, you can be located at a place, or may be distributed over multiple In network element.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing unit, it can also It is that modules physically exist alone, it can also be during two or more modules be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit In storage media.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (15)

1. the convenient method of multimedia resource in a kind of change document, which is characterized in that including:
Receive the selected operation to changing multimedia resource object in document;
When the selected operation has selected all identical multimedia resources in document, the former multimedia resource data are replaced For new multimedia resource data;When it is described it is selected operation have selected the identical multimedia resource of some types in document, then replace The path indexing of the identical multimedia resource of the selected some types is the path indexing of new multimedia resource data.
2. according to the method described in claim 1, it is characterized in that, when the selected operation has selected some types phase in document Same multimedia resource, the method further include:
Judge whether that also multimedia resource object is provided using the path indexing of former multimedia resource when determining no multimedia Source object is deleted former multimedia resource data using the path indexing of former multimedia resource.
3. method according to claim 1 or 2, which is characterized in that the method further includes:
It has been completed when determining replacement operation, display reminding information.
4. according to the method described in claim 1, it is characterized in that, described receive to changing multimedia resource object in document Selected operation, including:
It is provided by man-machine interactive interface and selectes menu swift to operate, receive user for the selected menu input swift to operate Selection instruction.
5. according to the method described in claim 4, it is characterized in that, the reception user selectes menu swift to operate for described The selection instruction of input, including:Receive click commands.
6. the device of multimedia resource in a kind of change document, which is characterized in that including:
Interface module, for receiving the selected operation to changing multimedia resource object in document;
Processing module has selected all identical multimedia resources in document, by the change multimedia resource object for working as Corresponding original multimedia resource data replace with new multimedia resource data.
7. device according to claim 6, which is characterized in that described device further includes:
Reminding module has been completed, display reminding information for that ought determine replacement operation.
8. device according to claim 6, which is characterized in that the interface module includes:
Menu provides submodule, selectes menu swift to operate for being provided by man-machine interactive interface, the shortcut menu is used for Selected all identical multimedia resource;
Command reception submodule, the selection instruction for receiving user for the selected menu input swift to operate.
9. device according to claim 8, which is characterized in that described instruction receiving submodule receives user and is directed to the choosing The selection instruction of fixed menu input swift to operate, including:Receive click commands.
10. the device of multimedia resource in a kind of change document, which is characterized in that including:
Interface module, for receiving the selected operation to changing resource object in document;
First processing module has selected the identical multimedia resource of some types in document, then more for working as the selected operation The path indexing for changing the identical former multimedia resource of the selected some types is the path indexing of new multimedia resource data.
11. device according to claim 10, which is characterized in that described device further includes:
Second processing module, the path indexing for judging whether also resource object using former multimedia resource, when determining There is no resource object using the path indexing of former multimedia resource, former multimedia resource data are deleted.
12. the device according to claim 10 or 11, which is characterized in that described device further includes:
Reminding module has been completed, display reminding information for that ought determine replacement operation.
13. device according to claim 10, which is characterized in that the interface module includes:
Menu provides submodule, selectes menu swift to operate for being provided by man-machine interactive interface, the shortcut menu is used for Selected part multimedia resource;
Command reception submodule, the selection instruction for receiving user for the selected menu input swift to operate.
14. device according to claim 13, which is characterized in that
Described instruction receiving submodule receives selection instruction of the user for the selected menu input swift to operate, including:It connects Receive click commands.
15. a kind of electronic equipment, including:Processor and memory, which is characterized in that the memory is stored with computer and can hold Row instruction, the computer executable instructions realize following method when being executed by the processor:
Receive the selected operation to changing multimedia resource object in document;
When the selected operation has selected all identical multimedia resources in document, the former multimedia resource data are replaced For new multimedia resource data;When it is described it is selected operation have selected the identical multimedia resource of some types in document, then replace The path indexing of the identical multimedia resource of the selected some types is the path indexing of new multimedia resource data.
CN201710276868.8A 2017-04-25 2017-04-25 Convenient method and device for changing multimedia resources in document and electronic equipment Active CN108733731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710276868.8A CN108733731B (en) 2017-04-25 2017-04-25 Convenient method and device for changing multimedia resources in document and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710276868.8A CN108733731B (en) 2017-04-25 2017-04-25 Convenient method and device for changing multimedia resources in document and electronic equipment

Publications (2)

Publication Number Publication Date
CN108733731A true CN108733731A (en) 2018-11-02
CN108733731B CN108733731B (en) 2021-12-24

Family

ID=63934721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710276868.8A Active CN108733731B (en) 2017-04-25 2017-04-25 Convenient method and device for changing multimedia resources in document and electronic equipment

Country Status (1)

Country Link
CN (1) CN108733731B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110516233A (en) * 2019-08-06 2019-11-29 深圳和而泰家居在线网络科技有限公司 Method, apparatus, terminal device and the storage medium of data processing
WO2023056925A1 (en) * 2021-10-08 2023-04-13 北京字跳网络技术有限公司 Document content updating method and apparatus, and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09326036A (en) * 1996-06-04 1997-12-16 Canon Inc System and method for document editing
JP2002366928A (en) * 2001-06-05 2002-12-20 Minolta Co Ltd System, device, method and program for processing image and recording medium recorded with the image processing program
CN101894115A (en) * 2009-05-18 2010-11-24 北京大学 Image data processing method of electronic document and device thereof
CN102012896A (en) * 2010-12-29 2011-04-13 深圳市五巨科技有限公司 Method and device for realizing bulk editing of file contents
CN104516727A (en) * 2013-09-27 2015-04-15 国际商业机器公司 Method and system for changing resource in resource file
CN104750679A (en) * 2013-12-25 2015-07-01 明博教育科技有限公司 Resource loading method in webpage document editor
CN105045590A (en) * 2015-07-17 2015-11-11 百度在线网络技术(北京)有限公司 Method and device for altering interface resources
CN105677180A (en) * 2016-01-04 2016-06-15 深圳市创想天空科技股份有限公司 Application program icon processing method and device
CN106020894A (en) * 2016-05-27 2016-10-12 北京奇虎科技有限公司 Method for controlling electronic device and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09326036A (en) * 1996-06-04 1997-12-16 Canon Inc System and method for document editing
JP2002366928A (en) * 2001-06-05 2002-12-20 Minolta Co Ltd System, device, method and program for processing image and recording medium recorded with the image processing program
CN101894115A (en) * 2009-05-18 2010-11-24 北京大学 Image data processing method of electronic document and device thereof
CN102012896A (en) * 2010-12-29 2011-04-13 深圳市五巨科技有限公司 Method and device for realizing bulk editing of file contents
CN104516727A (en) * 2013-09-27 2015-04-15 国际商业机器公司 Method and system for changing resource in resource file
CN104750679A (en) * 2013-12-25 2015-07-01 明博教育科技有限公司 Resource loading method in webpage document editor
CN105045590A (en) * 2015-07-17 2015-11-11 百度在线网络技术(北京)有限公司 Method and device for altering interface resources
CN105677180A (en) * 2016-01-04 2016-06-15 深圳市创想天空科技股份有限公司 Application program icon processing method and device
CN106020894A (en) * 2016-05-27 2016-10-12 北京奇虎科技有限公司 Method for controlling electronic device and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
德南: "ppt批量替换图片的方法步骤图", 《HTTPS://WWW.XUEXILA.COM/PPT/ZHIZUO/1625563.HTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110516233A (en) * 2019-08-06 2019-11-29 深圳和而泰家居在线网络科技有限公司 Method, apparatus, terminal device and the storage medium of data processing
CN110516233B (en) * 2019-08-06 2023-08-01 深圳数联天下智能科技有限公司 Data processing method, device, terminal equipment and storage medium
WO2023056925A1 (en) * 2021-10-08 2023-04-13 北京字跳网络技术有限公司 Document content updating method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN108733731B (en) 2021-12-24

Similar Documents

Publication Publication Date Title
EP3352438B1 (en) User terminal device for recommending response message and method therefor
CN104375980B (en) Content of text selection method and device
CN103365592B (en) The method and apparatus for performing the object on display
US20110037714A1 (en) Method for displaying data and mobile terminal thereof
US20110161853A1 (en) Mobile terminal and method of controlling the same
WO2021008334A1 (en) Data binding method, apparatus, and device of mini program, and storage medium
KR20140144104A (en) Electronic apparatus and Method for providing service thereof
CN108319491A (en) Working space in managing user interface
WO2019085821A1 (en) Processing method, device, apparatus, and machine-readable medium
KR101917696B1 (en) Mobile terminal and control method thereof
US20120096354A1 (en) Mobile terminal and control method thereof
CN101714057A (en) Touch input device of portable device and operating method using the same
CN105359121A (en) Remote operation of applications using received data
CN102707868A (en) Method for controlling screen using mobile terminal
CN102640101A (en) Method and apparatus for providing user interface
CN104007922A (en) Method for providing a feedback in response to a user input and a terminal implementing the same
WO2019085820A1 (en) Processing method, device, apparatus, and machine-readable medium
KR20160023412A (en) Method for display screen in electronic device and the device thereof
CN112416485A (en) Information guiding method, device, terminal and storage medium
CN104750479A (en) Interface displaying method and device
CN104461348A (en) Method and device for selecting information
CN107193554A (en) A kind of method and apparatus for generating front-end code
KR20160004590A (en) Method for display window in electronic device and the device thereof
CN106909366A (en) The method and device that a kind of widget shows
CN108803892B (en) Method and device for calling third party application program in input method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant