CN109460521A - Picture editing method, device, medium and computer equipment in web page - Google Patents

Picture editing method, device, medium and computer equipment in web page Download PDF

Info

Publication number
CN109460521A
CN109460521A CN201811088960.2A CN201811088960A CN109460521A CN 109460521 A CN109460521 A CN 109460521A CN 201811088960 A CN201811088960 A CN 201811088960A CN 109460521 A CN109460521 A CN 109460521A
Authority
CN
China
Prior art keywords
picture
editor
editing
user
web page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811088960.2A
Other languages
Chinese (zh)
Inventor
赖云辉
唐汇元
叶俊锋
罗先贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811088960.2A priority Critical patent/CN109460521A/en
Publication of CN109460521A publication Critical patent/CN109460521A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention provides picture editing method, device, computer storage medium and computer equipments in a kind of web page;This method comprises: receiving user in web page for picture editor's instruction of target editing picture triggering, picture editor's instruction includes the corresponding picture identification of target editing picture;It is instructed in response to the picture editor, is user's exhibiting pictures editing interface;The edit commands that user triggers in the picture editor interface is received, picture editor's plug-in unit is called to execute the edit commands to the target editing picture.Technical solution through the invention can be realized user and directly edit in a browser to the picture in web page, simplifies picture editor's operation of user, meets the individual demand of user's editing picture.

Description

Picture editing method, device, medium and computer equipment in web page
Technical field
The present invention relates to computer fields, specifically, the present invention relates to picture editing methods, dress in a kind of web page It sets, medium and computer equipment.
Background technique
Browser client has the individual demand edited to the Web page picture of browser-presented.When user wants to webpage On a certain picture when modifying, need first that the picture on webpage is locally downloading, then use picture editor's tool pair Picture is edited, and the picture for completing again to edit this after editor uploads to browser, and then browser can show and come from Oneself edited picture.User wants to edit Web page picture in a word, and needing to carry out a series of cumbersome operations can Realize the editor to Web page picture.
Therefore it needs one kind user can be facilitated to edit Web page picture, meets the picture editor side of users ' individualized requirement Method.
Summary of the invention
The present invention in view of the shortcomings of the prior art, provide picture editing method in a kind of web page, device, medium and Computer equipment, technical solution, can be realized user and directly carries out in a browser to the picture in web page through the invention Editor simplifies picture editor's operation of user, meets the individual demand of user's editing picture.
The embodiment of the present invention provides picture editing method in a kind of web page according to first aspect, comprising:
User is received in web page for picture editor's instruction of target editing picture triggering, the picture editor refers to Enabling includes the corresponding picture identification of target editing picture;
It is instructed in response to the picture editor, is user's exhibiting pictures editing interface;
The edit commands that user triggers in the picture editor interface is received, calls picture editor's plug-in unit to the target Editing picture executes the edit commands.
Further, described to be instructed in response to the picture editor, it is user's exhibiting pictures editing interface, comprising:
Obtain picture editor's Permission Levels corresponding with current logon account;
If the Permission Levels are ordinary user's editing authority, calling picture editor's plug-in unit is that user shows the first pattern Picture editor interface;
If the Permission Levels are special user's editing authority, calling picture editor's plug-in unit is that user shows the second pattern Picture editor interface.
Further, the calling picture editor plug-in unit executes the edit commands to the target editing picture, it After include:
It obtains picture editor's plug-in unit and executes the current volume generated after the edit commands to the target editing picture Collect picture;
The picture identification of the current editing picture is revised as to the picture identification of the target editing picture;
The current editing picture described in picture editor's showing interface;
After the editing picture current described in picture editor's showing interface, comprising:
Receive picture store instruction;
In response to the picture store instruction, picture editor's data are obtained, determine storage corresponding with the Permission Levels Mode stores picture editor's data according to the storage mode;
Picture editor's data include the current editing picture, the corresponding picture identification of the current editing picture with And web page mark;
Determination storage mode corresponding with the Permission Levels includes:
If the Permission Levels are ordinary user's editing authority, determine that the storage mode is by picture editor's data Store local predetermined storage area;
If the Permission Levels are special user's editing authority, determine that the storage mode is by picture editor's data It stores to cloud predetermined storage area and local predetermined storage area.
Further, the picture editor's instruction for receiving user and being triggered in web page for target editing picture, it After include:
Obtain picture identification corresponding with the target editing picture and web page mark;
The dependent compilation picture acquisition identified comprising the picture identification and web page is sent to cloud server to ask It asks;
The feedback data of cloud server is received, the feedback data includes dependent compilation picture, with the dependent compilation The corresponding user account information of picture;
Wherein, the dependent compilation picture is the cloud server in response to the dependent compilation picture acquisition request, It is determining with the picture in the record of the picture editor corresponding to the user account relevant with current logon account Mark and web page identify corresponding historical compilation picture;
Show the dependent compilation picture and the user account information corresponding with the dependent compilation picture.
Further, described to receive user in the picture editor interface for editor's life of target editing picture triggering It enables, includes: later
Editor's keyword corresponding with the target editing picture is extracted from the edit commands;
The determining historical compilation with editor's Keywords matching from the corresponding picture editor's record of current logon account Picture;
Show the historical compilation picture with editor's Keywords matching.
Further, the edit commands for receiving user and triggering in the picture editor interface, calls picture editor Plug-in unit executes the edit commands to the target editing picture, specifically includes:
If the edit commands includes the uploading pictures for being used to replace the target editing picture that user uploads, mention respectively Take the image attribute information of the uploading pictures and the image attribute information of the target editing picture, the picture attribute letter Breath includes picture file type, dimension of picture information;
The image attribute information of the image attribute information of the uploading pictures and the target editing picture is carried out pair Than;
If comparison is consistent, call picture editor's plug-in unit that the target editing picture is replaced the uploading pictures, shows The uploading pictures;
If comparison is inconsistent, show that the uploading pictures can not replace the prompting message of the target editing picture.
Further, the picture editor's instruction for receiving user and being triggered in web page for target editing picture, it Before include:
Web page browsing instructions are received, the web page browsing instructions include the corresponding page of target browsing web page Mark;
Whether the page iden-tity that the target browsing web page is inquired in predetermined storage area has corresponding picture editor Data;
If there are corresponding picture editor's data, the target is loaded according to picture editor's data and browses web page.
The embodiment of the present invention provides picture editor's device in a kind of web page according to second aspect, which is characterized in that packet It includes:
Edit instruction receiving module is compiled in web page for the picture of target editing picture triggering for receiving user Instruction is collected, picture editor's instruction includes the corresponding picture identification of target editing picture;
Showing interface module is user's exhibiting pictures editing interface for instructing in response to the picture editor;
Picture is called in command execution module, the edit commands triggered in the picture editor interface for receiving user It edits plug-in unit and the edit commands is executed to the target editing picture.
The embodiment of the present invention provides a kind of computer readable storage medium according to the third aspect, is stored thereon with computer Program, which is characterized in that the program realizes picture editing method in above-mentioned web page when being executed by processor.
The embodiment of the present invention provides a kind of computer equipment according to fourth aspect, and the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes picture editing method in above-mentioned web page.
In embodiments of the present invention, it is compiled in web page for the picture of target editing picture triggering by receiving user Instruction is collected, picture editor's instruction includes the corresponding picture identification of target editing picture;It is instructed in response to the picture editor, For user's exhibiting pictures editing interface;The edit commands that user triggers in the picture editor interface is received, picture is called to compile It collects plug-in unit and the edit commands is executed to the target editing picture, can be realized user in a browser directly to web page In picture edited, simplify user picture editor operation, meet the individual demand of user's editing picture.
On the other hand, other use relevant with user account can be shown for user in user's editing picture Reference record of the family to the picture provides editor's thinking for user, and facilitates and interact between user and other users;Energy Enough in user's editing picture, editor's keyword is extracted in the edit commands current from user, and user account is corresponding It is shown, allows users to intuitively with the historical compilation picture of editor's Keywords matching in all picture editor's records See oneself previous edited and related picture of current edit commands.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is picture editing method flow diagram in the web page of one embodiment of the invention;
Fig. 2 is the structural schematic diagram of picture editor's device in the web page of one embodiment of the invention;
Fig. 3 is the structural schematic diagram of the computer equipment of an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
The embodiment of the invention provides picture editing methods in a kind of web page, are applied to browser end.
Below from the angle of browser end, describe in detail in conjunction with attached drawing to a specific embodiment of the invention.Such as Fig. 1 It is shown, picture editing method in a kind of web page provided in an embodiment of the present invention, comprising the following steps:
S110: user is received in web page for picture editor's instruction of target editing picture triggering, the picture is compiled Collecting instruction includes the corresponding picture identification of target editing picture;
In the application scenarios of real browser, user has the personalization edited to the Web page picture of browser-presented Demand, in order to meet the needs of users, developer provides picture editing function in a browser for user, and browser is to use After family shows web page, user can call out picture editing function to trigger action is applied on web page.
In one embodiment, user can be by carrying out double click operation to a certain picture in web page, or to this Picture right-click calls out menu together by right button, is selected from the menu the pre-set trigger action such as picture editor's option Picture editor's instruction is sent to browser.
S120: instructing in response to the picture editor, is user's exhibiting pictures editing interface;
It is all picture editing functions that user provides, Yong Hutong that picture editor's circle user oriented, which illustrates browser, Picture editor's order can be sent to browser by crossing the picture editor interface.
Specifically, step S120: instructing in response to the picture editor, is user's exhibiting pictures editing interface, comprising:
S1201: picture editor's Permission Levels corresponding with current logon account are obtained;
S1202: if the Permission Levels are ordinary user's editing authority, calling picture editor's plug-in unit is that user shows the The picture editor interface of one pattern;
S1203: if the Permission Levels are special user's editing authority, calling picture editor's plug-in unit is that user shows the The picture editor interface of two patterns.
For the user of different rights rank, browser is not identical for the picture editing function type that it is provided.Wherein, clear The picture editing function type that device is provided to the user that Permission Levels are ordinary user's editing authority of looking at includes picture editing function Including scribble function (such as addition lines, font, pattern line or color), adding customized text (can be with selection word word Body, color etc.), the basic picture editing function such as picture size ratio adjustment.It and is special user's right of compilation for Permission Levels The user of limit, browser for its picture editing function provided include for ordinary user's editing authority user provide it is active Can, further include that uploading pictures replace original web page picture, provides the corresponding picture editor of relevant user for user Record, the advanced picture editing function such as picture of the edited similar type of automatic Display user after user's editing picture.
And in the present embodiment, browser is that the picture editing function that user provides has multiple, each picture editing function It can be shown in the form of icon on picture editor interface, be also possible to be shown in the form of the text of each function described On picture editor interface, when detecting that user clicks picture or click the predetermined inductive range of a certain text, then call together out Corresponding picture editing function.Since the picture editing function that the user of different rights rank is able to use is different, thus browse Device is that the pattern at the picture editor interface that the user of different rights rank shows is different.
S130: receiving the edit commands that user triggers in the picture editor interface, calls picture editor's plug-in unit to institute It states target editing picture and executes the edit commands.
Wherein, picture editor's plug-in unit is the internal plug for belonging to browser, has been put into exploitation, therefore do not need User is separately installed
Specifically, in one embodiment, step S130 includes:
S1301: if the edit commands includes the uploading pictures for being used to replace the target editing picture that user uploads, The image attribute information of the uploading pictures and the image attribute information of the target editing picture, the picture are extracted respectively Attribute information includes picture file type, dimension of picture information;
S1302: by the image attribute information of the uploading pictures and the image attribute information of the target editing picture It compares;
S1303: if comparison is consistent, call picture editor's plug-in unit that the target editing picture is replaced the upper blit Piece shows the uploading pictures;
Specifically, it when calling picture editor's plug-in unit that the target editing picture is replaced the uploading pictures, needs institute The picture identification for stating uploading pictures is revised as the picture identification of the target editing picture.
S1304: if comparison is inconsistent, show that the uploading pictures can not replace the prompt of the target editing picture and disappear Breath.
Since Web page face data has described picture file type, size of picture etc., if user uploads The corresponding picture file type of picture, the picture edited of the size of picture and user, i.e. target editing picture is inconsistent, then needs It to modify to original Web page face data, or the ruler for the corresponding picture file type of picture, picture that user is uploaded It is very little be converted to it is consistent with target editing picture.Such as if to change the size of picture, need to original web page number According to modifying, such that the process to Load Image is elongated, and then causes picture loading velocity slack-off, user's browsing is influenced On the other hand the experience of web page modifies original Web page face data and also proposes requirements at the higher level to the aspect of performance of browser. Thus, in the present embodiment, in order to guarantee viewing experience of the user on web page, if the picture for the picture that user uploads Attribute information is inconsistent with the target editing picture, then shows that the uploading pictures can not replace the target editing picture Prompting message, i.e., can not show user upload picture.Certainly, when user uses the picture editing function of uploading pictures, Browser obtains the image attribute information of the target editing picture automatically, and shows user, assists user's uploading pictures energy Enough successful presentations come out.
And in another alternative embodiment, in order to meet user using oneself picture replacement web page in picture, can With the image attribute information of picture that is uploaded in user and the target editing picture it is inconsistent in the case where, automatically will be to original First Web page face data is modified, or the corresponding picture file type of picture, the size conversion of picture that user is uploaded It is consistent with target editing picture.
In one embodiment, the calling picture editor plug-in unit in step S130 is to described in target editing picture execution Edit commands includes: later
S210: it obtains picture editor's plug-in unit and executes working as of generating after the edit commands to the target editing picture Pre-editing picture;
S220: the picture identification of the current editing picture is revised as to the picture identification of the target editing picture;
Specifically, the picture identification refers to the title of picture.
S230: the current editing picture described in picture editor's showing interface;
More specifically, step S230: after the current editing picture described in picture editor's showing interface, comprising:
S310: picture store instruction is received;
S320: in response to the picture store instruction, picture editor's data are obtained, determination is corresponding with the Permission Levels Storage mode stores picture editor's data according to the storage mode;
S330: picture editor's data include the current editing picture, the corresponding picture of the current editing picture Mark and web page mark;
Determination storage mode corresponding with the Permission Levels in S320 includes:
S3201: if the Permission Levels are ordinary user's editing authority, determine that the storage mode is to compile the picture Data storage is collected to local predetermined storage area;
S3202: if the Permission Levels are special user's editing authority, determine that the storage mode is to compile the picture Data storage is collected to cloud predetermined storage area and local predetermined storage area.
In one embodiment, include: after step S110
S410: picture identification corresponding with the target editing picture and web page mark are obtained;
S420: the dependent compilation picture identified comprising the picture identification and web page is sent to cloud server and is obtained Take request;
S430: receiving the feedback data of cloud server, and the feedback data includes dependent compilation picture, with the association The corresponding user account information of editing picture;
Wherein, the dependent compilation picture is the cloud server in response to the dependent compilation picture acquisition request, It is determining with the picture in the record of the picture editor corresponding to the user account relevant with current logon account Mark and web page identify corresponding historical compilation picture;
S440: the dependent compilation picture and the user account letter corresponding with the dependent compilation picture are shown Breath.
Specifically, when user is in editing picture, browser can request related with current logon account to cloud server The user account of connection relationship it is corresponding with user when the identical reference record of the picture of pre-editing, if with oneself there is certain relationship Other users also carried out editor to when the picture of pre-editing, then user is in editing picture just it can be seen that having one with oneself Determine reference record of the other users of relationship to above-mentioned picture, this can provide some editor's thinkings for user, can also allow user The idea of the other users is recognized, to generate the interaction effect between user and user.Wherein, described and current login The relevant user account of account can be the account that friend relation is established with user account, be also possible to and user account The account etc. paid close attention to mutually.Whether it is ready to allow other users to see oneself picture editor record of course, it is possible to provide for user Priority assignation option can also allow user to have the ability for protecting itself privacy in this way.
In another embodiment, include: after step S110
S510: editor's keyword corresponding with the target editing picture is extracted from the edit commands;
S520: the determining history with editor's Keywords matching from the corresponding picture editor's record of current logon account Editing picture;
S530: the historical compilation picture with editor's Keywords matching is shown.
Specifically, user's editing picture is possible to for the purpose for collecting a certain type picture, in order to improve making for user With experience, editor's keyword can be extracted according to the edit commands of user after receiving edit commands, and by user account The historical compilation picture found out in corresponding picture editor's record and matched when pre-editing keyword, and be shown.
For example, user edits a certain picture, the customized text of addition " landscape " has been used, it is possible to which user looks for The relevant picture of landscape class can will in the corresponding reference record of user account, include at this time the historical compilation figure of " landscape " Piece, shows user, and user can also be intuitive to see oneself all edited " landscape " relevant picture very much.
In one embodiment, include: before step S110
S610: receiving web page browsing instructions, and the web page browsing instructions include that target browsing web page is corresponding Page iden-tity;
S620: whether the page iden-tity that the target browsing web page is inquired in predetermined storage area has corresponding figure Piece editor's data;
S630: if there are corresponding picture editor's data, the target is loaded according to picture editor's data and browses Web page Face.
The process of the web page of browser-presented is url (the uniform resource first inputted according to user Locator, uniform resource locator) from web server acquisition Web page face data, then according to the Web page face data got Rendering processing is carried out, web page is finally shown.
If user carried out editor to certain pictures of some web page, usually when browsing the web page next time, Also wish that oneself edited state can also be kept by oneself edited picture in the web page.If thus user thinks Certain pictures in the web page to be browsed were edited by, then, will be edited before user when rendering web page Picture edited picture before being changed to user.
Technical solution for a better understanding of the present invention, the present invention also provides picture editor's device in a kind of web page, As shown in Fig. 2, comprising the following modules:
Edit instruction receiving module 110, for receiving user in web page for the picture of target editing picture triggering Edit instruction, picture editor's instruction includes the corresponding picture identification of target editing picture;
Showing interface module 120 is user's exhibiting pictures editing interface for instructing in response to the picture editor;
Specifically, the showing interface module 120, comprising:
Authority acquiring submodule 1201, for obtaining picture editor's Permission Levels corresponding with current logon account;
First showing interface submodule 1202 is used for when the Permission Levels are ordinary user's editing authority, calling figure Piece editor's plug-in unit is the picture editor interface that user shows the first pattern;
Second contact surface shows submodule 1203, is used for when the Permission Levels are special user's editing authority, calling figure Piece editor's plug-in unit is the picture editor interface that user shows the second pattern.
Command execution module 130, the edit commands triggered in the picture editor interface for receiving user, calling figure Piece editor plug-in unit executes the edit commands to the target editing picture.
Specifically, the command execution module 130, comprising:
Information extraction submodule 1301, for including being compiled for replacing the target for user's upload when the edit commands When collecting the uploading pictures of picture, the image attribute information of the uploading pictures and the figure of the target editing picture are extracted respectively Piece attribute information, the image attribute information include picture file type, dimension of picture information;
Information compares submodule 1302, for scheming the image attribute information of the uploading pictures and the target editor The image attribute information of piece compares;
Uploading pictures show submodule 1303, for calling picture editor's plug-in unit to compile the target when comparing consistent It collects picture and replaces the uploading pictures, show the uploading pictures;
Message display submodule 1304, it is described for when comparing inconsistent, then showing that the uploading pictures can not replace The prompting message of target editing picture.
In one embodiment, picture editor's device in the web page further include:
Current editing picture obtains module 210, holds for obtaining picture editor's plug-in unit to the target editing picture The current editing picture generated after the row edit commands;
Modified module 220 is identified, is schemed for the picture identification of the current editing picture to be revised as the target editor The picture identification of piece;
Picture presentation module 230 is used for the current editing picture described in picture editor's showing interface;
In a preferred embodiment, picture editor's device in the web page further include:
Store instruction receiving module 310, for receiving picture store instruction;
Memory module 320, for obtaining picture editor's data, the determining and power in response to the picture store instruction The corresponding storage mode of rank is limited, stores picture editor's data according to the storage mode;
Picture editor's data include the current editing picture, the corresponding picture identification of the current editing picture with And web page mark;
Specifically, the memory module 320 includes:
First storage mode determines submodule 3201, is used for when the Permission Levels are ordinary user's editing authority, really The fixed storage mode is by picture editor's data storage to local predetermined storage area;
Second storage mode determines submodule 3202, is used for when the Permission Levels are special user's editing authority, really The fixed storage mode is by picture editor's data storage to cloud predetermined storage area and local predetermined storage area.
In one embodiment, picture editor's device in the web page further include:
Identifier acquisition module 410, for obtaining picture identification corresponding with the target editing picture and web page mark Know;
Request sending module 420 includes that the picture identification and web page identify for sending to cloud server Dependent compilation picture acquisition request;
Data reception module 430, for receiving the feedback data of cloud server, the feedback data includes dependent compilation Picture, user account information corresponding with the dependent compilation picture;
Wherein, the dependent compilation picture is the cloud server in response to the dependent compilation picture acquisition request, It is determining with the picture in the record of the picture editor corresponding to the user account relevant with current logon account Mark and web page identify corresponding historical compilation picture;
Display module 440, for showing the dependent compilation picture and described corresponding with the dependent compilation picture User account information.
In one embodiment, picture editor's device in the web page further include:
Keyword extracting module 510, it is corresponding with the target editing picture for being extracted from the edit commands Edit keyword;
History picture determining module 520, for determined from current logon account corresponding picture editor record with it is described Edit the historical compilation picture of Keywords matching;
History picture presentation module 530, for showing the historical compilation picture with editor's Keywords matching.
In one embodiment, picture editor's device in the web page further include:
Browsing instructions receiving module 610, for receiving web page browsing instructions, the web page browsing instructions include mesh The corresponding page iden-tity of mark browsing web page;
Enquiry module 620, for inquired in predetermined storage area target browsing web page page iden-tity whether There are corresponding picture editor's data;
Loading module 630, for when there is corresponding picture editor's data, according to picture editor's data load Target browses web page.
It should be noted that picture editor's device can be realized above-mentioned Web page in web page provided in an embodiment of the present invention The function that picture editing method embodiment is realized in face, the specific implementation of function is referring to picture editor side in above-mentioned web page Description in method, details are not described herein.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the program Picture editing method in above-mentioned web page is realized when being executed by processor.Wherein, the storage medium is including but not limited to any The disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk) of type, ROM (Read-Only Memory, read-only storage Device), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSable Programmable Read- Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card.It is, storage Medium includes by equipment (for example, computer) with any medium for the form storage or transmission information that can be read.It can be read-only Memory, disk or CD etc..
The embodiment of the present invention also provides a kind of computer equipment, and the computer equipment includes:
One or more processors 710;
Storage device 720, for storing one or more programs 700,
When one or more of programs 700 are executed by one or more of processors 710, so that one or more A processor 710 realizes picture editing method in above-mentioned web page.
It is illustrated in figure 3 the structural schematic diagram of computer equipment of the present invention, including processor 710, storage device 720, defeated Enter the devices such as unit 730 and display unit 740.It will be understood by those skilled in the art that structure devices shown in Fig. 3 not structure The restriction of pairs of all computer equipments may include than illustrating more or fewer components, or the certain components of combination.Storage Device 720 can be used for storing application program 700 and each functional module, and the operation of processor 710 is stored in answering for storage device 720 With program 700, thereby executing the various function application and data processing of equipment.Storage device 720 can be built-in storage or External memory, or including both built-in storage and external memory.Built-in storage may include read-only memory, programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory or random storage Device.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..Storage device disclosed in this invention includes but not It is limited to the storage device of these types.Storage device 720 disclosed in this invention is only used as example rather than as restriction.
Input unit 730 is used to receive the input of signal, and the correlations such as selection voice document for receiving user's input are asked It asks.Input unit 730 may include touch panel and other input equipments.Touch panel collects user on it or nearby Touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel or in touch panel Neighbouring operation), and corresponding attachment device is driven according to a pre-set procedure;Other input equipments may include but unlimited In one of physical keyboard, function key (for example playing control button, switch key etc.), trace ball, mouse, operating stick etc. or It is a variety of.Display unit 740 can be used for showing user input information or be supplied to user information and computer equipment it is each Kind menu.The forms such as liquid crystal display, Organic Light Emitting Diode can be used in display unit 740.Processor 710 is computer equipment Control centre be stored in storage by running or executing using the various pieces of various interfaces and the entire computer of connection Software program and/or module in device 720, and the data being stored in storage device are called, it performs various functions and locates Manage data.
In one embodiment, computer equipment includes one or more processors 710, and one or more storage dresses 720 are set, one or more application program 700, wherein one or more of application programs 700 are stored in storage device 720 In and be configured as being executed by one or more of processors 710, one or more of application programs 700 are configured to hold Picture editing method in web page described in row above embodiments.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
It should be understood that each functional unit in various embodiments of the present invention can be integrated in a processing module, It can be physically existed alone, can also be integrated in two or more units in a module with each unit.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. picture editing method in a kind of web page characterized by comprising
User is received in web page for picture editor's instruction of target editing picture triggering, the picture editor instructs packet Include the corresponding picture identification of target editing picture;
It is instructed in response to the picture editor, is user's exhibiting pictures editing interface;
The edit commands that user triggers in the picture editor interface is received, calls picture editor's plug-in unit to the target editor Picture executes the edit commands.
2. picture editing method in web page as described in claim 1, which is characterized in that described to be compiled in response to the picture Instruction is collected, is user's exhibiting pictures editing interface, comprising:
Obtain picture editor's Permission Levels corresponding with current logon account;
If the Permission Levels are ordinary user's editing authority, calling picture editor's plug-in unit is the figure that user shows the first pattern Piece editing interface;
If the Permission Levels are special user's editing authority, calling picture editor's plug-in unit is the figure that user shows the second pattern Piece editing interface.
3. picture editing method in web page as claimed in claim 2, which is characterized in that calling picture editor's plug-in unit The edit commands is executed to the target editing picture, includes: later
Obtain picture editor's plug-in unit the target editing picture is executed generate after the edit commands when pre-editing figure Piece;
The picture identification of the current editing picture is revised as to the picture identification of the target editing picture;
The current editing picture described in picture editor's showing interface;
After the editing picture current described in picture editor's showing interface, comprising:
Receive picture store instruction;
In response to the picture store instruction, picture editor's data are obtained, determine storage mode corresponding with the Permission Levels, Picture editor's data are stored according to the storage mode;
Picture editor's data include the current editing picture, the corresponding picture identification of the current editing picture and Web page mark;
Determination storage mode corresponding with the Permission Levels includes:
If the Permission Levels are ordinary user's editing authority, determine that the storage mode is to store picture editor's data To local predetermined storage area;
If the Permission Levels are special user's editing authority, determine that the storage mode is to store picture editor's data To cloud predetermined storage area and local predetermined storage area.
4. picture editing method in web page as described in claim 1, which is characterized in that the reception user is in web page In for target editing picture triggering picture editor instruction, include: later
Obtain picture identification corresponding with the target editing picture and web page mark;
The dependent compilation picture acquisition request identified comprising the picture identification and web page is sent to cloud server;
The feedback data of cloud server is received, the feedback data includes dependent compilation picture, with the dependent compilation picture Corresponding user account information;
Wherein, the dependent compilation picture is the cloud server in response to the dependent compilation picture acquisition request, with It is determining with the picture identification in picture editor's record corresponding to the current relevant user account of logon account And web page identifies corresponding historical compilation picture;
Show the dependent compilation picture and the user account information corresponding with the dependent compilation picture.
5. picture editing method in web page as described in claim 1, which is characterized in that the reception user is in the figure For the edit commands of target editing picture triggering in piece editing interface, include: later
Editor's keyword corresponding with the target editing picture is extracted from the edit commands;
The determining historical compilation picture with editor's Keywords matching from the corresponding picture editor's record of current logon account;
Show the historical compilation picture with editor's Keywords matching.
6. picture editing method in web page as described in claim 1, which is characterized in that the reception user is in the figure The edit commands triggered in piece editing interface is called picture editor's plug-in unit to execute the editor to the target editing picture and is ordered It enables, comprising:
If the edit commands includes the uploading pictures for being used to replace the target editing picture that user uploads, institute is extracted respectively State the image attribute information of uploading pictures and the image attribute information of the target editing picture, the image attribute information packet Include picture file type, dimension of picture information;
The image attribute information of the image attribute information of the uploading pictures and the target editing picture is compared;
If comparison is consistent, call picture editor's plug-in unit that the target editing picture is replaced the uploading pictures, described in displaying Uploading pictures;
If comparison is inconsistent, show that the uploading pictures can not replace the prompting message of the target editing picture.
7. picture editing method in web page as described in claim 1, which is characterized in that the reception user is in web page In for target editing picture triggering picture editor instruction, include: before
Web page browsing instructions are received, the web page browsing instructions include the corresponding page iden-tity of target browsing web page;
Whether the page iden-tity that the target browsing web page is inquired in predetermined storage area has corresponding picture editor's number According to;
If there are corresponding picture editor's data, the target is loaded according to picture editor's data and browses web page.
8. picture editor's device in a kind of web page characterized by comprising
Edit instruction receiving module refers in web page for the picture editor of target editing picture triggering for receiving user It enables, picture editor's instruction includes the corresponding picture identification of target editing picture;
Showing interface module is user's exhibiting pictures editing interface for instructing in response to the picture editor;
Picture editor is called in command execution module, the edit commands triggered in the picture editor interface for receiving user Plug-in unit executes the edit commands to the target editing picture.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor It is realized when row such as picture editing method in the described in any item web pages of claim 1-7.
10. a kind of computer equipment, which is characterized in that the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as picture editing method in the described in any item web pages of claim 1-7.
CN201811088960.2A 2018-09-18 2018-09-18 Picture editing method, device, medium and computer equipment in web page Pending CN109460521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811088960.2A CN109460521A (en) 2018-09-18 2018-09-18 Picture editing method, device, medium and computer equipment in web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811088960.2A CN109460521A (en) 2018-09-18 2018-09-18 Picture editing method, device, medium and computer equipment in web page

Publications (1)

Publication Number Publication Date
CN109460521A true CN109460521A (en) 2019-03-12

Family

ID=65606787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811088960.2A Pending CN109460521A (en) 2018-09-18 2018-09-18 Picture editing method, device, medium and computer equipment in web page

Country Status (1)

Country Link
CN (1) CN109460521A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159441A (en) * 2019-12-25 2020-05-15 北大方正集团有限公司 Picture editing method, picture editing apparatus, and computer-readable storage medium
CN111340916A (en) * 2020-03-18 2020-06-26 Oppo广东移动通信有限公司 Picture editing method and device, storage medium and terminal
WO2020192383A1 (en) * 2019-03-27 2020-10-01 维沃移动通信有限公司 Page content editing method and terminal
CN112115485A (en) * 2019-06-04 2020-12-22 珠海金山办公软件有限公司 Method and device for protecting width and height of graph in document, electronic equipment and storage medium
CN112667128A (en) * 2020-12-24 2021-04-16 携程旅游网络技术(上海)有限公司 Picture processing method, system, device and medium based on browser canvas
CN112802157A (en) * 2021-01-26 2021-05-14 挂号网(杭州)科技有限公司 Picture editing method and device, electronic equipment and storage medium
CN113254822A (en) * 2021-04-20 2021-08-13 北京达佳互联信息技术有限公司 Object editing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090094514A1 (en) * 2006-02-17 2009-04-09 Ross Dargahi System and method for embedding, editing, saving, and restoring objects within a browser window
CN104239317A (en) * 2013-06-13 2014-12-24 腾讯科技(深圳)有限公司 Method and device for compiling pictures in browser
CN105654533A (en) * 2015-12-28 2016-06-08 小米科技有限责任公司 Picture editing method and picture editing device
CN107480255A (en) * 2017-08-14 2017-12-15 五莲金汇股权投资基金合伙企业(有限合伙) The method that commodity are carried out with the customization of 3D Photographing On-lines and displaying based on internet
CN108052262A (en) * 2017-12-12 2018-05-18 平安科技(深圳)有限公司 Edit page content color amending method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090094514A1 (en) * 2006-02-17 2009-04-09 Ross Dargahi System and method for embedding, editing, saving, and restoring objects within a browser window
CN104239317A (en) * 2013-06-13 2014-12-24 腾讯科技(深圳)有限公司 Method and device for compiling pictures in browser
CN105654533A (en) * 2015-12-28 2016-06-08 小米科技有限责任公司 Picture editing method and picture editing device
CN107480255A (en) * 2017-08-14 2017-12-15 五莲金汇股权投资基金合伙企业(有限合伙) The method that commodity are carried out with the customization of 3D Photographing On-lines and displaying based on internet
CN108052262A (en) * 2017-12-12 2018-05-18 平安科技(深圳)有限公司 Edit page content color amending method, device, terminal and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020192383A1 (en) * 2019-03-27 2020-10-01 维沃移动通信有限公司 Page content editing method and terminal
CN112115485A (en) * 2019-06-04 2020-12-22 珠海金山办公软件有限公司 Method and device for protecting width and height of graph in document, electronic equipment and storage medium
CN111159441A (en) * 2019-12-25 2020-05-15 北大方正集团有限公司 Picture editing method, picture editing apparatus, and computer-readable storage medium
CN111340916A (en) * 2020-03-18 2020-06-26 Oppo广东移动通信有限公司 Picture editing method and device, storage medium and terminal
US12008226B2 (en) 2020-03-18 2024-06-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image editing method, storage medium, and terminal device
CN112667128A (en) * 2020-12-24 2021-04-16 携程旅游网络技术(上海)有限公司 Picture processing method, system, device and medium based on browser canvas
CN112667128B (en) * 2020-12-24 2024-07-09 携程旅游网络技术(上海)有限公司 Picture processing method, system, equipment and medium based on browser canvas
CN112802157A (en) * 2021-01-26 2021-05-14 挂号网(杭州)科技有限公司 Picture editing method and device, electronic equipment and storage medium
CN112802157B (en) * 2021-01-26 2024-03-12 挂号网(杭州)科技有限公司 Picture editing method, device, electronic equipment and storage medium
CN113254822A (en) * 2021-04-20 2021-08-13 北京达佳互联信息技术有限公司 Object editing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109460521A (en) Picture editing method, device, medium and computer equipment in web page
CN102918484B (en) Comprise the web app locking of taskbar locking
CN111475246A (en) Applet page display method, device, terminal and storage medium
US9875284B1 (en) Displaying search completion results
US20070002077A1 (en) Methods and System for Providing Information Services Related to Visual Imagery Using Cameraphones
US20150106723A1 (en) Tools for locating, curating, editing, and using content of an online library
US20180246937A1 (en) Collection and control of user activity information and activity user interface
US20110289117A1 (en) Systems and methods for user controllable, automated recording and searching of computer activity
WO2010000919A1 (en) Unified navigation model between multiple applications
CN104239313A (en) Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal
CN108984707B (en) Method, device, terminal equipment and storage medium for sharing personal information
US20210274106A1 (en) Video processing method, apparatus, and device and storage medium
CN108369600A (en) Web browser extends
US20170235706A1 (en) Effecting multi-step operations in an application in response to direct manipulation of a selected object
KR20170054407A (en) Personalized contextual menu for inserting content in a current application
CN103562908A (en) File access with different file hosts
US11416319B1 (en) User interface for searching and generating graphical objects linked to third-party content
CN103995601A (en) Method and device for achieving input method
CN109559190A (en) Insurance products data push method, device, medium and computer equipment
EP3602425A1 (en) Control of displayed activity information using navigational mnemonics
CN111596911A (en) Method and device for generating control, computer equipment and storage medium
CN112817817A (en) Buried point information query method and device, computer equipment and storage medium
CN113918522A (en) File generation method and device and electronic equipment
CN106503062B (en) Social dynamic publishing method and device and user terminal
CN112579935B (en) Page display method, device and equipment

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