CN108830675A - Instrument share system and method - Google Patents
Instrument share system and method Download PDFInfo
- Publication number
- CN108830675A CN108830675A CN201810504014.5A CN201810504014A CN108830675A CN 108830675 A CN108830675 A CN 108830675A CN 201810504014 A CN201810504014 A CN 201810504014A CN 108830675 A CN108830675 A CN 108830675A
- Authority
- CN
- China
- Prior art keywords
- instrument
- server
- locking
- target
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Finance (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of instrument share system and methods, system includes server-side, client and shared instrument cluster, wherein, server-side, for receiving the task requests of client transmission, task requests are parsed, using parsing result, determines program control command and determine that target shares instrument from shared instrument cluster, share instrument to target and send program control command, it receives target and shares the instrument execution resulting implementing result of program control command, and implementing result is returned into client;Client receives server-side and is directed to the implementing result that task requests return for sending task requests to server-side;Target shares instrument, for receiving and executing the program control command of server-side transmission, obtains implementing result, resulting implementing result is returned to server-side.Using the embodiment of the present invention, the service efficiency for improving instrument, the cost for saving instrument resource are improved.
Description
Technical field
The present invention relates to a kind of self-reacting device testing field more particularly to a kind of instrument share system and methods.
Background technique
In automation industry large-scale production, it will usually use the numerous instruments of quantity, such as the light of optical communication field
Spectrum analysis instrument, photoelectricity oscillograph etc..And the price of certain instruments is very expensive, if on each production station of production line
An instrument is configured, will definitely increase instrument resource cost, therefore, a kind of instrument share system and method is studied, to improve instrument
Service efficiency, the cost of lowering apparatus resource of device are most important.
Currently, existing instrument share scheme has their own characteristics each, but substantially have that stability is poor, and versatility is not strong, using compared with
The defects of for inconvenience, lead to that the service efficiency of instrument is still lower, higher cost of instrument resource, therefore, it is necessary to a kind of new
Instrument share system and method, to overcome the above problem.
Summary of the invention
It is an object of the invention to overcome the defect of the prior art, a kind of instrument share system and method is provided, to mention
The service efficiency of high instrument, the cost for saving instrument resource.
The invention is realized in this way:
In a first aspect, the present invention provides a kind of instrument share system, including server-side, client and shared instrument collection
Group, wherein
The server-side, the task of instrument execution task is shared for request target sent for receiving the client
Request, parses the task requests, using parsing result, determines program control command and from the shared instrument cluster
It determines that target shares instrument, shares instrument to identified target and send the program control command, receive the target and share instrument
The resulting implementing result of the program control command is executed, and the implementing result is returned into the client;
The client receives the server-side and appoints for described for sending the task requests to the server-side
The implementing result that business request returns;
The target shares instrument, and the program control command sent for receiving and executing the server-side obtains implementing result,
Resulting implementing result is returned into the server-side.
Optionally, the system also includes data center, the server-side is also used to:
Before receiving the task requests that the client is sent, send to data center for obtaining communication table and locking
The acquisition request of table receives the data center for the communication table and locking list of acquisition request transmission, parsing is utilized to tie
Fruit determines table to be modified from communication table and locking list, and modifies the table to be modified based on analysis result;The communication table is used
In storing the interaction data between the server and client, the locking list is used to store to be carried in the task requests
Locking information;
The data center receives the acquisition that the server-side is sent for storing the communication table and the locking list
Request sends communication table and locking list to the server-side for the acquisition request.
Optionally, the server-side determines table to be modified using parsing result from communication table and locking list, specially:
Judge whether the task requests include locking information using parsing result, if comprising, by the communication table and
Locking list is determined as table to be modified;If not including, the communication table is determined as table to be modified.
Optionally, the locking information includes locking duration, and the server-side is also used to:
After determining that the task requests include locking information, monitor whether the client is sent out in the locking duration
The release request that instrument is shared for discharging target is sent, if it is not, then forcible aborting shares the locking of instrument to target, if
It is then to receive the release request, and share the locking of instrument to target based on the release request release.
Optionally, the server-side is also used to:
Before sharing instrument to identified target and sending the program control command, judge that identified target shares instrument
Whether it is in the lock state, if it is not, then sharing instrument to identified target sends the program control command.If it is, not
Instrument, which is shared, to identified target sends the program control command.
Optionally, if table to be modified is communication table, the server-side modifies the table to be modified based on analysis result, specifically
For:
After obtaining implementing result, communications records are generated with implementing result based on analysis result, and are increased newly in communication table
Communications records generated.
Optionally, if table to be modified is communication table and locking list, the server-side is modified described to be repaired based on analysis result
Change table, specially:
Lock reord is generated based on analysis result, after obtaining implementing result, is generated based on analysis result with implementing result
Communications records, and increase communications records generated newly in communication table, increase lock reord generated newly in locking list,
In, parsing result includes locking mark, the locking mark in communications records generated and the lock in lock reord generated
It calibrates sensible same.
Second aspect, the present invention provide a kind of instrument share method, are applied to above-mentioned instrument share system, and the method is answered
For the server-side, specifically include:
Receive the task requests that instrument execution task is shared for request target that the client is sent;
The task requests are parsed, using parsing result, determine program control command and from the shared instrument collection
Determine that target shares instrument in group;
Instrument is shared to identified target and sends the program control command, is received the target and is shared the instrument execution journey
Control instructs resulting implementing result, and the implementing result is returned to the client.
Optionally, the system also includes data centers, are receiving the shared for request target of the client transmission
Before instrument executes the task requests of task, the method also includes:
The acquisition request for obtaining communication table and locking list is sent to the data center;
The data center is received for the communication table and locking list of acquisition request transmission;
Table to be modified is determined from the communication table and the locking list using parsing result, and is modified based on analysis result
The table to be modified;The communication table is used to store the interaction data between the server and client, and the locking list is used
The locking information carried in the storage task requests.
The third aspect, the present invention provide a kind of instrument share method, are applied to above-mentioned instrument share system, and the method is answered
For the client, specifically include:
After receiving the polling message that the server-side is sent, task requests are sent to the server-side, so that described
Server-side parses the task requests, using parsing result, determines program control command and from the shared instrument cluster
Middle determining target shares instrument, shares instrument to identified target and sends the program control command, receives the target and shares instrument
Device executes the resulting implementing result of program control command;
It receives the server-side and is directed to the implementing result that the task requests return;
The case where for the task requests including lockout message, in the locking duration for reaching the lockout message setting
Afterwards, the release request that instrument is shared for discharging target is sent to the server-side, so that the server-side is released described in the reception
After putting request, the locking of instrument is shared to target based on the release request release.
The invention has the advantages that:Using technical solution provided in an embodiment of the present invention, each transmission task is asked
The client asked can use server-side indirect operation and share instrument, and then obtain the implementing result of shared instrument, be not necessarily to
Instrument is respectively mounted at each client, and client only needs to can be obtained implementing result to server-side transmission task requests, grasps
It is convenient and versatile to make, and improves the service efficiency of instrument, has saved the cost of instrument resource.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of structural schematic diagram of instrument share system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of instrument share method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another instrument share method provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other
Embodiment shall fall within the protection scope of the present invention.
To solve prior art problem, the embodiment of the invention provides a kind of instrument share system and methods.First below
A kind of instrument share system is provided for the embodiments of the invention to be illustrated.
Referring to Fig. 1, Fig. 1 is a kind of structural schematic diagram of instrument share system provided in an embodiment of the present invention, and system includes:
Server-side, client and shared instrument cluster, wherein
The server-side parses the task requests, utilizes solution for receiving the task requests of client transmission
Analysis is total to identified target as a result, determining program control command and the determining shared instrument of target from the shared instrument cluster
It enjoys instrument and sends the program control command, receive the target and share the instrument execution resulting implementing result of program control command, and
The implementing result is returned into the client;
The client receives the server-side and asks for the task for sending task requests to the server-side
Seek the implementing result of return;
The target shares instrument, is sent to program control command for receiving and executing server-side, obtains implementing result, by institute
The implementing result obtained returns to the server-side.
Specifically, server-side can be the electronic equipments such as plate, PC, computer, client can be for instrument
Equipment in the terminal device of device operational requirements, such as automatic assembly line on some station, client are one of individualism
Client, or certain client in client cluster, the embodiment of the present invention do not limit the existing forms of client
It is fixed.
It should be noted that server-side can receive multiple visitors in the presence of client is in the form of client cluster
The task requests that family end is sent, in this case, server-side can successively be handled each task and be asked by received sequencing
It asks, the priority of each client can also be set in advance, according to the sequencing of priority, successively handle each task and ask
It asks, client herein refers to the sender for the task requests that server is being handled.
Shared instrument cluster may include multiple shared instruments with programmable function, and the type of each shared instrument can be with
Difference, such as may include spectroanalysis instrument, the different types of shared instrument such as photoelectricity oscillograph, can also be same type
Shared instrument, it is not limited here.Each shared instrument can receive program control command, and execute task according to program control command,
Implementing result is obtained, and implementing result is returned into server-side.
Specifically, server-side can send polling message to client, polling message is appointed for inquiring whether client has
Business request, client can send task requests after receiving polling message to server-side, and task requests are for informing server-side
Which platform request, which operates, is shared instrument so which task executed, and server-side is after parsing task requests, available parsing
As a result, can determine that program control command and target share instrument, wherein it is client that target, which shares instrument, using parsing result
The shared instrument of operation is requested, program control command is used to reflect that client to need target to share the task that instrument executes.
For each shared instrument, designer can design the program control command of the shared instrument in advance, and can will set
The program control command insertion server-side counted, so that server-side can be determined according to the title of the program control command carried in task requests
The corresponding program control command of the task requests, and target can be carried in task requests and share identifier, in turn, server-side can
Instrument is shared as target using the shared instrument that there will be target to share identifier.Shared identifier is total for unique identification
Enjoy instrument.
Using technical solution provided in an embodiment of the present invention, each client for sending task requests can use service
It holds indirect operation to share instrument, and then obtains the implementing result of shared instrument, without being respectively mounted instrument at each client, and
And client only needs to can be obtained implementing result to server-side transmission task requests, and it is easy to operate and versatile, improve instrument
The service efficiency of device, the cost for having saved instrument resource.
For the ease of the management to shared instrument, in a kind of implementation, the system also includes data center, the clothes
Business end is also used to:
Before receiving the task requests that client is sent, send to data center for obtaining communication table and locking list
Acquisition request, receive the data center for the acquisition request send communication table and locking list, using parsing result from
Table to be modified is determined in communication table and locking list, and modifies the table to be modified based on analysis result;The communication table is for depositing
The interaction data between the server and client is stored up, the locking list is for storing the locking carried in the task requests
Information;
The data center receives the acquisition request that server-side is sent, for described for storing communication table and locking list
Acquisition request sends communication table and locking list to the server-side.
The chained address of communication table and locking list can be stored in advance in server-side, sends according to chained address to data center
Acquisition request, when server-side modifies the content of communication table and locking list, the communication table and locking list that are stored in data center
It changes accordingly.And server-side can provide interactive interface, utilize interactive interface real-time display communication table and locking list
Content, the real time monitoring of realization communication process to the state of shared instrument and between client.
Data center can be storage server cluster, can install in every server in storage server cluster
Database, the type of database installed in every server can be the same or different, for example, SQL can be respectively mounted
Server database/MySQL database/oracle database, can also install SQL Server database, MySQL number respectively
According to one of library, oracle database etc. or a variety of.
Locking information may include the mark and locking duration of the shared instrument of client request locking.
Without limitation to the particular content of locking list and communication table, designer can according to self-demand for the embodiment of the present invention
To design the field in locking list and communication table.
For example, may include following field in communication table:Server-side mark, client identification, movement, communication connection mark
Know, lock mark, active state and measured parameter etc., wherein server-side identifies unique identification server-side, can be server-side name
Title, server-side number etc., client identification is used for unique identification client, can be numbered for client name, client etc., it is dynamic
Acting on reflection client needs shared instrument to be performed task, and communication connection identity can be in each server-side and client
It automatically generates after establishing communication connection, is once communicated to connect for unique identification, locking mark is for reflecting what client needed
Target shares instrument and its needing to be implemented for task, may include action value in locking mark and target shares the mark of instrument
Know, active state is used to indicate whether this record in communication table to be effective, can be set in advance, measured parameter can be mesh
Mark the parameters carried in the implementing result of shared instrument feedback.
It may include following field in locking list:Server-side mark, client identification, locking mark, active state, locking
Duration and instrument state, wherein server-side mark, client identification, locking mark, active state are identical as preceding sections,
This is repeated no more, and locking duration indicates that client needs lock onto target to share instrument to execute the duration of task, during locking,
Server will not share the program control command that instrument sends other clients to target, and instrument state can be divided into:Lock state, nothing
Lock status, the state for receiving locking request, the state for receiving release request.It is current that lock state indicates that target shares instrument
Locked, lock-free state indicates that target is shared instrument and is currently not locked out, and the state for receiving locking request indicates that server-side is worked as
Before receive client send for lock onto target share instrument locking information, receive release request state indicate service
End is currently received client and sends the release request for sharing instrument for discharging target.
Using communication table and locking list, server can recorde all interaction datas between client and each
The state of shared instrument, convenient for the management to client and shared instrument.
In a kind of implementation, the server-side determines table to be modified using parsing result from communication table and locking list,
Specially:
Judge whether the task requests include locking information using parsing result, if comprising, by the communication table and
Locking list is determined as table to be modified;If not including, the communication table is determined as table to be modified.
After server-side receives task requests, in order to record the interaction that server-side and client are generated based on the task requests
No matter whether data include locking information in task requests, and server-side can modify communication table.
If in task requests including locking information, show the request that client has lock onto target to share instrument, in general, as visitor
Family end needs target to share instrument to continuously perform several task requests, and when cannot be interrupted by the task requests of other clients,
Locking information can be added in task requests, and then target can be shared the state of instrument and be set as locking shape by server-side
State, thus, other clients can not send to server-side and appoint after detecting that target shares the state of instrument for lock state
Business request realizes that client shares the locking of instrument to target.Specifically, sharing the shape of instrument in order to realize server-side for target
State is set as lock state, and server-side can modify the field value of locking list Instrumental mode field.
In order to realize the locking for sharing instrument to target, in another implementation, the server-side is also used to:
Before sharing instrument to identified target and sending the program control command, judge that identified target shares instrument
Whether it is in the lock state, if it is not, then sharing instrument to identified target sends the program control command.If it is, not
Instrument, which is shared, to identified target sends the program control command.
It is understood that if target is shared before sharing instrument to identified target and sending the program control command
Instrument has been in the lock state, and is shown that target shares instrument by other client-side locks, can not be executed for active client
Program control command, therefore server-side can not share instrument transmission program control command to identified target;If to identified target
Before shared instrument sends the program control command, target shares instrument and is not in lock state, show target share instrument not by
Other client-side locks can execute program control command for active client, therefore server-side can be shared to identified target
Instrument sends program control command.
Using the embodiment of the present invention, the locking that instrument is shared to target is realized.
In order to avoid sharing the wasting of resources of instrument, in a kind of implementation, the locking information includes locking duration, institute
Server-side is stated to be also used to:
After determining that the task requests include locking information, monitor whether the client is sent out in the locking duration
The release request that instrument is shared for discharging target is sent, if it is not, then forcible aborting shares the locking of instrument to target, if
It is then to receive the release request, and discharge the locking that instrument is shared to target.
Certainly in other implementations, after server-side can also include locking information determining the task requests, prison
Control whether the client sends the release request that instrument is shared for discharging target in default locking duration, if it is not, then
Forcible aborting shares the locking of instrument to target, if it is, receiving the release request, and based on release request release
The locking of instrument is shared to target.
Server-side can share instrument to target to discharge by modifying the field value of locking list Instrumental mode field
The field value of instrument state field can be changed to lock-free state by lock state, completed to target by locking, specific server-side
The release of shared instrument.
Default locking duration can be previously set according to the actual situation, such as can be 1 hour, 2 hours, 3 hours etc..
Using the embodiment of the present invention, the occupancy of instrument can be shared to target for a long time to avoid client, it is total to improve target
The utilization rate for enjoying instrument saves the use resource of instrument.
Specifically, the server-side modifies the table to be modified based on analysis result, specifically if table to be modified is communication table
For:
After obtaining implementing result, communications records are generated with implementing result based on analysis result, and are increased newly in communication table
Communications records generated.
Field in communications records can be identical with the field in communication table, for example, including following field in communication table:Clothes
Business end mark, client identification, movement, communication connection identity, locking mark and measured parameter also include then upper in communications records
State field.
Specifically, by the available server-side mark of parsing result, client identification, movement, communication connection identity and lock
The field value of five fields is known in calibration, and when not including locking information in task requests, the field of mark is locked in parsing result
Value can be null value, by the field value of the available measured parameter field of implementing result, it is thus possible to each field obtained
Field value generate communications records, in turn, communications records generated can be increased newly in communication table, communication table is repaired in completion
Change.
Specifically, the server-side is modified described to be repaired based on analysis result if table to be modified is communication table and locking list
Change table, specially:
Lock reord is generated based on analysis result, after obtaining implementing result, is generated based on analysis result with implementing result
Communications records, and increase communications records generated newly in communication table, increase lock reord generated newly in locking list,
In, parsing result includes locking mark, the locking mark in communications records generated and the lock in lock reord generated
It calibrates sensible same.
Field in lock reord can be identical with the field in locking list, for example, including following field in locking list:Clothes
Business end mark, client identification, locking mark, active state, locking duration and instrument state also include then upper in lock reord
State field.
Specifically, being tied by the field value of each field in the available lock reord of parsing result based on same parsing
Locking mark in the communications records that fruit generates is identical as the locking mark in lock reord.
Using the embodiment of the present invention, the modification to communication table and locking list is realized.
Corresponding to above-mentioned instrument share system embodiment, the embodiment of the invention provides a kind of instrument share method, referring to
Corresponding with structure shown in Fig. 1 shown in Fig. 2, this method is applied to above-mentioned instrument share system, specifically, the method application
In the server-side, specifically include:
S101, the task requests that instrument execution task is shared for request target that client is sent are received;
S102, task requests are parsed, using parsing result, determines program control command and from shared instrument cluster
Determine that target shares instrument;
S103, instrument transmission program control command is shared to identified target, receive target and share instrument execution program control command
Resulting implementing result, and implementing result is returned into client.
Using technical solution provided in an embodiment of the present invention, each client for sending task requests can use service
It holds indirect operation to share instrument, and then obtains the implementing result of shared instrument, without being respectively mounted instrument at each client, and
And client only needs to can be obtained implementing result to server-side transmission task requests, client operation is convenient and versatile, section
About instrument resource cost realizes the shared of instrument.
Optionally, the system also includes data centers, before receiving the task requests that client is sent, the method
Further include:
The acquisition request for obtaining communication table and locking list is sent to the data center;
The data center is received for the communication table and locking list of acquisition request transmission;
Table to be modified is determined from communication table and locking list using parsing result, and is modified based on analysis result described to be repaired
Change table;The communication table is used to store the interaction data between the server and client, and the locking list is for storing institute
State the locking information carried in task requests.
Corresponding to above-mentioned instrument share system embodiment, the embodiment of the invention provides another instrument share method, ginsengs
As shown in Figure 3, corresponding with structure shown in Fig. 1, this method is applied to above-mentioned instrument share system, specifically, the method is answered
For the client, specifically include:
S201, receive server-side transmission polling message after, to server-side send for request target share instrument
The task requests of execution task so that server-side parses task requests, using parsing result, determine program control command and
It determines that target shares instrument from shared instrument cluster, shares instrument to identified target and send program control command, receive target
Shared instrument executes the resulting implementing result of program control command;
S202, the implementing result that server-side is directed to task requests return is received;
S203, it is directed to the case where task requests include lockout message, after the locking duration for reaching lockout message setting, to
Server-side sends the release request for discharging the shared instrument of target, so that server-side is based on release after receiving release request
The locking of instrument is shared in request release to target.
Using technical solution provided in an embodiment of the present invention, each client for sending task requests can use service
It holds indirect operation to share instrument, and then obtains the implementing result of shared instrument, without being respectively mounted instrument at each client, visitor
Family end is easy to operate and versatile, has saved instrument resource cost, realizes the shared of instrument.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for method reality
For applying example, since it is substantially similar to system embodiment, so being described relatively simple, related place is referring to system embodiment
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of instrument share system, which is characterized in that including server-side, client and shared instrument cluster, wherein
The server-side is asked for receiving the sharing instrument execution task for request target of the task that the client is sent
Ask, the task requests parsed, using parsing result, determine program control command and from the shared instrument cluster really
Set the goal shared instrument, shares instrument to identified target and sends the program control command, receives the shared instrument of the target and holds
The row resulting implementing result of program control command, and the implementing result is returned into the client;
The client receives the server-side and asks for the task for sending the task requests to the server-side
Seek the implementing result of return;
The target shares instrument, and the program control command sent for receiving and executing the server-side obtains implementing result, by institute
The implementing result obtained returns to the server-side.
2. system according to claim 1, which is characterized in that the system also includes data center, the server-side is also
For:
Before receiving the task requests that the client is sent, send to the data center for obtaining communication table and locking
The acquisition request of table receives the data center for the communication table and locking list of acquisition request transmission, parsing is utilized to tie
Fruit determines table to be modified from the communication table and the locking list, and modifies the table to be modified based on analysis result;It is described
Communication table is used to store the interaction data between the server and client, and the locking list is for storing the task requests
The locking information of middle carrying;
The data center receives the acquisition request that the server-side is sent for storing the communication table and the locking list,
Communication table and locking list are sent to the server-side for the acquisition request.
3. system according to claim 2, which is characterized in that the server-side using parsing result from the communication table and
Table to be modified is determined in the locking list, specially:
Judge whether the task requests include locking information using parsing result, if comprising by the communication table and described
Locking list is determined as table to be modified;If not including, the communication table is determined as table to be modified.
4. system according to claim 3, which is characterized in that the locking information includes locking duration, the server-side
It is also used to:
After determining that the task requests include locking information, monitor whether the client sends use in the locking duration
The release request of instrument is shared in release target, if it is not, then forcible aborting shares the locking of instrument to target, if it is,
The release request is received, and shares the locking of instrument to target based on the release request release.
5. system according to claim 3, which is characterized in that the server-side is also used to:
Before sharing instrument to identified target and sending the program control command, judge whether identified target shares instrument
It is in the lock state, if it is not, then sharing instrument to identified target sends the program control command.If it is, not to institute
Determining target shares instrument and sends the program control command.
6. system according to claim 2, which is characterized in that if table to be modified is communication table, the server-side is based on solution
Table to be modified described in results modification is analysed, specially:
After obtaining implementing result, communications records are generated with implementing result based on analysis result, and are increased newly in the communication table
Communications records generated.
7. system according to claim 2, which is characterized in that if table to be modified is communication table and locking list, the service
The table to be modified is modified at end based on analysis result, specially:
Lock reord is generated based on analysis result, after obtaining implementing result, generates communicate with implementing result based on analysis result
Record, and increase communications records generated newly in the communication table, increase lock reord generated newly in the locking list,
Wherein, parsing result includes locking mark, in the locking mark and lock reord generated in communications records generated
Locking mark is identical.
8. a kind of instrument share method, which is characterized in that be applied to system described in claim 1, the method is applied to institute
Server-side is stated, is specifically included:
Receive the task requests that instrument execution task is shared for request target that the client is sent;
The task requests are parsed, using parsing result, determine program control command and from the shared instrument cluster
Determine that target shares instrument;
Instrument is shared to identified target and sends the program control command, is received the target and is shared the instrument execution program-controlled finger
Resulting implementing result is enabled, and the implementing result is returned into the client.
9. according to the method described in claim 8, it is characterized in that, receiving the visitor the system also includes data center
Before what family end was sent shares the task requests that instrument executes task for request target, the method also includes:
The acquisition request for obtaining communication table and locking list is sent to the data center;
The data center is received for the communication table and locking list of acquisition request transmission;
Table to be modified is determined from the communication table and the locking list using parsing result, and based on analysis result described in modification
Table to be modified;The communication table is used to store the interaction data between the server and client, and the locking list is for depositing
Store up the locking information carried in the task requests.
10. a kind of instrument share method, which is characterized in that be applied to system described in claim 1, the method is applied to institute
Client is stated, is specifically included:
After receiving the polling message that the server-side is sent, task requests are sent to the server-side, so that the service
End parses the task requests, using parsing result, determine program control command and from the shared instrument cluster really
Set the goal shared instrument, shares instrument to identified target and sends the program control command, receives the shared instrument of the target and holds
The row resulting implementing result of program control command;
It receives the server-side and is directed to the implementing result that the task requests return;
The case where for the task requests including lockout message, after the locking duration for reaching the lockout message setting, to
The server-side sends the release request that instrument is shared for discharging target, so that the server-side is receiving the release request
Afterwards, the locking of instrument is shared to target based on the release request release.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810504014.5A CN108830675A (en) | 2018-05-23 | 2018-05-23 | Instrument share system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810504014.5A CN108830675A (en) | 2018-05-23 | 2018-05-23 | Instrument share system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108830675A true CN108830675A (en) | 2018-11-16 |
Family
ID=64148616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810504014.5A Pending CN108830675A (en) | 2018-05-23 | 2018-05-23 | Instrument share system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108830675A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112445593A (en) * | 2020-11-23 | 2021-03-05 | 中信银行股份有限公司 | Peripheral calling method and device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102769665A (en) * | 2012-06-28 | 2012-11-07 | 大唐移动通信设备有限公司 | Radio frequency test instrument sharing system and application method thereof |
CN105635248A (en) * | 2015-12-18 | 2016-06-01 | Tcl集团股份有限公司 | Method and system for releasing TCP (Transmission Control Protocol) connection resources |
-
2018
- 2018-05-23 CN CN201810504014.5A patent/CN108830675A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102769665A (en) * | 2012-06-28 | 2012-11-07 | 大唐移动通信设备有限公司 | Radio frequency test instrument sharing system and application method thereof |
CN105635248A (en) * | 2015-12-18 | 2016-06-01 | Tcl集团股份有限公司 | Method and system for releasing TCP (Transmission Control Protocol) connection resources |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112445593A (en) * | 2020-11-23 | 2021-03-05 | 中信银行股份有限公司 | Peripheral calling method and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844198B (en) | Distributed dispatching automation test platform and method | |
US20140269386A1 (en) | Method and Apparatus for Analyzing and Verifying Functionality of Multiple Network Devices | |
CN104144098B (en) | Information push method, system and push server equipment | |
CN109086213B (en) | Commercial vehicle network test management system and method based on distributed system | |
US20060190922A1 (en) | Method and system for managing and tracking software development lifecycles | |
CN110851278A (en) | Distribution network automation master station mobile application service management method and system based on micro-service architecture | |
CN106502888B (en) | The test method and device of software | |
CN106549810A (en) | Cloud service platform redaction issues front method of testing, device and system | |
CN109067748A (en) | Access right distribution method, device and the electronic equipment of shared device | |
CN102298647A (en) | Inspection and allocation system and method of data file | |
CN111008906A (en) | Manufacturing enterprise production execution management system | |
CN109800081A (en) | A kind of management method and relevant device of big data task | |
CN110543368A (en) | Distributed service health examination method and system | |
CN109254913A (en) | Collaborative share method, apparatus, electronic equipment and computer storage medium | |
CN104917794A (en) | Data sharing method, device and system | |
CN110149241B (en) | Automatic testing method based on IMS equipment and storage medium | |
CN107784009A (en) | Data query, data query processing method and processing device | |
EP3901766A1 (en) | Offline configuration method and apparatus for smart device | |
CN108830675A (en) | Instrument share system and method | |
CN109873731B (en) | Test method, device and system | |
CN111435329A (en) | Automatic testing method and device | |
CN111008209B (en) | Data reconciliation method, device and system, storage medium and electronic device | |
CN105573905A (en) | Software compatibility testing method and system | |
CN112333026A (en) | Network device, network management device and zero configuration opening system and method for network device | |
US9092295B2 (en) | Managing software package updates using communication pipes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |
|
RJ01 | Rejection of invention patent application after publication |