A Socket-based remote control method and system
By acquiring user request information and network environment information from multiple control terminals, a network load balancing coefficient is generated, which solves the problem of multi-user mechanism not being supported in remote control systems and realizes remote control and file transfer for multiple clients.
Patent Information
- Application Number
- CN202211595532.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-13
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2042-12-13
AI Technical Summary
Existing remote control systems cannot support multi-user mechanisms or multiple control terminals and controlled terminals online simultaneously, making it impossible to achieve remote control and file transfer for multiple clients.
By acquiring user request information from multiple control terminals, module call collection and network environment information acquisition are performed to generate a network load balancing coefficient. This information is then used for remote call configuration to generate an instruction call sequence, enabling orderly response to multiple module call instructions.
It enables remote control and file transfer across multiple clients, solving the problem that existing technologies cannot support multi-user mechanisms and ensuring the normal operation and efficiency of remote control.
Smart Images

Figure CN116016528B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of remote protocol control technology, and specifically to a remote control method and system based on Socket. Background Technology
[0002] With the continuous development of science and technology, computer networks have become an integral and important part of our lives. In particular, under the influence of communication and network remote control technologies, our production and lifestyles have undergone tremendous changes.
[0003] In essence, computer communication and network remote control technology consists of two parts: a client program and a server program. Therefore, during operation, the remote control software program needs to be installed on both the client's control end and the server end of the controlled computer. After successful installation, the server can proactively report information to the control end. At this time, the control end can receive all activity information from the server. Meanwhile, the control end also has the same usage rights as the server and can control the server's resources.
[0004] Based on this, computer network remote control technology has been widely used in banking, industry, postal and telecommunications sectors as it continues to develop, playing an indispensable role in these fields. Summary of the Invention
[0005] This application provides a Socket-based remote control method and system, which solves the problems of existing systems being unable to adopt a multi-user mechanism and not supporting multiple control terminals and controlled terminals being online simultaneously. It achieves the goal of remote control and file transfer through multiple clients, as well as remote control, management and maintenance.
[0006] In view of the above problems, this application provides a remote control method and system based on Socket.
[0007] Firstly, this application provides a Socket-based remote control method, the method comprising: acquiring multiple control terminals of the remote protocol control system; acquiring multiple user request information based on the multiple control terminals; collecting module call information from the multiple user request information to obtain corresponding multiple module call information; sending the multiple module call information to a server, the server receiving the module call information, locating the called module, and generating multiple module call instructions; acquiring real-time network environment information; generating a network load balancing coefficient based on the real-time network environment information; using the network load balancing coefficient and the multiple module call instructions as input information, inputting them into the remote control configuration module for remote call configuration, and generating an instruction call sequence; and controlling the multiple module call instructions to respond according to the instruction call sequence.
[0008] Secondly, this application provides a Socket-based remote control system, the system comprising: a terminal control module: the terminal control module is used to acquire multiple control terminals of the remote protocol control system; an information request module: the information request module is used to acquire multiple user request information based on the multiple control terminals; an information invocation module: the information invocation module is used to collect module invocation information from the multiple user request information and acquire corresponding multiple module invocation information; an invocation instruction module: the invocation instruction module is used to send the multiple module invocation information to a server, the server receiving the module invocation information, locating the invoked module, and generating multiple module invocation instructions; an environment information module: the environment information module is used to acquire real-time network environment information; a load factor module: the load factor module is used to generate a network load balancing coefficient based on the real-time network environment information; a sequence invocation module: the sequence invocation module is used to input the network load balancing coefficient and the multiple module invocation instructions as input information to the remote control configuration module for remote invocation configuration and generate an instruction invocation sequence; and a control response module: the control response module is used to control the multiple module invocation instructions to respond according to the instruction invocation sequence.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] This invention discloses a socket-based remote control method and system, relating to the field of remote protocol control technology. The method includes: firstly, acquiring multiple control terminals of the remote protocol control system to obtain multiple user request information, then collecting module call information to obtain corresponding multiple module call information, and then sending it to the server. The server receives the module call information, locates the called module, generates multiple module call instructions, obtains real-time network environment information to generate a network load balancing coefficient, and uses it along with the multiple module call instructions as input information. This is then input into the remote control configuration module for remote call configuration, generating an instruction call sequence to control the multiple module call instructions to respond. This invention solves the problem that existing systems cannot adopt a multi-user mechanism and do not support multiple control terminals and controlled terminals being online simultaneously. It achieves the goal of remote control and file transfer through multiple clients, as well as remote control, management, and maintenance. Attached Figure Description
[0011] Figure 1 This application provides a schematic diagram of a remote control method based on Socket;
[0012] Figure 2 This application provides a schematic diagram of the instruction call sequence flow in a Socket-based remote control method;
[0013] Figure 3 This application provides a schematic diagram of the user permission judgment process in a Socket-based remote control method;
[0014] Figure 4 This application provides a schematic diagram of a remote control system structure based on Socket.
[0015] Explanation of reference numerals in the attached diagram: a) Terminal control module, b) Information request module, c) Information retrieval module, d) Retrieval instruction module, e) Environmental information module, f) Load factor module, g) Control response module, h) Sequence retrieval module. Detailed Implementation
[0016] This application provides a socket-based remote control method and system, relating to the field of remote protocol control technology. The method includes: firstly, acquiring multiple control terminals of the remote protocol control system to obtain multiple user request information, then collecting module call information to obtain corresponding multiple module call information, and then sending it to the server. The server receives the module call information, locates the called module, generates multiple module call instructions, obtains real-time network environment information to generate a network load balancing coefficient, and uses it along with the multiple module call instructions as input information. This is then input into the remote control configuration module for remote call configuration, generating an instruction call sequence to control the multiple module call instructions to respond. This solves the problem that existing systems cannot adopt a multi-user mechanism and do not support multiple control terminals and controlled terminals being online simultaneously. It achieves the goal of remote control and file transfer through multiple clients, as well as remote control, management, and maintenance.
[0017] Example 1
[0018] like Figure 1 As shown, this application provides a socket-based remote control method, which is applied to a remote protocol control system. The system is communicatively connected to a remote control configuration module, and the method includes:
[0019] Step S100: Obtain multiple control terminals of the remote protocol control system;
[0020] Specifically, remote control involves two main entities: the local computer, which issues the control commands and is called the master control end or client, and the non-local computer being controlled, which is called the controlled end or server. When multiple control terminals of a remote protocol control system are acquired, the remote protocol control system refers to a software system that integrates remote control technology and can be used for remote computer configuration, software installation, modification, and other tasks. When remote operation is required, it is necessary to first acquire multiple control terminals in the remote protocol control system. A control terminal is a terminal controller that can control one, a set of, or several sets of equipment, thus laying a solid foundation for realizing remote control through multiple clients.
[0021] Step S200: Based on the multiple control terminals, obtain multiple user request information;
[0022] Specifically, based on the information obtained from multiple control terminals, the information in the control terminals is further summarized and integrated to extract the corresponding user request information. This user request information refers to the information that one or more users need to send to the control terminal to request remote control when they need to use the control terminal for remote control. Only then can the control terminal obtain one or more user request information and use this as a reference for subsequent multi-client remote control.
[0023] Step S300 involves collecting module call information from the multiple user request information to obtain corresponding module call information;
[0024] Specifically, based on multiple user request information integrated from multiple control terminals, this information is modularly called and collected. That is, user requests are transformed into functional modules subdivided by remote control. The functions include, but are not limited to, computer desktop control, using mobile phones or computers to control networked lights, curtains, televisions, cameras, projectors, command centers, large conference rooms, etc., thereby obtaining the functional modules corresponding to different user requests, that is, the corresponding module call information. Furthermore, obtaining the module call information serves as one of the important bases for generating module call instructions later.
[0025] Step S400: The multiple module call information is sent to the server. The server receives the module call information, locates the called module, and generates multiple module call instructions.
[0026] Specifically, multiple module call information is obtained by integrating multiple user request information. The server then receives the module call information, which means that the server provides resources to the client, saves client data, and then locates the module call information as the called module. The server then generates multiple module call instructions, which are obtained by classifying, summarizing, classifying and organizing the module call information. The obtained multiple module call instructions are used as a benchmark to provide a reference for subsequent multi-client remote control.
[0027] Step S500: Obtain real-time network environment information;
[0028] Specifically, after obtaining multiple user request information, multiple module call instructions are generated based on the obtained multiple module call information. At the same time, real-time network environment information is obtained, that is, network communication is conducted through the TCP / IP protocol to infer the smoothness of the real-time network environment. TCP / IP refers to Transmission Control / Network Protocol, which is a protocol suite that enables information transmission between multiple different networks. For example, suppose two hosts need to communicate to determine the network environment. The two hosts using TCP communication must first go through a connection establishment process. After the connection is established, data transmission begins. Moreover, the "positive acknowledgment with retransmission" technology is used during the transmission process to ensure the reliability of the transmission. During the connection process between the two hosts, the real-time network environment information is judged, that is, the network environment is good, the network environment is poor, the network is interrupted, etc. Based on the obtained network environment information, reasonable judgments can be made for subsequent remote control.
[0029] Step S600 generates a network load balancing coefficient based on the real-time network environment information;
[0030] Specifically, based on the obtained network environment information, this information is extracted, and network load is statistically analyzed to determine network load balance. Network load balancing involves multiple servers arranged symmetrically as a server set, where each server has equal status and can independently provide services without the assistance of other servers. Through a load-sharing technique, incoming requests are evenly distributed to one of the servers in this symmetrical structure, and the server receiving the request responds independently to the client's request. Load balancing distributes client requests evenly across server arrays, enabling rapid retrieval of critical data and resolving issues related to high-concurrency service access. It also generates a network load balancing coefficient, which has a defined range, including a maximum, a minimum, and a relatively stable constant value. For example, in a remote control scenario, there is at least one master (client) and one controlled (server). If there is only one client and one server, the network load is minimal, meaning each client only needs to remotely control one server. However, if a client needs to remotely control one hundred servers, it may overload the network, resulting in a maximum value. Normally, if a client remotely controls 2-5 servers, the load balancing coefficient tends to be a stable constant. Furthermore, network environmental conditions can fluctuate; for example, distance between the client / server and a signal tower, or unstable connections, can also affect the load balancing coefficient. Therefore, the network load balancing coefficient refers to the degree of network load balancing under certain network conditions. As in the example above, it can be categorized as load and overload, and its purpose is to optimize remote control operations for maximum efficiency.
[0031] Step S700 uses the network load balancing coefficient and the multiple module call instructions as input information to input the remote control configuration module for remote call configuration, and generates an instruction call sequence;
[0032] Specifically, the network load balancing coefficient is collected and obtained, and simultaneously, multiple module call commands are input to its remote control configuration module for remote call configuration. The remote control configuration module performs both client-side and server-side configurations. For example, client-side configuration involves typing `mstsc.exe` in the Run dialog box on a computer, pressing Enter to open the remote desktop connection window, configuring the parameters, and then clicking "Connect," entering the username and password to access the remote desktop connection. Server-side configuration requires first creating a remote access user, then setting the user's permissions under the user properties, and finally setting the server remote connection parameters. This can be done by right-clicking "My Computer," selecting "Properties," and then selecting "Remote" in the System Properties window to open the remote parameter settings window. Check the box for "Enable Remote Desktop on this computer" and click "Select Remote Users." Select the newly created remote access user and add it to the access window. Click OK. Simultaneously, the network load balancing coefficient is used to determine the network load. Multiple modules call commands to obtain multiple user request information. Based on these two factors, a command call sequence is generated. To prevent excessive load on remote control and network from a single batch of calls, which could affect the quality of remote control, this command call sequence prioritizes multiple remote control servers based on time, i.e., first-come, first-served. This mitigates overload issues when remotely controlling multiple servers and ensures normal operation when multiple servers are remotely served.
[0033] Step S800 controls the multiple modules to respond to the instruction call sequence according to the instruction call sequence.
[0034] Specifically, based on the instruction call sequence, the first-come-first-served order in the instruction call sequence controls the multiple module call instructions. In this way, multiple module call information integrated from multiple user request information is sent to the server simultaneously. After the server receives and locates the calling module, the multiple module call instructions generated on this basis are controlled by the instruction call sequence. That is, when the remote control configuration module performs remote call configuration, it implements the previous module call instructions according to the first-come-first-served rule, so as to perform remote control of multiple clients in an orderly manner.
[0035] Furthermore, the system collects and acquires information from multiple control terminals of the remote protocol control system, thereby obtaining multiple user request information. This information is then categorized and integrated into different functional modules. Module call information is further collected, resulting in multiple module call details, which are then sent to the server. Upon receiving the module call information, the server locates the called module and generates multiple module call commands. Real-time network environment information is then communicated via TCP / IP protocol to determine the real-time network environment. After acquiring the real-time network environment information, a network load balancing coefficient is generated based on the load of the acquired information, representing the degree of network load balancing under certain network conditions. This load balancing coefficient, along with the multiple module call commands, is used as input to the remote control configuration module for remote call configuration. A command call sequence is generated based on a first-come, first-served principle, and multiple module call commands are controlled to respond. This orderly remote control of multiple clients solves the problem of existing systems being unable to adopt a multi-user mechanism and not supporting multiple control terminals and controlled terminals online simultaneously. This achieves the goal of remote control, file transfer, remote control, management, and maintenance through multiple clients.
[0036] Furthermore, such as Figure 2 As shown, step S700 of this application further includes:
[0037] Step S710: Use the network load balancing coefficient as the first constraint condition and multiple module call instructions as the data to be configured to build a constraint function;
[0038] Step S720: Based on the constraint function, perform batch call configuration for multiple module call instructions, and output the call configuration results, wherein each batch in the call configuration results is executed sequentially;
[0039] Step S730: Generate an instruction call sequence based on the call configuration result.
[0040] Specifically, the real-time network environment information collected through TCP / IP network communication is integrated to extract network load information. The network load is then evaluated, assessing the network load balance under certain conditions, including load and overload. A network load balancing coefficient is generated based on this evaluation and used as the first constraint. Multiple module call instructions (user request information) are then categorized and modularized, and used as configuration data based on the first constraint. In other words, during remote control, network load constraints must exist before user request configuration. The interaction between these two factors forms a constraint function, which is then used to batch-configure the multiple module call instructions. For example, if there are four user request information-based module call instructions, they are divided into two batches of two modules each, following a first-come, first-served principle, and batch-configured. The configuration results are then output, and a call sequence is generated based on these results. This ensures that, under conditions of network overload, multiple module call instructions can respond in batches, guaranteeing the normal operation of remote control.
[0041] Furthermore, step S730 of this application also includes:
[0042] Step S731: Connect to the remote protocol control system and acquire multiple controlled terminals;
[0043] Step S732: Obtain rate test sample data;
[0044] Step S733: Test the data transmission rate of the control terminal and multiple controlled terminals using rate test sample data, and obtain the test result, wherein the test result is the data transmission rate;
[0045] Step S734: Configure multiple module call instructions with data transmission rate as the second constraint to generate an instruction call sequence.
[0046] Specifically, when performing remote control, it is necessary to first connect to the remote protocol control system to obtain multiple controlled server terminals. The data transmission and reception rates of the client and server are recorded, collected, summarized, and organized to obtain rate test sample data. This data is then used to test the data transmission rates of the client (control terminal) and the server (one or more controlled terminals). In other words, when the client remotely controls one or more servers, the data transmission rate of each is tested. For example, using Bluetooth transmission, the data transmission duration is manually recorded from the start of data transmission to the disappearance of the device's send / receive pop-up. Based on this duration and the size of the data packet, the data transmission rate is calculated and used as a second constraint. This data transmission rate is then matched sequentially with multiple module call commands to generate a command call sequence, laying the foundation for subsequent responses in remote control.
[0047] Furthermore, step S733 of this application also includes:
[0048] Step S7331: Obtain rate test sample data, wherein the rate test sample data consists of data packets corresponding to multiple data quantization indicators;
[0049] Step S7332: Based on the rate test sample data, obtain multiple data transmission rates corresponding to multiple data quantification indicators;
[0050] Step S7333: Calculate the average of multiple data transmission rates and output the data transmission rate.
[0051] Specifically, the rate test samples, i.e., the data packets corresponding to multiple data quantization indicators, are obtained by measuring the amount of data packets sent and received in remote control. Since the size of each data packet varies when the client remotely controls different servers, and the transmission rate varies when transmitted through the system, it is necessary to calculate the average of multiple data transmission rates for accurate identification. The data transmission rate is the average number of bits, characters, or code groups transmitted between corresponding devices in the data transmission system per unit time. The formula for calculating the data transmission rate is: R = (1 / T) * log2N (bps), where T is the width of a digital pulse signal (full-width code) or repetition period (return-to-zero code), in seconds; a digital pulse is also called a symbol, and N is the number of valid discrete values taken by a symbol, also known as the modulation level number, where N is an integer power of 2. If a symbol can take two discrete values, 0 and 1, then the symbol can only carry one bit of binary information. The average value is used to represent the transmission rate. The average value is calculated as the amount of data sent in the transmission cycle divided by the transmission cycle. Therefore, the average value is used as the representative of the data transmission rate output so that there is a clear standard for the transmission rate in the process of remote control.
[0052] Furthermore, step S7333 of this application also includes:
[0053] Step S73331: Input multiple data transmission rates into the extreme value detection model to perform anomaly self-check and output the self-check results;
[0054] Step S73332: If the self-test result is that the self-test fails, obtain the anomaly removal instruction;
[0055] Step S73333: According to the anomaly removal instruction, remove extreme value data from multiple data transmission rates.
[0056] Specifically, during remote control, multiple data transmission rates are input into an extreme value detection model. This model records the values of multiple data transmission rates simultaneously during the remote control process, including maximum and minimum values. However, the excessive fluctuations caused by the occurrence of maximum or minimum values can abnormally affect the multiple data transmission rates. For example, the presence of maximum or minimum values during remote control may lead to uncontrollable or unstable remote control, resulting in lag or other issues. To avoid these abnormal situations, an anomaly self-check is performed in the extreme value detection model, which will output either a pass or fail result. If the self-check fails, a maximum or minimum value is identified, and an anomaly removal instruction is obtained. This eliminates some of the maximum and minimum values to remove the abnormal impact. Furthermore, based on the anomaly removal instruction, the extreme value data detected by the self-check is removed from the multiple data transmission rates, minimizing the abnormal impact on remote control.
[0057] Furthermore, such as Figure 3 As shown, step S100 of this application further includes:
[0058] Step S110: Obtain real-time control user information from multiple control terminals;
[0059] Step S120: Based on the real-time control user information, perform control identity verification to obtain the user's control permission level;
[0060] Step S130: Determine whether the user's control permission level meets the control terminal's permission level;
[0061] Step S140: If the user's control permission level does not meet the control terminal's permission level, obtain a reminder message.
[0062] Specifically, before initiating remote control operations, the system first acquires real-time control user information from multiple control terminals. This information includes the target client's identity and permissions, such as the real-time control user's IP address, client version, and whether they are authorized within the system. Further, the system identifies the real-time control user, determining their corresponding user control permission level. For example, assuming three levels: low, medium, and high, a low-level user has no remote control privileges, a medium-level user can only access some functional modules during remote control, and a high-level user can access all functional modules. The system then compares the user's control permission level with the control terminal's permission level. If the user's control permission level does not match the control terminal's permission level, it is considered insufficient, and a reminder message is generated. This message prompts users who need remote control but whose user control permission level is insufficient, allowing them to adjust or apply for a corresponding permission level later when needed.
[0063] Furthermore, step S130 of this application also includes:
[0064] Step S131: If the user's control permission level meets the control terminal's permission level, obtain the real-time control user's transmission data set;
[0065] Step S132: If the security factor of the transmitted data set is greater than the preset security factor, obtain the encryption command;
[0066] Step S133: According to the encryption instruction, the data set to be transmitted is encrypted using an encrypted transmission channel.
[0067] Specifically, when acquiring the user's control permission level, if the user's control permission level meets the control terminal's permission level, the real-time control user's transmission data set is obtained. This data, transmitted by the user on the client side, includes, but is not limited to, TCP protocol, TCP / IP network protocol, sent commands, data content, and the security factor of the transmitted data. Therefore, after acquiring the real-time control user's transmission data set, the security factor in this data set is compared with a default preset security factor (a fixed constant). If the security factor in the transmission data set is less than or equal to the preset security factor, the data set is transmitted normally. If the security factor is greater than the preset security factor, an encryption command is generated to encrypt the data set during transmission. This encryption command aims to prevent interference from viruses, such as those used by hackers, during remote control. The encryption command scrambles the data set, and finally, the data set is transmitted through an encrypted transmission channel according to the encryption command, thus ensuring the security of the data set transmitted by the user during remote control.
[0068] Example 2
[0069] Based on the same inventive concept as the Socket-based remote control method in the foregoing embodiments, such as Figure 4 As shown, this application provides a socket-based remote control system, the system comprising:
[0070] Terminal control module a: The terminal control module a is used by the terminal control module to acquire multiple control terminals of the remote protocol control system;
[0071] Information request module b: The information request module b is used by the information request module to obtain multiple user request information based on the multiple control terminals;
[0072] Information call module c: The information call module c is used by the information call module to collect module call information from the multiple user request information and obtain the corresponding multiple module call information;
[0073] Call instruction module d: The call instruction module d is used to send the multiple module call information to the server. The server receives the module call information, locates the called module, and generates multiple module call instructions.
[0074] Environment information module e: The environment information module e is used by the environment information module to obtain real-time network environment information;
[0075] Load factor module f: The load factor module f is used by the load factor module to generate a network load balancing coefficient based on the information of the real-time network environment;
[0076] Sequence call module g: The sequence call module g is used to input the network load balancing coefficient and the multiple module call instructions as input information to the remote control configuration module to perform remote call configuration and generate an instruction call sequence;
[0077] Control response module h: The control response module h is used by the control response module to control the multiple module call instructions to respond according to the instruction call sequence.
[0078] Furthermore, the system also includes:
[0079] Constraint Function Module: The constraint function module is used to construct constraint functions by taking the network load balancing coefficient as the first constraint condition and multiple module call instructions as data to be configured.
[0080] The configuration module is used to batch call configurations for multiple module call instructions based on constraint functions, and output the call configuration results. The batches in the call configuration results are executed sequentially.
[0081] Call sequence module: The call sequence module is used to generate instruction call sequences based on the call configuration results.
[0082] Furthermore, the system also includes:
[0083] Controlled terminal acquisition module: The controlled terminal acquisition module is used to connect to the remote protocol control system and acquire multiple controlled terminals;
[0084] Test Sample Module: The test sample module is used to acquire rate test sample data;
[0085] Transmission rate module: The transmission rate module is used to test the data transmission rate between the control terminal and the multiple controlled terminals using rate test sample data, and obtain the test result, wherein the test result is the data transmission rate;
[0086] Instruction call sequence module: The instruction call sequence module is used to configure multiple module call instructions with data transmission rate as the second constraint, and generate instruction call sequence.
[0087] Furthermore, the system also includes:
[0088] Sample data module: The sample data module is used to acquire rate test sample data, which consists of data packets corresponding to multiple data quantification indicators;
[0089] Transmission rate module: The transmission rate module is used to obtain multiple data transmission rates corresponding to multiple data quantification indicators based on the rate test sample data;
[0090] Rate output module: The rate output module is used to calculate the average of multiple data transmission rates and output the data transmission rate.
[0091] Furthermore, the system also includes:
[0092] Self-test output module: The self-test output module is used to input multiple data transmission rates into the extreme value detection model to perform anomaly self-testing and output the self-test results;
[0093] Anomaly Removal Module: The anomaly removal module is used to obtain an anomaly removal instruction if the self-test result is that the self-test fails.
[0094] Extreme value removal module: The extreme value removal module is used to remove extreme value data from multiple data transmission rates according to the abnormal removal instruction.
[0095] Furthermore, the system also includes:
[0096] Real-time control module: The real-time control module is used to acquire real-time control user information from multiple control terminals;
[0097] Control and permission module: The control and permission module is used to identify the user's identity based on the information of the user in real time and obtain the user's control permission level;
[0098] Permission Level Judgment Module: This module is used to determine whether the user's control permission level meets the control terminal's permission level.
[0099] Alert message acquisition module: This module is used to acquire alert messages if the user's control permission level does not meet the control terminal's permission level.
[0100] Furthermore, the system also includes:
[0101] Transmission data set acquisition module: The transmission data set acquisition module is used to acquire the transmission data set of the real-time control user if the user's control permission level meets the control terminal's permission level.
[0102] Encryption command acquisition module: The encryption command acquisition module is used to acquire encryption commands if the security factor of the transmitted data set is greater than the preset security factor;
[0103] Transmission channel encryption module: The transmission channel encryption module is used to encrypt the transmission data set according to the encryption instruction and use an encrypted transmission channel for encrypted transmission.
[0104] Through the foregoing detailed description of a Socket-based remote control method, those skilled in the art can clearly understand the Socket-based remote control method and system in this embodiment. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and relevant parts can be referred to in the method section.
[0105] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A socket-based remote control method, characterized by, The method is applied to a remote protocol control system, which is in communication connection with a remote control configuration module, and the method comprises: Obtaining a plurality of control terminals of the remote protocol control system; Based on the plurality of control terminals, obtaining a plurality of user request information; Module calling collection is performed on the plurality of user request information to obtain a plurality of corresponding module calling information; The plurality of module calling information is sent to a server, the server receives the module calling information, locates the called module, and generates a plurality of module calling instructions; Obtaining information of a real-time network environment; According to the information of the real-time network environment, a network load balancing coefficient is generated; The network load balancing coefficient and the plurality of module calling instructions are input as input information into the remote control configuration module for remote calling configuration to generate an instruction calling sequence; According to the instruction calling sequence, the plurality of module calling instructions are controlled to respond; The method further comprises: The network load balancing coefficient is taken as a first constraint condition, and the plurality of module calling instructions are taken as to-be-configured data to build a constraint function; According to the constraint function, batch calling configuration is performed on the plurality of module calling instructions, and a calling configuration result is output, wherein each batch in the calling configuration result is executed in sequence; According to the calling configuration result, the instruction calling sequence is generated; The method further comprises: The remote protocol control system is connected to obtain a plurality of controlled terminals; Obtaining rate test sample data; The rate test sample data is used to test the data transmission rate of the control terminal and the plurality of controlled terminals to obtain a test result, wherein the test result is a data transmission rate; The data transmission rate is taken as a second constraint condition to configure the plurality of module calling instructions to generate the instruction calling sequence; The rate test sample data is obtained, wherein the rate test sample data is a data packet corresponding to a plurality of data quantization indexes; According to the rate test sample data, a plurality of data transmission rates corresponding to the plurality of data quantization indexes are obtained; The plurality of data transmission rates are subjected to mean value calculation to output the data transmission rate; The plurality of data transmission rates are input into an extreme value detection model for abnormal self-detection to output a self-detection result; If the self-detection result is that the self-detection fails, an abnormal elimination instruction is obtained; According to the abnormal elimination instruction, extreme value data is eliminated from the plurality of data transmission rates.
2. The method of claim 1, wherein, The method further comprises: Obtaining information of a real-time control user of the plurality of control terminals; According to the information of the real-time control user, control identity recognition is performed to obtain a user control authority level; It is judged whether the user control authority level meets a control terminal authority level; If the user control authority level does not meet the control terminal authority level, a prompt information is obtained.
3. The method of claim 2, wherein, The system comprises an encrypted transmission channel, and the method further comprises: If the user control authority level meets the control terminal authority level, a transmission data set of the real-time control user is obtained; If a security coefficient of the transmission data set is greater than a preset security coefficient, an encryption instruction is obtained; According to the encryption instruction, the transmission data set is encrypted and transmitted through an encrypted transmission channel.
4. A socket-based remote control system, characterized by, The system is connected with a remote control configuration module, and the system comprises: A terminal control module is configured to acquire a plurality of control terminals of the remote protocol control system. An information request module is configured to acquire a plurality of user request information based on the plurality of control terminals. An information calling module is configured to acquire a plurality of module calling information by calling and collecting the plurality of user request information. A calling instruction module is configured to send the plurality of module calling information to a server, and the server receives the module calling information, locates a called module, and generates a plurality of module calling instructions. An environment information module is configured to acquire information of a real-time network environment. A load coefficient module is configured to generate a network load balancing coefficient according to the information of the real-time network environment. A sequence calling module is configured to input the network load balancing coefficient and the plurality of module calling instructions as input information into the remote control configuration module for remote calling configuration to generate an instruction calling sequence. A control response module is configured to control the plurality of module calling instructions to respond according to the instruction calling sequence.
Citation Information
Patent Citations
Real-time multi-task remote network control system
CN103188329A
Monitoring resource sharing method, device and system and electronic equipment
CN111193899A
Intelligent gateway control method and device and computer readable storage medium
CN113114583A