CN108093004A - The method for pushing and device of figure in report - Google Patents

The method for pushing and device of figure in report Download PDF

Info

Publication number
CN108093004A
CN108093004A CN201611031763.8A CN201611031763A CN108093004A CN 108093004 A CN108093004 A CN 108093004A CN 201611031763 A CN201611031763 A CN 201611031763A CN 108093004 A CN108093004 A CN 108093004A
Authority
CN
China
Prior art keywords
push
report
mail
queue
pushed
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
CN201611031763.8A
Other languages
Chinese (zh)
Other versions
CN108093004B (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.)
SHENZHEN CHUANGMENG TIANDI TECHNOLOGY CO LTD
Original Assignee
SHENZHEN CHUANGMENG TIANDI TECHNOLOGY CO LTD
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 SHENZHEN CHUANGMENG TIANDI TECHNOLOGY CO LTD filed Critical SHENZHEN CHUANGMENG TIANDI TECHNOLOGY CO LTD
Priority to CN201611031763.8A priority Critical patent/CN108093004B/en
Publication of CN108093004A publication Critical patent/CN108093004A/en
Application granted granted Critical
Publication of CN108093004B publication Critical patent/CN108093004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This disclosure relates in a kind of report figure method for pushing and device, the described method includes:Push server carries out push task detection in set of tasks is pushed;When detecting push task, carry current environment by extracting the corresponding first URL addresses of report in the push task, and according to the first URL address creations IFRAME frames corresponding with the push task, in the IFRAME frames and identify;If the current environment mark instruction current environment is simulated environment, figure conversion process is carried out to all figures included in the IFRAME frames, to generate graph data;Figure render request is initiated to file server by the graph data, and receives the graphics queue that the file server returns;The push of figure in report is carried out according to the graphics queue.The accuracy that figure pushes in report can be effectively improved using the disclosure.

Description

The method for pushing and device of figure in report
Technical field
This disclosure relates in Computer Applied Technology field more particularly to a kind of report figure method for pushing and device.
Background technology
As shown in Figure 1, the push process of figure generally comprises in existing report:Push server is detecting push times During business, by the parameters that figure in report is obtained in push task;According to parameters by pulling report in file server In relevant graph data, and pass through and the shape library of push server itself called to carry out figure to the graph data render generation Figure;The push of figure in report is carried out according to the figure.
From the foregoing, it will be observed that the figure in report is formed in file server, and the figure actually pushed is then to push away Send what is generated in server, if it cannot be guaranteed that the shape library in push server is consistent with the shape library in file server, The figure in report and the figure actually pushed difference will be caused, and causes figure push in report not accurate enough, into And cause poor user experience.
The content of the invention
Based on this, a method for pushing for being designed to provide figure in a kind of report of the disclosure is existing for solving The problem of accuracy that figure pushes in report in technology is not high.
In addition, pusher of the another object of the present disclosure in the figure in a kind of report is provided, existing for solving The problem of accuracy that figure pushes in report in technology is not high.
In order to solve the above-mentioned technical problem, technical solution is used by the disclosure:
The method for pushing of figure in a kind of report, including:Push server carries out push task detection in set of tasks is pushed; When detecting push task, by extracting the corresponding first URL addresses of report in the push task, and according to described first URL address creations IFRAME frames corresponding with the push task carry current environment mark in the IFRAME frames;If The current environment mark instruction current environment is simulated environment, then all figures included in the IFRAME frames is carried out Figure conversion process, to generate graph data;Figure render request is initiated to file server by the graph data, and is connect Receive the graphics queue that the file server returns;The push of figure in report is carried out according to the graphics queue.
Further, the method further includes:By the calling simulation browser service of Webkit kernels, so that described work as Preceding environment enters simulated environment;Wherein, the IFRAME frames are created in the page framework of the browser service.
Further, before described the step of receiving the graphics queue that the file server returns, the method is also wrapped It includes:The file server receives the figure render request, and the graph data is carried in the figure render request;Pass through Shape library is called to carry out figure to the graph data to render, generates graphics queue;The graphics queue is sent to the push Server.
Further, described the step of carrying out the push of figure in report according to the graphics queue, includes:Pass through traversal The 2nd URL addresses included in the graphics queue obtain the corresponding figure in the 2nd URL addresses;Described in getting Figure is sent to mail push service, to carry out the push of the figure by the mail push service.
Further, the described the step of figure got is sent to mail push service, includes:According to acquisition The graphic hotsopt Mail Contents arrived;The Mail Contents, mail header, mail reception address generation mail are packaged, and will The mail is sent to the mail push service.
The pusher of figure, described device include in a kind of report:Task detection module is pushing away for push server It send and push task detection is carried out in set of tasks;Frame creation module, for when detecting push task, being appointed by the push The corresponding first URL addresses of report are extracted in business, and it is corresponding with the push task according to the first URL address creations IFRAME frames carry current environment mark in the IFRAME frames;Pattern process module, if for the current environment mark It is simulated environment to know instruction current environment, then carries out figure conversion process to all figures included in the IFRAME frames, To generate graph data;Queue receiving module initiates figure render request for passing through the graph data to file server, And receive the graphics queue that the file server returns;Figure pushing module, for carrying out report according to the graphics queue The push of middle figure.
Further, described device further includes:Kernel starting module, for passing through the calling of Webkit kernels simulation browsing Device service, so that the current environment enters simulated environment;Wherein, the IFRAME frames are created in the browser service In page framework.
Further, described device further includes:Request receiving module receives the figure wash with watercolours for the file server Dye is asked, and the graph data is carried in the figure render request;Queue generation module calls shape library to institute for passing through It states graph data progress figure to render, generates graphics queue;Queue sending module pushes away for sending the graphics queue to described Send server.
Further, the figure pushing module includes:Figure acquiring unit is traveled through for passing through in the graphics queue Comprising the 2nd URL addresses, obtain the corresponding figure in the 2nd URL addresses;Figure transmitting element, for the institute that will be got It states figure and is sent to mail push service, to carry out the push of the figure by the mail push service.
Further, the figure transmitting element includes:Mail Contents acquiring unit, for according to the figure got Shape generates Mail Contents;Mail generation unit, for being packaged the Mail Contents, mail header, the generation postal of mail reception address Part, and the mail is sent to the mail push service.
Compared with prior art, the disclosure has the advantages that:
Figure is carried out to graph data by the shape library for calling file server itself and renders generation graphics queue, with according to figure Shape queue carries out the push of figure in report.Wherein, graph data is the institute to being included in IFRAME frames in simulated environment There is figure to carry out figure conversion process generation, and IFRAME frames are then according to entrained by push task in push set of tasks Report corresponding first URL address creations.
That is, the figure in report is generated with the figure actually pushed in file server, kept away with this Exempt to occur the figure in report in the prior art and the figure actually pushed difference the phenomenon that, so as to be effectively improved report The accuracy that figure pushes in table, improves user experience.
It should be appreciated that above general description and following detailed description are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and in specification together for explaining the principle of the disclosure.
Fig. 1 is the schematic diagram of the push process of figure in report involved by the prior art;
Fig. 2 is the schematic diagram according to the implementation environment involved by the disclosure;
Fig. 3 is the block diagram according to a kind of server shown in an exemplary embodiment;
Fig. 4 is the flow chart according to the method for pushing of figure in a kind of report shown in an exemplary embodiment;
Fig. 5 is that Fig. 4 is corresponded in embodiment according to the push step of figure in graphics queue progress report in one embodiment Flow chart;
Fig. 6 is that Fig. 5 is corresponded in embodiment the figure got being sent to mail push service step in one embodiment Flow chart;
Fig. 7 is the flow chart according to the method for pushing of figure in another report shown in an exemplary embodiment;
Fig. 8 is a kind of specific implementation schematic diagram of the method for pushing of figure in report in an application scenarios;
Fig. 9 is the block diagram according to the pusher of figure in a kind of report shown in an exemplary embodiment;
Figure 10 is the block diagram according to the pusher of figure in another report shown in an exemplary embodiment.
Pass through above-mentioned attached drawing, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail, these attached drawings The scope for limiting the disclosure by any mode and conceiving is not intended to word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here explanation will be performed to exemplary embodiment in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 2 is the implementation environment involved by the method for pushing of figure in a kind of report.The implementation environment includes at least two Platform server 100, the server 100 include push server 101 and file server 103.
Wherein, push server 101 is responsible for the displaying, interception and push of figure in report, and file server 103 is responsible for report The calling of the storage of figure and shape library in table.
By the interaction of push server 101 and file server 103, the push of figure in report is realized, for example, described Push can be carried out by lettergram mode.
Fig. 3 is the block diagram according to a kind of server shown in an exemplary embodiment.The hardware configuration is one suitable With the example of the disclosure, it is impossible to be considered any restrictions to the use scope of the disclosure, disclosure needs can not be construed to Dependent on the server 100.
The server 100 can generate larger difference due to the difference of configuration or performance, as shown in figure 3, server 100 include:Power supply 110, at least interface 130, a storage medium 150 and an at least central processing unit(CPU, Central Processing Units)170.
Wherein, power supply 110 is used to provide operating voltage for each hardware device on server 100.
Interface 130 includes an at least wired or wireless network interface 131, at least a string and translation interface 133, at least one defeated Enter output interface 135 and at least usb 1 37 etc., be used for and external device communication.
The carrier that storage medium 150 is stored as resource, can be random storage medium, disk or CD etc., thereon The resource stored includes operating system 151, application program 153 and data 155 etc., storage mode can be of short duration storage or It permanently stores.Wherein, operating system 151 is used to managing and controlling each hardware device and the application program on server 100 153, can be Windows ServerTM, Mac to realize calculating and processing of the central processing unit 170 to mass data 155 OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..Application program 153 is to be based on completing at least one on operating system 151 The computer program of item particular job, can include an at least module(Diagram is not shown), each module can wrap respectively Contain the sequence of operations instruction to server 100.Data 155 can be stored in file in disk, picture etc..
Central processing unit 170 can include processor more than one or more, and be arranged to be situated between by bus and storage Matter 150 communicates, for computing and the mass data 155 in processing storage medium 150.
As described in detail above, the server 100 for being applicable in the disclosure will carry out the push of figure in report, that is, pass through Central processing unit 170 reads the push that the form that the sequence of operations stored in storage medium 150 instructs realizes figure in report.
In addition, also can equally realize the disclosure by hardware circuit or hardware circuit combination software instruction, therefore, realize The disclosure is not limited to the combination of any specific hardware circuit, software and the two.
Referring to Fig. 4, in one exemplary embodiment, the method for pushing of figure is suitable for real shown in Fig. 2 in a kind of report Apply the push server 101 of environment, the method for pushing of figure can be performed by push server 101 in this kind of report, can be wrapped Include following steps:
Step 310, push server carries out push task detection in set of tasks is pushed.
Wherein, push task is according to the report generation stored in file server.
Specifically, when needing the report pushed in file server, i.e., initiate to treat push request to push server, This treats the relevant information that report to be pushed is carried in push request, for example, relevant information can be that report institute to be pushed is right The URL answered(Uniform Resource Locator, uniform resource locator)Address can also be and scheme in report to be pushed The parameters of shape.
Push server is after receiving this and treating push request, you can treats that push request responds to this, with basis The relevant information generation push task of report to be pushed, and the push task is stored to push set of tasks.
Further, push set of tasks can be the form of message queue, can also be the form of database table.
For example, push set of tasks is message queue, which externally provides writing for write-in push task when creating Incoming interface, while the reading interface for reading push task is externally provided.
When message queue is not sky, that is, pushes task by writing interface write-in message queue, push server Detect the push task being stored in message queue.
Wherein, pushing the detection of task can carry out in real time, can also periodically carry out, the place of push server is improved with this Manage efficiency.
Step 330, when detecting push task, by extracting the corresponding first URL addresses of report, and root in push task According to the first URL address creations IFRAME frames corresponding with push task.
As previously mentioned, push task is according to the report generation stored in file server, specifically, push task is It is generated according to the relevant information of report to be pushed, for example, relevant information can be URL corresponding to report to be pushed Location can also be the parameters of figure in report to be pushed.
In the present embodiment, in order to ensure the accuracy of graph data, the accuracy that figure pushes in report is improved with this, is pushed away It is not the parameters according to figure in report to be pushed by directly pulling relevant figure in file server to send server Graphic data, but the URL addresses according to corresponding to report to be pushed are by obtaining report to be pushed in file server.
Correspondingly, push task is generated according to the corresponding URL addresses of report to be pushed.
Based on this, when push server detects push task, you can obtained by extraction in push task to be pushed URL addresses corresponding to report, so that push server can be according to the URL addresses by being got in file server pair The report to be pushed answered.
After report to be pushed is got in push server, i.e., the figure in report to be pushed to this is shown And interception.
Further, the displaying and interception are completed in IFRAME frames.
More preferably, in one exemplary embodiment, IFRAME frames are created in the page framework of browser service.This is clear Device service of looking at is the calling simulation generation by Webkit kernels.
Wherein, for push server after simulation browser service, the current environment run enters analog loop In border, in favor of subsequently carrying out the push of figure in report.Correspondingly, current environment mark is carried in IFRAME frames, is deserved Preceding environmental labels are used to indicate whether the current environment that push server is run is simulated environment.
After IFRAME frames corresponding with push task create completion, push server can get IFRAME frames All figures included in frame, all figures are by showing the figure in be truncated to report.
Step 350, if current environment mark instruction current environment is simulated environment, to the institute included in IFRAME frames There is figure to carry out figure conversion process, to generate graph data.
If current environment mark instruction current environment is simulated environment, that is, represent the current environment that push server is run It enters in simulated environment, at this point, push server will carry out figure conversion to all figures included in IFRAME frames Processing generates graph data.
That is, graph data be in push server according in the report that is truncated to graphic hotsopt rather than Directly by what is pulled in file server, the accuracy of graph data is ensure that with this, is conducive to subsequently improve figure in report The accuracy of push.
Step 370, figure render request is initiated to file server by graph data, and receives file server return Graphics queue.
In order to avoid being caused due to the shape library in push server is consistent with the shape library in file server in report Figure and the figure that actually pushes difference, in the present embodiment, after graph data generate, push server will generation Graph data be sent to file server, with by file server to the graph data carry out figure render, to ensure to report The uniformity of figure and the figure actually pushed in table.
Specifically, push server generates figure render request, i.e., by way of data carrying according to graph data Graph data is carried in figure render request, and the figure render request is sent to file server.
File server obtains figure after the figure render request is received by being extracted in the figure render request Data, and pass through and the shape library of itself is called to render graph data progress figure, image queue is generated, and is back to push Server, to carry out the push of figure in report according to the graphics queue by push server.
Wherein, graphics queue includes the relevant information of figure to be pushed, for example, the relevant information can be figure to be pushed Corresponding URL addresses.
Step 390, the push of figure in report is carried out according to graphics queue.
Push server is after the graphics queue of file server return is received, you can is included according in graphics queue The relevant information of figure to be pushed get figure to be pushed, and then realize the push for treating push figure.
By it is described be pushed through lettergram mode carry out exemplified by, in one exemplary embodiment, graphics queue include wait to push The corresponding URL addresses of figure.
Correspondingly, as shown in figure 5, step 390 may comprise steps of:
Step 391, by traveling through the 2nd URL addresses included in graphics queue, obtain that the 2nd URL addresses are corresponding to treat push figure Shape.
Step 393, the figure to be pushed got is sent to mail push service, to be carried out by mail push service The push of figure to be pushed.
As shown in fig. 6, step 393 can further comprise the following steps:
Step 3931, according to the graphic hotsopt Mail Contents to be pushed got.
Step 3933, Mail Contents, mail header, mail reception address generation mail are packaged, and mail is sent to postal Part Push Service.
Wherein, mail transmission can be sent immediately after generating mail, can also be by the way that timer is set to be timed hair It send.
So far, push server is to complete the function of pushing figure to be pushed with lettergram mode.
By process as described above, the uniformity of actually figure to be pushed and figure in report ensure that, with this effectively Ground improves the accuracy that figure pushes in report, improves user experience.
Further, since carry out rendering for graph data, the figure in push server using the shape library in file server Shape storehouse may not necessarily additionally be safeguarded, significantly reduce maintenance cost, be conducive to improve the development efficiency of developer.
Referring to Fig. 7, in one exemplary embodiment, the method for pushing of figure is suitable for real shown in Fig. 2 in a kind of report Apply the file server 103 of environment, the method for pushing of figure can be performed by file server 103 in this kind of report, can be wrapped Include following steps:
Step 410, file server receives the figure render request that push server is initiated, and figure is carried in figure render request Data.
Wherein, graph data is that all figures included in IFRAME frames are carried out at figure conversion in simulated environment Reason generation.IFRAME frames are then the push task creations in push set of tasks.
Step 430, rendered by the way that shape library is called to carry out figure to graph data, generate graphics queue.
Step 450, graphics queue is sent to push server, so that push server is carried out according to graphics queue in report The push of figure.
Fig. 8 is a kind of specific implementation schematic diagram of the method for pushing of figure in report in an application scenarios, in conjunction with Fig. 8 institutes The method for pushing of figure in report in each embodiment of the disclosure is described in the concrete application scene shown.
Push server is timed detection by performing step 601, to the push task in push set of tasks.
When detecting push task, by performing step 603, the page framework in the browser service of simulation creates IFRAME frames, and pass through IFRAME frames and the figure in report is shown and intercepted.
All figures included in IFRAME frames are got, you can graph data is generated by figure conversion process, And step 605 is performed by file server, carrying out figure to the graph data renders generation graphics queue.
Push server, that is, by performing step 607, calls mail push service pair after the graphics queue is received The picture to be pushed corresponding to URL addresses included in the graphics queue is timed push.
In the application scenarios, the mail timing push function of figure in report is realized, is effectively improved in report The accuracy of figure push, improves user experience.
Following is embodiment of the present disclosure, can be used for the push side for performing figure in the report involved by the disclosure Method.For the details not disclosed in embodiment of the present disclosure, the push side of figure in the report involved by the disclosure refer to Method embodiment.
Referring to Fig. 9, in one exemplary embodiment, the pusher 700 of figure is applied to push clothes in a kind of report Business device, includes but not limited to:Task detection module 710, frame creation module 730, pattern process module 750, queue receive mould Block 770 and figure pushing module 790.
Wherein, task detection module 710 carries out push task detection for push server in set of tasks is pushed.
Frame creation module 730 is used for when detecting push task, by extracting report corresponding first in push task URL addresses, and according to the first URL address creations IFRAME frames corresponding with push task.It is carried in IFRAME frames current Environmental labels.
If pattern process module 750 is simulated environment for current environment mark instruction current environment, to IFRAME frames All figures included in frame carry out figure conversion process, to generate graph data.
Queue receiving module 770 and receives file in initiating figure render request to file server by graph data The graphics queue that server returns.Graphics queue is that file server is rendered by the way that shape library is called to carry out figure to graph data Generation.
Figure pushing module 790 is used to carry out the push of figure in report according to graphics queue.
Referring to Fig. 10, in one exemplary embodiment, the pusher 800 of figure in a kind of report, applied to file Server includes but not limited to:Request receiving module 810, queue generation module 830 and queue sending module 850.
Wherein, request receiving module 810 receives the figure render request of push server initiation, figure for file server Graph data is carried in shape render request.Graph data be in simulated environment to all figures for being included in IFRAME frames into The generation of row figure conversion process.IFRAME frames are then the push task creations in push set of tasks.
Queue generation module 830 is used to render by the way that shape library is called to carry out figure to graph data, generates graphics queue.
Queue sending module 850 is for sending graphics queue to push server, so that push server is according to figure team Row carry out the push of figure in report.
It should be noted that the pusher of figure figure in report is carried out in the report that above-described embodiment is provided It, can be as needed and by above-mentioned work(only with the division progress of above-mentioned each function module for example, in practical application during push It can distribute and be completed by different function modules, i.e., the internal structure of the pusher of figure will be divided into different functions in report Module, to complete all or part of function described above.
In addition, in the report that above-described embodiment is provided in the pusher and report of figure the method for pushing of figure reality It applies example and belongs to same design, wherein modules perform the concrete mode operated and carried out retouching in detail in embodiment of the method It states, details are not described herein again.
The preferable examples embodiment of the above, the only disclosure, the embodiment for being not intended to limit the disclosure, this Field those of ordinary skill can very easily carry out corresponding flexible or repair according to the central scope and spirit of the disclosure Change, therefore the protection domain of the disclosure should be subject to the protection domain required by claims.

Claims (10)

1. a kind of method for pushing of figure in report, which is characterized in that including:
Push server carries out push task detection in set of tasks is pushed;
When detecting push task, by extracting the corresponding first URL addresses of report in the push task, and according to described the One URL address creations IFRAME frames corresponding with the push task carry current environment mark in the IFRAME frames;
If the current environment mark instruction current environment is simulated environment, to all figures included in the IFRAME frames Shape carries out figure conversion process, to generate graph data;
Figure render request is initiated to file server by the graph data, and receives the figure that the file server returns Shape queue;
The push of figure in report is carried out according to the graphics queue.
2. the method as described in claim 1, which is characterized in that the method further includes:
By the calling simulation browser service of Webkit kernels, so that the current environment enters simulated environment;
Wherein, the IFRAME frames are created in the page framework of the browser service.
3. the method as described in claim 1, which is characterized in that the graphics queue for receiving the file server and returning Before step, the method further includes:
The file server receives the figure render request, and the graph data is carried in the figure render request;
It is rendered by the way that shape library is called to carry out figure to the graph data, generates graphics queue;
The graphics queue is sent to the push server.
4. the method as described in claim 1, which is characterized in that figure pushes away in the progress report according to the graphics queue The step of sending includes:
By traveling through the 2nd URL addresses included in the graphics queue, acquisition the 2nd URL addresses are corresponding to treat push figure Shape;
Figure to be pushed is sent to mail push service described in getting, described in being carried out by the mail push service The push of figure to be pushed.
5. method as claimed in claim 4, which is characterized in that it is described will get described in figure to be pushed be sent to mail The step of Push Service, includes:
The graphic hotsopt Mail Contents to be pushed according to getting;
The Mail Contents, mail header, mail reception address generation mail are packaged, and the mail is sent to the mail Push Service.
6. the pusher of figure in a kind of report, which is characterized in that described device includes:
Task detection module carries out push task detection for push server in set of tasks is pushed;
Frame creation module, for when detecting push task, by extracting corresponding first URL of report in the push task Address, and according to the first URL address creations IFRAME frames corresponding with the push task, in the IFRAME frames Carry current environment mark;
Pattern process module, if it is simulated environment to identify instruction current environment for the current environment, to the IFRAME All figures included in frame carry out figure conversion process, to generate graph data;
Queue receiving module initiates figure render request for passing through the graph data to file server, and described in reception The graphics queue that file server returns;
Figure pushing module, for carrying out the push of figure in report according to the graphics queue.
7. device as claimed in claim 6, which is characterized in that described device further includes:
Kernel starting module, for passing through the calling simulation browser service of Webkit kernels, so that the current environment enters Simulated environment;
Wherein, the IFRAME frames are created in the page framework of the browser service.
8. device as claimed in claim 6, which is characterized in that described device further includes:
Request receiving module receives the figure render request for the file server, is taken in the figure render request With the graph data;
Queue generation module calls shape library to render graph data progress figure, generates graphics queue for passing through;
Queue sending module, for sending the graphics queue to the push server.
9. device as claimed in claim 6, which is characterized in that the figure pushing module includes:
Figure acquiring unit for passing through the 2nd URL addresses for traveling through and being included in the graphics queue, obtains the 2nd URL The corresponding figure to be pushed in address;
Figure transmitting element is sent to mail push service, to pass through the postal for figure to be pushed described in getting The push of figure to be pushed described in the progress of part Push Service.
10. device as claimed in claim 9, which is characterized in that the figure transmitting element includes:
Mail Contents acquiring unit, for the graphic hotsopt Mail Contents to be pushed according to getting;
Mail generation unit, for being packaged the Mail Contents, mail header, mail reception address generation mail, and by described in Mail is sent to the mail push service.
CN201611031763.8A 2016-11-22 2016-11-22 Method and device for pushing graphs in report Active CN108093004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611031763.8A CN108093004B (en) 2016-11-22 2016-11-22 Method and device for pushing graphs in report

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611031763.8A CN108093004B (en) 2016-11-22 2016-11-22 Method and device for pushing graphs in report

Publications (2)

Publication Number Publication Date
CN108093004A true CN108093004A (en) 2018-05-29
CN108093004B CN108093004B (en) 2020-06-30

Family

ID=62169746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611031763.8A Active CN108093004B (en) 2016-11-22 2016-11-22 Method and device for pushing graphs in report

Country Status (1)

Country Link
CN (1) CN108093004B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997886A (en) * 2009-08-20 2011-03-30 北京同步科技有限公司 Information issuing system and method
CN103092622A (en) * 2013-01-23 2013-05-08 浪潮齐鲁软件产业有限公司 Intelligent report form and information desktop push tool
CN104317595A (en) * 2014-10-28 2015-01-28 艾普工华科技(武汉)有限公司 Background-push component-based graphical monitoring device based on SVG (scalable vector graphics) and operating method thereof
CN104714982A (en) * 2013-12-17 2015-06-17 阿里巴巴集团控股有限公司 Method and system for loading webpage
US9491131B1 (en) * 2012-02-13 2016-11-08 Urban Airship, Inc. Push composer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997886A (en) * 2009-08-20 2011-03-30 北京同步科技有限公司 Information issuing system and method
US9491131B1 (en) * 2012-02-13 2016-11-08 Urban Airship, Inc. Push composer
CN103092622A (en) * 2013-01-23 2013-05-08 浪潮齐鲁软件产业有限公司 Intelligent report form and information desktop push tool
CN104714982A (en) * 2013-12-17 2015-06-17 阿里巴巴集团控股有限公司 Method and system for loading webpage
CN104317595A (en) * 2014-10-28 2015-01-28 艾普工华科技(武汉)有限公司 Background-push component-based graphical monitoring device based on SVG (scalable vector graphics) and operating method thereof

Also Published As

Publication number Publication date
CN108093004B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN108848092B (en) Method and device for processing micro-service gray release based on call chain
CN106022483B (en) The method and apparatus converted between machine learning model
CN108563517B (en) Calling method and device of system interface
CN105357323B (en) HTML5 page adjustment method and device in a kind of APP
CN103713891B (en) It is a kind of to carry out the method and apparatus that figure renders on the mobile apparatus
CN107066631A (en) Display methods, device and the electronic equipment of the page
CN105338358B (en) The method and device that image is decoded
CN109388766A (en) The method and apparatus of page load
CN110908712A (en) Data processing method and equipment for cross-platform mobile terminal
CN113722020B (en) Interface calling method, device and computer readable storage medium
CN107547484A (en) Message obtains, method, equipment and the system of push
CN102073536A (en) Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
CN114253557B (en) Cloud platform application deployment method and device, electronic equipment and storage medium
CN103581987B (en) The test method and device of the page download speed of mobile terminal device
CN109582317B (en) Method and apparatus for debugging hosted applications
JP2016540333A (en) Terminal marking method, terminal marking device, program, and recording medium
CN113127361B (en) Application development method and device, electronic equipment and storage medium
CN111857658A (en) Method, device, medium and electronic equipment for rendering dynamic component
CN111666199B (en) Debugging method executed on intelligent terminal and software debugger
CN107766307A (en) A kind of method and apparatus of Form Element linkage
CN114218052A (en) Service interaction graph generation method, device, equipment and storage medium
CN113055348B (en) Cross-platform data request method and device and electronic equipment
Pandey et al. An automation framework for benchmarking and optimizing performance of remote desktops in the cloud
CN108093004A (en) The method for pushing and device of figure in report
CN115794386A (en) Resource calling method and device of virtual machine and 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
GR01 Patent grant
GR01 Patent grant