CN109241471A - Page rendering method, server, browser and exploitation for energy information management system - Google Patents

Page rendering method, server, browser and exploitation for energy information management system Download PDF

Info

Publication number
CN109241471A
CN109241471A CN201811255132.3A CN201811255132A CN109241471A CN 109241471 A CN109241471 A CN 109241471A CN 201811255132 A CN201811255132 A CN 201811255132A CN 109241471 A CN109241471 A CN 109241471A
Authority
CN
China
Prior art keywords
module
page
data
user
rendered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811255132.3A
Other languages
Chinese (zh)
Other versions
CN109241471B (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811255132.3A priority Critical patent/CN109241471B/en
Publication of CN109241471A publication Critical patent/CN109241471A/en
Application granted granted Critical
Publication of CN109241471B publication Critical patent/CN109241471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This disclosure relates to which a kind of page rendering method, server, browser and exploitation for energy information management system, are related to field of computer technology.Disclosed method includes: the data acquisition request that server receives the page that browser is sent;Server renders the first module in the page, and the data after rendering are back to browser, so that browser shows according to the data after rendering the content of the first module;The data to be rendered of second module in the page are back to browser by server, so that browser is rendered and shown to the second module according to data to be rendered.

Description

Page rendering method, server, browser and exploitation for energy information management system
Technical field
This disclosure relates to field of computer technology, in particular to a kind of page rendering method, server, browser and the energy Information management system.
Background technique
IEMS (Informationized Energy Management System, exploitation for energy information management system) being capable of root Demand according to user is the management for the energy that user carries out in special scenes.User can be checked respectively by logging in the page of IEMS Kind multi-energy data.
When user accesses webpage by browser, the page that user requests can be presented to by use by page rendering technology Family.Currently, page rendering technology includes front end rendering and rear end rendering.
Summary of the invention
Inventor's discovery: page rendering is usually by browser complete independently or by server complete independently.By browser Page rendering is completed, display delay is longer when data are more slowly for browser processing speed, poor user experience.It is completed by server Page rendering, the pressure caused by server is excessive, in the case that access request is excessive, be easy to cause network congestion, server Collapse causes the page that can not show.Especially for this kind of system for user demand customization of IEMS, need for different user Obtain different data, existing page rendering method, it is easier to increase display delay, influence user experience.
A disclosure technical problem to be solved is: improving page rendering efficiency, improves the page and show rate, promoted User experience.
According to some embodiments of the present disclosure, a kind of page rendering method for providing, comprising: server receives browser hair The data acquisition request of the page sent;Server renders the first module in the page, and the data after rendering are returned To browser, so that browser shows according to the data after rendering the content of the first module;Server is by the second module in the page Data to be rendered be back to browser, so that browser is rendered and is shown to the second module according to data to be rendered.
In some embodiments, it includes: that server inquiry is pre-configured that the first module in the page is carried out rendering by server First module list obtains the data to be rendered of the first module;The data to be rendered of first module include for generating page frame The data of frame and the corresponding page of the first module fill data;Server generates page frame according to the data to be rendered of the first module Frame, and the corresponding page filling data of the first module are filled into the corresponding position of page framework.
In some embodiments, the first module includes: shared module, and shared module is to be shown in identical for all users The module of appearance;Second module includes: non-shared module, and non-shared module is determined according to the permission for the user for requesting access to the page 's.
In some embodiments, server is the permission that user is determined according to the identity information of user;The permission of user It include: the non-shared module that user has operating right;Or the permission of user includes: that user has the non-shared of operating right Module and user are directed to the action type that the non-shared module with operating right is able to carry out.
In some embodiments, server also wraps before the data to be rendered of the second module in the page are back to browser Include: the data of user's login page are back to browser by server, so that browser shows user's login page;Server connects Receive the identity information for user's input that browser returns.
In some embodiments, this method further include: server obtains the associated subpage frame of the second module in the page Data to be rendered, and the data to be rendered of subpage frame are back to browser, so that browser is according to the number to be rendered of subpage frame It is rendered according to subpage frame.
According to other embodiments of the disclosure, a kind of page rendering method for providing, comprising: browser is sent out to server Send the data acquisition request of the page;Browser receive server return the first module rendering after data, and according to rendering after Data show the content of the first module;Browser receives the data to be rendered of the second module in the page that server returns, and Second module is rendered and shown according to data to be rendered.
In some embodiments, the first module includes: shared module, and shared module is to be shown in identical for all users The module of appearance;Second module includes: non-shared module, and non-shared module is determined according to the permission for the user for requesting access to the page 's.
In some embodiments, the permission of user is to be determined by server according to the identity information of user;The power of user Limit includes: the non-shared module that user has operating right;Or the permission of user includes: that user has the non-total of operating right There are module and user to be directed to the action type that the non-shared module with operating right is able to carry out.
In some embodiments, browser is received in the page that server returns and is gone back before the data to be rendered of the second module Include: the data that browser receives user's login page that server is sent, shows user's login page;Browser receives user The identity information of user is sent to server by the identity information of input.
In some embodiments, the data after the rendering of the first module include: the corresponding page filler of the first module of filling The data of page framework after;The data to be rendered of second module include that the corresponding page of the second module fills data;According to It includes: to fill the corresponding page filling data of the second module to page framework pair that data to be rendered, which carry out rendering to the second module, In the position answered.
In some embodiments, this method further include: it is related that browser receives the second module in the page that server returns The data to be rendered of the subpage frame of connection;Browser renders subpage frame according to the data to be rendered of subpage frame.
According to the other embodiment of the disclosure, a kind of server for providing, comprising: request reception unit, for receiving The data acquisition request for the page that browser is sent;Pre-rendered unit, for the first module in the page to be rendered, and will Data after rendering are back to browser, so that browser shows according to the data after rendering the content of the first module;It is to be rendered Data transmission unit, for the data to be rendered of the second module in the page to be back to browser, so that browser is according to wash with watercolours Dye data are rendered and are shown to the second module.
In some embodiments, pre-rendered unit is used to inquire the first module list being pre-configured, and obtains the first module Data to be rendered;The data to be rendered of first module include the data and the corresponding page of the first module for generating page framework Fill data;Page framework is generated according to the data to be rendered of the first module, and the corresponding page of the first module is filled into data Filling is into the corresponding position of page framework.
In some embodiments, the first module includes: shared module, and shared module is to be shown in identical for all users The module of appearance;Second module includes: non-shared module, and non-shared module is determined according to the permission for the user for requesting access to the page 's.
In some embodiments, the permission of user is determined according to the identity information of user;The permission of user includes: use Family has the non-shared module of operating right;Or the permission of user include: user have operating right non-shared module and User is directed to the action type that the non-shared module with operating right is able to carry out.
In some embodiments, the server further include: identity information acquiring unit, for by the number of user's login page According to browser is back to, so that browser shows user's login page;Receive the identity information for user's input that browser returns.
In some embodiments, data transmission unit to be rendered is also used to obtain the associated subpage of the second module in the page The data to be rendered in face, and the data to be rendered of subpage frame are back to browser, so as to browser according to subpage frame to wash with watercolours Dye data render subpage frame.
According to the still other embodiments of the disclosure, a kind of browser device for providing, comprising: request transmitting unit, for The data acquisition request of the server transmission page;Pre-rendered data processing unit, for receiving the first module of server return Data after rendering, and show according to the data after rendering the content of the first module;Rendering unit is returned for receiving server The page in the second module data to be rendered, and second module is rendered and is shown according to data to be rendered.
In some embodiments, the first module includes: shared module, and shared module is to be shown in identical for all users The module of appearance;Second module includes: non-shared module, and non-shared module is determined according to the permission for the user for requesting access to the page 's.
In some embodiments, the permission of user is to be determined by server according to the identity information of user;The power of user Limit includes: the non-shared module that user has operating right;Or the permission of user includes: that user has the non-total of operating right There are module and user to be directed to the action type that the non-shared module with operating right is able to carry out.
In some embodiments, browser further include: log-on message processing module, for receiving the user of server transmission The data of login page show user's login page;The identity information for receiving user's input, the identity information of user is sent to Server.
In some embodiments, the data after the rendering of the first module include: the corresponding page filler of the first module of filling The data of page framework after;The data to be rendered of second module include that the corresponding page of the second module fills data;Rendering Unit, for filling the corresponding page filling data of the second module into the corresponding position of page framework.
In some embodiments, rendering unit is also used to receive the associated son of the second module in the page of server return The data to be rendered of the page;Subpage frame is rendered according to the data to be rendered of subpage frame.
According to the other embodiment of the disclosure, a kind of exploitation for energy information management system for providing, comprising: aforementioned any implementation The server of example and the browser of aforementioned any embodiment.
In some embodiments, the first module includes: login module, registration module, weather display module, multilingual selection At least one in module, page architecture module;Or second module include: energy monitoring module, device control module, Yong Huxin At least one in breath module, electric diagram display module.
According to the still other embodiments of the disclosure, a kind of page rendering device for providing, comprising: memory;And coupling To the processor of memory, processor is configured as executing such as aforementioned any embodiment based on instruction stored in memory Page rendering method.
According to the other embodiment of the disclosure, a kind of computer readable storage medium provided is stored thereon with calculating Machine program, wherein the program realizes the page rendering method of aforementioned any embodiment when being executed by processor.
The page for requesting access to user in the disclosure is divided into different types of module, i.e. the first module and the second mould Block.Server renders the first module, the data after rendering is back to browser, browser is according to the data after rendering Show the content of the first module.The data to be rendered of second module are back to browser by server, complete second by browser The rendering of module and the content for showing the second module.The page by being divided different type blocks by the disclosure, respectively by servicing Device and browser complete rendering and finally show the complete page.Display rate is improved by the first module that server renders, by Browser shares the rendering work of the second module, reduces the pressure of server, improves page rendering efficiency on the whole, improves The page shows rate, promotes user experience.
By the detailed description referring to the drawings to the exemplary embodiment of the disclosure, the other feature of the disclosure and its Advantage will become apparent.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Disclosed some embodiments for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 shows the flow diagram of the page rendering method of some embodiments of the present disclosure.
Fig. 2 shows the flow diagrams of the page rendering method of other embodiments of the disclosure.
Fig. 3 shows the structural schematic diagram of the server of some embodiments of the present disclosure.
Fig. 4 shows the structural schematic diagram of the browser of some embodiments of the present disclosure.
Fig. 5 shows the structural schematic diagram of the page rendering device of some embodiments of the present disclosure.
Fig. 6 shows the structural schematic diagram of the page rendering device of other embodiments of the disclosure.
Fig. 7 shows the structural schematic diagram of the exploitation for energy information management system of some embodiments of the present disclosure.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.Below Description only actually at least one exemplary embodiment be it is illustrative, never as to the disclosure and its application or making Any restrictions.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, belong to the disclosure protection range.
The disclosure proposes a kind of page rendering method, describes some embodiments below with reference to Fig. 1.
Fig. 1 is the flow chart of some embodiments of disclosure page rendering method.As shown in Figure 1, the method packet of the embodiment It includes: step S102~S110.
In step s 102, browser sends the data acquisition request of the page to server, correspondingly, server reception is clear The data acquisition request for the page that device of looking at is sent.
The targeted page of data acquisition request is the page that user requests access to.For example, user opens IEMS system, ask Access IEMS system homepage is sought, browser is then to the data of server request homepage.
In step S104, server renders the first module in the page, and the data after rendering are back to Browser;Correspondingly, browser receives the data after the first module rendering that server returns.
Module can be the partial region in the page with specific function or display specific content.As detection module can be direct It is called on the page and shows detection data.And the modules such as rights management, control can have on the page corresponding operating code into Row processing,
In some embodiments, the first module list that server inquiry is pre-configured, obtains the number to be rendered of the first module According to;The first module is rendered according to the data to be rendered of the first module.First module list is for example including one or more The mark of first module can also include that corresponding first module data obtains interface.The data to be rendered of first module are for example Data, example are filled including the page corresponding with the first module such as data for generating page framework, such as label nested structure Such as text, image, sound.
If the data to be rendered of the first module store or are cached in server and can directly acquire, if being stored in number According in library, server can be obtained from database by corresponding interface.Server renders the first module and is for example wrapped Generation page framework is included, and the corresponding page filling data of the first module are filled into page framework, filled code number According to as the data after the rendering of the first module.Browser directly can be parsed and be shown after receiving the data after rendering.
In step s 106, browser shows the content of the first module according to the data after rendering.
The data that browser can directly parse after rendering show the content of the first module.
In step S108, the data to be rendered of the second module in the page are back to browser by server, correspondingly, clear Device of looking at receives the data to be rendered of the second module in the page that server returns.
The page is divided into the first module and the second module, and first and second are only used for distinguishing different types of module, no Play other restriction effects.Such as the first and second mould for distinguishing the module by server rendering and being rendered by browser Block.First module can have one or more, and the second module can have one or more.It can according to actual needs, to first Module and the second module are divided.For example, the module for needing preferentially to show is divided into the first module, other modules are as Two modules.
In some embodiments, the first module includes: shared module, and shared module is to be shown in identical for all users The module of appearance.Second module includes: non-shared module, and non-shared module is determined according to the permission for the user for requesting access to the page 's.This module division mode is relatively specific for that similar IEMS system is this to be for what different user can customize different services The page of system.Be directed to the same page, some in the page shows identical content for all users, and some due to The permission of different user is different, and different users is caused to see content difference.For example, the first module is login module, registration mould Block, weather module, multilingual selecting module, page framework module etc.;Second module is energy monitoring module, equipment control mould Block, user information display module, electric diagram display module etc..
If the data to be rendered of the second module store or are cached in server and can directly acquire, if being stored in number According in library, server can be obtained from database by corresponding interface.The data to be rendered of second module are for example including The corresponding page of two modules fills data, for example, text, image, sound etc..
In some embodiments, in the case that the second module is non-shared module, server is believed according to the identity of user Cease the permission for determining user.Further, for example, the data to be rendered of the second module in the page are back to browser by server Before, the data of user's login page are back to browser by server, and browser shows user's login page;Browser obtains The identity information of user is sent to server by the identity information that user inputs in login page.
For example, user open IEMS system, prompt user log in, user click login button, by browser to Server sends logging request.The data (such as data after rendering) of login page are back to browser by server, are browsed Login page is shown to user by device.At the same time, server can be to of the page (such as homepage) after login page One module is rendered in advance.After user inputs identity information, browser sends identity information (for example, user name, password) To server, server can be authenticated the identity information of user, and identity information can also be sent to database progress Matching certification.After user authentication passes through, the data after server renders the first module return to browser.Server can basis The identity information of user obtains the permission of user to database, further according to the to be rendered of the second module of the authority acquiring of user Data.
In some embodiments, the permission of user includes: the non-shared module that user has operating right;Or user Permission includes: user be directed to the non-shared module with operating right with the non-shared module of operating right and user can be into Capable action type.Action type is write for example including read-only, read-write, only.
In step s 110, browser is rendered and is shown to the second module according to data to be rendered.
Browser, which treats rendering data and rendered for example, browser, fills out the second module corresponding page filling data It is charged in page framework, and completes the process of page drafting.Step S104-S106 is step arranged side by side with step S108-S110, Under normal circumstances, the first module shows the display earlier than the second module.
The page for requesting access to user in the method for above-described embodiment is divided into the module of different function, i.e. the first module With the second module.Server renders the first module, the data after rendering is back to browser, browser is according to rendering Data afterwards show the content of the first module.The data to be rendered of second module are back to browser by server, by browser It completes the rendering of the second module and shows the content of the second module.The page by being divided different function by the method for above-described embodiment Energy module completes rendering by server and browser respectively and finally shows the complete page.The first module rendered by server Display rate is improved, the rendering work of the second module is shared by browser, the pressure of server is reduced, improves on the whole Page rendering efficiency improves the page and shows rate, promotes user experience.
Below with reference to Fig. 2 with the first module for publicly-owned module, the second module is description disclosure page for non-shared module Other embodiments of face rendering method.
Fig. 2 is the flow chart of some embodiments of disclosure page rendering method.As shown in Fig. 2, the method packet of the embodiment It includes: step S202~S216.
In step S202, browser receives the page request of user's triggering.
In step S204, browser sends the data acquisition request of the page to server.
In step S205, server renders the shared module in the page.
The page that server is rendered in the browser page to be obtained and the step is, for example, homepage.Shared module example For example homepage frame structure, Weather information module etc..
In step S207, the data after server renders shared module are back to browser.
In step S209, the data after browser is rendered according to shared module show the content for sharing module.
In step S206, server returns to the data of login page to browser.
Since login page is very simple, it can be by server rendering, can also be rendered by browser.
In step S208, browser shows login page, and receives the identity information of user's input.
In step S210, the identity information that user inputs is sent to server by browser.
In step S212, server is authenticated according to the identity information of user, and obtains the permission of user.
For example, user inputs account name, password in log-in interface, server can be according to the information of itself storage to user It is authenticated, can also be authenticated according to the user's information stored in database.If certification passes through, can be to number The user right is read according to library.If certification does not pass through, server can return to the information of login page to browser again, by Browser prompts user inputs identity information again.
For example, being directed to IEMS system, it can be arranged and be divided according to entire IEMS system function requirement, clearly go out shared module With non-shared module.According to the related service that user buys, the permission and corresponding non-shared module of user are determined.In system The module that all users will apply to can produce for example, the basic frame structure of the page, the shared module such as log in, register Shared module list.The part can render in advance in server end, be enable to respond quickly when user initiates page request.Its Remaining non-shared module, for example, the layout etc. of the electrical diagram of factory, personal household will wait basis after user's Sign-On authentication specific User is rendered by browser.Realization is association of activity and inertia, the purpose that flexible page rendering is shown.
In step S214, server is back to according to the data to be rendered of the non-shared module of authority acquiring of user Browser.
The permission of user can be updated, therefore corresponding non-shared module may also will be updated.Non-shared module example It such as include the region shown in navigation bar in homepage.Further, due to different for different user current page display effect, with It is different that the non-shared associated subpage frame of module is also likely to display.Therefore, it is related to obtain non-shared module in the page for server The data to be rendered of the subpage frame of connection, and the data to be rendered of subpage frame are back to browser.I.e. associated subpage frame It may belong to non-shared module.Subpage frame is, for example, second level or three-stage menu or page etc..
In step S216, browser is rendered and is shown to non-shared module according to the data to be rendered of non-shared module Show.
For example, server renders after shared module section generates page framework and fill part data, it is available for example Html text can stay label for undetermined part in page framework, and subsequent browser obtains the to be rendered of non-shared module It is returned to after data at label that supplement is complete.That is the data to be rendered of the non-shared module of browser acquisition are injected into shared module The interface stayed in advance in data after rendering, the specific part of the production account oneself, which is formed, shows the final page.Browsing Device can also render subpage frame according to the data to be rendered of subpage frame.It can be shown by the way of lazyness load non-shared Module section has the function that promote speed.
Above-mentioned steps S205~step S209 is step arranged side by side with step S206~step S214.
The method of above-described embodiment, server render shared module in advance, the energy when user initiates page request Enough rapid loading displays, do not expend user terminal resource.Wash with watercolours is completed by browser according to the non-publicly-owned module that user right determines Dye, alleviates the burden of server.Rendering efficiency is improved on the whole, promotes user experience.
The disclosure also provides a kind of server, is described below with reference to Fig. 3.
Fig. 3 is the structure chart of some embodiments of disclosure server.As shown in figure 3, the server 30 of the embodiment wraps It includes: request reception unit 302, pre-rendered unit 304, data transmission unit 306 to be rendered.
Request reception unit 302, the data acquisition request of the page for receiving browser transmission.
Pre-rendered unit 304 for rendering the first module in the page, and the data after rendering is back to clear Device is look at, so that browser shows according to the data after rendering the content of the first module.
In some embodiments, pre-rendered unit 304 is used to inquire the first module list being pre-configured, and obtains the first module Data to be rendered;The data to be rendered of first module include the data and the corresponding page of the first module for generating page framework Fill data in face;Page framework is generated according to the data to be rendered of the first module, and by the corresponding page filler of the first module According to filling into the corresponding position of page framework.
Data transmission unit 306 to be rendered, for the data to be rendered of the second module in the page to be back to browser, with Just browser is rendered and is shown to the second module according to data to be rendered.
In some embodiments, the first module includes: shared module, and shared module is to be shown in identical for all users The module of appearance;Second module includes: non-shared module, and non-shared module is determined according to the permission for the user for requesting access to the page 's.
In some embodiments, the permission of user is determined according to the identity information of user.The permission of user includes: use Family has the non-shared module of operating right;Or the permission of user include: user have operating right non-shared module and User is directed to the action type that the non-shared module with operating right is able to carry out.
In some embodiments, it is associated to be also used to obtain the second module in the page for data transmission unit 306 to be rendered The data to be rendered of subpage frame, and the data to be rendered of subpage frame are back to browser, so that browser is according to subpage frame Data to be rendered render subpage frame.
In some embodiments, server 30 further include: identity information acquiring unit 308 is used for user's login page Data be back to browser, so as to browser show user's login page;Receive the identity for user's input that browser returns Information.
The disclosure also provides a kind of browser, is described below with reference to Fig. 4.
Fig. 4 is the structure chart of some embodiments of disclosure browser.As shown in figure 4, the server 40 of the embodiment wraps It includes: request transmitting unit 402, pre-rendered data processing unit 404, rendering unit 406.
Request transmitting unit 402, for sending the data acquisition request of the page to server.
Pre-rendered data processing unit 404, the data after the rendering of the first module for receiving server return, and according to Data after rendering show the content of the first module.
Rendering unit 406, for receiving the data to be rendered of the second module in the page that server returns, and according to wash with watercolours Dye data are rendered and are shown to the second module.
In some embodiments, the first module includes: shared module, and shared module is to be shown in identical for all users The module of appearance;Second module includes: non-shared module, and non-shared module is determined according to the permission for the user for requesting access to the page 's.
In some embodiments, the permission of user is to be determined by server according to the identity information of user.The power of user Limit includes: the non-shared module that user has operating right;Or the permission of user includes: that user has the non-total of operating right There are module and user to be directed to the action type that the non-shared module with operating right is able to carry out.
In some embodiments, the data after the rendering of the first module include: the corresponding page filler of the first module of filling The data of page framework after;The data to be rendered of second module include that the corresponding page of the second module fills data;Rendering Unit 406 is used to fill the corresponding page filling data of the second module into the corresponding position of page framework.
In some embodiments, browser 40 further include: log-on message processing module 408 is sent for receiving server User's login page data, show user's login page;Receive the identity information of user's input, the identity information hair of user It send to server.
Page rendering device in embodiment of the disclosure can realize respectively by various calculating equipment or computer system, page Face rendering device can be server or browser, be described below with reference to Fig. 5 and Fig. 6.
Fig. 5 is the structure chart of some embodiments of disclosure page rendering device.As shown in figure 5, the device of the embodiment 50 include: memory 510 and the processor 520 for being coupled to the memory 510, and processor 520 is configured as being based on being stored in Instruction in memory 510 executes the page rendering method in the disclosure in any some embodiments.
Wherein, memory 510 is such as may include system storage, fixed non-volatile memory medium.System storage Device is for example stored with operating system, application program, Boot loader (Boot Loader), database and other programs etc..
Fig. 6 is the structure chart of other embodiments of disclosure page rendering device.As shown in fig. 6, the dress of the embodiment Setting 60 includes: memory 610 and processor 620, similar with memory 510 and processor 520 respectively.It can also include defeated Enter output interface 630, network interface 640, memory interface 650 etc..These interfaces 630,640,650 and memory 610 and place It can for example be connected by bus 660 between reason device 620.Wherein, input/output interface 630 is display, mouse, keyboard, touching It touches the input-output equipment such as screen and connecting interface is provided.Network interface 640 provides connecting interface for various networked devices, such as can be with It is connected to database server or cloud storage server etc..Memory interface 650 is that the external storages such as SD card, USB flash disk mention For connecting interface.
The disclosure also provides a kind of exploitation for energy information management system, is described below with reference to Fig. 7.
Fig. 7 is the structure chart of some embodiments of disclosure exploitation for energy information management system.As shown in fig. 7, the embodiment System 70 includes: the server 30 and browser 40 of aforementioned any embodiment.
In some embodiments, the first module includes: login module, registration module, weather display module, multilingual selection At least one in module, page architecture module;Or second module include: energy monitoring module, device control module, Yong Huxin At least one in breath module, electric diagram display module.
Those skilled in the art should be understood that embodiment of the disclosure can provide as method, system or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the disclosure The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the disclosure, which can be used in one or more, Machine can use the meter implemented in non-transient storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of calculation machine program product.
The disclosure is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present disclosure Figure and/or block diagram describe.It is interpreted as to be realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all spirit in the disclosure and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the protection scope of the disclosure.

Claims (28)

1. a kind of page rendering method, comprising:
Server receives the data acquisition request for the page that browser is sent;
The server renders the first module in the page, and the data after rendering are back to the browsing Device, so that the browser shows according to the data after the rendering content of first module;
The data to be rendered of second module in the page are back to the browser by the server, so as to the browser Second module is rendered and shown according to the data to be rendered.
2. page rendering method according to claim 1, wherein
First module in the page is carried out rendering by the server
The first module list that the server inquiry is pre-configured, obtains the data to be rendered of first module;Described first The data to be rendered of module include the data and the corresponding page filling data of first module for generating page framework;
The server generates page framework according to the data to be rendered of first module, and first module is corresponding Page filling data are filled into the corresponding position of page framework.
3. page rendering method according to claim 1, wherein
First module includes: shared module, and the shared module is that the module of identical content is shown for all users;
Second module includes: non-shared module, and the non-shared module is the permission according to the user for requesting access to the page Determining.
4. page rendering method according to claim 3, wherein
The server is the permission that the user is determined according to the identity information of the user;
The permission of the user includes: the non-shared module that the user has operating right;Or the permission packet of the user Include: non-shared module and the user of the user with operating right are directed to the non-shared module with operating right can The action type of progress.
5. page rendering method according to claim 4, wherein
The data to be rendered of second module in the page are back to before the browser by the server further include:
The data of user's login page are back to the browser by the server, so that the browser shows the user Login page;
The server receives the identity information for the user input that the browser returns.
6. page rendering method according to claim 1-5, further includes:
The server obtains the data to be rendered of the associated subpage frame of the second module in the page, and by the subpage frame Data to be rendered be back to the browser, so as to the browser according to the data to be rendered of the subpage frame to the son The page is rendered.
7. a kind of page rendering method, comprising:
Browser sends the data acquisition request of the page to server;
The browser receives the data after the first module rendering that the server returns, and according to the data after the rendering Show the content of first module;
The browser receives the data to be rendered of the second module in the page that the server returns, and according to it is described to Rendering data is rendered and is shown to second module.
8. page rendering method according to claim 7, wherein
First module includes: shared module, and the shared module is that the module of identical content is shown for all users;
Second module includes: non-shared module, and the non-shared module is the permission according to the user for requesting access to the page Determining.
9. page rendering method according to claim 8, wherein
The permission of the user is to be determined by server according to the identity information of the user;
The permission of the user includes: the non-shared module that the user has operating right;Or the permission packet of the user Include: non-shared module and the user of the user with operating right are directed to the non-shared module with operating right can The action type of progress.
10. page rendering method according to claim 9, wherein
The browser receives in the page that the server returns before the data to be rendered of the second module further include:
The browser receives the data for user's login page that the server is sent, and shows user's login page;
The browser receives the identity information of user's input, and the identity information of the user is sent to the service Device.
11. page rendering method according to claim 7, wherein
Data after the first module rendering include: the page frame after the corresponding page filling data of filling first module The data of frame;
The data to be rendered of second module include that the corresponding page of the second module fills data;
It is described according to the data to be rendered to second module carry out rendering include:
The corresponding page filling data of second module are filled into the corresponding position of the page framework.
12. according to the described in any item page rendering methods of claim 7-11, further includes:
The browser receives the number to be rendered of the associated subpage frame of the second module in the page that the server returns According to;
The browser renders the subpage frame according to the data to be rendered of the subpage frame.
13. a kind of server, comprising:
Request reception unit, the data acquisition request of the page for receiving browser transmission;
Pre-rendered unit for rendering the first module in the page, and the data after rendering is back to described Browser, so that the browser shows according to the data after the rendering content of first module;
Data transmission unit to be rendered, for the data to be rendered of the second module in the page to be back to the browser, So that the browser is rendered and is shown to second module according to the data to be rendered.
14. server according to claim 13, wherein
The pre-rendered unit is used to inquire the first module list being pre-configured, and obtains the data to be rendered of first module; The data to be rendered of first module include that data for generating page framework and the corresponding page of first module are filled out It makes up the number evidence;Page framework is generated according to the data to be rendered of first module, and the corresponding page of first module is filled out It makes up the number according to filling into the corresponding position of page framework.
15. server according to claim 13, wherein
First module includes: shared module, and the shared module is that the module of identical content is shown for all users;
Second module includes: non-shared module, and the non-shared module is the permission according to the user for requesting access to the page Determining.
16. server according to claim 15, wherein
The permission of the user is determined according to the identity information of the user;
The permission of the user includes: the non-shared module that the user has operating right;Or the permission packet of the user Include: non-shared module and the user of the user with operating right are directed to the non-shared module with operating right can The action type of progress.
17. server according to claim 16, further includes:
Identity information acquiring unit, for the data of user's login page to be back to the browser, so as to the browser Show user's login page;Receive the identity information for the user input that the browser returns.
18. the described in any item servers of 3-17 according to claim 1, wherein
The data transmission unit to be rendered is also used to obtain the to be rendered of the associated subpage frame of the second module in the page Data, and the data to be rendered of the subpage frame are back to the browser, so that the browser is according to the subpage frame Data to be rendered the subpage frame is rendered.
19. a kind of browser, comprising:
Request transmitting unit, for sending the data acquisition request of the page to server;
Pre-rendered data processing unit, for receiving the data after the first module that the server returns renders, and according to institute Data after stating rendering show the content of first module;
Rendering unit, for receiving the data to be rendered of the second module in the page that the server returns, and according to institute It states data to be rendered and second module is rendered and shown.
20. browser according to claim 19, wherein
First module includes: shared module, and the shared module is that the module of identical content is shown for all users;
Second module includes: non-shared module, and the non-shared module is the permission according to the user for requesting access to the page Determining.
21. browser according to claim 20, wherein
The permission of the user is to be determined by server according to the identity information of the user;
The permission of the user includes: the non-shared module that the user has operating right;Or the permission packet of the user Include: non-shared module and the user of the user with operating right are directed to the non-shared module with operating right can The action type of progress.
22. browser according to claim 21, further includes:
Log-on message processing module shows the user for receiving the data for user's login page that the server is sent Login page;The identity information for receiving user's input, is sent to the server for the identity information of the user.
23. browser according to claim 19, wherein
Data after the first module rendering include: the page frame after the corresponding page filling data of filling first module The data of frame;
The data to be rendered of second module include that the corresponding page of the second module fills data;
The rendering unit is used to fill the corresponding page filling data of second module corresponding to the page framework In position.
24. browser described in 9-23 according to claim 1, wherein
The rendering unit is also used to receive the associated subpage frame of the second module in the page that the server returns Data to be rendered;The subpage frame is rendered according to the data to be rendered of the subpage frame.
25. a kind of exploitation for energy information management system, comprising: the described in any item servers of claim 13-18 and claim The described in any item browsers of 19-24.
26. exploitation for energy information management system according to claim 25, wherein
First module includes: login module, registration module, weather display module, multilingual selecting module, page architecture mould At least one in block;Or
Second module include: energy monitoring module, device control module, subscriber information module, in electric diagram display module At least one.
27. a kind of page rendering device, comprising:
Memory;And
It is coupled to the processor of the memory, the processor is configured to the instruction based on storage in the memory, Execute such as the described in any item page rendering methods of claim 1-12.
28. a kind of computer readable storage medium, is stored thereon with computer program, wherein when the program is executed by processor The step of realizing any one of claim 1-12 the method.
CN201811255132.3A 2018-10-26 2018-10-26 Page rendering method, server, browser and energy information management system Active CN109241471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811255132.3A CN109241471B (en) 2018-10-26 2018-10-26 Page rendering method, server, browser and energy information management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811255132.3A CN109241471B (en) 2018-10-26 2018-10-26 Page rendering method, server, browser and energy information management system

Publications (2)

Publication Number Publication Date
CN109241471A true CN109241471A (en) 2019-01-18
CN109241471B CN109241471B (en) 2020-09-29

Family

ID=65082121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811255132.3A Active CN109241471B (en) 2018-10-26 2018-10-26 Page rendering method, server, browser and energy information management system

Country Status (1)

Country Link
CN (1) CN109241471B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109902247A (en) * 2019-02-14 2019-06-18 北京奇艺世纪科技有限公司 A kind of method, apparatus and electronic equipment of page rendering
CN111046309A (en) * 2019-12-11 2020-04-21 政采云有限公司 Page view rendering method, device and equipment and readable storage medium
CN111176864A (en) * 2019-12-31 2020-05-19 中国银行股份有限公司 APP service data calling method and device
CN111488543A (en) * 2019-01-29 2020-08-04 上海哔哩哔哩科技有限公司 Webpage output method, system and storage medium based on server-side rendering
CN111723321A (en) * 2019-03-22 2020-09-29 阿里巴巴集团控股有限公司 Page request method, device and storage medium
CN111984890A (en) * 2020-07-03 2020-11-24 北京字节跳动网络技术有限公司 Display information generation method, device, medium and electronic equipment
CN112070591A (en) * 2020-09-15 2020-12-11 政采云有限公司 Page display method and device
CN112149017A (en) * 2020-09-14 2020-12-29 京东数字科技控股股份有限公司 Webpage access method, device and system, electronic equipment and storage medium
CN112836152A (en) * 2019-11-22 2021-05-25 上海哔哩哔哩科技有限公司 Page rendering method, system, computer device and computer readable storage medium
CN113672323A (en) * 2021-08-03 2021-11-19 北京三快在线科技有限公司 Page display method and device
CN113760253A (en) * 2021-01-08 2021-12-07 北京沃东天骏信息技术有限公司 Front-end rendering method, apparatus, device, medium, and program product
WO2022268191A1 (en) * 2021-06-25 2022-12-29 贵州白山云科技股份有限公司 Page loading method and apparatus, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982113A (en) * 2012-11-08 2013-03-20 山东大学 Page loading method for browser based on content grouping of Android system
US20130268843A1 (en) * 2010-12-03 2013-10-10 Tencent Technology (Shenzhen) Company Limited Method, Apparatus And System For Rendering Web Page
CN106227742A (en) * 2016-07-12 2016-12-14 乐视控股(北京)有限公司 Dynamic web page based on B/S pattern generates method, server and system
CN106294594A (en) * 2016-07-29 2017-01-04 东软集团股份有限公司 Page rendering method and device
CN106776761A (en) * 2016-11-18 2017-05-31 武汉斗鱼网络科技有限公司 A kind of mobile browser renders the method and device of webpage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130268843A1 (en) * 2010-12-03 2013-10-10 Tencent Technology (Shenzhen) Company Limited Method, Apparatus And System For Rendering Web Page
CN102982113A (en) * 2012-11-08 2013-03-20 山东大学 Page loading method for browser based on content grouping of Android system
CN106227742A (en) * 2016-07-12 2016-12-14 乐视控股(北京)有限公司 Dynamic web page based on B/S pattern generates method, server and system
CN106294594A (en) * 2016-07-29 2017-01-04 东软集团股份有限公司 Page rendering method and device
CN106776761A (en) * 2016-11-18 2017-05-31 武汉斗鱼网络科技有限公司 A kind of mobile browser renders the method and device of webpage

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488543B (en) * 2019-01-29 2023-09-15 上海哔哩哔哩科技有限公司 Webpage output method, system and storage medium based on server side rendering
CN111488543A (en) * 2019-01-29 2020-08-04 上海哔哩哔哩科技有限公司 Webpage output method, system and storage medium based on server-side rendering
CN109902247A (en) * 2019-02-14 2019-06-18 北京奇艺世纪科技有限公司 A kind of method, apparatus and electronic equipment of page rendering
CN109902247B (en) * 2019-02-14 2021-04-16 北京奇艺世纪科技有限公司 Page rendering method and device and electronic equipment
CN111723321A (en) * 2019-03-22 2020-09-29 阿里巴巴集团控股有限公司 Page request method, device and storage medium
CN112836152A (en) * 2019-11-22 2021-05-25 上海哔哩哔哩科技有限公司 Page rendering method, system, computer device and computer readable storage medium
CN112836152B (en) * 2019-11-22 2023-03-10 上海哔哩哔哩科技有限公司 Page rendering method, system, computer device and computer readable storage medium
CN111046309A (en) * 2019-12-11 2020-04-21 政采云有限公司 Page view rendering method, device and equipment and readable storage medium
CN111176864A (en) * 2019-12-31 2020-05-19 中国银行股份有限公司 APP service data calling method and device
CN111176864B (en) * 2019-12-31 2023-09-19 中国银行股份有限公司 APP service data calling method and device
CN111984890A (en) * 2020-07-03 2020-11-24 北京字节跳动网络技术有限公司 Display information generation method, device, medium and electronic equipment
CN112149017A (en) * 2020-09-14 2020-12-29 京东数字科技控股股份有限公司 Webpage access method, device and system, electronic equipment and storage medium
CN112070591A (en) * 2020-09-15 2020-12-11 政采云有限公司 Page display method and device
CN113760253A (en) * 2021-01-08 2021-12-07 北京沃东天骏信息技术有限公司 Front-end rendering method, apparatus, device, medium, and program product
WO2022268191A1 (en) * 2021-06-25 2022-12-29 贵州白山云科技股份有限公司 Page loading method and apparatus, electronic device, and storage medium
CN113672323A (en) * 2021-08-03 2021-11-19 北京三快在线科技有限公司 Page display method and device

Also Published As

Publication number Publication date
CN109241471B (en) 2020-09-29

Similar Documents

Publication Publication Date Title
CN109241471A (en) Page rendering method, server, browser and exploitation for energy information management system
CN102281311B (en) Method, system and device for implementing network service based on open application programming interface
CN103634301B (en) The method of the private data of user's storage in client and access server thereof
US9887990B2 (en) Protection of application passwords using a secure proxy
US20170371508A1 (en) Menu management method, server, and system
EP4120109A1 (en) Cluster access method and apparatus, electronic device, and medium
CN103455749B (en) Cooperative system, its collaboration method and information processing system
CN109635550B (en) Permission verification method, gateway and system for cluster data
JP2014523669A (en) Web browser-based desktop and application remote solution
US10491540B2 (en) Method of and system for managing a federation of cloud computing resources
CN106464497A (en) Methods and systems of issuing, transmitting and managing tokens using a low-latency session syndication framework
WO2023005163A1 (en) Method for loading application page, storage medium and related device thereof
CN105549972A (en) Unified authentication protocol-based mvc frame structure and running method thereof
CN105095220B (en) A kind of browser implementation method, terminal and virtualization agent device
CN110909290B (en) Method and system for combining multiple systems into large single-page application
CN103544320A (en) Webpage generation method and device
CN111241504B (en) Identity verification method, device, electronic equipment and storage medium
CN112929378A (en) Cross-domain single-point login service saving and acquiring method, system, device and medium
CN104052602A (en) Prevention of password leakage with single sign on in conjunction with command line interfaces
CN113055348A (en) Cross-platform data request method and device and electronic equipment
CN103457980B (en) Terminal unit data acquisition methods
US20240193249A1 (en) Method of processing cross-domain authorization and method of processing cross-domain call
US11570182B1 (en) Compute-less authorization
CN103885988A (en) Method and device for outputting content and content outputting system
CN110909081A (en) Back-end data fusion rendering service method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant