CN110275704A - Page data processing method and device, storage medium and electronic equipment - Google Patents
Page data processing method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110275704A CN110275704A CN201910441876.2A CN201910441876A CN110275704A CN 110275704 A CN110275704 A CN 110275704A CN 201910441876 A CN201910441876 A CN 201910441876A CN 110275704 A CN110275704 A CN 110275704A
- Authority
- CN
- China
- Prior art keywords
- cross
- platform
- page
- language file
- view component
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
Purpose of this disclosure is to provide a kind of page data processing method and device, storage medium and electronic equipment, to solve the problems, such as that front-end software exploitation is not convenient enough in the related technology.The described method includes: obtaining based on the cross-platform protocol language file presetting cross-platform protocol rule and writing, the cross-platform protocol language file is used to describe the display page of client;According to the cross-platform protocol language file, pass through the cross-platform render engine renders page predefined in system;The page that rendering obtains is output to the client to show.
Description
Technical field
This disclosure relates to front end development technique field, and in particular, to a kind of page data processing method and device, storage
Medium and electronic equipment.
Background technique
With the fast development of Internet technology, all kinds of terminal devices in people's lives using more and more extensive.?
Equipped with operating system in these terminal devices, in order to meet the different use demands of user, operating system is also equipped with all kinds of
Application program, these application programs need to have multiplicity logic processing capability.It is beauty convenient for the user to operate, that promotion makes
Perception is by software developer can the irregular functional module and display effect updated on customer terminal webpage.
In the related technology, when being updated to application program, the script text write based on client protocol rule is issued
Part after application program receives script file, parses script file by the script resolver in system, by basis
The component that parsing result calling system has defined further renders these components, is converted into the page of client
Face view.
Summary of the invention
Purpose of this disclosure is to provide a kind of page data processing method and device, storage medium and electronic equipment, with solution
Certainly front-end software develops not convenient enough problem in the related technology.
To achieve the goals above, in a first aspect, the disclosure provides a kind of page data processing method, comprising:
It obtains based on the cross-platform protocol language file presetting cross-platform protocol rule and writing, the cross-platform protocol language
File is used to describe the display page of client;
According to the cross-platform protocol language file, pass through the cross-platform render engine renders page predefined in system;
The page that rendering obtains is output to the client to show.
Optionally, described according to the cross-platform protocol language file, drawn by cross-platform rendering predefined in system
Hold up the rendering page, comprising:
The cross-platform protocol language file is parsed, parsing data are obtained;
View component of the cross-platform rendering engine based on the page described in the parsing data acquisition, and to the view
Component is rendered.
Optionally, view component of the cross-platform rendering engine based on the page described in the parsing data acquisition, comprising:
The cross-platform rendering engine is based on the parsing data, calls institute by the interface in correspondence system integrated graphics library
The figure in shape library is stated, and draws the view component of the page;And/or
The cross-platform rendering engine is based on predefined view component in system described in the parsing data call, described
Predefined view component is the indiscriminate predefined components between different type platform.
Optionally, the cross-platform protocol language file includes show pattern for describing the view component of the page first
Second information of information and/or the view component execution logic for describing the page.
Second aspect, the disclosure provide a kind of page data processing unit, comprising:
Module is obtained, it is described for obtaining based on the cross-platform protocol language file presetting cross-platform protocol rule and writing
Cross-platform protocol language file is used to describe the display page of client;
Rendering module, for passing through cross-platform rendering predefined in system according to the cross-platform protocol language file
The engine renders page;
Display module, the page for obtaining rendering are output to the client and show.
Optionally, the rendering module, is used for:
The cross-platform protocol language file is parsed, parsing data are obtained;
Based on the view component of the page described in the parsing data acquisition, and the view component is rendered.
Optionally, the rendering module, is used for:
Based on the parsing data, the figure in the shape library is called by the interface in correspondence system integrated graphics library,
And draw the view component of the page;And/or
Based on predefined view component in system described in the parsing data call, the predefined view component is
The indiscriminate predefined components between different type platform.
Optionally, the cross-platform protocol language file includes show pattern for describing the view component of the page first
Second information of information and/or the view component execution logic for describing the page.
The third aspect, the disclosure provide a kind of computer readable storage medium, are stored thereon with computer program, the program
The step of any one page data processing method is realized when being executed by processor.
Fourth aspect, the disclosure provide a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize any one page data
The step of processing method.
Above-mentioned technical proposal can at least reach following technical effect:
By obtaining cross-platform protocol language file, and based on to the solution obtained after the cross-platform protocol language document analysis
Analysis data and the preset component rendering template of platform draw the component of the target pages.Since the component of target pages is based on
What the rendering method of platform itself was drawn, compared with the scheme of the primary component rendering page of calling platform in the related technology, reduce
When the primary component of calling the convenient degree of front end exploitation need to be improved for the workload of platform api interface difference exploitation.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool
Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of page data processing method flow chart shown according to an exemplary embodiment.
Fig. 2 is a kind of page data processing method flow chart shown according to an exemplary embodiment.
Fig. 3 is a kind of page data processing unit block diagram shown according to an exemplary embodiment.
Fig. 4 is a kind of electronic equipment block diagram shown according to an exemplary embodiment.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The application protection all should belong in technical staff's every other embodiment obtained without making creative work
Range.It should be understood that the specific embodiments described herein are only used for describing and explaining the disclosure, it is not used to limit
The disclosure processed.
The specific implementation of the embodiment of the present application is described in detail with several specific examples below.This application provides such as implement
Method operating procedure described in example or flow chart, but based on routine or may include more or less without creative labor
Operating procedure.The step of enumerating in embodiment sequence is only one of numerous step execution sequences mode, is not represented only
One executes sequence.It, can be according to embodiment or side shown in the drawings when system or client production in practice executes
Method sequence executes or parallel execution (such as environment of parallel processor or multiple threads).
The operating system of mainstream, Android system or IOS system, both provide the view component predefined, for example, pressing
Button, text box, list, the components such as layout templates.In the related technology, it when being updated to application program, issues based on client
The script file that end protocol rule is write, after application program receives script file, passes through the script resolver pair on platform
Script file is parsed, the component that will have been defined according to parsing result calling platform, further to these components into
Row rendering, is converted into the view of client.
In the related technology, script file is write based on different client protocol rules for different platforms.It is solved
Analyse result after, calling be platform provide the primary component defined, then script resolver needs processing platform itself
Logic.Due to the API (Application Programming Interface, application programming interface) of different platform
Interface is different, need to be directed to the distinguishing definition script resolver of platform difference, that is to say, that script resolver needs to adapt to
Property for different platform control distinguish customization.The need of developer are developed for different platform, larger workload.
Each system version changes, and the script file analytical framework in system requires to be redesigned, new with compatibility
System.Also, it with platform release upgrading bring api interface variation, needs to carry out script resolver design again
With the primary component of the new platform of compatibility, and compatible new api interface.It can be seen that for each update iteration, maintenance at
This is also higher.
In order to solve the above technical problems, the embodiment of the present disclosure provides a kind of page data processing method, it is soft to promote front end
The convenient degree of part exploitation.The page data processing method can apply the application that can be run on terminal device in any one
Program.The terminal device for example may include that intelligent movable phone, Flat electronic equipment, portable computer (such as are taken down notes
This computer etc.), the electronic equipments such as intelligent wearable device.
Fig. 1 is a kind of page data processing method flow chart shown according to an exemplary embodiment.The described method includes:
S11 is obtained based on the cross-platform protocol language file presetting cross-platform protocol rule and writing, the cross-platform agreement
Language file is used to describe the display page of client.
Exemplary, the cross-platform protocol language file can be Dart language file.Dart language file can change into
JS language file, preferably to adapt to different application demands.The dynamic scripts such as JS language can flexibly state out client
Various dynamic logics, miscellaneous dynamic function can be added for the page, while being that a kind of can be put down by different operations
The scripting language of platform identification, flexibility ratio is high, cross-platform can use.When the cross-platform protocol language file is the cross-platform association of JS
It, can be by the customer terminal webpage editor rule in the default platform agreement in the form of JS scripting language when discussing language file
Statement.
In a specific embodiment, cross-platform protocol language document form is stored in server-side and/or cloud.Accordingly
, client can obtain the cross-platform protocol language file from server-side and/or cloud.
Wherein, the cross-platform protocol language file includes the first letter that pattern is shown for describing the view component of the page
Second information of breath and/or the view component execution logic for describing the page.
Such as the function of component is to play video, component shows that pattern can be the size of component, in the position of the page
It sets, if for floating window etc..The component may include multiple controls, for example, play button, Pause key, video download key etc.
Deng.Component execution logic can be plays video after the page is opened 5 seconds automatically, and automatic pause plays video after 10 seconds.
S12 passes through cross-platform render engine renders page predefined in system according to the cross-platform protocol language file
Face.
Specifically, parsing to the cross-platform protocol language file, parsing data are obtained;The cross-platform rendering is drawn
The view component based on the page described in the parsing data acquisition is held up, and the view component is rendered.
By taking the cross-platform protocol language file of JS as an example, client can call JS engine to carry out logical process here, pass through
Predefined cross-platform agreement of system itself will parse the dynamic logic in the JS file.Specifically, the JS
Engine is the interpreter of JavaSrcipt, can be generally attached in web browser.
The cross-platform rendering engine is based on predefined view component in system described in the parsing data call.These
Predefined view component can be indiscriminate predefined components between different platform.In this way, being directed to cross-platform association in definition
View when, it is possible to reduce for different platform difference customization.Cross-platform rendering engine can be according to the call by result platform of parsing
Rendering method directly target pages are rendered.
The page that rendering obtains is output to the client and shown by S13.
Above-mentioned technical proposal can at least reach following technical effect:
By obtaining cross-platform protocol language file, and according to the cross-platform protocol language file, by pre- in system
The cross-platform render engine renders page of definition, and then the page that rendering obtains is output to the client and is shown.This
Sample is reduced in the development cost for the difference exploitation of different operating system agreement, also accordingly using cross-platform protocol development
The maintenance cost for reducing the later period improves the convenient degree of front end exploitation.
Fig. 2 is a kind of page data processing method flow chart shown according to an exemplary embodiment.The described method includes:
S21 is obtained based on the cross-platform protocol language file presetting cross-platform protocol rule and writing, the cross-platform agreement
Language file is used to describe the display page of client.
Exemplary, the cross-platform protocol language file can be Dart language file.Dart language file can change into
JS language file, preferably to adapt to different application demands.The dynamic scripts such as JS language can flexibly state out client
Various dynamic logics, miscellaneous dynamic function can be added for the page, while being that a kind of can be put down by different operations
The scripting language of platform identification, flexibility ratio is high, cross-platform can use.When the cross-platform protocol language file is the cross-platform association of JS
It, can be by the customer terminal webpage editor rule in the default platform agreement in the form of JS scripting language when discussing language file
Statement.
In a specific embodiment, cross-platform protocol language document form is stored in server-side and/or cloud.Accordingly
, client can obtain the cross-platform protocol language file from server-side and/or cloud.
Wherein, the cross-platform protocol language file includes the first letter that pattern is shown for describing the view component of the page
Second information of breath and/or the view component execution logic for describing the page.
Such as the function of component is to play video, component shows that pattern can be the size of component, in the position of the page
It sets, if for floating window etc..The component may include multiple controls, for example, play button, Pause key, video download key etc.
Deng.Component execution logic can be plays video after the page is opened 5 seconds automatically, and automatic pause plays video after 10 seconds.
S22 parses the cross-platform protocol language file, obtains parsing data.
By taking the cross-platform protocol language file of JS as an example, client can call JS engine to carry out logical process here, pass through
Predefined cross-platform agreement of system itself will parse the dynamic logic in the JS file.Specifically, the JS
Engine is the interpreter of JavaSrcipt, can be generally attached in web browser.
S23, cross-platform rendering engine are based on the parsing data, call institute by the interface in correspondence system integrated graphics library
The figure in shape library is stated, and draws the view component of the page, and the view component is rendered.
The page that rendering obtains is output to the client and shown by S24.
Above-mentioned technical proposal can at least reach following technical effect:
Cross-platform protocol language file is write based on preset cross-platform protocol rule, and further by cross-platform agreement
Language file is converted into unified cross-platform document of agreement, can reduce the maintenance cost for different operation platform.
The component of target pages is drawn based on the rendering method of platform itself, can generate identical view in each platform
Figure component.Compared with the scheme of the primary component rendering page of calling platform in the related technology, reducing is needed when calling primary component
For the workload of different platform api interface difference exploitation, it is also more convenient to safeguard.
Further, calling due to reducing need to ensure that when primary component for the difference exploitation of different platform api interface
The cross-platform characteristic of cross-platform document of agreement can effectively be embodied, and the convenient degree of front end exploitation is improved.It is flat in difference
Under platform environment, identical view component can be drawn out by same cross-platform protocol language file, reduce developer to page
The maintenance workload of face component.
Fig. 3 is a kind of page data processing unit block diagram shown according to an exemplary embodiment.Described device, comprising:
Module 310 is obtained, for obtaining based on the cross-platform protocol language file presetting cross-platform protocol rule and writing, institute
Cross-platform protocol language file is stated for describing the display page of client;
Rendering module 320, for passing through cross-platform wash with watercolours predefined in system according to the cross-platform protocol language file
Contaminate the engine renders page;
Display module 330, the page for obtaining rendering are output to the client and show.
Above-mentioned technical proposal can at least reach following technical effect:
By obtaining cross-platform protocol language file, and according to the cross-platform protocol language file, by pre- in system
The cross-platform render engine renders page of definition, and then the page that rendering obtains is output to the client and is shown.This
Sample is reduced in the development cost for the difference exploitation of different operating system agreement, also accordingly using cross-platform protocol development
The maintenance cost for reducing the later period improves the convenient degree of front end exploitation.
Optionally, the rendering module, is used for:
The cross-platform protocol language file is parsed, parsing data are obtained;
Based on the view component of the page described in the parsing data acquisition, and the view component is rendered.
Optionally, the rendering module, is used for:
Based on the parsing data, the figure in the shape library is called by the interface in correspondence system integrated graphics library,
And draw the view component of the page;And/or
Based on predefined view component in system described in the parsing data call, the predefined view component is
The indiscriminate predefined components between different type platform.
Optionally, the cross-platform protocol language file includes show pattern for describing the view component of the page first
Second information of information and/or the view component execution logic for describing the page.
Above-mentioned technical proposal can at least reach following technical effect:
Cross-platform protocol language file is write based on preset cross-platform protocol rule, and further by cross-platform agreement
Language file is converted into unified cross-platform document of agreement, can reduce the maintenance cost for different operation platform.
The component of target pages is drawn based on the rendering method of platform itself, can generate identical view in each platform
Figure component.Compared with the scheme of the primary component rendering page of calling platform in the related technology, reducing is needed when calling primary component
For the workload of different platform api interface difference exploitation, it is also more convenient to safeguard.
Further, calling due to reducing need to ensure that when primary component for the difference exploitation of different platform api interface
The cross-platform characteristic of cross-platform document of agreement can effectively be embodied, and the convenient degree of front end exploitation is improved.It is flat in difference
Under platform environment, identical view component can be drawn out by same cross-platform protocol language file, reduce developer to page
The maintenance workload of face component.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
The embodiment of the present disclosure provides a kind of computer readable storage medium, is stored thereon with computer program, the program quilt
To realize following methods when processor executes, comprising:
It obtains based on the cross-platform protocol language file presetting cross-platform protocol rule and writing, the cross-platform protocol language
File is used to describe the display page of client;
According to the cross-platform protocol language file, pass through the cross-platform render engine renders page predefined in system;
The page that rendering obtains is output to the client to show.
Optionally, described according to the cross-platform protocol language file, drawn by cross-platform rendering predefined in system
Hold up the rendering page, comprising:
The cross-platform protocol language file is parsed, parsing data are obtained;
View component of the cross-platform rendering engine based on the page described in the parsing data acquisition, and to the view
Component is rendered.
Optionally, view component of the cross-platform rendering engine based on the page described in the parsing data acquisition, comprising:
The cross-platform rendering engine is based on the parsing data, calls institute by the interface in correspondence system integrated graphics library
The figure in shape library is stated, and draws the view component of the page;And/or
The cross-platform rendering engine is based on predefined view component in system described in the parsing data call, described
Predefined view component is the indiscriminate predefined components between different type platform.
Optionally, the cross-platform protocol language file includes show pattern for describing the view component of the page first
Second information of information and/or the view component execution logic for describing the page.
The embodiment of the present disclosure provides a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize following methods: including:
It obtains based on the cross-platform protocol language file presetting cross-platform protocol rule and writing, the cross-platform protocol language
File is used to describe the display page of client;
According to the cross-platform protocol language file, pass through the cross-platform render engine renders page predefined in system;
The page that rendering obtains is output to the client to show.
Optionally, described according to the cross-platform protocol language file, drawn by cross-platform rendering predefined in system
Hold up the rendering page, comprising:
The cross-platform protocol language file is parsed, parsing data are obtained;
View component of the cross-platform rendering engine based on the page described in the parsing data acquisition, and to the view
Component is rendered.
Optionally, view component of the cross-platform rendering engine based on the page described in the parsing data acquisition, comprising:
The cross-platform rendering engine is based on the parsing data, calls institute by the interface in correspondence system integrated graphics library
The figure in shape library is stated, and draws the view component of the page;And/or
The cross-platform rendering engine is based on predefined view component in system described in the parsing data call, described
Predefined view component is the indiscriminate predefined components between different type platform.
Optionally, the cross-platform protocol language file includes show pattern for describing the view component of the page first
Second information of information and/or the view component execution logic for describing the page.
Fig. 4 is the block diagram of a kind of electronic equipment 400 shown according to an exemplary embodiment.The electronic equipment 400
It such as may include intelligent movable phone, Flat electronic equipment, portable computer (such as laptop), intelligently wearing is set
It is standby to wait electronic equipments.
As shown in figure 4, the electronic equipment 400 may include: processor 401, memory 402.The electronic equipment 400 may be used also
To include multimedia component 403, one or more of input/output (I/O) interface 404 and communication component 405.
Wherein, processor 401 is used to control the integrated operation of the electronic equipment 400, to complete at above-mentioned page data
All or part of the steps in reason method.Memory 402 is for storing various types of data to support in the electronic equipment 400
Operation, these data for example may include the finger of any application or method for operating on the electronic equipment 400
Order and the relevant data of application program, for example, the preset component of platform draws template, platform description components, component definition ginseng
Number etc., further, it is also possible to be contact data, the message of transmitting-receiving, picture, audio, video etc..The memory 402 can be with
It is realized by any kind of volatibility or non-volatile memory device or their combination, such as static random access memory
(Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically
Erasable Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM
(Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory
(Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as
ROM), magnetic memory, flash memory, disk or CD.Multimedia component 403 may include screen and audio component.Wherein
Screen for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may include
One microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in storage
Device 402 is sent by communication component 405.Audio component further includes at least one loudspeaker, is used for output audio signal.I/O
Interface 404 provides interface between processor 401 and other interface modules, other above-mentioned interface modules can be keyboard, mouse,
Button etc..These buttons can be virtual push button or entity button.Communication component 405 is for the electronic equipment 400 and other
Wired or wireless communication is carried out between equipment.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field
Communication, abbreviation NFC), 2G, 3G, 4G, NB-IOT, eMTC or other 5G etc. or they one or more of
Combination, it is not limited here.Therefore the corresponding communication component 404 may include: Wi-Fi module, bluetooth module, NFC mould
Block etc..
In one exemplary embodiment, electronic equipment 400 can be by one or more application specific integrated circuit
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member
Part is realized, for executing above-mentioned page data processing method.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should
The step of above-mentioned page data processing method is realized when program instruction is executed by processor.For example, the computer-readable storage
Medium can be the above-mentioned memory 402 including program instruction, and above procedure instruction can be by the processor 401 of electronic equipment 400
It executes to complete above-mentioned page data processing method.
Above-mentioned technical proposal can at least reach following technical effect:
By obtaining cross-platform protocol language file, and based on to the solution obtained after the cross-platform protocol language document analysis
Analysis data and the preset component rendering template of platform draw the component of the target pages.Since the component of target pages is based on
What the rendering method of platform itself was drawn, compared with the scheme of the primary component rendering page of calling platform in the related technology, reduce
When the primary component of calling the convenient degree of front end exploitation need to be improved for the workload of platform api interface difference exploitation.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure
Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case where shield, can be combined in any appropriate way, in order to avoid unnecessary repetition, the disclosure to it is various can
No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought equally should be considered as disclosure disclosure of that.
Claims (10)
1. a kind of page data processing method characterized by comprising
It obtains based on the cross-platform protocol language file presetting cross-platform protocol rule and writing, the cross-platform protocol language file
For describing the display page of client;
According to the cross-platform protocol language file, pass through the cross-platform render engine renders page predefined in system;
The page that rendering obtains is output to the client to show.
2. passing through the method according to claim 1, wherein described according to the cross-platform protocol language file
The predefined cross-platform render engine renders page in system, comprising:
The cross-platform protocol language file is parsed, parsing data are obtained;
View component of the cross-platform rendering engine based on the page described in the parsing data acquisition, and to the view component
It is rendered.
3. according to the method described in claim 2, it is characterized in that, the cross-platform rendering engine is obtained based on the parsing data
Take the view component of the page, comprising:
The cross-platform rendering engine is based on the parsing data, calls the figure by the interface in correspondence system integrated graphics library
Figure in shape library, and draw the view component of the page;And/or
The cross-platform rendering engine is based on predefined view component in system described in the parsing data call, described predetermined
The view component of justice is the indiscriminate predefined components between different type platform.
4. method according to claim 1-3, which is characterized in that the cross-platform protocol language file includes using
Show that the first information of pattern and/or view component for describing the page execute the of logic in the view component of the description page
Two information.
5. a kind of page data processing unit characterized by comprising
Module is obtained, it is described across putting down for obtaining based on the cross-platform protocol language file presetting cross-platform protocol rule and writing
Platform protocol language file is used to describe the display page of client;
Rendering module, for passing through cross-platform rendering engine predefined in system according to the cross-platform protocol language file
Render the page;
Display module, the page for obtaining rendering are output to the client and show.
6. device according to claim 5, which is characterized in that the rendering module is used for:
The cross-platform protocol language file is parsed, parsing data are obtained;
Based on the view component of the page described in the parsing data acquisition, and the view component is rendered.
7. device according to claim 6, which is characterized in that the rendering module is used for:
Based on the parsing data, the figure in the shape library is called by the interface in correspondence system integrated graphics library, and draw
The view component of the page processed;And/or
Based on predefined view component in system described in the parsing data call.
8. according to the described in any item devices of claim 5-7, which is characterized in that the cross-platform protocol language file includes using
Show that the first information of pattern and/or view component for describing the page execute the of logic in the view component of the description page
Two information.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The step of any one of claim 1-4 the method is realized when row.
10. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize described in any one of claim 1-4
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910441876.2A CN110275704A (en) | 2019-05-24 | 2019-05-24 | Page data processing method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910441876.2A CN110275704A (en) | 2019-05-24 | 2019-05-24 | Page data processing method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110275704A true CN110275704A (en) | 2019-09-24 |
Family
ID=67960101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910441876.2A Withdrawn CN110275704A (en) | 2019-05-24 | 2019-05-24 | Page data processing method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110275704A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704058A (en) * | 2019-10-14 | 2020-01-17 | 北京代码乾坤科技有限公司 | Page rendering method and device, storage medium, processor and electronic device |
CN110704059A (en) * | 2019-10-16 | 2020-01-17 | 北京达佳互联信息技术有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
CN111026396A (en) * | 2019-12-13 | 2020-04-17 | 北京小米移动软件有限公司 | Page rendering method and device, electronic equipment and storage medium |
CN111338623A (en) * | 2020-02-10 | 2020-06-26 | 北京字节跳动网络技术有限公司 | Method, device, medium and electronic equipment for developing user interface |
CN111857658A (en) * | 2020-06-19 | 2020-10-30 | 北京字节跳动网络技术有限公司 | Method, device, medium and electronic equipment for rendering dynamic component |
CN112527308A (en) * | 2020-11-27 | 2021-03-19 | 福建网能科技开发有限责任公司 | Interplatform universal protocol parsing method, device and medium based on interpreted language |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7062457B1 (en) * | 2000-09-22 | 2006-06-13 | Iac/Interactivecorp. | Method and system for entertainment production financing |
CN102298521A (en) * | 2011-08-31 | 2011-12-28 | 因为科技无锡有限公司 | Mobile internet application system based on cross-platform browsing technology |
CN103049439A (en) * | 2011-10-11 | 2013-04-17 | 腾讯科技(深圳)有限公司 | Processing method for markup language documents, browser and network operating system |
-
2019
- 2019-05-24 CN CN201910441876.2A patent/CN110275704A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7062457B1 (en) * | 2000-09-22 | 2006-06-13 | Iac/Interactivecorp. | Method and system for entertainment production financing |
CN102298521A (en) * | 2011-08-31 | 2011-12-28 | 因为科技无锡有限公司 | Mobile internet application system based on cross-platform browsing technology |
CN103049439A (en) * | 2011-10-11 | 2013-04-17 | 腾讯科技(深圳)有限公司 | Processing method for markup language documents, browser and network operating system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704058A (en) * | 2019-10-14 | 2020-01-17 | 北京代码乾坤科技有限公司 | Page rendering method and device, storage medium, processor and electronic device |
CN110704059A (en) * | 2019-10-16 | 2020-01-17 | 北京达佳互联信息技术有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
CN110704059B (en) * | 2019-10-16 | 2023-05-30 | 北京达佳互联信息技术有限公司 | Image processing method, device, electronic equipment and storage medium |
CN111026396A (en) * | 2019-12-13 | 2020-04-17 | 北京小米移动软件有限公司 | Page rendering method and device, electronic equipment and storage medium |
CN111026396B (en) * | 2019-12-13 | 2023-11-14 | 北京小米移动软件有限公司 | Page rendering method and device, electronic equipment and storage medium |
CN111338623A (en) * | 2020-02-10 | 2020-06-26 | 北京字节跳动网络技术有限公司 | Method, device, medium and electronic equipment for developing user interface |
CN111338623B (en) * | 2020-02-10 | 2023-06-30 | 北京字节跳动网络技术有限公司 | Method, device, medium and electronic equipment for developing user interface |
CN111857658A (en) * | 2020-06-19 | 2020-10-30 | 北京字节跳动网络技术有限公司 | Method, device, medium and electronic equipment for rendering dynamic component |
CN112527308A (en) * | 2020-11-27 | 2021-03-19 | 福建网能科技开发有限责任公司 | Interplatform universal protocol parsing method, device and medium based on interpreted language |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110275704A (en) | Page data processing method and device, storage medium and electronic equipment | |
US9075918B1 (en) | System and method for creating change-resilient scripts | |
US20190005013A1 (en) | Conversation system-building method and apparatus based on artificial intelligence, device and computer-readable storage medium | |
CN104572042A (en) | Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment | |
CN103164300A (en) | Mobile terminal touch screen automatic testing method and device | |
CN112861057A (en) | Page rendering method, device and equipment based on small program and storage medium | |
US10120660B2 (en) | Systems and methods for producing launchers for a mobile terminal | |
CN111427569B (en) | Method and device for adapting installation-free program, electronic equipment and storage medium | |
CN111176629A (en) | Application development method and device | |
Gyorödi et al. | A comparative study between applications developed for Android and iOS | |
CN111880813B (en) | Method for realizing android card UI (user interface) and storage medium | |
CN104980801A (en) | Method and device for processing audio data/video data | |
CN110390063A (en) | A kind of data analysis method, device, medium and electronic equipment | |
CN112506854A (en) | Method, device, equipment and medium for storing page template file and generating page | |
CN115080016A (en) | Extended function implementation method, device, equipment and medium based on UE editor | |
US10303331B2 (en) | Live mobile application visual editor demo | |
CN106855772A (en) | A kind of information displaying method and device | |
CN106843559B (en) | User instruction identification and processing method and device | |
CN112799658B (en) | Model training method, model training platform, electronic device, and storage medium | |
US20170017483A1 (en) | Automatic import of third party analytics | |
CN111638787B (en) | Method and device for displaying information | |
CN113094138A (en) | Interface display method and device, electronic equipment and storage medium | |
CN111435328B (en) | Application testing method and device, electronic equipment and readable storage medium | |
CN115469849B (en) | Service processing system, method, electronic equipment and storage medium | |
CN106197394A (en) | Air navigation aid 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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190924 |