CN109710254A - Construction method, device and the storage medium of page view - Google Patents
Construction method, device and the storage medium of page view Download PDFInfo
- Publication number
- CN109710254A CN109710254A CN201811581063.5A CN201811581063A CN109710254A CN 109710254 A CN109710254 A CN 109710254A CN 201811581063 A CN201811581063 A CN 201811581063A CN 109710254 A CN109710254 A CN 109710254A
- Authority
- CN
- China
- Prior art keywords
- view
- unit
- target area
- ident value
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of construction method of page view, include the following steps: view to be built being split as several view units, each view unit is identified respectively using view unit ident value, and stores to storage unit;Region division is carried out to target pages, several target areas is obtained, each target area is identified respectively using target area ident value, and stores to storage unit;View unit is extracted from storage unit according to assembly coding;Wherein, assembly coding is to be combined by view unit ident value and target area ident value according to preset coding rule;The view unit of extraction and corresponding target area are combined according to assembly coding, obtain target pages view.User enhances timeliness using the efficiency of the application after the present invention can be improved application interface change.The embodiment of the invention also discloses a kind of construction device of page view and storage mediums.
Description
Technical field
The present invention relates to view constructing technology field more particularly to a kind of construction methods of page view, device and storage
Medium.
Background technique
The interface requirements of various styles, especially user's hand used in everyday can be encountered in the development process of terminal applies
Machine, the terminal interfaces such as plate.In the prior art, when the application interface of the terminals such as mobile phone or plate needs to carry out new interface change
When, developer needs to develop corresponding interface requirements in corresponding terminal applies, is then pushed to user OTA upgrading, user OTA
After upgrading, new demand interface can be just experienced.
The present inventor has found in the practice of the invention, and following technical problem: application interface exists in the prior art
After change, when user needs to use in application, needing first actively to carry out OTA upgrading, the usage experience of user is affected, is reduced
Service efficiency and timeliness.
Summary of the invention
The embodiment of the present invention provides a kind of construction method of page view, and user uses after can be improved application interface change
The efficiency of the application enhances timeliness.
The embodiment of the present invention one provides a kind of construction method of page view, includes the following steps:
View to be built is split as several view units, using view unit ident value respectively to each view
Unit is identified, and the view unit and corresponding view unit ident value are stored to storage unit;
Region division is carried out to target pages, several target areas are obtained, using target area ident value respectively to each
The target area is identified, and the target area and corresponding target area ident value are stored to the storage list
Member;
The view unit is extracted from the storage unit according to assembly coding;Wherein, the assembly coding is by institute
It states view unit ident value and the target area ident value combines according to preset coding rule;
The view unit of extraction and the corresponding target area are combined according to the assembly coding, obtained
Target pages view.
As an improvement of the above scheme, the view unit includes several view elements;The view elements include text,
The combination of picture, video, audio one or more of them.
As an improvement of the above scheme, the preset coding rule specifically:
It, will be each by each target area ident value respectively with view unit ident value compositing area group to be combined
The region group carry out sequence arrangement, forms the assembly coding.
The correspondence of the embodiment of the present invention two provides a kind of construction device of page view, comprising:
View split cells, for view to be built to be split as several view units, using view unit ident value
Each view unit is identified respectively, and the view unit and corresponding view unit ident value are stored to depositing
Storage unit;
Area division unit obtains several target areas, using target area for carrying out region division to target pages
Ident value is respectively identified each target area, and the target area and corresponding target area ident value are deposited
It stores up to the storage unit;
View extraction unit, for extracting the view unit from the storage unit according to assembly coding;Wherein, institute
Stating assembly coding is to be combined by the view unit ident value and the target area ident value according to preset coding rule
It arrives;
View sets up unit, for the view unit and the corresponding target according to the assembly coding to extraction
Region is combined, and obtains target pages view.
The embodiment of the present invention three correspondence provides a kind of construction device of page view, comprising: processor, memory and
The computer program executed by the processor is stored in the memory and is configured as, the processor executes the meter
The construction method of the page view as described in the embodiment of the present invention one is realized when calculation machine program.
The correspondence of the embodiment of the present invention four provides a kind of computer readable storage medium, which is characterized in that the computer
Readable storage medium storing program for executing includes the computer program of storage, wherein controlling the computer in computer program operation can
Equipment executes the construction method of the page view as described in the embodiment of the present invention one where reading storage medium.
A kind of construction method of page view provided in an embodiment of the present invention compared with prior art, has following beneficial to effect
Fruit:
Each view unit is identified respectively using view unit ident value, it is right respectively using target area ident value
Each target area is identified, and realization clearly positions each target area and view unit;By storage unit,
It realizes that local and cloud platform view unit is extracted, when so that application interface changing, does not need to carry out OTA upgrading to application;It answers
After being updated with interface, user can be directly entered application interface and carry out acquisition of information and operation, not need first actively to carry out OTA liter
Grade, saves the waiting time of escalation process, improves the service efficiency of application, enhances timeliness.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the construction method for page view that the embodiment of the present invention one provides.
Fig. 2 is the schematic diagram of view unit and corresponding view unit ident value.
Fig. 3 is the target pages view obtained according to an assembly coding.
Fig. 4 is the target pages view obtained according to another assembly coding.
Fig. 5 is the target pages view obtained according to another assembly coding.
Fig. 6 is a kind of structural schematic diagram of the construction device of page view provided by Embodiment 2 of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, the embodiment of the present invention one provides a kind of construction method of page view, includes the following steps:
S101, view to be built is split as several view units, using view unit ident value respectively to each view
Figure unit is identified, and view unit and corresponding view unit ident value are stored to storage unit;
S102, region division is carried out to target pages, obtains several target areas, it is right respectively using target area ident value
Each target area is identified, and target area and corresponding target area ident value are stored to storage unit;
S103, view unit is extracted from storage unit according to assembly coding;Wherein, assembly coding is by view unit mark
What knowledge value and target area ident value were combined according to preset coding rule;
S104, the view unit of extraction and corresponding target area are combined according to assembly coding, obtain page object
Face view.
Further, view unit includes several view elements;View elements include text, picture, video, audio wherein
One or more combinations.
Further, preset coding rule specifically: by each target area ident value respectively with view to be combined
Group carry out sequence arrangement in each region is formed assembly coding by unit marks value compositing area group.
It in a specific embodiment, referring to fig. 2, is the signal of view unit and corresponding view unit ident value
Figure, wherein view unit ident value is three natural numbers.
Target area ident value is a letter.Target area includes header area, content regions and bottom zone, and header area pair
The target area ident value answered is H, and the corresponding target area ident value in content regions is B, the corresponding target area mark in bottom zone
Value is F.
When assembly coding is H101B202F701, the view unit that view unit ident value is 101 forms header area, depending on
The view unit component content area that figure unit marks value is 202, the view unit that view unit ident value is 701 form bottom
Area is the corresponding target pages view of the assembly coding referring to Fig. 3.
When assembly coding is H101B203F702, the view unit that view unit ident value is 101 forms header area, depending on
The view unit component content area that figure unit marks value is 203, the view unit that view unit ident value is 702 form bottom
Area is referring to fig. 4 the corresponding target pages view of the assembly coding.
When assembly coding is H102B203201, the view unit that view unit ident value is 101 forms header area, depending on
The view unit component content area that figure unit marks value is 203 and 201 is the corresponding target pages of the assembly coding referring to Fig. 5
View.
Preferably, storage unit may include local storage unit, also may include cloud platform storage unit.When need into
When row application interface changes, other view units stored in local storage unit can be extracted according to new assembly coding,
Other view units of storage can be extracted from cloud platform storage unit, thus according to new assembly coding to the view of extraction
Unit and corresponding target area are combined, and obtain target pages view.
Preferably, the storage format of data is JSON format in storage unit.
A kind of construction method of page view provided in an embodiment of the present invention compared with prior art, has following beneficial to effect
Fruit:
Each view unit is identified respectively using view unit ident value, it is right respectively using target area ident value
Each target area is identified, and realization clearly positions each target area and view unit;By storage unit,
It realizes that local and cloud platform view unit is extracted, when so that application interface changing, does not need to carry out OTA upgrading to application;It answers
After being updated with interface, user can be directly entered application interface and carry out acquisition of information and operation, not need first actively to carry out OTA liter
Grade, saves the waiting time of escalation process, improves the service efficiency of application, enhances timeliness.
It is a kind of construction device of the corresponding page view provided of the embodiment of the present invention two referring to Fig. 6, comprising:
View split cells 201 is identified for view to be built to be split as several view units using view unit
Value is respectively identified each view unit, and by the view unit and corresponding view unit ident value store to
Storage unit;
Area division unit 202 obtains several target areas, using target for carrying out region division to target pages
Area identification value is respectively identified each target area, and the target area and corresponding target area are identified
Value is stored to the storage unit;
View extraction unit 203, for extracting the view unit from the storage unit according to assembly coding;Its
In, the assembly coding is by the view unit ident value and the target area ident value according to preset coding rule group
What conjunction obtained;
View sets up unit 204, for according to the assembly coding to the view unit of extraction and corresponding described
Target area is combined, and obtains target pages view.
Further, view unit includes several view elements;View elements include text, picture, video, audio wherein
One or more combinations.
Further, preset coding rule specifically: by each target area ident value respectively with view to be combined
Group carry out sequence arrangement in each region is formed assembly coding by unit marks value compositing area group.
The embodiment of the present invention three is corresponding to provide a kind of construction device of page view, including processor, memory and
The computer program executed by the processor is stored in the memory and is configured as, the processor executes the meter
The construction method of the page view as described in the embodiment of the present invention one is realized when calculation machine program.The construction device of the page view
It can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.The building of the page view fills
It sets and may include, but be not limited only to, processor, memory.
The correspondence of the embodiment of the present invention four provides a kind of computer readable storage medium, which is characterized in that the computer
Readable storage medium storing program for executing includes the computer program of storage, wherein controlling the computer in computer program operation can
Equipment executes the construction method of the page view as described in the embodiment of the present invention one where reading storage medium.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor is the control centre of the construction device of the page view, utilizes various interfaces and the entire page of connection
The various pieces of the construction device of face view.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of the construction device of page view.The memory can mainly include storing program area and storage data area, wherein
Storing program area can application program needed for storage program area, at least one function (for example sound-playing function, image play
Function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory etc.) according to mobile phone
Deng.It can also include nonvolatile memory in addition, memory may include high-speed random access memory, such as hard disk, interior
It deposits, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card,
Flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Wherein, if the construction device of the page view it is integrated module/unit it is real in the form of SFU software functional unit
Now and when sold or used as an independent product, it can store in a computer readable storage medium.Based in this way
Understanding, the present invention realize above-described embodiment method in all or part of the process, can also be instructed by computer program
Relevant hardware is completed, and the computer program can be stored in a computer readable storage medium, the computer program
When being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer
Program code, the computer program code can be source code form, object identification code form, executable file or certain centres
Form etc..The computer-readable medium may include: can carry the computer program code any entity or device,
Recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software
Distribution medium etc..
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (6)
1. a kind of construction method of page view, which comprises the steps of:
View to be built is split as several view units, using view unit ident value respectively to each view unit
It is identified, and the view unit and corresponding view unit ident value is stored to storage unit;
Region division is carried out to target pages, several target areas are obtained, using target area ident value respectively to each described
Target area is identified, and the target area and corresponding target area ident value are stored to the storage unit;
The view unit is extracted from the storage unit according to assembly coding;Wherein, the assembly coding is by the view
What figure unit marks value and the target area ident value were combined according to preset coding rule;
The view unit of extraction and the corresponding target area are combined according to the assembly coding, obtain target
Page view.
2. a kind of construction method of page view as described in claim 1, which is characterized in that the view unit includes several
View elements;The view elements include the combination of text, picture, video, audio one or more of them.
3. a kind of construction method of page view as described in claim 1, which is characterized in that the preset coding rule tool
Body are as follows:
It, will be each described by each target area ident value respectively with view unit ident value compositing area group to be combined
Region group carry out sequence arrangement, forms the assembly coding.
4. a kind of construction device of page view characterized by comprising
View split cells is distinguished for view to be built to be split as several view units using view unit ident value
Each view unit is identified, and the view unit and corresponding view unit ident value are stored to storage list
Member;
Area division unit is obtained several target areas, is identified using target area for carrying out region division to target pages
Value is respectively identified each target area, and by the target area and corresponding target area ident value store to
The storage unit;
View extraction unit, for extracting the view unit from the storage unit according to assembly coding;Wherein, described group
Compiling in collaboration with code is to be combined by the view unit ident value and the target area ident value according to preset coding rule;
View set up unit, for according to the assembly coding to extraction the view unit and the corresponding target area
It is combined, obtains target pages view.
5. a kind of construction device of page view, including processor, memory and storage in the memory and are configured
For the computer program executed by the processor, the processor realizes such as claim 1 when executing the computer program
To the construction method of page view described in any one of 3.
6. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage
Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed
Benefit require any one of 1 to 3 described in page view construction method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811581063.5A CN109710254B (en) | 2018-12-24 | 2018-12-24 | Page view construction method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811581063.5A CN109710254B (en) | 2018-12-24 | 2018-12-24 | Page view construction method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109710254A true CN109710254A (en) | 2019-05-03 |
CN109710254B CN109710254B (en) | 2022-05-06 |
Family
ID=66257279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811581063.5A Active CN109710254B (en) | 2018-12-24 | 2018-12-24 | Page view construction method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710254B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170315786A1 (en) * | 2016-04-27 | 2017-11-02 | Adp, Llc | User Interface Engine for Miniapp Development |
CN107450929A (en) * | 2017-08-10 | 2017-12-08 | 武汉斗鱼网络科技有限公司 | Page development method and device |
CN108762729A (en) * | 2018-05-07 | 2018-11-06 | 北京五八信息技术有限公司 | A kind of method, apparatus of page makeup, computer equipment and storage medium |
-
2018
- 2018-12-24 CN CN201811581063.5A patent/CN109710254B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170315786A1 (en) * | 2016-04-27 | 2017-11-02 | Adp, Llc | User Interface Engine for Miniapp Development |
CN107450929A (en) * | 2017-08-10 | 2017-12-08 | 武汉斗鱼网络科技有限公司 | Page development method and device |
CN108762729A (en) * | 2018-05-07 | 2018-11-06 | 北京五八信息技术有限公司 | A kind of method, apparatus of page makeup, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109710254B (en) | 2022-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107577537A (en) | Resource allocation method and Related product | |
CN108574706B (en) | Media file pushing method and device | |
CN107404481B (en) | User information recognition methods and device | |
CN105744005A (en) | Client positioning and analyzing method and server | |
EP3537365A1 (en) | Method, device, and system for increasing users | |
CN106815254A (en) | A kind of data processing method and device | |
CN104679851A (en) | Data deleting method and terminal | |
CN109634683B (en) | Short message operation framework configuration and pushing method and device based on enterprise expectation | |
CN110300191A (en) | Service system and data processing method | |
CN104580310A (en) | Log processing method and server | |
CN109033148A (en) | One kind is towards polytypic unbalanced data preprocess method, device and equipment | |
CN109086289A (en) | A kind of media data processing method, client, medium and equipment | |
CN105868279B (en) | A kind of application recommended method and server | |
CN107590682A (en) | Advertisement placement method, server, hotspot device and system | |
CN108647735B (en) | User travel rule analysis method, device, equipment and storage medium | |
CN109862399A (en) | It shows the method for rich media information, handle method, computer installation and the computer readable storage medium of rich media information | |
CN108737487B (en) | Data synchronization method and device, storage medium and electronic device | |
CN105959306A (en) | IP address identification method and device | |
CN106131238B (en) | The classification method and device of IP address | |
CN107423446A (en) | New media based on cloud storage automates credible deployment system and method | |
CN109710254A (en) | Construction method, device and the storage medium of page view | |
CN109067640B (en) | Information pushing method and device | |
CN110991088A (en) | Cable model construction method and system, terminal device and storage medium | |
CN111080076A (en) | Intelligent recommendation method and system, equipment and server | |
CN115984853A (en) | Character recognition method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |