CN102968807A - Automatic image generating method and automatic image generating system - Google Patents

Automatic image generating method and automatic image generating system Download PDF

Info

Publication number
CN102968807A
CN102968807A CN2012104224394A CN201210422439A CN102968807A CN 102968807 A CN102968807 A CN 102968807A CN 2012104224394 A CN2012104224394 A CN 2012104224394A CN 201210422439 A CN201210422439 A CN 201210422439A CN 102968807 A CN102968807 A CN 102968807A
Authority
CN
China
Prior art keywords
data
render requests
requests data
image
client
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
CN2012104224394A
Other languages
Chinese (zh)
Other versions
CN102968807B (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.)
Vtron Technologies Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201210422439.4A priority Critical patent/CN102968807B/en
Publication of CN102968807A publication Critical patent/CN102968807A/en
Application granted granted Critical
Publication of CN102968807B publication Critical patent/CN102968807B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention provides an automatic image generating method and an automatic image generating system. The method comprises steps of analyzing drawing request data and acquiring analyzed results after the drawing request data of a predetermined format, which is sent by a client, is received; configuring resource data in accordance with the analyzed results; drawing an image by using a drawing engine and acquiring image data in accordance with the analyzed results and the resource data; returning the image data to the client; and entering a drawing request data inputting waiting state after receipt notification data of the predetermined format, which is sent by the client, is received. The operation is simple, the implementation is easy, and the method and the system are not limited by a programming platform and an application program used in a client operation system.

Description

Image automatic generation method and system
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of image automatic generation method and system.
Background technology
Some drawing engines are the message exchanges of being responsible between system and the plotter program such as the main task of GDI+ (Graphics Device Interface, Graphics Device Interface), process the figure output of all Windows programs.Under Windows operating system, the application program that the overwhelming majority possesses graphical interfaces all be unable to do without GDI+, utilizes just output pattern on screen, printer and other output device easily of numerous functions that GDI+ provides, the operations such as text.The appearance of GDI+ makes the programmer need not be concerned about hardware device and device drives, just the output of application program can be converted into the output on the hardware device, has realized the isolation of program developer and hardware device, greatly facilitates development.
Yet, when using such as drawing engines such as GDI+, can only one of the local operation system or in a plurality of application programs use, do not support a plurality of operation systems share to use, simultaneously, there are a lot of programming platforms not support quoting of GDI+ dynamic base in the Windows operating system, some supports that GDI+ quotes, but dispose very loaded down with trivial details, even some support is unstable, and in addition, the GDI+ dynamic base can only be used in the application program of Windows operating system platform, do not support linux, quoting of the application program of the operating systems such as unix especially continues to use the GDI+ function that very large obstacle is arranged under the non-Windows environment to those.
Summary of the invention
The object of the present invention is to provide a kind of image automatic generation method and system, the service of drawing function can be provided to the on-line customer, and programming platform, the application program do not used in the limited subscriber client operating system.
Purpose of the present invention is achieved through the following technical solutions:
A kind of image automatic generation method comprises the steps:
After the render requests data that receive the predetermined format that client sends, described render requests data are resolved obtain analysis result;
According to described analysis result resource allocation data;
Use the drawing engine rendered images to obtain image data according to described analysis result and described resource data;
Described image data is returned described client;
When waiting to receive the receipt notification data of the predetermined format that described client sends, the render requests data mode to be entered such as enter.
A kind of image automatic creation system comprises:
Receiver module be used for to receive the render requests data that client sends, and with the render requests data transmission that receives to parsing module, also be used for when receiving the receipt notification data that client sends, entering and waiting for the render requests data mode;
Parsing module is used for after receiving described render requests data described render requests data being resolved;
Configuration module is used for according to described analysis result resource allocation data in the storer;
Drafting module is used for using the drawing engine rendered images to obtain image data according to described analysis result and described resource data;
Sending module is used for described image data is returned described client.
According to the invention described above scheme, after the user has sent the render requests data by client, after the present invention program receives these render requests data, can resolve these render requests data, and according to the required resource data of analysis result configuration, obtain image data according to described analysis result and described resource data rendered images again, the image data of completing is returned to described client, when client sends the receipt notification data behind described image data, the render requests data modes to be entered such as the present invention program then enters wait for that namely receive client sends the render requests data next time.The present invention is simple to operate, be easy to realize, and is not subjected to the programming platform that uses in user's client operating system, the restriction of application program.
Description of drawings
Fig. 1 is the schematic flow sheet of the image automatic generation method of the embodiment of the invention;
Fig. 2 is the structural representation of the image automatic creation system of the embodiment of the invention.
Embodiment
The present invention is further elaborated below in conjunction with embodiment and accompanying drawing, but embodiments of the present invention are not limited to this.
Embodiment 1
Referring to Fig. 1, be the schematic flow sheet of the image automatic generation method of the embodiment of the invention.As shown in Figure 1, the image automatic generation method in the present embodiment can comprise the steps:
Step S 101: after the render requests data of the predetermined format that receives the client transmission, described render requests data are resolved obtain analysis result, enter step S102, wherein, mainly comprise the content information of the scene picture that the user need to draw in the analysis result;
Step S102: according to described analysis result resource allocation data, enter step S103, mainly be that the resource datas such as the required text of scene picture, picture are drawn in configuration according to analysis result, these resource datas can obtain from Internet resources, can be from the database of server, to extract, perhaps otherwise dispose required resource data;
Step S103: use the drawing engine rendered images to obtain image data according to described analysis result and described resource data, enter step S104;
Step S104: described image data is returned described client, enter step S105;
Step S105: during the receipt notification data of the default form that client to be received sends, the render requests data mode to be entered such as enter, namely return the render requests data that step S101 waits for that client sends next time.
According to the invention described above scheme, only need to use the present invention program in one or more operating system platform in network, then after the user has sent the render requests data by client, after the present invention program receives these render requests data, can resolve these render requests data, and according to the required resource data of analysis result configuration, obtain image data according to described analysis result and described resource data rendered images again, the image data of completing is returned to described client, when client sends the receipt notification data behind described image data, the render requests data modes to be entered such as the present invention program then enters, wait for that namely receive client sends the render requests data next time, the present invention is as the basis take network platform communication, provide the service of drafting in the mode of using the present invention program at server end to all users of whole network, only need client and server end network enabled communication environment to get final product, thereby the drawing function that can only use in the unit platform expands to whole network, also so that client is crossed over the limitation that can only operate in Windows operating system to the use such as the GDI+ drawing engine, to arrive whole network such as the function sharing of GDI+ drawing engine, share use for the non-Windows client in the network or window client user.
Among embodiment, above-mentioned drawing engine can be the GDI+ engine therein, and the function of GDI+ engine does not repeat to be given unnecessary details at this.
Therein among embodiment, above-mentioned render requests data and above-mentioned receipt notification data are the xml data, because the xml data have the strong characteristics of interoperability, these xml data are the file layout of plain text, text-only file is passing fire wall and communicating by letter between different operating system easily, document content in the data of xml form separates fully with structure simultaneously, as long as by certain pre-specified format structure of call format, in the format structure that provides, add arbitrarily content, just can the scene content of rendered images be changed arbitrarily.
In the situation of render requests data for the xml data of reservation form, the user only need to add arbitrarily the content of drawing the scene picture according to subscribing form by client, can be that a plurality of pictures are drawn in request continuously, icon, text etc., rendered images, icon, the number of text etc. is unrestricted, during described render requests data are resolved in step S101, can open up the described analysis result of the interim storage of buffer area, when in step S103, using the drawing engine rendered images, also can open up the described image data of the interim storage of buffer area, in the image data that so once obtains, just can comprise many a plurality of pictures of completing, icon, the contents such as text, greatly shorten working time, improved the formation speed of image.
Moreover, above-mentioned render requests data can comprise the background information of scene picture yet to be built, pictorial information to be loaded, text message to be loaded etc., for example, the scene that needs as the user is the circle of 50 pixels for drawing radius in the red background of everybody 400 pixels of length and width, data are the scene picture of png (image file storage format) compressed format, the user can provide the data of the xml form of organizing following according to predetermined format (data of following xml form are a kind of example, and embodiments of the present invention are not limited to following form):
Figure BDA00002324387400041
Figure BDA00002324387400051
Embodiment 2
Image automatic generation method according to the invention described above, the present invention also provides a kind of image automatic creation system, this image automatic creation system can be installed in one or more operating system platform in the network, only need user's computer networking, just can draw by these required scene pictures of operating system platform (server) completing user that this image automatic creation system has been installed by access to netwoks, and use what operating system without any restriction to user's computing machine.Below be elaborated with regard to the embodiment of image automatic creation system of the present invention, as shown in Figure 2, image automatic creation system among this embodiment comprises receiver module 201, parsing module 202, configuration module 203, drafting module 204, sending module 205, wherein:
Receiver module 201 be used for to receive the render requests data that client sends, and with the render requests data transmission that receives to parsing module 202, also be used for when receiving the receipt notification data that client sends, entering and waiting for the render requests data mode;
Parsing module 202 is used for after receiving the render requests data render requests data being resolved, and wherein, mainly comprises the content information of the scene picture that the user need to draw in the analysis result;
Configuration module 203, be used for according to analysis result resource allocation data in the storer, mainly be according to resource datas such as the required text of analysis result configuration, pictures, these resource datas can obtain from Internet resources, can be from the database of server, to extract, perhaps also can otherwise dispose required resource data;
Drafting module 204 is used for using the drawing engine rendered images to obtain image data according to analysis result and resource data;
Sending module 205 is used for image data is returned client.
According to the invention described above scheme, only need to use image automatic creation system of the present invention in one or more operating system platform in network, then after the user has sent the render requests data by client, after the present invention program receives these render requests data, can resolve these render requests data, and according to the required resource data of analysis result configuration, obtain image data according to described analysis result and described resource data rendered images again, the image data of completing is returned to described client, when client sends the receipt notification data behind described image data, the render requests data modes to be entered such as the present invention program then enters, wait for that namely receive client sends the render requests data next time, the present invention is as the basis take network platform communication, mode with serviced component provides the service of drafting to all users of whole network, only need client and use operating system platform network enabled communication environment of the present invention to get final product, thereby the drawing function that can only use in the unit platform expands to whole network, also so that client is crossed over the limitation that can only operate in Windows operating system to the use such as the GDI+ drawing engine, to arrive whole network such as the function sharing of GDI+ drawing engine, share use for non-Windows client in the network or window client user.
Among embodiment, above-mentioned drawing engine can be the GDI+ engine therein, and the function of GDI+ engine does not repeat to be given unnecessary details at this.
Therein among embodiment, above-mentioned render requests data and above-mentioned receipt notification data are the xml data, because the xml data have the strong characteristics of interoperability, these xml data are the file layout of plain text, text-only file is passing fire wall and communicating by letter between different operating system easily, document content in the data of xml form separates fully with structure simultaneously, as long as by certain pre-specified format structure of call format, in the format structure that provides, add arbitrarily content, just can the scene content of rendered images be changed arbitrarily.
In the situation of render requests data for the xml data of reservation form, the user only need to add arbitrarily the content of drawing the scene picture according to subscribing form by client, can be that plurality of pictures is drawn in request continuously, icon, text etc., rendered images, icon, the number of text etc. is unrestricted, when 202 pairs of described render requests data of parsing module are resolved, can open up the described analysis result of the interim storage of buffer area, when drafting module 204 uses the drawing engine rendered images, also can open up the described image data of the interim storage of buffer area, in the image data that so once obtains, just can comprise many pictures of completing, icon, the contents such as text, greatly shorten working time, improved the formation speed of image.
Moreover above-mentioned render requests data can comprise the background information of scene picture yet to be built, pictorial information to be loaded, text message to be loaded etc.
The present invention has following advantage and beneficial effect with respect to prior art:
(1) the present invention communicates by letter with the network platform as the basis take the Image Rendering engine, mode with serviced component provides the Image Rendering service to all users of whole network, thereby can only in the unit platform, use the Function Extension such as drawing engines such as GDI+ to arrive whole network, so that client has been crossed over the limitation that the use of GDI+ can only operate in Windows operating system, both support the application program of Windows operating system to use, and supported again the application program of non-Windows operating system to use;
(2) in the network environment of a plurality of operating system communications, client need not be loaded down with trivial details quote configuration, connect, any client can directly send the form render requests data of reservation form in the network to the network-side of serviced component, making a plurality of clients be not limited only to serviced component to the use such as drawing engines such as GDI+ uses in local Windows operating system platform, all clients all can be shared the use such as the function of the drawing engines such as GDI+ in the network, and serviced component directly returns such as the drawn image data of the drawing engines such as GDI+ to client;
(3) for various reasons, a lot of compiling platforms are not directly supported the quoting of dynamic base of GDI+, those are not supported the development platform that GDI+ quotes, the software developer who wants again to continue with the drawing function of GDI+ is the technical bottleneck that steps not pass by, the present invention is with regard to this problem of good solution, as long as application software network enabled communication environment, regardless of what development platform that application software is used, only needing according to the rules, the operating system platform transmission render requests data to using the present invention program of form just can continue to use the GDI+ drawing function;
(4) serviced component can be in network environment complete cross-platform use GDI+ drawing function, as long as network connection is normal, the operating system of not moving in the managed network is the operating system of Windows operating system or non-Windows environment, only need application software to get final product to the render requests data that serviced component sends prescribed form, having solved so much develops software in non-Windows operating system can continue to use the GDI+ function of Windows environment operation, removed the mapping software module of in the non-Windows operating system environment, again developing identical functions from, from solving to a great extent the software development worry of the cross-platform use of developer GDI+, alleviate developer's development.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. an image automatic generation method is characterized in that this method comprises the steps:
After the render requests data that receive the predetermined format that client sends, described render requests data are resolved obtain analysis result;
According to described analysis result resource allocation data;
Use the drawing engine rendered images to obtain image data according to described analysis result and described resource data;
Described image data is returned described client;
When waiting to receive the receipt notification data of the predetermined format that described client sends, the render requests data mode to be entered such as enter.
2. image automatic generation method according to claim 1 is characterized in that, described drawing engine is the GDI+ engine.
3. image automatic generation method according to claim 1 and 2 is characterized in that, described render requests data and described receipt notification data are the xml data.
4. image automatic generation method according to claim 3 is characterized in that, when described render requests data are resolved, opens up the described analysis result of the interim storage of buffer area; When using the drawing engine rendered images, open up the described image data of the interim storage of buffer area.
5. image automatic generation method according to claim 1 and 2 is characterized in that, described render requests data comprise the background information of scene picture yet to be built, pictorial information to be loaded, text message to be loaded.
6. an image automatic creation system is characterized in that, comprising:
Receiver module be used for to receive the render requests data that client sends, and with the render requests data transmission that receives to parsing module, also be used for when receiving the receipt notification data that client sends, entering and waiting for the render requests data mode;
Parsing module is used for after receiving described render requests data described render requests data being resolved;
Configuration module is used for according to described analysis result resource allocation data in the storer;
Drafting module is used for using the drawing engine rendered images to obtain image data according to described analysis result and described resource data;
Sending module is used for described image data is returned described client.
7. image automatic creation system according to claim 6 is characterized in that, described drawing engine is the GDI+ engine.
8. according to claim 6 or 7 described image automatic creation systems, it is characterized in that described render requests data are the xml data.
9. image automatic creation system according to claim 8 is characterized in that, when described parsing module is resolved described render requests data at described parsing module, opens up the described analysis result of the interim storage of buffer area; Described drafting module is opened up the described image data of the interim storage of buffer area when using the drawing engine rendered images.
10. according to claim 6 or 7 described image automatic creation systems, it is characterized in that described render requests data comprise the background information of scene picture yet to be built, pictorial information to be loaded, text message to be loaded.
CN201210422439.4A 2012-10-29 2012-10-29 image automatic generation method and system Expired - Fee Related CN102968807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210422439.4A CN102968807B (en) 2012-10-29 2012-10-29 image automatic generation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210422439.4A CN102968807B (en) 2012-10-29 2012-10-29 image automatic generation method and system

Publications (2)

Publication Number Publication Date
CN102968807A true CN102968807A (en) 2013-03-13
CN102968807B CN102968807B (en) 2015-12-16

Family

ID=47798933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210422439.4A Expired - Fee Related CN102968807B (en) 2012-10-29 2012-10-29 image automatic generation method and system

Country Status (1)

Country Link
CN (1) CN102968807B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103531027A (en) * 2013-10-31 2014-01-22 广东威创视讯科技股份有限公司 Drawing method and system for traffic intersection signal timing-sequence diagram
CN104020849A (en) * 2014-05-30 2014-09-03 爱培科科技开发(深圳)有限公司 Multi-program simultaneous display method and system based on windows CE
CN104866308A (en) * 2015-05-18 2015-08-26 百度在线网络技术(北京)有限公司 Scenario image generation method and apparatus
CN107278363A (en) * 2015-03-27 2017-10-20 英特尔公司 System and technology for network service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845177A (en) * 2006-05-17 2006-10-11 浙江大学 Three-dimensional remote rendering system and method based on image transmission
US20100153842A1 (en) * 2008-12-12 2010-06-17 Microsoft Corporation Rendering source content for display
CN101794455A (en) * 2009-01-21 2010-08-04 施昊 Drawable network editor and network information input editing system
CN102609248A (en) * 2011-12-28 2012-07-25 方伟 Integrated avionics system modeling and simulation platform based on MDA (model driven architecture)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845177A (en) * 2006-05-17 2006-10-11 浙江大学 Three-dimensional remote rendering system and method based on image transmission
US20100153842A1 (en) * 2008-12-12 2010-06-17 Microsoft Corporation Rendering source content for display
CN101794455A (en) * 2009-01-21 2010-08-04 施昊 Drawable network editor and network information input editing system
CN102609248A (en) * 2011-12-28 2012-07-25 方伟 Integrated avionics system modeling and simulation platform based on MDA (model driven architecture)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘磊: "GML可视化策略的比较研究", 《江西理工大学学报》, vol. 31, no. 5, 31 October 2010 (2010-10-31), pages 16 - 19 *
周江林: "过程工业监测平台动态监测画面编辑系统的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 11, 15 November 2008 (2008-11-15) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103531027A (en) * 2013-10-31 2014-01-22 广东威创视讯科技股份有限公司 Drawing method and system for traffic intersection signal timing-sequence diagram
CN104020849A (en) * 2014-05-30 2014-09-03 爱培科科技开发(深圳)有限公司 Multi-program simultaneous display method and system based on windows CE
CN104020849B (en) * 2014-05-30 2015-09-30 爱培科科技开发(深圳)有限公司 Based on multiprogram display packing and the system simultaneously of Windows CE
CN107278363A (en) * 2015-03-27 2017-10-20 英特尔公司 System and technology for network service
CN104866308A (en) * 2015-05-18 2015-08-26 百度在线网络技术(北京)有限公司 Scenario image generation method and apparatus

Also Published As

Publication number Publication date
CN102968807B (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN108388460B (en) Remote real-time rendering platform construction method based on graphic cluster
CN111614780B (en) Cloud rendering system and method
Paternò et al. A logical framework for multi-device user interfaces
CN113902866B (en) Double-engine driven digital twin system
CN105979009A (en) Method for automatically balancing increased load of cloud application container
CN103092599A (en) Software develop kit
US20190140982A1 (en) Communication Methods and Systems, Electronic Devices, and Computer Clusters
CN104035683A (en) Split-screen multitask interaction method for communication terminal
CN102968807B (en) image automatic generation method and system
WO2023083208A1 (en) Cloud desktop system processing method, cloud desktop system control method and related device
CN112202744B (en) Multi-system data communication method and device
CN112099888A (en) Picture display method and system and zero terminal
US8860740B2 (en) Method and apparatus for processing a display driver in virture desktop infrastructure
CN114237840A (en) Resource interaction method, device, terminal and storage medium
CN104243459A (en) Virtual desktop implementation method, device and system and terminal
CN101155174A (en) Remote subscriber interface service implementing method based on common protocol
EP3835967A1 (en) Card data display method and apparatus, and storage medium
CN114726905B (en) Method, device, equipment and storage medium for accessing Tbox network into Android system
CN113596164B (en) Data access method, device, system, equipment and medium
CN104038511A (en) Resource management method and apparatus
CN112272223B (en) Application running method and device, server and computer readable storage medium
CN115378937A (en) Distributed concurrency method, device and equipment for tasks and readable storage medium
CN101581984A (en) Equipment and method with virtual mouse guide based on remote cross-network
CN107870803A (en) The data redirection optimization method of intelligence desktop virtualization, device and system
CN113691575A (en) Communication method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151216