CN113965571B - Management method, device, equipment and medium of distributed embedded equipment - Google Patents

Management method, device, equipment and medium of distributed embedded equipment Download PDF

Info

Publication number
CN113965571B
CN113965571B CN202111272972.2A CN202111272972A CN113965571B CN 113965571 B CN113965571 B CN 113965571B CN 202111272972 A CN202111272972 A CN 202111272972A CN 113965571 B CN113965571 B CN 113965571B
Authority
CN
China
Prior art keywords
equipment
target equipment
server
target
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111272972.2A
Other languages
Chinese (zh)
Other versions
CN113965571A (en
Inventor
安世霞
谢永恒
火一莽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN202111272972.2A priority Critical patent/CN113965571B/en
Publication of CN113965571A publication Critical patent/CN113965571A/en
Application granted granted Critical
Publication of CN113965571B publication Critical patent/CN113965571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements

Abstract

The embodiment of the invention discloses a management method, a device, equipment and a medium of distributed embedded equipment. The method is applied to the server and comprises the following steps: responding to a target equipment access request sent by a client, and sending the target equipment access request to target equipment based on FRP service; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet; receiving target equipment information sent by target equipment according to a target equipment access request, and feeding back the target equipment information to a client; and receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on the FRP service so as to enable the client to manage the target equipment. By executing the scheme, the distributed embedded equipment with dispersed geographic positions can be uniformly managed, and the operation and maintenance management efficiency of the embedded equipment is improved.

Description

Management method, device, equipment and medium of distributed embedded equipment
Technical Field
The embodiment of the invention relates to the technical field of embedded equipment management, in particular to a management method, a device, equipment and a medium of distributed embedded equipment.
Background
The embedded system is a special computer system which takes the application as a center and takes the modern computer technology as a basis, and can flexibly cut out software and hardware modules according to the requirements (functions, reliability, cost, volume, power consumption, environment and the like) of users.
With the rapid development of internet hardware and software, embedded systems are widely applied to various fields of work and life, and how to manage embedded devices becomes an important aspect in the development of embedded system software. In the related art, a user configures, manages and monitors only a management interface provided by an embedded device. For example, for a single embedded device, a user performs configuration management on the embedded device in a serial port line direct connection manner. Therefore, in the practical application scene, the embedded equipment which is distributed and deployed in a geographic way is difficult to access the same network to realize unified management, and the unified management of products is difficult.
Disclosure of Invention
The embodiment of the invention provides a management method, a device, equipment and a medium for distributed embedded equipment, which can realize unified management of the distributed embedded equipment with dispersed geographic positions and can realize improvement of operation and maintenance management efficiency of the embedded equipment.
In a first aspect, an embodiment of the present invention provides a method for managing distributed embedded devices, which is applied to a server, where the server configures an FRP service, and the method includes: responding to a target equipment access request sent by a client, and sending the target equipment access request to target equipment based on FRP service; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
receiving target equipment information sent by the target equipment according to the target equipment access request, and feeding back the target equipment information to the client;
and receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on FRP service so as to enable the client to manage the target equipment.
In a second aspect, an embodiment of the present invention further provides a method for managing a distributed embedded device, which is applied to a distributed embedded device, where the distributed embedded device is configured with an FRP service and a BOA service, and the method includes:
Responding to a target equipment access request sent by a server, based on FRP service and BOA service, and sending target equipment information to the server according to the target equipment access request; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
and receiving a target equipment management request sent by the client through the server, and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request.
In a third aspect, an embodiment of the present invention further provides a management apparatus for a distributed embedded device, configured in a server, where the server configures an FRP service, where the apparatus includes:
the target equipment access request response module is used for responding to a target equipment access request sent by the client and sending the target equipment access request to the target equipment based on the FRP service; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
The target equipment information access module is used for receiving target equipment information sent by the target equipment according to the target equipment access request and feeding back the target equipment information to the client;
and the target equipment management request forwarding module is used for receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on FRP service so as to enable the client to manage the target equipment.
In a fourth aspect, an embodiment of the present invention further provides a management apparatus for a distributed embedded device, configured in the distributed embedded device, where the distributed embedded device is configured with an FRP service and a BOA service, and the apparatus includes:
the target equipment information feedback module is used for responding to a target equipment access request sent by a server, based on FRP service and BOA service, and sending target equipment information to the server according to the target equipment access request; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
And the target equipment parameter updating module is used for receiving a target equipment management request sent by the client through the server and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement a method for managing a distributed embedded device executed by a server according to any one of the embodiments of the present invention.
In a sixth aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for managing a distributed embedded device performed by a distributed embedded device according to any one of the embodiments of the present invention.
In a seventh aspect, an embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements a method for managing a distributed embedded device executed by a server according to any one of the embodiments of the present invention.
In an eighth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the program when executed by a processor implements a method for managing a distributed embedded device performed by a distributed embedded device according to any one of the embodiments of the present invention.
When the technical scheme provided by the embodiment of the invention is applied to a server, responding to a target equipment access request sent by a client, and sending the target equipment access request to target equipment based on FRP service; receiving target equipment information sent by target equipment according to a target equipment access request, and feeding back the target equipment information to a client; and receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on the FRP service so as to enable the client to manage the target equipment. By executing the scheme, the distributed embedded equipment with dispersed geographic positions can be uniformly managed, and the operation and maintenance management efficiency of the embedded equipment can be improved.
Drawings
FIG. 1a is a flowchart of a method for managing a distributed embedded device applied to a server according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of a network topology for connecting multiple distributed embedded devices in multiple local area networks according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for managing distributed embedded devices applied to a server according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for managing a distributed embedded device applied to the distributed embedded device according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for managing distributed embedded devices applied to a distributed embedded device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a management apparatus of a distributed embedded device configured in a server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a management apparatus of a distributed embedded device configured in the distributed embedded device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Fig. 1a is a flowchart of a method for managing a distributed embedded device applied to a server, where the method may be performed by a management apparatus of the distributed embedded device, and the apparatus may be implemented by software and/or hardware, and the apparatus may be configured in an electronic device such as a server. The server configures the FRP service. The method is applied to the scene of managing the distributed embedded equipment in different local area networks. As shown in fig. 1a, the technical solution provided in the embodiment of the present invention specifically includes:
and S110, responding to a target equipment access request sent by a client, and sending the target equipment access request to the target equipment based on the FRP service.
The target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet.
Specifically, the target device access request may be a request sent by the client to access the target device to perform operations and management on the target device. The target device is a distributed embedded device, such as a camera on a road. Intranet penetration service (Fast Reverse Proxy, FRP) is a high-performance reverse proxy application that can be used for intranet penetration, and is mainly used for solving the problem that some intranet services have no internet IP but need to provide extranet access. The FRP can be used for publishing the services of protocol types such as TCP, UDP, HTTP, HTTPS in the intranet to the Internet and supporting the Web services to carry out route forwarding according to the domain name. FRP has small and exquisite convenience, deploys simple advantage. In the scheme, FRP service can be deployed on a server, and information forwarding between the client and the target equipment is completed through the server.
The device identifier of the target device may uniquely identify the target device, the device identifier may be a device identifier of the target device, the device identifier may also be a domain name address associated with the target device, and the device identifier may be set according to actual needs. The network connection manner among the distributed embedded devices, the server and the client is shown in fig. 1b, a plurality of embedded devices access to local area networks, a plurality of local area networks access to the internet, the server and the client access to the internet respectively, configure the internet IP for the server, deploy intranet penetration service end programs (Fast Reverse Proxy Server, FRPS) on the server, and deploy intranet penetration client programs (Fast Reverse Proxy Customer, FRPC) and BOA services on the embedded devices.
In this embodiment, optionally, the device identifier includes at least one of a device identification number and a device domain name; each local area network has at least one distributed embedded device, and different local area networks are connected to the Internet.
The device identification number may be a device serial number given by a manufacturer when the distributed embedded device is manufactured and shipped. The domain name of the device is a domain name address which is set by a manager for the distributed embedded device and can access the distributed embedded device through a network. As shown in fig. 1b, each lan includes at least one distributed embedded device, each of the distributed embedded devices is connected to a corresponding lan, and each lan is connected to the internet.
Thereby, including at least one of the device identification number and the device domain name by setting the device identification; each local area network has at least one distributed embedded device, and different local area networks are connected to the Internet. The access to each distributed embedded device through the Web network can be realized, and the distributed embedded devices which are not in one local area network can be uniformly managed.
And S120, receiving target equipment information sent by the target equipment according to the target equipment access request, and feeding back the target equipment information to the client.
After receiving a target device access request sent to the target device by the server based on FRPS, the target device determines target device information according to the target device access request, and feeds the target device information back to the server through FRPC. The target device information may be information related to target device parameters, such as parameter information of a camera. After receiving the target equipment information, the server feeds the target equipment information back to the client through the Internet, and the target equipment information can be presented to the manager at the operation and maintenance interface of the client.
S130, receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on FRP service so as to enable the client to manage the target equipment.
The management personnel can edit the target equipment information through an operation and maintenance configuration interface of the client, and send a target equipment management request to the server through the Internet. In the process, the client accesses the FRPS through the device identifier of the target device by using the browser, the FRPS determines the network address of the target device according to the device identifier, and forwards the target device management request to the corresponding FRPC according to the network address. And the target equipment responds to the received target equipment management request, and performs corresponding operation on the parameters of the target equipment so as to enable the client to manage the target equipment.
When the technical scheme provided by the embodiment of the invention is applied to a server, responding to a target equipment access request sent by a client, and sending the target equipment access request to target equipment based on FRP service; receiving target equipment information sent by target equipment according to a target equipment access request, and feeding back the target equipment information to a client; and receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on the FRP service so as to enable the client to manage the target equipment. By executing the scheme, the distributed embedded equipment with dispersed geographic positions can be uniformly managed, and the operation and maintenance management efficiency of the embedded equipment can be improved.
Fig. 2 is a flowchart of a management method of a distributed embedded device applied to a server according to an embodiment of the present invention, where the embodiment is optimized based on the foregoing embodiment. As shown in fig. 2, the method for managing a distributed embedded device in an embodiment of the present invention may include:
and S210, transmitting list information of the embedded equipment to be managed to the client in response to a server access request transmitted by the client so that the client manages the embedded equipment to be managed.
Wherein the server access request includes at least a server access address.
Specifically, the manager may send a server access request to a server in the internet through inputting an internet IP address of the server at the client, and the server receives and responds to the server access request, and sends list information of each embedded device stored in the server to the client through the internet. The server access request may be set according to the actual implementation, and the server access request may be, for example, an access address of a server in the internet, or may be a domain name address of the server.
In a possible implementation manner, optionally, at least two embedded devices to be managed are connected to the internet through different local area networks.
Specifically, as shown in fig. 1b, at least two embedded devices to be managed are provided, and each local area network at least includes one distributed embedded device, so that the number of local area networks is at least two or all the distributed embedded devices can be realized not to be in one local area network. Each distributed embedded device is respectively connected to the corresponding local area network, and each local area network is connected to the Internet.
Thus, by setting at least two embedded devices to be managed, the embedded devices are connected to the Internet through different local area networks. The method can realize interconnection and access of each distributed embedded device through the Web network, and uniformly manage the distributed embedded devices which are not in one local area network.
In another possible implementation manner, optionally, before responding to the server access request sent by the client, the method further includes: and receiving the equipment identification sent by the embedded equipment to be managed, and establishing and storing a unique association relation between the equipment identification of the embedded equipment to be managed and the embedded equipment to be managed.
The intranet penetrating server program FRPS is deployed on the server, and the intranet penetrating client program FRPC is deployed on the embedded device, so that communication can be performed between the server and the embedded device to be managed. Before responding to a server access request sent by a client, the server needs to obtain a device identifier sent by the embedded device to be managed and a network address of the embedded device to be managed, and establish and store a unique association relationship between the device identifier, the network address and the embedded device to be managed. And sending the device identification of each embedded device to be managed to the client in the form of a list.
Therefore, the unique association relation between the device identification of the embedded device to be managed and the embedded device to be managed is established and stored by receiving the device identification sent by the embedded device to be managed. The embedded device management system can enable a manager to access and operate and maintain the embedded device to be managed through the device identifier at the client, improves the convenience of operation of the manager, and further improves the operation and maintenance efficiency.
S220, responding to a target equipment access request sent by a client, and sending the target equipment access request to the target equipment based on the FRP service.
And S230, receiving target equipment information sent by the target equipment according to the target equipment access request, and feeding back the target equipment information to the client.
And S240, receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on FRP service so as to enable the client to manage the target equipment.
According to the technical scheme provided by the embodiment of the invention, the list information of the embedded equipment to be managed is sent to the client in response to the server access request sent by the client, so that the client manages the embedded equipment to be managed; responding to a target equipment access request sent by a client, and sending the target equipment access request to target equipment based on FRP service; receiving target equipment information sent by target equipment according to a target equipment access request, and feeding back the target equipment information to a client; and receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on the FRP service so as to enable the client to manage the target equipment. By executing the scheme, the distributed embedded equipment with dispersed geographic positions can be uniformly managed, and the operation and maintenance management efficiency of the embedded equipment can be improved.
Fig. 3 is a flowchart of a method for managing a distributed embedded device applied to a distributed embedded device according to an embodiment of the present invention, where the method may be performed by a management apparatus of the distributed embedded device, and the apparatus may be implemented by software and/or hardware, and the apparatus may be configured in an electronic device such as the distributed embedded device. The distributed embedded equipment is provided with FRP service and BOA service. The method is applied to the scene of managing the distributed embedded equipment in different local area networks. As shown in fig. 3, the technical solution provided by the embodiment of the present invention specifically includes:
and S310, responding to a target equipment access request sent by a server, and sending target equipment information to the server according to the target equipment access request based on the FRP service and the BOA service.
The target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet.
Specifically, the BOA server is a small and efficient Web server which operates under unix or linux, supports CGI, is suitable for a single-task http server of an embedded system, and has open source codes and high performance. Access to the embedded device via the network address of the embedded device may be achieved by means of the BOA server. The embedded device may determine the target device according to the device identifier in the target device access request in response to the target device access request sent by the server, and obtain target device information, and send the target device information to the server through the internet IP of the server based on the FRP service.
The device identifier of the target device may uniquely identify the target device, the device identifier may be a device identifier of the target device, the device identifier may also be a domain name address associated with the target device, and the device identifier may be set according to actual needs. The network connection manner among the distributed embedded devices, the server and the client is shown in fig. 1b, a plurality of embedded devices access to local area networks, a plurality of local area networks access to the internet, the server and the client access to the internet respectively, configure the internet IP for the server, deploy intranet penetration service end programs (Fast Reverse Proxy Server, FRPS) on the server, and deploy intranet penetration client programs (Fast Reverse Proxy Customer, FRPC) and BOA services on the embedded devices.
And S320, receiving a target equipment management request sent by the client through the server, and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request.
Specifically, after the client side successfully accesses the target device, the client side performs operation and maintenance management on the target device, for example, modifies parameter information of the target device, and then needs to send a target device management request to the server through the internet. After receiving the target equipment management request, the server determines a network address of the target equipment according to the equipment identification of the target equipment included in the target equipment access request, sends the target equipment management request to the target equipment based on the FRPS and the network address, and updates the parameter information of the target equipment according to the target equipment management request, so that the client manages the target equipment according to the target equipment management request.
According to the technical scheme provided by the embodiment of the invention, the target equipment access request sent by the server is responded, the information of the target equipment is sent to the server based on the FRP service and the BOA service according to the target equipment access request; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet; and receiving a target equipment management request sent by the client through the server, and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request. By executing the scheme, the distributed embedded equipment with dispersed geographic positions can be uniformly managed, and the operation and maintenance management efficiency of the embedded equipment can be improved.
Fig. 4 is a flowchart of a management method of a distributed embedded device applied to the distributed embedded device according to an embodiment of the present invention, where the embodiment is optimized based on the foregoing embodiment. As shown in fig. 4, the method for managing a distributed embedded device in an embodiment of the present invention may include:
s410, if the starting operation of the FRP service is detected, determining the server access address in the FRP configuration file.
Specifically, in the process of configuring the FRP service, a server access address, that is, the internet IP of the server, is configured in a configuration file of the FRP service.
And S420, based on the FRP service and the server access address, sending the network address and the equipment identification of the embedded equipment to be managed to the server, so that the server establishes and stores the unique association relation among the embedded equipment to be managed, the network address and the equipment identification.
Specifically, the embedded device to be managed sends its own network address and device identifier to the server through the internet IP of the FRPC connection server. The server can establish and store unique association relation of the embedded device to be managed, the network address and the device identifier according to the information sent by the embedded device. Locating to a target device based on the device identification may be implemented.
And S430, responding to a target equipment access request sent by a server, and sending target equipment information to the server based on the FRP service and the BOA service according to the target equipment access request.
In this embodiment, optionally, based on the FRP service and the BOA service, and according to the target device access request, sending target device information to the server, including: determining a network address of the target equipment according to the unique association relationship and the equipment identifier; and based on the FRP service and the BOA service, sending the target equipment information to the server according to the network address.
The server can determine the network address of the target device according to the device identifier in the target device access request and the unique association relation among the embedded device to be managed, the network address and the device identifier, the server sends the target device access request to the distributed embedded device with the network address, the target device can establish connection between the target device with the network address and the server based on the configured FRP service and BOA service, and the target device information is determined according to the target device access request and sent to the server.
Thereby, determining the network address of the target device by the unique association and the device identification; and sending the target equipment information to the server according to the network address based on the FRP service and the BOA service. The distributed embedded equipment in different local area networks can be accessed, and the operation and maintenance management efficiency of the distributed embedded equipment can be improved.
S440, receiving a target equipment management request sent by the client through the server, and updating target equipment parameters according to the target equipment management request, so that the client manages the target equipment according to the target equipment management request.
According to the technical scheme provided by the embodiment of the invention, if the starting operation of the FRP service is detected, the server access address in the FRP configuration file is determined; based on FRP service and server access address, sending network address and equipment identification of the embedded equipment to be managed to a server so that the server establishes and stores unique association relation of the embedded equipment to be managed, the network address and the equipment identification; responding to a target equipment access request sent by a server, based on FRP service and BOA service, and sending target equipment information to the server according to the target equipment access request; and receiving a target equipment management request sent by the client through the server, and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request. By executing the scheme, the distributed embedded equipment with dispersed geographic positions can be uniformly managed, and the operation and maintenance management efficiency of the embedded equipment can be improved.
Fig. 5 is a schematic structural diagram of a management apparatus of a distributed embedded device configured in a server, where the management apparatus may be configured in an electronic device such as a server, and the server configures an FRP service. As shown in fig. 5, the apparatus includes:
A target device access request response module 510, configured to respond to a target device access request sent by a client, and send the target device access request to the target device based on an FRP service; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
the target device information access module 520 is configured to receive target device information sent by the target device according to the target device access request, and feed back the target device information to the client;
and the target device management request forwarding module 530 is configured to receive a target device management request sent by the client according to the target device information, and send the target device management request to the target device based on the FRP service, so that the client manages the target device.
Optionally, the device further includes a list information sending module, configured to send list information of the embedded device to be managed to the client in response to a server access request sent by the client before responding to a target device access request sent by the client, so that the client manages the embedded device to be managed; wherein the server access request includes at least a server access address.
Optionally, the number of the embedded devices to be managed is at least two, and the embedded devices to be managed are connected to the internet through different local area networks.
Optionally, the device further includes a unique association storage module, configured to receive, before responding to a server access request sent by the client, a device identifier sent by the embedded device to be managed, and establish and store a unique association between the device identifier of the embedded device to be managed and the embedded device to be managed.
Optionally, the device identification includes at least one of a device identification number and a device domain name.
The device provided by the embodiment can execute the management method of the distributed embedded equipment applied to the server provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 6 is a schematic structural diagram of a management apparatus of a distributed embedded device configured in a distributed embedded device according to an embodiment of the present invention, where the apparatus may be configured in an electronic device such as a distributed embedded device, and the distributed embedded device is configured with an FRP service and a BOA service. As shown in fig. 6, the apparatus includes:
the target device information feedback module 610 is configured to respond to a target device access request sent by a server, based on an FRP service and a BOA service, and send target device information to the server according to the target device access request; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
And the target device parameter updating module 620 is configured to receive a target device management request sent by the client through the server, and update a target device parameter according to the target device management request, so that the client manages the target device according to the target device management request.
Optionally, the device further includes a device information sending module, configured to determine, before responding to a target device access request sent by the server, a server access address in the FRP configuration file if a start operation of the FRP service is detected; and sending the network address and the equipment identifier of the embedded equipment to be managed to the server based on the FRP service and the server access address, so that the server establishes and stores the unique association relationship among the embedded equipment to be managed, the network address and the equipment identifier.
Optionally, the target device information feedback module 610 includes a network address determining unit, configured to determine a network address of the target device according to the unique association relationship and the device identifier; and the target equipment information sending unit is used for sending the target equipment information to the server according to the network address based on the FRP service and the BOA service.
The device provided by the embodiment can execute the management method of the distributed embedded equipment applied to the distributed embedded equipment provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 7, where the device includes:
one or more processors 710, one processor 710 being illustrated in fig. 7;
a memory 720;
the apparatus may further include: an input device 730 and an output device 740.
The processor 710, memory 720, input means 730, and output means 740 in the device may be connected by a bus or other means, for example in fig. 7.
The memory 720 is a non-transitory computer readable storage medium, and may be used to store a software program, a computer executable program, and modules, such as program instructions/modules corresponding to a method for managing a distributed embedded device in an embodiment of the present invention. The processor 710 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 720, that is, a management method of the distributed embedded device executed by the server to implement the above method embodiment, that is:
Responding to a target equipment access request sent by a client, and sending the target equipment access request to target equipment based on FRP service; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
receiving target equipment information sent by the target equipment according to the target equipment access request, and feeding back the target equipment information to the client;
and receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on FRP service so as to enable the client to manage the target equipment.
Memory 720 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 720 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 720 may optionally include memory located remotely from processor 710, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 730 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the computer device. The output device 740 may include a display device such as a display screen.
An embodiment of the present invention provides an electronic device for executing the method for managing a distributed embedded device applied to the distributed embedded device provided by the foregoing embodiment, where the device includes:
one or more processors;
storage means for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement a method for managing a distributed embedded device performed by a distributed embedded device according to any one of the embodiments of the present invention, that is:
responding to a target equipment access request sent by a server, based on FRP service and BOA service, and sending target equipment information to the server according to the target equipment access request; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
And receiving a target equipment management request sent by the client through the server, and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request.
The specific structure and details thereof are described with reference to fig. 7 and the above-described embodiment.
The embodiment of the invention provides a computer readable storage medium, on which a computer program is stored, the program when executed by a processor implementing a management method of a distributed embedded device executed by a server, provided by the embodiment of the invention, which is that:
responding to a target equipment access request sent by a client, and sending the target equipment access request to target equipment based on FRP service; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
receiving target equipment information sent by the target equipment according to the target equipment access request, and feeding back the target equipment information to the client;
and receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on FRP service so as to enable the client to manage the target equipment.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The embodiment of the present invention also provides a computer readable storage medium, on which a computer program is stored, where the program when executed by a processor can implement a method for managing a distributed embedded device executed by a distributed embedded device according to any one of the embodiments of the present invention, that is:
Responding to a target equipment access request sent by a server, based on FRP service and BOA service, and sending target equipment information to the server according to the target equipment access request; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through a local area network, and the server is accessed to the Internet;
and receiving a target equipment management request sent by the client through the server, and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request. Specific details thereof are described with reference to the above-described embodiments.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (11)

1. The management method of the distributed embedded equipment is applied to a server, and the server configures an intranet penetration server program FRPS service, and is characterized by comprising the following steps:
responding to a target equipment access request sent by a client, and sending the target equipment access request to target equipment based on FRPS service; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through local area networks, at least one distributed embedded equipment is arranged in each local area network, different local area networks are connected to the Internet, and the server and the client are respectively connected to the Internet; the distributed embedded equipment is configured with an intranet penetrating client program FRPC service and a BOA service; the target device is a target distributed embedded device;
receiving target equipment information sent by the target equipment according to the target equipment access request, and feeding back the target equipment information to the client;
receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on FRPS service so as to enable the client to manage the target equipment;
Wherein before responding to the target device access request sent by the client, the method further comprises:
responding to a server access request sent by a client, and sending equipment identifiers of all distributed embedded equipment to be managed to the client in a list form so that the client manages all the distributed embedded equipment to be managed; wherein the server access request at least comprises a server access address;
wherein before responding to the server access request sent by the client, the method further comprises:
and receiving the equipment identifier sent by the distributed embedded equipment to be managed and the network address of the distributed embedded equipment to be managed, and establishing and storing the equipment identifier of the distributed embedded equipment to be managed, and the unique association relationship between the network address of the distributed embedded equipment to be managed and the distributed embedded equipment to be managed.
2. The method according to claim 1, wherein the distributed embedded devices to be managed are at least two, connected to the internet via different local area networks.
3. The method of claim 1, wherein the device identification comprises at least one of a device identification number and a device domain name.
4. The management method of the distributed embedded equipment is applied to the distributed embedded equipment, and the distributed embedded equipment is configured with FRPC service and BOA service, and is characterized by comprising the following steps:
responding to a target equipment access request sent by a server, based on FRPC service and BOA service, and sending target equipment information to the server according to the target equipment access request; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through local area networks, at least one distributed embedded equipment is arranged in each local area network, different local area networks are connected to the Internet, and the server and the client are respectively connected to the Internet; the server configures FRPS service; the target device is a target distributed embedded device;
receiving a target equipment management request sent by a client through the server, and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request;
wherein before responding to the target device access request sent by the server, the method further comprises:
If the starting operation of the FRPC service is detected, determining a server access address in the FRPC configuration file;
and sending the network address of the distributed embedded equipment to be managed and the equipment identification of the distributed embedded equipment to be managed to the server based on the FRPC service and the server access address, so that the server establishes and stores the unique association relation among the distributed embedded equipment to be managed, the network address and the equipment identification, and the server sends the equipment identification of each distributed embedded equipment to be managed to the client in a list form.
5. The method of claim 4, wherein transmitting target device information to the server based on the FRPC service and the BOA service and in accordance with the target device access request comprises:
determining a network address of the target equipment according to the unique association relationship and the equipment identifier;
and based on the FRPC service and the BOA service, transmitting the target equipment information to the server according to the network address.
6. A management apparatus of a distributed embedded device, configured in a server, the server configuring an FRPS service, comprising:
The target equipment access request response module is used for responding to a target equipment access request sent by a client and sending the target equipment access request to the target equipment based on FRPS service; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through local area networks, at least one distributed embedded equipment is arranged in each local area network, different local area networks are connected to the Internet, and the server and the client are respectively connected to the Internet; the distributed embedded equipment is configured with FRPC service and BOA service;
the target equipment information access module is used for receiving target equipment information sent by the target equipment according to the target equipment access request and feeding back the target equipment information to the client;
the target equipment management request forwarding module is used for receiving a target equipment management request sent by the client according to the target equipment information, and sending the target equipment management request to the target equipment based on FRPS service so that the client manages the target equipment;
the device comprises a client, a server, a list information sending module and a list information sending module, wherein the client is used for sending the device identification of each distributed embedded device to be managed to the client in a list form in response to the server access request sent by the client before responding to the target device access request sent by the client, so that the client manages each distributed embedded device to be managed; wherein the server access request at least comprises a server access address;
The device also comprises a unique association relation storage module, which is used for receiving the equipment identification sent by the distributed embedded equipment to be managed and the network address of the distributed embedded equipment to be managed, and establishing and storing the equipment identification of the distributed embedded equipment to be managed, and the unique association relation between the network address of the distributed embedded equipment to be managed and the distributed embedded equipment to be managed before responding to the server access request sent by the client.
7. A management apparatus of a distributed embedded device, configured in the distributed embedded device, where the distributed embedded device is configured with an FRPC service and a BOA service, comprising:
the target equipment information feedback module is used for responding to a target equipment access request sent by a server, based on FRPC service and BOA service, and sending target equipment information to the server according to the target equipment access request; the target equipment access request at least comprises equipment identification of target equipment; the target equipment is connected to the Internet through local area networks, at least one distributed embedded equipment is arranged in each local area network, different local area networks are connected to the Internet, and the server and the client are respectively connected to the Internet; the server configures FRPS service; the target device is a target distributed embedded device;
The target equipment parameter updating module is used for receiving a target equipment management request sent by a client through the server and updating target equipment parameters according to the target equipment management request so that the client manages the target equipment according to the target equipment management request;
the device also comprises a device information sending module, a server access address determining module and a server access module, wherein the device information sending module is used for determining the server access address in the FRPC configuration file if the starting operation of the FRPC service is detected before responding to the target device access request sent by the server; and sending the network address of the distributed embedded equipment to be managed and the equipment identification of the distributed embedded equipment to be managed to the server based on the FRPC service and the server access address, so that the server establishes and stores the unique association relation among the distributed embedded equipment to be managed, the network address and the equipment identification, and the server sends the equipment identification of each distributed embedded equipment to be managed to the client in a list form.
8. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of management of a distributed embedded device as recited in any of claims 1-3.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of managing a distributed embedded device as recited in any of claims 4-5.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a method of managing a distributed embedded device as claimed in any one of claims 1-3.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a method of managing a distributed embedded device according to any of claims 4-5.
CN202111272972.2A 2021-10-29 2021-10-29 Management method, device, equipment and medium of distributed embedded equipment Active CN113965571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111272972.2A CN113965571B (en) 2021-10-29 2021-10-29 Management method, device, equipment and medium of distributed embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111272972.2A CN113965571B (en) 2021-10-29 2021-10-29 Management method, device, equipment and medium of distributed embedded equipment

Publications (2)

Publication Number Publication Date
CN113965571A CN113965571A (en) 2022-01-21
CN113965571B true CN113965571B (en) 2023-09-15

Family

ID=79468562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111272972.2A Active CN113965571B (en) 2021-10-29 2021-10-29 Management method, device, equipment and medium of distributed embedded equipment

Country Status (1)

Country Link
CN (1) CN113965571B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726908A (en) * 2022-03-23 2022-07-08 阿里云计算有限公司 Network communication method and system, electronic device, and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411771A (en) * 2016-09-09 2017-02-15 北京锐安科技有限公司 Data forwarding method and system
CN107154865A (en) * 2017-04-13 2017-09-12 上海寰创通信科技股份有限公司 A kind of method based on outer net managing intranet equipment
CN109889379A (en) * 2019-01-31 2019-06-14 新华三技术有限公司 Collecting method, device, management equipment and storage medium
CN111083427A (en) * 2019-12-27 2020-04-28 随锐科技集团股份有限公司 Data processing method of embedded terminal and 4K video conference system
CN111444237A (en) * 2020-03-24 2020-07-24 维沃移动通信有限公司 Server system, data transmission method and electronic equipment
CN112751945A (en) * 2021-04-02 2021-05-04 人民法院信息技术服务中心 Method, device, equipment and storage medium for realizing distributed cloud service
CN113452780A (en) * 2021-06-26 2021-09-28 未鲲(上海)科技服务有限公司 Access request processing method, device, equipment and medium for client

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9032096B2 (en) * 2003-12-17 2015-05-12 Cisco Technology, Inc. Reducing the impact of network latency on application performance
WO2012100219A1 (en) * 2011-01-20 2012-07-26 Zoll Medical Corporation Systems and methods for collection, organization and display of ems information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411771A (en) * 2016-09-09 2017-02-15 北京锐安科技有限公司 Data forwarding method and system
CN107154865A (en) * 2017-04-13 2017-09-12 上海寰创通信科技股份有限公司 A kind of method based on outer net managing intranet equipment
CN109889379A (en) * 2019-01-31 2019-06-14 新华三技术有限公司 Collecting method, device, management equipment and storage medium
CN111083427A (en) * 2019-12-27 2020-04-28 随锐科技集团股份有限公司 Data processing method of embedded terminal and 4K video conference system
CN111444237A (en) * 2020-03-24 2020-07-24 维沃移动通信有限公司 Server system, data transmission method and electronic equipment
CN112751945A (en) * 2021-04-02 2021-05-04 人民法院信息技术服务中心 Method, device, equipment and storage medium for realizing distributed cloud service
CN113452780A (en) * 2021-06-26 2021-09-28 未鲲(上海)科技服务有限公司 Access request processing method, device, equipment and medium for client

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于嵌入式Web的发射机远程监控系统;徐淑萍;苏小会;;测控技术(第05期);全文 *

Also Published As

Publication number Publication date
CN113965571A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
CN108989066B (en) Equipment management method and device
US20130179558A1 (en) Server management using a baseboard management controller to establish a wireless network
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN111614729B (en) Method and device for controlling kubernetes container cluster and electronic equipment
CN111193602B (en) Automatic operation and maintenance management system and method
CN110851468A (en) Method and device for making simulation response to test request of client
CN103902339A (en) Application installation method, terminal and server
CN111049930A (en) IOT agent layer and communication method
CN113965571B (en) Management method, device, equipment and medium of distributed embedded equipment
CN112565439A (en) Internet of things communication method and system
CN109257392A (en) A kind of command handling method, device, server and storage medium
CN111435947A (en) Electronic message control
CN104486330A (en) Two-way communication system based on remote procedure calls (RPCs)
CN109510717B (en) Method, device, equipment and storage medium for acquiring information of node equipment
CN115004650B (en) Node configuration method, node configuration device, distributed system and computer readable medium
CN112217845B (en) Data transmission method based on Netconf protocol and related equipment
CN104301419A (en) Non-local-machine remote download control system and method
KR20220006605A (en) Cloud communication method and device, user device, network device
CN111506356A (en) Electronic message adaptation
CN112565458B (en) Platform remote control method and device, storage medium and electronic equipment
US10601635B1 (en) Apparatus, system, and method for wireless management of a distributed computer system
CN115119286A (en) Method and device for accessing equipment to network
CN114025005A (en) Data communication method, system, electronic equipment and storage medium
CN103533071A (en) Update method, device and system for terminal software
CN110266501B (en) Block chain node device and block chain network system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant