CN107480153A - A kind of page data processing method, client and terminal device - Google Patents
A kind of page data processing method, client and terminal device Download PDFInfo
- Publication number
- CN107480153A CN107480153A CN201610404567.4A CN201610404567A CN107480153A CN 107480153 A CN107480153 A CN 107480153A CN 201610404567 A CN201610404567 A CN 201610404567A CN 107480153 A CN107480153 A CN 107480153A
- Authority
- CN
- China
- Prior art keywords
- client
- protocol
- script language
- dynamic
- language file
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000013515 script Methods 0.000 claims abstract description 122
- 238000004458 analytical method Methods 0.000 claims abstract description 46
- 238000000034 method Methods 0.000 claims abstract description 43
- 238000002224 dissection Methods 0.000 claims abstract description 19
- 230000008569 process Effects 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims description 17
- 230000007246 mechanism Effects 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 238000009877 rendering Methods 0.000 claims description 7
- 230000005055 memory storage Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 abstract description 13
- 230000002452 interceptive effect Effects 0.000 abstract description 5
- 230000009897 systematic effect Effects 0.000 abstract description 5
- 238000003860 storage Methods 0.000 description 14
- 230000006872 improvement Effects 0.000 description 7
- 241001269238 Data Species 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- 238000011017 operating method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 229920001296 polysiloxane Polymers 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000010979 ruby Substances 0.000 description 1
- 229910001750 ruby Inorganic materials 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/42—Syntactic analysis
- G06F8/427—Parsing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application discloses a kind of page data processing method, client and terminal device.This method includes:Obtain the dynamic script language file write based on default client protocol;The dynamic script language file is converted into corresponding client protocol;Dissection process is carried out to the client protocol, obtains protocol analysis data;Based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file.The technical scheme provided using the embodiment of the present application can be while client dynamic property be effectively ensured, by the way that dynamic script language file is converted into corresponding client protocol, the primary control of client of correlation can subsequently be directly invoked, without carrying out the interactive operations such as multidata loading with remote service end etc., effectively improve systematic function and Consumer's Experience, and dynamic script language can be identified by different clients operating system, flexibility ratio is high, can be with cross-platform use.
Description
Technical field
The application is related to Internet technical field, more particularly to a kind of page data processing method, client and terminal device.
Background technology
With the fast development of Internet technology, the application of each Terminal Type such as smart mobile phone, apparatus such as computer in people live
More and more extensive, especially people use various application programs more and more, so as to facilitate the life of oneself.For
Meets the needs of different user, the application program run on terminal device needs that there is preferable dynamic logical capability to tackle
Dynamic editing and processing demand of the different user to page data.
In the prior art, the application program run on the terminal device can be divided into two classes:One kind is based on android, iOS etc.
The application program of operating system, it is properly termed as native app (primary type application program);Another kind of is the application journey based on webpage
Sequence, it is properly termed as web app (Network Page application program).Wherein, page data processing can include in native app:In advance
The JSON formatted datas that definition includes the logic such as condition judgment and circulation (generally comprise based on simple in JSON formatted datas here
The condition judgment and circle logic of logical operator, complicated logic can first carry out logical operation in service end, then be issued to visitor
Family end), the JSON formatted datas are stored in client;Definition can parse in the operating systems such as android, iOS holds
The client protocol of row JSON formatted datas;When needing into Mobile state editor, corresponding visitor is rendered using the client protocol
Family end page face, reach the treatment effect of dynamic editor.Page data processing can include in web app:Acquisition includes dynamic logic
JS (JavaScript) script language files;JS engines (can typically attach in web browser) are called to parse the JS texts
Part;Related data is called to reach to carry out rendering for relative clients end page face from remote service end or high in the clouds based on the content of parsing
The treatment effect of dynamic editor.
Inventor has found that at least there are the following problems in the prior art:
In above-mentioned existing native app, JSON formatted datas write logic complexity, and it is big to write difficulty, and limited logic system,
Complicated logic must service end first carry out logical operation, then be issued to client and could realize client dynamic editor, dynamic
Can be poor.In existing web app, although JS script language files include dynamic logic, dynamic property is preferable, and web app are only
The control that web can be called to support, it is limited to the support of client primary control, and need to call correlation from remote service end or high in the clouds
Data, cause the poor performances such as page data loading velocity.
It should be noted that the introduction to technical background above be intended merely to the convenient technical scheme to the application carry out it is clear, complete
Illustrate, and facilitate the understanding of those skilled in the art and illustrate.Can not merely because these schemes the application background technology
Part is set forth and thinks that above-mentioned technical proposal is known to those skilled in the art.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of page data processing method, client and terminal device, it is possible to achieve across flat
The processing of platform dynamic logic, while client dynamic property is effectively ensured, can be effectively improved systematic function and Consumer's Experience.
In order to solve the above technical problems, the embodiment of the present application offer a kind of page data processing method, client and terminal device are
It is achieved in that:
A kind of page data processing terminal equipment, including processor and memory, the memory storage is by the computing device
Client-side program instruction, client-side program instruction includes:
Obtain the dynamic script language file write based on default client protocol;
The dynamic script language file is converted into corresponding client protocol;
Dissection process is carried out to the client protocol, obtains protocol analysis data;
Based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file.
A kind of page data processing method, including:
Obtain the dynamic script language file write based on default client protocol;
The dynamic script language file is converted into corresponding client protocol;
Dissection process is carried out to the client protocol, obtains protocol analysis data;
Based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file.
A kind of page data handles client, including:
File acquisition module, for obtaining the dynamic script language file write based on default client protocol;
Data conversion module, for the dynamic script language file to be converted into corresponding client protocol;
Protocol resolution module, for carrying out dissection process to the client protocol, obtain protocol analysis data;
Page rendering module, for based on the protocol analysis data render client corresponding with the dynamic script language file
End page face.
The technical scheme provided from above the embodiment of the present application, the embodiment of the present application are being obtained based on default client protocol volume
After the dynamic script language file including client dynamic logic write, the dynamic script language file can be converted into phase
The client protocol answered;Then, dissection process is carried out to the client protocol, obtains the agreement solution that can be identified by client
Analyse data;Then, based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file,
The display page for including dynamic logic is obtained, so that user browses.Compared with prior art, provided using the embodiment of the present application
Technical scheme can be while client dynamic property be effectively ensured, by the way that dynamic script language file is converted into corresponding visitor
Family end agreement, the primary control of client of correlation can be subsequently directly invoked, it is multidata without being carried out with remote service end etc.
The interactive operations such as loading, effectively improve systematic function and Consumer's Experience, and dynamic script language can be operated by different clients
System identification, flexibility ratio is high, can be with cross-platform use.
Brief description of the drawings
, below will be to embodiment or prior art in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
The required accompanying drawing used is briefly described in description, it should be apparent that, drawings in the following description are only to remember in the application
Some embodiments carried, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet for embodiment that the application provides page data processing method;
Fig. 2 is a kind of embodiment that the dynamic script language file is converted into corresponding client protocol that the application provides
Schematic flow sheet;
Fig. 3 is a kind of structural representation of the embodiment for the page data processing client that the application provides;
Fig. 4 is a kind of module diagram of embodiment of herein described data conversion module.
Embodiment
The embodiment of the present application provides a kind of page data processing method, client and terminal device.The page data processing method can
To apply the application program that can be run on terminal device in any one.The terminal device can for example include intelligent movable
The electronic equipments such as phone, Flat electronic equipment, portable computer (such as notebook computer etc.), Intelligent worn device.
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with the embodiment of the present application
Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only
It is some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the scope of the application protection.
Describe the specific implementation of the embodiment of the present application in detail with several specific examples below.
Introduce a kind of embodiment of page data processing method of the application first below.Fig. 1 is that the application provides page data processing
A kind of schematic flow sheet of embodiment of method, this application provides the method operating procedure as described in embodiment or flow chart, but
Either it can include more or less operating procedures without performing creative labour based on conventional.The step of being enumerated in embodiment order
A kind of mode in only numerous step execution sequences, does not represent unique execution sequence.System or client in practice
, can either method shown in the drawings order performs or parallel performs (such as parallel processor according to embodiment when product performs
Or the environment of multiple threads).Specifically as shown in figure 1, methods described can include:
S110:Obtain the dynamic script language file write based on default client protocol.
In the embodiment of the present application, client can obtain the dynamic script language file write based on default client protocol.Specifically
, the dynamic script language file write based on default client protocol can include:
The dynamic script language including dynamic logic that customer terminal webpage editor's rule in the default client protocol is write
Say file.
Specifically, dynamic script language file described in the embodiment of the present application can at least include one of the following:
JS script language files, Lua script language files, Python script language files.
In addition, dynamic script language file described in the embodiment of the present application is not limited in above-mentioned JS script language files, Lua pin
This language file, Python script language files, in actual applications, the dynamic script language file can also include other
Dynamic script language file, the embodiment of the present application are not limited thereto.
, can be by described in when the dynamic script language file is JS script language files in a specific embodiment
Customer terminal webpage editor rule in default client protocol is stated in the form of JS scripts, and with JS script language files
Form is stored in service end and/or high in the clouds.Accordingly, client can obtain the JS scripts from service end and/or high in the clouds
File.
Specifically, the default client protocol can include the protocol data pre-established according to customer terminal webpage editor's rule.
In actual applications, usually need to enter the page Mobile state editor when carrying out shop finishing with businessman user in mobile phone Taobao client
Exemplified by the scene of processing, specifically, such as businessman user needs to issue a commodity, the display page to the commodity is generally required
The Dynamic Announce data that middle commodity title, commodity price, page layout background color, commodity picture etc. may often change are entered
Mobile state editing and processing.By taking commodity picture as an example, picture pattern and picture attribute etc. can be included in the default client protocol
The setting of the related edit rule of picture, it is assumed that picture quality parameter setting in default client protocol in picture attribute it is silent
Recognizing parameter value includes original, low, normal and high, can represent picture quality for original image, low-quality spirogram successively
Piece, mean quality picture and high quality picture.Accordingly, can when client is configured to the parameter value of picture quality parameter
To be arranged to any one in original, low, normal and high.It is corresponding with above-mentioned default client protocol, it is described
Dynamic script language file can include the bag write according to the related edit rule of the pictures such as the picture pattern and picture attribute
Include the dynamic script language file of dynamic logic.
The dynamic script such as JS described in the embodiment of the present application language can flexibly state out the various dynamic logics of client,
It can be that the page adds miscellaneous dynamic function, while be a kind of script that can be identified by different operating system,
Flexibility ratio is high, can be with cross-platform use.
S120:The dynamic script language file is converted into corresponding client protocol.
In the embodiment of the present application, after step S110 acquisitions include the dynamic script language file of dynamic logic, client can
So that the dynamic script language file is converted into corresponding client protocol.Fig. 2 be the application provide by the dynamic script
Language file is converted into a kind of schematic flow sheet of embodiment of corresponding client protocol, specifically, as shown in Fig. 2 can be with
Including:
S121:It is determined that the mechanism for resolving corresponding with the dynamic script language file.
S122:The dynamic logic in the dynamic script language file is converted into the phase using the corresponding mechanism for resolving
The client protocol answered.
In actual applications, the client protocol corresponding to different operating system is different, and Different Dynamic script language files pair
The mechanism for resolving answered is also different.Therefore, client can combine specific dynamic script language file pair in the embodiment of the present application
Dynamic logic in the dynamic script language file is converted into the applicable operating system pair of active client by the mechanism for resolving answered
The client protocol answered.
In a specific embodiment, by taking JS script language files as an example, client can call JS engines to be patrolled here
Processing is collected, the dynamic logic in the JS files is converted into client protocol corresponding to the applicable operating system of active client.
Specifically, the JS engines are JavaSrcipt interpreter, can typically attach in web browser.
In the embodiment of the present application, the dynamic script language file is converted into after corresponding client protocol, it is ensured that after
When continuous client carries out establishment and the Rendering operations of page assembly using the data after being parsed based on the client protocol, Ke Yizhi
Connect and call the related primary control of client, without carrying out the interactive operations such as multidata loading with remote service end etc..
In addition, default client protocol described in the embodiment of the present application and the customer terminal webpage editor corresponding to the client protocol
It is regular consistent, but because the protocol data that different clients operating system is supported is different, the default client protocol and institute
It can be identical protocol data to state client protocol, or different client protocol data.Therefore, when described default
When the client operating system being applicable when client protocol is write is identical with the client operating system that the client protocol is applicable,
The default client protocol and the client protocol can be identical protocol data;Conversely, the default client protocol
Can be different protocol datas with the client protocol.
S130:Dissection process is carried out to the client protocol, obtains protocol analysis data.
In the embodiment of the present application, dynamic script language file is converted into client corresponding to active client in step S120 and assisted
After view, client can carry out dissection process to the client protocol, and the client protocol is converted into can be current
The protocol analysis data of client identification.Specifically, described carry out dissection process to the client protocol, protocol analysis is obtained
Data can include:
The control of corresponding client is called to create the page assembly number of the client based on the parsing to the client protocol
According to using the page assembly data as the protocol analysis data.
In actual applications, multiple page assembly data can be created in the page of client, the page assembly data are general
One or more controls can be included.In the embodiment of the present application when creating the page assembly data of the relative client page,
The primary control of client can be directly invoked.In a specific embodiment, needed with businessman user in mobile phone Taobao client
Exemplified by the scene for issuing a commodity, it can include carrying out the relevant information of the commodity in the displayed page of the commodity
The video of introduction, player corresponding to the video can be as the page assembly data in the displayed page of the commodity;Accordingly
, a broadcast button in video can be used as a control.
S140:Based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file.
In the embodiment of the present application, after step S130 obtains the recognizable protocol analysis data of client, client can be based on
The protocol analysis data render customer terminal webpage corresponding with the dynamic script language file, obtains having dynamic logic
The page, so that user browses.Specifically, dynamic logic in the customer terminal webpage with the dynamic script language file
Dynamic logic is corresponding.
Specifically, the protocol analysis data can include the page assembly data of the client of the establishment, it is accordingly, described
It can be included based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file:
The page assembly data are included in corresponding client's end page with the default display format corresponding to relative client agreement
Face.
Specifically, the default display format can include the default visual video corresponding with the client protocol,
The form such as picture and word.
A kind of embodiment of the page data processing method provided from above the application, the application are being obtained based on default client
, can be by the dynamic script language file after the dynamic script language file including client dynamic logic that end agreement is write
It is converted into corresponding client protocol;Then, dissection process is carried out to the client protocol, obtains to be identified by client
Protocol analysis data;Then, based on the protocol analysis data render client corresponding with the dynamic script language file
End page face, the display page for including dynamic logic is obtained, so that user browses.Compared with prior art, implemented using the application
The technical scheme that example provides can be while client dynamic property be effectively ensured, by the way that dynamic script language file is converted into
Corresponding client protocol, the primary control of client of correlation can be subsequently directly invoked, without being carried out with remote service end etc.
The interactive operations such as multidata loading, effectively improving the scripts such as systematic function and Consumer's Experience, and JS can be different
Client operating system identifies that flexibility ratio is high, can be with cross-platform use.
On the other hand the application also provides a kind of page data processing client, Fig. 3 is the page data processing visitor that the application provides
The structural representation of a kind of embodiment at family end, as shown in figure 3, shown client 300 can include:
File acquisition module 310, it can be used for obtaining the dynamic script language file write based on default client protocol;
Data conversion module 320, it can be used for the dynamic script language file being converted into corresponding client protocol;
Protocol resolution module 330, it can be used for carrying out dissection process to the client protocol, obtain protocol analysis data;
Page rendering module 340, it can be used for relative with the dynamic script language file based on the protocol analysis data render
The customer terminal webpage answered.
In a specific embodiment, the dynamic script language file write based on default client protocol can include:
The dynamic script language including dynamic logic that customer terminal webpage editor's rule in the default client protocol is write
Say file.
In a specific embodiment, the dynamic script language file can at least include one of the following:
JS script language files, Lua script language files, Python script language files.
The application provides a kind of specific embodiment mode of the data conversion module 320.Fig. 4 is herein described data conversion
A kind of module diagram of embodiment of module, as shown in figure 4, the pre- data conversion module 320 can include:
Mechanism for resolving determining unit 321, it is determined for the mechanism for resolving corresponding with the dynamic script language file;
Date Conversion Unit 322, it can be used in the dynamic script language file using the corresponding mechanism for resolving
Dynamic logic is converted into corresponding client protocol.
In a specific embodiment, the protocol resolution module 330 carries out dissection process to the client protocol, obtains
Protocol analysis data can include:
The control of corresponding client is called to create the page assembly number of the client based on the parsing to the client protocol
According to using the page assembly data as the protocol analysis data.
In a specific embodiment, the page rendering module 340 is based on the protocol analysis data render and the dynamic
The corresponding customer terminal webpage of script language files can include:
The page assembly data are included in corresponding client's end page with the default display format corresponding to relative client agreement
Face.
On the other hand the application also provides a kind of page data processing terminal equipment, specifically, the terminal device can include place
Device and memory are managed, the memory storage is instructed by the client-side program of the computing device, the client-side program instruction
It can include:
Obtain the dynamic script language file write based on default client protocol;
The dynamic script language file is converted into corresponding client protocol;
Dissection process is carried out to the client protocol, obtains protocol analysis data;
Based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file.
Specifically, in the embodiment of the present application, described processor can include central processing unit (CPU), naturally it is also possible to wrap
Include other single-chip microcomputers with logic processing capability, logic gates, integrated circuit etc., or its is appropriately combined.The storage
Device can include high-speed random access memory, and may also include nonvolatile memory, such as one or more disk storages
Equipment, flash memory device or other non-volatile solid-state memory devices.
In a specific embodiment, the dynamic script language file write based on default client protocol can include:
The dynamic script language including dynamic logic that customer terminal webpage editor's rule in the default client protocol is write
Say file.
In a specific embodiment, the dynamic script language file can at least include one of the following:
JS script language files, Lua script language files, Python script language files.
It is described the dynamic script language file is converted into corresponding client protocol to wrap in a specific embodiment
Include:
It is determined that the mechanism for resolving corresponding with the dynamic script language file;
The dynamic logic in the dynamic script language file is converted into using the corresponding mechanism for resolving corresponding
Client protocol.
Described to carry out dissection process to the client protocol in a specific embodiment, obtaining protocol analysis data can be with
Including:
The control of corresponding client is called to create the page assembly number of the client based on the parsing to the client protocol
According to using the page assembly data as the protocol analysis data.
Specifically, the protocol analysis data can include the page assembly data of the client of the establishment, accordingly, one
In individual specific embodiment, the client corresponding with the dynamic script language file based on the protocol analysis data render
End page face can include:
The page assembly data are included in corresponding client's end page with the default display format corresponding to relative client agreement
Face.
The embodiment of a kind of page data processing method, client and the terminal device that are provided from above the application, the application
, can be by institute after the dynamic script language file including client dynamic logic write based on default client protocol is obtained
State dynamic script language file and be converted into corresponding client protocol;Then, dissection process is carried out to the client protocol, obtained
To the protocol analysis data that can be identified by client;Then, based on the protocol analysis data render and the dynamic script language
The corresponding customer terminal webpage of file is sayed, the display page for including dynamic logic is obtained, so that user browses.With prior art phase
Than the technical scheme provided using the embodiment of the present application can be while client dynamic property be effectively ensured, by by dynamically
Script language files are converted into corresponding client protocol, can subsequently directly invoke correlation the primary control of client, without with
Remote service end etc. carried out the interactive operations such as multidata loading, effectively improved systematic function and Consumer's Experience, and JS etc.
Script can be identified that flexibility ratio is high, can be with cross-platform use by different clients operating system.
In the 1990s, it is improvement on hardware (for example, to two that the improvement for a technology, which can be distinguished clearly,
The improvement of the circuit structures such as pole pipe, transistor, switch) or software on improvement (improvement for method flow).However,
With the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.Design
Personnel nearly all obtain corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Therefore, no
The improvement of a method flow, which can be said, to be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD member, without asking chip maker to design and make
Make special IC chip 2.Moreover, nowadays, substitution manually makes IC chip, and this programming also changes mostly
Realized with " logic compiler (logic compiler) " software, software compiler phase used when it writes with program development
It is similar, and the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、
Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware
Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description
Language) etc., VHDL (Very-High-Speed Integrated Circuit Hardware are most generally used at present
Description Language) and Verilog2.Those skilled in the art, which also will be apparent to the skilled artisan that, only to be needed method flow with above-mentioned
Several hardware description languages slightly programming in logic and are programmed into integrated circuit, it is possible to are readily available and are realized the logical method stream
The hardware circuit of journey.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processor and
Storage can by the computer readable program code (such as software or firmware) of (micro-) computing device computer-readable medium,
Gate, switch, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), FPGA
The form of controller and embedded microcontroller, the example of controller include but is not limited to following microcontroller:ARC 625D、Atmel
AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, Memory Controller can also quilts
It is embodied as a part for the control logic of memory.
, completely can be with it is also known in the art that in addition to realizing controller in a manner of pure computer readable program code
By the way that method and step is carried out into programming in logic come controller with gate, switch, application specific integrated circuit, FPGA control
The form of device processed and embedded microcontroller etc. realizes identical function.Therefore this controller is considered a kind of Hardware Subdivision
Part, and it is used to realize that the device of various functions can also to be considered as the structure in hardware component to what is included in it.Or even, can
Not only can will be the software module of implementation method for realizing that the device of various functions is considered as but also can be the knot in hardware component
Structure.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity, or
Realized by the product with certain function.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, the application is being implemented
When the function of each unit can be realized in same or multiple softwares and/or hardware.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can be by soft
Part adds the mode of required general hardware platform to realize.Based on such understanding, the technical scheme of the application is substantially in other words
The part to be contributed to prior art can be embodied in the form of software product, and in a typical configuration, calculating is set
It is standby to include one or more processors (CPU), input/output interface, network interface and internal memory.The computer software product can be with
Including some instructions causing a computer equipment (can be personal computer, service end, or network equipment etc.) to hold
Method described in some parts of each embodiment of row the application or embodiment.The computer software product can be stored in internal memory
In, internal memory may include the volatile memory in computer-readable medium, random access memory (RAM) and/or non-volatile
The forms such as property internal memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is the example of computer-readable medium.Meter
Calculation machine computer-readable recording medium, which includes permanent and non-permanent, removable and non-removable media, to be realized by any method or technique
Information stores.Information can be computer-readable instruction, data structure, the module of program or other data.The storage of computer
The example of medium includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic randon access
Memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electrically erasable
Read-only storage (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), numeral
Multifunctional optical disk (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus are appointed
What his non-transmission medium, the information that can be accessed by a computing device available for storage.Defined according to herein, computer can
Reading medium does not include of short duration computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
Each embodiment in this specification is described by the way of progressive, and identical similar part is mutual between each embodiment
Referring to what each embodiment stressed is the difference with other embodiment.Especially for system embodiment
Speech, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the part of embodiment of the method in place of correlation
Explanation.
The application can be used in numerous general or special purpose computing system environments or configuration.Such as:Personal computer, service end
Computer, handheld device or portable set, laptop device, multicomputer system, the system based on microprocessor, top set
Box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer including any of the above system or equipment
DCE etc..
The application can be described in the general context of computer executable instructions, such as program module.
Usually, program module include performing particular task or realize the routine of particular abstract data type, program, object, component,
Data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by passing through
Communication network and connected remote processing devices perform task.In a distributed computing environment, program module can be located at bag
Include in the local and remote computer-readable storage medium including storage device.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have it is many deformation and change and
Spirit herein is not departed from, it is desirable to which appended claim includes these deformations and changed without departing from spirit herein.
Claims (13)
1. a kind of page data processing terminal equipment, including processor and memory, the memory storage is by the processor
The client-side program instruction of execution, it is characterised in that the client-side program instruction includes:
Obtain the dynamic script language file write based on default client protocol;
The dynamic script language file is converted into corresponding client protocol;
Dissection process is carried out to the client protocol, obtains protocol analysis data;
Based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file.
A kind of 2. page data processing method, it is characterised in that including:
Obtain the dynamic script language file write based on default client protocol;
The dynamic script language file is converted into corresponding client protocol;
Dissection process is carried out to the client protocol, obtains protocol analysis data;
Based on the protocol analysis data render customer terminal webpage corresponding with the dynamic script language file.
3. according to the method for claim 2, it is characterised in that the dynamic pin write based on default client protocol
This language file includes:
The dynamic script language including dynamic logic that customer terminal webpage editor's rule in the default client protocol is write
Say file.
4. according to the method described in Claims 2 or 3 any one, it is characterised in that the dynamic script language file is extremely
Include one of the following less:
JS script language files, Lua script language files, Python script language files.
5. according to the method for claim 2, it is characterised in that described that the dynamic script language file is converted into phase
The client protocol answered includes:
It is determined that the mechanism for resolving corresponding with the dynamic script language file;
The dynamic logic in the dynamic script language file is converted into using the corresponding mechanism for resolving corresponding
Client protocol.
6. according to the method for claim 2, it is characterised in that it is described that dissection process is carried out to the client protocol,
Obtaining protocol analysis data includes:
The control of corresponding client is called to create the page assembly number of the client based on the parsing to the client protocol
According to using the page assembly data as the protocol analysis data.
7. according to the method for claim 6, it is characterised in that it is described based on the protocol analysis data render with it is described
The corresponding customer terminal webpage of dynamic script language file includes:
The page assembly data are included in corresponding client's end page with the default display format corresponding to relative client agreement
Face.
8. a kind of page data handles client, it is characterised in that including:
File acquisition module, for obtaining the dynamic script language file write based on default client protocol;
Data conversion module, for the dynamic script language file to be converted into corresponding client protocol;
Protocol resolution module, for carrying out dissection process to the client protocol, obtain protocol analysis data;
Page rendering module, for based on the protocol analysis data render client corresponding with the dynamic script language file
End page face.
9. client according to claim 8, it is characterised in that the dynamic write based on default client protocol
Script language files include:
The dynamic script language including dynamic logic that customer terminal webpage editor's rule in the default client protocol is write
Say file.
10. according to the client described in any one of claim 8 or 9, it is characterised in that the dynamic script language file
Including at least one of the following:
JS script language files, Lua script language files, Python script language files.
11. client according to claim 8, it is characterised in that the data conversion module includes:
Mechanism for resolving determining unit, for determining the mechanism for resolving corresponding with the dynamic script language file;
Date Conversion Unit, for utilizing the corresponding mechanism for resolving by the dynamic logic in the dynamic script language file
It is converted into corresponding client protocol.
12. client according to claim 8, it is characterised in that the protocol resolution module is to the client protocol
Dissection process is carried out, obtaining protocol analysis data includes:
The control of corresponding client is called to create the page assembly number of the client based on the parsing to the client protocol
According to using the page assembly data as the protocol analysis data.
13. client according to claim 12, it is characterised in that the page rendering module is based on the agreement solution
The analysis data render customer terminal webpage corresponding with the dynamic script language file includes:
The page assembly data are included in corresponding client's end page with the default display format corresponding to relative client agreement
Face.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610404567.4A CN107480153A (en) | 2016-06-08 | 2016-06-08 | A kind of page data processing method, client and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610404567.4A CN107480153A (en) | 2016-06-08 | 2016-06-08 | A kind of page data processing method, client and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107480153A true CN107480153A (en) | 2017-12-15 |
Family
ID=60594592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610404567.4A Pending CN107480153A (en) | 2016-06-08 | 2016-06-08 | A kind of page data processing method, client and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107480153A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108279932A (en) * | 2018-01-22 | 2018-07-13 | 北京奇艺世纪科技有限公司 | A kind of mobile terminal dynamic configuration user interface method and device |
CN108304205A (en) * | 2018-01-30 | 2018-07-20 | 努比亚技术有限公司 | A kind of update method of application program, terminal and computer readable storage medium |
CN108399074A (en) * | 2018-01-30 | 2018-08-14 | 努比亚技术有限公司 | A kind of update method of application program, terminal and computer readable storage medium |
CN108845803A (en) * | 2018-05-23 | 2018-11-20 | 北京五八信息技术有限公司 | A kind of update method of List View, device, equipment and storage medium |
CN109200581A (en) * | 2018-07-25 | 2019-01-15 | 深圳点猫科技有限公司 | Method, the electronic equipment of game role are controlled by python code |
CN110049017A (en) * | 2019-03-22 | 2019-07-23 | 口碑(上海)信息技术有限公司 | Message interworking unit and method between heterogeneous platform |
CN111026396A (en) * | 2019-12-13 | 2020-04-17 | 北京小米移动软件有限公司 | Page rendering method and device, electronic equipment and storage medium |
CN111324833A (en) * | 2018-12-14 | 2020-06-23 | 北京京东尚科信息技术有限公司 | Page display method, apparatus, electronic design and computer readable medium |
CN112130842A (en) * | 2019-06-24 | 2020-12-25 | 北京京东尚科信息技术有限公司 | Page generation method and device |
CN112446725A (en) * | 2019-09-03 | 2021-03-05 | 百度在线网络技术(北京)有限公司 | Information processing method, system, information server and information display client |
CN114490103A (en) * | 2020-11-12 | 2022-05-13 | 亚信科技(中国)有限公司 | Operating system interface calling method, device and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050060718A1 (en) * | 1998-12-31 | 2005-03-17 | Microsoft Corporation | Transporting objects between a client and a server |
CN101441631A (en) * | 2007-11-19 | 2009-05-27 | 上海新纳广告传媒有限公司 | Data access method for asynchronous web page browsing |
CN101452449A (en) * | 2007-12-06 | 2009-06-10 | 田园 | Method for making different browsers call web pages mutually |
CN101695032A (en) * | 2009-11-02 | 2010-04-14 | 中国电信股份有限公司 | Unified web client, service configuration method and system thereof |
US20120158737A1 (en) * | 2010-12-15 | 2012-06-21 | Solera Networks, Inc. | System and method for hypertext transfer protocol layered reconstruction |
CN104714982A (en) * | 2013-12-17 | 2015-06-17 | 阿里巴巴集团控股有限公司 | Method and system for loading webpage |
CN105574049A (en) * | 2014-10-30 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Page processing method, device and system of mobile applications |
-
2016
- 2016-06-08 CN CN201610404567.4A patent/CN107480153A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050060718A1 (en) * | 1998-12-31 | 2005-03-17 | Microsoft Corporation | Transporting objects between a client and a server |
CN101441631A (en) * | 2007-11-19 | 2009-05-27 | 上海新纳广告传媒有限公司 | Data access method for asynchronous web page browsing |
CN101452449A (en) * | 2007-12-06 | 2009-06-10 | 田园 | Method for making different browsers call web pages mutually |
CN101695032A (en) * | 2009-11-02 | 2010-04-14 | 中国电信股份有限公司 | Unified web client, service configuration method and system thereof |
US20120158737A1 (en) * | 2010-12-15 | 2012-06-21 | Solera Networks, Inc. | System and method for hypertext transfer protocol layered reconstruction |
CN104714982A (en) * | 2013-12-17 | 2015-06-17 | 阿里巴巴集团控股有限公司 | Method and system for loading webpage |
CN105574049A (en) * | 2014-10-30 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Page processing method, device and system of mobile applications |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108279932A (en) * | 2018-01-22 | 2018-07-13 | 北京奇艺世纪科技有限公司 | A kind of mobile terminal dynamic configuration user interface method and device |
CN108279932B (en) * | 2018-01-22 | 2021-05-25 | 北京奇艺世纪科技有限公司 | Method and device for dynamically configuring user interface of mobile terminal |
CN108304205A (en) * | 2018-01-30 | 2018-07-20 | 努比亚技术有限公司 | A kind of update method of application program, terminal and computer readable storage medium |
CN108399074A (en) * | 2018-01-30 | 2018-08-14 | 努比亚技术有限公司 | A kind of update method of application program, terminal and computer readable storage medium |
CN108845803A (en) * | 2018-05-23 | 2018-11-20 | 北京五八信息技术有限公司 | A kind of update method of List View, device, equipment and storage medium |
CN108845803B (en) * | 2018-05-23 | 2022-11-08 | 北京五八信息技术有限公司 | Method, device and equipment for updating list view and storage medium |
CN109200581B (en) * | 2018-07-25 | 2021-05-25 | 深圳点猫科技有限公司 | Method and electronic device for controlling game role through python code |
CN109200581A (en) * | 2018-07-25 | 2019-01-15 | 深圳点猫科技有限公司 | Method, the electronic equipment of game role are controlled by python code |
CN111324833A (en) * | 2018-12-14 | 2020-06-23 | 北京京东尚科信息技术有限公司 | Page display method, apparatus, electronic design and computer readable medium |
CN110049017B (en) * | 2019-03-22 | 2021-11-16 | 口碑(上海)信息技术有限公司 | Message intercommunication device and method between heterogeneous platforms |
CN110049017A (en) * | 2019-03-22 | 2019-07-23 | 口碑(上海)信息技术有限公司 | Message interworking unit and method between heterogeneous platform |
CN112130842A (en) * | 2019-06-24 | 2020-12-25 | 北京京东尚科信息技术有限公司 | Page generation method and device |
CN112446725A (en) * | 2019-09-03 | 2021-03-05 | 百度在线网络技术(北京)有限公司 | Information processing method, system, information server and information display client |
CN112446725B (en) * | 2019-09-03 | 2023-10-13 | 百度在线网络技术(北京)有限公司 | Information processing method, system, information server and information display client |
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 |
CN114490103A (en) * | 2020-11-12 | 2022-05-13 | 亚信科技(中国)有限公司 | Operating system interface calling method, device and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107480153A (en) | A kind of page data processing method, client and terminal device | |
US20220375147A1 (en) | Image drawing method, apparatus, readable medium and electronic device | |
CN106303723B (en) | Video processing method and device | |
US8549481B2 (en) | Web-based integrated test and debugging system | |
US10656806B2 (en) | Display interface systems and methods | |
US12112772B2 (en) | Method and apparatus for video production, device and storage medium | |
CN108021583A (en) | Page loading method, the processing method and client of page operation instruction | |
CN111951356B (en) | Animation rendering method based on JSON data format | |
US20230066504A1 (en) | Automated adaptation of video feed relative to presentation content | |
CN113377366A (en) | Control editing method, device, equipment, readable storage medium and product | |
CN111459501A (en) | SVG-based Web configuration picture storage and display system, method and medium | |
CN114489910A (en) | Video conference data display method, device, equipment and medium | |
CN107479868A (en) | A kind of interface loading method, device and equipment | |
You et al. | A comparative study of cross-platform mobile application development | |
US20250104453A1 (en) | Image description generation method and apparatus, device, medium, and product | |
CN110286971A (en) | Processing method and system, medium and calculating equipment | |
CN107025259A (en) | A kind of deployment method of details page, equipment and mobile terminal | |
CN107193815A (en) | A kind of processing method of page code, device and equipment | |
CN112419456B (en) | Special effect picture generation method and device | |
WO2024251092A1 (en) | Image processing method and apparatus, and device, storage medium and program product | |
US20250061272A1 (en) | Landing page processing method and apparatus | |
US11758016B2 (en) | Hosted application as web widget toolkit | |
US20240319967A1 (en) | Script generation method and apparatus, device, and storage medium | |
CN110276056A (en) | Document edit method, device, equipment and system | |
WO2018205390A1 (en) | Control layout display control method, system, and apparatus, and computer readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171215 |
|
RJ01 | Rejection of invention patent application after publication |