CN101446902B - Method and device for integrating ERP system - Google Patents

Method and device for integrating ERP system Download PDF

Info

Publication number
CN101446902B
CN101446902B CN2008102404381A CN200810240438A CN101446902B CN 101446902 B CN101446902 B CN 101446902B CN 2008102404381 A CN2008102404381 A CN 2008102404381A CN 200810240438 A CN200810240438 A CN 200810240438A CN 101446902 B CN101446902 B CN 101446902B
Authority
CN
China
Prior art keywords
handle
child control
erp system
specific child
class name
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.)
Active
Application number
CN2008102404381A
Other languages
Chinese (zh)
Other versions
CN101446902A (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.)
Caxa Technology Co Ltd
Original Assignee
北京数码大方科技有限公司
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 北京数码大方科技有限公司 filed Critical 北京数码大方科技有限公司
Priority to CN2008102404381A priority Critical patent/CN101446902B/en
Publication of CN101446902A publication Critical patent/CN101446902A/en
Application granted granted Critical
Publication of CN101446902B publication Critical patent/CN101446902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method for integrating an ERP system. The method comprises the following steps: acquiring the main interface window of the ERP system from the current open window; acquiring a specific sub-control from the sub-controls of the main interface window; and operating the ERP system by operating the specific sub-control. The invention further provides a device for integrating the ERP system. The device comprises a main interface module for acquiring the main interface window of the ERP system from the current open window; a sub-control module for acquiring the specific sub-control from the sub-controls of the main interface window; and an operation module for operating the ERP system by operating the specific sub-control. The method and the device can solve the problems in the prior art, such as large work load and difficulty in development and long system integration time, and can effectively save the ERP system integration time.

Description

The method and apparatus that is used for integrating ERP system
Technical field
The present invention relates to numerical control field, in particular to a kind of method and apparatus that is used for integrating ERP system.
Background technology
Along with deepening constantly of IT application in enterprises, many enterprises with product data management (PDM, Product Data Management) system as product engineering information management and integrated platform, resource informations such as the design of storage and uniform and management product, technology.These information also are the important input informations of Enterprise Resources Planning (ERP, Enterprise Resource Planning) system works operation simultaneously.There is bulk information all to have shared phenomenon between PDM and ERP system.Therefore, between PDM and ERP system, realize information integration, can not only make product to manufacture and design process more smooth and easy, and can avoid owing to information repeats to import the mistake of bringing, thereby transmit information exactly, promote whole enterprise to manufacture and design the collaborative work between the department.Integrated between PDM and ERP system is the IT application in enterprises demands of applications.
At present, mainly contain following several scheme for integrated between PDM and ERP system:
(1) intrinsic function calls
This integrated approach is the api function accessing database that utilizes PDM and ERP system to provide separately, to realize the message exchange between two systems.This method needs PDM and ERP system that the function and the api interface of visit underlying database all will be provided, and often needs original system developer's support.The development amount is big, integrated cost is high, but can obtain higher efficient.
(2) immediate data storehouse visit
This integrated approach is by the analysis to PDM and ERP system database, directly database and attribute thereof is conducted interviews and realizes message exchange between two systems.Using this integrated approach is to be prerequisite with the database structure analysis to PDM and ERP system, but the Database Systems of most of PDM and ERP system are all very huge, putting the relation between the system data table in order, and guarantee the correctness of data, is the very work of difficulty.Certainly, if system module is few, data are few, and this method is a reasonable selection.
(3) intermediate file exchange
This integrated approach is to make PDM and ERP two systems according to unified file layout and interface requirement, the api function that utilizes system to provide, and establishment importing/derivation program is separately realized the message exchange of two systems.This mode realizes easily, but needs both sides' developer to consult jointly, determines intermediate file format, and efficient, security are not high.
(4) middleware Technology
Typical middleware Technology, as the BizTalk software of MS company, the XI software of SAP company can reduce integrated time and cost in theory effectively, but system and enforcement personnel are all had high requirements, and successful precedent is also few.
In realizing process of the present invention, the inventor finds above several technical scheme, all requires simultaneously PDM and two systems of ERP to be done exploitation, and because ERP system is of a great variety, do integratedly with different ERP system, development amount and difficulty are bigger, and the system integration time is long.
Summary of the invention
The present invention aims to provide a kind of method and apparatus that is used for integrating ERP system, and it is bigger to solve prior art development amount and difficulty, the problem that the system integration time is long.
In an embodiment of the present invention, provide a kind of method that is used for integrating ERP system, may further comprise the steps: from when the window of front opening, obtaining the main interfaces windows of ERP system, specifically comprised: obtain all handle and class names thereof when the window of front opening; Handle by main interfaces windows and class name filter when the handle of the window of front opening and class name thereof from all and obtain main interfaces windows; From the child control of main interfaces windows, obtain specific child control, specifically comprise: the handle and the class name thereof that obtain all child controls in the main interfaces windows; Handle by specific child control and class name filter from the handle of all child controls and class name thereof and obtain specific child control; By operating specific child control, specifically comprise: to the specific child control assignment of obtaining so that ERP system is operated; Trigger the incident of specific child control, in order to ERP system being operated with incident and assignment.
Preferably, in above-mentioned method, ERP system is moved on the WIN32 platform, obtains all handle and class names thereof when the window of front opening and specifically comprises: by calling WIN32 API EnumWindows, obtain all handles when the window of front opening from the WIN32 platform; By calling API GetClassName, obtain the class name of each handle.
Preferably, in above-mentioned method, ERP system is moved on the WIN32 platform, the handle and the class name thereof that obtain all child controls in the main interfaces windows specifically comprise: by calling WIN32 API EnumChildWindows, obtain the handle of all child controls in the main interfaces windows from the WIN32 platform; By calling API GetClassName, obtain the class name of each handle.
Preferably, in above-mentioned method, also comprise: obtain handle and the class name thereof that instrument obtains all controls of ERP system by handle and class name in advance, all controls comprise main interfaces windows and child control thereof.
Preferably, in above-mentioned method, ERP system is moved on the WIN32 platform, and it is spylite software that handle and class name obtain instrument.
Preferably, in above-mentioned method, ERP system is moved on the WIN32 platform, and the specific child control assignment of obtaining is specifically comprised: by calling WIN32 APISendMessage (IntPtr hWnd, int wMsg, int wParam, StringBuilderlParam) to specific child control assignment, wherein, hWnd is the handle of the window of specific child control, wMsg composes the message of giving specific child control, and wParam and lParam are the parameters of message.
Preferably, in above-mentioned method, ERP system is moved on the WIN32 platform, the incident that triggers specific child control specifically comprises: by calling WIN32 APISendMessage (IntPtr hWnd, int wMsg, int wParam, int lParam) press message to specific child control transmission left mouse button; Call WIN32 API PostMessage (IntPtrhWnd, int wMsg, int wParam, int lParam) sends the left mouse button release message to specific child control, wherein, hWnd is the handle of the window of specific child control, and wMsg composes the message of giving specific child control, and wParam and lParam are the parameters of message.
Preferably, in above-mentioned method, it is characterized in that, comprise so that ERP system is operated specifically by operating specific child control: the specific child control of operation in the PDM system, with the data of transferring ERP system in the PDM system or the data of transferring the PDM system to upgrade ERP system.
Preferably, in above-mentioned method, comprise so that ERP system is operated specifically by operating specific child control: operate specific child control by tool software, with the data of transferring ERP system in the PDM system or the data of transferring the PDM system to upgrade ERP system.
In an embodiment of the present invention, a kind of device that is used for integrating ERP system also is provided, comprise: main interface module, be used for obtaining the main interfaces windows of ERP system from window when front opening, wherein, described main interface module comprises: first acquisition module is used to obtain all handle and class names thereof when the window of front opening; First filtering module is used for obtaining described main interfaces windows by the handle and the class name of described main interfaces windows from described all handle and class name filtrations thereof when the window of front opening; The child control module is used for obtaining specific child control from the child control of main interfaces windows, and wherein, described child control module: second acquisition module is used for obtaining the handle and the class name thereof of described main all child controls of interfaces windows; Second filtering module is used for handle by described specific child control and class name and filters from the handle of described all child controls and class name thereof and obtain described specific child control; Operational module is used for by operating specific child control so that ERP system is operated, and wherein, described operational module comprises: the assignment module is used for the described specific child control assignment to obtaining; Trigger module is used to trigger the incident of described specific child control, to utilize described incident and assignment described ERP system is operated.
Because by from work as the window of front opening, obtaining the main interfaces windows and the specific child control thereof of ERP system, realize the integrated of ERP system, it is bigger to have solved prior art development amount and difficulty, the problem that the system integration time is long, thus can save the integrated time of ERP system effectively.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram according to the method that is used for integrating ERP system of the embodiment of the invention;
Fig. 2 shows the schematic representation of apparatus that is used for integrating ERP system according to the embodiment of the invention;
Fig. 3 shows the process flow diagram of the method that is used for integrating ERP system according to the preferred embodiment of the invention;
Fig. 4 shows and utilizes the handle that instrument spylite gets access to and the snapshot of class name according to the preferred embodiment of the invention;
Fig. 5 shows the process flow diagram that writes the login system of material data according to the preferred embodiment of the invention to ERP;
Fig. 6 shows the snapshot that writes the login system of material data according to the preferred embodiment of the invention to ERP;
Fig. 7 shows the process flow diagram that writes the preservation data of material data according to the preferred embodiment of the invention to ERP;
Fig. 8 shows the snapshot that writes the preservation data of material data according to the preferred embodiment of the invention to ERP.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 1 shows the process flow diagram according to the method that is used for integrating ERP system of the embodiment of the invention, may further comprise the steps:
Step S10 is from obtaining the main interfaces windows of ERP system when the window of front opening;
Step S20 obtains specific child control from the child control of main interfaces windows;
Step S30 is by operating specific child control so that ERP system is operated.
This method is owing to by from obtain the main interfaces windows and the specific child control thereof of ERP system when the window of front opening, realize the integrated of ERP system, and it is bigger to have solved prior art development amount and difficulty, the problem that the system integration time is long.Use the method among the present invention can save the integrated time of ERP system effectively.
Preferably, step S10 specifically comprises: obtain all handle and class names thereof when the window of front opening; Handle by main interfaces windows and class name filter when the handle of the window of front opening and class name thereof from all and obtain main interfaces windows.
The preferred embodiment provides from obtain the specific embodiments of the main interfaces windows of ERP system when the window of front opening.
Preferably, ERP system is moved on the WIN32 platform, obtains all handle and class names thereof when the window of front opening and specifically comprises: by calling WIN32 APIEnumWindows, obtain all handles when the window of front opening from the WIN32 platform; By calling API GetClassName, obtain the class name of each handle.
The preferred embodiment provides the related function that utilizes WIN32 to obtain all when the handle of the window of front opening and the specific embodiments of class name thereof.
Every program of on the WIN32 platform, moving, all follow the common standard of WIN32, control handle (comprising the child control handle in window handle and the window) is all arranged, can obtain control itself, thereby obtain control property and control is controlled by the control handle.Based on above theoretical foundation, can therefrom filter the main interfaces windows that obtains ERP system by obtaining all handle and class names thereof when the window of front opening.
Preferably, step S20 specifically comprises: the handle and the class name thereof that obtain all child controls in the main interfaces windows; Handle by specific child control and class name filter from the handle of all child controls and class name thereof and obtain specific child control.
The preferred embodiment provides the specific embodiments of obtaining specific child control from the child control of the main interfaces windows of ERP system.
Preferably, ERP system is moved on the WIN32 platform, the handle and the class name thereof that obtain all child controls in the main interfaces windows specifically comprise: by calling WIN32 APIEnumChildWindows, obtain the handle of all child controls in the main interfaces windows from the WIN32 platform; By calling API GetClassName, obtain the class name of each handle.
The preferred embodiment provides the handle of all child controls in the main interfaces windows that the related function that utilizes WIN32 obtains ERP system and the specific embodiments of class name thereof.
Every program of on the WIN32 platform, moving, all follow the common standard of WIN32, control handle (comprising the child control handle in window handle and the window) is all arranged, can obtain control itself, thereby obtain control property and control is controlled by the control handle.Based on above theoretical foundation, the child control at main interface that can be by obtaining ERP system is controlled the ERP interface, finish ERP system data such as login, material and BOM preservation and read, thereby realize the integrated of ERP system.
Preferably, in above-mentioned method, also comprise: obtain handle and the class name thereof that instrument obtains all controls of ERP system by handle and class name in advance, all controls comprise main interfaces windows and child control thereof.Like this, can utilize the handle and the class name thereof of all controls that obtain in advance, filter when the handle of the window of front opening and class name thereof from all and to obtain main interfaces windows, and from the handle of all child controls of main interfaces windows and class name thereof, filter and obtain specific child control.
Preferably, ERP system is moved on the WIN32 platform, and it is spylite software that handle and class name obtain instrument.Like this, can directly obtain the handle and the class name of the control of related system by spylite software.
The preferred embodiment provides a kind of mode of obtaining handle and class name.
Preferably, step S30 specifically comprises: to the specific child control assignment of obtaining; Trigger the incident of specific child control, in order to ERP system being operated with incident and assignment.
The preferred embodiment provides by operating the specific embodiments of specific child control so that ERP system is operated.
Preferably, ERP system is moved on the WIN32 platform, the specific child control assignment of obtaining is specifically comprised: by calling WIN32 API SendMessage (IntPtr hWnd, int wMsg, int wParam, StringBuilder lParam) to specific child control assignment, wherein, hWnd is the handle of the window of specific child control, and wMsg composes the message of giving specific child control, and wParam and lParam are the parameters of described message.
The preferred embodiment provides the specific embodiments to the specific child control assignment of obtaining.
Preferably, ERP system is moved on the WIN32 platform, and the incident that triggers specific child control specifically comprises: by calling WIN32 API SendMessage (IntPtr hWnd, intwMsg, int wParam, int lParam) press message to specific child control transmission left mouse button; Call WIN32 API PostMessage (IntPtr hWnd, int wMsg, int wParam, int lParam) sends the left mouse button release message to specific child control, wherein, hWnd is the handle of the window of specific child control, and wMsg composes the message of giving specific child control, and wParam and lParam are the parameters of described message.
The preferred embodiment provides the specific embodiments of the incident that triggers specific child control.Wherein, hWnd is the handle of the window of specific child control, its window writing routine will receive message, if this parameter is HWND_BROADCAST, then message will be sent to all top-level windows in the system, comprise invalid or sightless non-owned window, the window that is capped and pop-up window, but message can not be sent to subwindow.
Function WIN32 API SendMessage (IntPtr hWnd, int wMsg, intwParam, StringBuilder lParam) is specific as follows:
For example: send the carriage return button to specified window:
SendMessage (handle, WM_KEYDOWN, VK_RETURN, 0); Perhaps
Sendmessage(parent_hWnd,WM_CHAR,13,0);
The detailed description of parameter wParam in the function is as shown in table 1:
Table 1
The decimal system Sexadecimal The WINUSER.H identifier Essential? The IBM compatible keyboard
8 08 VK_BACK Be ?Backspace
9 09 VK_TAB Be ?Tab
12 0C VK_CLEAR Numeric keypad 5 when Num Lock closes
13 0D VK_RETURN Be Enter (perhaps another)
16 10 VK_SHIFT Be Shift (perhaps another)
17 11 VK_CONTROL Be Ctrl (perhaps another)
18 12 VK_MENU Be Alt (perhaps another)
19 13 VK_PAUSE ?Pause
20 14 VK_CAPITAL Be ?Caps?Lock
27 1B VK_ESCAPE Be ?Esc
32 20 VK_SPACE Be ?Spacebar
33 21 VK_PRIOR Be ?Page?Up
34 22 VK_NEXT Be ?Page?Down
35 23 VK_END Be ?End
36 24 VK_HOME Be Home
37 25 VK_left Be Left side arrow
38 26 VK_UP Be Upward arrow
39 27 VK_right Be Right arrow
The decimal system Sexadecimal The WINUSER.H identifier Essential? The IBM compatible keyboard
40 28 VK_DOWN Be Following arrow
41 29 VK_SELECT
42 2A VK_PRINT
43 2B VK_EXECUTE
44 2C VK_SNAPSHOT Print?Screen
45 2D VK_INSERT Be Insert
46 2E VK_DELETE Be Delete
47 2F VK_HELP
Above preferred embodiment provides the related function that utilizes WIN32 to operate the specific embodiments of specific child control with the operation ERP system.By to specific child control assignment, and trigger events corresponding, finish ERP system data such as login, material and BOM preservation and read, thereby realize the integrated of ERP system.
Preferably, step S30 specifically comprises: the specific child control of operation in the PDM system, with the data of transferring ERP system in the PDM system or the data of transferring the PDM system to upgrade ERP system.
The preferred embodiment provides a kind of embodiment of the ERP system and the PDM system integration.
Preferably, step S30 specifically comprises: operate specific child control by tool software, with the data of transferring ERP system in the PDM system or the data of transferring the PDM system to upgrade ERP system.
The preferred embodiment provides the another embodiment of the ERP system and the PDM system integration.
Above preferred embodiment provides the specific embodiments of the ERP system and the PDM system integration.Generally speaking, can directly obtain or write data by the API that PDM provides, the method that ERP then needs the interface to control.
Fig. 2 shows the schematic representation of apparatus that is used for integrating ERP system according to the embodiment of the invention, and this device comprises: main interface module 10 is used for from obtain the main interfaces windows of ERP system when the window of front opening; Child control module 20 is used for obtaining specific child control from the child control of main interfaces windows; Operational module 30 is used for by operating specific child control so that ERP system is operated.
This device is owing to obtain the main interfaces windows and the specific child control thereof of ERP system from work as the window of front opening by main interface module and child control module, realize the integrated of ERP system, it is bigger to have solved prior art development amount and difficulty, the problem that the system integration time is long.Use the device among the present invention can save the integrated time of ERP system effectively.
Fig. 3 shows the process flow diagram of the method that is used for integrating ERP system according to the preferred embodiment of the invention, may further comprise the steps:
Step S 102, obtain the handle and the class name of all controls (comprising main interfaces windows and child control thereof) of ERP system, can obtain the handle and the class name (as shown in Figure 4) of any control by instrument spylite;
Step S 104, obtain the main interfaces windows of ERP system, call WIN32 APIEnumWindows, can get access to handle when all main interfaces windows of front opening, call the class name that API GetClassName can obtain each handle, utilize the handle of all controls of the ERP system of knowing among the step S102 and the main interfaces windows that class name filters out ERP system;
Step S106, obtain the child control under the main interfaces windows of ERP system, call the handle that WIN32 API EnumChildWindows imports main interfaces windows into, can obtain all child controls under the main interfaces windows, the specific child control that can filter out needs according to the handle and the class name of child control;
Step S108 calls WIN32 API SendMessage (IntPtr hWnd, intwMsg, int wParam, StringBuilder lParam) and gives specific child control assignment, and triggers the incident of correlator control.
Wherein, the incident of triggering correlator control comprises:
A) send left mouse button to specific child control and press message, call WIN32 APISendMessage (IntPtr hWnd, int wMsg, int wParam, int lParam), first parameter is the child control handle.
B) send the left mouse button release message to specific child control, call WIN32 APIPostMessage (IntPtr hWnd, int wMsg, int wParam, int lParam), first parameter is the child control handle.
The preferred embodiment is owing to by from obtain the main interfaces windows and the specific child control thereof of ERP system when the window of front opening, realize the integrated of ERP system, and it is bigger to have solved prior art development amount and difficulty, the problem that the system integration time is long.Use the method among the present invention can save the integrated time of ERP system effectively, and evaded the technical risk of ERP system aspect.
What Fig. 5, Fig. 6, Fig. 7 and Fig. 8 showed the method that is used for integrating ERP system according to the preferred embodiment of the invention writes the process flow diagram and the snapshot of material data to ERP.
At first, land ERP system as shown in Figure 5 and Figure 6, may further comprise the steps:
Step S202, the software of startup ERP system;
Step S204 obtains the main interfaces windows of ERP system;
Step S206 obtains the username and password child control, gives the child control assignment;
Step S208 sends carriage return message to main interfaces windows, finishes login.
Then, preserve material data as shown in Figure 7 and Figure 8, may further comprise the steps to ERP:
Step S302 obtains ERP order typing control, to control write command mm02, sends carriage return message then, enters the material editor;
Step S304 at the material editor of opening, obtains any control that needs modification, and revises its attribute;
Step S306 obtains the preservation control, sends carriage return message to preserving control, finishes the preservation of material.
The preferred embodiment provides the specific embodiments that writes material data to ERP system.
From above description, as can be seen, the above embodiments of the present invention have realized following technique effect: because by obtain the main interfaces windows and the specific child control thereof of ERP system from work as the window of front opening, realize the integrated of ERP system, it is bigger to have solved prior art development amount and difficulty, the problem that the system integration time is long.Use the method among the present invention can save the integrated time of ERP system effectively, and evaded the technical risk of ERP system aspect.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method that is used for integrating ERP system is characterized in that, may further comprise the steps:
From when the window of front opening, obtaining the main interfaces windows of ERP system, specifically comprise:
Obtain all handle and class names thereof when the window of front opening;
Handle by described main interfaces windows and class name from described all when the handle of the window of front opening and class name thereof, filter and obtain described main interfaces windows; From the child control of described main interfaces windows, obtain specific child control, specifically comprise:
Obtain the handle and the class name thereof of all child controls in the described main interfaces windows;
Handle by described specific child control and class name filter from the handle of described all child controls and class name thereof and obtain described specific child control;
By operating described specific child control, specifically comprise so that described ERP system is operated:
To the described specific child control assignment of obtaining;
Trigger the incident of described specific child control, described ERP system is operated to utilize described incident and assignment.
2. method according to claim 1 is characterized in that described ERP system is moved on the WIN32 platform, obtain all handle and class names thereof when the window of front opening and specifically comprise:
By calling WIN32 API EnumWindows, from described WIN32 platform, obtain all handles when the window of front opening;
By calling API GetClassName, obtain the class name of described each handle.
3. method according to claim 1 is characterized in that described ERP system is moved on the WIN32 platform, the handle and the class name thereof that obtain all child controls in the described main interfaces windows specifically comprise:
By calling WIN32 API EnumChildWindows, from described WIN32 platform, obtain the handle of all child controls in the described main interfaces windows;
By calling API GetClassName, obtain the class name of described each handle.
4. method according to claim 1 is characterized in that, also comprises:
Obtain handle and the class name thereof that instrument obtains all controls of described ERP system by handle and class name in advance, described all controls comprise main interfaces windows and child control thereof.
5. method according to claim 4 is characterized in that described ERP system is moved on the WIN32 platform, it is spylite software that described handle and class name obtain instrument.
6. method according to claim 1 is characterized in that described ERP system is moved on the WIN32 platform, the described specific child control assignment of obtaining is specifically comprised:
By calling WIN32 API SendMessage (IntPtr hWnd, int wMsg, int wParam, StringBuilder lParam) to described specific child control assignment, wherein, hWnd is the handle of the window of described specific child control, and wMsg composes the message of giving described specific child control, and wParam and lParam are the parameters of described message.
7. method according to claim 1 is characterized in that described ERP system is moved on the WIN32 platform, the incident that triggers described specific child control specifically comprises:
Press message by calling WIN32 API SendMessage (IntPtr hWnd, int wMsg, int wParam, int lParam) to described specific child control transmission left mouse button;
Call WIN32 API PostMessage (IntPtr hWnd, int wMsg, intwParam, int lParam) and send the left mouse button release message to described specific child control,
Wherein, hWnd is the handle of the window of described specific child control, and wMsg composes the message of giving described specific child control, and wParam and lParam are the parameters of described message.
8. according to each described method of claim 1 to 7, it is characterized in that, comprise so that described ERP system is operated specifically by operating described specific child control:
The described specific child control of operation in the PDM system, with the data of transferring described ERP system in described PDM system or the data of transferring described PDM system to upgrade described ERP system.
9. according to each described method of claim 1 to 7, it is characterized in that, comprise so that described ERP system is operated specifically by operating described specific child control:
Operate described specific child control by tool software, with the data of transferring described ERP system in the PDM system or the data of transferring described PDM system to upgrade described ERP system.
10. a device that is used for integrating ERP system is characterized in that, comprising:
Main interface module is used for from obtain the main interfaces windows of ERP system when the window of front opening, and wherein, described main interface module comprises:
First acquisition module is used to obtain all handle and class names thereof when the window of front opening;
First filtering module is used for obtaining described main interfaces windows by the handle and the class name of described main interfaces windows from described all handle and class name filtrations thereof when the window of front opening;
The child control module is used for obtaining specific child control from the child control of described main interfaces windows, wherein, and described child control module:
Second acquisition module is used for obtaining the handle and the class name thereof of described main all child controls of interfaces windows;
Second filtering module is used for handle by described specific child control and class name and filters from the handle of described all child controls and class name thereof and obtain described specific child control;
Operational module is used for by operating described specific child control so that described ERP system is operated, and wherein, described operational module comprises:
The assignment module is used for the described specific child control assignment to obtaining;
Trigger module is used to trigger the incident of described specific child control, to utilize described incident and assignment described ERP system is operated.
CN2008102404381A 2008-12-19 2008-12-19 Method and device for integrating ERP system Active CN101446902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102404381A CN101446902B (en) 2008-12-19 2008-12-19 Method and device for integrating ERP system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102404381A CN101446902B (en) 2008-12-19 2008-12-19 Method and device for integrating ERP system

Publications (2)

Publication Number Publication Date
CN101446902A CN101446902A (en) 2009-06-03
CN101446902B true CN101446902B (en) 2011-08-31

Family

ID=40742593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102404381A Active CN101446902B (en) 2008-12-19 2008-12-19 Method and device for integrating ERP system

Country Status (1)

Country Link
CN (1) CN101446902B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513970B (en) * 2012-06-15 2016-12-21 华润赛美科微电子(深圳)有限公司 Data extraction method and system thereof for integrated circuit automatic fraction collector
CN110189098A (en) * 2019-05-13 2019-08-30 北京机电工程总体设计部 A kind of online reviewing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6175364B1 (en) * 1997-04-01 2001-01-16 Sun Microsystems, Inc. Framework and method for interfacing a GUI, container with a GUI component
CN1567193A (en) * 2003-06-18 2005-01-19 卢梦帆 Design method for main background structure of logging of ERP system program
CN101216766A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 Atom manipulation encapsulation apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6175364B1 (en) * 1997-04-01 2001-01-16 Sun Microsystems, Inc. Framework and method for interfacing a GUI, container with a GUI component
CN1567193A (en) * 2003-06-18 2005-01-19 卢梦帆 Design method for main background structure of logging of ERP system program
CN101216766A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 Atom manipulation encapsulation apparatus and method

Also Published As

Publication number Publication date
CN101446902A (en) 2009-06-03

Similar Documents

Publication Publication Date Title
CN101506791B (en) Control method for controlling remote computer
CN101166118B (en) A method for processing user configuration information and service report system
CN1343933A (en) Terminating machine for computer network and method for recording operation history
US20070266054A1 (en) Method and system for salary planning and performance management
CN105068809A (en) PyQt-based platform for implementing automation project management and case execution
CN101102565B (en) A processing method, device and equipment of user data in communication terminal
CN102193793B (en) A kind of method and apparatus realizing software repeated usage
CN106357724A (en) Uniformly integrated information management platform system
US20140082512A1 (en) Mobile Device Interface Generator
CN101385014A (en) Command interface
CN100369519C (en) Operation maintenance system and method for base-station system
CN101446902B (en) Method and device for integrating ERP system
CN102692908A (en) Paperless workshop quality feedback method
CN102468965A (en) Intelligent message pushing system and method
DE60017821T2 (en) Telephone terminal with means for managing menu display and associated method
CN109377184B (en) Work order opening method, device, storage medium and terminal
CN104462631A (en) Circuit diagram generating device and circuit diagram generating method
CN100407144C (en) Method and device for starting sub module in application program
CN105955997A (en) Network teaching platform data management system
US20060161801A1 (en) Secured web based access of failed flows in an integration server
KR102507637B1 (en) Method for providing spreadsheet data processing service and electronic device thereof
CN102591633A (en) Maintenance device and application system
CN102903030B (en) The method that between heterogeneous system, different working flow carries out task process
CN101105751A (en) MIS system function transferring method and transferring device
CN100403294C (en) Method for real-time correcting data report of client terminal

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
C56 Change in the name or address of the patentee

Owner name: CAXA TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: BEIJING DIGITAL DAFANG TECHNOLOGY CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 100080, Room 802, satellite building, No. 63, Zhichun Road, Beijing, Haidian District

Patentee after: Beijing CAXA Technology Co., Ltd.

Address before: 100080, Room 802, satellite building, No. 63, Zhichun Road, Beijing, Haidian District

Patentee before: Beijing Digital Dafang Technology Co., Ltd.