CN108052262A - Edit page content color amending method, device, terminal and storage medium - Google Patents

Edit page content color amending method, device, terminal and storage medium Download PDF

Info

Publication number
CN108052262A
CN108052262A CN201711316896.4A CN201711316896A CN108052262A CN 108052262 A CN108052262 A CN 108052262A CN 201711316896 A CN201711316896 A CN 201711316896A CN 108052262 A CN108052262 A CN 108052262A
Authority
CN
China
Prior art keywords
color
parameter
content
page
courseware
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
CN201711316896.4A
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 CN201711316896.4A priority Critical patent/CN108052262A/en
Priority to PCT/CN2018/077102 priority patent/WO2019114133A1/en
Publication of CN108052262A publication Critical patent/CN108052262A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Abstract

The present invention relates to a kind of edit page content color amending method, device, terminal and storage medium, the described method includes:Obtain content color modification instruction in the courseware online editing page;Color device window is picked up according to content color modification instruction displaying in the courseware online editing page;Obtain the color parameter inputted in the parameter input frame for picking up color device window;The color parameter got is converted into colour disk positional parameter;Color of object is positioned in colour disk in described pick up in color device window according to the colour disk positional parameter;It is the color of object by the corresponding content modification of content identification in content color modification instruction.Color parameter in input frame positions color of object in colour disk, it is selective to provide more colors, the accuracy for choosing color of object is improved, the color mark accuracy rate of content of edit in the courseware online editing page is also improved, avoids the conflict of content-label color.

Description

Edit page content color amending method, device, terminal and storage medium
Technical field
The present invention relates to page data processing technology field, more particularly to edit page content color amending method, dress It puts, terminal and storage medium.
Background technology
With the development of Internet technology, more and more data are all by the Internet transmission.With internet , there are various internet products, user can realize various application functions by internet product in popularization.Even user passes through Terminal can be with online editing courseware.
However, when user edits courseware in the courseware online editing page of terminal display, in the courseware online editing page It is different colors to need the curriculum offering in courseware, but during traditional online editing, simply by default limited The color of quantity is selective, and number of colors is limited, and the color mark for reducing content of edit in the courseware online editing page is accurate Rate.
The content of the invention
Based on this, it is necessary to be asked for the color mark accuracy rate of content of edit in the courseware online editing page is low Topic, provides a kind of edit page content color amending method, device, terminal and storage medium.
A kind of edit page content color amending method, the described method includes:
Obtain content color modification instruction in the courseware online editing page;
Color device window is picked up according to content color modification instruction displaying in the courseware online editing page;
Obtain the color parameter inputted in the parameter input frame for picking up color device window;
The color parameter got is converted into colour disk positional parameter;
Color of object is positioned in colour disk in described pick up in color device window according to the colour disk positional parameter;
It is the color of object by the corresponding content modification of content identification in content color modification instruction.
A kind of edit page content color changes device, which is characterized in that described device includes:
Instruction acquisition module is changed, for obtaining content color modification instruction in the courseware online editing page;
Color device display module is picked up, for being opened up according to content color modification instruction in the courseware online editing page Show ten color device windows;
Color parameter acquisition module, for obtaining the color parameter inputted in the parameter input frame for picking up color device window;
Positional parameter modular converter, for the color parameter got to be converted to colour disk positional parameter;
Color of object locating module, for being positioned according to the colour disk positional parameter in described pick up in color device window in colour disk Color of object;
Content color modifying module, for being by the corresponding content modification of content identification in content color modification instruction The color of object.
A kind of terminal, the terminal include memory, processor and are stored on the memory and can be in the processing The computer program run on device is realized when the processor performs the computer program and provided in any embodiment of the present invention Edit page content color amending method the step of.
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of edit page content color amending method provided in any embodiment of the present invention is provided when being executed by processor.
Above-mentioned edit page content color amending method, device, terminal and storage medium, are getting courseware online editing In the page after content color modification instruction, color device window is picked up according to content color modification instruction displaying in the courseware online editing page Mouthful, picking up color device window includes parameter input frame and colour disk.Get parms the color parameter inputted in input frame, by color parameter Colour disk positional parameter is converted to, color of object is positioned in colour disk according to colour disk positional parameter, it would be desirable to carry out color modification Content modification is color of object.Color device window is picked up in displaying in the courseware online editing page, can be according to the color in input frame Parameter positions color of object in colour disk, provides that more colors are selective, improves the accuracy for choosing color of object, The color mark accuracy rate of content of edit in the courseware online editing page is improved, avoids the conflict of content-label color.
Description of the drawings
Fig. 1 is the applied environment figure of edit page content color amending method in one embodiment;
Fig. 2 is the flow diagram of edit page content color amending method in one embodiment;
Fig. 3 is flow diagram the step of showing the courseware online editing page in one embodiment;
Fig. 4 is flow diagram the step of color parameter is added in one embodiment;
The flow diagram for the step of Fig. 5 is one embodiment transfer colour changing disk positional parameter;
Fig. 6 is the structure diagram that edit page content color changes device in one embodiment;
Fig. 7 is the structure diagram that edit page content color changes device in another embodiment;
Fig. 8 is the structure diagram that edit page content color changes device in further embodiment;
Fig. 9 is the structure diagram of the terminal in edit page content color modification system in one embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of edit page content color amending method in one embodiment.With reference to Fig. 1, the editor Content of pages color amending method is applied to edit page content color and changes system.Edit page content color changes system bag Terminal 110 and server 120 are included, wherein terminal 110 is connected by network with server 120.Terminal 110 can be fixed whole End or mobile terminal, fixed terminal can be specifically at least one of printer, scanner and monitor, and mobile terminal is specific Can be tablet computer, smart mobile phone, personal digital assistant and digital magazine at least one.
As shown in Fig. 2, in one embodiment, provide a kind of edit page content color amending method, the present embodiment with This method is come applied to the terminal 110 in Fig. 1 for example, this method specifically includes herein below:
S202 obtains content color modification instruction in the courseware online editing page.
Specifically, the courseware online editing page is shown in terminal 110.The courseware online editing page is for editing courseware And the page of long connection is established with server.User by the input equipment of terminal 110 in the courseware online editing page into Row operation.Terminal 110 obtains the content mark of chosen content when content selectes operation in detecting the courseware online editing page Know, after content identification is got, when detecting color change operation, color device call function mark is picked up in acquisition, according to getting Content identification and pick up the mark generation content color modification instruction of color device call function.Wherein, content identification is selected for identifying The unique mark of content, it is interior with mark can be specifically location information of the chosen content in the courseware online editing page.
In one embodiment, courseware editor's data in the 110 timing acquisition courseware online editing page of terminal, will obtain The courseware editor's data got are stored in server by the courseware editor data arrived by long linkup transmit to server 120 In 120.Terminal 110 monitors the unlatching of the courseware online editing page again after the courseware online editing page is by abnormal close Instruction then displays whether to recover the prompting message of courseware editor's data.Terminal 110 is receiving courseware editor data recovery number During according to instruction, courseware editor's data that last time preserves are obtained from server 120, according to the courseware editor's data got Recover the courseware content of edit in the courseware online editing page.
In one embodiment, S202 specifically further includes herein below:In in the courseware online editing page is listened to When appearance chooses operation, the content identification for choosing content is obtained, and shows content operation toolbar;Listening to content operation work When color change button in tool column is clicked, the modification instruction of content color is generated according to content identification.
Specifically, terminal 110 monitors the operation in the courseware online editing page, is listening to courseware online editing When content in the page chooses operation, obtain institute in content content identification, obtain toolbar call function, execution toolbar tune Toolbar script is obtained with function, content operation toolbar is drawn according to toolbar script, by the content operation toolbar of drafting It is illustrated in the courseware online editing page.Color change button is provided in content operation toolbar.Terminal 110 is in listening to When color change button in appearance operation instrument column is clicked, referred to according to the content identification generation content color modification got Order.
S204 picks up color device window according to content color modification instruction displaying in the courseware online editing page.
Specifically, terminal 110 is extracted in the modification instruction of content color and picks up color device call function mark, according to picking up color device tune Color device call function is picked up with function identification inquiry, the color device call function acquisition of picking up inquired is performed and picks up color device drafting script, root It is shown in the courseware online editing page according to picking up color device and drawing script and picks up color device window.
In one embodiment, S204 specifically further includes herein below:It is looked into according to the modification instruction of content color from server Inquiry picks up color device and draws script;Color device window is picked up in color device drafting script drafting of picking up according to inquiring;Color device window is picked up into drafting It is illustrated in the courseware online editing page.
Specifically, the default color device that picks up is store in server 120 and draws script, it is for drawing to pick up color device and draw script Pick up the code file of color device window.Terminal 110 changes interior appearance color instruction parsing, and picking up color device by parsing extraction identifies, root Request is obtained according to color device mark generation script is picked up, script is obtained request is sent to server 120.Server 120 is to receiving Script obtain request parsed, by parse extraction pick up color device identify, inquire about the color device that picks up corresponding with picking up color device mark and paint The color device drafting script that picks up inquired is back to terminal 110 by script processed.Terminal 110 calls browser loading to pick up the drafting of color device Script draws script drafting and picks up color device window according to the color device that picks up of loading, and by the color device window that picks up of drafting, to be illustrated in courseware online In edit page.
In one embodiment, terminal 110 supervises the mouse event in the courseware online editing page by browser It listens, according to the mouse event listened to updating source DOM (Document Object Model, DOM Document Object Model), and meanwhile it is right Colour disk is initialized, and after source DOM updates are monitored, HTML5 Canvas labels is called to draw colour disk, will be predefined Pointer drag event and click on take color event with drafting colour disk bound.
S206 obtains the color parameter inputted in the parameter input frame for picking up color device window.
Specifically, pick up and parameter input frame and parameter submitting button are provided in color device window, parameter input frame is used for user Input color parameter.Terminal 110 when listening to parameter submitting button and being clicked, pick up in color device window in parameter input frame by acquisition Color parameter.
The color parameter got is converted to colour disk positional parameter by S208.
Specifically, terminal 110 is after color parameter is obtained, according to color parameter and the correspondence of colour disk positional parameter, The color parameter got is converted into colour disk positional parameter.Colour disk positional parameter be for identifying the parameter of position in colour disk, Can be specifically the coordinate parameters in colour disk.Color parameter is for representing the parameter of color category.
S210 positions color of object in color device window is picked up according to colour disk positional parameter in colour disk.
Specifically, terminal 110 is picking up color after color parameter is converted to colour disk positional parameter according to colour disk positional parameter Position is determined in the colour disk of device window, the position determined from colour disk goes out to extract corresponding color, extracts color as target face Color.
The corresponding content modification of content identification in the modification instruction of content color is color of object by S212.
Specifically, terminal 110 extracts content identification during content modification is instructed, according to content identification in courseware online editing Content of edit is determined in the page, definite content of edit is revised as color of object.
In one embodiment, content identification can be in component mark or text point.Terminal 110 is according to component mark Knowledge or text point determine component or word in the courseware online editing page, and the color of definite component or word is revised as Color of object.
In the present embodiment, in the courseware online editing page is got after content color modification instruction, according to content color Color device window is picked up in modification instruction displaying in the courseware online editing page, and picking up color device window includes parameter input frame and colour disk. Get parms the color parameter inputted in input frame, color parameter is converted to colour disk positional parameter, according to colour disk positional parameter Color of object is positioned in colour disk, it would be desirable to which the content modification for carrying out color modification is color of object.In courseware online editing page Color device window is picked up in displaying in face, color of object can be positioned in colour disk according to the color parameter in input frame, provides more Color it is selective, improve choose color of object accuracy, also improve content of edit in the courseware online editing page Color mark accuracy rate avoids the conflict of content-label color.
As shown in figure 3, in one embodiment, the step of the display courseware online editing page is specifically further included before S202 Suddenly, which specifically includes herein below:
S302 generates edit page request of data according to the user account of input.
Specifically, user inputs user account in the login page of terminal 110, clicks on login button.Terminal 110 is being examined When measuring the login button of login page and being clicked, the user account of input is obtained, is generated and edited according to the user account of acquisition Page data request.
Edit page request of data is sent to server by S304.
Specifically, terminal 110 obtains default server address, according to default server address by edit page data Request is sent to server 120.Edit page request of data is used to obtain the request of courseware edit page data from server.
S306 receives the courseware online editing page data that server is returned according to edit page request of data.
Specifically, server 120 solves edit page request of data after edit page request of data is received Analysis extracts user account in edit page request of data by parsing, the user account extracted is verified, verification extraction To user account whether in authorized user's list, if the user account extracted, in authorized user's list, verification is logical It crosses, courseware online editing page data is returned to terminal 110.Terminal 110 receives the courseware online editing page that server 120 returns Face data.
S308 shows the courseware online editing page in a browser according to courseware online editing page data.
Specifically, terminal 110 calls browser, is rendered by browser according to courseware online editing page data is received The courseware online editing page, in a browser display render the courseware online editing page of generation.
In one embodiment, terminal 110 shows the courseware online editing page in a browser, passes through browser and service Device establishes long connection, and browser periodically obtains the content of edit in the courseware online editing page, the content of edit got is led to Long linkup transmit to server 120, server 120 stores the content of edit received.
In the present embodiment, edit page request of data is generated according to the user account of input, it is ensured that server is according to editor Page data request returns to courseware online editing page data, ensure that the access security of courseware online editing page data.
As shown in figure 4, in one embodiment, the step of adding color parameter, the step are specifically further included before S206 Specifically include herein below:
S402 after color parameter sets the indicator slide block of item to slide in ten color device windows are detected, obtains color parameter Indicator slide block position in item is set.
Specifically, pick up and color parameter setting item is provided in color device serial ports, color parameter, which is set, is provided with pointer cunning on item Block, color parameter set item to be provided with parameter area.User is set on item color parameter by the input equipment of terminal 110 Indicator slide block, which pull, to be slided to input corresponding color parameter.Finger of the terminal 110 on color parameter setting item is detected After pin sliding block is slided, indicator slide block position in color parameter sets item is obtained.
S404, according to the indicator slide block location determination color parameter got.
Specifically, color parameter sets item to be provided with parameter area, and terminal 110 is after indicator slide block position is got, root Color parameter is determined according to the parameter area for getting position and color parameter setting item.
For example, color parameter sets item to set item for transparency, transparency sets the parameter area of item as 0%-100%, If indicator slide block transparency set item half at, it is determined that color parameter be 50%;It is initial position with 0%, If indicator slide block transparency set item 3/4ths at, it is determined that color parameter be 75%.
Color parameter is added in the parameter input frame of ten color device windows by S406.
Specifically, terminal 110 is after color parameter is determined, inquiry parameter input frame corresponding with color parameter setting item, Definite color parameter is added in the parameter input frame inquired.
In the present embodiment, after color parameter sets the indicator slide block of item to slide in ten color device windows are detected, Ke Yigen According to position of the indicator slide block in color parameter sets item, determine corresponding color parameter, add the input side of color parameter Formula directly carries out indicator slide block to pull the input that color parameter can be completed, improves the input efficiency of color parameter.
As shown in figure 5, in one embodiment, S208 specifically includes the step of converting colour disk positional parameter, step tool Body includes herein below:
S502 identifies the parameter type of the color parameter got.
Specifically, parameter type can be RGBA parameters, HSB parameters or HEX parameters.Wherein, in RGBA, R represents red (Red), G is represented green (Green), and B represents that blueness blue, A represent transparency (Alpha);In HSB, H (Hue) represents form and aspect, S (Saturation) represents saturation degree, and B (Brightness) represents brightness;HEX parameters are by hexadecimal representation color Code, such as the HEX parameters of lightpink are #FFB6C1;The HEX parameters of the purple of orchid are #DA70D6.
After terminal 110 gets color parameter, color parameter is identified according to the form of various parameters type, is passed through Identification determines the matched form of the color parameter got institute, the corresponding parameter type of matched form is determined, with definite ginseng Parameter type of several classes of types as the color parameter got.
In one embodiment, the parameter correspondence of each color parameter type between any two is store in terminal 110.Eventually End 110 is after the parameter type of the color parameter got is recognized, the corresponding parameter correspondence of query parameter type, according to The color parameter got is converted to the color parameter of different parameters type by the correspondence inquired, obtains various parameters class Obtained color parameter is added in the corresponding input frame of parameter type by the corresponding color parameter of type.
For example, the parameter type of the color parameter got is RGBA parameters, pair of inquiry RGBA parameters and HSB parameters It should be related to and the correspondence of RGBA parameters and HEX parameters, according to the RGBA parameters inquired pass corresponding with HSB parameters RGBA Parameter Switch is HSB parameters by system, is turned RGBA parameters according to the correspondence of the RGBA parameters inquired and HEX parameters HEX parameters are changed to, the HSB parameters being converted to are added to the HSB parameter input frames in ten color device windows, while will be converted To HEX parameters be added to HEX parameter input frames in ten color device windows.
S504 inquires about colour disk positional parameter transformational relation corresponding with parameter type.
Specifically, the corresponding colour disk positional parameter transformational relation of various parameters type is store in terminal 110.Terminal 110 after the parameter type of color parameter is determined, inquires about colour disk positioning transformational relation corresponding with definite parameter type.
The color parameter got according to the colour disk positional parameter transformational relation inquired, is converted to colour disk and determined by S506 Position parameter.
Specifically, terminal 110 is after colour disk positional parameter transformational relation is inquired, according to colour disk positional parameter transformational relation Color parameter is converted, by being converted to colour disk positional parameter.Colour disk positional parameter is color type in colour disk Coordinate parameters.
In one embodiment, colour disk positional parameter transformational relation is color parameter and the correspondence of colour disk positional parameter Table stores color parameter and colour disk positional parameter corresponding with color parameter in mapping table.Terminal 110 is closed corresponding It is that colour disk positional parameter corresponding with the color parameter got is inquired about in table.
It, will according to the parameter type recognized by identifying the parameter type of the color parameter got in the present embodiment The color parameter got is converted to colour disk positional parameter, to ensure that the parameter type according to color parameter converts color parameter For accurate colour disk positional parameter, so as to improve the accuracy to get colors in colour disk.
As shown in fig. 6, in one embodiment, provide a kind of edit page content color modification device 600, device tool Body includes herein below:Modification instruction acquisition module 602 picks up color device display module 604, color parameter acquisition module 606, positioning Parameter Switch module 608, color of object locating module 610 and content color modifying module 612.
Instruction acquisition module 602 is changed, for obtaining content color modification instruction in the courseware online editing page.
Color device display module 604 is picked up, is picked up for being shown according to the modification instruction of content color in the courseware online editing page Color device window.
Color parameter acquisition module 606, for obtaining the color parameter inputted in the parameter input frame for picking up color device window.
Positional parameter modular converter 608, for the color parameter got to be converted to colour disk positional parameter.
Color of object locating module 610, for positioning target in colour disk in color device window is picked up according to colour disk positional parameter Color.
Content color modifying module 612, for being by the corresponding content modification of content identification in the modification instruction of content color Color of object.
In the present embodiment, in the courseware online editing page is got after content color modification instruction, according to content color Color device window is picked up in modification instruction displaying in the courseware online editing page, and picking up color device window includes parameter input frame and colour disk. Get parms the color parameter inputted in input frame, color parameter is converted to colour disk positional parameter, according to colour disk positional parameter Color of object is positioned in colour disk, it would be desirable to which the content modification for carrying out color modification is color of object.In courseware online editing page Color device window is picked up in displaying in face, color of object can be positioned in colour disk according to the color parameter in input frame, provides more Color it is selective, improve choose color of object accuracy, also improve content of edit in the courseware online editing page Color mark accuracy rate avoids the conflict of content-label color.
As shown in fig. 7, in one embodiment, edit page content color modification device 600 is specifically further included in following Hold:Request of data generation module 614, request of data sending module 616, page data receiving module 618 and edit page are shown Module 620.
Request of data generation module 614, for generating edit page request of data according to the user account of input.
Request of data sending module 616, for edit page request of data to be sent to server.
Page data receiving module 618, it is online according to the courseware that edit page request of data returns for receiving server Edit page data.
Edit page display module 620, for showing that courseware exists in a browser according to courseware online editing page data Line edit page.
In the present embodiment, edit page request of data is generated according to the user account of input, it is ensured that server is according to editor Page data request returns to courseware online editing page data, ensure that the access security of courseware online editing page data.
In one embodiment, modification instruction acquisition module 602 is additionally operable in the courseware online editing page is listened to When content chooses operation, the content identification for choosing content is obtained, and shows content operation toolbar;Listening to content operation When color change button in toolbar is clicked, the modification instruction of content color is generated according to content identification.
In one embodiment, color device display module 604 is picked up to be additionally operable to be looked into from server according to the modification instruction of content color Inquiry picks up color device and draws script;Color device window is picked up in color device drafting script drafting of picking up according to inquiring;Color device window is picked up into drafting It is illustrated in the courseware online editing page.
As shown in figure 8, in one embodiment, edit page content color modification device 600 is specifically further included in following Hold:Slide position acquisition module 622, color parameter determining module 624 and color parameter add module 626.
Slide position acquisition module 622, for the indicator slide block of the color parameter setting item in ten color device windows are detected After slip, the indicator slide block position in color parameter setting item is obtained.
Color parameter determining module 624, for according to the indicator slide block location determination color parameter got;
Color parameter add module 626, for color parameter to be added in the parameter input frame of ten color device windows.
In the present embodiment, after color parameter sets the indicator slide block of item to slide in ten color device windows are detected, Ke Yigen According to position of the indicator slide block in color parameter sets item, determine corresponding color parameter, add the input side of color parameter Formula directly carries out indicator slide block to pull the input that color parameter can be completed, improves the input efficiency of color parameter.
In one embodiment, positional parameter modular converter 608 is additionally operable to the parameter class for the color parameter that identification is got Type;Inquiry colour disk positional parameter transformational relation corresponding with parameter type;According to the colour disk positional parameter transformational relation inquired, The color parameter got is converted into colour disk positional parameter.
It, will according to the parameter type recognized by identifying the parameter type of the color parameter got in the present embodiment The color parameter got is converted to colour disk positional parameter, to ensure that the parameter type according to color parameter converts color parameter For accurate colour disk positional parameter, so as to improve the accuracy to get colors in colour disk.
Fig. 9 is the internal structure signal of the terminal 110 in Fig. 1 edit page content color modification systems in one embodiment Figure.As shown in figure 9, the terminal 110 includes the processor, non-volatile memory medium, memory, the net that are connected by system bus Network interface, display screen and input unit.The processor of terminal 110 supports entire terminal 110 for providing calculating and control ability Operation, memory is for storing data, code command etc., and network interface is used for and server 120 carries out network communication.Storage At least one computer program is stored on device, which can be executed by processor, to realize in the embodiment of the present application The edit page content color amending method suitable for terminal 110 provided.Memory may include magnetic disc, CD, read-only storage The non-volatile memory mediums such as memory body (Read-Only Memory, ROM).For example, in one embodiment, memory includes Non-volatile memory medium and built-in storage;Non-volatile memory medium is stored with operating system and computer program, the calculating Machine program can be executed by processor to realize above-mentioned edit page content color amending method;Built-in storage is deposited to be non-volatile Operating system and computer executable instructions in storage media provide the running environment of cache.
The embodiment of the present invention proposes a kind of terminal, which includes a series of computer journeys being stored on memory Sequence when the computer program is executed by processor, can realize the edit page content color that various embodiments of the present invention propose Amending method.In some embodiments, the specific operation realized based on the computer program each several part.
In one embodiment, terminal includes memory, processor and is stored on the memory and can be at the place The computer program run on reason device, the processor realize following steps when performing the computer program:Courseware is obtained to exist Content color modification instruction in line edit page;Color is picked up according to content color modification instruction displaying in the courseware online editing page Device window;Obtain the color parameter inputted in the parameter input frame for picking up color device window;The color parameter got is converted into color Disk positional parameter;Color of object is positioned in colour disk in color device window is picked up according to colour disk positional parameter;The modification of content color is referred to The corresponding content modification of content identification is color of object in order.
In one embodiment, obtain in the courseware online editing page before content color modification instruction, the processor Following steps are also realized when performing the computer program:Edit page request of data is generated according to the user account of input;It will Edit page request of data is sent to server;Receive the courseware online editing that server is returned according to edit page request of data Page data;The courseware online editing page is shown according to courseware online editing page data in a browser.
In one embodiment, content color modification instruction in the courseware online editing page is obtained, including:Listening to class When content in the part online editing page chooses operation, the content identification for choosing content is obtained, and shows content operation instrument Column;When the color change button in listening to content operation toolbar is clicked, content color is generated according to content identification and is repaiied Change instruction.
In one embodiment, color device window is picked up according to content color modification instruction displaying in the courseware online editing page Mouthful, including:Color device is picked up from server inquiry according to content color modification instruction and draws script;The color device that picks up according to inquiring is drawn Color device window is picked up in script drafting;The color device window that picks up of drafting is illustrated in the courseware online editing page.
In one embodiment, before obtaining the color parameter inputted in the parameter input frame for picking up color device window, the place Reason device also realizes following steps when performing the computer program:Color parameter sets the finger of item in ten color device windows are detected After pin sliding block slides, the indicator slide block position in color parameter setting item is obtained;According to the indicator slide block location determination got Color parameter;Color parameter is added in the parameter input frame of ten color device windows.
In one embodiment, the color parameter got is converted into colour disk positional parameter, including:What identification was got The parameter type of color parameter;Inquiry colour disk positional parameter transformational relation corresponding with parameter type;According to the colour disk inquired The color parameter got is converted to colour disk positional parameter by positional parameter transformational relation.
In the present embodiment, in the courseware online editing page is got after content color modification instruction, according to content color Color device window is picked up in modification instruction displaying in the courseware online editing page, and picking up color device window includes parameter input frame and colour disk. Get parms the color parameter inputted in input frame, color parameter is converted to colour disk positional parameter, according to colour disk positional parameter Color of object is positioned in colour disk, it would be desirable to which the content modification for carrying out color modification is color of object.In courseware online editing page Color device window is picked up in displaying in face, color of object can be positioned in colour disk according to the color parameter in input frame, provides more Color it is selective, improve choose color of object accuracy, also improve content of edit in the courseware online editing page Color mark accuracy rate avoids the conflict of content-label color.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor During row so that the processor performs following steps:Obtain content color modification instruction in the courseware online editing page;According to interior Color device window is picked up in appearance color modification instruction displaying in the courseware online editing page;It obtains in the parameter input frame for picking up color device window The color parameter of input;The color parameter got is converted into colour disk positional parameter;Color device is being picked up according to colour disk positional parameter Color of object is positioned in window in colour disk;It is target face by the corresponding content modification of content identification in the modification instruction of content color Color.
In one embodiment, obtain in the courseware online editing page before content color modification instruction, the processor Also perform following steps:Edit page request of data is generated according to the user account of input;Edit page request of data is sent To server;Receive the courseware online editing page data that server is returned according to edit page request of data;Existed according to courseware Line edit page data show the courseware online editing page in a browser.
In one embodiment, content color modification instruction in the courseware online editing page is obtained, including:Listening to class When content in the part online editing page chooses operation, the content identification for choosing content is obtained, and shows content operation instrument Column;When the color change button in listening to content operation toolbar is clicked, content color is generated according to content identification and is repaiied Change instruction.
In one embodiment, color device window is picked up according to content color modification instruction displaying in the courseware online editing page Mouthful, including:Color device is picked up from server inquiry according to content color modification instruction and draws script;The color device that picks up according to inquiring is drawn Color device window is picked up in script drafting;The color device window that picks up of drafting is illustrated in the courseware online editing page.
In one embodiment, before obtaining the color parameter inputted in the parameter input frame for picking up color device window, the place Reason device also performs following steps:After color parameter sets the indicator slide block of item to slide in ten color device windows are detected, face is obtained Indicator slide block position in color parameter setting item;According to the indicator slide block location determination color parameter got;By color parameter It is added in the parameter input frame of ten color device windows.
In one embodiment, the color parameter got is converted into colour disk positional parameter, including:What identification was got The parameter type of color parameter;Inquiry colour disk positional parameter transformational relation corresponding with parameter type;According to the colour disk inquired The color parameter got is converted to colour disk positional parameter by positional parameter transformational relation.
In the present embodiment, in the courseware online editing page is got after content color modification instruction, according to content color Color device window is picked up in modification instruction displaying in the courseware online editing page, and picking up color device window includes parameter input frame and colour disk. Get parms the color parameter inputted in input frame, color parameter is converted to colour disk positional parameter, according to colour disk positional parameter Color of object is positioned in colour disk, it would be desirable to which the content modification for carrying out color modification is color of object.In courseware online editing page Color device window is picked up in displaying in face, color of object can be positioned in colour disk according to the color parameter in input frame, provides more Color it is selective, improve choose color of object accuracy, also improve content of edit in the courseware online editing page Color mark accuracy rate avoids the conflict of content-label color.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between In matter, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, foregoing storage medium can be The non-volatile memory mediums such as magnetic disc, CD, read-only memory (Read-Only Memory, ROM).
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that come for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of edit page content color amending method, which is characterized in that the described method includes:
Obtain content color modification instruction in the courseware online editing page;
Color device window is picked up according to content color modification instruction displaying in the courseware online editing page;
Obtain the color parameter inputted in the parameter input frame for picking up color device window;
The color parameter got is converted into colour disk positional parameter;
Color of object is positioned in colour disk in described pick up in color device window according to the colour disk positional parameter;
It is the color of object by the corresponding content modification of content identification in content color modification instruction.
2. according to the method described in claim 1, it is characterized in that, content color is repaiied in the acquisition courseware online editing page Before changing instruction, further include:
Edit page request of data is generated according to the user account of input;
The edit page request of data is sent to server;
Receive the courseware online editing page data that the server is returned according to the edit page request of data;
The courseware online editing page is shown according to the courseware online editing page data in a browser.
3. according to the method described in claim 2, it is characterized in that, content color is repaiied in the acquisition courseware online editing page Change instruction, including:
When the content in listening to the courseware online editing page chooses operation, the content identification for choosing content is obtained, And show content operation toolbar;
When the color change button in listening to the content operation toolbar is clicked, according in content identification generation The modification instruction of appearance color.
4. according to the method described in claim 3, it is characterized in that, described instruct according to content color modification in the class Color device window is picked up in displaying in the part online editing page, including:
Color device is picked up from server inquiry according to content color modification instruction and draws script;
Color device window is picked up in color device drafting script drafting of picking up according to inquiring;
The color device window that picks up of drafting is illustrated in the courseware online editing page.
5. according to the method described in claim 4, it is characterized in that, described obtain in the parameter input frame for picking up color device window Before the color parameter of input, further include:
After detecting that the indicator slide block for picking up color parameter setting item in color device window slides, obtain the color parameter and set Put the indicator slide block position in item;
According to color parameter described in the indicator slide block location determination got;
The color parameter is added in the parameter input frame for picking up color device window.
6. according to the method described in claim 5, it is characterized in that, described be converted to colour disk positioning by the color parameter got Parameter, including:
Identify the parameter type of the color parameter got;
Inquiry colour disk positional parameter transformational relation corresponding with the parameter type;
According to the colour disk positional parameter transformational relation inquired, the color parameter got is converted into colour disk positioning ginseng Number.
7. a kind of edit page content color changes device, which is characterized in that described device includes:
Instruction acquisition module is changed, for obtaining content color modification instruction in the courseware online editing page;
Color device display module is picked up, is picked up for being shown according to content color modification instruction in the courseware online editing page Color device window;
Color parameter acquisition module, for obtaining the color parameter inputted in the parameter input frame for picking up color device window;
Positional parameter modular converter, for the color parameter got to be converted to colour disk positional parameter;
Color of object locating module, for positioning target in colour disk in described pick up in color device window according to the colour disk positional parameter Color;
Content color modifying module, for being described by the corresponding content modification of content identification in content color modification instruction Color of object.
8. device according to claim 7, which is characterized in that described device further includes:
Request of data generation module, for generating edit page request of data according to the user account of input;
Request of data sending module, for the edit page request of data to be sent to server;
Page data receiving module, it is online according to the courseware that the edit page request of data returns for receiving the server Edit page data;
Edit page display module, for showing that courseware is compiled online in a browser according to the courseware online editing page data Collect the page.
9. a kind of terminal, the terminal includes memory, processor and is stored on the memory and can be in the processor The computer program of upper operation, the processor are realized when performing the computer program any one of claim 1 to 6 The step of method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method according to any one of claims 1 to 6 is realized when being executed by processor.
CN201711316896.4A 2017-12-12 2017-12-12 Edit page content color amending method, device, terminal and storage medium Pending CN108052262A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711316896.4A CN108052262A (en) 2017-12-12 2017-12-12 Edit page content color amending method, device, terminal and storage medium
PCT/CN2018/077102 WO2019114133A1 (en) 2017-12-12 2018-02-24 Method and apparatus for altering color of editing page content, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711316896.4A CN108052262A (en) 2017-12-12 2017-12-12 Edit page content color amending method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN108052262A true CN108052262A (en) 2018-05-18

Family

ID=62124091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711316896.4A Pending CN108052262A (en) 2017-12-12 2017-12-12 Edit page content color amending method, device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN108052262A (en)
WO (1) WO2019114133A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460521A (en) * 2018-09-18 2019-03-12 平安科技(深圳)有限公司 Picture editing method, device, medium and computer equipment in web page

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105324763A (en) * 2013-06-24 2016-02-10 西姆普雷斯瑞士有限公司 System, method and user interface for designing customizable products from a mobile device
CN105760374A (en) * 2014-12-15 2016-07-13 阿里巴巴集团控股有限公司 Online page color matching method and device
CN107247693A (en) * 2017-06-05 2017-10-13 广东小天才科技有限公司 A kind of method and system of color adjustment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033305A (en) * 2015-03-20 2016-10-19 广州金山移动科技有限公司 Screen color picking method and device
CN106648659A (en) * 2016-12-22 2017-05-10 杭州铜板街互联网金融信息服务有限公司 Webpage manufacture method and system
CN106970739B (en) * 2017-03-13 2020-10-23 广州视源电子科技股份有限公司 Method and system for calling application function through global suspension tool

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105324763A (en) * 2013-06-24 2016-02-10 西姆普雷斯瑞士有限公司 System, method and user interface for designing customizable products from a mobile device
CN105760374A (en) * 2014-12-15 2016-07-13 阿里巴巴集团控股有限公司 Online page color matching method and device
CN107247693A (en) * 2017-06-05 2017-10-13 广东小天才科技有限公司 A kind of method and system of color adjustment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
小乐笑了: ""Windows画图软件:[1]拾取屏幕颜色HSL值RGB值"", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/ CBCEDE0728258002F40B4D27.HTML》 *
李响: ""基于RIA的在线多媒体课件系统的设计和研究"", 《中国西部科技》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460521A (en) * 2018-09-18 2019-03-12 平安科技(深圳)有限公司 Picture editing method, device, medium and computer equipment in web page

Also Published As

Publication number Publication date
WO2019114133A1 (en) 2019-06-20

Similar Documents

Publication Publication Date Title
US11294968B2 (en) Combining website characteristics in an automatically generated website
CN108345456A (en) Page code generation method, device, computer equipment and storage medium
CN108197114A (en) Detection method, device, storage medium and the electronic device of list data
JP7293643B2 (en) A semi-automated method, system, and program for translating the content of structured documents into chat-based interactions
CN105929980B (en) Method and apparatus for information input
CN109343705A (en) AR auxiliary does tax method and system
US20200257852A1 (en) Parameterizing and working with math equations in a spreadsheet application
CN103413002A (en) Topological graph editing method and topological graph editor
CN107767008A (en) Flow collocation method and device
CN107122295A (en) The generation method and device of test case script
CN107102786A (en) A kind of information processing method and client
CN102067117B (en) Method for displaying and operating table
CN111625471B (en) Method, device, equipment and medium for executing and processing test cases and locating abnormality
CN105631641A (en) Flow processing method and apparatus
CN103109289B (en) Based on the script edit methods of WEB, system and WEB client side
CN104427285B (en) A kind of prompt message generation method and device
CN105653528A (en) Business filed multi-modal display method and device
CN108052262A (en) Edit page content color amending method, device, terminal and storage medium
CN107832342A (en) Robot chat method and system
CN109743225B (en) Data testing method and device, storage medium and computer equipment
KR102520990B1 (en) Terminal and method for providing web link in mobile messenger and web link providing server
WO2007112131A2 (en) Automated integration of partner products
CN103106627A (en) Examination question data processing method and examination question data processing system for drawing examination
CN114490754A (en) Document auditing method and device and electronic equipment
CN104468926A (en) Method and device for controlling contact persons in mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180518