CN109960553A - A kind of more window context rendering methods and system - Google Patents

A kind of more window context rendering methods and system Download PDF

Info

Publication number
CN109960553A
CN109960553A CN201711437273.2A CN201711437273A CN109960553A CN 109960553 A CN109960553 A CN 109960553A CN 201711437273 A CN201711437273 A CN 201711437273A CN 109960553 A CN109960553 A CN 109960553A
Authority
CN
China
Prior art keywords
template
character string
display information
character
window
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
Application number
CN201711437273.2A
Other languages
Chinese (zh)
Inventor
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
INFORMATION TECHNOLOGY Co Ltd SHANGHAI AVCON
Original Assignee
INFORMATION TECHNOLOGY Co Ltd SHANGHAI AVCON
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by INFORMATION TECHNOLOGY Co Ltd SHANGHAI AVCON filed Critical INFORMATION TECHNOLOGY Co Ltd SHANGHAI AVCON
Priority to CN201711437273.2A priority Critical patent/CN109960553A/en
Publication of CN109960553A publication Critical patent/CN109960553A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The present invention provides a kind of more window context rendering methods and system, to obtain description character string corresponding with a template to be shown;Wherein, the description character string is to be generated according to template pattern descriptor predetermined;The description character string is parsed, to obtain a parsing result;According to the parsing result, the display information of each form in the template to be shown is calculated;According to the calculated result of the display information, the presentation of content is carried out to each form corresponding with the template to be shown.Present invention operation is simple, and system maintenance amount is small, and stability is high, can be to be flexibly adjusted to template pattern to be shown.

Description

A kind of more window context rendering methods and system
Technical field
The present invention relates to computer fields, more particularly to a kind of more window context rendering methods and system.
Background technique
When needing that the contents such as multiple video files, plurality of pictures, multiple documents are presented or compared, usually all it is Open simultaneously the progress of the softwares such as multiple players or document editor.Existing content present way to manage be all using piece It lifts and pre-defines the style type that different enumerated values indicate come what is indicated, send clothes for enumerated value when pattern is set later Business end, which is pushed to all business ends again by server-side, pre-defined according to enumerated value after related service end receives enumerated value Pattern calculated, by the result of calculating feed back to boundary layer present.Currently existing scheme is very inflexible, is unfavorable for extending, When needing to increase a kind of pattern newly, it is necessary to newly define a new enumerated value, while all relevant business ends require pair This new enumerated value explains, that is to say, that often increases a kind of pattern newly, requires the generation for modifying all related service ends Code, all business ends must all issue new version, and could support new pattern completely after all being upgraded, which increase Unnecessary upgrade job amount, considerably increases the workload of system maintenance, increases software cost, it is unstable to increase system Risk.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of more window context rendering methods With system, for solving that heavy workload, system that window context in the prior art is presented be unstable and modification is more troublesome Problem.
In order to achieve the above objects and other related objects, the present invention provides a kind of more window context rendering methods, the side Method includes: to obtain description character string corresponding with a template to be shown;Wherein, the description character string is according to predetermined What template pattern descriptor generated;The description character string is parsed, to obtain a parsing result;It is tied according to the parsing Fruit calculates the display information of each form in the template to be shown;According to it is described display information calculated result, to The corresponding each form of the template to be shown carries out the presentation of content.
In a specific embodiment of the invention, the template pattern descriptor is self-defining character.
In a specific embodiment of the invention, the template pattern descriptor includes one of following or a variety of: being used to The character of form number in description template pattern, for describing the character of each form stratification position in template pattern, for stating The character that the display information description of the form of certain a line or a certain column terminates.
In a specific embodiment of the invention, the display information includes the coordinate information of each form.
In an of the invention specific embodiment, further include, to the description character string corresponding with the template to be shown It modifies, to modify display information corresponding with form each in the template to be shown, and then modifies and the mould to be shown The presentation of the corresponding each form of version.
In order to achieve the above objects and other related objects, the present invention also provides a kind of more window contexts, and system is presented, described System includes: that description character string obtains module, to obtain description character string corresponding with a template to be shown;Wherein, described Describing character string is to be generated according to template pattern descriptor predetermined;Parsing module, to the description character string It is parsed, to obtain a parsing result;Computing module, to according to the parsing result, to each in the template to be shown The display information of form is calculated;Showing interface module, to according to it is described display information calculated result, to it is described to Show that the corresponding each form of template carries out the presentation of content.
In a specific embodiment of the invention, the template pattern descriptor is self-defining character.
In a specific embodiment of the invention, the template pattern descriptor includes one of following or a variety of: being used to The character of form number in description template pattern, for describing the character of each form stratification position in template pattern, for stating The character that the display information description of the form of certain a line or a certain column terminates.
In a specific embodiment of the invention, the display information includes the coordinate information of each form.
It further include modified module in an of the invention specific embodiment, to institute corresponding with the template to be shown Description character string is stated to modify, it is calculated corresponding with each form in the template to be shown to modify the computing module It shows information, and then modifies the presentation of the showing interface module pair each form corresponding with the template to be shown.
As described above, more window context rendering methods of the invention and system, obtain retouch corresponding with a template to be shown State character string;Wherein, the description character string is to be generated according to template pattern descriptor predetermined;To the describing word Symbol string is parsed, to obtain a parsing result;Display according to the parsing result, to each form in the template to be shown Information is calculated;According to the calculated result of the display information, to each form corresponding with the template to be shown into The presentation of row content.Present invention operation is simple, and system maintenance amount is small, and stability is high, can be flexibly to template sample to be shown Formula is adjusted.
Detailed description of the invention
Fig. 1 is shown as the flow diagram of more window context rendering methods of the invention in one embodiment.
Fig. 2 is shown as more window contexts of the invention and the module diagram of system in one embodiment is presented.
Component label instructions
System is presented in more than 100 window contexts
101, which describe character string, obtains module
102 parsing modules
103 computing modules
104 showing interface modules
S1~S4 step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment Think, only shown in diagram then with related component in the present invention rather than component count, shape and size when according to actual implementation Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel It is likely more complexity.
Existing form rendering method is usually indicated by enumerating, such as ten enumerated values of setting, respectively digital 1~ 10, each enumerated value respectively corresponds a kind of presentation mode of form, such as plan-position and the view of the size of form, form Stratification position of window etc..When needing to enable form to present with a kind of corresponding form of enumerated value different from having set above When mode is presented, it is necessary to newly-increased enumerated value, for example, number 11, then increase form corresponding with the enumerated value 11 newly and be in Existing pattern, and the meaning by the newly-increased enumerated value and its corresponding form presentation style is needed to be sent to all business End, the heavy workload and not flexible of whole system operation.
Referring to Fig. 1, being shown as the process signal of more window context rendering methods of the invention in one embodiment Figure.More window context rendering methods include:
Step S1: description character string corresponding with a template to be shown is obtained;Wherein, the description character string is according to pre- What the template pattern descriptor first defined generated;The template pattern descriptor is self-defining character.A template can be defined Pattern descriptor makes it have definite meaning, forms description character string by combining characters to indicate a formwork style.It is described Template pattern descriptor includes one of following or a variety of: for describing the character of form number in template pattern, for retouching State the display information description knot of the character of each form stratification position in template pattern, the form for stating certain a line or a certain column The character of beam.Such as: the form number in template can be indicated by definition number;It can be by defining alphabetical " f " come table Show some window in front;The pattern etc. of the every a line of form in template, this technology can be used to divide by definition character " | " Field personnel can according to need self-defining kinds of characters or symbol completely to indicate different meanings.
Certainly, the template pattern descriptor can also include other descriptors, make by oneself specifically, can according to need Justice.
Step S2: the description character string is parsed, to obtain a parsing result;Preferably, by the describing word Symbol string resolves to the parsing result that can be understood by a position algorithm.
Step S3: according to the parsing result, the display information of each form in the template to be shown is calculated;It is excellent Choosing, the display information includes the coordinate information of each form.I.e. according to the parsing result, to the template to be shown In the position of each form calculated one by one, obtain the coordinate information of each form in template.
Step S4: according to the calculated result of the display information, to each form corresponding with the template to be shown Carry out the presentation of content.Also the calculated result of the display information can be sent to different system or business end, not With system or business end each form corresponding to the template to be shown carry out the presentation of content.
Further include modifying to the description character string corresponding with the template to be shown, with modification with it is described to Show the corresponding display information of each form in template, and then modify each form corresponding with the template to be shown is in It is existing.I.e. when needing to carry out content presentation, as long as the target patterns to be presented are described using formwork style descriptor, The description character string of formwork style is obtained, the description character string of formwork style is parsed and calculated, can be in form Existing mode is managed.When needing to carry out content presentation with different template patterns, it is only necessary to modify the description of formwork style Character string, the template pattern without other modules in modification system, and in the invention do not need to carry out in advance yet Setting, and only need according to current needs, describing character to template pattern carries out certain combination, forms the description character of needs String.
Present invention operation is simple, and system maintenance amount is small, and stability is high, can be flexibly to carry out to template pattern to be shown Adjustment.
Referring to Fig. 2, being shown as more window contexts of the invention is presented the module signal of system in one embodiment Figure.It includes: that description character string obtains module 101, parsing module 102, computing module that system 100, which is presented, in more window contexts 103 and showing interface module 104.
The description character string obtains module 101 to obtain description character string corresponding with a template to be shown;Wherein, The description character string is to be generated according to template pattern descriptor predetermined;The template pattern descriptor is customized Character.A template pattern descriptor, which can be defined, makes it have definite meaning, by combining characters formed description character string come Indicate a formwork style.The template pattern descriptor includes one of following or a variety of: for describing in template pattern The character of form number, for describing the character of each form stratification position in template pattern, for stating certain a line or a certain column Form display information description terminate character.Such as: the form number in template can be indicated by definition number;It can To indicate some window in front by defining alphabetical " f ";It can be used to divide form in template by definition character " | " every Pattern of a line etc., those skilled in the art can according to need self-defining kinds of characters or symbol completely to indicate different Meaning.
Certainly, the template pattern descriptor can also include other descriptors, make by oneself specifically, can according to need Justice.
The parsing module 102 is to parse the description character string, to obtain a parsing result;Preferably, The description character string is resolved to the parsing result that can be understood by the position algorithm that the computing module 103 is applied.
The computing module 103 is to believe the display of each form in the template to be shown according to the parsing result Breath is calculated;I.e. according to the parsing result, the position of each form in the template to be shown is calculated one by one, is obtained The coordinate information of each form in template.
The showing interface module 104 to according to it is described display information calculated result, to the template to be shown Corresponding each form carries out the presentation of content.The calculated result of the display information can be also sent to different system or Person's business end is in carry out content to the corresponding each form of the template to be shown at different systems or business end It is existing.
The system 100 further includes a modified module, to the description character corresponding with the template to be shown String is modified, to modify the calculated display letter corresponding with form each in the template to be shown of the computing module 103 Breath, and then modify the presentation of the showing interface module 104 to each form corresponding with the template to be shown.I.e. when need When carrying out content presentation, as long as the target patterns to be presented are described using formwork style descriptor, template is obtained The description character string of formwork style is parsed and is calculated by the description character string of pattern, can presentation mode to form into Row management.When needing to carry out content presentation with different template patterns, it is only necessary to modify the description character string of formwork style i.e. Can, the template pattern without other modules in modification system, and in the invention does not need to be configured in advance yet, and only It needs to describe character according to current needs to template pattern and carry out certain combination, forms the description character string of needs.
Present invention operation is simple, and system maintenance amount is small, and stability is high, can be flexibly to carry out to template pattern to be shown Adjustment.
In conclusion more window context rendering methods of the invention and system, obtain retouch corresponding with a template to be shown State character string;Wherein, the description character string is to be generated according to template pattern descriptor predetermined;To the describing word Symbol string is parsed, to obtain a parsing result;Display according to the parsing result, to each form in the template to be shown Information is calculated;According to the calculated result of the display information, to each form corresponding with the template to be shown into The presentation of row content.Present invention operation is simple, and system maintenance amount is small, and stability is high, can be flexibly to template sample to be shown Formula is adjusted.So the present invention effectively overcomes various shortcoming in the prior art and has high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (10)

1. a kind of more window context rendering methods, which is characterized in that the described method includes:
Obtain description character string corresponding with a template to be shown;Wherein, the description character string is according to mould predetermined What pressing formula descriptor generated;
The description character string is parsed, to obtain a parsing result;
According to the parsing result, the display information of each form in the template to be shown is calculated;
According to the calculated result of the display information, carrying out content to each form corresponding with the template to be shown is in It is existing.
2. more window context rendering methods according to claim 1, it is characterised in that: the template pattern descriptor is certainly Definition character.
3. more window context rendering methods according to claim 1, it is characterised in that: the template pattern descriptor includes It is one of below or a variety of: for describing the character of form number in template pattern, for describing each form in template pattern The character that the display information description of the character of stratification position, form for stating certain a line or a certain column terminates.
4. more window context rendering methods according to claim 1, it is characterised in that: the display information includes each described The coordinate information of form.
5. more window context rendering methods according to claim 1, it is characterised in that: further include, to it is described to be shown The corresponding description character string of template is modified, to modify display letter corresponding with form each in the template to be shown Breath, and then modify the presentation of each form corresponding with the template to be shown.
6. system is presented in a kind of more window contexts, which is characterized in that the system comprises:
It describes character string and obtains module, to obtain description character string corresponding with a template to be shown;Wherein, the describing word Symbol string is to be generated according to template pattern descriptor predetermined;
Parsing module, to be parsed to the description character string, to obtain a parsing result;
Computing module, to calculate the display information of each form in the template to be shown according to the parsing result;
Showing interface module, to the calculated result according to the display information, to each institute corresponding with the template to be shown State the presentation that form carries out content.
7. system is presented in more window contexts according to claim 6, it is characterised in that: the template pattern descriptor is certainly Definition character.
8. system is presented in more window contexts according to claim 6, it is characterised in that: the template pattern descriptor includes It is one of below or a variety of: for describing the character of form number in template pattern, for describing each form in template pattern The character that the display information description of the character of stratification position, form for stating certain a line or a certain column terminates.
9. system is presented in more window contexts according to claim 6, it is characterised in that: the display information includes each described The coordinate information of form.
10. system is presented in more window contexts according to claim 6, it is characterised in that: further include modified module, to right The description character string corresponding with the template to be shown is modified, with modify the computing module it is calculated with it is described The corresponding display information of each form in template to be shown, and then modify the showing interface module pair and the template pair to be shown The presentation for each form answered.
CN201711437273.2A 2017-12-26 2017-12-26 A kind of more window context rendering methods and system Pending CN109960553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711437273.2A CN109960553A (en) 2017-12-26 2017-12-26 A kind of more window context rendering methods and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711437273.2A CN109960553A (en) 2017-12-26 2017-12-26 A kind of more window context rendering methods and system

Publications (1)

Publication Number Publication Date
CN109960553A true CN109960553A (en) 2019-07-02

Family

ID=67022655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711437273.2A Pending CN109960553A (en) 2017-12-26 2017-12-26 A kind of more window context rendering methods and system

Country Status (1)

Country Link
CN (1) CN109960553A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019618A (en) * 2017-12-06 2019-07-16 华平信息技术股份有限公司 The rendering method and system, memory and equipment of electronic map multi-layer image data
CN112286520A (en) * 2020-10-20 2021-01-29 北京沃东天骏信息技术有限公司 Method, device, platform and storage medium for creating and acquiring style template

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622215A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for editing image-text units based on script
CN105578204A (en) * 2014-10-14 2016-05-11 青岛海信电器股份有限公司 Multi-video-data displaying method and apparatus
CN106792102A (en) * 2017-01-05 2017-05-31 深圳市爱立峰科技有限公司 Method and Set Top Box that set top box side homepage multiple audio video synchronization is played

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622215A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for editing image-text units based on script
CN105578204A (en) * 2014-10-14 2016-05-11 青岛海信电器股份有限公司 Multi-video-data displaying method and apparatus
CN106792102A (en) * 2017-01-05 2017-05-31 深圳市爱立峰科技有限公司 Method and Set Top Box that set top box side homepage multiple audio video synchronization is played

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019618A (en) * 2017-12-06 2019-07-16 华平信息技术股份有限公司 The rendering method and system, memory and equipment of electronic map multi-layer image data
CN110019618B (en) * 2017-12-06 2022-12-09 华平信息技术股份有限公司 Method and system for presenting multi-layer data of electronic map, memory and equipment
CN112286520A (en) * 2020-10-20 2021-01-29 北京沃东天骏信息技术有限公司 Method, device, platform and storage medium for creating and acquiring style template

Similar Documents

Publication Publication Date Title
US10565293B2 (en) Synchronizing DOM element references
CN107463418B (en) Configuration file generation method and device for server middleware
CN103593456B (en) Worksheet self-defining method for designing and device
CN107220036A (en) A kind of visual development method and system of component and template
CN114202027B (en) Method for generating execution configuration information, method and device for model training
CN105701165B (en) Browser model switching method and switching device
CN110458173A (en) Method and apparatus for generating article color value
CN110244921A (en) Label printing method, device, electronic equipment and system
CN104298727A (en) Template matching method and device based on document
CN109101309B (en) Method and apparatus for updating user interface
CN110738035A (en) document template generation method and device
CN109960553A (en) A kind of more window context rendering methods and system
CN108089879A (en) Increment updating method, equipment and programmable device
CN108053873A (en) A kind of design method of the public control node tree based on full institute's general service
CN104753891B (en) A kind of XML message analysis method and device
CN110716775B (en) Traceable template configuration method, electronic device, storage medium and system
CN103186506A (en) Method and system for adjusting character pair interval
CN104063219A (en) Form development method and system for WEB system
CN107203501A (en) A kind of information issuing method and device
CN102708206B (en) A kind of describing method of data layout
CN106257443A (en) A kind of data lead-in method and device
CN106503162B (en) SAP platform based page dynamic generation method and system
CN110209965A (en) Method and apparatus for showing information
CN109472740A (en) The method and apparatus for generating figure based on web front end
CN109376346A (en) Multiple terminals electronic document editorial management method and system based on label and view

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: 20190702

RJ01 Rejection of invention patent application after publication