Penetration type data query method and system based on local area network calling

By building a service reachability database and an adaptive handshake mechanism, the problem of devices being unable to be directly accessed due to dynamic IP addresses in the local area network is solved, efficient data query across subnets is achieved, and data transmission efficiency and system stability are improved. It is suitable for scenarios such as smart manufacturing and smart parks.

CN120687650AInactive Publication Date: 2025-09-23GUANGZHOU ZHONGLIAN DINGXING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510916328.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-03
Publication Date
2025-09-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In a local area network, dynamic IP address allocation prevents devices from directly accessing data services. Existing technologies, which rely on static IP binding or the introduction of additional device management platforms, are inefficient and require a lot of configuration, making it impossible to achieve automated target device identification and data query.

Method used

Build a service reachability database, use the inter-node path perception algorithm to dynamically analyze the network connectivity relationship, generate penetration instruction templates, realize link self-activation through the adaptive handshake mechanism, combine the standardized data request protocol and edge data compression optimization to form a low-latency interactive feedback link, and update the database in real time.

Benefits of technology

It achieves efficient connections across subnets and isolated areas in complex LAN environments, improves the response speed and transmission efficiency of data queries, is suitable for multi-node distributed systems, has self-learning and self-maintenance capabilities, and is suitable for scenarios such as smart manufacturing, smart parks, and edge computing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120687650A_ABST
    Figure CN120687650A_ABST
Patent Text Reader

Abstract

The invention relates to the field of local area network calling, and discloses a penetration type data query method and system based on local area network calling, and the method comprises the steps: obtaining service registration information of a plurality of data nodes in a local area network, and constructing a service reachability database of multiple source nodes in combination with a node self-description mechanism and an access context state; dynamically analyzing a network connection relationship between the initiating node and the target node by adopting an inter-node path sensing algorithm based on the service reachability database; guiding the target node to perform link self-activation, and completing penetration path initialization based on an adaptive handshake mechanism; after the penetration path is established, the initiating node sends a query request to the target node through a standardized data request protocol, and the target node performs data processing and compression return according to a preset strategy; after data transmission is completed, the current penetrating link state is evaluated, and node stability and response efficiency are combined. The method has the advantage of improving the capability of automatically identifying the target equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of local area network calls, and in particular to a penetrating data query method and system based on local area network calls. Background Art

[0002] Within a local area network, the collaborative operation of multiple devices and subsystems has become the norm, especially in scenarios such as industrial control, building management, and government and enterprise offices, where different devices or application systems are usually deployed in different subnets or VLANs. Currently, data queries within a local area network are mainly implemented through preset interface calls or unified central server forwarding. However, in actual applications, when the IP address of a subsystem node is dynamically allocated, other devices cannot directly access its data service through a fixed address, resulting in data query failure or access anomalies. Existing technologies usually solve this problem by statically binding IP or introducing additional device management platforms, but this increases the configuration workload, and when devices are frequently replaced or access points change, manual intervention is still required to update the address mapping, which is inefficient. Therefore, it is necessary to design a penetrating data query method and system based on LAN calls that can enhance the automatic identification capability of target devices. Summary of the Invention

[0003] In view of the shortcomings of the existing technology, the present invention provides a penetrating data query method and system based on local area network call, which has the advantage of improving the automatic identification capability of the target device and solves the problems in the above-mentioned background technology.

[0004] To achieve the above-mentioned purpose of improving the automatic identification capability of target devices, the present invention provides the following technical solution: a penetrating data query method based on local area network call, comprising the following steps: Obtain service registration information of multiple data nodes in the local area network, and build a service reachability database of multiple source nodes by combining the node self-description mechanism and access context status; Based on the service reachability database, the inter-node path perception algorithm is used to dynamically analyze the network connectivity between the initiating node and the target node, build a penetrable connection strategy, and generate a penetration instruction template; Based on the penetration instruction template, the target node is guided to perform link self-activation, and the penetration path is initialized based on the adaptive handshake mechanism, achieving safe and fast data reachability without interrupting the existing network topology. After establishing the penetration path, the initiating node sends a query request to the target node through a standardized data request protocol. The target node processes and compresses the data according to the preset strategy and sends it back, forming a low-latency interactive feedback link. After data transmission is completed, the current penetration link status is evaluated, and the service reachability database is updated in real time based on node stability and response efficiency.

[0005] Preferably, the process of constructing a service reachability database of multiple source nodes is as follows: Scan each data node connected to the local area network to identify the node type, service port information and protocol stack parameters; Utilize the node self-description mechanism to parse the node's service identification, function label, and resource opening policy to form a structured service description document; Combined with the access context status, extract the node's current network access mode, subnet segment, MAC address, and dynamically allocated IP address environment information; The service description document is associated with the access environment information and stored to build a service reachability database containing node unique identification, functional service items and dynamic connection information.

[0006] Preferably, the process of dynamically analyzing the network connectivity relationship between the initiating node and the target node is: Based on the node network information registered in the service reachability database, a logical connection diagram is constructed within the current LAN, including the subnet distribution relationship and VLAN isolation status between nodes; Combined with the real-time location and connection information of the initiating node, it dynamically perceives the current network path characteristics and evaluates the connectivity with the target node based on the multi-hop path evaluation algorithm; In cases where there is isolation or no direct connection path, analyze available relay nodes or gateway devices and identify potential penetrable paths by building a secondary hop topology map; A path accessibility scoring mechanism is used to evaluate and rank the security, latency, and bandwidth utilization parameters of different connection paths.

[0007] Preferably, the process of generating a penetration instruction template is as follows: After determining the optimal path, analyze the supported network penetration mechanisms based on the protocol capabilities and network permissions of each hop node; Refer to the service reachability database and the connection characteristics of each node in the path topology diagram to select a penetration strategy and compare the compatibility of the conditions required for each strategy; Standardize the key parameters involved in the selected penetration method; All parameters are organized and encapsulated in a unified format, and a penetration instruction template is constructed based on parameter standardization.

[0008] Preferably, the initialization process of the penetration path is completed based on the adaptive handshake mechanism as follows: The initiating node sends a penetration initialization request to the target node, and the target node parses the received penetration instruction template content; Under the guidance of the template, the target node selects the appropriate handshake mechanism according to the local network conditions and constructs a handshake request and returns it to the initiating node; Sequence identification, timestamps and challenge response mechanisms are used in the process; After both ends complete the handshake confirmation, the relay node or LAN gateway assists in building the data channel and registers the virtual communication port in the local kernel; The adaptive handshake mechanism dynamically selects communication paths and link parameters based on handshake success rate and delay.

[0009] Preferably, the process of the initiating node sending a query request to the target node through the standardized data request protocol is as follows: After the penetration path is successfully established, the initiating node uses a standardized lightweight data request protocol to encapsulate the data query instruction; The request content includes the data item name, request parameters, response format requirements and permission token. The protocol structure supports extended fields to adapt to different device capabilities. After receiving the query request, the target node verifies the permission token to verify the legitimacy of the caller's permissions; After verification, the local data collection or cache module is called according to the request content to obtain the corresponding data content; During data preparation, edge data optimization mechanisms are applied for local filtering, preprocessing, or anomaly compensation.

[0010] Preferably, the process of forming a low-latency interactive feedback link is: After the target node completes data processing locally, it formats and compresses the data according to the compression and encapsulation method specified in the request protocol; Adopting a streaming return mechanism, large amounts of data are split into data segments and transmitted gradually, improving response efficiency and reducing burst bandwidth usage; During the transmission process, a verification mechanism is implemented using the link cache and sequence established in the penetration path; At the same time, a feedback status channel is established to return data processing progress, error information or link status to the initiating node in real time; Through the coordinated cooperation of multiple mechanisms, a low-latency interactive feedback link is formed.

[0011] Preferably, the process of updating the service reachability database in real time is: After data exchange is completed, performance indicators of the penetration link are collected and counted; Combined with the stability performance of the target node during the communication process, including connection interruption rate, number of abnormal feedback, and response fluctuation frequency factors; Based on the set link evaluation strategy, the connection quality is comprehensively evaluated, and the node accessibility score and service availability level are output; Compare the evaluation results with the original records of the node. If there are any changes, the node status field in the service reachability database is automatically updated; If a node goes offline, a service changes, or the network topology is adjusted, the database is updated synchronously through a timed detection and event triggering mechanism.

[0012] A penetrating data query system based on local area network call, comprising: Node identification module: collects the registration information and status description of each data node in the local area network, builds a service reachability database, and serves as the basis for global path judgment; Path perception module: Analyzes the network connectivity between nodes, formulates feasible penetration connection strategies, and generates corresponding penetration instruction templates; Penetration construction module: guides the target node to complete link self-activation based on the penetration instruction template, and establishes a secure and stable penetration channel through the handshake mechanism; Response processing module: Sends standardized query requests through the penetration channel, and the target node processes and compresses the data before sending it back to achieve low-latency interaction; Link evaluation module: Evaluates the performance of penetration links and updates the service reachability database information in real time based on node stability and response efficiency.

[0013] Compared with the existing technology, the present invention provides a penetrating data query method and system based on local area network call, which has the following beneficial effects: The present invention realizes efficient connection between nodes across subnets and isolated areas in a complex local area network environment by constructing a service reachability database and a penetration instruction template, breaking through the access restrictions brought by traditional network isolation; introducing an adaptive handshake mechanism and a link self-activation process, so that the penetration path initialization process has good environmental adaptability and connection robustness; combining standardized data request protocols and edge data compression optimization strategies, significantly improving the response speed and transmission efficiency of data queries; constructing a low-latency interactive feedback link to ensure real-time data access and dynamic feedback requirements, which is suitable for remote calling scenarios in multi-node distributed systems; through dynamic evaluation of the penetration link status and continuous updating of the service reachability database, a service calling system with self-learning and self-maintenance capabilities is constructed, which improves the stability and long-term availability of the system in heterogeneous environments, and is widely applicable to application scenarios such as intelligent manufacturing, smart parks, and edge computing that require crossing network boundaries to obtain data. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 Schematic diagram of the method of the present invention; Figure 2 Schematic diagram of the system of the present invention. DETAILED DESCRIPTION

[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only 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 making creative efforts are within the scope of protection of the present invention.

[0016] Example 1: Please refer to Figure 1 As shown, a penetrating data query method based on local area network call according to an embodiment of the present invention includes the following steps: S1: Obtain the service registration information of multiple data nodes in the local area network, and build a service reachability database of multiple source nodes by combining the node self-description mechanism and access context status.

[0017] The process of constructing the service reachability database of multiple source nodes in S1 is as follows: Scan each connected data node in the local area network to identify the node type, service port information, and protocol stack parameters; actively detect active nodes in the local area network by broadcasting ARP requests, UDP multicast, or using network discovery protocols; combine ICMP echo and port polling to obtain the open service ports of each node and the network protocol stack it uses; based on the returned handshake response data or port characteristics, preliminarily determine the node type, such as sensor terminal, edge computing unit, data storage node, or controller; Utilize the node self-description mechanism to parse the node's built-in service identification, function label, and resource exposure policy to form a structured service description document; Utilize the node self-description mechanism to parse the node's built-in service identification, function label, and resource exposure policy to form a structured service description document: access the node's built-in self-description interface through predefined query instructions; extract the metadata returned by the node, including service name, service function description, supported data formats, permission requirements, and access frequency restrictions; Combined with the access context state, the node's current network access method, subnet segment, MAC address, and dynamically assigned IP address environment information are extracted. The physical interface information of the network the node is connected to, such as Wi-Fi or Ethernet, is recorded, and its dynamic IP address is obtained by combining the DHCP allocation record. The ARP cache table and network interface table are parsed to extract the node's MAC address and subnet mask to determine its relative position in the network topology. The access time, connection status, and possible network interruption history are marked to supplement the node context state information. The service description document is associated with the access environment information and stored to build a service reachability database containing node unique identification, functional service items and dynamic connection information.

[0018] S2: Based on the service reachability database, the inter-node path perception algorithm is used to dynamically analyze the network connectivity relationship between the initiating node and the target node, build a penetrable connection strategy, and generate a penetration instruction template.

[0019] The process of dynamically analyzing the network connectivity relationship between the initiating node and the target node in S2 is as follows: Based on the network information of nodes registered in the service reachability database, a logical connection diagram is constructed within the current local area network, including the subnet distribution relationship and VLAN isolation status between nodes. Key information such as the IP address, MAC address, subnet mask, default gateway, and VLAN number of each node is extracted from the service reachability database. By comparing the subnet mask and network segment information, it is determined whether the nodes are in the same subnet and whether they have direct communication capabilities. The VLAN to which each node belongs is identified. By reading the configuration file of the network switch or obtaining the VLAN mapping table using the SNMP protocol, it is determined whether there is Layer 2 isolation or the need for routing jumps. Finally, a logical network diagram is formed with nodes as vertices and accessible paths as edges, and the connection type, VLAN tag, and network segment affiliation are marked in the diagram. Combined with the real-time location and connection information of the initiating node, the system dynamically perceives the current network path characteristics and evaluates the connectivity with the target node based on a multi-hop path evaluation algorithm. It obtains real-time information about the access point to which the initiating node is currently connected, such as the Wi-Fi access point BSSID, switch port number, and physical link type, to assist in determining its network location. It uses a dynamic path detection mechanism to track the set of potential paths from the initiating node to the target node. It introduces a multi-hop path evaluation algorithm to calculate the number of hops, path stability, and intermediate device status of different paths. Based on this, it preliminarily determines whether the initiating node is connected to the target node and marks the set of optional paths. In cases where there is isolation or no direct connection path, available relay nodes or gateway devices are analyzed and potential penetrable paths are identified by constructing an auxiliary hop topology map. Relay nodes that can access multiple subnets or have routing functions are screened from the logical connection map. The link status, data forwarding strategy, and service load of the relay nodes are analyzed to confirm their forwarding capabilities. An auxiliary hop topology map is constructed and the relay nodes are inserted as bridge points into the path map to generate candidate penetrable paths. The legitimacy of each candidate path is verified. A path accessibility scoring mechanism is used to evaluate and rank different connection paths based on security, latency, and bandwidth utilization. Key performance parameters are collected for each candidate path, including: Average round-trip delay (measured by ICMP Ping or TCP three-way handshake time) Bandwidth utilization (read port traffic through SNMP, or calculate based on rate sampling) Security indicators (such as whether there is an encrypted channel, the trust level of the hop point, and whether it passes through a public VLAN) Construct an accessibility scoring model and use a weighted scoring function for comprehensive evaluation. The formula is:

[0020] Where S is the accessibility score, is an adjustable weight parameter; The process of generating the penetration instruction template in S2 is as follows: After determining the optimal path, analyze the network penetration mechanisms supported by each hop node based on its protocol capabilities and network permissions, including but not limited to reverse connection, port hole punching, and NAT penetration. Obtain the optimal communication path selected by the path evaluation mechanism and identify all hop nodes in the path. Extract the protocol support capabilities, network access control policies, and identity authentication mechanisms of each hop node from the service reachability database; Each node is evaluated one by one to see if it has the conditions to initiate or relay a penetration connection, and the available penetration technology type is determined: Reverse connection: The target node is in a restricted network environment and actively establishes a connection with the initiating node; Port hole punching: Use UDP or TCP hole punching technology to create a mapping on the NAT device; NAT penetration: Use the STUN protocol to identify public network addresses and implement connection forwarding through TURN relays; Ensure that the selected penetration strategy has no key node blocking in the overall path and has complete reachability; Referencing the service reachability database and the connection characteristics of each node in the path topology, available penetration strategies are selected and the compatibility of the required conditions for each strategy is compared to ensure that a connection can be successfully established on the selected path. A node-function-connection permission mapping table is constructed by combining the path topology with the service reachability database. Based on this mapping table, the conditions that all penetration strategies rely on are matched, such as whether a public IP address is available, whether reverse proxy is supported, adaptive port mapping capabilities, and whether external authentication access is allowed. A Boolean logic judgment model is used to screen out a set of feasible strategies supported by all nodes in the path. Candidate strategies are prioritized, taking into account factors such as expected latency, security level, implementation complexity, and resource consumption, ultimately determining the optimal penetration strategy for instruction template generation. Standardize the key parameters involved in the selected penetration method, including but not limited to: the unique identification code of the target node, the open port number for communication, the two-way connection authentication token, the type of communication protocol used, and the special flag used for handshake phase identification; define a unified parameter format, and set field types, length limits, and verification rules; Target node identification code: consists of node ID or IP+port; Open port number: specifies the port that the node allows to communicate through, which must be consistent with the service registration information; Connection authentication token: a temporary session credential generated by the key negotiation mechanism; Protocol type: specifies the transmission protocol used and its version; Handshake ID: A timestamp, random code, or session ID used to identify the legitimacy of the connection during the first handshake; All parameters are organized and encapsulated in a unified format, supporting automatic parsing and execution of subsequent program modules. Based on parameter standardization, a penetration instruction template is constructed.

[0021] S3: Based on the penetration instruction template, the target node is guided to perform link self-activation, and the penetration path initialization is completed based on the adaptive handshake mechanism, achieving safe and fast data reachability without interrupting the existing network topology.

[0022] The initialization process of the penetration path in S3 based on the adaptive handshake mechanism is as follows: The initiating node sends a penetration initialization request to the target node, which then parses the received penetration instruction template. The initiating node extracts the instruction content to be sent from the local penetration control module based on the penetration instruction template generated in the previous stage. The initialization request content includes: penetration mode identifier, communication port preset, authentication token, handshake tag, supported protocol list, and timeout policy. The initialization request attempts to connect to the service port specified by the target node via UDP or TCP channel for the first time. After the target node receives the penetration initialization request, it parses the penetration instruction template from the request message, verifies the field integrity, authentication token legitimacy, and source validity, and prepares to enter the handshake negotiation phase. Under the guidance of the template, the target node selects an adaptive handshake mechanism based on local network conditions and constructs a handshake request and returns it to the initiating node. The target node detects its own network environment, including the NAT type, whether it is located behind a firewall, and whether it has a public network address or mapped port. Based on the alternative handshake mechanisms listed in the penetration template, it evaluates the available strategies in the current environment. After selecting the optimal handshake mechanism, it constructs a handshake response message, which includes: a description of the connection capability fed back by the target node, the penetration type confirmed to be used, the response port, the protocol selection, the handshake confirmation code, etc. The handshake response message is returned to the initiating node through the same channel or a specified return path to initiate two-way negotiation. The process uses sequence identification, timestamps, and challenge-response mechanisms. To prevent man-in-the-middle attacks and forged responses, a triple protection mechanism is introduced during the handshake process: Sequence identification: Each handshake request and response is accompanied by a unique sequence number to ensure communication status matching and support retransmission identification; Timestamp: Each message carries the generation time, which is combined with the system clock to determine whether it has timed out and invalidated, improving security and timeliness judgment capabilities; Challenge-response mechanism: The handshake phase includes a symmetric encryption challenge question. The initiating node must return a correct encrypted response to complete the final authentication, preventing illegal terminal impersonation. After both ends complete the handshake confirmation, the relay node or LAN gateway assists in establishing the data channel and registers the virtual communication port in the local kernel. After the handshake is successful, if both parties have the ability to connect directly, a logical communication channel is created in the local kernel through the virtual interface. If the relay node is required to participate, such as using a TURN server, reverse proxy node, or intranet penetration service, the relay node is notified to assist in connecting the two ends, dynamically allocate forwarding ports, and synchronize connection identifiers. The target node and the initiating node establish a virtual communication port locally, bind the data channel, and send and receive application layer data through the logical port to achieve transparent communication. The connection establishment process is automatically registered in the service reachability database and path status table. The adaptive handshake mechanism dynamically selects communication paths and link parameters based on handshake success rate and delay.

[0023] S4: After establishing the penetration path, the initiating node sends a query request to the target node through a standardized data request protocol. The target node processes and compresses the data according to the preset strategy and sends it back, forming a low-latency interactive feedback link.

[0024] The process of the initiating node sending a query request to the target node through the standardized data request protocol in S4 is as follows: After the penetration path is successfully established, the initiating node uses a standardized lightweight data request protocol to encapsulate the data query instruction. After the penetration path is established, the initiating node calls the data communication module of the application layer and constructs the query instruction based on the registered communication protocol. The adopted protocol must be lightweight, scalable, and have cross-platform parsing capabilities, supporting data transmission in low-bandwidth environments. During the instruction encapsulation process, the request header, request body, handshake summary information and other fields are set according to the communication template specification. The request content includes the data item name, request parameters, response format requirements, and permission token. The protocol structure supports extended fields to adapt to different device capabilities. The core fields of the constructed data request instruction include: Data item name: specifies the identifier of the data object to be queried, such as temperature sensor status, system load information, etc. Request parameters: such as query time range, sampling frequency, data granularity, aggregation method, etc. Response format requirements: including expected data structure, compression format, and encoding method; Permission token: carries identity identification and is used to verify the permissions of the target node; After receiving the query request, the target node verifies the permission token to verify the legitimacy of the caller's permissions. The receiving service of the target node decodes the received instruction and extracts the permission token field. Based on the local authorization database or the built-in permission authentication module, the legitimacy of the token is verified to check whether the initiating node identity has the data access rights currently requested. The verification process includes signature verification, access level matching, token validity check, and access frequency limit judgment. If the token is invalid, the permissions are insufficient, or the token has expired, a 401 Unauthorized or custom error response is returned, terminating the subsequent processing flow. After verification, the local data acquisition or cache module is called according to the request content to obtain the corresponding data content; entering the data access phase, based on the data items and parameters specified in the request, it is determined whether real-time data acquisition or reading the local cache copy is required; if real-time acquisition is required, the underlying driver interface or sensor module is called to read the data, which may trigger I / O operations or sensor wake-up processes; if the data item can be provided by the cache, the target data item is extracted from the local cache database; During data preparation, edge data optimization mechanisms are applied for local filtering, preprocessing, or anomaly compensation.

[0025] The process of forming a low-latency interactive feedback link in S4 is as follows: After the target node completes data processing locally, it formats and compresses the data according to the compression and encapsulation methods specified in the request protocol. After the target node completes data query preparation, it reads the data encapsulation protocol parameters marked in the request message by the initiating node, including the supported data format, compression method, and encoding method. It formats the output data content according to these parameters, converting the original data structure into a protocol-compatible format. It calls the local compression engine to compress and encode the data body, reducing the network transmission load, which is particularly suitable for large-capacity or high-frequency data streams. A streaming return mechanism is used to split large amounts of data into data fragments for gradual transmission, improving response efficiency and reducing burst bandwidth usage. When the target node determines that the response data volume exceeds the single transmission threshold, the system initiates the streaming return mechanism. The compressed complete data content is divided into multiple logical fragments, each of which encapsulates the data number, total number of fragments, current sequence number, and confirmation bit. A push-pull method is used to transmit each fragment piece by piece based on active push or receiver window sliding request mechanism, avoiding congestion or link interruption caused by transmitting a large amount of data at one time, thereby improving response smoothness and link utilization. During transmission, the link cache and sequence verification mechanism established in the penetration path are used. The link cache mechanism established during the penetration path initialization phase is used to temporarily store unacknowledged and retransmitted fragments. All fragments are accompanied by sequence numbers, message digests, and retransmission tags. The receiver verifies data integrity and automatically requests retransmission of lost packets. During data arrival, the system maintains a sliding window and buffer pool queue to ensure that data fragments are delivered in order, reducing the overhead of out-of-order reassembly. At the same time, a feedback status channel is established to return data processing progress, error information, or link status to the initiating node in real time. The target node creates an independent feedback status sub-channel to transmit control information unrelated to the data itself. The feedback content includes: the number of currently transmitted fragments and the total number of fragments; network status fluctuation prompts; error diagnostic codes; retransmission request responses and heartbeat detection results. Through the coordinated cooperation of multiple mechanisms, comprehensive optimization of data transmission efficiency and feedback timeliness is achieved, thus forming a low-latency interactive feedback link.

[0026] S5: After data transmission is completed, the current penetration link status is evaluated, and the service reachability database is updated in real time based on node stability and response efficiency.

[0027] The process of real-time updating of the service reachability database in S5 is as follows: After data exchange is completed, performance indicators such as response delay, transmission rate, and handshake success rate of the penetration link are collected and counted; Combined with the stability performance of the target node during the communication process, including connection interruption rate, number of abnormal feedback, and response fluctuation frequency factors; Based on the set link evaluation strategy, the connection quality is comprehensively evaluated, and the node accessibility score and service availability level are output; Compare the evaluation results with the original records of the node. If there are significant changes, the node status field in the service reachability database is automatically updated; If a node goes offline, a service changes, or the network topology is adjusted, the database is updated synchronously through a timed detection and event triggering mechanism.

[0028] Example 2: Figure 2 The aforementioned penetrating data query system based on local area network call includes: Node identification module: collects the registration information and status description of each data node in the local area network, builds a service reachability database, and serves as the basis for global path judgment; Path perception module: Analyzes the network connectivity between nodes, formulates feasible penetration connection strategies, and generates corresponding penetration instruction templates; Penetration construction module: guides the target node to complete link self-activation based on the penetration instruction template, and establishes a secure and stable penetration channel through the handshake mechanism; Response processing module: Sends standardized query requests through the penetration channel, and the target node processes and compresses the data before sending it back to achieve low-latency interaction; Link evaluation module: Evaluates the performance of penetration links and updates the service reachability database information in real time based on node stability and response efficiency.

[0029] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus.

[0030] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A penetrating data query method based on local area network call, characterized in that: The following steps are involved: Obtain service registration information of multiple data nodes in the local area network, and build a service reachability database of multiple source nodes by combining the node self-description mechanism and access context status; Based on the service reachability database, the inter-node path perception algorithm is used to dynamically analyze the network connectivity between the initiating node and the target node, build a penetrable connection strategy, and generate a penetration instruction template; Based on the penetration instruction template, the target node is guided to perform link self-activation, and the penetration path is initialized based on the adaptive handshake mechanism, achieving safe and fast data reachability without interrupting the existing network topology. After establishing the penetration path, the initiating node sends a query request to the target node through a standardized data request protocol. The target node processes and compresses the data according to the preset strategy and sends it back, forming a low-latency interactive feedback link. After data transmission is completed, the current penetration link status is evaluated, and the service reachability database is updated in real time based on node stability and response efficiency.

2. A penetrating data query method based on LAN call according to claim 1, characterized in that: The process of building a service reachability database for multiple source nodes is as follows: Scan each data node connected to the local area network to identify the node type, service port information and protocol stack parameters; Utilize the node self-description mechanism to parse the node's service identification, function label, and resource opening policy to form a structured service description document; Combined with the access context status, extract the node's current network access mode, subnet segment, MAC address, and dynamically allocated IP address environment information; The service description document is associated with the access environment information and stored to build a service reachability database containing node unique identification, functional service items and dynamic connection information.

3. A penetrating data query method based on LAN call according to claim 2, characterized in that: The process of dynamically analyzing the network connectivity relationship between the initiating node and the target node is as follows: Based on the node network information registered in the service reachability database, a logical connection diagram is constructed within the current LAN, including the subnet distribution relationship and VLAN isolation status between nodes; Combined with the real-time location and connection information of the initiating node, it dynamically perceives the current network path characteristics and evaluates the connectivity with the target node based on the multi-hop path evaluation algorithm; In cases where there is isolation or no direct connection path, analyze available relay nodes or gateway devices and identify potential penetrable paths by building a secondary hop topology map; A path accessibility scoring mechanism is used to evaluate and rank the security, latency, and bandwidth utilization parameters of different connection paths.

4. A method for penetrating data query based on LAN call according to claim 3, characterized in that: The process of generating a penetration instruction template is as follows: After determining the optimal path, analyze the supported network penetration mechanisms based on the protocol capabilities and network permissions of each hop node; Refer to the service reachability database and the connection characteristics of each node in the path topology diagram to select a penetration strategy and compare the compatibility of the conditions required for each strategy; Standardize the key parameters involved in the selected penetration method; All parameters are organized and encapsulated in a unified format, and a penetration instruction template is constructed based on parameter standardization.

5. A penetrating data query method based on LAN call according to claim 4, characterized in that: The initialization process of the penetration path based on the adaptive handshake mechanism is as follows: The initiating node sends a penetration initialization request to the target node, and the target node parses the received penetration instruction template content; Under the guidance of the template, the target node selects the appropriate handshake mechanism according to the local network conditions and constructs a handshake request and returns it to the initiating node; Sequence identification, timestamps and challenge response mechanisms are used in the process; After both ends complete the handshake confirmation, the relay node or LAN gateway assists in building the data channel and registers the virtual communication port in the local kernel; The adaptive handshake mechanism dynamically selects communication paths and link parameters based on handshake success rate and delay.

6. A method for penetrating data query based on LAN call according to claim 5, characterized in that: The process of the initiating node sending a query request to the target node through the standardized data request protocol is as follows: After the penetration path is successfully established, the initiating node uses a standardized lightweight data request protocol to encapsulate the data query instruction; The request content includes the data item name, request parameters, response format requirements and permission token. The protocol structure supports extended fields to adapt to different device capabilities. After receiving the query request, the target node verifies the permission token to verify the legitimacy of the caller's permissions; After verification, the local data collection or cache module is called according to the request content to obtain the corresponding data content; During data preparation, edge data optimization mechanisms are applied for local filtering, preprocessing, or anomaly compensation.

7. A method for penetrating data query based on LAN call according to claim 6, characterized in that: The process of forming a low-latency interactive feedback link is as follows: After the target node completes data processing locally, it formats and compresses the data according to the compression and encapsulation method specified in the request protocol; Adopting a streaming return mechanism, large amounts of data are split into data segments and transmitted gradually, improving response efficiency and reducing burst bandwidth usage; During the transmission process, a verification mechanism is implemented using the link cache and sequence established in the penetration path; At the same time, a feedback status channel is established to return data processing progress, error information or link status to the initiating node in real time; Through the coordinated cooperation of multiple mechanisms, a low-latency interactive feedback link is formed.

8. The method for penetrating data query based on LAN call according to claim 7 is characterized in that: The process of real-time updating of the service reachability database is as follows: After data exchange is completed, performance indicators of the penetration link are collected and counted; Combined with the stability performance of the target node during the communication process, including connection interruption rate, number of abnormal feedback, and response fluctuation frequency factors; Based on the set link evaluation strategy, the connection quality is comprehensively evaluated, and the node accessibility score and service availability level are output; Compare the evaluation results with the original records of the node. If there are any changes, the node status field in the service reachability database is automatically updated; If a node goes offline, a service changes, or the network topology is adjusted, the database is updated synchronously through a timed detection and event triggering mechanism.

9. A penetrating data query system based on local area network call, characterized in that: The method as claimed in any one of claims 1 to 8 comprises: Node identification module: collects the registration information and status description of each data node in the local area network, builds a service reachability database, and serves as the basis for global path judgment; Path perception module: Analyzes the network connectivity between nodes, formulates feasible penetration connection strategies, and generates corresponding penetration instruction templates; Penetration construction module: guides the target node to complete link self-activation based on the penetration instruction template, and establishes a secure and stable penetration channel through the handshake mechanism; Response processing module: Sends standardized query requests through the penetration channel, and the target node processes and compresses the data before sending it back to achieve low-latency interaction; Link evaluation module: Evaluates the performance of penetration links and updates the service reachability database information in real time based on node stability and response efficiency.