CN110266705A - A kind of control method and system - Google Patents

A kind of control method and system Download PDF

Info

Publication number
CN110266705A
CN110266705A CN201910557154.3A CN201910557154A CN110266705A CN 110266705 A CN110266705 A CN 110266705A CN 201910557154 A CN201910557154 A CN 201910557154A CN 110266705 A CN110266705 A CN 110266705A
Authority
CN
China
Prior art keywords
terminal
order
system type
sent
service end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910557154.3A
Other languages
Chinese (zh)
Other versions
CN110266705B (en
Inventor
康林林
甄志坚
范枭鹏
程时鹏
王沅召
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910557154.3A priority Critical patent/CN110266705B/en
Publication of CN110266705A publication Critical patent/CN110266705A/en
Application granted granted Critical
Publication of CN110266705B publication Critical patent/CN110266705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services

Abstract

The invention discloses a kind of control method and systems, are related to computer application technology.Control system includes: first terminal, intermediary service end and second terminal, and control method includes: to receive the order of first terminal transmission and parse the order to obtain command parameter, wherein includes the system type of first terminal in the command parameter;Sending a command to according to the system type of first terminal has second terminal identical with system type in the command parameter of the order, so that second terminal executes the order;It receives second terminal and executes the implementing result of order feedback, and be sent to first terminal so that first terminal shows implementing result.By the above method, the problem of order line executed under different system environments needs converting system can solve.

Description

A kind of control method and system
Technical field
The present invention relates to computer application technologies, in particular to a kind of control method and system.
Background technique
With the continuous development of information technology, different company develops several operation systems according to different business demands, Various operating systems have the order line program of oneself, for manipulating the resource in this operating system.
Through inventor the study found that currently used control terminal be based on C/S framework, C/S framework for local area network or Relatively-stationary user group needs the software for different operating system exploitation different editions, and development cost is high, maintenance cost Height, scaling difficulty, and C/S framework, which usually require downloading, which installs special client, to run, and cross-platform can not use, when The operating system of user's end main frame and control terminal not concurrently there are user's end main frame of different operating system and control terminal can not be straight Interactive situation is connect, causes the resource between system that cannot share and synchronous problem.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of control method and system, to solve the resource between system not It can share and synchronous problem.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that
A kind of control method, applied to the intermediary service end in the interactive system of multiple terminals, the multiple terminals interactive system is also Including first terminal and second terminal, the control method includes:
It receives the order that the first terminal is sent and parses the order and obtain command parameter, wherein in the command parameter It include the system type of the first terminal;
Being sent to the order according to the system type of the first terminal has and is in the command parameter of the order The identical second terminal of type of uniting, so that the second terminal executes the order;
It receives the second terminal and executes the implementing result of the order feedback, and be sent to the first terminal so that institute It states first terminal and shows implementing result.
In the embodiment of the present invention preferably selects, in above-mentioned control method, the intermediary service end is based on B/S frame The Web server of structure.
In the embodiment of the present invention preferably selects, in above-mentioned control method, the first terminal hair is received executing The order sent and before parsing the step of order obtains command parameter, the method also includes:
Receive the registration information that the first terminal is sent by user interface;
Judge whether the user information for including in the registration information is correct, if correctly, matching for the first terminal Set parameter.
In the embodiment of the present invention preferably selects, in above-mentioned control method, according to the system class of the first terminal The order is sent to the step of having in the command parameter with the order system type identical second terminal and includes: by type
The interface message in command parameter is obtained, passes through the interface message pair according to the system type of the first terminal The interface answered sends the command parameter to the second terminal.
In the embodiment of the present invention preferably selects, in above-mentioned control method, when the second terminal is multiple, and each When the system type of the second terminal is identical, according to the first terminal system type by it is described order be sent to have with The step of system type identical second terminal, includes: in the command parameter of the order
Same commands are sent to each second terminal in synchronization according to the system type of the first terminal.
In the embodiment of the present invention preferably selects, in above-mentioned control method, when the order is multiple, according to institute Stating the system type of first terminal and being sent to the order has identical with system type in the command parameter of the order the The step of two terminals includes:
In synchronization, for each order ordered and be sent to according to the system type of the first terminal with the order The identical second terminal of system type in parameter.
In the embodiment of the present invention preferably selects, in above-mentioned control method, the intermediary service end and described second Terminal uses socket connection.
In the embodiment of the present invention preferably selects, in above-mentioned control method, according to the system class of the first terminal The order is sent to the step of having in the command parameter with the order system type identical second terminal and includes: by type
The order is encrypted using RSA Algorithm according to the system type of the first terminal, by encrypted life Order, which is sent to, has second terminal identical with system type in the command parameter of the order.
In the embodiment of the present invention preferably selects, in above-mentioned control method, the multiple terminals interactive system includes Windows operating system, (SuSE) Linux OS and dos operating system.
The embodiment of the invention also provides a kind of control systems, comprising:
First terminal, for sending the order that user inputs to intermediary service end;
Intermediary service end obtains command parameter for receiving the order and parsing the order, determines in the command parameter The system type for the first terminal for including, and sent the command to according to the system type with the order with the order The identical second terminal of system type in parameter;
Second terminal obtains implementing result for executing the order, and implementing result is fed back to the intermediary service End;
The intermediary service end is also used to send the implementing result to when receiving the implementing result of the second terminal The first terminal.
In the embodiment of the present invention preferably selects, in above-mentioned control system, the second terminal is also used to continue prison The order for listening the intermediary service end to send, and it is stored in command queue, the order in command queue described in asynchronous execution obtains To implementing result and asynchronous feedback is to the intermediary service end.
In the embodiment of the present invention preferably selects, in above-mentioned control system, the second terminal is also used to execute and hold The continuous order monitoring the intermediary service end and sending, and being stored in after the command queue, open a new thread with The order in the command queue is obtained, and by the os/exec module of Go language come order described in asynchronous execution.
A kind of control method and system provided by the invention, realizing for the order of the first terminal to be sent to has and institute The identical second terminal of first terminal system type is stated, and then is solved in the prior art due to the user of different operating system The situation that end main frame can not be interacted directly with control terminal, cause the resource between system cannot share with synchronous problem, improve Information exchange efficiency realizes the resource-sharing between system.
Further, when the order is multiple, the intermediary service end can send different command in synchronization To the second terminal, solves the problems, such as that second terminal synchronization described in the prior art can only receive same commands, mention High system availability.
It further, can also be in the registration for detecting that the first terminal is sent by the intermediary service end When the user information for including in information is correct, it is the first terminal configuration parameter, shortens the login time of user, improve User experience.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
The detailed description for reading hereafter exemplary embodiment in conjunction with the accompanying drawings is better understood the scope of the present disclosure.Its In included attached drawing be:
Fig. 1 is the connection block diagram of control system provided in an embodiment of the present invention.
Fig. 2 is the main flow schematic diagram of control method provided in an embodiment of the present invention.
Fig. 3 is the flow diagram of control method provided in an embodiment of the present invention.
Fig. 4 is control method timing diagram provided in an embodiment of the present invention.
Icon: 100- control system;110- first terminal;120- intermediary service end;130- second terminal.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment only It is a part of the embodiments of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings The component of embodiment can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.In description of the invention In, term " first ", " second " etc. are only used for distinguishing description, and should not be understood as only or imply relative importance.
Fig. 1, Fig. 2 and Fig. 3 are please referred to, the embodiment of the invention provides a kind of control method, which can be with Applied to the intermediary service end 120 in control system 100, wherein the control system 100 further includes first terminal 110 and Two terminals 130 when the control method is applied to the intermediary service end 120, execute step S110 to S160.
In the present embodiment, the first terminal 110 is typically referred to smart phone, tablet computer and desktop computer etc. For the subscriber's main station of avatar, browser is installed thereon, including but not limited to Internet Explorer, Firefox, Opera, Safari etc. can be logged in and website access by these browsers, including but not limited to Taobao, Jingdone district, Amazon, forum etc.;Or mounting means is simple, do not need maintenance common software, including but not limited to SecureCRT software, Putty software, xshell software etc..The intermediary service end 120 typically refers to the control using web server as avatar End, for example, it may be web server, including but not limited to Nginx, Apache, IS, WebLogic, WebSphere, Tomcat Deng.The second terminal 130 typically refers to the actuating station using database server as avatar, for example, can be by being equipped with One or more computer of data base management system is constituted, and is equipped with various different operating systems on the computer, including but unlimited In Windows operating system, (SuSE) Linux OS and dos operating system, data base administration is installed under these operating systems System, including but not limited to MySQL, Oracle, SQL Server etc..
Step S110 receives the registration information that the first terminal 110 is sent by user interface, judges the login Whether the user information for including in application information is correct, if correctly, for 110 configuration parameter of first terminal.
In the present embodiment, the user information in log-on message generally includes user name and login password.Described first eventually It is 110 configuration parameter of first terminal by the intermediary service end 120, to subtract after the log-on message at end 110 is by detection The workload of few user, this is more in the number of users of the first terminal 110, for example, the same first terminal 110 is equipped with Manpower can be saved in the case that multiple systems or 110 quantity of the first terminal are more, specifically, working as the first terminal 110 When being multiple, and works as and pass through the first terminal 110 respectively there are different users while inputting user information and passing through detection When, the intermediary service end 120 can be simultaneously multiple first terminals 110 while configuration parameter, avoid user voluntarily Configuration parameter, so that it is guaranteed that the correctness of configuration, improves working efficiency.
Parameter for the first terminal 110 configuration includes but is not limited to: user name, host name, access limit, transmission association View type, MAC Address, IP address, subnet mask, dns server address, Service-Port, gateway, system type, log are set It sets.
It is appreciated that after the configuration has been completed, the intermediary service end 120 can also be sent to the first terminal 110 Agree to that the response message for establishing connection can execute subsequent step to inform that the first terminal 110 logins successfully.
Step S120, receives the order that the first terminal 110 is sent and resolve command obtains command parameter, wherein institute State include in command parameter the first terminal 110 system type.
In the present embodiment, the command parameter for including in the order generally include the first terminal 110 IP address, Interface, port numbers, system type, uniform resource identifier, transport protocol version number etc..
It builds it is appreciated that the first terminal 110 can be receiving the agreement from the intermediary service end 120 The response message of vertical connection, so that Xiang Suoshu intermediary service end 120 sends order after being successfully established network connection.
Step S140, being sent to the order according to the system type of the first terminal 110 has and the order The identical second terminal 130 of system type in command parameter, so that the second terminal 130 executes the order.
Above-mentioned steps are specifically the interface message obtained in the command parameter, according to the system of the first terminal 110 Type sends the command parameter to the second terminal 130 by the corresponding interface of the interface message.
In the present embodiment, the interface message in the command parameter is the specified communication interface of the first terminal 110, The first terminal 110, the communication between the intermediary service end 120 and the second terminal 130 must be led to by specified Believe that interface is implemented.The intermediary service end 120 is connect with the second terminal 130 using socket.
Wherein, above-mentioned steps S140, which specifically can be, is added order according to the system type of the first terminal 110 Be sent to after close have the second terminal 130 identical with system type in the command parameter of the order, be also possible to by The order is transmitted directly to have and system class in the command parameter of the order according to the system type of the first terminal 110 The identical second terminal 130 of type.When being sent after being encrypted, cipher mode can be TLS/SSL, RSA, AES, DES, IDEA, EEC etc..
Optionally, in the present embodiment, above-mentioned steps S140 specifically can be the system class according to the first terminal 110 Type encrypts the order using RSA Algorithm, and encrypted order is sent to the command parameter with the order The identical second terminal 130 of middle system type.
It is appreciated that when the intermediary service end 120 sends encrypted order to the second terminal 130, described the After two terminals 130 receive encrypted order, should using mode identical with 120 cipher mode of intermediary service end into Row decryption, and order can be just executed after the completion of decryption.
It is appreciated that utilizing RSA Algorithm pair when the intermediary service end 120 sends to the second terminal 130 and orders Order to be sent is encrypted, ciphering process are as follows: and prime number is generated, random number is generated, is based on prime number and generating random number key, Based on key by command format to be sent, formatted order to be sent is converted into integer by character data According to carrying out that ciphertext is calculated using RSA Algorithm to the integer data, which be converted into character type number by integer data According to.After the completion of order encryption, the intermediary service end 120 sends the encryption order to the second terminal by socket agreement 130.When the second terminal 130 receives the encryption order, need that the encryption order is decrypted, decrypting process are as follows: The encryption order is converted into integer data by character type data, which is decrypted by RSA Algorithm and is obtained in plain text, it will be bright Text obtains the plaintext of PKCS format after being converted to ASCII type data from integer data, isolates original from the plaintext of PKCS format It is in plain text the order.
In the present embodiment, the first terminal 110 and the system type of the second terminal 130 include Windows behaviour Make system, (SuSE) Linux OS and dos operating system.
In addition, when the quantity of the second terminal 130 is multiple, the system type of each second terminal 130 can be with Be it is identical be also possible to it is different.
Optionally, in the present embodiment, when the system type of multiple second terminals 130 is identical, above-mentioned steps S140 specifically may is that the system type according to the first terminal 110 sends same commands to each described the in synchronization Two terminals 130.
Optionally, in the present embodiment, when the order be it is multiple, second terminal 130 be it is multiple, and multiple described second When the system type of terminal 130 is different, above-mentioned steps S140 specifically be can be, in synchronization, for each order according to The system type of the first terminal 110 is sent to the identical second terminal 130 of system type in the command parameter with the order.
By above-mentioned setting, same commands can only be received by solving the synchronization of second terminal 130 described in the prior art The problem of, greatly improve system availability.
Step S160 receives the second terminal 130 and executes the implementing result of the order feedback, and is sent to described the One terminal 110 is so that the first terminal 110 shows implementing result.
It is appreciated that when executing step S160, it, can be to described after the intermediary service end 120 receives implementing result Implementing result carries out RSA Algorithm decryption, and the implementing result after decryption is sent to the first terminal 110.
In the present embodiment, by the way of command queue, instantaneous order flow flood peak can be accepted, then according to institute The concurrency that second terminal 130 is capable of handling is stated, order is smoothly pushed to the second terminal from the command queue 130, it avoids when the order concurrency of the intermediary service end 120 transmission is big, traditional information processing manner can will own The problem of request is transmitted directly to the second terminal 130, and 130 data exception of second terminal is caused even to crash.Pass through The order in a new thread processing command queue is opened, the memory usage of the second terminal 130 can be effectively improved, mentioned The program response speed of the high second terminal 130.
Meanwhile the order in the command queue is handled by the way of asynchronous execution, this mode can be effectively reduced The power system capacity upper limit of the second terminal 130 is greatly improved in the CPU waiting time of the second terminal 130.
Referring to Fig.1 and Fig. 4, the present invention also provides a kind of control system 100, which includes first terminal 110, intermediary service end 120 and second terminal 130.
In the present embodiment, the first terminal 110, for being sent by user interface to the intermediary service end 120 Registration information;The intermediary service end 120, for receiving the registration information of the first terminal 110 and judging institute Whether correct state registration information, if correctly, for 110 configuration parameter of first terminal.
It is 110 configuration parameter of first terminal by the intermediary service end 120, shortens the login time of user, The user experience is improved.
In the present embodiment, it if the intermediary service end 120 is 110 configuration parameter of first terminal success, can feed back Agree to establish that the response message of connection to the first terminal 110, shows to login successfully, connection has been established.
In the present embodiment, the intermediary service end 120 parses the content in the order, including system type, connects Message breath, IP, port numbers etc., the intermediary service end 120 are established with the second terminal 130 by the interface in the order Socket connection.
The first terminal 110 is also used to send the order that user inputs to the intermediary service end 120;The centre Server-side 120, is also used to receive order and parses the order and obtain command parameter, and determines in the command parameter and include The system type and interface message of the first terminal 110, which, which includes that the first terminal 110 is specified, is used for The interface of communication, then by the specified interface send the command to have and system type in the command parameter of the order The identical second terminal 130.
After the order is encrypted by RSA Algorithm, the second terminal 130 is sent to by the intermediary service end 120.
The second terminal 130 is used to receive the order that the intermediary service end 120 is sent, and executes the order and held Row is as a result, and feed back to the intermediary service end 120 for implementing result;The intermediary service end 120 be also used to receive it is described When the implementing result of second terminal 130, the first terminal 110 is sent by the implementing result.In the present embodiment, described Intermediary service end 120 after RSA Algorithm is decrypted, is distinguished according to asynchronous ID and feed back to corresponding described first eventually by implementing result End 110.The first terminal 110 receives the implementing result that the intermediary service end 120 is fed back and is shown.
Wherein, in conjunction with Fig. 3, the mode that the second terminal 130 obtains the order that the intermediary service end 120 is sent is specific It may is that the lasting order monitoring the intermediary service end 120 and sending, and be stored in command queue, ordered described in asynchronous execution The order in queue is enabled, obtains implementing result and asynchronous feedback to the intermediary service end 120.
Specifically, the second terminal 130 is also used to continue to monitor the order that the intermediary service end 120 is sent, And the order is stored in command queue, a new thread is opened to obtain the order in the command queue, in new thread In, the order in command queue described in the os/exec module asynchronous execution by Go language.
In conclusion a kind of control method provided by the invention and system, by developing the intermediary service based on B/S framework End 120 realizes for the order of first terminal 110 to be sent to have second terminal identical with 110 system type of first terminal 130, and then solve the problems, such as that the subscriber's main station of operating system different in the prior art can not be interacted with control terminal, improve letter Cease interactive efficiency.It further, is 110 configuration parameter of first terminal by the intermediary service end 120, it can be effective Shorten the login time of user, the user experience is improved.By being ordered according to the first terminal for each in synchronization 110 system type is sent to the identical second terminal 130 of system type in the command parameter with the order, solves existing skill The problem of synchronization of second terminal 130 described in art can only receive same commands, greatly improves system availability.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
While it is disclosed that embodiment content as above but described only to facilitate understanding the present invention and adopting Embodiment is not intended to limit the invention.Any those skilled in the art to which this invention pertains are not departing from this Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details, But protection scope of the present invention still should be subject to the scope of the claims as defined in the appended claims.

Claims (12)

1. a kind of control method, applied to the intermediary service end in the interactive system of multiple terminals, the multiple terminals interactive system is also wrapped Include first terminal and second terminal, which is characterized in that the control method includes:
It receives the order that the first terminal is sent and parses the order and obtain command parameter, wherein include in the command parameter There is the system type of the first terminal;
Being sent to the order according to the system type of the first terminal has and system class in the command parameter of the order The identical second terminal of type, so that the second terminal executes the order;
It receives the second terminal and executes the implementing result of the order feedback, and be sent to the first terminal so that described the One terminal display implementing result.
2. control method according to claim 1, which is characterized in that the intermediary service end is the Web based on B/S framework Server.
3. control method according to claim 1, which is characterized in that executing the order for receiving the first terminal and sending And before parsing the step of order obtains command parameter, the method also includes:
Receive the registration information that the first terminal is sent by user interface;
Judge whether the user information for including in the registration information is correct, if correctly, configuring and joining for the first terminal Number.
4. control method according to claim 1, which is characterized in that will be described according to the system type of the first terminal Order is sent to the step of having in the command parameter with the order system type identical second terminal and includes:
The interface message in command parameter is obtained, it is corresponding by the interface message according to the system type of the first terminal Interface sends the command parameter to the second terminal.
5. control method according to claim 1, which is characterized in that when the second terminal be it is multiple, and each described the When the system type of two terminals is identical, being sent to the order according to the system type of the first terminal has and the order Command parameter in system type identical second terminal the step of include:
Same commands are sent to each second terminal in synchronization according to the system type of the first terminal.
6. control method according to claim 1, which is characterized in that when the order is multiple, according to described first The order is sent to by the system type of terminal has second terminal identical with system type in the command parameter of the order The step of include:
In synchronization, for each command parameter ordered and be sent to according to the system type of the first terminal with the order The identical second terminal of middle system type.
7. control method according to claim 1, which is characterized in that the intermediary service end and the second terminal use Socket connection.
8. control method according to claim 1, which is characterized in that will be described according to the system type of the first terminal Order is sent to the step of having in the command parameter with the order system type identical second terminal and includes:
The order is encrypted using RSA Algorithm according to the system type of the first terminal, encrypted order is sent out Giving has second terminal identical with system type in the command parameter of the order.
9. control method according to claim 1, which is characterized in that the multiple terminals interactive system includes Windows behaviour Make system, (SuSE) Linux OS and dos operating system.
10. a kind of control system, which is characterized in that the control system includes:
First terminal, for sending the order that user inputs to intermediary service end;
Intermediary service end determines in the command parameter for receiving the order and parsing the order and obtain command parameter and includes The first terminal system type, and the command parameter with the order is sent the command to according to the system type The identical second terminal of middle system type;
The second terminal obtains implementing result for executing the order, and implementing result is fed back to the intermediary service End;
The intermediary service end is also used to when receiving the implementing result of the second terminal, is sent the implementing result to described First terminal.
11. control system according to claim 10, which is characterized in that the second terminal is also used to continue to monitor institute The order of intermediary service end transmission is stated, and is stored in command queue, the order in command queue described in asynchronous execution is held Row result and asynchronous feedback are to the intermediary service end.
12. control system according to claim 11, which is characterized in that the second terminal is also used to executing lasting prison The order for listening the intermediary service end to send, and be stored in after the command queue, a new thread is opened to obtain The order in command queue is stated, and by the os/exec module of Go language come order described in asynchronous execution.
CN201910557154.3A 2019-06-25 2019-06-25 Control method and system Active CN110266705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910557154.3A CN110266705B (en) 2019-06-25 2019-06-25 Control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910557154.3A CN110266705B (en) 2019-06-25 2019-06-25 Control method and system

Publications (2)

Publication Number Publication Date
CN110266705A true CN110266705A (en) 2019-09-20
CN110266705B CN110266705B (en) 2020-10-02

Family

ID=67921572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910557154.3A Active CN110266705B (en) 2019-06-25 2019-06-25 Control method and system

Country Status (1)

Country Link
CN (1) CN110266705B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314357A (en) * 2020-02-21 2020-06-19 珠海格力电器股份有限公司 Secure data management system and method thereof

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192329A1 (en) * 2006-01-24 2007-08-16 Citrix Systems, Inc. Methods and systems for executing, by a virtual machine, an application program requested by a client machine
CN101595454A (en) * 2006-01-25 2009-12-02 布兰特技术有限公司 Be used to realize the system and method for remote computer control
US7827266B2 (en) * 2007-07-31 2010-11-02 Hewlett-Packard Development Company, L.P. System and method of controlling multiple computer platforms
CN102375894A (en) * 2011-12-02 2012-03-14 曙光信息产业(北京)有限公司 Method for managing different types of file systems
KR20120085436A (en) * 2011-01-24 2012-08-01 주식회사 엘지씨엔에스 Heterogeneous Virtual Server Consolidation System and Method
CN103237046A (en) * 2013-02-25 2013-08-07 中国科学院深圳先进技术研究院 Distributed file system supporting mixed cloud storage application and realization method thereof
CN105354128A (en) * 2015-11-11 2016-02-24 中国建设银行股份有限公司 Computer resource monitoring method, device and system
CN105530277A (en) * 2014-09-30 2016-04-27 宇龙计算机通信科技(深圳)有限公司 Method and device for cooperative work of devices
CN106550022A (en) * 2016-10-24 2017-03-29 上海瀚银信息技术有限公司 A kind of application program distributes control process method and system
CN108810124A (en) * 2018-06-02 2018-11-13 上海清鹤科技股份有限公司 The remote access control system of a large amount of multimedia terminals under a kind of environment to public network

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192329A1 (en) * 2006-01-24 2007-08-16 Citrix Systems, Inc. Methods and systems for executing, by a virtual machine, an application program requested by a client machine
CN101595454A (en) * 2006-01-25 2009-12-02 布兰特技术有限公司 Be used to realize the system and method for remote computer control
US7827266B2 (en) * 2007-07-31 2010-11-02 Hewlett-Packard Development Company, L.P. System and method of controlling multiple computer platforms
KR20120085436A (en) * 2011-01-24 2012-08-01 주식회사 엘지씨엔에스 Heterogeneous Virtual Server Consolidation System and Method
CN102375894A (en) * 2011-12-02 2012-03-14 曙光信息产业(北京)有限公司 Method for managing different types of file systems
CN103237046A (en) * 2013-02-25 2013-08-07 中国科学院深圳先进技术研究院 Distributed file system supporting mixed cloud storage application and realization method thereof
CN105530277A (en) * 2014-09-30 2016-04-27 宇龙计算机通信科技(深圳)有限公司 Method and device for cooperative work of devices
CN105354128A (en) * 2015-11-11 2016-02-24 中国建设银行股份有限公司 Computer resource monitoring method, device and system
CN106550022A (en) * 2016-10-24 2017-03-29 上海瀚银信息技术有限公司 A kind of application program distributes control process method and system
CN108810124A (en) * 2018-06-02 2018-11-13 上海清鹤科技股份有限公司 The remote access control system of a large amount of multimedia terminals under a kind of environment to public network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314357A (en) * 2020-02-21 2020-06-19 珠海格力电器股份有限公司 Secure data management system and method thereof

Also Published As

Publication number Publication date
CN110266705B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
WO2022206349A1 (en) Information verification method, related apparatus, device, and storage medium
US9479496B2 (en) Communication terminal and secure log-in method acquiring password from server using user ID and sensor data
CN108965230A (en) A kind of safety communicating method, system and terminal device
TWI735429B (en) Authentication method, device, system and electronic equipment for client login server end
US20150156025A1 (en) Message sending and receiving method, apparatus, and system
WO2019178942A1 (en) Method and system for performing ssl handshake
CN115086306B (en) Data transmission method and device, electronic equipment and storage medium
CN110958119A (en) Identity verification method and device
US20170093984A1 (en) System and method for improving efficiency of ssl/tls connections
WO2019237576A1 (en) Method and apparatus for verifying communication performance of virtual machine
CN111212117A (en) Remote interaction method and device
CN113709111B (en) Connection establishment method and device
CN114500351A (en) Network performance test method, device, equipment and storage medium
US8972543B1 (en) Managing clients utilizing reverse transactions
CN114362931A (en) Internet of things equipment registration and security authentication connection and instruction interaction method
CN103384246A (en) Safety supervision system login assistant method
CN110266705A (en) A kind of control method and system
WO2015027931A1 (en) Method and system for realizing cross-domain remote command
US11240210B2 (en) Methods, apparatuses, and systems for acquiring local information
CN110213346B (en) Encrypted information transmission method and device
CN109525462B (en) Gateway testing method and device
CN107770219A (en) A kind of sharing method, gateway server and the system of form window
CN113722726A (en) Encryption and decryption method and system based on software and hardware cooperation
CN111193776A (en) Method, device, equipment and medium for automatically logging in client under cloud desktop environment
EP3414927B1 (en) Securing an interface and a process for establishing a secure communication link

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
GR01 Patent grant
GR01 Patent grant