CN109871210A - Web page element amending method, device, equipment and storage medium - Google Patents
Web page element amending method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109871210A CN109871210A CN201910046792.9A CN201910046792A CN109871210A CN 109871210 A CN109871210 A CN 109871210A CN 201910046792 A CN201910046792 A CN 201910046792A CN 109871210 A CN109871210 A CN 109871210A
- Authority
- CN
- China
- Prior art keywords
- modified
- web page
- new
- client
- webpage
- 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
Links
Abstract
The invention discloses a kind of web page element amending method, device, equipment and storage mediums, this method comprises: receiving the web page element that client is sent modifies instruction, obtain element to be modified corresponding with web page element modification instruction;It is accessed according to the preset path of the element to be modified and opens corresponding element database;Rubidium marking is prestored by what client was selected from the element database as new element;The new element is replaced into the element to be modified, and by modified web displaying in front end page.The invention belongs to user-interface design technical fields, by selecting new element in element from prestoring according to web page element modification instruction, and new element is replaced into the element to be modified in webpage, web page element modification efficiency is which thereby enhanced, web page element modification difficulty is reduced.
Description
Technical field
The present invention relates to user-interface design technical field more particularly to a kind of web page element amending methods, device, equipment
And storage medium.
Background technique
When needing to modify to certain elements of publishing web page, professional website research staff is needed to be repaired according to webpage
Change demand, back end interface, front end pattern etc. be customized and melt hair, no matter the size of modifying point, require to update net
Page code.Ordinary person can not carry out any modification to webpage, thus web page element modifies inefficiency, and web page element is modified
Difficulty is big.
Summary of the invention
The present invention provides a kind of web page element amending method, device, equipment and storage medium, it is intended to improve web page element and repair
Change efficiency, reduces web page element modification difficulty.
To achieve the above object, the present invention provides a kind of web page element amending method, and the method is applied to web page element
Modify equipment, which comprises
It receives the web page element that client is sent and modifies instruction, obtain corresponding to be repaired with web page element modification instruction
It changes the title of a reign element;
It is accessed according to the preset path of the element to be modified and opens corresponding element database;
Rubidium marking is prestored by what client was selected from the element database as new element;
The new element is replaced into the element to be modified, and by modified web displaying in front end page.
Preferably, the web page element modification instruction for receiving client and sending, obtains and refers to web page element modification
Before the step of enabling corresponding element to be modified further include:
During making the webpage, the element of modifying of the webpage is marked, the element of modifying includes figure
Piece, text, video and animation;
The element database and corresponding preset path, the element database that element can be modified described in setting are used to store
It is described to prestore element.
Preferably, it is described by client selected from the element database the step of prestoring rubidium marking as new element
Include:
The inquiry of selection new element mode is sent to the client, and receives the new element that the client returns
Mode, the new element selection mode include customized new element and default new element;
If the mode of the client selection is customized new element, obtains the described of client selection and prestore member
The number of element, the number that the client is selected are numbered as new element, and new element number is corresponding pre-
Depositing rubidium marking is new element;
If it is default new element that the client, which selects the mode of selection, the preset new element default of the webpage is obtained
Rule is determined new element number from the element database by the new element default rule, and the new element is numbered
The corresponding rubidium marking that prestores is new element.
Preferably, described that the new element is replaced into the element to be modified, and by modified web displaying in front end
The step of page includes:
The configuration item of the element to be modified is obtained from web page code, the configuration item includes element number;
Element number to be modified described in the configuration item is revised as the new element number, saves modified configuration
?;
The new element is replaced into the element to be modified based on the modified configuration item, saves modified net
Page, and the modified webpage is shown in front end page.
Preferably, described that the new element is replaced by the element to be modified based on the modified configuration item, it saves
Modified webpage, and include: the step of front end page shows the modified webpage
It marks first position of the element to be modified in the webpage, and described in the webpage to be repaired is changed the title of a reign
Element is deleted;
The new element is filled to the first position and generates modified webpage;
By the modified webpage layout at portable document format pdf document, and the pdf document is sent to institute
Client is stated, for modified webpage described in the client preview;
After client is received to the confirmation instruction of the pdf document, shown in the front end page described modified
Webpage.
Preferably, described that the new element is replaced into the element to be modified, and by modified web displaying in front end
Before the step of page further include:
Judge whether the content information of the new element is consistent with the element to be modified, the content information includes described
Content information includes element type, element size and file format;
If the content information of the new element is consistent with the element to be modified, then follow the steps: by the new element generation
For the element to be modified, and by modified web displaying in front end page;
The content information of the new element and the element to be modified are inconsistent, then pop up element not by the client
Consistent prompt.
Preferably, described that the new element is replaced into the element to be modified, and by modified web displaying in front end
After the step of page further include:
The access times of element are prestored in the element database, described in update;And/or
It removes in the element database and prestores element in vain.
To achieve the above object, the embodiment of the present invention also provides a kind of web page element modification device, and the web page element is repaired
Repacking, which is set, includes:
Receiving module is obtained and is modified with the web page element for receiving the web page element modification instruction of client transmission
Instruct corresponding element to be modified;
Access modules, for being accessed according to the preset path of the element to be modified and opening corresponding element database;
Mark module prestores rubidium marking for select client from the element database as new element;
Instead of module, for the new element to be replaced the element to be modified, and by modified web displaying preceding
End page face.
To achieve the above object, the present invention also provides a kind of web page elements to modify equipment, and the web page element modifies equipment
Including processor, the web page element of memory and storage in the memory modifies program, and the web page element modifies journey
When sequence is run by the processor, the step of realizing web page element amending method as described above.
To achieve the above object, it the present invention also provides a kind of computer storage medium, is deposited in the computer storage medium
Web page element modification program is contained, the web page element modification program realizes that web page element as described above is repaired when being run by processor
The step of changing method.
Compared with prior art, the present invention provides web page element amending method, device, equipment and storage medium, receives client
The web page element that end is sent modifies instruction, obtains element to be modified corresponding with web page element modification instruction;According to described
The preset path of element to be modified accesses and opens corresponding element database;Client is selected from the element database
Prestore rubidium marking be new element;The new element is replaced into the element to be modified, and modified web displaying is existed
Front end page.The invention belongs to user-interface design technical field, by according to web page element modification instruction from prestoring in element
New element is selected, and new element is replaced into the element to be modified in webpage, web page element modification efficiency is which thereby enhanced, reduces
Web page element modification difficulty.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for the web page element modification equipment that various embodiments of the present invention are related to;
Fig. 2 is the flow diagram of web page element amending method first embodiment of the present invention;
Fig. 3 is the flow diagram of web page element amending method second embodiment of the present invention;
Fig. 4 is the functional block diagram of web page element modification device first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The web page element modification equipment that the embodiment of the present invention relates generally to refers to the network connection that can be realized network connection
Equipment, the web page element modification equipment can be server, cloud platform etc..In addition the present embodiments relate to client can
Think the network equipments such as mobile phone, computer.
Referring to Fig.1, Fig. 1 is the hardware structural diagram for the web page element modification equipment that various embodiments of the present invention are related to.This
In inventive embodiments, web page element modification equipment may include (such as the central processing unit Central of processor 1001
Processing Unit, CPU), communication bus 1002, input port 1003, output port 1004, memory 1005.Wherein,
Communication bus 1002 is for realizing the connection communication between these components;Input port 1003 is inputted for data;Output port
1004 export for data, and memory 1005 can be high speed RAM memory, be also possible to stable memory (non-
Volatile memory), such as magnetic disk storage, memory 1005 optionally can also be independently of aforementioned processor 1001
Storage device.It will be understood by those skilled in the art that hardware configuration shown in Fig. 1 and do not constitute a limitation of the invention,
It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of readable storage medium storing program for executing may include operating system, net
Network communication module, application program module and web page element modify program.In Fig. 1, network communication module is mainly used for connecting
Server carries out data communication with server;And processor 1001 can call the web page element stored in memory 1005 to repair
Change program, and executes web page element amending method provided in an embodiment of the present invention.
The embodiment of the invention provides a kind of web page element amending methods.
Referring to Fig. 2, Fig. 2 is the flow diagram of web page element amending method first embodiment of the present invention.
In the present embodiment, the web page element amending method is applied to web page element and modifies equipment, which comprises
Step S101 receives the web page element that client is sent and modifies instruction, obtains and instruct with web page element modification
Corresponding element to be modified;
In the present embodiment, the modification authority of the client is preset, and record the client with modification authority
The corresponding identification code of the client with modification authority is labeled as capability identification code, wherein the client by identification code
For the corresponding maintenance end of the webpage and or exploitation end in some or all of client, the identification code can be the visitor
The address media access control address (Media Access Control Address, MAC) at family end.
The web page element modification instruction that the client is sent is received, the modification instruction includes the mark of the client
Code, the address of webpage to be modified, element to be modified etc.;Judge whether the client has the power of amendment according to the identification code
Limit;Specifically, identification code capability identification code corresponding with the webpage is compared, if the identification code is the power
One in identification code is limited, then determines that the corresponding client of the identification code has modification authority;If the identification code is not institute
One in capability identification code is stated, then determines that the corresponding client of the identification code does not have modification authority.
It is further obtained if the client has modification authority corresponding to be repaired with web page element modification instruction
It changes the title of a reign element;If the client on the contrary does not have modification authority, the prompt without modification authority is returned to the client,
And ignore the web page element modification instruction.
Step S102 is accessed according to the preset path of the element to be modified and is opened corresponding element database;
In the present embodiment, after getting element to be modified corresponding with web page element modification instruction, then according to
The address of webpage to be modified, searches the preset path of the element to be modified, and the preset path can be local disk path
Or cloud storage path.And open the corresponding element database of the preset path.The element database can be according to the net
Specific element is divided into picture database, lteral data library, video database etc. in page, if furthermore being used for multiple times in the webpage
Certain element, according to access times is divided into the first element database, second element database for the corresponding database of the element
Deng.For example, having 3 picture elements in the webpage, then the corresponding picture database of the webpage includes the first image data
Library, second picture database and third element database.
Step S103 prestores rubidium marking for what client was selected from the element database as new element;
In the present embodiment, Xiang Suoshu client sends the inquiry of selection new element mode, and receives the client and return
The new element mode, the new element selection mode include customized new element and default new element;If the client
The mode for holding selection is customized new element, then the number for prestoring element of client selection is obtained, by the visitor
The number of family end selection is numbered labeled as new element;Specifically, in advance by the element database prestore element into
Row number.If such as 100 pictures are stored in the picture database in the element database, by 100 picture
It is numbered, makes each picture in 100 picture that all there is corresponding unique number.If the client passes through a little
It the operation such as hits, pull or double-clicks and described some element prestored in element is chosen to be new element, then obtain the new element
Number, and the number is numbered labeled as new element, and be Singapore dollar by the corresponding rubidium marking that prestores of new element number
Element.It is to be appreciated that if the client has selected multiple numbers for prestoring element, by multiple elements that prestore
Number is all numbered as new element.
In addition, obtaining the preset Singapore dollar of the webpage if it is default new element that the client, which selects the mode of selection,
Plain default rule is determined new element number by the new element default rule from the element database, and by the Singapore dollar
The corresponding rubidium marking that prestores of element number is new element.If pre-setting new element default in the Web Page Design
Rule then sets the alternative condition of the new element according to the new element default rule.Wherein, the alternative condition can be
The arrangement position for prestoring element number, prestoring element modification time, prestoring element.For example, element number can be prestored by described
The maximum element that prestores is numbered as new element, can also be nearest by modification time and the reception homepage modification instruction time
Element number is prestored to number as new element.In other embodiments, more complicated default rule can also be set.According to described
It is Singapore dollar by the corresponding rubidium marking that prestores of new element number after default rule determines the new element number of the new element
Element.
The new element is replaced the element to be modified by step S104, and by modified web displaying in preceding end page
Face.
In the present embodiment, the configuration item of the element to be modified is obtained from web page code, the configuration item includes element
Number;Element number to be modified described in the configuration item is revised as the new element number, saves modified configuration item;
The new element is replaced into the element to be modified based on the modified configuration item, saves modified webpage, and preceding
End page face shows the modified webpage.The user of the client only needs to send web page element modification instruction, nothing as a result,
The use that need to have any webpage development basis can realize the modification of web page element by this programme per family.
In addition, if setting the web page element modification period in the manufacturing process of the webpage and corresponding new element being silent
Recognize rule, then according to the modification period, the new element default rule is pressed at the time point of the modification period defining, by institute
The element to be modified stated in webpage is revised as new element.For example, the news web pages such as weekly, monthly magazine, it is only necessary to new in webpage
It hears content to modify, therefore only needs using the webpage as template, it is silent according to the modification period and the new element
Recognize rule, modifies to the web page element to self-adapting intelligent.With this, related personnel only needs to be ready to new element i.e.
Can, without being carried out at the relevant operation of modification webpage, time cost is greatly saved, improves work efficiency with the webpage more
New timeliness.
Specifically, described that the new element is replaced by the element to be modified based on the modified configuration item, it saves
Modified webpage, and include: that the label element to be modified exists the step of front end page shows the modified webpage
First position in the webpage, and the element to be modified in the webpage is deleted;The new element is filled to institute
It states first position and generates modified webpage;By the modified webpage layout at portable document format pdf document, and will
The pdf document is sent to the client, for modified webpage described in the client preview;Receive client pair
After the confirmation instruction of the pdf document, the modified webpage is shown in the front end page.It is to be appreciated that the PDF
File is used to know modified webpage in advance for user's preview, and will likely existing mistake before issuing the webpage
It is corrected.
Further, described that the new element is replaced into the element to be modified, and by modified web displaying preceding
Before the step of end page face further include: judge whether the content information of the new element is consistent with the element to be modified, it is described
Content information includes that the content information includes element type, element size and file format;If the content of the new element
Information is consistent with the element to be modified, thens follow the steps: the new element being replaced the element to be modified, and will be after modification
Web displaying in front end page;The content information of the new element and the element to be modified are inconsistent, then pass through the visitor
Pop up the inconsistent prompt of element in family end.It is to be appreciated that if the content information of the new element and the element to be modified not
Unanimously, then it may need to be adjusted the new element, the new element is replaced into the element to be modified again after adjustment,
And by modified web displaying in front end page.Alternatively, can be right after the new element is replaced the element to be modified
Modified webpage is adaptively adjusted, then by web displaying adjusted in front end page.
Further, described that the new element is replaced into the element to be modified, and by modified web displaying preceding
After the step of end page face further include: prestore the access times of element in the element database, described in update;The present embodiment
In, the initial access times for prestoring element are denoted as 0, when it is described prestore element and be selected as the new element when, then will
The access times add 1 on the basis of former access times.With this, the reference of the access times alternatively new element is referred to
One of mark, for controlling access times, described in element database described in reasonable employment prestores element.
In addition, described replace the element to be modified for the new element, and by modified web displaying in preceding end page
After the step of face further include: remove in the element database and prestore element in vain.In the present embodiment, periodically to the member
Element progress is prestored in plain database, is arranged.Specifically, the element database is scanned, is detected in the element database
The every attribute for prestoring element prestores member for described if described when prestoring element and the missing or invalid attribute of attribute occur
Element label is removed described prestore element in vain in time to prestore element.Further, it is also possible to prestore element described in being arranged
Validity period, when it is described prestore element and reach validity period after, then be in vain to prestore element by the rubidium marking for reaching validity period,
And it removes described prestore element in vain in time.In this way, clearing up in time the element database, mitigate the element data
The storage pressure in library saves memory space.
In addition, if element modification instruction is only that the form of element each in the webpage is modified, directly
It connects and is modified according to the operation of the client, the form includes position, size, color, font, style etc..
The present embodiment through the above scheme, receives the web page element that client is sent and modifies instruction, obtain and the webpage
Element modification instructs corresponding element to be modified;It is accessed according to the preset path of the element to be modified and opens corresponding element
Database;Rubidium marking is prestored by what client was selected from the element database as new element;The new element is replaced
The element to be modified, and by modified web displaying in front end page.The invention belongs to user-interface design technical field,
It to be repaired changes the title of a reign by selecting new element in element from prestoring according to web page element modification instruction, and by what new element replaced in webpage
Element which thereby enhances web page element modification efficiency, reduces web page element modification difficulty.
As shown in figure 3, second embodiment of the invention proposes a kind of web page element amending method, based on above-mentioned shown in Fig. 2
First embodiment, the web page element for receiving client transmission modify instruction, obtain and modify instruction pair with the web page element
Before the step of element to be modified answered further include:
Step S100 marks the element of modifying of the webpage during making the webpage, described to modify member
Element includes picture, text, video and animation;
In the present embodiment, during making the webpage, according to the type of the webpage, mark the webpage can
Modify element.The element of modifying includes picture, text, video and animation.The type includes news web page, enterprise network
Page, marketing webpage etc..It include news content, time, picture etc. for element can be modified described in the news web page, for enterprise
It includes content, picture, the video etc. that enterprise dynamic is shown that element can be modified described in webpage.And for showing the net of academic paper
Page, then it is described can modify element and see be set as access times, user comment etc..
Step S1001, can modify described in setting element element database and corresponding preset path, the element data
Library prestores element described in being used to store.
In the present embodiment, the preset path includes level-one preset path and second level preset path, and the level-one presets road
Diameter is the store path of the webpage, and the second level preset path is the store path of corresponding element in the webpage.It is described pre-
If path can be local disk path or cloud storage path.Wherein, the preset path corresponds to element database.The member
Plain database can be divided into picture database, lteral data library, video database etc. according to specific element in the webpage, furthermore
If certain element has been used for multiple times in the webpage, the corresponding database of the element is divided into the first element according to access times
Database, second element database etc..For example, having 3 picture elements, the then corresponding picture number of the webpage in the webpage
It include the first picture database, second picture database and third element database according to library.
Through the above scheme, during making the webpage, mark the webpage modifies element to the present embodiment;
The element database and corresponding preset path, the element database that element can be modified described in setting are used to store described prestore
Element.Web page element modification efficiency is improved as a result, reduces web page element modification difficulty.
In addition, the present embodiment also provides a kind of web page element modification device.Referring to Fig. 4, Fig. 4 is that web page element of the present invention is repaired
The functional block diagram of first embodiment is set in repacking.
Web page element modification device provided by the invention is virtual bench, is stored in web page element modification shown in FIG. 1 and sets
In the memory 1005 set, the institute to realize web page element modification program is functional: the net sent for receiving client
Page element modification instruction, obtains element to be modified corresponding with web page element modification instruction;For according to described to be modified
The preset path of element accesses and opens corresponding element database;For what client was selected from the element database
Prestoring rubidium marking is new element;For the new element to be replaced the element to be modified, and by modified web displaying
In front end page.
Specifically, in the present embodiment, the web page element modification device includes:
Receiving module 10 obtains and the webpage member for the web page element modification instruction for receiving client transmission
Element modification instructs corresponding element to be modified;
Access modules 20, for being accessed according to the preset path of the element to be modified and opening corresponding element data
Library;
Mark module 30 prestores rubidium marking for select client from the element database as new element;
Instead of module 40, for the new element to be replaced the element to be modified, and modified web displaying is existed
Front end page.
Further, the receiving module is also used to:
The element database and corresponding preset path, the element database that element can be modified described in setting are used to store
It is described to prestore element.
Further, the receiving module is also used to:
The inquiry of selection new element mode is sent to the client, and receives the new element that the client returns
Mode, the new element selection mode include customized new element and default new element;
If the mode of the client selection is customized new element, obtains the described of client selection and prestore member
The number of element, the number that the client is selected are numbered as new element, and new element number is corresponding pre-
Depositing rubidium marking is new element;
If it is default new element that the client, which selects the mode of selection, the preset new element default of the webpage is obtained
Rule is determined new element number from the element database by the new element default rule, and the new element is numbered
The corresponding rubidium marking that prestores is new element.
Further, described to be also used to instead of module:
The configuration item of the element to be modified is obtained from web page code, the configuration item includes element number;
Element number to be modified described in the configuration item is revised as the new element number, saves modified configuration
?;
The new element is replaced into the element to be modified based on the modified configuration item, saves modified net
Page, and the modified webpage is shown in front end page.
Further, described to be also used to instead of module:
It marks first position of the element to be modified in the webpage, and described in the webpage to be repaired is changed the title of a reign
Element is deleted;
The new element is filled to the first position and generates modified webpage;
By the modified webpage layout at portable document format pdf document, and the pdf document is sent to institute
Client is stated, for modified webpage described in the client preview;
After client is received to the confirmation instruction of the pdf document, shown in the front end page described modified
Webpage.
Further, described to be also used to instead of module:
Judge whether the content information of the new element is consistent with the element to be modified, the content information includes described
Content information includes element type, element size and file format;
If the content information of the new element is consistent with the element to be modified, then follow the steps: by the new element generation
For the element to be modified, and by modified web displaying in front end page;
The content information of the new element and the element to be modified are inconsistent, then pop up element not by the client
Consistent prompt.
Further, described to be also used to instead of module:
The access times of element are prestored in the element database, described in update;And/or
It removes in the element database and prestores element in vain.
In addition, the embodiment of the present invention also provides a kind of computer storage medium, it is stored in the computer storage medium
Web page element modifies program, and the web page element modification program realizes web page element modification side as described above when being run by processor
The step of method, details are not described herein.
Compared with prior art, a kind of web page element amending method, device, equipment and storage medium proposed by the present invention, should
Method include: receive client send web page element modification instruction, obtain with the web page element modify instruction it is corresponding to
Modify element;It is accessed according to the preset path of the element to be modified and opens corresponding element database;By client from institute
State selected in element database prestore rubidium marking as new element;The new element is replaced into the element to be modified, and will
Modified web displaying is in front end page.The invention belongs to user-interface design technical fields, by being repaired according to web page element
Change instruction and select new element in element from prestoring, and new element is replaced into the element to be modified in webpage, which thereby enhances webpage
Element modifies efficiency, reduces web page element modification difficulty.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device executes the present invention respectively
Method described in a embodiment.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations
Equivalent structure made by description of the invention and accompanying drawing content or process transformation, are applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of web page element amending method, which is characterized in that the method is applied to web page element and modifies equipment, the method
Include:
It receives the web page element that client is sent and modifies instruction, obtain and modify that instruction is corresponding to be repaired to change the title of a reign with the web page element
Element;
It is accessed according to the preset path of the element to be modified and opens corresponding element database;
Rubidium marking is prestored by what client was selected from the element database as new element;
The new element is replaced into the element to be modified, and by modified web displaying in front end page.
2. the method according to claim 1, wherein the web page element modification for receiving client transmission refers to
It enables, obtains before modifying the step of instructing corresponding element to be modified with the web page element further include:
During making the webpage, the element of modifying of the webpage is marked, the element of modifying includes picture, text
Word, video and animation;
Element database and corresponding preset path, the element database that element can be modified described in setting are described for storing
Prestore element.
3. client selected from the element database the method according to claim 1, wherein described
Prestoring the step of rubidium marking is new element includes:
The inquiry of selection new element mode is sent to the client, and receives the new element side that the client returns
Formula, the new element selection mode include customized new element and default new element;
If the mode of the client selection is customized new element, obtains the described of client selection and prestore element
Number, the number that the client is selected are numbered as new element, and the new element is numbered and corresponding prestores member
Element marks;
If it is default new element that the client, which selects the mode of selection, the preset new element default rule of the webpage are obtained
Then, by the new element default rule from the element database determine new element number, and by the new element number pair
The rubidium marking that prestores answered is new element.
4. method according to claim 1 or 3, which is characterized in that described that the new element is replaced described to be repaired change the title of a reign
Element, and include: in the step of front end page by modified web displaying
The configuration item of the element to be modified is obtained from web page code, the configuration item includes element number;
Element number to be modified described in the configuration item is revised as the new element number, saves modified configuration item;
The new element is replaced into the element to be modified based on the modified configuration item, saves modified webpage, and
The modified webpage is shown in front end page.
5. according to the method described in claim 4, it is characterized in that, described be based on the modified configuration item for the Singapore dollar
Element replaces the element to be modified, saves modified webpage, and the step of front end page shows the modified webpage
Include:
First position of the element to be modified in the webpage is marked, and the element to be modified in the webpage is deleted
It removes;
The new element is filled to the first position and generates modified webpage;
By the modified webpage layout at portable document format pdf document, and the pdf document is sent to the visitor
Family end, for modified webpage described in the client preview;
After client is received to the confirmation instruction of the pdf document, the modified webpage is shown in the front end page.
6. the method according to claim 1, wherein it is described by the new element replace the element to be modified,
And by modified web displaying the front end page the step of before further include:
Judge whether the content information of the new element is consistent with the element to be modified, and the content information includes the content
Information includes element type, element size and file format;
If the content information of the new element is consistent with the element to be modified, then follow the steps: the new element is replaced into institute
Element to be modified is stated, and by modified web displaying in front end page;
The content information of the new element and the element to be modified are inconsistent, then it is inconsistent to pop up element by the client
Prompt.
7. the method according to claim 1, wherein it is described by the new element replace the element to be modified,
And by modified web displaying the front end page the step of after further include:
The access times of element are prestored in the element database, described in update;And/or
It removes in the element database and prestores element in vain.
8. a kind of web page element modifies device, which is characterized in that the web page element modifies device and includes:
Receiving module is obtained and is instructed with web page element modification for receiving the web page element modification instruction of client transmission
Corresponding element to be modified;
Access modules, for being accessed according to the preset path of the element to be modified and opening corresponding element database;
Mark module prestores rubidium marking for select client from the element database as new element;
Instead of module, for the new element to be replaced the element to be modified, and by modified web displaying in preceding end page
Face.
9. a kind of web page element modifies equipment, which is characterized in that the web page element modification equipment includes processor, memory with
And the web page element of storage in the memory modifies program, the web page element modification program is run by the processor
When, it realizes such as the step of web page element amending method of any of claims 1-7.
10. a kind of computer storage medium, which is characterized in that be stored with web page element modification journey in the computer storage medium
Sequence, the web page element modification program realize that the web page element as described in any one of claim 1-7 is repaired when being run by processor
The step of changing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910046792.9A CN109871210A (en) | 2019-01-17 | 2019-01-17 | Web page element amending method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910046792.9A CN109871210A (en) | 2019-01-17 | 2019-01-17 | Web page element amending method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109871210A true CN109871210A (en) | 2019-06-11 |
Family
ID=66917820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910046792.9A Pending CN109871210A (en) | 2019-01-17 | 2019-01-17 | Web page element amending method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871210A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297636A (en) * | 2019-07-03 | 2019-10-01 | 广州鲁邦通物联网科技有限公司 | A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device |
CN110780960A (en) * | 2019-09-29 | 2020-02-11 | 中至数据集团股份有限公司 | Webpage making method and system, readable storage medium and server |
CN111158680A (en) * | 2019-12-27 | 2020-05-15 | 北京同邦卓益科技有限公司 | Page construction method, device, equipment and storage medium |
CN112379847A (en) * | 2020-12-04 | 2021-02-19 | 北京艺源酷科技有限公司 | Data storage structure and uploading storage method |
CN114995699A (en) * | 2022-06-17 | 2022-09-02 | 拉扎斯网络科技(上海)有限公司 | Interface interaction method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577171A (en) * | 2012-07-30 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Webpage content displaying method and mobile terminal |
CN104965691A (en) * | 2014-04-18 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method, apparatus and system for configuring page elements of a webpage |
CN107341388A (en) * | 2017-06-19 | 2017-11-10 | 东软集团股份有限公司 | Access right control method and device |
CN108345456A (en) * | 2018-03-07 | 2018-07-31 | 平安普惠企业管理有限公司 | Page code generation method, device, computer equipment and storage medium |
CN108509195A (en) * | 2017-12-12 | 2018-09-07 | 平安科技(深圳)有限公司 | Production method, electronic device and the readable storage medium storing program for executing of H5 loose-leafs |
-
2019
- 2019-01-17 CN CN201910046792.9A patent/CN109871210A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577171A (en) * | 2012-07-30 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Webpage content displaying method and mobile terminal |
CN104965691A (en) * | 2014-04-18 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method, apparatus and system for configuring page elements of a webpage |
CN107341388A (en) * | 2017-06-19 | 2017-11-10 | 东软集团股份有限公司 | Access right control method and device |
CN108509195A (en) * | 2017-12-12 | 2018-09-07 | 平安科技(深圳)有限公司 | Production method, electronic device and the readable storage medium storing program for executing of H5 loose-leafs |
CN108345456A (en) * | 2018-03-07 | 2018-07-31 | 平安普惠企业管理有限公司 | Page code generation method, device, computer equipment and storage medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297636A (en) * | 2019-07-03 | 2019-10-01 | 广州鲁邦通物联网科技有限公司 | A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device |
CN110297636B (en) * | 2019-07-03 | 2023-06-27 | 广州鲁邦通物联网科技股份有限公司 | Page automatic generation and parameter management method, system and device based on page configuration file |
CN110780960A (en) * | 2019-09-29 | 2020-02-11 | 中至数据集团股份有限公司 | Webpage making method and system, readable storage medium and server |
CN110780960B (en) * | 2019-09-29 | 2024-01-26 | 中至数据集团股份有限公司 | Webpage making method, webpage making system, readable storage medium and server |
CN111158680A (en) * | 2019-12-27 | 2020-05-15 | 北京同邦卓益科技有限公司 | Page construction method, device, equipment and storage medium |
CN112379847A (en) * | 2020-12-04 | 2021-02-19 | 北京艺源酷科技有限公司 | Data storage structure and uploading storage method |
CN114995699A (en) * | 2022-06-17 | 2022-09-02 | 拉扎斯网络科技(上海)有限公司 | Interface interaction method and device |
CN114995699B (en) * | 2022-06-17 | 2024-02-27 | 拉扎斯网络科技(上海)有限公司 | Interface interaction method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109871210A (en) | Web page element amending method, device, equipment and storage medium | |
US20080301562A1 (en) | Systems and Methods for Accelerating Access to Web Resources by Linking Browsers | |
CN104077341B (en) | The method and apparatus that keyword automatically replies mapping relations is generated in instant messaging | |
CN109634598A (en) | A kind of page display method, device, equipment and storage medium | |
CN101295302B (en) | Advertisement releasing system and method | |
US10223339B2 (en) | Web-intrinsic interactive documents | |
US11599584B2 (en) | Method and system for processing information in social network system | |
CN101454774A (en) | Collaborative online spreadsheet application | |
CN103208046A (en) | Workflow engine architecture method and system based on interactive dynamic flow diagram | |
CN106021394A (en) | Website construction method and apparatus | |
CN202177892U (en) | Web UI control customization system | |
US20040268256A1 (en) | Program, character inputting and editing method, apparatus and storage medium | |
CN109697064A (en) | A kind of generation method and device of the customized page | |
CN101930456A (en) | Method and system for establishing aggregated LinkUGC by using browser | |
CN103207873A (en) | Method and system for displaying exclusive user page | |
CN104321743A (en) | Method and system for developing applications for consulting content and services on a telecommunications network | |
US20150254713A1 (en) | Content dynamically targetted according to context | |
CN102387182A (en) | Method and device for managing listener list information of microblog users | |
CN106533926A (en) | Webpage information dissemination method and device | |
CN103019675A (en) | Enabling service features within productivity applications | |
CN107895035A (en) | A kind of display methods of the page, front-end server and internet banking system | |
CN109582842A (en) | Information input method, device, computer equipment and storage medium | |
CN102193789A (en) | Method and equipment for realizing configurable skip link | |
US11663199B1 (en) | Application development based on stored data | |
CN108920561A (en) | A kind of webpage setting method and device |
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 |