Network control method, device, control terminal and operating machine for operating machine
By sending detection and testing requests in the LAN, determining equipment information and entering the network control state, the problem of multiple working machines being unable to be interconnected is solved, and the control of multiple working machines with low cost and high efficiency is achieved, and the construction efficiency is improved. .
Patent Information
- Application Number
- CN202210616320.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-05-31
AI Technical Summary
In the prior art, multiple working machines cannot be interconnected, resulting in the need of multiple control ends for control at the construction site, increasing construction costs and reducing efficiency.
By sending a detection request carrying device identification in the local area network, analyzing the response information, determining the device information, and sending a test request based on this information to enter the network control state, network control of multiple working machines is realized.
The low-cost and high-efficiency control of multiple working machines is realized, reducing operational complexity and cost, and improving the control efficiency of working machines.
Smart Images

Figure CN115022903B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a networking control method, device, control terminal and operating machine for an operating machine. Background Art
[0002] At the construction site, multiple machines are used to work together to perform construction work synchronously. However, due to the different types of machines, there are differences in the hardware and software systems of the machines. Even for machines of the same type, different manufacturers also make the hardware and software systems of the machines different. Therefore, it is impossible to achieve networking control of multiple machines.
[0003] Since multiple working machines cannot be networked and controlled at the same time, the existing technology groups multiple working machines into groups, and then sets a corresponding control terminal for each group of working machines. Multiple working machines are controlled by multiple control terminals, which increases the construction control cost.
[0004] Furthermore, in the actual control process, the operation of multiple control terminals is complicated and inflexible, resulting in low operating efficiency. Summary of the invention
[0005] The present invention provides a networking control method, device, control terminal and working machine of an operating machine, so as to solve the defects of high cost and low efficiency in the prior art caused by controlling the operating machines through multiple control terminals due to the fact that multiple operating machines cannot be interconnected, and realize the networking control of multiple operating machines, so as to control multiple operating machines at low cost and high efficiency.
[0006] The present invention provides a networking control method for an operating machine, which is applied to a control end, wherein the control end and at least two operating machines form a local area network, and the method comprises:
[0007] Sending a detection request carrying a device identification in the local area network;
[0008] parsing the response information in response to the detection request to obtain the equipment information of the responding operation machine, wherein the responding operation machine is the operation machine that responds to the detection request;
[0009] Based on the response information and the device information, sending a test request to the responding operation machine;
[0010] When a response result corresponding to the test request returned by the responding operation machine is received, it is determined that each of the responding operation machines enters a networking control state.
[0011] According to a networking control method for a working machine provided by the present invention, sending a detection request carrying a device identification in the local area network includes:
[0012] Determine the device identification to be used based on the sniffing strategy and the pre-set device information table;
[0013] generating the detection request carrying the device identification;
[0014] The probe request is sent in the local area network.
[0015] According to a networking control method for a working machine provided by the present invention, the device identification to be used is determined based on a sniffing strategy and a preset device information table, including:
[0016] Determine the device interval and the priority of each of the device intervals based on the device type and table number in the device information table;
[0017] Based on the priority of the device interval, the following processing is performed on each of the device intervals in turn:
[0018] Using the information corresponding to the first table number of the current device interval as the device identifier to be used;
[0019] When it is determined that the response information corresponding to the detection request is obtained, the information corresponding to the next table number of the device interval is used as the device identifier to be used; when it is determined that the response information corresponding to the detection request has not been obtained for a preset number of times in a row in the current device interval, the information corresponding to the last table number of the device interval is used as the device identifier to be used.
[0020] According to a networking control method for an operating machine provided by the present invention, the parsing of the response information in response to the detection request to obtain the device information of the responding operating machine includes:
[0021] When receiving the response information returned by the responding operation machine, determining the equipment type of the responding operation machine;
[0022] Determine an information parsing method corresponding to the device type;
[0023] The response information is analyzed by using the information analysis method to obtain the device information of the responding operating machine.
[0024] According to a networking control method for an operating machine provided by the present invention, before parsing the response information of the detection request to obtain the device information of the responding operating machine, the method further includes:
[0025] Receive status feedback flag;
[0026] When it is determined that the status feedback identifier indicates that the working machine corresponding to the detection request is not online, filtering the status feedback identifier;
[0027] When it is determined that the status feedback identifier indicates that the working machine corresponding to the detection request is online, response information returned by the responding working machine is received.
[0028] According to a networking control method for an operating machine provided by the present invention, sending a test request to the responding operating machine based on the response information and the device information includes:
[0029] sorting the responding operation machines based on the response information and the equipment information;
[0030] Based on the sorting result, the test request is sent to each of the responding working machines, and the sorting result is used to indicate the verification order of the responding working machines.
[0031] According to a networking control method for a working machine provided by the present invention, the response information includes: response time; the device information includes a device number;
[0032] The sorting of the responding operation machines based on the response information and the equipment information includes: determining the response order of the responding operation machines based on the response time;
[0033] Based on the equipment numbers, determining the physical order of the responding operation machines, wherein the physical order is a result of sorting based on the size of the equipment numbers;
[0034] The responding operating machines are sorted based on the response priority order and the physical priority order.
[0035] According to a networking control method for working machines provided by the present invention, when receiving a response result corresponding to a test request returned by the responding working machines, determining that each responding working machine enters a networking control state includes:
[0036] When receiving the response result returned by each of the responding operation machines, matching the response result with the pre-stored real result;
[0037] When it is determined that each of the response results is consistent with the true result, it is determined that each of the responding operating machines enters a networking control state.
[0038] The present invention also provides a networking control device for an operating machine, which is applied to a control end, wherein the control end and at least two operating machines form a local area network, and the device comprises:
[0039] A sending module, used for sending a detection request carrying a device identification in the local area network;
[0040] A parsing module, used for parsing the response information in response to the detection request to obtain the equipment information of the responding operation machine, wherein the responding operation machine is the operation machine that responds to the detection request;
[0041] A test module, used for sending a test request to the responding operation machine based on the response information and the device information;
[0042] The determination module is used to determine that each of the responding operating machines enters a networking control state when receiving a response result corresponding to the test request returned by the responding operating machine.
[0043] The present invention also provides a control terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a networking control method for an operating machine as described in any one of the above is implemented.
[0044] The present invention further provides an operating machine, comprising: an operating machine body and a controller, wherein the controller is used to implement any of the above-described networking control methods for the operating machine.
[0045] The present invention provides a networking control method, device, control terminal and working machine of a working machine. The networking control method of the working machine is applied to the control terminal to control and form a local area network with at least two working machines. The method sends a detection request carrying a device identification in the local area network; parses the response information of the response detection request to obtain the device information of the responding working machine. It can be seen that the present application obtains the device information of the responding working machine in the local area network through the detection request; then, based on the response information and the device information, sends a test request to the responding working machine. When the response result corresponding to the test request returned by the responding working machine is received, it is determined that each responding working machine enters a networking control state. It can be seen that the present application determines that each responding working machine can be controlled in the local area network through the test request, thereby ensuring that each responding working machine enters a networking control state. In summary, the present application can realize networking control of various working machines through one control terminal. Compared with the method of controlling working machines using multiple control terminals in the prior art, it has low cost and flexible operation, thereby improving the control efficiency of multiple working machines and improving the working efficiency of the working machines. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 This is one of the structural diagrams of the network control system provided by the present invention;
[0048] Figure 2 This is the second structural diagram of the network control system provided by the present invention;
[0049] Figure 3 This is the third structural diagram of the network control system provided by the present invention;
[0050] Figure 4 This is one of the flow charts of the networking control method for the operating machinery provided by the present invention;
[0051] Figure 5 This is the second flow chart of the networking control method for the operating machinery provided by the present invention;
[0052] Figure 6 This is the third flow chart of the networking control method for the operating machinery provided by the present invention;
[0053] Figure 7 It is a structural schematic diagram of a networking control device for an operating machine provided by the present invention;
[0054] Figure 8 It is a structural schematic diagram of the control terminal provided by the present invention. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] Combine the following Figures 4 to 6 The networking control method of the working machine of the present invention is described.
[0057] An embodiment of the present invention provides a networking control method for an operating machine. The method is applied to a control terminal, and the control terminal and at least two operating machines form a local area network.
[0058] In order to clearly explain the networking control method of the working machine of the embodiment of the present application, the networking control system is described below:
[0059] The network control system is a system composed of a control terminal and at least two operating machines. The system includes at least two operating machines, which can be operating machines of the same equipment type or operating machines of different equipment types.
[0060] For example, when at least two operating machines are of the same equipment type, they can be fracturing trucks, sand mixing trucks, instrument trucks, etc. In addition, although at least two operating machines are of the same type, they may be from different manufacturers. Due to different manufacturers, the communication methods of the operating machines are also different. Of course, even operating machines of the same equipment type from the same manufacturer may not be able to interconnect. Below, take the operating machine as a fracturing truck as an example for explanation:
[0061] Fracturing trucks are an important type of equipment in fracturing construction and production increase operations. During the construction process, multiple devices are generally used for combined and synchronous operations to complete the task. Therefore, in order to maintain synchronous control of the construction during the construction process, a combined network is required for remote control.
[0062] At present, there are many manufacturers of mainframes of fracturing equipment. Since there is no industry standard for fracturing equipment, each manufacturer designs it according to its own technical capabilities. As a result, there are differences in the hardware and software systems of fracturing equipment from different manufacturers, and the function of interconnection between pressure equipment from different manufacturers cannot be achieved.
[0063] In larger fracturing construction sites, fracturing equipment from multiple manufacturers is usually used for collaborative construction. However, since the fracturing equipment from different manufacturers cannot be interconnected (the hardware interfaces are not unified, the physical connection lines cannot be connected together, the software protocols are different, and information cannot be communicated with each other), remote control terminals can only be installed in the instrument vehicle control center according to the manufacturer's equipment type. Sometimes there are as many as 5 remote control terminals on site. The control space of the instrument vehicle control center is limited, and sometimes it is impossible to use multiple remote control terminals at the same time. Moreover, in the case of large-scale construction and equipment from multiple manufacturers, multiple remote control terminals make user operation extremely complicated and inflexible.
[0064] For another example, when at least two operating machines are operating machines of different equipment types, for example, when at least two operating machines include a fracturing truck and a sand mixing truck, interconnection between the various devices cannot be achieved due to the different equipment types.
[0065] The control end may be a smart terminal, a server, or a control center in an operating machine. The following description will be made using the control end as the control center of an operating machine, specifically the control center of an instrument vehicle as an example.
[0066] Specifically, the control end and the working machine are connected to a network through a physical line, and the physical line is a communication line that can communicate. Among them, the connection methods between the control end and the working machine include the following three, and the user can choose the connection method based on his own needs:
[0067] The first connection method is a ring network connection method, such as Figure 1 As shown:
[0068] exist Figure 1 The middle control end is illustrated by taking the control center of the instrument vehicle and the fracturing trucks of four manufacturers as examples. The four manufacturers are fracturing trucks of manufacturer A, manufacturer B, manufacturer C and manufacturer D, and each manufacturer may have one or more fracturing trucks.
[0069] Since the control center of the instrument vehicle has multiple communication ports, it can be connected to multiple working machines. However, in actual use, the number of working machines is far greater than the number of communication ports of the control center.
[0070] Specifically, when the operating range is large and the number of operating machines is large, the first connection method can save communication lines, and each operating machine can select the communication route closest to the control center to send data based on the nearest principle.
[0071] Among them, for the ring network connection mode, the networking control of each operating machine is realized through the network interconnection between each operating machine.
[0072] The second connection method is external network connection, such as Figure 2 As shown:
[0073] exist Figure 2 The middle control end is illustrated by taking the control center of the instrument vehicle and the fracturing trucks of four manufacturers as examples. The four manufacturers are fracturing trucks of manufacturer A, manufacturer B, manufacturer C and manufacturer D, and each manufacturer may have one or more fracturing trucks.
[0074] Specifically, when the operating range is small and the number of operating machines is small, the second connection method can effectively improve the data transmission efficiency.
[0075] The third connection method is a linear network connection method, such as Figure 3 As shown:
[0076] exist Figure 3 The middle control end is illustrated by taking the control center of the instrument vehicle and the fracturing trucks of four manufacturers as examples. The four manufacturers are fracturing trucks of manufacturer A, manufacturer B, manufacturer C and manufacturer D, and each manufacturer may have one or more fracturing trucks.
[0077] Specifically, when the operating range is large and the number of operating machines is large, the first connection method can save communication lines.
[0078] Based on the above networking control system, through the networking control method of the operating machinery, it is determined that each responding operating machinery enters the networking control state. The specific implementation of this method is as follows: Figure 4 As shown:
[0079] Step 401: Send a detection request carrying a device identification in a local area network.
[0080] The local area network is formed by connecting various operating machines and control terminals through communication lines.
[0081] In a specific embodiment, in order to determine the online operating machines among all the operating machines and then realize the networking control of the online operating machines, the specific implementation of this embodiment to determine the online operating machines by sending a detection request to the local area network is as follows:
[0082] Based on the sniffing strategy and the pre-set device information table, determine the device identification to be used; generate a detection request carrying the device identification; and send the detection request in the local area network.
[0083] Among them, the sniffing strategy is a strategy for detecting online operating machinery based on sniffing technology and actual operating needs.
[0084] Specifically, by studying various types and manufacturers of operating machines in advance, an equipment information table is obtained, which includes: a unique table number (serial number), equipment type, equipment manufacturer, equipment controller type and equipment status code, etc., as shown in Table 1:
[0085] Serial number Device Type Equipment manufacturers Controller Type Status Code 1 Fracturing Truck Manufacturer A AB500 N9:0 2 Fracturing Truck Manufacturer A AB5000 car_number 3 Fracturing Truck Manufacturer A SYMC 40001 4 Fracturing Truck Manufacturer B ab5000 program_no 5 Fracturing Truck Manufacturer B SIM300 MB1.0
[0086] Table 1 Equipment information table
[0087] The specific information in Table 1 is for illustrative purposes only. In actual use, the equipment information table includes relevant information of all operating machinery on the construction site.
[0088] Specifically, when storing the relevant information of the operating machinery, the equipment information table is first divided according to the dimension of the equipment manufacturer. For example, all equipment types corresponding to manufacturer A are stored first, and then all equipment types of manufacturer B are stored, and so on. After dividing according to the dimension of equipment manufacturer, each manufacturer is divided according to the dimension of equipment type. For example, for manufacturer A, all fracturing trucks are stored first, and then all sand blending trucks are stored, and so on. When storing, the operating machinery is stored in the order of id addresses.
[0089] The embodiment of the present application prepares the device information table in the above manner, which saves time for the subsequent generation of detection requests, and further reduces the time for finding a responding operating machine.
[0090] Among them, the serial number cannot be repeated in the device information table and is unique.
[0091] Specifically, the sniffing strategy is to determine the rules of the device identification to be used from the device information table, and specifically determine the corresponding device identification by determining the status code. Among them, the device identification includes: device type, device manufacturer, controller type, device number and device identification number, etc. Among them, the device number is the number set by the manufacturer when the device leaves the factory, which is generally the last digit of the IP address. The device identification number is the unique identifier of the device, which is generally a string such as a rack number that can uniquely represent the device.
[0092] Specifically, by determining the serial number, determining the corresponding status code, and then determining the corresponding device identification, the fields included in the device identification are combined into a character string, and a detection request carrying the character string that can represent the device identification is generated.
[0093] Specifically, after obtaining the character string that can represent the device identification, it is packaged to obtain a data packet, and a detection request carrying the data packet is generated.
[0094] Specifically, different device types correspond to respective network ports. When a detection request carrying a device identifier is generated, a corresponding target network port is determined based on the device type of the detection request, and then the detection request is sent to the target network port in the local area network.
[0095] In a specific embodiment, based on the sniffing strategy and the pre-set device information table, the serial number to be used is determined, that is, the device identification to be used can be determined. The specific implementation of determining the serial number to be used is as follows:
[0096] Based on the device type and table number in the device information table, determine the device interval and the priority of each device interval; based on the priority of the device interval, perform the following processing on each device interval in turn: use the information corresponding to the first table number in the current device interval as the device identifier to be used; when it is determined that the response information corresponding to the detection request is obtained, use the information corresponding to the next table number in the device interval as the device identifier to be used; when it is determined that the current device interval has not received response information corresponding to a preset number of detection requests in a row, use the information corresponding to the last table number in the device interval as the device identifier to be used.
[0097] The information corresponding to the table number is the relevant information corresponding to the serial number in the device information table.
[0098] Among them, the table number is the serial number and is unique.
[0099] In order to determine the device identity to be used, a detailed description of the sniffing strategy is required:
[0100] The sniffing strategy is a strategy based on a jump step length, in which the jump step length is distinguished according to the operating characteristics of different operating machines and is set in advance. When making a detection request, if a certain type of equipment has not been online, then based on the jump step length algorithm, it will directly jump over the equipment interval and no longer perform an online sniffing test. The sniffing strategy of this application significantly reduces the time to find online operating machines and increases the speed of online networking.
[0101] Take the example of fracturing trucks with serial numbers 1-250 from manufacturer A and 251-300 from manufacturer B:
[0102] Among them, 1-250 is the equipment range of the fracturing truck of manufacturer A, and 251-300 is the equipment range of the fracturing truck of manufacturer B.
[0103] Specifically, when it is determined that the sequence number at the current moment is 1, a probe request corresponding to sequence number 1 is generated, and the probe request is sent to the local area network, and a response is waited for. If no response is received within the preset time period, the next sequence number, i.e. 2, is determined, and a probe request corresponding to sequence number 2 is generated, and the probe request is sent to the local area network, and a response is waited for. If no response is received within the preset time, the next sequence number, i.e. 3, is determined, and so on. If no response is received until the probe request corresponding to sequence number N, the next sequence number is directly determined to be 250, i.e., the last sequence number in the device interval, and a probe request corresponding to sequence number 250 is generated, and the probe request is sent to the network, and a response is waited for. If no response is received within the preset time, the next sequence number, i.e. 251, is determined, and so on. If a response is received within the preset time, the response information is read and the next sequence number, i.e. 251, is determined.
[0104] The above process is repeated repeatedly until the last device interval.
[0105] Wherein, N is an integer greater than 1 and less than 250, and N is the preset number.
[0106] Among them, 251 is the first table number of the next device interval.
[0107] Among them, the preset numbers corresponding to different equipment intervals may be different, and can be determined in advance according to actual conditions.
[0108] Specifically, in the embodiment of the present application, when a preset number of response information corresponding to the detection request is not received continuously in a device interval, the information corresponding to the last table number of the device interval is used as the device identification to be used. For example, when no response is received at sequence number 4, and no response is received until sequence number 13, it directly jumps to sequence number 250. If no response is received at sequence number 4, but a response is received at sequence number 10, then a detection request corresponding to sequence number 11 is generated.
[0109] The embodiment of the present application adopts this jumping step and looping method to detect online operating machines, which reduces the time for finding online operating machines and improves the speed of online networking.
[0110] Step 402, parse the response information of the response detection request to obtain the equipment information of the responding operation machine.
[0111] Among them, the responding operating machine is an operating machine that responds to the detection request and is an online operating machine.
[0112] In a specific embodiment, after the generated detection request is sent in the local area network, a status feedback identifier is received; when it is determined that the status feedback identifier indicates that the working machine corresponding to the detection request is not online, the status feedback identifier is filtered; when it is determined that the status feedback identifier indicates that the working machine corresponding to the detection request is online, response information returned by the responding working machine is received.
[0113] Among them, if no response is received, that is, there is no response, the operating machine returns a response information.
[0114] Specifically, after sending the detection request, wait for the response of the operating machine corresponding to the equipment identifier in the detection request. If no operating machine responds to the detection request within the preset time, the status feedback identifier returned by the system indicating that the operating machine corresponding to the detection request is not online can be represented by False. At this time, filter the status feedback identifier, and determine whether the number of times no response has been received at this time has reached the preset number. If so, generate a new detection request again based on the first table number of the next equipment interval. Otherwise, generate a new detection request based on the information corresponding to the next table number. Of course, the next table number at this time may be the serial number of the current equipment interval, or it may be the first serial number of the next equipment area.
[0115] Specifically, after sending the detection request, wait for the response of the working machine corresponding to the device identifier in the detection request. If there is a working machine responding to the detection request within the preset time, the system returns a status feedback identifier indicating that the working machine corresponding to the detection request is online, which can be represented by True. At this time, since there is a responding working machine, the response information returned by the responding working machine will also be received.
[0116] In a specific embodiment, after obtaining the response information returned by the response operation machine, the response information is parsed to obtain the device information as follows:
[0117] When the response information returned by the responding operation machine is received, the device type of the responding operation machine is determined; the information parsing method corresponding to the device type is determined; the response information is parsed using the information parsing method to obtain the device information of the responding operation machine.
[0118] Specifically, due to the different types of equipment, there are differences in hardware and software systems, so the corresponding information parsing methods are different. In addition, even if the equipment type is the same, the operating machinery of different manufacturers has differences in hardware and software systems, and the corresponding information parsing methods will also be different. Therefore, on the basis of determining the equipment type, it is necessary to determine the manufacturer corresponding to the operating machinery to obtain the final information parsing method. Then, the final information parsing method is used to parse the response information and obtain the equipment information of the operating machinery.
[0119] Among them, the equipment information includes: the network port of the operating machinery, the equipment type, the equipment manufacturer and the equipment number, etc.
[0120] Specifically, the information parsing method is pre-set based on the device type and / or device manufacturer.
[0121] For example, in response to machine 1, a binary string is returned, where the 1st to 4th bits of the string represent the network port, the 5th to 8th bits represent the device type, and the 10th to 15th bits represent the device manufacturer, etc.; for another example, in response to machine 2, a binary string is returned, where the 1st to 4th bits of the string represent the device type, and the 6th to 9th bits represent the network port, etc. Therefore, the corresponding parsing method is required to parse the response information in order to obtain accurate device information.
[0122] Step 403: Send a test request to the responding operating machine based on the response information and the equipment information.
[0123] In a specific embodiment, after the equipment information is obtained, the equipment information is stored in an equipment status parameter table in the database. At this time, the operating machines in the equipment status parameter table are all online operating machines.
[0124] In a specific embodiment, the responding operating machines are sorted based on the response information and the equipment information; based on the sorting result, a test request is sent to each responding operating machine, and the sorting result is used to indicate the verification order of the responding operating machines.
[0125] In a specific embodiment, the response order of the responding operation machines is determined based on the response time; the physical order of the responding operation machines is determined based on the equipment number; and the responding operation machines are sorted based on the response order and the physical order.
[0126] The response information includes: response time, that is, the time it takes for the responding operation machine to return the response information.
[0127] The physical order is the result of sorting based on the size of the device numbers.
[0128] Specifically, the equipment information for physically sequencing the operating machines includes: equipment numbers, that is, the operating machines are sequenced according to the sequence of the equipment numbers.
[0129] Specifically, the operating machines are first sorted based on the time sequence of the response information, and then based on the sorting result, adjustments are made based on the sequence of the equipment numbers to obtain the final sorting result of the responding operating machines.
[0130] Among them, since in the online sniffing test stage, the detection is carried out in the order of the serial numbers in the equipment information table, the responding operating machinery is also classified based on the equipment type and equipment manufacturer.
[0131] Specifically, after obtaining the device information, the device information can be stored in the device status parameter table in the database according to the response time. At this time, only one adjustment is made based on the device number to obtain the final sorting result.
[0132] In the embodiment of the present application, unique position information is assigned to each responding operation machine by sorting the responding operation machines, and then the test or application can be performed based on the unique position information during the test or application.
[0133] Step 404, when a response result corresponding to the test request returned by the responding operation machine is received, it is determined that each responding operation machine enters a networking control state.
[0134] In a specific embodiment, after each responding operation machine is assigned unique location information, a test request is sent to each responding operation machine based on the unique location information to determine whether each operation machine can be controlled by the network. When a response result returned by each responding operation machine is received, the response result is matched with a pre-stored real result; when it is determined that each response result is consistent with the real result, the responding operation machine is determined to enter the network control state.
[0135] Specifically, the test request is to send a request to each responding operation machine to obtain the device number and device identification number, the response result is the device number and device identification number returned by the responding operation machine, and the real result is the device number and device identification number stored in the device status parameter table. When the response result returned by each responding operation machine is consistent with the real result, it is determined that the responding operation machine enters the networking control state, that is, the networking is successful, otherwise, the networking fails.
[0136] Next, through Figure 5 The networking control method of the operating machinery is described in detail:
[0137] Step 501, create a device information table based on the characteristics of devices from different manufacturers.
[0138] Step 502: According to the setting of the jump step length, the device identification in the device information table is obtained, and a detection request is sent to each operating machine.
[0139] Step 503, in an independent data receiving process, wait to receive the response information returned by the responding operation machine.
[0140] Step 504: parse the response information to obtain identifiable device information.
[0141] Step 505: store the status feedback identifier and device information in a device status parameter table in a database.
[0142] The status feedback indicator at this time indicates whether the working machine corresponding to the detection request is online.
[0143] Step 506, obtaining the equipment information of the corresponding operating machinery, and coding and sorting the corresponding operating machinery based on the equipment information, so as to control the operating machinery according to the unique position information.
[0144] Among them, coding sorting is to assign unique location information to the corresponding operating machinery.
[0145] Step 507, sending a test request according to the coded and sorted device information to verify whether the responding operating machine at the corresponding position can return a response result corresponding to the test request.
[0146] For the fracturing truck, the embodiment of the present application adds it to the combined network through the equipment information of the fracturing truck, and the pressure truck that is quickly connected to the network can perform on-site construction operations without the need to query the equipment address separately and modify the parameters of the controlled equipment, thereby realizing the mixed connection and intercommunication networking function.
[0147] Next, through Figure 6 The networking control method of the operating machinery is further described in detail:
[0148] Step 601, read the device information table, package the read device identification, and generate a detection request.
[0149] Step 602: determine the network port corresponding to the device identifier, and send a detection request based on the network port.
[0150] Step 603 , determining whether the status feedback identifier returned by the network port indicates that the operating machine is online, if so, executing step 604 , otherwise, executing step 605 .
[0151] Step 604, receiving and parsing the response information returned by the responding operation machine.
[0152] Step 605: filter the status feedback identifier.
[0153] Step 606, determine whether the current serial number is the last serial number in the device information table, if so, execute step 607, otherwise, execute step 601.
[0154] Step 607, read the device information in the device status parameter, and encode and sort the read device information.
[0155] Step 608: Generate and send a test request based on the sorting result.
[0156] Step 609: Receive a response result corresponding to the test request, and determine the consistency between the response result and the actual result.
[0157] Step 610 , determining whether the unique location information at the current moment is the last unique location information in the device status parameter table, if so, executing step 611 , otherwise, executing step 608 .
[0158] Step 611: When it is determined that all the response results are consistent with the actual results, it is determined that the networking is successful; if there is any inconsistency between the response result and the actual result, it is determined that the networking fails.
[0159] The networking control method of the operating machinery provided by the present invention is applied to the control end, and the control end and at least two operating machinery form a local area network. The method sends a detection request carrying a device identification in the local area network; parses the response information of the response to the detection request to obtain the device information of the responding operating machinery. It can be seen that the present application obtains the device information of the responding operating machinery in the local area network through the detection request; then, based on the response information and the device information, a test request is sent to the responding operating machinery. When the response result corresponding to the test request returned by the responding operating machinery is received, it is determined that each responding operating machinery enters the networking control state. It can be seen that the present application determines that each responding operating machinery can be controlled in the local area network through the test request, thereby ensuring that each responding operating machinery enters the networking control state. In summary, the present application can realize the networking control of various operating machinery through one control end. Compared with the method of controlling the operating machinery using multiple control ends in the prior art, it has low cost and flexible operation, thereby improving the control efficiency of multiple operating machinery and improving the operating efficiency of the operating machinery.
[0160] The networking control device of the working machine provided by the present invention is described below. The device is applied to a control end. The control end and at least two working machines form a local area network. The networking control device of the working machine described below and the networking control method of the working machine described above can be referred to each other, and the repeated parts will not be repeated. Figure 7 As shown, the device comprises:
[0161] The sending module 701 is used to send a detection request carrying a device identification in the local area network;
[0162] The parsing module 702 is used to parse the response information of the response detection request to obtain the equipment information of the responding operation machine;
[0163] The test module 703 is used to send a test request to the responding operation machine based on the response information and the equipment information;
[0164] The determination module 704 is used to determine whether each responding operation machine enters a networking control state when receiving a response result corresponding to the test request returned by the responding operation machine.
[0165] In a specific embodiment, the sending module 701 is specifically used to determine the device identification to be used based on the sniffing strategy and a pre-set device information table; generate a detection request carrying the device identification; and send the detection request in the local area network.
[0166] In a specific embodiment, the sending module 701 is specifically used to determine the device interval and the priority of each device interval based on the device type and table number in the device information table; based on the priority of the device interval, the following processing is performed on each device interval in turn: the information corresponding to the first table number of the current device interval is used as the device identifier to be used; when it is determined that the response information corresponding to the detection request is obtained, the information corresponding to the next table number in the device interval is used as the device identifier to be used; when it is determined that the current device interval has not obtained the response information corresponding to the preset number of detection requests in a row, the information corresponding to the last table number of the device interval is used as the device identifier to be used.
[0167] In a specific embodiment, the parsing module 702 is specifically used to determine the equipment type of the responding operating machinery when receiving the response information returned by the responding operating machinery; determine the information parsing method corresponding to the equipment type; and use the information parsing method to parse the response information to obtain the equipment information of the responding operating machinery.
[0168] In a specific embodiment, the parsing module 702 is also used to receive a status feedback identifier; when it is determined that the status feedback identifier indicates that the working machine corresponding to the detection request is not online, filter the status feedback identifier; when it is determined that the status feedback identifier indicates that the working machine corresponding to the detection request is online, receive response information returned by the responding working machine.
[0169] In a specific embodiment, the test module 703 is specifically used to sort the responding operating machines based on the response information and the equipment information; based on the sorting result, a test request is sent to each responding operating machine, and the sorting result is used to indicate the verification order of the responding operating machines.
[0170] In a specific embodiment, the response information includes: response time; device information includes device number; the test module 703 is specifically used to determine the response order of the responding operating machinery based on the response time; determine the physical order of the responding operating machinery based on the device number, and the physical order is the result of sorting based on the size of the device number; sort the responding operating machinery based on the response order and the physical order.
[0171] In a specific embodiment, the determination module 704 is specifically used to match the response result with the pre-stored real result when receiving the response result returned by each responding operation machine; when it is determined that each response result is consistent with the real result, determine that each responding operation machine enters the networking control state.
[0172] Figure 8 An example of a physical structure diagram of a control terminal is shown below. Figure 8 As shown, the control end may include: a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802 and the memory 803 communicate with each other through the communication bus 804. The processor 801 may call the logic instructions in the memory 803 to execute the networking control method of the operating machine, which is applied to the control end, and the control end and at least two operating machines form a local area network, and the method includes: sending a detection request carrying a device identification in the local area network; parsing the response information of the response detection request to obtain the device information of the responding operating machine, and the responding operating machine is the operating machine that responds to the detection request; based on the response information and the device information, sending a test request to the responding operating machine; when receiving the response result corresponding to the test request returned by the responding operating machine, determining that each responding operating machine enters the networking control state.
[0173] In addition, the logic instructions in the above-mentioned memory 803 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0174] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the networking control method of the operating machinery provided in the above-mentioned embodiments. The method is applied to a control end, and the control end and at least two operating machines form a local area network. The method includes: sending a detection request carrying a device identification in the local area network; parsing the response information of the response detection request to obtain the device information of the responding operating machinery, and the responding operating machinery is the operating machinery that responds to the detection request; based on the response information and the device information, sending a test request to the responding operating machinery; when a response result corresponding to the test request returned by the responding operating machinery is received, determining that each responding operating machinery enters a networking control state.
[0175] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the networking control method of the working machinery provided in the above-mentioned embodiments is implemented. The method is applied to a control end, and the control end and at least two working machines form a local area network. The method includes: sending a detection request carrying a device identification in the local area network; parsing the response information of the response detection request to obtain the device information of the responding working machinery, and the responding working machinery is the working machinery that responds to the detection request; based on the response information and the device information, sending a test request to the responding working machinery; when a response result corresponding to the test request returned by the responding working machinery is received, determining that each responding working machinery enters a networking control state.
[0176] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0177] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A networking control method for an operating machine, characterized in that: Applied to a control end, the control end and at least two working machines form a local area network, and the method includes: Determine the device interval and the priority of each device interval based on the device type and table number in the device information table; Based on the priority of the device interval, the following processing is performed on each of the device intervals in turn: The information corresponding to the first table number in the current device interval is used as the device identifier to be used; In the case where it is determined that the response information corresponding to the detection request is obtained, the information corresponding to the next table number of the device interval is used as the device identification to be used; in the case where it is determined that the response information corresponding to the preset number of detection requests is not obtained continuously in the current device interval, the information corresponding to the last table number of the current device interval is used as the device identification to be used; generating the detection request carrying the device identification; Sending the detection request in the local area network; parsing the response information in response to the detection request to obtain the equipment information of the responding operation machine, wherein the responding operation machine is the operation machine that responds to the detection request; Based on the response information and the device information, sending a test request to the responding operation machine; When receiving the response result returned by each of the responding operation machines, matching the response result with the pre-stored real result; When it is determined that each of the response results is consistent with the true result, it is determined that each of the responding operating machines enters a networking control state.
2. The networking control method for operating machinery according to claim 1, characterized in that: The parsing of the response information of the detection request to obtain the device information of the responding operation machine includes: When receiving the response information returned by the responding operation machine, determining the equipment type of the responding operation machine; Determine an information parsing method corresponding to the device type; The response information is analyzed by using the information analysis method to obtain the device information of the responding operating machine.
3. The networking control method for operating machinery according to claim 2, characterized in that: Before parsing the response information of the detection request to obtain the device information of the responding operation machine, the method further includes: Receive status feedback flag; When it is determined that the status feedback identifier indicates that the working machine corresponding to the detection request is not online, filtering the status feedback identifier; When it is determined that the status feedback identifier indicates that the working machine corresponding to the detection request is online, response information returned by the responding working machine is received.
4. The networking control method for operating machinery according to claim 1, characterized in that: The sending of a test request to the responding operation machine based on the response information and the device information includes: Based on the response information and the equipment information, the responding operation machines are sorted to obtain a sorting result; Based on the ranking result, the test request is sent to each of the responding working machines, and the ranking result is used to indicate the verification order of the responding working machines.
5. The networking control method for working machinery according to claim 4, characterized in that: The response information includes: response time; the device information includes device number; The step of sorting the responding operation machines based on the response information and the equipment information includes: Based on the response time, determining the response order of the responding operation machines; Based on the equipment numbers, determining the physical order of the responding operation machines, wherein the physical order is a result of sorting based on the size of the equipment numbers; The responding operating machines are sorted based on the response priority order and the physical priority order.
6. A networking control device for an operating machine, characterized in that: Applied to a control end, the control end and at least two working machines form a local area network, and the device includes: The sending module is used to perform the following processing on each device interval in turn based on the priority of the device interval: The information corresponding to the first table number in the current device interval is used as the device identifier to be used; In the case where it is determined that the response information corresponding to the detection request is obtained, the information corresponding to the next table number of the device interval is used as the device identification to be used; in the case where it is determined that the response information corresponding to the preset number of detection requests is not obtained continuously in the current device interval, the information corresponding to the last table number of the current device interval is used as the device identification to be used; generating the detection request carrying the device identification; Sending the detection request in the local area network; A parsing module, used for parsing the response information in response to the detection request to obtain the equipment information of the responding operation machine, wherein the responding operation machine is the operation machine that responds to the detection request; A test module, used for sending a test request to the responding operation machine based on the response information and the device information; The determination module is used to match the response result returned by each responding operation machine with the pre-stored real result when receiving the response result; when it is determined that each response result is consistent with the real result, determine that each responding operation machine enters the networking control state.
7. A control terminal, characterized in that: It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the networking control method for the working machine as described in any one of claims 1 to 5 when executing the program.
8. A working machine, characterized in that: include: An operating machine body and a controller, wherein the controller is used to implement the networking control method of the operating machine as described in any one of claims 1 to 5.
