CN107633013A - Page picture generation method, device and computer-readable recording medium - Google Patents
Page picture generation method, device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107633013A CN107633013A CN201710709502.5A CN201710709502A CN107633013A CN 107633013 A CN107633013 A CN 107633013A CN 201710709502 A CN201710709502 A CN 201710709502A CN 107633013 A CN107633013 A CN 107633013A
- Authority
- CN
- China
- Prior art keywords
- page
- picture
- page picture
- data
- template
- 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
- 238000000034 method Methods 0.000 title claims abstract description 42
- 239000000463 material Substances 0.000 claims abstract description 70
- 238000012986 modification Methods 0.000 claims description 12
- 230000004048 modification Effects 0.000 claims description 12
- 238000012217 deletion Methods 0.000 claims description 9
- 230000037430 deletion Effects 0.000 claims description 9
- 230000006835 compression Effects 0.000 claims description 6
- 238000007906 compression Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 5
- 238000011161 development Methods 0.000 abstract description 10
- 230000008569 process Effects 0.000 abstract description 7
- 238000004891 communication Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of page picture generation method, this method includes:Receive page picture generation instruction when, according to the page picture generate instruction determine page picture requirement, and obtain corresponding to page picture material;Page Template and page need data according to corresponding to obtaining the page request, and the page picture according to corresponding to the generation of the page picture material, Page Template and page need data.The invention also discloses a kind of page picture generating means and computer-readable recording medium.The page picture generating process of the present invention does not need front and back end personnel to carry out cumbersome data task handing-over, and all operations can be in front end complete independently;Front end directly can obtain corresponding Page Template and page data according to the demand of page picture, and the filling of data is automatically performed, without artificial padding, it ensure that the reliability of page data, the development time of page picture is also reduced simultaneously, improves the efficiency of page picture generation.
Description
Technical field
The present invention relates to web development technologies field, more particularly to a kind of page picture generation method, device and computer
Readable storage medium storing program for executing.
Background technology
With the continuous development of Network, staff is frequently necessary to develop different page pictures to update on website
The theme page.And the exploitation of generally webpage is divided into front end exploitation and rear end exploitation, wherein front end exploitation is mainly front end exploitation work
Cheng Shi is responsible for showing/interaction logic, carries out the page development of webpage, including special efficacy on webpage, page layout format, picture etc.,
Then main rear end Developmental Engineer is responsible for services/data interface for rear end exploitation, includes the design and realization of webpage background logic, with
And the preservation and reading of the data of user and website.Under such division of labor, when developing page picture, phase is first inquired about by rear end
Data (including picture) are answered, then these data are sent to front end and are filled, are operated so as to need to be related to multi-party personnel;
And the padding of front end writes code mainly by artificial mode according to fixed data format, when code quantity compared with
It is more, when needing to fill a variety of data, it is easy to there is code error, cause page picture development efficiency relatively low, so as to influence to scheme
The progress of piece page development.
The content of the invention
It is a primary object of the present invention to provide a kind of page picture generation method, device and computer-readable storage medium
Matter, it is intended to improve the development efficiency of page picture, accelerate the speed of webpage development.
To achieve the above object, the present invention provides a kind of page picture generation method, the page picture generation method bag
Include following steps:
When receiving page picture generation instruction, instruction is generated according to the page picture and determines page picture requirement,
And page picture material corresponding to obtaining;
Page Template and page need data according to corresponding to obtaining the page request, and according to page picture element
Material, Page Template and page picture corresponding to the generation of page need data.
Optionally, it is described when receiving page picture generation instruction, instruction is generated according to the page picture and determines figure
Piece page request, and obtain corresponding to page picture material the step of after, in addition to:
The page picture material is compressed, and the page picture material after compression is preserved to high in the clouds.
Optionally, the page need data according to corresponding to obtaining the page request, and according to the page picture
Include corresponding to material, the generation of page need data the step of page picture:
Back end interface is inquired about according to the page request, obtains Page Template and page need corresponding to the page request
Data;
The Page Template is rendered and/or filled according to the page picture material and page need data, is obtained
Page picture corresponding to obtaining.
Optionally, Page Template and the page need data according to corresponding to obtaining the page request, and according to institute
State page picture material, Page Template and page need data generation corresponding to page picture the step of after, in addition to:
Show the page picture;
If receiving page adjust instruction, the page data of the page picture is entered according to the page adjust instruction
Row modification, and the page picture is updated according to the page data after modification result.
Optionally, Page Template and the page need data according to corresponding to obtaining the page request, and according to institute
State page picture material, Page Template and page need data generation corresponding to page picture the step of after, in addition to:
The page data of the page picture is stored in local cache.
Optionally, the page data by the page picture is stored in after the step in local cache, in addition to:
When receiving caching deletion instruction, corresponding page data in the local cache is deleted according to the caching;
The page picture is updated according to remaining page data in the local cache.
In addition, to achieve the above object, the present invention also provides a kind of page picture generating means, the page picture generation
Device includes processor, memory and is stored on the memory and can be given birth to by the page picture of the computing device
Into program, when the page picture generates program by the computing device, following steps are realized:
When receiving page picture generation instruction, instruction is generated according to the page picture and determines page picture requirement,
And page picture material corresponding to obtaining;
Page Template and page need data according to corresponding to obtaining the page request, and according to page picture element
Material, Page Template and page picture corresponding to the generation of page need data.
Optionally, when the page picture generates program by the computing device, following steps are also realized:
The page picture material is compressed, and the page picture material after compression is preserved to high in the clouds.
Optionally, the page need data according to corresponding to obtaining the page request, and according to the page picture
Include corresponding to material, the generation of page need data the step of page picture:
Back end interface is inquired about according to the page request, obtains Page Template and page need corresponding to the page request
Data;
The Page Template is rendered and/or filled according to the page picture material and page need data, is obtained
Page picture corresponding to obtaining.
Optionally, when the page picture generates program by the computing device, following steps are also realized:
Show the page picture;
If receiving page adjust instruction, the page data of the page picture is entered according to the page adjust instruction
Row modification, and the page picture is updated according to the page data after modification result.
Optionally, when the page picture generates program by the computing device, following steps are also realized:
The page data of the page picture is stored in local cache;
When receiving caching deletion instruction, corresponding page data in the local cache is deleted according to the caching;
The page picture is updated according to remaining page data in the local cache.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable
Page picture generation program is stored with storage medium, wherein when page picture generation program is executed by processor, is realized
The step of page picture generation method described above.
The present invention is by when receiving page picture generation instruction, generating instruction according to the page picture and determining picture
Page request, and page picture material corresponding to acquisition;Page Template and page need according to corresponding to obtaining the page request
Ask data, and the page picture according to corresponding to the generation of the page picture material, Page Template and page need data.By with
Upper type invention page picture generating process does not need front and back end personnel to carry out cumbersome data task handing-over, and all operations can be
Front end complete independently;Front end directly can obtain corresponding Page Template and page data according to the demand of page picture, and automatically
The filling of data is completed, without artificial padding, ensure that the reliability of page data, while also reduce page picture
Development time, improve the efficiency of page picture generation.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the page picture generating means that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of page picture generation method first embodiment of the present invention;
Fig. 3 is the schematic flow sheet of page picture generation method second embodiment of the present invention;
Fig. 4 is the schematic flow sheet of page picture generation method 3rd embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
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 main thought of scheme of the embodiment of the present invention is:When receiving page picture generation instruction, according to the picture
Page generation instruction determines page picture requirement, and page picture material corresponding to acquisition;According to page request acquisition pair
The Page Template and page need data answered, and generated according to the page picture material, Page Template and page need data
Corresponding page picture.
The present embodiments relate to page picture generation method be mainly used in page picture generating means, the picture page
Face generating means can be accomplished in several ways.For example, the mobile terminal can be smart mobile phone, tablet personal computer, notebook
The mobile terminals such as computer, it can also be the fixed terminals such as digital TV, PC terminal.
It will be illustrated in subsequent descriptions by taking PC terminals as an example, it will be appreciated by those skilled in the art that except especially using
Outside the element of mobile purpose, construction according to the embodiment of the present invention can also apply to other types of terminal.
Reference picture 1, Fig. 1 are the page picture generating means hardware architecture diagram being related in scheme of the embodiment of the present invention.
In the embodiment of the present invention, webpage generating device can include processor 1001 (such as CPU), communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to realize the connection communication between these components;
User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard);Network interface 1004 can
Wireline interface, the wave point (such as WI-FI interfaces) that can include standard of choosing;Memory 1005 can be high-speed RAM storage
Device or stable memory (non-volatile memory), such as magnetic disk storage, memory 1005 are optional
It can also be the storage device independently of aforementioned processor 1001.
Alternatively, the webpage generating device can also include camera, RF (Radio Frequency, radio frequency) circuit, pass
Sensor, voicefrequency circuit, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display screen, proximity transducer can according to the distance of lighting apparatus and object of reference, close display screen and/
Or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) and accelerate
The size of degree, size and the direction of gravity are can detect that when static, available for identification webpage generating device posture application (such as
Horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly,
The webpage generating device can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor,
This is repeated no more.
It will be understood by those skilled in the art that the hardware configuration of the webpage generating device shown in Fig. 1 is not formed to page
The restriction of face generating means, it can include than illustrating more or less parts, either combine some parts or different portions
Part is arranged.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of computer-readable recording medium can include operation system
System, network communication module and network switching program.
In Fig. 1, network communication module is mainly used in connection server, enters row data communication with server;And processor
1001 can call the page picture stored in memory 1005 to generate program, and perform following operate:
When receiving page picture generation instruction, instruction is generated according to the page picture and determines page picture requirement,
And page picture material corresponding to obtaining;
Page Template and page need data according to corresponding to obtaining the page request, and according to page picture element
Material, Page Template and page picture corresponding to the generation of page need data.
Further, processor 1001 may call upon the page picture generation program stored in memory 1005, and hold
Row is following to be operated:
The page picture material is compressed, and the page picture material after compression is preserved to high in the clouds.
Further, the page need data according to corresponding to obtaining the page request, and according to the picture page
Include corresponding to face material, the generation of page need data the step of page picture:
Back end interface is inquired about according to the page request, obtains Page Template and page need corresponding to the page request
Data;
The Page Template is rendered and/or filled according to the page picture material and page need data, is obtained
Page picture corresponding to obtaining.
Further, processor 1001 may call upon the page picture generation program stored in memory 1005, and hold
Row is following to be operated:
Show the page picture;
If receiving page adjust instruction, the page data of the page picture is entered according to the page adjust instruction
Row modification, and the page picture is updated according to the page data after modification result.
Further, processor 1001 may call upon the page picture generation program stored in memory 1005, and hold
Row is following to be operated:
The page data of the page picture is stored in local cache;
When receiving caching deletion instruction, corresponding page data in the local cache is deleted according to the caching;
The page picture is updated according to remaining page data in the local cache.
Based on the hardware configuration of above-mentioned webpage generating device, each embodiment of page generation method of the present invention is proposed.
The present invention provides a kind of page picture generation method.
Reference picture 2, Fig. 2 are the schematic flow sheet that page picture of the present invention generates first embodiment.
In the present embodiment, the page picture generation comprises the following steps:
Step S10, when receiving page picture generation instruction, instruction is generated according to the page picture and determines picture page
Face requires, and page picture material corresponding to acquisition;
In the present embodiment, user will be operated when needing to develop page picture in PC terminals, click on page picture life
Into option, so as to trigger page picture generation instruction;Certain user can also input page picture generation by way of input
Instruction word or instruction code corresponding to instruction, triggering page picture generation instruction.PC terminals are receiving page picture generation
During instruction, it will display inquiry message, to determine to need to generate the page picture of which kind of pattern according to input, determine page picture
It is required that the page picture requires to include the content (as included how many picture and word content) of page picture, page composition (as schemed
The relative position of piece and word), the size of each plate etc..When receiving the input of user, PC terminals will access service end,
To ask service end to provide corresponding upload interface.Node can be used in the present embodiment as service end, there is provided data are uploaded and connect
Mouth and picture upload interface;Wherein node is a Javascript that can write serve end program, it use event-driven,
Non- block type I/O model, so as to which light weight is again efficient.Service end is when receiving the interface assignment request of PC ends transmission, i.e. root
According to the request to PC ends distribute corresponding to upload interface, and to its return corresponding to interface assignment information.Returned receiving service end
During the interface assignment information returned, PC terminals will show page picture material upload interface, and the interface includes page picture material
Upload option;The page picture material of local can be uploaded (the page picture by user by clicking on the page picture material option
Material includes picture and document).Can certainly be that page picture material can also the network picture on network, user be present
The network linking of network picture can be inputted in the input area of page picture material upload interface, so that PC terminals (or service
End) automatically according to corresponding to the network linking inquiry website and network picture is obtained as page picture material.Specifically, with
When family inputs local or network page picture material address, by the figure according to needed for the address acquisition to this generation page picture
Piece page material.
Further, in uploading pictures page material, in order to improve the speed of transmission, and also to convenient follow-up tune
With Load Image the page material when can improve loading speed, in uploading pictures page material, can be compressed, and preserve
Beyond the clouds.It Tinify modules can be used to compress page picture material automatically in the present embodiment, be then stored to cloud automatically and deposit
Storage;Wherein Tinify modules are the npm modules of picture compression, available for compressing and optimize image file;When storing completion, also
Cloud storage address and the thumbnail of storage can be shown in interface.
Step S20, Page Template and page need data according to corresponding to obtaining the page request, and according to the figure
Piece page material, Page Template and page picture corresponding to the generation of page need data.
In the present embodiment, it is determined that page picture requires, and when getting page picture material, you can according to page picture
It is required that inquire about service end, required for obtaining component and/or control and the generation page picture needed for the assembled page
Page picture template, page need data, then by these components and/or control to page picture material, Page Template and
Page need data carry out assembled processing, obtain the page picture for meeting page picture demand.
Specifically, the existing interface of service end can be inquired about according to the page request obtained in step S10, and obtained from interface
Page Template corresponding to the page request page formation component and/or control related to page need data, calling, so as to
It is ready to " material " and " instrument " to make page picture.Wherein, it is by art-template (a new generations in the present embodiment
Javascript template engines) carry out page picture making.In the present embodiment, required according to page picture, in service end
Select in interface in suitable Page Template, then filled out page picture material and page need data by art-template
It is charged in Page Template, so as to render the page picture needed for this.Page picture in the present embodiment is html format,
The page picture of html format can certainly be converted into the page picture of other forms according to the actual requirements.
In the present embodiment, when receiving page picture generation instruction, instruction is generated according to the page picture and determines figure
Piece page request, and page picture material corresponding to acquisition;Page Template and the page according to corresponding to obtaining the page request
Demand data, and the page picture according to corresponding to the generation of the page picture material, Page Template and page need data.Pass through
With upper type, the page picture generating process of the present embodiment does not need front and back end personnel to carry out cumbersome data task handing-over, institute
There is operation can be in front end complete independently;Front end directly can obtain corresponding Page Template and page number according to the demand of page picture
According to, and the filling of data is automatically performed, without artificial padding, the reliability of page data is ensure that, is also reduced simultaneously
The development time of page picture, improve the efficiency of page picture generation.
Reference picture 3, Fig. 3 are the schematic flow sheet of page picture generation method second embodiment of the present invention.
Based on embodiment described in above-mentioned Fig. 1, after step S20, in addition to:
Step S30, show the page picture;
Step S40, if receiving page adjust instruction, the page according to the page adjust instruction to the page picture
Face data are modified, and update the page picture according to the page data after modification result.
In the present embodiment, when rendering to obtain page picture, the page picture will be shown in display screen.So that user
Page picture can be seen, to determine whether to meet to be expected requirement.Wherein, to realize the purpose, front end page uses MVVC frameworks
VUE realizes that data double-way is bound, and when user submits (uploading pictures page material) after data every time, PC terminals all can will be according to this
The page caused by a little data is shown, and facilitates user's live preview to be based on uploading the page caused by data.
Further, if user sees page picture, if thinking undesirable (such as some picture of page picture
Position or the off size of picture are fitted), the page adjustment option in the page can be clicked on, it is right so as to trigger page adjust instruction
Page picture is adjusted;The mode of adjustment can be carried out by user by way of mouse drag, can also be by user
Corresponding adjustment code of input etc..PC terminals are when receiving the page adjust instruction, i.e., according to the page adjust instruction to original
The page data of page picture is modified.Wherein, the content of adjustment including page picture content (as include image content and
Word content), the typesetting of page picture, the size of each several part, color etc.;And for the adjustment of image content, user can be with
The picture reselected in local or network is uploaded, and replaces the picture in page picture;Therefore the page data of modification
Page picture material, Page Template, page need data can be included., will be according to modification when changing completion to page data
As a result the page data after updates page picture and shown.If certain user still thinks that page picture is nonconforming, can
Modify again operation.
Reference picture 4, Fig. 4 are the schematic flow sheet of page picture generation method 3rd embodiment of the present invention.
Based on embodiment described in above-mentioned Fig. 1 or Fig. 2, after step S20, in addition to:
Step S50, the page data of the page picture is stored in local cache;
Step S60, when receiving caching deletion instruction, corresponding page in the local cache is deleted according to the caching
Face data;
Step S70, the page picture is updated according to remaining page data in the local cache.
In the present embodiment, in order to prevent the page from collapsing or cause the feelings such as loss of data, page picture damage when accidental switching off
Condition occurs, and when rendering to obtain page picture, the page data of page picture can be stored in local cache, i.e., to preceding end page
Each data filling in face is all locally stored;After storage, if the page collapses or can reopen the page when accidental switching off, and look into
Caching is ask, gets the page data of last time in the buffer, so as to recover last page picture according to the page data.
Further, caching is also provided in page picture (front end page) and deletes option, user can be by clicking on the caching
Option is deleted, triggering caching deletes instruction;PC terminals, can be by the page in local cache when receiving caching deletion instruction
Data are deleted, so as to discharge memory space.And delete function for caching and can be designed using Observer Pattern;Observer
Formula refers to that a target piece manages all observer's objects for depending upon it, and is actively sent out in the state change of itself
Put up a notice.In the present embodiment, User Page can be used as an observer, and page data is observed person, and User Page is observed
The change of business datum, after finding data variation, it is indicated on interface.Specifically, in the present embodiment, the page of page picture
Data will be stored in an array, and all filling data are stored in an array, and set setter attributes to array,
Changed with monitored data, while observer's User Page (i.e. PC display interface) can subscribe to clear events (observer);When with
When caching deletion option is clicked at family, the clear events can be triggered;After observer's User Page receives clear events, it will can deposit
The array for putting page data empties, and synchronously empties and be locally stored, so as to which the page data in caching be deleted.And delayed
When deposit data is deleted, the setter of array can be triggered, and the page is rendered according to the page data of current array again;If it is stored in
Page data in caching is all deleted, then original state (initializing the page) will be reverted on User Page.Certainly
The also settable getter attributes of array, getter is mainly the data acquisition and page picture generating process in step S10, S20
In be related to triggering during the change of data in array, User Page can according in now data data change carry out page picture
Display.
In addition, the present invention also provides a kind of page picture generating means.
Page picture generating means of the present invention include processor, memory and are stored on the memory and can quilt
The page picture generation program of the computing device, page picture generation program realized during the computing device with
Lower step:
When receiving page picture generation instruction, instruction is generated according to the page picture and determines page picture requirement,
And page picture material corresponding to obtaining;
Page Template and page need data according to corresponding to obtaining the page request, and according to page picture element
Material, Page Template and page picture corresponding to the generation of page need data.
Further, when the page picture generates program by the computing device, following steps are also realized:
The page picture material is compressed, and the page picture material after compression is preserved to high in the clouds.
Further, the page need data according to corresponding to obtaining the page request, and according to the picture page
Include corresponding to face material, the generation of page need data the step of page picture:
Back end interface is inquired about according to the page request, obtains Page Template and page need corresponding to the page request
Data;
The Page Template is rendered and/or filled according to the page picture material and page need data, is obtained
Page picture corresponding to obtaining.
Further, when the page picture generates program by the computing device, following steps are also realized:
Show the page picture;
If receiving page adjust instruction, the page data of the page picture is entered according to the page adjust instruction
Row modification, and the page picture is updated according to the page data after modification result.
Further, when the page picture generates program by the computing device, following steps are also realized:
The page data of the page picture is stored in local cache;
When receiving caching deletion instruction, corresponding page data in the local cache is deleted according to the caching;
The page picture is updated according to remaining page data in the local cache.
Wherein, the method realized when page picture generation program is performed can refer to page picture generation method of the present invention
Each embodiment, here is omitted.
In addition, the present invention also provides a kind of computer-readable recording medium.
Page picture generation program is stored with computer-readable recording medium of the present invention, wherein the page picture generates
When program is executed by processor, the step of realizing page picture generation method described above.
Wherein, the method realized when page picture generation program is performed can refer to page picture generation method of the present invention
Each embodiment, here is omitted.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of page picture generation method, it is characterised in that the page picture generation method comprises the following steps:
When receiving page picture generation instruction, instruction is generated according to the page picture and determines page picture requirement, and is obtained
Page picture material corresponding to taking;
According to the page request obtain corresponding to Page Template and page need data, and according to the page picture material,
Page picture corresponding to Page Template and the generation of page need data.
2. page picture generation method as claimed in claim 1, it is characterised in that it is described receive page picture generation refer to
When making, instruction is generated according to the page picture and determines page picture requirement, and corresponding to acquisition the step of page picture material
Afterwards, in addition to:
The page picture material is compressed, and the page picture material after compression is preserved to high in the clouds.
3. page picture generation method as claimed in claim 1, it is characterised in that described according to page request acquisition pair
The page need data answered, and according to corresponding to the page picture material, the generation of page need data the step of page picture
Including:
Back end interface is inquired about according to the page request, obtains Page Template corresponding to the page request and page need number
According to;
The Page Template is rendered and/or filled according to the page picture material and page need data, acquisition pair
The page picture answered.
4. page picture generation method as claimed in claim 1, it is characterised in that described according to page request acquisition pair
The Page Template and page need data answered, and generated according to the page picture material, Page Template and page need data
After the step of corresponding page picture, in addition to:
Show the page picture;
If receiving page adjust instruction, the page data of the page picture is repaiied according to the page adjust instruction
Change, and the page picture is updated according to the page data after modification result.
5. the page picture generation method as any one of Claims 1-4, it is characterised in that described according to the page
Face requires Page Template and page need data corresponding to acquisition, and according to page picture material, Page Template and the page
Demand data generation corresponding to page picture the step of after, in addition to:
The page data of the page picture is stored in local cache.
6. page picture generation method as claimed in claim 5, it is characterised in that the page number by the page picture
After the step being stored in local cache, in addition to:
When receiving caching deletion instruction, corresponding page data in the local cache is deleted according to the caching;
The page picture is updated according to remaining page data in the local cache.
A kind of 7. page picture generating means, it is characterised in that the page picture generating means include processor, memory,
And be stored on the memory and program can be generated by the page picture of the computing device, the page picture generation
Following steps are realized when program is by the computing device:
When receiving page picture generation instruction, instruction is generated according to the page picture and determines page picture requirement, and is obtained
Page picture material corresponding to taking;
According to the page request obtain corresponding to Page Template and page need data, and according to the page picture material,
Page picture corresponding to Page Template and the generation of page need data.
8. page picture generating means as claimed in claim 7, it is characterised in that described according to page request acquisition pair
The page need data answered, and according to corresponding to the page picture material, the generation of page need data the step of page picture
Including:
Back end interface is inquired about according to the page request, obtains Page Template corresponding to the page request and page need number
According to;
The Page Template is rendered and/or filled according to the page picture material and page need data, acquisition pair
The page picture answered.
9. page picture generating means as claimed in claim 7 or 8, it is characterised in that the page picture generates program quilt
During the computing device, following steps are also realized:
The page data of the page picture is stored in local cache;
When receiving caching deletion instruction, corresponding page data in the local cache is deleted according to the caching;
The page picture is updated according to remaining page data in the local cache.
10. a kind of computer-readable recording medium, it is characterised in that picture page is stored with the computer-readable recording medium
Face generates program, wherein when page picture generation program is executed by processor, realizes such as any one of claim 1 to 6
The step of described page picture generation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710709502.5A CN107633013A (en) | 2017-08-17 | 2017-08-17 | Page picture generation method, device and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710709502.5A CN107633013A (en) | 2017-08-17 | 2017-08-17 | Page picture generation method, device and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107633013A true CN107633013A (en) | 2018-01-26 |
Family
ID=61100220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710709502.5A Pending CN107633013A (en) | 2017-08-17 | 2017-08-17 | Page picture generation method, device and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107633013A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446116A (en) * | 2018-02-26 | 2018-08-24 | 平安普惠企业管理有限公司 | Generation method, device, computer equipment and the storage medium of the application program page |
CN108520782A (en) * | 2018-03-30 | 2018-09-11 | 山东创泽信息技术股份有限公司 | Formula configuration method, device and electronic equipment |
CN108875085A (en) * | 2018-07-18 | 2018-11-23 | 平安科技(深圳)有限公司 | Mix image processing method, device, computer equipment and the storage medium of application |
CN108897538A (en) * | 2018-06-08 | 2018-11-27 | 泰康保险集团股份有限公司 | Page view display methods and device, storage medium and electric terminal |
CN109062602A (en) * | 2018-07-20 | 2018-12-21 | 乐蜜有限公司 | It is a kind of for the data processing method of application program, device and electronic equipment |
CN109445791A (en) * | 2018-11-01 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of page front-end access method and realize system |
CN110909273A (en) * | 2018-08-28 | 2020-03-24 | 马上消费金融股份有限公司 | Page generation method and related system |
CN113821278A (en) * | 2021-09-06 | 2021-12-21 | 挂号网(杭州)科技有限公司 | Method and device for calling image size, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102810105A (en) * | 2011-06-03 | 2012-12-05 | 腾讯科技(北京)有限公司 | Edit method for pages accessed by mobile terminals and webpage editor |
CN103955367A (en) * | 2014-04-28 | 2014-07-30 | 华为技术有限公司 | Method and device for generating pages |
CN105373567A (en) * | 2014-09-01 | 2016-03-02 | 北京奇虎科技有限公司 | Page generation method and client |
CN105468377A (en) * | 2015-12-10 | 2016-04-06 | 北京中科汇联科技股份有限公司 | Method and system for generating page of mobile terminal |
CN105931096A (en) * | 2016-04-14 | 2016-09-07 | 杭州艺豆网络科技有限公司 | Commodity detail page making method |
CN106021617A (en) * | 2016-07-12 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Page generation method and device |
CN106096064A (en) * | 2016-07-19 | 2016-11-09 | 百度在线网络技术(北京)有限公司 | For the method and apparatus generating the page |
-
2017
- 2017-08-17 CN CN201710709502.5A patent/CN107633013A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102810105A (en) * | 2011-06-03 | 2012-12-05 | 腾讯科技(北京)有限公司 | Edit method for pages accessed by mobile terminals and webpage editor |
CN103955367A (en) * | 2014-04-28 | 2014-07-30 | 华为技术有限公司 | Method and device for generating pages |
CN105373567A (en) * | 2014-09-01 | 2016-03-02 | 北京奇虎科技有限公司 | Page generation method and client |
CN105468377A (en) * | 2015-12-10 | 2016-04-06 | 北京中科汇联科技股份有限公司 | Method and system for generating page of mobile terminal |
CN105931096A (en) * | 2016-04-14 | 2016-09-07 | 杭州艺豆网络科技有限公司 | Commodity detail page making method |
CN106021617A (en) * | 2016-07-12 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Page generation method and device |
CN106096064A (en) * | 2016-07-19 | 2016-11-09 | 百度在线网络技术(北京)有限公司 | For the method and apparatus generating the page |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446116A (en) * | 2018-02-26 | 2018-08-24 | 平安普惠企业管理有限公司 | Generation method, device, computer equipment and the storage medium of the application program page |
CN108520782A (en) * | 2018-03-30 | 2018-09-11 | 山东创泽信息技术股份有限公司 | Formula configuration method, device and electronic equipment |
CN108897538A (en) * | 2018-06-08 | 2018-11-27 | 泰康保险集团股份有限公司 | Page view display methods and device, storage medium and electric terminal |
CN108875085A (en) * | 2018-07-18 | 2018-11-23 | 平安科技(深圳)有限公司 | Mix image processing method, device, computer equipment and the storage medium of application |
CN108875085B (en) * | 2018-07-18 | 2023-04-07 | 平安科技(深圳)有限公司 | Picture processing method and device for hybrid application, computer equipment and storage medium |
CN109062602A (en) * | 2018-07-20 | 2018-12-21 | 乐蜜有限公司 | It is a kind of for the data processing method of application program, device and electronic equipment |
CN109062602B (en) * | 2018-07-20 | 2022-03-18 | 卓米私人有限公司 | Data processing method and device for application program and electronic equipment |
CN110909273A (en) * | 2018-08-28 | 2020-03-24 | 马上消费金融股份有限公司 | Page generation method and related system |
CN110909273B (en) * | 2018-08-28 | 2021-06-11 | 马上消费金融股份有限公司 | Page generation method and related system |
CN109445791A (en) * | 2018-11-01 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of page front-end access method and realize system |
CN113821278A (en) * | 2021-09-06 | 2021-12-21 | 挂号网(杭州)科技有限公司 | Method and device for calling image size, electronic equipment and storage medium |
CN113821278B (en) * | 2021-09-06 | 2024-05-03 | 挂号网(杭州)科技有限公司 | Calling image size method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107633013A (en) | Page picture generation method, device and computer-readable recording medium | |
US20220253588A1 (en) | Page processing method and related apparatus | |
CN112291484B (en) | Video synthesis method and device, electronic equipment and storage medium | |
RU2639651C2 (en) | Image identification and organization according to model without user intervention | |
JP6505949B2 (en) | Information display method, display server, social application client and system | |
CN106453572B (en) | Method and system based on Cloud Server synchronous images | |
KR101914478B1 (en) | Image providing system, service apparatus and image providing method thereof | |
CN103338235B (en) | On mobile phone, realize the method for dynamic wallpaper interactive mode, personalized creation | |
CN111951356B (en) | Animation rendering method based on JSON data format | |
CN110516218A (en) | Generation method, terminal and the computer readable storage medium of table | |
CN111191176B (en) | Website content updating method, device, terminal and storage medium | |
CN104509092A (en) | Storyboards for capturing images | |
US20230401806A1 (en) | Scene element processing method and apparatus, device, and medium | |
CN106953924B (en) | Processing method of shared information and shared client | |
CN108363749A (en) | Method and apparatus for information processing | |
JP2023548143A (en) | Dynamic user device upscaling of media streams | |
CN107391148B (en) | View element saving method and device, electronic equipment and computer storage medium | |
US10860184B2 (en) | Sharing groups for capturing digital media | |
CN108134906A (en) | Image processing method and its system | |
CN114866801B (en) | Video data processing method, device, equipment and computer readable storage medium | |
CN115801777A (en) | Widget component processing method, device, equipment, storage medium and program product | |
CN115501588A (en) | Image rendering method and device, storage medium and electronic equipment | |
CN110868471A (en) | Novel equipment construction method and device and storage medium | |
CN115643468A (en) | Poster generation method and device, electronic equipment and storage medium | |
CN114710618A (en) | Method and device for previewing spliced image and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information |
Address after: 510000 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd. Address before: 510000 Guangzhou City, Guangzhou, Guangdong Province, Tianhe District Ke Yun Road, No. 16 self compiled 2 rooms (the residence limit for this residence) Applicant before: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180126 |
|
RJ01 | Rejection of invention patent application after publication |