CN104679580A - Upper computer program and lower computer program connecting method and system - Google Patents

Upper computer program and lower computer program connecting method and system Download PDF

Info

Publication number
CN104679580A
CN104679580A CN201310632206.1A CN201310632206A CN104679580A CN 104679580 A CN104679580 A CN 104679580A CN 201310632206 A CN201310632206 A CN 201310632206A CN 104679580 A CN104679580 A CN 104679580A
Authority
CN
China
Prior art keywords
connection
program
lower computer
host computer
computer
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.)
Pending
Application number
CN201310632206.1A
Other languages
Chinese (zh)
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 North Microelectronics Co Ltd
Original Assignee
Beijing North Microelectronics 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 North Microelectronics Co Ltd filed Critical Beijing North Microelectronics Co Ltd
Priority to CN201310632206.1A priority Critical patent/CN104679580A/en
Publication of CN104679580A publication Critical patent/CN104679580A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention provides an upper computer program and lower computer program connecting method and device. The upper computer program and lower computer program connecting method comprises the steps that an upper computer program starts multiple connecting threads to be respectively connected with multiple lower computer programs, wherein the upper computer program is connected with each lower computer program by starting one connecting thread; when the number of the multiple connecting threads completing connection is equal to the number of the multiple lower computer programs, it is determined that connection is completed. The upper computer program is connected with the multiple lower computer programs through the multiple connecting threads, the total time for connection of the multiple lower computer programs is the connecting time corresponding to the lower computer program needing longest connecting time, and the connecting time for the upper computer program and the lower computer programs is greatly shortened.

Description

The method of attachment of a kind of host computer procedure and program of lower computer and system
Technical field
The present invention relates to the technical field of semiconductor production line equipment, particularly relate to the method for attachment of a kind of host computer procedure and program of lower computer, and, the connected system of a kind of host computer procedure and program of lower computer.
Background technology
By physically link together, the integrated manufacturing system that can be used for processing different process module and transport module is called cluster device.Each technical module and transport module are controlled by corresponding control software design, and each control software design is referred to as a program of lower computer.Host computer procedure is responsible for connecting with multiple program of lower computer, and the service provided by multiple program of lower computer according to certain regular weaves together, and human-computer interaction interface is provided, make user operate the operation of whole cluster device easily by host computer procedure.
But cluster device usually can because of certain certain EM equipment module of reason disconnection, such as technical module is beginning to speak to safeguard, will close the program of lower computer that this module is corresponding.If now host computer procedure connects this program of lower computer again, connection failure will be caused because of Communication, and then affect host computer procedure startup.
In prior art, host computer procedure saves portion and comprises the configuration file of program of lower computer that needs connect, and which program of lower computer there is defined currently has need to connect.When host computer procedure starts, acquire the program of lower computer that will connect by reading this configuration file, then connect with these program of lower computer successively, the steps flow chart connected as shown in Figure 1.Wherein, node is program of lower computer.
Under normal circumstances, it is carry out in same thread that host computer procedure is connected with multiple program of lower computer, if with each program of lower computer successful connection, host computer procedure terminates this thread, carry out the subsequent operation of software startup, now being connected the spent time with program of lower computer is each tie-time sum, and the tie-time is long, can be long time namely user waits for.
But for abnormal conditions, such as certain program of lower computer is not activated, and user does not revise this configuration file, when host computer procedure attempts that program of lower computer connects therewith, connection failure can be caused, and follow-up program of lower computer also no longer connects, directly exit, terminate software startup.User can only search software startup failure cause by host computer procedure daily record.Further, user by amendment configuration file, can only delete the relevant configuration of this EM equipment module, again restarts host computer procedure and connect.Make attended operation loaded down with trivial details, improve the requirement of user operation, inconvenient user operation.
Summary of the invention
Embodiment of the present invention technical matters to be solved is to provide the method for attachment of a kind of host computer procedure and program of lower computer, with solve tie-time when host computer procedure and program of lower computer carry out attended operation long, process the loaded down with trivial details problem of abnormal conditions, make user operation convenient.
Present invention also offers the connected system of a kind of host computer procedure and program of lower computer, in order to ensure the implementation and application of said method.
In order to solve the problem, the embodiment of the invention discloses the method for attachment of a kind of host computer procedure and program of lower computer, comprising:
Host computer procedure starts multiple connection thread and is connected with multiple program of lower computer respectively simultaneously; Wherein, host computer procedure and each program of lower computer carry out being connected and start one and connect thread;
When completing the quantity of described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, judge connection.
Preferably, described host computer procedure comprises connection degree variables, and described connection degree variables initial value is 0, the described quantity having worked as described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, judge that the step of connection comprises:
When current connection thread completes connection, the value of described connection degree variables is increased by 1;
When the value of described connection degree variables is identical with the quantity of described multiple program of lower computer, judge connection.
Preferably, also comprise:
When current connection thread receives the information of the successful connection that program of lower computer sends, the information for described successful connection generates and program of lower computer successful connection event;
With program of lower computer successful connection event described in the thread display of invoke user interface;
When current connection thread receives the information of the connection failure that program of lower computer sends, the information for described connection failure generates and program of lower computer connection failure event;
With program of lower computer connection failure event described in the thread display of invoke user interface.
Preferably, described host computer procedure comprises the connection attribute corresponding with described program of lower computer, and described method also comprises:
When the connection thread successful connection of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to True, described True is the connection attribute of the described host computer procedure of instruction and described program of lower computer successful connection;
When the connection thread connection failure of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to False, and described False is the connection attribute of the described host computer procedure of instruction and described program of lower computer connection failure.
Preferably, also comprise:
When the connection attribute of described program of lower computer is True, call the subsequent operation that described program of lower computer is corresponding;
When the connection attribute of described program of lower computer is False, never call the subsequent operation that described program of lower computer is corresponding.
The embodiment of the invention also discloses the connected system of a kind of host computer procedure and program of lower computer, described system is arranged in host computer, comprising:
Multithreading link block, is connected with multiple program of lower computer respectively for starting multiple connection thread simultaneously; Wherein, host computer procedure and each program of lower computer carry out being connected and start one and connect thread;
Connecting determination module, for completing the quantity of described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, having judged connection.
Preferably, described host computer procedure comprises connection degree variables, and described connection degree variables initial value is 0, and described connection completes determination module and comprises:
Increment submodule, for when current connection thread completes connection, increases by 1 by the value of described connection degree variables;
Decision sub-module, for when the value of described connection degree variables is identical with the quantity of described multiple program of lower computer, has judged connection.
Preferably, also comprise:
Successful connection event generation module, during for receiving the information of successful connection that program of lower computer sends at current connection thread, the information for described successful connection generates and program of lower computer successful connection event;
Successful connection time showing module, for described in the thread display of invoke user interface with program of lower computer successful connection event;
Connection failure event generation module, during for receiving the information of connection failure that program of lower computer sends at current connection thread, the information for described connection failure generates and program of lower computer connection failure event;
Connection failure time showing module, for described in the thread display of invoke user interface with program of lower computer connection failure event.
Preferably, described host computer procedure comprises the connection attribute corresponding with described program of lower computer, and described system also comprises:
True attribute setup module, for when the connection thread successful connection of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to True, and described True is the connection attribute of the described host computer procedure of instruction and described program of lower computer successful connection;
False attribute setup module, for when the connection thread connection failure of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to False, and described False is the connection attribute of the described host computer procedure of instruction and described program of lower computer connection failure.
Preferably, also comprise:
True attribute processing module, for when the connection attribute of described program of lower computer is True, calls the subsequent operation that described program of lower computer is corresponding;
False attribute processing module, for when the connection attribute of described program of lower computer is False, never calls the subsequent operation that described program of lower computer is corresponding.
Compared with background technology, the present invention includes following advantage:
The present invention is connected with program of lower computer by multithreading, and connecting with program of lower computer the T.T. spent is the tie-time that tie-time the longest program of lower computer is corresponding, greatly reduces the time carrying out with program of lower computer being connected.
When the present invention can detect connection failure when connecting, user's program of lower computer connection failure therewith can be notified, avoid user by seeking system log analysis reason, user-friendly.
The present invention is after connection completes, detect and program of lower computer connection, subsequent treatment corresponding automatically carry out software startup when successful connection after, the program of lower computer for connection failure is then skipped and is not carried out subsequent treatment, avoid revising corresponding configuration file, make operation more simple and convenient.
Accompanying drawing explanation
Fig. 1 is that in a kind of prior art, host computer procedure and program of lower computer carry out the example flow diagram be connected;
Fig. 2 is the flow chart of steps of the method for attachment embodiment of a kind of host computer procedure of the present invention and program of lower computer;
Fig. 3 is the connection example flow diagram of a kind of host computer procedure of the present invention and program of lower computer;
Fig. 4 is the structured flowchart of the connected system embodiment of a kind of host computer procedure of the present invention and program of lower computer.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the embodiment of the present invention more become apparent, below in conjunction with the drawings and specific embodiments, the embodiment of the present invention is described in further detail.
With reference to Fig. 2, show the flow chart of steps of the method for attachment embodiment of a kind of host computer procedure of the present invention and program of lower computer, specifically comprise the steps:
Step 201, host computer procedure starts multiple connection thread and is connected with multiple program of lower computer respectively simultaneously; Wherein, host computer procedure is connected with each program of lower computer and starts one and connect thread;
The program segment of one section of independent operating is called as a thread.Single-threaded is that all statements of this section of program perform in order one by one, but wherein some statement can be put in another thread in specific implementation and perform, and multiple like this thread performs simultaneously, can save program execution time.
In the present invention, it is longer to call the execution time that host computer procedure and program of lower computer carry out being connected, and is reduce the tie-time, the mode of multithreading can be adopted simultaneously to connect with multiple program of lower computer.Specifically, can be that host computer procedure is connected with each program of lower computer and starts one and connect thread, but in order to reduce host computer procedure burden, also can be connected startup one with every two program of lower computer and connect thread etc., the present invention is not limited this.
Step 202, when completing the quantity of described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, has judged connection.
When all connection threads all complete connection, the connection of host computer procedure and multiple program of lower computer also completes.
In one preferred embodiment of the invention, described host computer procedure comprises connection degree variables, and described connection degree variables initial value is 0, and step 202 specifically can comprise following sub-step:
Sub-step S11, when current connection thread completes connection, increases by 1 by the value of described connection degree variables;
Sub-step S12, when the value of described connection degree variables is identical with the quantity of described multiple program of lower computer, has judged connection.
In specific implementation, host computer procedure defines connection degree variables, and initial value is 0, and after each connection thread terminates, this variable adds 1.The access of host computer procedure poll connects degree variables, namely during each connection degree variables change, all judge whether that whether the value connecting degree variables is identical with the quantity of multiple program of lower computer, when equaling the number of all program of lower computer etc. degree variables to be connected, judging that connection completes, terminating the poll access to connecting degree variables.
The present invention is connected with program of lower computer by multithreading, and connecting with program of lower computer the T.T. spent is the tie-time that tie-time the longest program of lower computer is corresponding, greatly reduces the time carrying out with program of lower computer being connected.
In one preferred embodiment of the invention, the method for attachment of described host computer procedure and program of lower computer specifically can also comprise the steps:
Step 203, when current connection thread receives the information of the successful connection that program of lower computer sends, the information for described successful connection generates and program of lower computer successful connection event;
Step 204, with program of lower computer successful connection event described in the thread display of invoke user interface;
Step 205, when current connection thread receives the information of the connection failure that program of lower computer sends, the information for described connection failure generates and program of lower computer connection failure event;
Step 206, with program of lower computer connection failure event described in the thread display of invoke user interface.
In specific implementation, host computer procedure defines ConnectNodeSuccessfullyEvent(and program of lower computer successful connection event) and ConnectNodeFailEvent (with program of lower computer connection failure event).
When host computer procedure and program of lower computer successful connection, program of lower computer can be dished out the information of successful connection, after the connection thread that this program of lower computer is corresponding captures this information, ConnectNodeSuccessfullyEvent event notice user interface of dishing out (User Interface, UI) thread, after UI thread receives this event, user can be notified at startup interface, host computer procedure program of lower computer successful connection therewith, user can not need to comprehend, and this notification procedure does not affect host computer procedure and other program of lower computer connect.
When host computer procedure and program of lower computer connection failure, program of lower computer can be dished out the information of connection failure, after the connection thread that this program of lower computer is corresponding captures this information, to dish out ConnectNodeFailEvent event notice UI thread, after UI thread receives this event, user can be notified at startup interface, host computer procedure program of lower computer connection failure therewith, user can not need to comprehend, and this notification procedure does not affect host computer procedure and other program of lower computer connect.
In actual applications, can be the connection (successful connection or connection failure) calling UI thread process difference connection thread.
It should be noted that, these two events all describe the mark of corresponding program of lower computer.Such as connect successfully with program of lower computer PMC1, program can be dished out and program of lower computer successful connection event, wherein with the parameter of program of lower computer successful connection event have recorded PMC1.After UI thread receives this event, can connect successfully interface notifications user and PMC1.
When the present invention can detect connection failure when connecting, user's program of lower computer connection failure therewith can be notified, avoid user by seeking system log analysis reason, user-friendly.
In one preferred embodiment of the invention, the method for attachment of described host computer procedure and program of lower computer specifically can also comprise the steps:
Step 207, when the connection thread successful connection of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to True, and described True is the connection attribute of the described host computer procedure of instruction and described program of lower computer successful connection;
Step 208, when the connection thread connection failure of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to False, and described False is the connection attribute of the described host computer procedure of instruction and described program of lower computer connection failure.
In specific implementation, when host computer procedure and program of lower computer successful connection, program of lower computer can be dished out the information of successful connection, after the connection thread that this program of lower computer is corresponding captures this information, connection attribute is set to True, in order to indicate host computer procedure and this program of lower computer successful connection.When host computer procedure and program of lower computer connection failure, program of lower computer can be dished out the information of connection failure, after the connection thread that this program of lower computer is corresponding captures this information, connection attribute is set to False, in order to indicate host computer procedure and this program of lower computer connection failure.
Certainly, just exemplarily, when implementing the embodiment of the present application, can arrange other connection attribute according to actual conditions, the present invention is not limited this above-mentioned connection attribute.
In one preferred embodiment of the invention, the method for attachment of described host computer procedure and program of lower computer specifically can also comprise the steps:
Step 209, when the connection attribute of described program of lower computer is True, calls the subsequent operation that described program of lower computer is corresponding;
Step 210, when the connection attribute of described program of lower computer is False, never calls the subsequent operation that described program of lower computer is corresponding.
When completing the quantity of described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, judge connection, host computer procedure can detect the connection attribute of all program of lower computer, be the program of lower computer of True for attribute, the subsequent operation that this program of lower computer is corresponding can be called; Be the program of lower computer of false for attribute, the subsequent operation that this program of lower computer is corresponding can be never called, namely skip and do not carry out subsequent treatment.
It should be noted that, different program of lower computer is to there being different subsequent operations, and the embodiment of the present invention is limited at this.
The present invention, after connection completes, understands basis and program of lower computer connection, subsequent treatment corresponding after automatically carrying out software startup.Avoid revising corresponding configuration file, make operation more simple and convenient.
For making those skilled in the art understand the present invention better, below provide an example to the carrying out practically process illustrating that in the present invention, host computer procedure is connected with program of lower computer.
With reference to Fig. 3, show the connection example flow diagram of a kind of host computer procedure of the present invention and program of lower computer.Host computer procedure defines in configuration file to be needed to be connected with 4 program of lower computer, is respectively node1, node2, node3, node4.Suppose successfully not to be connected with program of lower computer node4, be then successfully connected with other program of lower computer.
First host computer procedure is started, start to connect (ConnectAllNodes) with program of lower computer, start 4 connections thread (ConnectThread) to connect with 4 program of lower computer simultaneously, corresponding one of each program of lower computer connects thread, is undertaken connecting (node.connect) by the method for attachment connecting program of lower computer corresponding to thread dispatching.If successful connection, program of lower computer returns the information (success event) of successful connection, if connection failure, program of lower computer returns the information (fail event) of connection failure.Wherein, node1, node2, node3 successful connection, host computer procedure is after the information receiving the successful connection that it returns, and the success events notice UI thread that connects of dishing out, UI thread can notify user node1, node2, node3 successful connection.For node4, after host computer procedure captures the information of the connection failure that it returns, connection failure event notice UI thread of dishing out, UI can notify user node4 connection failure.After each connection thread has connected, counting variable times is added 1(times++ by capital), program loop access times value, when detecting that times value equals program of lower computer sum (wihle (times unequal to node.connect)), judge that connection completes (times==node.connect; Complete), then can call subsequent operation corresponding to node1, node2, node3, skip the follow-up from operation of node4.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 4, show the structured flowchart of the connected system embodiment of a kind of host computer procedure of the present invention and program of lower computer, described system is arranged in host computer procedure, can comprise with lower module:
Multithreading link block 401, is connected with multiple program of lower computer respectively for starting multiple connection thread simultaneously; Wherein, host computer procedure and each program of lower computer carry out being connected and start one and connect thread;
Connecting determination module 402, for completing the quantity of described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, having judged connection.
In one preferred embodiment of the invention, described host computer procedure comprises connection degree variables, and described connection degree variables initial value is 0, and described connection completes determination module can comprise following submodule:
Increment submodule, for when current connection thread completes connection, increases by 1 by the value of described connection degree variables;
Decision sub-module, for when the value of described connection degree variables is identical with the quantity of described multiple program of lower computer, has judged connection.
In one preferred embodiment of the invention, described system can also comprise as lower module:
Successful connection event generation module, during for receiving the information of successful connection that program of lower computer sends at current connection thread, the information for described successful connection generates and program of lower computer successful connection event;
Successful connection time showing module, for described in the thread display of invoke user interface with program of lower computer successful connection event;
Connection failure event generation module, during for receiving the information of connection failure that program of lower computer sends at current connection thread, the information for described connection failure generates and program of lower computer connection failure event;
Connection failure time showing module, for described in the thread display of invoke user interface with program of lower computer connection failure event.
In one preferred embodiment of the invention, described host computer procedure comprises the connection attribute corresponding with described program of lower computer, and described system can also comprise as lower module:
True attribute setup module, for when the connection thread successful connection of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to True, and described True is the connection attribute of the described host computer procedure of instruction and described program of lower computer successful connection;
False attribute setup module, for when the connection thread connection failure of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to False, and described False is the connection attribute of the described host computer procedure of instruction and described program of lower computer connection failure.
In one preferred embodiment of the invention, described system can also comprise as lower module:
True attribute processing module, for when the connection attribute of described program of lower computer is True, calls the subsequent operation that described program of lower computer is corresponding;
False attribute processing module, for when the connection attribute of described program of lower computer is False, never calls the subsequent operation that described program of lower computer is corresponding.
For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also 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 mobile device 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 mobile device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the mobile device comprising described key element and also there is other identical element.
A kind of the host computer procedure above embodiment of the present invention provided and the method for attachment of program of lower computer and the connected system of a kind of host computer procedure and program of lower computer, be described in detail, apply specific case herein to set forth the principle of the embodiment of the present invention and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the embodiment of the present invention; Meanwhile, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the embodiment of the present invention.

Claims (10)

1. a method of attachment for host computer procedure and program of lower computer, is characterized in that, comprising:
Host computer procedure starts multiple connection thread and is connected with multiple program of lower computer respectively simultaneously; Wherein, host computer procedure and each program of lower computer carry out being connected and start one and connect thread;
When completing the quantity of described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, judge connection.
2. the method for attachment of host computer procedure according to claim 1 and program of lower computer, it is characterized in that, described host computer procedure comprises connection degree variables, described connection degree variables initial value is 0, the described quantity having worked as described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, judge that the step of connection comprises:
When current connection thread completes connection, the value of described connection degree variables is increased by 1;
When the value of described connection degree variables is identical with the quantity of described multiple program of lower computer, judge connection.
3. the method for attachment of host computer procedure according to claim 1 and program of lower computer, is characterized in that, also comprises:
When current connection thread receives the information of the successful connection that program of lower computer sends, the information for described successful connection generates and program of lower computer successful connection event;
With program of lower computer successful connection event described in the thread display of invoke user interface;
When current connection thread receives the information of the connection failure that program of lower computer sends, the information for described connection failure generates and program of lower computer connection failure event;
With program of lower computer connection failure event described in the thread display of invoke user interface.
4. the host computer procedure according to claim 1 or 3 and the method for attachment of program of lower computer, it is characterized in that, described host computer procedure comprises the connection attribute corresponding with described program of lower computer, described method also comprises:
When the connection thread successful connection of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to True, described True is the connection attribute of the described host computer procedure of instruction and described program of lower computer successful connection;
When the connection thread connection failure of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to False, and described False is the connection attribute of the described host computer procedure of instruction and described program of lower computer connection failure.
5. the method for attachment of host computer procedure according to claim 4 and program of lower computer, is characterized in that, also comprises:
When the connection attribute of described program of lower computer is True, call the subsequent operation that described program of lower computer is corresponding;
When the connection attribute of described program of lower computer is False, never call the subsequent operation that described program of lower computer is corresponding.
6. a connected system for host computer procedure and program of lower computer, is characterized in that, described system is arranged in host computer, comprising:
Multithreading link block, is connected with multiple program of lower computer respectively for starting multiple connection thread simultaneously; Wherein, host computer procedure and each program of lower computer carry out being connected and start one and connect thread;
Connecting determination module, for completing the quantity of described multiple connection threads of connection, time identical with the quantity of described multiple program of lower computer, having judged connection.
7. the connected system of host computer procedure according to claim 6 and program of lower computer, is characterized in that, described host computer procedure comprises connection degree variables, and described connection degree variables initial value is 0, and described connection completes determination module and comprises:
Increment submodule, for when current connection thread completes connection, increases by 1 by the value of described connection degree variables;
Decision sub-module, for when the value of described connection degree variables is identical with the quantity of described multiple program of lower computer, has judged connection.
8. the connected system of host computer procedure according to claim 6 and program of lower computer, is characterized in that, also comprises:
Successful connection event generation module, during for receiving the information of successful connection that program of lower computer sends at current connection thread, the information for described successful connection generates and program of lower computer successful connection event;
Successful connection time showing module, for described in the thread display of invoke user interface with program of lower computer successful connection event;
Connection failure event generation module, during for receiving the information of connection failure that program of lower computer sends at current connection thread, the information for described connection failure generates and program of lower computer connection failure event;
Connection failure time showing module, for described in the thread display of invoke user interface with program of lower computer connection failure event.
9. the host computer procedure according to claim 6 or 8 and the connected system of program of lower computer, it is characterized in that, described host computer procedure comprises the connection attribute corresponding with described program of lower computer, described system also comprises:
True attribute setup module, for when the connection thread successful connection of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to True, and described True is the connection attribute of the described host computer procedure of instruction and described program of lower computer successful connection;
False attribute setup module, for when the connection thread connection failure of described host computer procedure and described program of lower computer, connection attribute corresponding for described program of lower computer is set to False, and described False is the connection attribute of the described host computer procedure of instruction and described program of lower computer connection failure.
10. the connected system of host computer procedure according to claim 9 and program of lower computer, is characterized in that, also comprises:
True attribute processing module, for when the connection attribute of described program of lower computer is True, calls the subsequent operation that described program of lower computer is corresponding;
False attribute processing module, for when the connection attribute of described program of lower computer is False, never calls the subsequent operation that described program of lower computer is corresponding.
CN201310632206.1A 2013-11-29 2013-11-29 Upper computer program and lower computer program connecting method and system Pending CN104679580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310632206.1A CN104679580A (en) 2013-11-29 2013-11-29 Upper computer program and lower computer program connecting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310632206.1A CN104679580A (en) 2013-11-29 2013-11-29 Upper computer program and lower computer program connecting method and system

Publications (1)

Publication Number Publication Date
CN104679580A true CN104679580A (en) 2015-06-03

Family

ID=53314676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310632206.1A Pending CN104679580A (en) 2013-11-29 2013-11-29 Upper computer program and lower computer program connecting method and system

Country Status (1)

Country Link
CN (1) CN104679580A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6003066A (en) * 1997-08-14 1999-12-14 International Business Machines Corporation System for distributing a plurality of threads associated with a process initiating by one data processing station among data processing stations
CN101610226A (en) * 2009-07-17 2009-12-23 阿里巴巴集团控股有限公司 A kind of method and system of plug-in download
CN101621437A (en) * 2008-06-30 2010-01-06 华为技术有限公司 A kind of communication system, add load control and method for loading software
CN101795205A (en) * 2009-12-22 2010-08-04 中兴通讯股份有限公司 Method and system for upgrading terminal
CN101848042A (en) * 2010-04-20 2010-09-29 惠州Tcl移动通信有限公司 Method and system for testing radio frequency of mobile phones
CN102065085A (en) * 2010-12-15 2011-05-18 广东威创视讯科技股份有限公司 Processing system, device and method for simultaneously controlling and processing multiple equipments
CN102819521A (en) * 2011-06-08 2012-12-12 深圳市万兴软件有限公司 Portable electronic device for reading multi-page document and rendering method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6003066A (en) * 1997-08-14 1999-12-14 International Business Machines Corporation System for distributing a plurality of threads associated with a process initiating by one data processing station among data processing stations
CN101621437A (en) * 2008-06-30 2010-01-06 华为技术有限公司 A kind of communication system, add load control and method for loading software
CN101610226A (en) * 2009-07-17 2009-12-23 阿里巴巴集团控股有限公司 A kind of method and system of plug-in download
CN101795205A (en) * 2009-12-22 2010-08-04 中兴通讯股份有限公司 Method and system for upgrading terminal
CN101848042A (en) * 2010-04-20 2010-09-29 惠州Tcl移动通信有限公司 Method and system for testing radio frequency of mobile phones
CN102065085A (en) * 2010-12-15 2011-05-18 广东威创视讯科技股份有限公司 Processing system, device and method for simultaneously controlling and processing multiple equipments
CN102819521A (en) * 2011-06-08 2012-12-12 深圳市万兴软件有限公司 Portable electronic device for reading multi-page document and rendering method thereof

Similar Documents

Publication Publication Date Title
CN108845910A (en) Monitoring method, device and the storage medium of extensive micro services system
CN111708655A (en) Application crash processing method, device and system
CN110990142A (en) Concurrent task processing method and device, computer equipment and storage medium
US20180253313A1 (en) Operation instruction response control method and terminal for human-machine interface
CN110597695A (en) Alarm method, alarm device, computer equipment and readable storage medium
CN113704117B (en) Algorithm testing system, method and device
CN105528261A (en) Method and system for intelligently outputting debugging information for embedded device
CN117389792A (en) Fault checking method and device, storage medium and electronic equipment
TWI712286B (en) Large screen link system detection method, device and equipment
CN103593239A (en) Method and device for processing application process commands in Linux system
CN105207799A (en) Batch command executing method and device
CN104679580A (en) Upper computer program and lower computer program connecting method and system
CN103685984A (en) Video signal source automatic switching method and television
CN113419921B (en) Task monitoring method, device, equipment and storage medium
KR20210113595A (en) Anomaly handling method, terminal device and storage medium
CN110213120B (en) Message middleware pressure measurement method and device and terminal equipment
CN107291038B (en) A kind of PLC software instruction parsing execution method
CN110362442B (en) Data monitoring method, device and equipment
CN113821524A (en) Method, device, computer equipment and medium for improving real-time interface processing efficiency
CN113326083A (en) State machine processing method, state processing device, electronic equipment and storage medium
CN108809763B (en) Network performance parameter acquisition method, terminal device and storage medium
CN112799910A (en) Hierarchical monitoring method and device
CN113010285A (en) Method, apparatus, device, medium and product for processing data
CN101964922B (en) Abnormal condition capturing method and device
CN111163171A (en) Remote control method and device for terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100176 Beijing economic and Technological Development Zone, Wenchang Road, No. 8, No.

Applicant after: Beijing North China microelectronics equipment Co Ltd

Address before: 100176 Beijing economic and Technological Development Zone, Beijing, Wenchang Road, No. 8, No.

Applicant before: Beifang Microelectronic Base Equipment Proces Research Center Co., Ltd., Beijing

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150603