CN114363293B - Device management method, system, readable storage medium and computer device - Google Patents
Device management method, system, readable storage medium and computer device Download PDFInfo
- Publication number
- CN114363293B CN114363293B CN202111527725.2A CN202111527725A CN114363293B CN 114363293 B CN114363293 B CN 114363293B CN 202111527725 A CN202111527725 A CN 202111527725A CN 114363293 B CN114363293 B CN 114363293B
- Authority
- CN
- China
- Prior art keywords
- address
- management area
- terminal equipment
- equipment
- management
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 198
- 238000000034 method Methods 0.000 claims abstract description 18
- 230000002159 abnormal effect Effects 0.000 claims description 21
- 238000012545 processing Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 231100000252 nontoxic Toxicity 0.000 description 1
- 230000003000 nontoxic effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention provides a device management method, a system, a readable storage medium and a computer device, wherein the method comprises the following steps: when an access request of terminal equipment is received, acquiring equipment information of the terminal equipment, wherein the equipment information at least comprises an MAC address and an equipment type; judging whether the terminal equipment belongs to newly accessed equipment according to the MAC address and the equipment type; if the terminal equipment belongs to newly accessed equipment, creating a corresponding management area according to the equipment type, and dividing the terminal equipment into the management area; and calling the idle IP address in the IP address pool to be distributed to the management area so that the user manages the terminal equipment in the management area according to the IP address. According to the invention, the corresponding management area is created, and the idle IP address is distributed to the management area, so that a user can directly manage terminal equipment in the management area through the IP address, software is not required to be installed, and the problem of IP address conflict is avoided; the flow steps are saved, and the working efficiency is improved; and the safety is improved.
Description
Technical Field
The present invention relates to the field of network communications technologies, and in particular, to a device management method, a system, a readable storage medium, and a computer device.
Background
With the rapid development of technology and the improvement of living standard of people, the internet has become an indispensable part of life of people, and network communication is used as a part of the internet, thereby providing great help for people.
Existing network communications are accomplished using IP addresses, which refer to internet protocol addresses, also known as internet protocol addresses. The IP address is a unified address format provided by the IP protocol, and allocates a logical address to each network and each device on the internet, so as to mask the difference of physical addresses.
When the equipment is managed, corresponding software is required to be installed on the equipment and is completed through matching of the IP address and the software, the software can directly acquire the information of the equipment in the management process, the safety is low, the problem of information leakage exists, and the whole flow of the mode of managing the equipment through the software is complex, and the working efficiency is low.
Disclosure of Invention
Based on this, an object of the present invention is to provide a device management method, system, readable storage medium and computer device, so as to at least solve the above-mentioned drawbacks.
The invention provides a device management method, which comprises the following steps:
when an access request of terminal equipment is received, acquiring equipment information of the terminal equipment, wherein the equipment information at least comprises an MAC address and an equipment type;
judging whether the terminal equipment belongs to newly accessed equipment or not according to the MAC address and the equipment type;
if the terminal equipment belongs to newly accessed equipment, creating a corresponding management area according to the equipment type, and dividing the terminal equipment into the management area;
and calling an idle IP address in the IP address pool to be distributed to the management area so that a user can manage the terminal equipment in the management area according to the IP address.
Further, after the step of determining whether the terminal device belongs to a newly accessed device according to the MAC address and the device type, the method further includes:
if the terminal equipment does not belong to the newly accessed equipment, searching a management area corresponding to the equipment type in the created management area, and dividing the terminal equipment into the management area;
and acquiring the IP address of the management area so that the user manages the terminal equipment according to the IP address.
Further, after the step of calling the free IP address in the IP address pool to be allocated to the management area, the method further includes:
adding a data interface in the management area;
and distributing the data interface to the terminal equipment through the MAC address so that a user manages the terminal equipment through the IP address and the data interface.
Further, the step of managing the terminal device by the user through the IP address and the data interface includes:
when a management file input by a user is acquired, analyzing identification information and authentication information of the management file, and issuing the identification information and the authentication information to the management area through the IP address;
judging whether the identification information is consistent with the identification information of the management area;
if the identification information is consistent with the identification information of the management area, issuing the authentication information to the terminal equipment through the data interface for authentication;
and if the authentication information passes the authentication, the management file is issued to the terminal equipment through the IP address and the data interface, so that the terminal equipment updates according to the management file.
Further, the method further comprises:
and acquiring the running state of the management area in real time, and when the running state is abnormal, sending an abnormal signal to the user terminal so that the user can execute corresponding operation according to the abnormal signal.
The invention also provides a device management system, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring device information of terminal equipment when an access request of the terminal equipment is received, and the device information at least comprises an MAC address and a device type;
the judging module is used for judging whether the terminal equipment belongs to newly accessed equipment according to the MAC address and the equipment type;
the first creation module is used for creating a corresponding management area according to the equipment type if the terminal equipment belongs to newly accessed equipment, and dividing the terminal equipment into the management area;
and the first allocation module is used for calling the idle IP address in the IP address pool to allocate the IP address to the management area so that the user manages the terminal equipment in the management area according to the IP address.
Further, the system further comprises:
the searching module is used for searching a management area corresponding to the equipment type in the created management area if the terminal equipment does not belong to the newly accessed equipment, and dividing the terminal equipment into the management area;
and the processing module is used for acquiring the IP address of the management area so that a user manages the terminal equipment according to the IP address.
Further, the system further comprises:
the second creation module adds a data interface in the management area;
and the second allocation module allocates the data interface to the terminal equipment through the MAC address so that a user manages the terminal equipment through the IP address and the data interface.
Further, the second allocation module includes:
the analysis unit is used for analyzing the identification information and the authentication information of the management file when the management file input by the user is acquired, and issuing the identification information and the authentication information to the management area through the IP address;
a judging unit configured to judge whether the identification information is identical to the identification information of the management area;
the authentication unit is used for issuing the authentication information to the terminal equipment through the data interface for authentication if the identification information is consistent with the identification information of the management area;
and the processing unit is used for issuing the management file to the terminal equipment through the IP address and the data interface if the authentication information passes the authentication, so that the terminal equipment updates according to the management file.
Further, the system further comprises:
and the alarm module is used for acquiring the running state of the management area in real time, and sending an abnormal signal to the user terminal when the running state is abnormal, so that the user can execute corresponding operation according to the abnormal signal.
The present invention also proposes a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described device management method.
The invention also provides a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the device management method when executing the computer program.
According to the device management method, the system, the readable storage medium and the computer device, whether the terminal device is newly accessed device is judged, when the terminal device belongs to the newly accessed device, a corresponding management area is created, and the IP address is distributed to the management area, so that a user can directly manage the terminal device in the management area through the IP address, the free IP address can be directly distributed without installing software, and the problem of IP address conflict is avoided; the equipment is managed directly through the IP address, so that the flow steps can be effectively saved, and the working efficiency is improved; and the security of the management process can be effectively improved only through IP address access.
Drawings
Fig. 1 is a flowchart of a device management method in a first embodiment of the present invention;
FIG. 2 is a flow chart of a device management method in a second embodiment of the invention;
FIG. 3 is a block diagram showing a device management system according to a third embodiment of the present invention;
fig. 4 is a block diagram showing a structure of a computer device in a fourth embodiment of the present invention.
Description of main reference numerals:
memory device | 10 | Judgment module | 12 |
Processor and method for controlling the same | 20 | First creation module | 13 |
Computer program | 30 | First distribution module | 14 |
Acquisition module | 11 |
The invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
First, it should be noted that:
the IP address (Internet Protocol Address) refers to an internet protocol address, which is in turn translated into an internet protocol address.
The IP address is a unified address format provided by the IP protocol, which allocates a logical address to each network and each host on the internet, so as to mask the difference of physical addresses.
The IP protocol is a protocol designed for communication over a computer network interconnect. In the internet, it is a set of rules that enables all computer networks connected to the network to communicate with each other, specifying the rules that the computer should follow when communicating over the internet. Any vendor-produced computer system can interwork with the internet as long as it complies with the IP protocol. Network systems and devices produced by various manufacturers, such as ethernet, packet-switched networks, etc., are not interoperable with each other, and the main reason for the failure is because of the different formats of the basic units (technically called "frames") of data they transmit. The IP protocol is actually a set of protocol software consisting of software programs that uniformly converts various "frames" into "IP datagram" format, which is one of the most important features of the internet, so that all kinds of computers can be interconnected on the internet, i.e., have the feature of "openness". Just as the IP protocol is available, the internet has evolved rapidly into the largest, open computer communication network in the world. Thus, the IP protocol may also be referred to as "internet protocol".
Example 1
Referring to fig. 1, a device management method according to a first embodiment of the present invention is shown, and the method specifically includes steps S101 to S104:
s101, when an access request of a terminal device is received, acquiring device information of the terminal device, wherein the device information at least comprises an MAC address and a device type;
in a specific implementation, when an access request of a terminal device is acquired, device information of the terminal device is acquired, wherein the device information comprises a MAC address and a device type.
It will be appreciated that the MAC address is also called a physical address, a hardware address, and an EPROM that is burned in the network card when produced by the network device manufacturer. The device types include devices that communicate and operate over a network, such as data acquisition types (e.g., webcams), data transmission types (e.g., audio encoders), data interaction types (e.g., play hosts), and the like.
S102, judging whether the terminal equipment belongs to newly accessed equipment or not according to the MAC address and the equipment type;
in the implementation, whether the terminal equipment is accessed for the first time is judged according to the acquired MAC address and the equipment type. And performing corresponding operation according to the judgment result.
S103, if the terminal equipment belongs to newly accessed equipment, creating a corresponding management area according to the equipment type, and dividing the terminal equipment into the management area;
in the implementation, if the terminal device belongs to a newly accessed device, it means that the terminal device has not been accessed before, so that a management area needs to be created separately for the device type of the terminal device, and when the terminal devices of the same device type appear later, the terminal devices of the same device type can be directly divided into the management areas to realize device management.
It can be understood that in the present application, if the terminal device does not belong to a newly accessed device, that means that the terminal device has been accessed before or has been accessed by a terminal device of the same device type, device management can be implemented only by dividing the terminal device into corresponding management areas.
S104, calling an idle IP address in the IP address pool to be distributed to the management area so that a user can manage the terminal equipment in the management area according to the IP address.
In the specific implementation, the idle IP address is found in the IP address pool, and the IP address is distributed to the management area, so that on one hand, the IP address can be effectively and automatically distributed to cause address conflict, and on the other hand, the management area can be directly managed through the IP address, and further, the terminal equipment in the management area is managed.
In summary, in the device management method in the above embodiment of the present invention, by determining whether the terminal device is a newly accessed device, when the terminal device belongs to the newly accessed device, a corresponding management area is created, and an IP address is allocated to the management area, so that a user can directly manage the terminal device in the management area through the IP address, without installing software, an idle IP address can be directly allocated, and the problem of IP address collision is avoided; the equipment is managed directly through the IP address, so that the flow steps can be effectively saved, and the working efficiency is improved; and the security of the management process can be effectively improved only through IP address access.
Example two
Referring to fig. 2, a device management method according to a second embodiment of the present invention is shown, and the method specifically includes steps S201 to S204:
s201, when an access request of a terminal device is received, acquiring device information of the terminal device, wherein the device information at least comprises an MAC address and a device type;
in a specific implementation, when an access request of a terminal device is acquired, device information of the terminal device is acquired, wherein the device information comprises a MAC address and a device type.
It will be appreciated that the MAC address is also called a physical address, a hardware address, and an EPROM that is burned in the network card when produced by the network device manufacturer. The device types include devices that communicate and operate over a network, such as data acquisition types (e.g., webcams), data transmission types (e.g., audio encoders), data interaction types (e.g., play hosts), and the like.
S202, judging whether the terminal equipment belongs to newly accessed equipment according to the MAC address and the equipment type;
in the implementation, whether the terminal equipment is accessed for the first time is judged according to the acquired MAC address and the equipment type. And performing corresponding operation according to the judgment result.
S203, if the terminal equipment belongs to newly accessed equipment, creating a corresponding management area according to the equipment type, and dividing the terminal equipment into the management area;
in the implementation, if the terminal device belongs to a newly accessed device, it means that the terminal device has not been accessed before, so that a management area needs to be created separately for the device type of the terminal device, and when the terminal devices of the same device type appear later, the terminal devices of the same device type can be directly divided into the management areas to realize device management.
S204, calling an idle IP address in the IP address pool to be distributed to the management area, and adding a data interface in the management area;
in the specific implementation, the idle IP address is found in the IP address pool, and the IP address is distributed to the management area, so that on one hand, the IP address can be effectively and automatically distributed to cause address conflict, and on the other hand, the management area can be directly managed through the IP address, and further, the terminal equipment in the management area is managed.
In this embodiment, in order to more conveniently manage the terminal devices in the management area, a data interface is added in the management area, and each terminal device in the management area corresponds to one data interface, so as to perform management on the corresponding terminal device through the data interface.
S205, distributing the data interface to the terminal equipment through the MAC address, analyzing identification information and authentication information of a management file input by a user when the management file is acquired, and issuing the identification information and the authentication information to the management area through the IP address;
it should be noted that, in this embodiment, the data interface is allocated in a manner of a MAC address, where the MAC address is a unique physical address of the terminal device, so no collision occurs; by way of example and not limitation, in other alternative embodiments, the data interfaces may be allocated in a manner that only one data interface is allocated to each terminal device in the management area on the premise of avoiding collision.
In specific implementation, a user needs to manage the terminal device, and needs to provide a corresponding management file, when the management file is acquired, the identification information and the authentication information of the management file are analyzed, and the identification information and the authentication information are issued to a management area corresponding to the terminal device through the IP address.
It can be appreciated that the present embodiment decides whether the management file can be used on the corresponding device terminal through the identification information and the authentication information.
S206, judging whether the identification information is consistent with the identification information of the management area;
s207, if the identification information is consistent with the identification information of the management area, issuing the authentication information to the terminal equipment through the data interface for authentication;
in a specific implementation, if the identification information is consistent with the identification information of the management area, it means that the terminal device to be managed by the management file is located in the management area, so that the authentication information is issued to the corresponding terminal device through a data interface.
It can be understood that the identification information includes the MAC address and the device type of the terminal device, and only the identification information in the management area is consistent with the identification information of the management file, which means that there is a terminal device that needs to be managed by the user in the management area.
It should be noted that in another alternative embodiment, the identification information may further include file type information, and the management area determines whether the management file is a correct non-toxic file or an important file according to the file type information, and determines whether to accept the management file or encrypt the management file according to the file type information, so that the security of the data can be effectively improved and the data leakage can be avoided.
S208, if the authentication information passes the authentication, the management file is issued to the terminal equipment through the IP address and the data interface, so that the terminal equipment updates according to the management file;
in a specific implementation, if the authentication information passes, that means that the management file is the management file of the terminal device, the management file is issued to the management area through the IP address, and issued to the terminal device through the data interface, so that the user manages or updates the terminal device through the management file.
S209, if the terminal equipment does not belong to newly accessed equipment, searching a management area corresponding to the equipment type in the created management area, and dividing the terminal equipment into the management area;
s210, acquiring an IP address of the management area so that a user manages the terminal equipment according to the IP address;
in the implementation, if the terminal device does not belong to the newly accessed device, that means that the terminal device has been accessed before or the terminal device of the same device type has been accessed, the management area corresponding to the terminal device is found, and the device management can be implemented by only dividing the terminal device into the corresponding management area and using the data interface and the IP address of the corresponding management area.
S211, acquiring the running state of the management area in real time, and when the running state is abnormal, sending an abnormal signal to a user terminal so that a user can execute corresponding operation according to the abnormal signal.
In the specific implementation, the running state of the management area is obtained in real time, and once abnormality occurs, the abnormal information is sent to prompt a user to perform maintenance, modification and other operations.
In summary, compared with the first embodiment, when the management file input by the user is obtained, the device management method in the above embodiment of the present invention performs two verifications with the management area and the terminal device, so as to avoid data transmission errors, improve the overall security performance, and when the state of the management area is abnormal, send an abnormal signal in time to remind the user to execute the corresponding operation.
Example III
In another aspect, referring to fig. 3, an apparatus management system according to a third embodiment of the present invention is shown, where the system includes:
an obtaining module 11, configured to obtain, when an access request of a terminal device is received, device information of the terminal device, where the device information includes at least a MAC address and a device type;
a judging module 12, configured to judge whether the terminal device belongs to a newly accessed device according to the MAC address and the device type;
a first creating module 13, configured to create a corresponding management area according to the device type if the terminal device belongs to a newly accessed device, and divide the terminal device into the management area;
the first allocation module 14 is configured to invoke allocation of an idle IP address to the management area in the IP address pool, so that a user manages the terminal device in the management area according to the IP address.
Further, in some alternative embodiments, the system further comprises:
the searching module is used for searching a management area corresponding to the equipment type in the created management area if the terminal equipment does not belong to the newly accessed equipment, and dividing the terminal equipment into the management area;
and the processing module is used for acquiring the IP address of the management area so that a user manages the terminal equipment according to the IP address.
The second creation module adds a data interface in the management area;
and the second allocation module allocates the data interface to the terminal equipment through the MAC address so that a user manages the terminal equipment through the IP address and the data interface.
Further, the second allocation module includes:
the analysis unit is used for analyzing the identification information and the authentication information of the management file when the management file input by the user is acquired, and issuing the identification information and the authentication information to the management area through the IP address;
a judging unit configured to judge whether the identification information is identical to the identification information of the management area;
the authentication unit is used for issuing the authentication information to the terminal equipment through the data interface for authentication if the identification information is consistent with the identification information of the management area;
and the processing unit is used for issuing the management file to the terminal equipment through the IP address and the data interface if the authentication information passes the authentication, so that the terminal equipment updates according to the management file.
And the alarm module is used for acquiring the running state of the management area in real time, and sending an abnormal signal to the user terminal when the running state is abnormal, so that the user can execute corresponding operation according to the abnormal signal.
The functions or operation steps implemented when the above modules and units are executed are substantially the same as those in the above method embodiments, and are not described herein again.
The device management system provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for brevity, reference may be made to the corresponding content in the foregoing method embodiment where the system embodiment is not mentioned.
Example IV
The present invention also proposes a computer device, referring to fig. 4, which shows a computer device according to a fourth embodiment of the present invention, including a memory 10, a processor 20, and a computer program 30 stored in the memory 10 and capable of running on the processor 20, where the processor 20 implements the device management method described above when executing the computer program 30.
The memory 10 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 20 may in some embodiments be an internal storage unit of a computer device, such as a hard disk of the computer device. The memory 20 may also be an external storage device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), etc. Further, the memory 20 may also include both internal storage units and external storage devices of the computer apparatus. The memory 20 may be used not only for storing application software installed in a computer device and various types of data, but also for temporarily storing data that has been output or is to be output.
The processor 20 may be, in some embodiments, an electronic control unit (Electronic Control Unit, ECU), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chip, for executing program codes or processing data stored in the memory 10, such as executing an access restriction program, or the like.
It should be noted that the structure shown in fig. 4 does not constitute a limitation of the computer device, and in other embodiments, the computer device may include fewer or more components than shown, or may combine certain components, or may have a different arrangement of components.
The embodiment of the present invention also proposes a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the device management method as described above.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.
Claims (7)
1. A device management method, comprising:
when an access request of terminal equipment is received, acquiring equipment information of the terminal equipment, wherein the equipment information at least comprises an MAC address and an equipment type;
judging whether the terminal equipment belongs to newly accessed equipment or not according to the MAC address and the equipment type;
if the terminal equipment belongs to newly accessed equipment, creating a corresponding management area according to the equipment type, and dividing the terminal equipment into the management area;
calling an idle IP address in an IP address pool to be distributed to the management area so that a user manages the terminal equipment in the management area according to the IP address;
after the step of calling a free IP address in the IP address pool to be allocated to the management area, the method further includes:
adding a data interface in the management area;
the data interface is distributed to the terminal equipment through the MAC address, so that a user manages the terminal equipment through the IP address and the data interface, wherein the step of managing the terminal equipment through the IP address and the data interface comprises the following steps of:
when a management file input by a user is acquired, analyzing identification information and authentication information of the management file, and issuing the identification information and the authentication information to the management area through the IP address;
judging whether the identification information is consistent with the identification information of the management area;
if the identification information is consistent with the identification information of the management area, issuing the authentication information to the terminal equipment through the data interface for authentication;
and if the authentication information passes the authentication, the management file is issued to the terminal equipment through the IP address and the data interface, so that the terminal equipment updates according to the management file.
2. The device management method according to claim 1, wherein after the step of judging whether the terminal device belongs to a newly accessed device based on the MAC address and the device type, the method further comprises:
if the terminal equipment does not belong to the newly accessed equipment, searching a management area corresponding to the equipment type in the created management area, and dividing the terminal equipment into the management area;
and acquiring the IP address of the management area so that the user manages the terminal equipment according to the IP address.
3. The device management method according to claim 1, characterized in that the method further comprises:
and acquiring the running state of the management area in real time, and when the running state is abnormal, sending an abnormal signal to the user terminal so that the user can execute corresponding operation according to the abnormal signal.
4. A device management system, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring device information of terminal equipment when an access request of the terminal equipment is received, and the device information at least comprises an MAC address and a device type;
the judging module is used for judging whether the terminal equipment belongs to newly accessed equipment according to the MAC address and the equipment type;
the first creation module is used for creating a corresponding management area according to the equipment type if the terminal equipment belongs to newly accessed equipment, and dividing the terminal equipment into the management area;
the first allocation module is used for calling an idle IP address in the IP address pool to allocate the idle IP address to the management area so that a user manages the terminal equipment in the management area according to the IP address;
the system further comprises:
the second creation module adds a data interface in the management area;
the second allocation module allocates the data interface to the terminal equipment through the MAC address so that a user manages the terminal equipment through the IP address and the data interface;
wherein the second distribution module comprises:
the analysis unit is used for analyzing the identification information and the authentication information of the management file when the management file input by the user is acquired, and issuing the identification information and the authentication information to the management area through the IP address;
a judging unit configured to judge whether the identification information is identical to the identification information of the management area;
the authentication unit is used for issuing the authentication information to the terminal equipment through the data interface for authentication if the identification information is consistent with the identification information of the management area;
the processing unit is used for issuing the management file to the terminal equipment through the IP address and the data interface if the authentication information passes the authentication, so that the terminal equipment updates according to the management file;
and the alarm module is used for acquiring the running state of the management area in real time, and sending an abnormal signal to the user terminal when the running state is abnormal, so that the user can execute corresponding operation according to the abnormal signal.
5. The device management system of claim 4, wherein the system further comprises:
the searching module is used for searching a management area corresponding to the equipment type in the created management area if the terminal equipment does not belong to the newly accessed equipment, and dividing the terminal equipment into the management area;
and the processing module is used for acquiring the IP address of the management area so that a user manages the terminal equipment according to the IP address.
6. A readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the device management method according to any one of claims 1 to 3.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the device management method according to any of claims 1-3 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111527725.2A CN114363293B (en) | 2021-12-14 | 2021-12-14 | Device management method, system, readable storage medium and computer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111527725.2A CN114363293B (en) | 2021-12-14 | 2021-12-14 | Device management method, system, readable storage medium and computer device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114363293A CN114363293A (en) | 2022-04-15 |
CN114363293B true CN114363293B (en) | 2024-04-12 |
Family
ID=81098599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111527725.2A Active CN114363293B (en) | 2021-12-14 | 2021-12-14 | Device management method, system, readable storage medium and computer device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114363293B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115297091B (en) * | 2022-08-03 | 2024-03-12 | 国核自仪***工程有限公司 | IP address management method and IP address management system |
CN115484227B (en) * | 2022-08-31 | 2024-03-08 | 湖南锐思华创科技有限公司 | HUD automatic adaptation method, HUD automatic adaptation system, HUD automatic adaptation device and vehicle |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259215A (en) * | 2017-09-26 | 2018-07-06 | 新华三技术有限公司 | A kind of device management method and device |
CN110830333A (en) * | 2018-08-09 | 2020-02-21 | 中兴通讯股份有限公司 | Intelligent household equipment access authentication method, device, gateway and storage medium |
CN112769965A (en) * | 2019-10-21 | 2021-05-07 | 中盈优创资讯科技有限公司 | IP address management and distribution method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100389575C (en) * | 2005-07-13 | 2008-05-21 | 华为技术有限公司 | Method for realizing access-in management of on-line apparatus |
-
2021
- 2021-12-14 CN CN202111527725.2A patent/CN114363293B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259215A (en) * | 2017-09-26 | 2018-07-06 | 新华三技术有限公司 | A kind of device management method and device |
CN110830333A (en) * | 2018-08-09 | 2020-02-21 | 中兴通讯股份有限公司 | Intelligent household equipment access authentication method, device, gateway and storage medium |
CN112769965A (en) * | 2019-10-21 | 2021-05-07 | 中盈优创资讯科技有限公司 | IP address management and distribution method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN114363293A (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114363293B (en) | Device management method, system, readable storage medium and computer device | |
CN109600441B (en) | Alliance link information publishing control method and terminal equipment | |
CN102982141B (en) | A kind of method and device realizing distributed data base agency | |
CN108462760A (en) | Electronic device, cluster access domain name automatic generation method and storage medium | |
CN110601880A (en) | Cloud platform, service processing method, command interface and computer equipment | |
CN103077345B (en) | Based on software authorization method and the system of virtual machine | |
CN113467895B (en) | Docker operation method, docker operation device, server and storage medium | |
CN108234687B (en) | Intelligent IP address configuration method and device and terminal equipment | |
US20080010246A1 (en) | System and method for providing operating system component version verification | |
CN112017330B (en) | Intelligent lock parameter configuration method and device, intelligent lock and storage medium | |
CN109905407B (en) | Management method, system, equipment and medium for accessing intranet based on VPN server | |
CN110535724B (en) | Application program network read-write limiting method and device, electronic equipment and storage medium | |
CN111221317B (en) | Automobile diagnosis data processing method and system | |
CN109040089B (en) | Network policy auditing method, equipment and computer readable storage medium | |
CN114003220B (en) | Workflow model implementation method, system, readable storage medium and computer equipment | |
CN114095272B (en) | Intranet data linking method and device based on internal and external network security architecture | |
CN110489713A (en) | For the method and system for controller zone network controller the configurating filtered device object | |
CN111988446B (en) | Message processing method and device, electronic equipment and storage medium | |
CN110677378B (en) | Control method of MAC address, intelligent terminal and storage medium | |
CN114706526A (en) | Automatic capacity expansion method, system and equipment for cloud native storage data volume | |
CN114490010A (en) | Resource operation control method, electronic device, chip and readable storage medium | |
CN110784551A (en) | Data processing method, device, equipment and medium based on multiple tenants | |
CN112671561B (en) | Network card configuration method and equipment of cloud host | |
CN115208671B (en) | Firewall configuration method, device, electronic equipment and storage medium | |
CN115038089B (en) | Multi-terminal data monitoring and collecting method based on information extraction |
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 |