Device management method and apparatus, device, and storage medium
By automatically identifying and connecting the types of devices through the inverter, the problem of manual configuration after the devices are connected in the photovoltaic system is solved, realizing plug-and-play functionality and improving equipment management efficiency.
Patent Information
- Application Number
- PCT/CN2024/126130
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-09-10
- Filing Date
- 2024-10-21
- Publication Date
- 2026-03-19
AI Technical Summary
In photovoltaic systems, after the equipment is connected, it needs to be manually configured by maintenance personnel to achieve its functions, which is time-consuming and labor-intensive.
The inverter automatically identifies the type of connected device and establishes a communication connection with it after successful identification, activating the corresponding functions to achieve plug-and-play functionality.
It enables automatic identification and function activation after the equipment is connected to the photovoltaic system, simplifying the operation process and improving efficiency.
Smart Images

Figure CN2024126130_19032026_PF_FP_ABST
Abstract
Description
Device management method, device, apparatus, and storage medium
[0001] The present application claims priority to the Chinese patent application No. 2024112660896, filed on September 10, 2024, and entitled "Device management method, device, apparatus, and storage medium", the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present application relates to the technical field of software engineering, in particular to a device management method, device, apparatus, and storage medium. BACKGROUND
[0003] With the rapid development of the photovoltaic field, the types of devices that can be connected to the photovoltaic system are also increasing. The devices that can be connected to the photovoltaic system can be connected to the photovoltaic system through an inverter to realize data interaction and energy transmission.
[0004] For example, connecting a display device to the photovoltaic system can realize displaying the running information of the photovoltaic system through the display device; connecting a charging pile to the photovoltaic system can realize charging other devices (such as vehicles) using the charging pile with the electric energy generated by the running of the photovoltaic system; connecting an alarm to the photovoltaic system can realize alarming when the photovoltaic system appears abnormal based on the set alarm rules.
[0005] In the related art, after connecting the device to the photovoltaic system, the operation and maintenance personnel need to set it up before the corresponding function can be realized, which is time-consuming and laborious. TECHNICAL PROBLEM
[0006] One of the purposes of the embodiments of the present application is to provide a device management method, device, apparatus, and storage medium. TECHNICAL SOLUTION
[0007] The technical scheme adopted by the embodiments of the present application is:
[0008] In a first aspect, a device management method is provided, which includes: an inverter detecting that a port has a device connected, identifying a device type of the connected device, and establishing a communication connection with the connected device when the identification of the device type of the connected device is successful. Further, the inverter starts a function corresponding to the device type of the connected device.
[0009] In one embodiment, the inverter detects that a port has a device removed, determines the removed device, disconnects the communication connection with the removed device, and closes the function corresponding to the removed device.
[0010] In one embodiment, the inverter identifies the device type of the access device, comprising: the inverter sends a plurality of test signals to the access device, the plurality of test signals comprising test signals corresponding to different device types; receiving a response message returned by the access device, and determining the device type of the access device according to the test signal corresponding to the response message.
[0011] In one embodiment, in the case that no response message is received within a preset time period after sending the plurality of test signals, the inverter generates and issues an exception report, and the exception report comprises a port accessed by the access device.
[0012] In one embodiment, the inverter identifies the device type of the access device, comprising: the inverter sends a type request message to the access device, and receives the device type returned by the access device in response to the type request message.
[0013] In a second aspect, a device management apparatus is provided, comprising a port detection unit and a processing unit. The port detection unit is configured to identify the device type of an access device in the case that the port is detected to have the access device accessed. The processing unit is configured to establish a communication connection with the access device in the case that the device type of the access device is successfully identified. The processing unit is further configured to start a function corresponding to the device type of the access device.
[0014] In a third aspect, an inverter is provided, comprising a memory and a processor; the memory and the processor are coupled, the memory is configured to store computer program code, the computer program code comprises computer instructions, when the processor executes the computer instructions, the inverter executes the device management method provided by the first aspect or any possible design thereof.
[0015] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores instructions, when the instructions run on the inverter, the inverter executes the device management method provided by the first aspect or any possible implementation manner thereof.
[0016] In a fifth aspect, a computer program product comprising instructions is provided, when the computer program product runs on a computer, the computer can execute the device management method provided by the first aspect or any possible implementation manner thereof.
[0017] In a sixth aspect, a chip system is provided, comprising: a processor and an interface circuit; the interface circuit is configured to receive a computer program or instructions and transmit to the processor; the processor is configured to execute the computer program or instructions, so that the chip system executes the device management method provided by the first aspect or any possible implementation manner thereof. Advantages
[0018] The method provided by the embodiment of the present application has the beneficial effect that when the inverter detects that there is a device accessing the port, the accessing device can be automatically identified, and in the case of successful matching, a communication connection between the inverter and the accessing device is established, so that the inverter and the accessing device form an integrated system, information can be transmitted to the accessing device through the inverter, and a function corresponding to the device type of the accessing device is automatically started, realizing plug and play of the accessing device. BRIEF DESCRIPTION OF DRAWINGS
[0019] Fig. 1 is a structural schematic diagram of a device management system provided by an embodiment of the present application;
[0020] Fig. 2 is a structural schematic diagram of an inverter provided by an embodiment of the present application;
[0021] Fig. 3 is a flow schematic diagram of a device management method provided by an embodiment of the present application;
[0022] Fig. 4 is a connection schematic diagram of an inverter and an accessible device provided by an embodiment of the present application;
[0023] Fig. 5 is a flow schematic diagram of another device management method provided by an embodiment of the present application;
[0024] Fig. 6 is a flow schematic diagram of another device management method provided by an embodiment of the present application;
[0025] Fig. 7 is a structural schematic diagram of a device management apparatus provided by an embodiment of the present application;
[0026] Fig. 8 is a structural schematic diagram of another device management apparatus provided by an embodiment of the present application;
[0027] Fig. 9 is a structural schematic diagram of a device management device provided by an embodiment of the present application. Embodiments of the present application
[0028] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
[0029] In the embodiments of the present application, the words such as “exemplary” or “for example” are used to mean serving as an example, instance, or illustration. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. Rather, the words “exemplary” or “for example” are used to present related concepts in a specific manner.
[0030] In the description of the present application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can mean that A exists alone, A and B exist together, and B exists alone. In addition, "at least one" and "multiple" mean two or more. "First", "second", and the like do not limit the quantity and execution order, and "first", "second", and the like do not necessarily mean different.
[0031] It can be understood that "embodiments" mentioned throughout the description mean that the specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the description do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It can be understood that in various embodiments of the present application, the size of the sequence of each process does not mean the order of execution, and the execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0032] It can be understood that in the present application, "when", "if" and "if" all refer to the corresponding processing under certain objective circumstances, not limited to time, and do not require a judgment action when implemented, nor does it mean that there are other limitations.
[0033] It can be understood that some optional features in the embodiments of the present application can be implemented independently in some scenarios without relying on other features, such as the scheme currently based on, to solve the corresponding technical problems and achieve the corresponding effects. In some scenarios, it can also be combined with other features according to demand. Correspondingly, the device given in the embodiments of the present application can also realize these features or functions, which will not be described here.
[0034] In the present application, except for special description, the same or similar parts of each embodiment can be mutually referred to. In the present application, each embodiment, and each implementation method in each embodiment, if there is no special description and no logical conflict, the terms and / or descriptions between different embodiments, and each implementation method in each embodiment are consistent and can be mutually referred to. The technical features in different embodiments, and each implementation method in each embodiment can be combined to form new embodiments, implementation manners, implementation methods, or implementation methods according to their inherent logical relationship. The following implementation manners of the present application do not constitute a limitation on the protection scope of the present application.
[0035] Currently, with the rapid development of the photovoltaic field, the types of devices that can be connected to the photovoltaic system are also increasing. The devices can be connected to the photovoltaic system through the inverter to realize data interaction and energy transmission. In the related technology, after the device is connected to the photovoltaic system, the operation and maintenance personnel need to set it up before the corresponding function can be realized, which is time-consuming and laborious.
[0036] To solve the above problems, the present application provides a device management method, device, and storage medium. The device management method is applied to an inverter, and the method comprises: the inverter detects that a port has a device connected, identifies the device type of the connected device, and establishes a communication connection with the connected device if the identification of the device type of the connected device is successful. Further, the inverter starts the function corresponding to the device type of the connected device.
[0037] In this way, when the inverter detects that there is a device connected to the port, it can automatically identify the connected device and establish a communication connection with the connected device if the matching is successful. The inverter and the connected device form an integrated system, which can transmit information to the connected device through the inverter and automatically start the function corresponding to the device type of the connected device, realizing plug-and-play of the connected device.
[0038] FIG. 1 shows a device management system. The device management method provided by the present application can be applied to the device management system shown in FIG. 1 to realize plug-and-play of the device connected to the inverter and facilitate user operation. As shown in FIG. 1, the device management system 10 comprises an inverter 11 and a connected device 12.
[0039] Among them, the inverter 11 and the connected device 12 are connected through a connection line, the inverter 11 comprises a plurality of ports for connecting other devices, and the connected device 12 exemplarily comprises a cloud communication box, a battery pack, a smart junction box, a light-emitting diode (LED) display lamp, a liquid crystal display (LCD), a smart meter, etc.
[0040] It should be noted that the present application does not make specific limitations on the connection form of the hardware connection between the inverter 11 and the connected device 12, such as the port type, port quantity, port communication quantity, and port form of the inverter, etc.
[0041] In the device management system 10 shown in FIG. 1, the inverter 11 can determine whether a device is connected or removed by detecting the ports included therein.
[0042] The inverter 11 can also identify the connected device 12 through the port to determine the device type of the connected device.
[0043] Further, the inverter 11 can also establish a communication connection with the access device 12 through the port to form an integrated system with the access device 12.
[0044] The inverter 11 can also start a function corresponding to the device type of the access device 12 to realize plug and play of the access device 12.
[0045] In some embodiments, as shown in FIG. 2, the device management method provided by the present application can be applied to an embedded operating system taking the inverter as a hardware computing platform, and can work with a communication system (CMS), an energy management system (EMS), etc. in a device system.
[0046] FIG. 3 is a flow diagram of a device management method according to some example embodiments. In some embodiments, the above-mentioned device management method can be applied to the inverter 11 in the device management system 10 as shown in FIG. 1. Hereinafter, the device management method is described by taking the application of the device management method to the inverter 11 as an example.
[0047] As shown in FIG. 3, the device management method provided by the present application includes the following S301-S303.
[0048] S301, the inverter identifies the device type of the access device when detecting that the port has a device access.
[0049] As a possible implementation, the inverter detects multiple ports in real time to determine whether there is a device access through the port power supply and / or the port contact. Further, when detecting that the port has a device access, the inverter identifies the device type of the access device through the port.
[0050] In some embodiments, the inverter determines whether there is a device access through the port power supply, which can be exemplified by the inverter determining whether there is a device access by detecting whether there is a voltage output change or a voltage input change in each port.
[0051] The inverter determines whether there is a device access through the port contact, which can be exemplified by the inverter determining whether there is a device access according to the voltage and current changes of the port contact.
[0052] When detecting that the port has a device access, the inverter identifies the device type of the access device through the port, which can be exemplified by the inverter sending multiple test signals to the access device.
[0053] The multiple test signals include test signals corresponding to different device types.
[0054] It should be noted that the devices of different device types are configured with test signals for response, and the multiple test signals sent by the inverter to the access device can be set in the inverter by an operation and maintenance personnel of the device management system according to the device types that can access the inverter. For example, as shown in FIG. 4, the device types that can access the inverter include a cloud communication box, a battery pack / BMS, an alarm, a smart meter, a digital chip, a smart junction box, an LED display lamp, and a direct-current arc detection AFCI / component-level shutdown RSD switch, which are not limited in the embodiments of the present application.
[0055] After receiving the test message corresponding to the device type of the access device, the access device returns a response message to the inverter.
[0056] Correspondingly, the inverter receives the response message sent by the access device, and determines the device type of the access device according to the test signal corresponding to the response message.
[0057] For example, the access devices that can access the inverter are the cloud communication box, the battery pack, the smart junction box, the LED display lamp, the LCD display, the smart meter, and the like, and the test signals corresponding to each device are shown in Table 1.
[0058] Table 1: Mapping relationship table of device type and test signal
[0059]
[0060] Based on the mapping relationship table shown in Table 1, the inverter sends signals 1-6 to the access device through the port at an interval of a preset time length. If the response message returned by the access device is received within the preset time length after the inverter sends signal 1, the inverter stops sending signals 2-6, and determines that the device type of the access device is the cloud communication box. If the response message returned by the access device is received within the preset time length after the inverter sends signal 2, the inverter stops sending signals 3-6, and determines that the device type of the access device is the battery pack. Similarly, if the response message returned by the access device is received within the preset time length after the inverter sends signal 6, the inverter determines that the access device is the smart meter.
[0061] In some embodiments, if no response message is received within the preset time length after the inverter sends the multiple test signals, the inverter determines that the current access device cannot be identified, generates and issues an exception report, wherein the exception report includes the port accessed by the access device.
[0062] It should be noted that the inverter can display the abnormality report through the connected display to realize sending the abnormality report to the user, or send the abnormality report to the terminal of the user through the connected communication module, and the embodiments of the present application do not make specific limitation.
[0063] In some embodiments, in the case that the port is detected to have the device access, the inverter identifies the device type of the access device through the port, and the inverter can further send a type request message to the access device and receive the device type returned by the access device in response to the type request message.
[0064] It should be noted that if the device type returned by the access device in response to the type request message received by the inverter is an unrecognizable random code, it is determined that the access device is identified, and an abnormality report is generated and sent.
[0065] S302, in the case that the device type identification of the access device is successful, the inverter establishes a communication connection between the inverter and the access device.
[0066] As a possible implementation manner, the inverter determines whether the identification is successful based on the device type identification of the access device in the above step S301. Further, the inverter establishes a communication connection between the inverter and the access device in the case that the device type identification of the access device is successful, so that the access device and the inverter form an integrated system.
[0067] In some embodiments, after the inverter establishes the communication connection with the access device, the operation data and / or control instruction sent by the access device can be forwarded by the inverter to other devices, and the operation data and / or control instruction sent by other devices to the access device can also be forwarded by the inverter to the access device, and each device is integrated through the inverter.
[0068] It should be noted that after the inverter establishes the communication connection with the access device, the inverter can send the device operation information related to the access device and the system function to different systems or read from different systems through the port. For example, the data required for energy control is sent to the EMS energy management system, and the data required for the battery SOC is read from the BMS battery management system.
[0069] In some embodiments, the inverter is connected with a first device and a second device respectively, the inverter receives a target message sent by the first device, and forwards the target message to the second device, and the target message includes operation data and / or control instruction.
[0070] In the data interaction process between the inverter and the access device, the real-time running data can be packaged and sent together with the control instruction, so as to avoid the delay of the data field of the same device. For example, the charging pile needs to obtain the current voltage and needs to obtain the power limit instruction given by the inverter. The integrated packaging ensures that the data of the two data types are obtained at the same time, and the problem that only the power limit instruction is received but the voltage cannot be obtained does not occur. If the acquisition of the voltage is delayed, the output power needs the voltage to determine the current, which may cause serious safety problems or even system failure.
[0071] In some embodiments, the messages between the inverter and the access device are encrypted based on a global digital encryption algorithm, so as to ensure the data security between the inverter and other access devices.
[0072] S303, the inverter starts the function corresponding to the device type of the access device.
[0073] As a possible implementation manner, after the inverter establishes the communication connection with the access device, the inverter controls the function code field corresponding to the device type of the access device to be opened, so as to automatically start the function of the access device after the access device accesses the inverter.
[0074] It can be understood that in the device management method provided in the present application, when the inverter detects that there is a device accessing the port, the access device can be automatically identified, and in the case of successful matching, the communication connection between the inverter and the access device is established, so that the inverter and the access device form an integrated system, the information can be transmitted to the access device through the inverter, and the function corresponding to the device type of the access device is automatically started, so as to realize the plug and play of the access device.
[0075] In one design, when the device accessing the inverter is removed, in order to ensure the normal operation of the system, the device management method provided in the present application, as shown in FIG. 5, further includes S501-S503.
[0076] S501, the inverter determines the removed device when detecting that there is a device removed from the port.
[0077] As a possible implementation manner, the inverter detects the multiple ports in real time, and determines whether there is a device removed through the port power supply and / or the port contact. Further, when detecting that there is a device removed from the port, the inverter determines the removed device according to the historical access situation of the port.
[0078] In some embodiments, after the access device accesses the inverter through the port, the inverter establishes the mapping relationship between the port and the access device and stores it, and after detecting that there is a device removed from the port, the inverter determines the removed device according to the stored mapping relationship.
[0079] For example, the mapping relationship table between the ports and the access devices is shown in Table 2.
[0080] Table 2: Mapping relationship table between the device types and the test signals
[0081]
[0082] For example, if the inverter detects that the device of port 5 is removed, it is determined that the removed device is the smart patch panel based on the mapping relationship shown in Table 2.
[0083] S502, the inverter disconnects the communication connection between the inverter and the removed device.
[0084] S503, the inverter closes the function corresponding to the removed device.
[0085] As a possible implementation, the inverter closes the function code field corresponding to the removed device, and stops the function call to the removed device, so as to avoid the abnormality caused by the function call of other devices to the corresponding function after the removed device is removed.
[0086] It should be noted that the execution order of the above steps S502 and S503 is not limited, and the step S502 can be executed first, or the step S503 can be executed first, or the steps S502 and S503 can be executed simultaneously.
[0087] In one design, FIG. 6 shows a flowchart of a device management method. First, the inverter performs port detection to determine whether a device is removed or a device is accessed.
[0088] Further, if the inverter determines that a device is removed, the inverter disconnects the communication connection between the inverter and the removed device, and closes the function of the removed device.
[0089] If the inverter determines that a device is accessed, the inverter identifies the device type of the accessed device through the port. In the case of successful identification, the communication connection between the inverter and the accessed device is established, and the function of the accessed device is opened. In the case of failed identification, an exception report is generated and sent.
[0090] In some examples, the inverter includes 1, 2, 3 to N ports, wherein the number of ports is not limited, the appearance is not limited, the Pin pin is not limited, the number of connection lines is not limited, the communication mode is not limited, and the communication protocol is not limited.
[0091] For example, the LED display lamp originally connected to port 1 of the inverter is removed, the inverter recognizes the removal of the device, disconnects the communication connection between the LED display lamp, and closes the function of the LED display lamp; when the LCD display screen is connected to port N of the inverter, the inverter automatically recognizes that port N is connected to a new device, and starts to identify whether the connected device matches, and when correctly identifying that it is an LCD display screen, automatically opens the display function of the LCD display screen, realizing the effect of inductive removal and inductive plug-and-play of the optional component.
[0092] For another example, the cloud data stick originally connected to port 1 of the inverter is removed, and the intelligent junction box is replaced to the same interface, the system automatically recognizes the disconnection of the cloud data stick, closes the communication function of the data stick, recognizes the intelligent junction box, reads the parameter data of the intelligent junction box, and sends a control instruction to the intelligent junction box according to the user setting.
[0093] In one design, the present application provides a device management apparatus for executing the above-mentioned device management method, and the device management apparatus is integrated on the inverter, as shown in FIG. 7, the device management apparatus includes a port recognition module, a digital integration module, and a function module.
[0094] The port recognition module is used to detect the state of the port, determine whether there is a device access or device removal, and the port recognition module is also used to identify the device type of the connected device; the digital integration module is used to establish the communication connection between the connected device and the inverter, and integrally package and send the real-time running data and the control instruction in the data interaction process between the connected device; the function module is used to control the opening or closing of the function code field corresponding to the device, so as to realize the opening of the corresponding function when the device is connected, and the closing of the corresponding function when the device is removed.
[0095] The above mainly introduces the scheme provided by the embodiments of the present application from the perspective of the method. In order to realize the above functions, it contains the hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in the present text can be realized in the form of hardware or the combination of hardware and computer software. Whether a certain function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical scheme. Professional technicians can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0096] The embodiments of the present application can divide the function modules of the user equipment according to the above method examples. For example, each function module can be divided according to each function, or two or more functions can be integrated in one processing module. The integrated module can be realized in the form of hardware or in the form of a software function module. Optionally, the division of the modules in the embodiments of the present application is illustrative, and is only a logical function division. In actual implementation, another division manner can be used.
[0097] FIG. 8 is a structural schematic diagram of a device management apparatus provided by an embodiment of the present application. The device management apparatus is used to execute the above device management method. As shown in FIG. 8, the device management apparatus 80 includes a port detection unit 801 and a processing unit 802.
[0098] The port detection unit 801 is configured to identify the device type of the accessed device when detecting that the port is accessed by the device.
[0099] The processing unit 802 is configured to establish a communication connection with the accessed device when the device type of the accessed device is successfully identified.
[0100] The processing unit 802 is further configured to start a function corresponding to the device type of the accessed device.
[0101] Optionally, as shown in FIG. 8, in the device management apparatus 80 provided by the embodiment of the present application, the port detection unit 801 is further configured to determine the removed device when detecting that the port is removed by the device. The processing unit 802 is further configured to disconnect the communication connection with the removed device and close the function corresponding to the removed device.
[0102] Optionally, as shown in FIG. 8, the device management apparatus 80 provided by the embodiment of the present application further includes a sending unit 803 and a receiving unit 804.
[0103] The sending unit 803 is configured to send a plurality of test signals to the accessed device. The plurality of test signals include test signals corresponding to different device types.
[0104] The receiving unit 804 is configured to receive a response message returned by the accessed device, and determine the device type of the accessed device according to the test signal corresponding to the response message.
[0105] Optionally, as shown in FIG. 8, in the device management apparatus 80 provided by the embodiment of the present application, the processing unit 802 is further configured to generate and issue an exception report when the response message is not received within a preset time period after the plurality of test signals are sent. The exception report includes the port accessed by the accessed device.
[0106] Optionally, as shown in FIG. 8, the device management apparatus 80 provided by the embodiment of the present application, the sending unit 803 is further used for sending a type request message to the access device.
[0107] The receiving unit 804 is further used for receiving the device type returned by the access device in response to the type request message.
[0108] Optionally, as shown in FIG. 8, the device management apparatus 80 provided by the embodiment of the present application, the receiving unit 804 is further used for receiving the target message sent by the first device, and the target message comprises running data and / or control instructions.
[0109] The sending unit 803 is further used for forwarding the target message to the second device, and the first device and the second device access the inverter respectively.
[0110] In the case of realizing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides a possible structural diagram of an inverter. The inverter is used for executing the device management method executed by the device management apparatus in the above-mentioned embodiments. As shown in FIG. 9, the inverter 90 comprises a processor 901, a memory 902 and a bus 903. The processor 901 and the memory 902 can be connected through the bus 903.
[0111] The processor 901 is the control center of the inverter, and can be one processor or a general term of multiple processing elements. For example, the processor 901 can be a general central processing unit (CPU), or other general-purpose processors, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0112] As an embodiment, the processor 901 can comprise one or more CPUs, for example, CPU 0 and CPU 1 shown in FIG. 9.
[0113] The memory 902 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
[0114] As a possible implementation, the memory 902 can exist independently of the processor 901, or the memory 902 can be connected to the processor 901 through the bus 903, for storing instructions or program codes. When the processor 901 invokes and executes the instructions or program codes stored in the memory 902, the device management method provided by the embodiments of the present application can be implemented.
[0115] In another possible implementation, the memory 902 can also be integrated with the processor 901.
[0116] The bus 903 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For the convenience of representation, only one thick line is shown in FIG. 9, but it does not mean that there is only one bus or only one type of bus.
[0117] It should be noted that the structure shown in FIG. 9 does not constitute a limitation on the inverter 90. In addition to the components shown in FIG. 9, the inverter 90 can include more or fewer components than those shown in FIG. 9, or some components can be combined, or different components can be arranged.
[0118] As an example, in combination with FIG. 8, the functions implemented by the port detection unit 801, the processing unit 802, the sending unit 803, and the receiving unit 804 in the device management apparatus 80 are the same as the functions of the processor 901 in FIG. 9.
[0119] Optionally, as shown in FIG. 9, the inverter provided by the embodiments of the present application can further include a communication interface 904.
[0120] The communication interface 904 is configured to connect with other devices through a communication network. The communication network can be an Ethernet, a wireless access network, a wireless local area network (WLAN), or the like. The communication interface 904 can include an acquisition unit for receiving data, and a sending unit for sending data.
[0121] In one design, in the inverter provided by the embodiments of the present application, the communication interface can also be integrated in the processor.
[0122] Those skilled in the art can clearly understand the above-described method embodiments through the description of the above-described embodiments. For the convenience and brevity of description, only the above-described division of functional units is exemplified. In actual application, the above-described functions can be completed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units to complete all or part of the above-described functions. The specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiments, and will not be described here.
[0123] The embodiment of the present application further provides a computer readable storage medium, which stores instructions. When a computer executes the instructions, the computer executes each step in the method flow shown in the above-described method embodiment.
[0124] The embodiment of the present application provides a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the device management method in the above-described method embodiment.
[0125] The computer readable storage medium, for example, can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any combination of the above. More specific examples (a non-exhaustive list) of the computer readable storage medium include 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), a register, a hard disk, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any other suitable combination of the above, or any other medium from which a computer can read. An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiment of the present application, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0126] Since the device, the equipment computer readable storage medium, the computer program product in the embodiment of the application can be applied to the above method, the technical effects that can be obtained thereby can also be referred to the above method embodiment, and the embodiment of the application will not be repeated here.
[0127] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A device management method characterized by, The method comprises: In the case of detecting that the port has device access, identifying the device type of the access device; In the case of successful identification of the device type of the access device, establishing a communication connection with the access device; Starting the function corresponding to the device type of the access device.
2. The device management method according to Claim 1, characterized by, The method further comprises: In the case of detecting that the port has device removal, determining the removed device; Disconnecting the communication connection with the removed device and closing the function corresponding to the removed device.
3. The device management method according to Claim 1, characterized by, The identification of the device type of the access device comprises: Sending a plurality of test signals to the access device, the plurality of test signals comprising test signals corresponding to different device types; Receiving the response message returned by the access device, and determining the device type of the access device according to the test signal corresponding to the response message.
4. The device management method according to Claim 3, characterized by, The method further comprises: In the case of not receiving the response message within a preset time period after sending the plurality of test signals, generating and issuing an exception report, the exception report comprising the port accessed by the access device.
5. The device management method according to Claim 1, characterized by, The identification of the device type of the access device comprises: Sending a type request message to the access device, and receiving the device type returned by the access device in response to the type request message.
6. The device management method according to any one of claims 1 to 5, characterized by, The method further comprises: Receiving a target message sent by a first device, the target message comprising running data and / or control instructions; Forwarding the target message to a second device, the first device and the second device accessing the inverter respectively.
7. The device management method according to any one of claims 1 to 5, characterized by, The messages between the inverter and the access device are encrypted based on a global digital encryption algorithm.
8. An apparatus management device, characterized by comprising: Comprise a port detection unit and a processing unit; The port detection unit is configured to identify the device type of an access device in the case of detecting that the port has device access; The processing unit is configured to establish a communication connection with the access device in the case of successful identification of the device type of the access device; The processing unit is further configured to start the function corresponding to the device type of the access device.
9. An inverter, characterized by comprising: Comprise a memory and a processor; The memory and the processor are coupled; The memory is configured to store computer program code, the computer program code comprising computer instructions; When the processor executes the computer instructions, the inverter executes the device management method according to any one of claims 1-7.
10. A computer-readable storage medium having stored therein instructions, the computer-readable storage medium comprising: When the instructions run on the inverter, the inverter executes the device management method according to any one of claims 1-7.
Citation Information
Patent Citations
Equipment management method and device, equipment and storage medium
CN119109783A
Plug-and-play method of power distribution end equipment applied to intelligent fusion terminal
CN116319295A
Equipment control method, electronic equipment and computer readable storage medium
CN116500916A
USB device management and control method, device and storage medium
CN117112047A
Power grid equipment access identification system and method and computer equipment
CN118337625A
Cited By
Communication method, device and system applied to energy terminal, and medium
CN121887750A