CN104536758A - Graph generating method and device - Google Patents

Graph generating method and device Download PDF

Info

Publication number
CN104536758A
CN104536758A CN201410849364.7A CN201410849364A CN104536758A CN 104536758 A CN104536758 A CN 104536758A CN 201410849364 A CN201410849364 A CN 201410849364A CN 104536758 A CN104536758 A CN 104536758A
Authority
CN
China
Prior art keywords
program
data
graph
data source
user
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
CN201410849364.7A
Other languages
Chinese (zh)
Other versions
CN104536758B (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201410849364.7A priority Critical patent/CN104536758B/en
Publication of CN104536758A publication Critical patent/CN104536758A/en
Application granted granted Critical
Publication of CN104536758B publication Critical patent/CN104536758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a graph generating method and device which are applied to a server. The graph generating method comprises the steps that graph configuration information and a data source input by a user are received, a graph reference library procedure, a graph effect procedure and a graph data procedure which are used in the graph generating process are determined according to the graph configuration information, the graph reference library procedure, the graph effect procedure and the graph data procedure which are already determined are integrated to obtain a graph template procedure, a data collection procedure corresponding to features of the data source input by the user is invoked to collect the data source, the collected data are mapped into the obtained graph template procedure, and the graph template procedure containing the collected data is executed to generate a graph corresponding to the data source. Compared with the prior art, the graph generating method and device shorten secondary development time of developers, save the development cost, enable a graph generating system to be simply transplanted, and improve user experience.

Description

A kind of image generation method and device
Technical field
The embodiment of the present invention relates to terminal applies field, particularly a kind of image generation method and device.
Background technology
Along with the increase of present large data, how to know that presenting these large data easily becomes a problem demanding prompt solution.The form of these large data figures usually presents by user, can be reflected the change of large data by the change of figure clearly.JS drawing plug-in unit is a kind of conventional drawing instrument, but its performance history is but very complicated.
The exploitation of existing JS drawing plug-in unit configures according to drawing template, data source configures, whole template writes rear for user by thinking data source be mapped in drawing template, in this process, developer needs the function learning multiple different JS drawing plug-in unit, due to user cannot be predicted, the configuration of figure is selected, therefore the whole template write in advance often can not agree with the demand of user, for the individual needs of user, sometimes developer just needs again to write whole template, therefore cost of development is higher, and template cannot simple and easyly be transplanted, not reusable.
In sum, how under the prerequisite reducing cost of development, can ensure that again the object realizing simple and easy transplanting becomes a problem demanding prompt solution.
Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses a kind of image generation method and device, realize the object of simple and easy transplanting with lower cost of development.Technical scheme is as follows:
First aspect, a kind of image generation method that the embodiment of the present invention provides, is applied to server, can comprises:
Receive figure configuration information and the data source of user's input;
The figure reference library program of use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program, wherein, described figure reference library program, graphical effect program and graph data program are pre-stored within server;
Determined figure reference library program, graphical effect program and graph data program are integrated, obtains graphics template program;
Call the data acquisition program corresponding with the feature of the data source that user inputs to gather described data source, wherein, described data acquisition program is pre-stored within server;
By collected data-mapping in obtained graphics template program;
Perform the graphics template program of carrying the data collected to some extent, generate and described data source graph of a correspondence.
Optionally, the figure reference library program of described use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program, comprising:
When not storing the described figure configuration information graph of a correspondence template program inputted with user in described server, the figure reference library program of use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program.
Optionally, described by determined figure reference library program, graphical effect program and graph data journey
Sequence is integrated, and after obtaining graphics template program, also comprises:
Detect described graphics template program and whether there is mistake, if the mistake of not detecting, then perform the step called the data acquisition program corresponding with the feature of the data source that user inputs and described data source is gathered; If the mistake of detecting, then output error information warning, modifies to described graphics template program according to described wrong information warning to make described user;
If the mistake of detecting, then described by collected data-mapping to the step in obtained graphics template program, comprising:
By collected data-mapping in amended graphics template program.
Optionally, also comprise: generated figure is shown in the mode of preview graph.
Optionally, described in call the data acquisition program corresponding with the feature of the data source that user inputs described data source gathered, comprising:
Determine the feature of the data source that user inputs;
The data acquisition program corresponding with the feature of the data source that described user inputs is searched in described server;
Call described data acquisition program to gather described data source.
Second aspect, the embodiment of the present invention additionally provides a kind of graphic hotsopt device, is applied to server, can comprise:
Information receiving unit, for receiving figure configuration information and the data source of user's input;
Program determining unit, the figure reference library program of use when the described figure configuration information for receiving according to described information receiving unit is determined to carry out graphic hotsopt, graphical effect program and graph data program, wherein, described figure reference library program, graphical effect program and graph data program are pre-stored within server;
Template obtains unit, integrates, obtain graphics template program for figure reference library program, graphical effect program and the graph data program described program determining unit determined;
Data acquisition unit, the corresponding data acquisition program of the feature for calling the described data source received with described information receiving unit gathers described data source, and wherein, described data acquisition program is pre-stored within server;
Data mapping unit, obtains in the graphics template program that unit obtains for the data-mapping that collected by described data acquisition unit to described template;
Graphics generation unit, for performing the graphics template program of carrying the data collected to some extent, generates and described data source graph of a correspondence.
Optionally, described program determining unit, specifically for:
When not storing the described figure configuration information graph of a correspondence template program inputted with user in described server, the figure reference library program of use when the described figure configuration information received according to described information receiving unit is determined to carry out graphic hotsopt, graphical effect program and graph data program.
Optionally, also comprise:
Template detection unit, for obtaining unit in described template, determined figure reference library program, graphical effect program and graph data program are integrated, after obtaining graphics template program, detect described graphics template program and whether there is mistake, if the mistake of not detecting, then trigger the data acquisition program that described data acquisition unit calls the feature of the described data source received with described information receiving unit corresponding described data source is gathered; If the mistake of detecting, then output error information warning, modifies to described graphics template program according to described wrong information warning to make described user;
Described data mapping unit, when described template detection unit inspection makes mistake, specifically for: by collected data-mapping in amended graphics template program.
Optionally, also comprise:
Preview graph display unit, shows in the mode of preview graph for the figure generated by described graphics generation unit.
Optionally, described data acquisition unit, comprising:
Feature determination subelement, for determining the feature of the described data source that described information receiving unit receives;
Program looks subelement, for searching the data acquisition program corresponding with the feature of described data source in described server;
Data acquisition subelement, gathers described data source for calling described data acquisition program.
The figure configuration information that the embodiment of the present invention is inputted by user determines figure reference library program, graphical effect program and graph data program, and is carried out integration and obtain graphics template program; Call the data acquisition program corresponding with the feature of the data source that user inputs to gather the data source that user inputs, will perform in the data-mapping collected to above-mentioned graphics template program, generate the data source graph of a correspondence inputted with user.Because above-mentioned figure reference library program, graphical effect program, graph data program and data source capture program be all write in advance and separate, stored in server, between program itself, it doesn't matter, connected each other in operational process by JS drawing plug-in unit.The replacement of some single programs or amendment, as long as the specification meeting JS drawing plug-in unit, do not affect the operation of other modulated single programs.After server receives user's tablet pattern configuration information and data source, just can directly determine and this figure configuration information and data source graph of a correspondence reference library program, graphical effect program, graph data program and data source capture program, and then call these Program Generating graphics template program of carrying data corresponding with this figure configuration information and data source, and then generation figure, such server just can export the figure more agreeing with user's request, when user's input information changes, also just do not need again to write whole template, which reduce the time of developer's secondary development, save cost of development, and make this drawing formation system to carry out simple and easy transplanting, improve user's impression.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of process flow diagram of a kind of image generation method that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the displaying schematic diagram becoming figure interface for making user's tablet pattern configuration information and data source of the embodiment of the present invention;
The another kind of process flow diagram of a kind of image generation method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of graphic hotsopt device that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
First briefly introduce the step of a kind of image generation method that the embodiment of the present invention provides, the method is applied to server, can comprise the following steps:
Receive figure configuration information and the data source of user's input;
The figure reference library program of use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program, wherein, described figure reference library program, graphical effect program and graph data program are pre-stored within server;
Determined figure reference library program, graphical effect program and graph data program are integrated, obtains graphics template program;
Call the data acquisition program corresponding with the feature of the data source that user inputs to gather described data source, wherein, described data acquisition program is pre-stored within server;
By collected data-mapping in obtained graphics template program;
Perform the program of carrying the graphics template program of the data collected to some extent, generate and described data source graph of a correspondence.
It should be noted that, the embodiment of the present invention is the image generation method of sing on web, the method is applied to server corresponding to JS drawing plug-in unit, and the program of the JS utilized during graphic hotsopt (java script) drawing plug-in unit performs in a browser, and the figure of generation exports from browser.Different JS drawing plug-in units can draw dissimilar figure, such as, a kind of JS drawing plug-in unit can draw pie chart, column diagram and trend map etc., another kind of JS drawing plug-in unit can draw process flow diagram, block diagram and form etc., in actual applications, user can be configured selection according to the demand of oneself.The embodiment of the present invention is the improvement of the exploitation program to JS drawing plug-in unit, and the usability of program fragments write in advance is all stored in server corresponding to this JS drawing plug-in unit.
The figure reference library program of the embodiment of the present invention, graphical effect program, graph data program and data source capture program be all write in advance and separate, stored in server, between program itself, it doesn't matter, connected each other in operational process by JS drawing plug-in unit.The replacement of some single programs or amendment, as long as the specification meeting JS drawing plug-in unit, do not affect the operation of other modulated single programs.After server receives user's tablet pattern configuration information and data source, just can directly determine and this figure configuration information and data source graph of a correspondence reference library program, graphical effect program, graph data program and data source capture program, and then call these Program Generating graphics template program of carrying data corresponding with this figure configuration information and data source, and then generation figure, such server just can export the figure more agreeing with user's request, when user's input information changes, also just do not need again to write whole template, which reduce the time of developer's secondary development, save cost of development to a certain extent, and make this drawing formation system to carry out simple and easy transplanting, improve user's impression.
Below the step of the embodiment of the present invention is described in detail.
A kind of process flow diagram of a kind of image generation method that Fig. 1 provides for the embodiment of the present invention, the method is applied to server, can comprise the following steps:
S101, receives figure configuration information and the data source of user's input;
Concrete, this figure configuration information becomes the configuration information to the figure required for oneself at figure interface for user's entry terminal, and this data source is the set that user's entry terminal becomes the data at figure interface.This one-tenth figure interface shows prompting user's tablet pattern configuration information entrance and data source entrance, user only needs to fill in accordingly according to the demand of oneself.The figure configuration information entrance such as " type ", " width ", " highly " of the one-tenth figure interface display such as shown in Fig. 2, and the data source entrance of " data " of display, after user fills in, terminal just receives the exclusive figure configuration information of user and data source, " type " of user's input of Fig. 2 display is pie chart, " width " is 300px, " highly " be 300px, " data " are data 1:29, data 2:31, data 3:50 etc., and this figure configuration information and data source can embody the individual demand of user for figure.After user's input, accordingly, terminal receives this figure configuration information and data source, and this figure configuration information and data source is uploaded and become in having this server that JS drawing plug-in unit at figure interface is corresponding.
Further, in order to can leading subscriber and facilitate user to store more easily, graphic hotsopt platform can be built, therefore receive figure configuration information and the data source of user's input, be specially:
Receive the figure configuration information and data source that input after user logs in graphic hotsopt platform.
The operation of such platform can the using and storing of convenient user, and user can register at this graphic hotsopt platform, uses and oneself logs in this platform in the account information of this graphic hotsopt platform, and then operate accordingly.Building of this graphic hotsopt platform can use the mode of spring mvc+mysql or the mode of php+oracle, also other modes known to those skilled in the art can be utilized, the embodiment of the present invention does not limit this mode, concrete technological means and the mode of building the use of this graphic hotsopt platform belong to technology known in those skilled in the art, repeat no more here.
S102, the figure reference library program of use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program;
Wherein, above-mentioned figure reference library program, graphical effect program and graph data program are pre-stored within server.This figure reference library program, graphical effect program and writing of graph data program belong to prior art, therefore here repeat no more, but it should be noted that, preparing in advance in work, the program of various different JS drawing plug-in unit is all decomposed into figure reference library program, graphical effect program and graph data program three part, wherein, this figure reference library program includes the program of the running environment of different JS drawing plug-in units, this graphical effect program is the program of the effect presenting the figure of different pattern to user, the program of the parameter of the program that this graph data program is the entrance for making user's padding data source or restriction data source format.
It should be noted that, above-mentioned this three subprogram of figure reference library program, graphical effect program and graph data program is individualism, and between program own, it doesn't matter, but connected by JS drawing plug-in unit each other in operational process.For replacement or the amendment of any part, as long as meet the specification of JS drawing plug-in unit, in a mapping process, only need re invocation, to the program of other parts modulated in this mapping process be do not have influential.And in the prior art, just write whole template program required in mapping process in advance, if just in time meet the demand of user, then directly export, if but the information of the inapplicable user's input of this template program, then need again to write whole template.So by comparison, the figure reference library program prestored, graphical effect program and the enforcement of graph data program to the embodiment of the present invention play vital effect, the embodiment of the present invention is saved cost of development, and Consumer's Experience is better.Such as: a highchart plug-in unit based on jquery exploitation, figure reference library program is program corresponding to jquery, and graphical effect program and graph data program are then write based on this highchart plug-in unit.When figure reference library program and graph data program general, suppose that user inputs twice different information, the embodiment of the present invention call the information different from these two that writes in advance corresponding graphical effect program carry out into figure, figure reference library program and graph data program only need to call once.Prior art then needs to write the different template of two covers and realizes, and obviously, the embodiment of the present invention while cost-saving, improves user's impression.
Concrete, after server in S101 receives this figure configuration information, this figure configuration information graph of a correspondence reference library program, graphical effect program and graph data program is searched in this locality, and then the figure reference library program, graphical effect program and the graph data program that use when this three subprogram found is defined as graphic hotsopt.Such as, what user inputted is pie chart configuration information, after server receives this pie chart configuration information, just automatically search local corresponding with this pie chart configuration information pie chart reference library program, pie chart effect programs and the pie chart data program that store, these programs are that developer writes in advance for pie chart and is stored in some code snippets of server, just these programs are defined as program required when final pie chart generates after finding.
In actual applications, the figure configuration information of user's input is Protean, the configuration information that the figure configuration information that might not at every turn input did not have before being all, in order to reduce the loss that program repeats to search and determine to bring, improve into figure speed, determining step can be increased, then first judge whether server this locality exists the graphics template program of the figure configuration information meeting user, if existed, this graphics template program of direct use, if there is no, the figure reference library program of use when then determining to carry out graphic hotsopt according to described figure configuration information, the step of graphical effect program and graph data program, be specially:
When not storing the described figure configuration information graph of a correspondence template program inputted with user in described server, the figure reference library program of use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program.
After determining the figure reference library program of use when carrying out graphic hotsopt, graphical effect program and graph data program, perform S103 step.
S103, integrates determined figure reference library program, graphical effect program and graph data program, obtains graphics template program;
Concrete, this graphics template program is the graphics template program adding padding data function, can be the html page presenting figure of JS drawing plug-in unit in reality, if stand in user perspective, the one-tenth figure interface that is shown to user adds the function can inserting data.The execution entrance of figure reference library program, graphical effect program and graph data program is provided in the graphics template program not adding padding data function, this graphics template program not adding padding data function is referred to as graphics template program for subsequent use, this graphics template program for subsequent use is also that developer writes in advance, process program when it similarly is more graphic hotsopt.When arriving the execution entrance of figure reference library program, just directly performing the figure reference library program determined in S102 obtains the first execution result, accordingly, when arriving the execution entrance of graphical effect program, just directly performing the graphical effect program determined in S102 obtains the second execution result, when arriving the execution entrance of graph data program, just directly performing the graph data program determined in S102 obtains the 3rd execution result, this first execution result, second execution result and the 3rd execution result just make this graphics template program for subsequent use be provided with the function of data stuffing, correspondence just obtains graphics template program.
In actual applications, in order to ensure this graphics template program correctness, can carry out smoothly to make subsequent step, often to detect this graphics template program, then described, determined figure reference library program, graphical effect program and graph data program are integrated, after obtaining graphics template program, also comprise:
Detect described graphics template program and whether there is mistake, if the mistake of not detecting, then perform the step called the data acquisition program corresponding with the feature of the data source that user inputs and described data source is gathered; If the mistake of detecting, then output error information warning, modifies to described graphics template program according to described wrong information warning to make described user.
Concrete, prior art is belonged to the means that this graphics template program detects, as well known to those skilled in the art, therefore here repeat no more.When detection does not have mistake, just perform subsequent step, but when detecting appearance mistake, meeting output error information warning, this wrong information warning is sent to terminal by server, terminal can present to developer in the mode of the form or prompting message that play window after receiving, and then developer can carry out correspondence amendment for this information warning to this graphics template program.Further, amended graphics template program can be detected again until detect inerrancy, and then perform S104 step.
S104, calls the data acquisition program corresponding with the feature of the data source that user inputs and gathers described data source;
Wherein, above-mentioned data acquisition program is that developer writes in advance and is stored in server.This data acquisition program carries out writing for the feature of the data source of user's input, because data have dispersiveness, therefore for different data, and just corresponding different data acquisition programs.The feature of this data source can be the form of data source, therefore just can carry out writing of special data acquisition program for the form of data source.For the data of common format, data acquisition program corresponding to the data of this common format of Open Source Platform can be utilized to carry out gathering or carrying out simple modification to the program of Open Source Platform, form the data acquisition program that the data of this common format are corresponding, thus gather; For the data of special format, special data acquisition expert can be transferred to carry out custom-written, such server can store more data acquisition program, makes the data no matter what form user inputs, and the data source that user inputs can both farthest gather by this server.
In a kind of embodiment, in order to more clearly indicate the process gathered data source, this calls the step that the data acquisition program corresponding with the feature of the data source that user inputs gathers described data source, is specially:
Determine the feature of the data source that user inputs;
The data acquisition program corresponding with the feature of the data source that described user inputs is searched in described server;
Call described data acquisition program to gather described data source.
Concrete, first server determines the feature of the data source of the user's input got, then the data source capture program that in the data source capture program stored in this locality according to the feature of this data source, search is corresponding with this data source characteristic, after finding applicable data source capture program, with regard to directly utilizing this data source capture program, this data source is gathered, obtain data, and then perform S105 step.
S105, by collected data-mapping in obtained graphics template program;
Concrete, in S103, obtain graphics template program, this graphics template program has the function of data stuffing, in S104, collect data, by the graphics template program that obtains in the data-mapping collected in S104 to S103.In a mapping process, be in fact exactly in obtained graphics template program by the data stuffing that collects.Fill the technological means used and belong to prior art, here repeat no more.
Corresponding to detecting obtained graphics template program in S102, detect mistake situation, in this step, above-mentioned by collected data-mapping in obtained graphics template program, be specially:
By collected data-mapping in amended graphics template program.
In actual applications, in order to ensure the graphics template program correctness after mapping, to make subsequent step to carry out smoothly, often to the graphics template program after this mapping be detected, then after by collected data-mapping to obtained graphics template program, also comprise:
The formed graphics template program of carrying the data collected to some extent is detected, if the mistake of not detecting, then carries out performing the graphics template program of carrying the data collected to some extent, generate the step with described data source graph of a correspondence; If the mistake of detecting, then output error information warning, modifies to the graphics template program after this mapping according to this wrong information warning to make described user.
Concrete, prior art is belonged to the means that the graphics template program after this mapping detects, as well known to those skilled in the art, therefore here repeat no more.When detection does not have mistake, just perform subsequent step, but when detecting appearance mistake, meeting output error information warning, this wrong information warning is sent to terminal by server, terminal can present to developer in the mode of the form or prompting message that play window after receiving, and then developer can carry out correspondence amendment for this information warning to the graphics template program after this mapping.Further, the graphics template program after this mapping amended can be detected again until detect inerrancy, and then perform S106 step.
S106, performs the graphics template program of carrying the data collected to some extent, generates and described data source graph of a correspondence.
Concrete, in S105, obtain the graph data template after mapping be the graphics template program of carrying the data collected to some extent, perform the graphics template program that this carries the data collected to some extent, just automatically generate the figure needed for user, the pie chart that the fill message according to user that lower part region, one-tenth figure interface such as shown in Fig. 2 shows generates, from this pie chart, can find out clearly, the number percent that the data that user inputs occupy respectively, makes data management convenient like this.
In order to the figure making user see generation in advance, the graphics template program of the data collected to some extent is carried in this execution, generates the step with described data source graph of a correspondence, also comprises:
Generated figure is shown in the mode of preview graph.
This mode can make user carry out preview to required figure in advance, the pie chart of lower part region, one-tenth figure interface display as shown in Figure 2.If the figure of preview graph display meets the requirement of oneself, just can export immediately, the place of improving if necessary, export after corresponding modify can be done.The inefficiency that this avoid figure exports, and more meets the demand of user, and user's impression is better.
Corresponding to the graphic hotsopt platform built in S101, after generating figure in this step, be automatically saved in the graphic hotsopt platform that user logs in.Like this, user can check the figure oneself preserved, and the change etc. of data graph of a correspondence, convenient, hommization more.
The figure configuration information that the embodiment of the present invention is inputted by user determines figure reference library program, graphical effect program and graph data program, and is carried out integration and obtain graphics template program; Call the data acquisition program corresponding with the feature of the data source that user inputs to gather the data source that user inputs, will perform in the data-mapping collected to above-mentioned graphics template program, generate the data source graph of a correspondence inputted with user.Because above-mentioned figure reference library program, graphical effect program, graph data program and data source capture program be all write in advance and separate, stored in server, between program itself, it doesn't matter, connected each other in operational process by JS drawing plug-in unit.The replacement of some single programs or amendment, as long as the specification meeting JS drawing plug-in unit, do not affect the operation of other modulated single programs.After server receives user's tablet pattern configuration information and data source, just can directly determine and this figure configuration information and data source graph of a correspondence reference library program, graphical effect program, graph data program and data source capture program, and then call these Program Generating graphics template program of carrying data corresponding with this figure configuration information and data source, and then generation figure, such server just can export the figure more agreeing with user's request, when user's input information changes, also just do not need again to write whole template, which reduce the time of developer's secondary development, save cost of development to a certain extent, and make this drawing formation system to carry out simple and easy transplanting, improve user's impression.
Below in conjunction with concrete application example, a kind of image generation method that the embodiment of the present invention provides is introduced.
The another kind of process flow diagram of a kind of image generation method that Fig. 3 provides for the embodiment of the present invention, the method is applied to server, can comprise the following steps:
S201, receives the figure configuration information and data source that input after user logs in graphic hotsopt platform;
Concrete, the function that this graphic hotsopt platform can be supplied to user's registration and log in, user can register at this graphic hotsopt platform, uses and oneself logs in this platform in the account information of this graphic hotsopt platform, and then operate accordingly.Building of this graphic hotsopt platform can use the mode of spring mvc+mysql or the mode of php+oracle, also other modes known to those skilled in the art can be utilized, the embodiment of the present invention does not limit this mode, concrete technological means and the mode of building the use of this graphic hotsopt platform belong to technology known in those skilled in the art, repeat no more here.The configuration information to the figure required for oneself at the one-tenth figure interface that this figure configuration information is user's tablet pattern generating platform, this data source is the set of the data at the one-tenth figure interface of user's tablet pattern generating platform.This one-tenth figure interface shows prompting user's tablet pattern configuration information entrance and data source entrance, user only needs to fill in accordingly according to the demand of oneself.Information after filling in will be stored in this graphic hotsopt platform that user self logs in, and facilitates follow-up one-tenth figure and consults.After user inputs this figure configuration information and data source, accordingly, terminal receives this figure configuration information and data source, and this figure configuration information and data source is uploaded and become in having this server that JS drawing plug-in unit at figure interface is corresponding, and then performs S202 step.
S202, the figure reference library program of use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program;
Wherein, above-mentioned figure reference library program, graphical effect program and graph data program are pre-stored within server.This figure reference library program, graphical effect program and writing of graph data program belong to prior art, therefore here repeat no more, but it should be noted that, preparing in advance in work, the program of various different JS drawing plug-in unit is all decomposed into figure reference library program, graphical effect program and graph data program three part, wherein, this figure reference library program includes the program of the running environment of different JS drawing plug-in units, this graphical effect program is the program of the effect presenting the figure of different pattern to user, the program of the parameter of the program that this graph data program is the entrance for making user's padding data source or restriction data source format.
Concrete, after server in S201 receives this figure configuration information, this figure configuration information graph of a correspondence reference library program, graphical effect program and graph data program is searched in this locality, and then the figure reference library program, graphical effect program and the graph data program that use when this three subprogram found is defined as graphic hotsopt.Such as, what user inputted is pie chart configuration information, after server receives this pie chart configuration information, just automatically search local corresponding with this pie chart configuration information pie chart reference library program, pie chart effect programs and the pie chart data program that store, these programs are that developer writes in advance for pie chart and is stored in some code snippets of server, just these programs are defined as program required when final pie chart generates after finding.
After determining the figure reference library program of use when carrying out graphic hotsopt, graphical effect program and graph data program, perform S203 step.
S203, integrates determined figure reference library program, graphical effect program and graph data program, obtains graphics template program;
Concrete, this graphics template program is the graphics template program adding padding data function, can be the html page presenting figure of JS drawing plug-in unit in reality, if stand in user perspective, the one-tenth figure interface that is shown to user adds the function can inserting data.The execution entrance of figure reference library program, graphical effect program and graph data program is provided in the graphics template program not adding padding data function, this graphics template program not adding padding data function is referred to as graphics template program for subsequent use, this graphics template program for subsequent use is also that developer writes in advance, process program when it similarly is more graphic hotsopt.When arriving the execution entrance of figure reference library program, just directly performing the figure reference library program determined in S202 obtains the first execution result, accordingly, when arriving the execution entrance of graphical effect program, just directly performing the graphical effect program determined in S102 obtains the second execution result, when arriving the execution entrance of graph data program, just directly performing the graph data program determined in S202 obtains the 3rd execution result, this first execution result, second execution result and the 3rd execution result just make this graphics template program for subsequent use be provided with the function of data stuffing, correspondence just obtains graphics template program.
S204, detects described graphics template program and whether there is mistake, if the mistake of not detecting, performs S206, if the mistake of detecting, performs S205.
Concrete, in order to ensure this graphics template program correctness, can carry out smoothly to make subsequent step, often to detect this graphics template program, prior art is belonged to the means that this graphics template program detects, as well known to those skilled in the art, therefore here repeat no more.
S205, output error information warning, modifies to described graphics template program according to described wrong information warning to make described user.
Concrete, when detecting mistake in S204, meeting output error information warning, this wrong information warning is sent to terminal by server, terminal can present to developer in the mode of the form or prompting message that play window after receiving, and then developer can carry out correspondence amendment for this information warning to this graphics template program.After amendment, perform S204 step.
S206, calls the data acquisition program corresponding with the feature of the data source that user inputs and gathers described data source;
Concrete, when not detecting mistake in S204, perform this step.In this step, above-mentioned data acquisition program is that developer writes in advance and is stored in server.This data acquisition program carries out writing for the feature of the data source of user's input, because data have dispersiveness, therefore for different data, and just corresponding different data acquisition programs.The feature of this data source can be the form of data source, therefore just can carry out writing of special data acquisition program for the form of data source.For the data of common format, data acquisition program corresponding to the data of this common format of Open Source Platform can be utilized to carry out gathering or carrying out simple modification to the program of Open Source Platform, form the data acquisition program that the data of this common format are corresponding, thus gather; For the data of special format, special data acquisition expert can be transferred to carry out custom-written, such server can store more data acquisition program, make the data no matter what form user inputs, the data source that user inputs can both farthest gather by this server, and then performs S207 step.
S207, by collected data-mapping in obtained graphics template program;
Concrete, in S203, obtain graphics template program, this graphics template program has the function of data stuffing, in S206, collect data, by the graphics template program that obtains in the data-mapping collected in S206 to S203.In a mapping process, be in fact exactly in obtained graphics template program by the data stuffing that collects.Fill the technological means used and belong to prior art, here repeat no more.
Corresponding to the situation of this graphics template program being carried out to corresponding amendment in S206, in this step, above-mentioned by collected data-mapping in obtained graphics template program, be specially:
By collected data-mapping in amended graphics template program.
Whether wrong S208, detect the graphics template program of carrying the data collected to some extent formed, if the mistake of not detecting, performs S2010, if the mistake of detecting, performs S209;
Concrete, in order to ensure the graphics template program correctness after mapping, can carry out smoothly to make subsequent step, often to the graphics template program after this mapping be detected, prior art is belonged to the means that the graphics template program after this mapping detects, as well known to those skilled in the art, therefore here repeat no more.
S209, output error information warning, modifies to the graphics template program after this mapping according to this wrong information warning to make described user;
Concrete, when S208 detects mistake, meeting output error information warning, this wrong information warning is sent to terminal by server, terminal can present to developer in the mode of the form or prompting message that play window after receiving, and then developer can carry out correspondence amendment for this information warning to the graphics template program after this mapping.After amendment, perform S208 step.
S2010, performs the graphics template program of carrying the data collected to some extent, generates and described data source graph of a correspondence, and is automatically saved in described graphic hotsopt platform.
Concrete, in S207, obtain the graph data template after mapping be the graphics template program of carrying the data collected to some extent, perform the graphics template program that this carries the data collected to some extent, just automatically generate the figure needed for user, then automatically can be saved in the graphic hotsopt platform logged in S201 according to the demand of user, like this, user can check the figure oneself preserved, and the change etc. of data graph of a correspondence, convenient, hommization more.
Corresponding in S209 to the graphics template program situation of modifying after mapping, in this step, the graphics template program of the data collected to some extent is carried in above-mentioned execution, generates and described data source graph of a correspondence, and be automatically saved in described graphic hotsopt platform, be specially:
Perform the amended graphics template program of carrying the data collected to some extent, generate and described data source graph of a correspondence, and be automatically saved in described graphic hotsopt platform.
The figure configuration information that the embodiment of the present invention is inputted by user determines figure reference library program, graphical effect program and graph data program, and is carried out integration and obtain graphics template program; Call the data acquisition program corresponding with the feature of the data source that user inputs to gather the data source that user inputs, will perform in the data-mapping collected to above-mentioned graphics template program, generate the data source graph of a correspondence inputted with user.Because above-mentioned figure reference library program, graphical effect program, graph data program and data source capture program be all write in advance and separate, stored in server, between program itself, it doesn't matter, connected each other in operational process by JS drawing plug-in unit.The replacement of some single programs or amendment, as long as the specification meeting JS drawing plug-in unit, do not affect the operation of other modulated single programs.After server receives user's tablet pattern configuration information and data source, just can directly determine and this figure configuration information and data source graph of a correspondence reference library program, graphical effect program, graph data program and data source capture program, and then call these Program Generating graphics template program of carrying data corresponding with this figure configuration information and data source, and then generation figure, such server just can export the figure more agreeing with user's request, when user's input information changes, also just do not need again to write whole template, which reduce the time of developer's secondary development, save cost of development to a certain extent, and make this drawing formation system to carry out simple and easy transplanting, improve user's impression.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides a kind of graphic hotsopt device, and as shown in Figure 4, this application of installation, in server, can comprise with lower unit:
Information receiving unit 410, for receiving figure configuration information and the data source of user's input;
Concrete, this figure configuration information becomes the configuration information to the figure required for oneself at figure interface for user's entry terminal, and this data source is the set that user's entry terminal becomes the data at figure interface.This one-tenth figure interface shows prompting user's tablet pattern configuration information entrance and data source entrance, user only needs to fill in accordingly according to the demand of oneself.After user's input, accordingly, terminal receives this figure configuration information and data source, and this figure configuration information and data source is uploaded and become in having this server that JS drawing plug-in unit at figure interface is corresponding, trigger determining unit 420 after server receives.
Program determining unit 420, the figure reference library program of use when the described figure configuration information for receiving according to described information receiving unit is determined to carry out graphic hotsopt, graphical effect program and graph data program, wherein, described figure reference library program, graphical effect program and graph data program are pre-stored within server;
Concrete, after information receiving unit 410 receives this figure configuration information, this figure configuration information graph of a correspondence reference library program, graphical effect program and graph data program is searched in this locality, and then the figure reference library program, graphical effect program and the graph data program that use when this three subprogram found is defined as graphic hotsopt, and then triggering template obtains unit 430.
Template obtains unit 430, integrates, obtain graphics template program for figure reference library program, graphical effect program and the graph data program described program determining unit determined;
Concrete, this graphics template program is the graphics template program adding padding data function, can be the html page presenting figure of JS drawing plug-in unit in reality, if stand in user perspective, the one-tenth figure interface that is shown to user adds the function can inserting data.The execution entrance of figure reference library program, graphical effect program and graph data program is provided in the graphics template program not adding padding data function, this graphics template program not adding padding data function is referred to as graphics template program for subsequent use, this graphics template program for subsequent use is also that developer writes in advance, process program when it similarly is more graphic hotsopt.When arriving the execution entrance of figure reference library program, just directly performing the figure reference library program determined in program determining unit 420 obtains the first execution result, accordingly, when arriving the execution entrance of graphical effect program, just directly performing the graphical effect program determined in program determining unit 420 obtains the second execution result, when arriving the execution entrance of graph data program, just directly performing the graph data program determined in program determining unit 420 obtains the 3rd execution result, this first execution result, second execution result and the 3rd execution result just make this graphics template program for subsequent use be provided with the function of data stuffing, correspondence just obtains graphics template program, and then trigger data map unit 450.
Data acquisition unit 440, the corresponding data acquisition program of the feature for calling the described data source received with described information receiving unit gathers described data source, and wherein, described data acquisition program is pre-stored within server;
Concrete, this data acquisition program carries out writing for the feature of the data source of user's input, because data have dispersiveness, therefore for different data, and just corresponding different data acquisition programs.After this cell data collection completes, with regard to trigger data map unit 450.
Data mapping unit 450, obtains in the graphics template program that unit obtains for the data-mapping that collected by described data acquisition unit to described template;
Concrete, the data-mapping collected in data acquisition unit 440 is obtained to template in the graphics template program obtained in unit 430.In a mapping process, be in fact exactly in obtained graphics template program by the data stuffing that collects.Fill the technological means used and belong to prior art, here repeat no more.After this unit maps completes, just trigger graphics generation unit 460.
Graphics generation unit 460, for performing the graphics template program of carrying the data collected to some extent, generates and described data source graph of a correspondence.
Concrete, in data mapping unit 450, obtain the graph data template after mapping be the graphics template program of carrying the data collected to some extent, perform the graphics template program that this carries the data collected to some extent, just automatically generate the figure needed for user.
The figure configuration information that the embodiment of the present invention is inputted by user determines figure reference library program, graphical effect program and graph data program, and is carried out integration and obtain graphics template program; Call the data acquisition program corresponding with the feature of the data source that user inputs to gather the data source that user inputs, will perform in the data-mapping collected to above-mentioned graphics template program, generate the data source graph of a correspondence inputted with user.Because above-mentioned figure reference library program, graphical effect program, graph data program and data source capture program be all write in advance and separate, stored in server, between program itself, it doesn't matter, connected each other in operational process by JS drawing plug-in unit.The replacement of some single programs or amendment, as long as the specification meeting JS drawing plug-in unit, do not affect the operation of other modulated single programs.After server receives user's tablet pattern configuration information and data source, just can directly determine and this figure configuration information and data source graph of a correspondence reference library program, graphical effect program, graph data program and data source capture program, and then call these Program Generating graphics template program of carrying data corresponding with this figure configuration information and data source, and then generation figure, such server just can export the figure more agreeing with user's request, when user's input information changes, also just do not need again to write whole template, which reduce the time of developer's secondary development, save cost of development to a certain extent, and make this drawing formation system to carry out simple and easy transplanting, improve user's impression.
In another embodiment of the invention, described program determining unit 420, specifically for:
When not storing the described figure configuration information graph of a correspondence template program inputted with user in described server, the figure reference library program of use when the described figure configuration information received according to described information receiving unit is determined to carry out graphic hotsopt, graphical effect program and graph data program.
Concrete, in actual applications, the figure configuration information of user's input is Protean, the configuration information that the figure configuration information that might not at every turn input did not have before being all, therefore determining step can be increased before program determining unit 420, then first judge whether server this locality exists the graphics template program of the figure configuration information meeting user, if existed, this graphics template program of direct use, if there is no, then said units is triggered, like this, the program of decreasing repeats the loss of searching and determining to bring, and improves into figure speed.
In another embodiment of the invention, also comprise:
Template detection unit, for obtaining unit 430 in template, determined figure reference library program, graphical effect program and graph data program are integrated, after obtaining graphics template program, detect described graphics template program and whether there is mistake, if the mistake of not detecting, then trigger described data acquisition unit and call the step that the corresponding data acquisition program of the feature of the described data source received with described information receiving unit gathers described data source; If the mistake of detecting, then output error information warning, modifies to described graphics template program according to described wrong information warning to make described user;
Described data mapping unit 450, when described template detection unit inspection makes mistake, specifically for: by collected data-mapping in amended graphics template program.
Concrete, in this embodiment, the graphics template program that unit 430 obtains is obtained to template and detects, ensure that this graphics template program correctness, subsequent step can be carried out smoothly.
In another embodiment of the invention, this device also comprises:
Preview graph display unit, shows in the mode of preview graph for the figure generated by described graphics generation unit.
Concrete, in this embodiment, the inefficiency that the figure generated with the mode display graphics generation unit 460 of preview graph avoids figure exports, and more meets the demand of user, and user's impression is better.
In another embodiment of the invention, described data acquisition unit 440, comprising:
Feature determination subelement, for determining the feature of the described data source that described information receiving unit receives;
Program looks subelement, for searching the data acquisition program corresponding with the feature of described data source in described server;
Data acquisition subelement, gathers described data source for calling described data acquisition program.
Concrete, in this embodiment, the data source capture program corresponding with the data source that user inputs accurately can be found by said units, thus this data source is gathered, subelement after segmentation makes data source collection more accurate, the figure of follow-up generation meets the demand of user more, and user's impression is better.
For system or device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. an image generation method, is characterized in that, is applied to server, comprising:
Receive figure configuration information and the data source of user's input;
The figure reference library program of use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program, wherein, described figure reference library program, graphical effect program and graph data program are pre-stored within server;
Determined figure reference library program, graphical effect program and graph data program are integrated, obtains graphics template program;
Call the data acquisition program corresponding with the feature of the data source that user inputs to gather described data source, wherein, described data acquisition program is pre-stored within server;
By collected data-mapping in obtained graphics template program;
Perform the graphics template program of carrying the data collected to some extent, generate and described data source graph of a correspondence.
2. method according to claim 1, is characterized in that, the figure reference library program of described use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program, comprising:
When not storing the described figure configuration information graph of a correspondence template program inputted with user in described server, the figure reference library program of use when determining to carry out graphic hotsopt according to described figure configuration information, graphical effect program and graph data program.
3. method according to claim 1, is characterized in that, determined figure reference library program, graphical effect program and graph data program is integrated, after obtaining graphics template program, also comprise described:
Detect described graphics template program and whether there is mistake, if the mistake of not detecting, then perform the step called the data acquisition program corresponding with the feature of the data source that user inputs and described data source is gathered; If the mistake of detecting, then output error information warning, modifies to described graphics template program according to described wrong information warning to make described user;
If the mistake of detecting, then described by collected data-mapping to the step in obtained graphics template program, comprising:
By collected data-mapping in amended graphics template program.
4. method according to claim 1, is characterized in that, also comprises: shown in the mode of preview graph by generated figure.
5. method according to claim 1, is characterized in that, described in call the data acquisition program corresponding with the feature of the data source that user inputs described data source gathered, comprising:
Determine the feature of the data source that user inputs;
The data acquisition program corresponding with the feature of the data source that described user inputs is searched in described server;
Call described data acquisition program to gather described data source.
6. a graphic hotsopt device, is characterized in that, is applied to server, comprising:
Information receiving unit, for receiving figure configuration information and the data source of user's input;
Program determining unit, the figure reference library program of use when the described figure configuration information for receiving according to described information receiving unit is determined to carry out graphic hotsopt, graphical effect program and graph data program, wherein, described figure reference library program, graphical effect program and graph data program are pre-stored within server;
Template obtains unit, integrates, obtain graphics template program for figure reference library program, graphical effect program and the graph data program described program determining unit determined;
Data acquisition unit, the corresponding data acquisition program of the feature for calling the described data source received with described information receiving unit gathers described data source, and wherein, described data acquisition program is pre-stored within server;
Data mapping unit, obtains in the graphics template program that unit obtains for the data-mapping that collected by described data acquisition unit to described template;
Graphics generation unit, for performing the graphics template program of carrying the data collected to some extent, generates and described data source graph of a correspondence.
7. device according to claim 6, is characterized in that, described program determining unit, specifically for:
When not storing the described figure configuration information graph of a correspondence template program inputted with user in described server, the figure reference library program of use when the described figure configuration information received according to described information receiving unit is determined to carry out graphic hotsopt, graphical effect program and graph data program.
8. device according to claim 6, is characterized in that, also comprises:
Template detection unit, for obtaining unit in described template, determined figure reference library program, graphical effect program and graph data program are integrated, after obtaining graphics template program, detect described graphics template program and whether there is mistake, if the mistake of not detecting, then trigger the data acquisition program that described data acquisition unit calls the feature of the described data source received with described information receiving unit corresponding described data source is gathered; If the mistake of detecting, then output error information warning, modifies to described graphics template program according to described wrong information warning to make described user;
Described data mapping unit, when described template detection unit inspection makes mistake, specifically for: by collected data-mapping in amended graphics template program.
9. device according to claim 6, is characterized in that, also comprises:
Preview graph display unit, shows in the mode of preview graph for the figure generated by described graphics generation unit.
10. device according to claim 6, is characterized in that, described data acquisition unit, comprising:
Feature determination subelement, for determining the feature of the described data source that described information receiving unit receives;
Program looks subelement, for searching the data acquisition program corresponding with the feature of described data source in described server;
Data acquisition subelement, gathers described data source for calling described data acquisition program.
CN201410849364.7A 2014-12-29 2014-12-29 A kind of image generation method and device Active CN104536758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410849364.7A CN104536758B (en) 2014-12-29 2014-12-29 A kind of image generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410849364.7A CN104536758B (en) 2014-12-29 2014-12-29 A kind of image generation method and device

Publications (2)

Publication Number Publication Date
CN104536758A true CN104536758A (en) 2015-04-22
CN104536758B CN104536758B (en) 2017-12-08

Family

ID=52852290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410849364.7A Active CN104536758B (en) 2014-12-29 2014-12-29 A kind of image generation method and device

Country Status (1)

Country Link
CN (1) CN104536758B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019079940A1 (en) * 2017-10-23 2019-05-02 华为技术有限公司 Graphics processing method, and related apparatus and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751383A (en) * 2009-12-30 2010-06-23 北京天融信科技有限公司 Method for describing network topology by using SVG
CN102609247A (en) * 2011-01-24 2012-07-25 谷歌公司 International graphic user interface
US20130215464A1 (en) * 2012-02-20 2013-08-22 Naohiko Kubo Image forming apparatus, system, and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751383A (en) * 2009-12-30 2010-06-23 北京天融信科技有限公司 Method for describing network topology by using SVG
CN102609247A (en) * 2011-01-24 2012-07-25 谷歌公司 International graphic user interface
US20130215464A1 (en) * 2012-02-20 2013-08-22 Naohiko Kubo Image forming apparatus, system, and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨绍伟等: "基于Raphael.js的统计图形插件开发", 《中国科技论文在线》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019079940A1 (en) * 2017-10-23 2019-05-02 华为技术有限公司 Graphics processing method, and related apparatus and device
US11189003B2 (en) 2017-10-23 2021-11-30 Huawei Technologies Co., Ltd. Graphics processing method and related apparatus, and device for unidirectionally transmitting calling information of a graphics API to a client

Also Published As

Publication number Publication date
CN104536758B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN111970267B (en) Data protocol conversion method and device, electronic equipment and storage medium
US10360027B2 (en) Automatically extracting a model for the behavior of a mobile application
CN106657192B (en) Method and equipment for presenting service calling information
CN107133174A (en) Test case code automatically generating device and method
CN110221968A (en) Method for testing software and Related product
CN111813680B (en) Method and device for generating test script, computer equipment and storage medium
CN113268243B (en) Memory prediction method and device, storage medium and electronic equipment
CN109446096B (en) Intelligent contract debugging method and device and storage medium thereof
US20160162539A1 (en) Computer executable method of generating analysis data and apparatus performing the same and storage medium for the same
CN112433712A (en) Report display method and device, computer equipment and storage medium
CN112905441A (en) Test case generation method, test method, device and equipment
US10823782B2 (en) Ensuring completeness of interface signal checking in functional verification
US20110321001A1 (en) Visualization of runtime analysis across dynamic boundaries
CN104375814A (en) Generation method and device of an interface document
CN110908915A (en) Test coverage rate display method and device and computer system
US9880925B1 (en) Collecting structured program code output
CN112181419B (en) Interface generation method and device and storage medium
CN111427760A (en) Page testing method, device, equipment and storage medium
CN115543285A (en) Interactive window display method, device, equipment and storage medium
CN104536758A (en) Graph generating method and device
CN105607990A (en) Null pointer crash mining method and device
CN115618363B (en) Vulnerability path mining method and related equipment
CN113805861B (en) Code generation method based on machine learning, code editing system and storage medium
CN112825033A (en) Interface code generation method, device, equipment and storage medium
CN115185535A (en) Dependency relationship display method and device, storage medium and electronic equipment

Legal Events

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