CN109657182B - Webpage generation method, system and computer readable storage medium - Google Patents

Webpage generation method, system and computer readable storage medium Download PDF

Info

Publication number
CN109657182B
CN109657182B CN201811547803.3A CN201811547803A CN109657182B CN 109657182 B CN109657182 B CN 109657182B CN 201811547803 A CN201811547803 A CN 201811547803A CN 109657182 B CN109657182 B CN 109657182B
Authority
CN
China
Prior art keywords
page
display area
card
control
user
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.)
Active
Application number
CN201811547803.3A
Other languages
Chinese (zh)
Other versions
CN109657182A (en
Inventor
何丽文
朱天鹏
彭珊珊
杨煜东
潘祖红
阳衡峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dianjiang Technology Co ltd
Original Assignee
Shenzhen Dianjiang Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dianjiang Technology Co ltd filed Critical Shenzhen Dianjiang Technology Co ltd
Priority to CN201811547803.3A priority Critical patent/CN109657182B/en
Publication of CN109657182A publication Critical patent/CN109657182A/en
Application granted granted Critical
Publication of CN109657182B publication Critical patent/CN109657182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a system and a computer readable storage medium for generating a webpage, wherein the method comprises the following steps: generating a page to be edited according to an editing instruction of a user, wherein the page to be edited comprises a page display area and a page editing area; executing a corresponding editing task according to an operation instruction of a user on the page editing area, and displaying the edited and updated page content in the page display area; and sending the page code corresponding to the page content of the page display area to the server so that the server generates a new webpage according to the page code. Therefore, the visual editing of the webpage is realized, the user can make the personalized webpage without a code base, the webpage modification mode is greatly simplified, and the technical problem that the webpage cannot be modified without the code base in the prior art is solved.

Description

Webpage generation method, system and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and a system for generating a web page, and a computer-readable storage medium.
Background
With the birth and rapid development of the internet, the network has become an important way for people to obtain information, and the web pages have become an important carrier of information. The web page is usually composed of HTML (Hypertext Markup Language) codes, and modifying the web page requires knowing the HTML codes, and the modification of the web page can be realized by modifying the HTML codes on the web page.
However, in real life, most people except the related technical personnel do not know the HTML code, but many people have the need of modifying the web page, such as the seller in the e-commerce, often needs to maintain and modify the own operated shop web page, but the existing web page modification method is too complicated for the non-technical personnel, so that the modification can be abandoned or the related technical personnel can be required to modify the web page.
Therefore, how to simplify the web page modification method is a technical problem that needs to be solved at present.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a method and a system for generating a webpage and a computer-readable storage medium, aiming at simplifying a webpage modification mode and solving the technical problem that the webpage cannot be modified without a code base in the prior art.
To achieve the above object, in one aspect, a method for generating a web page is provided, the method including the following steps:
generating a page to be edited according to an editing instruction of a user, wherein the page to be edited comprises a page display area and a page editing area;
executing a corresponding editing task according to an operation instruction of a user on the page editing area, and displaying the edited and updated page content in the page display area;
and sending the page code corresponding to the page content of the page display area to a server so that the server generates a new webpage according to the page code.
Optionally, the page editing area includes a card display area and a card candidate area, the operation instruction includes a new card adding instruction, and the step of executing the corresponding editing task according to the operation instruction of the user on the page editing area includes:
when a card adding instruction for the card display area is detected, displaying at least two page cards in the card candidate area for a user to select;
and adding the page card selected by the user into the card display area, and generating a unique code for the newly added page card.
Optionally, the generating a unique code for the newly added page card includes:
when the page card is added to the card display area, obtaining coordinate values of a mouse;
detecting the change of the coordinate value of the mouse, and acquiring the current timestamp and the current coordinate value of the mouse when the change amplitude is larger than or equal to a preset value;
and inserting the coordinate value of the current mouse into the timestamp to serve as the unique code of the newly added page card.
Optionally, the inserting the coordinate value of the current mouse into the timestamp includes:
inserting an abscissa value of the coordinate values between year and month and day of the time stamp, and inserting an ordinate value of the coordinate values between hour, minute, and second of the time stamp; alternatively, the first and second electrodes may be,
and inserting ordinate values of the coordinate values between the year and month and day of the time stamp, and inserting abscissa values of the coordinate values between the hour and minute and second of the time stamp.
Optionally, the page editing area further includes a control display area and a control candidate area, the operation instruction includes a new control instruction, and the step of executing the corresponding editing task according to the operation instruction of the user on the page editing area includes:
when a control adding instruction for the control display area is detected, displaying at least two controls in the control candidate area for a user to select;
and adding the control selected by the user to the control display area, and generating a unique code for the newly added control.
Optionally, the generating a unique code for the newly added control includes:
when the control is added to the control display area, obtaining coordinate values of a mouse;
detecting the change of the coordinate value of the mouse, and acquiring the current timestamp and the current coordinate value of the mouse when the change amplitude is larger than or equal to a preset value;
and inserting the coordinate value of the current mouse into the timestamp as the unique code of the newly added control. Optionally, the page editing area includes a card display area and a control display area, and the generating a page to be edited according to an editing instruction of a user includes:
when an editing instruction of a user is received, calling a webpage template of the user, wherein the webpage template comprises at least one page card, and each page card comprises at least one control;
displaying all the page cards of the webpage template in the card display area, displaying all the controls of the corresponding page cards in the control display area, and displaying the page content of the corresponding page cards in the page display area.
Optionally, the operation instruction includes a control editing instruction, and the executing the corresponding editing task according to the operation instruction of the user on the page editing area includes:
and when an operation instruction of one control in the control display area is detected, updating the page content of the page card corresponding to the control according to the operation instruction.
Optionally, the step of sending the page code of the page display area to a server further includes: and updating the page code corresponding to the page content of the page display area to the webpage template of the user.
Another aspect proposes a system for generating a web page, the system comprising a memory, a processor and at least one application program stored in the memory and configured to be executed by the processor, the application program being configured to perform the method for generating the web page.
Still another aspect of the present invention provides a computer-readable storage medium, in which a webpage generation program is stored, and when the webpage generation program is executed by a processor, the steps of the webpage generation method are implemented.
According to the webpage generating method provided by the embodiment of the invention, the webpage to be edited comprising the page display area and the page editing area is generated, so that a user can directly perform corresponding editing operation in the page editing area, simultaneously the page display area displays the page content after being edited and updated in real time, and when the editing is completed, the page code is sent to the server to generate a new webpage, so that the visual editing of the webpage is realized, the user can make a personalized webpage without a code base, the webpage modification mode is greatly simplified, and the technical problem that the webpage cannot be modified without a code base in the prior art is solved.
Drawings
FIG. 1 is a flow chart of a first embodiment of a method for generating a web page of the present invention;
FIG. 2 is a schematic diagram of a page to be edited in the embodiment of the present invention;
FIG. 3 is a schematic diagram of a page to be edited in the embodiment of the present invention;
FIG. 4 is a schematic diagram of a page to be edited in the embodiment of the present invention;
FIG. 5 is a schematic diagram of a page to be edited in the embodiment of the present invention;
FIG. 6 is another schematic diagram of a page to be edited in the embodiment of the present invention
FIG. 7 is a flowchart of a second embodiment of a method for generating a web page of the present invention;
fig. 8 is a flowchart of a method for generating a web page according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Example one
Referring to fig. 1, a first embodiment of a method for generating a web page according to the present invention is provided, where the method includes the following steps:
and S11, generating a page to be edited according to the editing instruction of the user, wherein the page to be edited comprises a page display area and a page editing area.
In the embodiment of the invention, when the editing instruction of the user is received, the pre-stored webpage template of the user can be called, the preset webpage template can also be called, a blank webpage can also be called, and then a page to be edited is generated. The web page template generally includes at least one page card, each page card including at least one control.
The page to be edited comprises a page display area and a page editing area, the page editing area generally comprises a card display area and a control display area, the card display area is used for displaying the page card, the control display area is used for displaying the control in the corresponding page card, and the page display area is used for displaying the page content of the corresponding page card.
As shown in fig. 2, in a page to be edited, six page cards, namely, a page card 1 and a page card 6, are displayed in a card display area, and four controls, namely, a control 1 and a control 4, of the page card 1 are displayed in a control display area.
Optionally, the page editing area may further include a card candidate area, and the card candidate area is used for displaying at least two page cards for the user to select to add to the card display area.
As shown in fig. 3, in a page to be edited, there is no page card in the card display area, and when the user clicks the "page card" icon in the card display area, the card candidate area displays four page cards, i.e., page card 1 and page card 4, for the user to select.
As shown in fig. 4, in a page to be edited, five page cards, namely, the page card 1 and the page card 5, are displayed in the card display area, and when a user clicks the "newly added card" icon in the card display area, four page cards, namely, the page card 1 and the control 4, are displayed in the card candidate area for the user to select.
Optionally, the page editing area may further include a control candidate area, and the control candidate area is configured to display at least two controls for the user to select to add to the control display area.
As shown in fig. 5, in a page to be edited, six page cards, namely, the page card 1 and the page card 6, are displayed in the card display area, the page card 1 does not have a control, and when a user clicks a "control" icon in the control display area, the control candidate area displays four controls, namely, the control 1 and the control 4, for the user to select.
As shown in fig. 6, in a page to be edited, six page cards of the page card 1-the page card 6 are displayed in the card display area, three controls of the page card 1 are displayed in the control display area, which are respectively the control 1-the control 3, and when a user clicks the "new control" icon in the control display area, four controls of the control 1-the control 4 are displayed in the control candidate area for the user to select.
And S12, executing the corresponding editing task according to the operation instruction of the user on the page editing area, and displaying the edited and updated page content in the page display area.
In the embodiment of the invention, when a user displays a certain page card in the card display area, the page display area displays the page content of the page card, and displays all controls of the page card in the control display area. When an operation instruction for a certain control in the control display area is detected, the page content of the page card corresponding to the control is updated according to the operation instruction, and the updated content is displayed and edited in the page display area, wherein the operation instruction is an instruction for clicking and dragging the control, so as to add or delete the control or adjust the size, the position and the like of the control.
Alternatively, the operation instruction may be a card adding instruction for the card display area, and when the card adding instruction is detected (for example, a specific icon in the card display area is triggered), at least two page cards are displayed in the card candidate area for the user to select (as shown in fig. 3 and fig. 4). When the user selects a certain page card (for example, clicks a certain page card in the card candidate area), the page card selected by the user is added to the card display area. Further, a unique code (ID) may also be generated for the newly added page card to avoid duplication of codes for different page cards in the card display area.
Optionally, the operation instruction may also be a control addition instruction for the control display area, and when the instruction is detected (for example, a specific icon in the control display area is triggered), at least two controls are displayed in the control candidate area for the user to select (as shown in fig. 5 and fig. 6). When the user selects a control (e.g., clicks a control in the control candidate region), the user-selected control is added to the control display region. Further, a unique code (ID) may also be generated for the newly added control to avoid duplication of coding of different controls in the control display area.
When generating a unique code for a page card or a control, the uniqueness of the code can be realized by adding a time stamp. Specifically, when a page card or a control is added to a card display area or a control display area, that is, when a new page card or control is generated in the card display area or the control display area, coordinate values (X, Y) of the mouse are obtained, where the coordinate values (X, Y) include an abscissa value X and an ordinate value Y, and may be 1-4 digits; then detecting the change of the coordinate value (an abscissa value X or an ordinate value Y) of the mouse (the user clicks and adds a page card or a control and then moves the mouse), and when the change amplitude is larger than or equal to a preset value (if the change amplitude is set to be 10), acquiring the current timestamp and the current coordinate value of the mouse; and finally, inserting the coordinate value of the current mouse into the timestamp to serve as the unique code of the newly added page card or control.
When the coordinate value is inserted into the time stamp, various insertion methods may be employed. For example, an abscissa value X of the coordinate values (X, Y) may be inserted between the year and month and the month and day of the time stamp, and an ordinate value Y of the coordinate values (X, Y) may be inserted between the hour and minute and second of the time stamp; or, an ordinate value Y of the coordinate values (X, Y) is inserted between the year and month and the month and day of the time stamp, and an abscissa value X of the coordinate values (X, Y) is inserted between the hour and minute and second of the time stamp; alternatively, the abscissa value X and the ordinate value Y of the coordinate values (X, Y) are alternately inserted between year, month, day, hour, minute, and second in sequence, and so on.
The format of the time stamp is diverse. For example, the format of the time stamp may be "year-month-day: minutes: seconds", and when coordinate values are inserted between "year and month" and "month and day", the "-" between them is replaced with coordinate values; when the coordinate values are inserted between "hour and minute" and "hour and second", the coordinate values replace ": ".
For example, when a page card or a control is added to the card display area or the control display area, the coordinate value of the mouse is (234, 455), and then the user moves the mouse, the coordinate value is changed to (244, 458), the change range of the abscissa is 244-. Assuming that the current timestamp is 2018-12-1121: 34:21, the abscissa value 244 of the current mouse is inserted between the year and month and day of the timestamp, and the ordinate value 458 of the current mouse is inserted between the hour, minute, sum and second of the timestamp, i.e., the unique code of the page card or control is generated as 20182441224411214583445821.
Because the coordinate value of the current mouse has certain randomness, the global uniqueness can be better guaranteed after the timestamp is added, and the local generation method is simple. In addition, the unique code comprises partial timestamp information and two random numbers with 1-4 bits, a certain rule is provided, and when the unique code is queried globally, the query efficiency can be ensured through the specific rule.
In other embodiments, a random code may be generated for the newly added page card or control first, and then a timestamp may be added to the random code as the unique code for the page card or control. In other embodiments, the unique code may be generated by setting the code in a hash operation, an md5 encryption operation, or the like, which is not described herein any more.
And S13, sending the page code corresponding to the page content of the page display area to the server, so that the server generates a new webpage according to the page code.
In the embodiment of the invention, after the webpage is edited, the page content of the page display area is saved, the page code corresponding to the page content is sent to the server, and after the server receives the page code, a new webpage is generated according to the page code.
Optionally, the page code corresponding to the page content of the page display area may also be stored as the webpage template of the user or updated to the webpage template of the user, so as to be invoked when the user subsequently edits the webpage. Each user can store a plurality of webpage templates, and the corresponding relation between the user codes and the webpage template codes can be established.
According to the webpage generating method, the page to be edited comprising the page display area and the page editing area is generated, so that a user can directly perform corresponding editing operation in the page editing area, meanwhile, the page display area displays the page content after being edited and updated in real time, and when the page content is edited and updated, the page code is sent to the server to generate a new webpage, so that the webpage can be visually edited, the user can make a personalized webpage without a code base, the webpage modification mode is greatly simplified, and the technical problem that the webpage cannot be modified without a code base in the prior art is solved.
Meanwhile, the modification and the production of the webpage can be rapidly finished by the user by calling the webpage template of the user. Through the operation of adding cards and controls, a user can make a brand-new personalized webpage without a webpage template.
Example two
Referring to fig. 7, a second embodiment of the method for generating a web page according to the present invention is provided, which includes the following steps:
and S21, when receiving the editing instruction of the user, calling the webpage template of the user.
In the embodiment of the invention, when an editing instruction of a user is received, a corresponding webpage template is searched according to a user code; when only one webpage template exists, the template is directly called; when there are at least two web page templates, all the web page templates are listed for the user to select, and then the web page template selected by the user is called.
And S22, generating a page to be edited according to the webpage template, and displaying the page card of the webpage template in the card display area of the page to be edited.
In the embodiment of the invention, the webpage template comprises at least one page card, and each page card comprises at least one control. The page to be edited comprises a page display area and a page editing area, the page editing area comprises a card display area and a control display area, and the card display area displays all page cards of the webpage template (as shown in fig. 2).
And S23, when detecting that the user is one page card in the card display area, displaying the control of the page card in the control display area of the page to be edited, and displaying the page content of the page card in the page display area of the page to be edited.
For example, when the user clicks a certain page card in the card display area, all the controls of the page card are displayed in the control display area (as shown in fig. 2), and at the same time, the page content of the page card is displayed in the page display area.
And S24, when an operation instruction of the user on one control in the control display area is detected, updating the page content of the page card corresponding to the control according to the operation instruction, and displaying the updated page content in the page display area.
For example, when a user drags a control to a certain position of the page display area in the control display area, the page content of the page card corresponding to the control is updated, and the updated page content is displayed in the page display area.
And S25, when the completion instruction of the user is detected, sending the page code corresponding to the page content of the page display area to the server, so that the server generates a new webpage according to the page code.
For example, when the user clicks the "done" icon or button, the page content of the page display area is saved, the page code corresponding to the page content is sent to the server, and the server generates a new web page after receiving the page code.
And S26, updating the page code corresponding to the page content of the page display area to the webpage template of the user.
According to the webpage generating method, the webpage template of the user is called, so that the user can quickly finish modification and making of the webpage on the basis of the webpage template, and the webpage template is updated after making is finished, so that the webpage making efficiency is greatly improved, and the specific webpage style of the user is reserved.
EXAMPLE III
Referring to fig. 8, a third embodiment of the method for generating a web page according to the present invention is provided, which includes the following steps:
and S31, generating a page to be edited when receiving the editing instruction of the user.
In this embodiment, when an editing instruction of a user is received, a blank webpage is called to generate a page to be edited.
And S32, when a card adding instruction of the card display area of the page to be edited is detected, displaying at least two page cards in the card candidate area of the page to be edited for the user to select.
As shown in fig. 3, the card display area of the page to be edited does not have a page card, when the user clicks the "page card" icon in the card display area, a card candidate area is generated on the page to be edited, and four page cards, i.e., the page card 1 and the page card 4, are displayed in the card candidate area for the user to select.
And S33, adding the page card selected by the user to the card display area.
For example, when the user clicks a certain page card in the card candidate area, the page card is added into the card display area, and a unique code is generated for the newly added page card.
And S34, when detecting that the user is one page card in the card display area, displaying the control of the page card in the control display area of the page to be edited, and displaying the page content of the page card in the page display area of the page to be edited.
And S35, when detecting that the user is one page card in the card display area, displaying the control of the page card in the control display area of the page to be edited, and displaying the page content of the page card in the page display area of the page to be edited.
For example, when a user clicks a certain page card in the card display area, all the controls of the page card are displayed in the control display area, and simultaneously, the page content of the page card is displayed in the page display area.
And S36, when a control adding instruction to the control display area is detected, displaying at least two controls in the control candidate area of the page to be edited for a user to select.
As shown in fig. 6, the control display area displays three controls of the page card 1, which are respectively control 1-control 3, when the user clicks the "new control" icon in the control display area, a control candidate area is generated on the page to be edited, and a total of four controls, namely control 1-control 4, are displayed in the control candidate area for the user to select.
And S37, adding the control selected by the user to the control display area.
For example, when the user clicks on a control in the control candidate region, the control is added to the control display region, and a unique code is generated for the newly added control.
And S38, when an operation instruction of the user on one control in the control display area is detected, updating the page content of the page card corresponding to the control according to the operation instruction, and displaying the updated page content in the page display area.
For example, when the user clicks a certain control in the control display area, the control is added to the page content of the corresponding page card, and the page content containing the control is displayed in the page display area.
And S39, when the completion instruction of the user is detected, sending the page code corresponding to the page content of the page display area to the server, so that the server generates a new webpage according to the page code.
For example, when the user clicks the "done" icon or button, the page content of the page display area is saved, the page code corresponding to the page content is sent to the server, and the server generates a new web page after receiving the page code.
Furthermore, the page code corresponding to the page content of the page display area can be stored as a webpage template of the user, so that the page code can be directly called when the user edits the webpage subsequently.
According to the method for generating the webpage, the user can manufacture a brand new personalized webpage on the basis of a blank webpage without a webpage template through the operation of adding the card and the control, and the manufacturing mode of the webpage is further simplified.
In addition, even if the webpage is modified and made on one webpage template, the user can add cards and controls to the webpage template at any time so as to enrich the content of the webpage template.
The embodiment of the invention also provides a system for generating the webpage, which comprises a memory, a processor and at least one application program which is stored in the memory and configured to be executed by the processor, wherein the application program is configured to be used for executing the method for generating the webpage. The method for generating a web page described in this embodiment is the method for generating a web page according to the foregoing embodiment of the present invention, and is not described herein again.
The embodiment of the present invention further provides a computer-readable storage medium, where a webpage generation program is stored on the computer-readable storage medium, and when the webpage generation program is executed by a processor, the steps of the webpage generation method are implemented. The method for generating a web page described in this embodiment is the method for generating a web page according to the foregoing embodiment of the present invention, and is not described herein again.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Those skilled in the art can implement the invention in various modifications, such as features from one embodiment can be used in another embodiment to yield yet a further embodiment, without departing from the scope and spirit of the invention. Any modification, equivalent replacement and improvement made within the technical idea of using the present invention should be within the scope of the right of the present invention.

Claims (8)

1. A method for generating a web page, comprising the steps of:
generating a page to be edited according to an editing instruction of a user, wherein the page to be edited comprises a page display area and a page editing area, and the page editing area comprises a card display area and a card candidate area;
executing a corresponding editing task according to an operation instruction of a user on the page editing area, wherein the corresponding editing task comprises the following steps:
the operation instructions comprise a card adding instruction, and when the card adding instruction of the card display area is detected, at least two page cards are displayed in the card candidate area for a user to select;
adding the page card selected by the user into the card display area, and generating a unique code for the newly added page card, wherein the unique code comprises the following steps:
when the page card is added to the card display area, obtaining coordinate values of a mouse;
detecting the change of the coordinate value of the mouse, and acquiring the current timestamp and the current coordinate value of the mouse when the change amplitude is larger than or equal to a preset value;
inserting the coordinate value of the current mouse into the timestamp as the unique code of the newly added page card;
displaying the edited and updated page content in the page display area;
and sending the page code corresponding to the page content of the page display area to a server so that the server generates a new webpage according to the page code.
2. The method for generating a web page according to claim 1, wherein the inserting the coordinate value of the current mouse into the timestamp comprises:
inserting an abscissa value of the coordinate values between year and month and day of the time stamp, and inserting an ordinate value of the coordinate values between hour, minute, and second of the time stamp; alternatively, the first and second electrodes may be,
and inserting ordinate values of the coordinate values between the year and month and day of the time stamp, and inserting abscissa values of the coordinate values between the hour and minute and second of the time stamp.
3. The method for generating a web page according to claim 1, wherein the page editing area further includes a control display area and a control candidate area, the operation instruction includes an instruction for adding a new control, and the step of executing the corresponding editing task according to the operation instruction of the user on the page editing area includes:
when a control adding instruction for the control display area is detected, displaying at least two controls in the control candidate area for a user to select;
and adding the control selected by the user to the control display area, and generating a unique code for the newly added control.
4. The method for generating the web page according to any one of claims 1 to 3, wherein the page editing area includes a card display area and a control display area, and the generating the page to be edited according to the editing instruction of the user includes:
when an editing instruction of a user is received, calling a webpage template of the user, wherein the webpage template comprises at least one page card, and each page card comprises at least one control;
displaying all the page cards of the webpage template in the card display area, displaying all the controls of the corresponding page cards in the control display area, and displaying the page content of the corresponding page cards in the page display area.
5. The method for generating the web page according to claim 4, wherein the operation instruction includes a control editing instruction, and the executing the corresponding editing task according to the operation instruction of the user on the page editing area includes:
and when an operation instruction of one control in the control display area is detected, updating the page content of the page card corresponding to the control according to the operation instruction.
6. The method for generating a web page according to claim 4, wherein the step of sending the page code of the page display area to a server further comprises:
and updating the page code corresponding to the page content of the page display area to the webpage template of the user.
7. A system for generating a web page comprising a memory, a processor and at least one application stored in said memory and configured to be executed by said processor, characterized in that said application is configured for carrying out the method for generating a web page according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a generation program of a web page, which when executed by a processor, implements the steps of the generation method of a web page according to any one of claims 1 to 6.
CN201811547803.3A 2018-12-18 2018-12-18 Webpage generation method, system and computer readable storage medium Active CN109657182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811547803.3A CN109657182B (en) 2018-12-18 2018-12-18 Webpage generation method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811547803.3A CN109657182B (en) 2018-12-18 2018-12-18 Webpage generation method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109657182A CN109657182A (en) 2019-04-19
CN109657182B true CN109657182B (en) 2020-09-08

Family

ID=66113559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811547803.3A Active CN109657182B (en) 2018-12-18 2018-12-18 Webpage generation method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109657182B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230914B (en) * 2019-07-15 2023-09-15 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for producing small program
CN110489641A (en) * 2019-07-16 2019-11-22 阿里巴巴集团控股有限公司 A kind of information recommendation data processing method and device
CN110457635A (en) * 2019-08-15 2019-11-15 北京中网易企秀科技有限公司 A kind of webpage generating method and system
CN112558824A (en) * 2019-09-26 2021-03-26 腾讯科技(深圳)有限公司 Page display method and device and computer storage medium
CN111782309B (en) * 2019-10-28 2022-07-05 北京沃东天骏信息技术有限公司 Method and device for displaying information and computer readable storage medium
CN111199457A (en) * 2019-12-30 2020-05-26 上海移为通信技术股份有限公司 Page generation method and device
CN111679827B (en) * 2020-04-28 2024-04-26 深圳赛安特技术服务有限公司 H5 page generation method, device, equipment and storage medium
CN112364273A (en) * 2020-09-18 2021-02-12 上海泛微软件有限公司 Method, device and equipment for generating portal page and computer readable storage medium
CN113282863B (en) * 2021-06-11 2023-04-21 上海哔哩哔哩科技有限公司 Service page generation method and device
CN113672836B (en) * 2021-07-16 2024-03-15 上海硬通网络科技有限公司 Method, device, equipment and storage medium for setting dynamic special effects of web pages

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526942A (en) * 2008-03-05 2009-09-09 徐邦勇 Component implementation technology for automatically generating dynamic web page on line in real time
CN106201489A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 A kind of page editing method and apparatus
CN107463584A (en) * 2016-06-06 2017-12-12 腾讯科技(深圳)有限公司 The editing and processing method and terminal of a kind of interaction page
CN107885533A (en) * 2017-11-30 2018-04-06 广州酷狗计算机科技有限公司 The method and device of management assembly code
CN108415706A (en) * 2018-03-14 2018-08-17 上海携程商务有限公司 Visualize method, system, equipment and the storage medium of auto-building html files

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150012840A1 (en) * 2013-07-02 2015-01-08 International Business Machines Corporation Identification and Sharing of Selections within Streaming Content
US10528249B2 (en) * 2014-05-23 2020-01-07 Samsung Electronics Co., Ltd. Method and device for reproducing partial handwritten content
CN105117402B (en) * 2015-07-16 2018-08-28 中国人民大学 Daily record data sharding method and device
US9959257B2 (en) * 2016-01-08 2018-05-01 Adobe Systems Incorporated Populating visual designs with web content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526942A (en) * 2008-03-05 2009-09-09 徐邦勇 Component implementation technology for automatically generating dynamic web page on line in real time
CN107463584A (en) * 2016-06-06 2017-12-12 腾讯科技(深圳)有限公司 The editing and processing method and terminal of a kind of interaction page
CN106201489A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 A kind of page editing method and apparatus
CN107885533A (en) * 2017-11-30 2018-04-06 广州酷狗计算机科技有限公司 The method and device of management assembly code
CN108415706A (en) * 2018-03-14 2018-08-17 上海携程商务有限公司 Visualize method, system, equipment and the storage medium of auto-building html files

Also Published As

Publication number Publication date
CN109657182A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN109657182B (en) Webpage generation method, system and computer readable storage medium
US11341191B2 (en) Method and system for document retrieval with selective document comparison
US9116899B2 (en) Managing changes to one or more files via linked mapping records
CN112650766A (en) Database data operation method, system and server
CN110806866A (en) Generation method and device of front-end management system
CN107360265B (en) A kind of equipment exclusive identification code acquisition methods, device and mobile terminal
US11733973B2 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN111444696A (en) Report display and editing method and device
CN106354727A (en) Widget file generating method and device
CN114217795A (en) Page generation method and device, electronic equipment and readable storage medium
CN116560716A (en) APP construction method, device, equipment and storage medium
CN106155754A (en) A kind of processing method and processing device of indicating template
CN113434119A (en) Business processing method and device based on process control
CN112860728A (en) Method and device for adding display columns to data query table based on user environment
CN107729013B (en) Method for managing operation buttons on web page and computer-readable storage medium
CN106293690B (en) Method and device for generating component object
CN115617324B (en) Client webpage generation method
CN111240562A (en) Data processing method and device, terminal equipment and computer storage medium
CN117389996B (en) Database optimization suggestion generation method, terminal equipment and storage medium
JP2004118354A (en) Document management system and document management program
JP2010097411A (en) Personal information disclosure support device
CN111090819A (en) Thermodynamic diagram generation method, thermodynamic diagram generation device, terminal and computer-readable storage medium
US20130339838A1 (en) Methods for column deletion in sharepoint
CN114707095A (en) Data processing method and device, electronic equipment and storage medium
CN115599203A (en) Method and system for displaying agricultural results through VR technology

Legal Events

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