Terminal device management method, device, storage medium and program product
By collecting and analyzing network traffic, matching the physical address of the terminal device, and obtaining its usage time information, it solves the complexity and idle problems of terminal device management, realizes efficient monitoring and management of the equipment, and improves usage rate.
Patent Information
- Application Number
- CN202210737226.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-27
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-06-27
AI Technical Summary
The prior art requires installation and deployment management software and modification of configurations in terminal device management, which leads to cumbersome adaptation of various operating systems, inability to continuously monitor the usage status of the equipment, and the deployment steps are complicated, resulting in the problems of idle equipment and tight resources.
By collecting network traffic received by the switch, obtaining the source physical address and the set of terminal devices, determining whether the device falls within the management scope, obtaining the last use time information, filtering idle devices, and outputting relevant information, avoiding installing management software or modifying configurations in the device .
It improves the utilization rate of terminal equipment, simplifies monitoring and management processes, reduces management complexity, avoids idle equipment, and meets the requirements of internal and external network isolation of enterprises.
Smart Images

Figure CN115118771B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information security technology, and in particular to a terminal device management method, device, storage medium and program product. Background Art
[0002] A large number of terminal devices for testing are usually configured within the enterprise to facilitate developers or testers to test applications or systems. Developers or testers can borrow terminal devices from equipment managers and return them after use. However, in general, developers or testers will not use the borrowed devices for testing all the time, or they may apply for long-term borrowing of terminal devices for convenience. Therefore, the terminal devices may be idle, resulting in a shortage of terminal device resources for testing.
[0003] In the related art, relevant management software is installed and deployed in the terminal device used for testing or the device configuration is modified to monitor the usage status of the terminal device to determine whether each terminal device is idle during the loan period, thereby facilitating the monitoring and management of the terminal device.
[0004] However, the relevant management software installed and deployed in the terminal devices needs to adapt to various versions of operating systems, and it is impossible to continuously monitor the usage status of the terminal devices. For some terminal devices, the device configuration needs to be modified, and the deployment steps are cumbersome. Summary of the invention
[0005] The present application provides a terminal device management method, device, storage medium and program product to more conveniently monitor and manage the use of terminal devices.
[0006] In a first aspect, the present application provides a terminal device management method, comprising:
[0007] Collecting network traffic received by the switch and obtaining the source physical address of the network traffic;
[0008] Matching the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set, and determining whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set;
[0009] If the target terminal device belongs to the terminal device set, obtaining the last usage time information of the target terminal device according to the network traffic and storing it;
[0010] According to the last use time information of all the terminal devices in the terminal device set, idle terminal devices are screened, and relevant information of the idle terminal devices is output.
[0011] In a second aspect, the present application provides a terminal device management device, including:
[0012] A traffic receiving module is used to collect network traffic received by the switch;
[0013] a traffic analysis module, configured to obtain a source physical address of the network traffic; match the source physical address of the network traffic with a set of physical addresses corresponding to each terminal device in a terminal device set, and determine whether a target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; if the target terminal device belongs to the terminal device set, obtain the last use time information of the target terminal device according to the network traffic, and store the information;
[0014] The monitoring management module is used to screen idle terminal devices according to the last use time information of all terminal devices in the terminal device set, and output relevant information of the idle terminal devices.
[0015] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0016] The memory stores computer-executable instructions;
[0017] The processor executes the computer-executable instructions stored in the memory to implement the method according to the first aspect.
[0018] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0019] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.
[0020] The terminal device management method, device, storage medium and program product provided by the present application collect the network traffic received by the switch and obtain the source physical address of the network traffic; match the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set, and determine whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; if the target terminal device belongs to the terminal device set, the last use time information of the target terminal device is obtained according to the network traffic and stored; according to the last use time information of all terminal devices in the terminal device set, the idle terminal devices are screened and the relevant information of the idle terminal devices is output. By analyzing the network traffic received by the switch and determining the last use time information of all terminal devices in the managed terminal device set, the management personnel can grasp the use of each managed terminal device and improve the utilization rate of the terminal device. There is no need to install and deploy relevant management software or modify the device configuration in various managed terminal devices, which greatly facilitates the monitoring and management of the terminal devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0022] Figure 1 A schematic diagram of a terminal device management method scenario provided in an embodiment of the present application;
[0023] Figure 2 A flowchart of a terminal device management method provided in one embodiment of the present application;
[0024] Figure 3 A schematic diagram of a terminal device management method scenario provided by another embodiment of the present application;
[0025] Figure 4 for Figure 3 Schematic diagram of the system architecture of the traffic analysis server and the monitoring management server;
[0026] Figure 5 A structural diagram of a terminal device management device provided in an embodiment of the present application;
[0027] Figure 6 A structural diagram of an electronic device provided in one embodiment of the present application.
[0028] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0029] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0030] In order to monitor the usage status of the tested terminal devices, in related technologies, relevant management software is installed and deployed in the terminal devices used for testing or the device configuration is modified. The industry generally uses MDM (Mobile Device Management) technology to monitor and manage terminal devices to determine whether each terminal device is idle during the loan period, which facilitates the monitoring and management of the terminal devices.
[0031] Among them, MDM is a technology for managing mobile devices, which can remotely lock, locate, collect information, push applications, remotely wipe devices, etc. Both Android and iOS systems have its implementation, but the specific methods and functions are different.
[0032] However, the relevant management software installed and deployed in the terminal devices needs to adapt to various versions of operating systems, and it is impossible to continuously monitor the usage status of the terminal devices. For some terminal devices, the device configuration needs to be modified, and the deployment steps are cumbersome.
[0033] Specifically, for Android devices (Android phones, tablets, etc.), MDM technology requires the separate development and installation of dedicated software (APP). The APP needs to be compatible with multiple versions of the Android operating system, and the APP cannot reside in the background of the Android system for a long time, resulting in management failure and other problems. For iOS devices (iOS phones, tablets, etc.), they need to be set to supervised mode (Supervised mode, the supervised mode of iOS devices has many more management permissions and functions than the non-supervised mode, and is generally used in enterprise scenarios) and install the MDM certificate. The deployment steps are cumbersome, and there are problems such as the need for mobile terminal devices and management servers to connect to the Internet, which does not meet the requirements of some enterprises for internal and external network isolation.
[0034] In order to solve the above technical problems, the embodiment of the present application provides a terminal device management method, which is expected to monitor and manage the use of terminal devices more conveniently without installing and deploying relevant management software or modifying device configurations in various types of managed terminal devices. Considering that when a terminal device needs to access a test server, it generally accesses the network through a wireless hotspot and finally accesses the corresponding test server through a switch, the network traffic of the terminal device accessing the test server can be collected from the switch, and the source physical address of the network traffic can be obtained; the source physical address of the network traffic is matched with the physical address set corresponding to each terminal device in the terminal device set, and it is determined whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; if the target terminal device belongs to the terminal device set, the last use time information of the target terminal device is obtained according to the network traffic and stored; according to the last use time information of all terminal devices in the terminal device set, idle terminal devices are screened, and relevant information of idle terminal devices is output. By analyzing the network traffic received by the switch and determining the last usage time information of all terminal devices in the managed terminal device set, management personnel can understand the usage of each managed terminal device and improve the utilization rate of terminal devices. There is no need to install and deploy related management software or modify device configurations in various managed terminal devices, which greatly facilitates the monitoring and management of terminal devices.
[0035] The specific application scenarios of this application are as follows Figure 1 As shown, it includes a terminal device 101, a wireless hotspot 102, a switch 103, a test server 104 and a server 105 for executing a terminal device management method; the terminal device 101 accesses the network through the wireless hotspot 102, and finally accesses the corresponding test server 104 through the switch 103; the server 105 is connected to the switch 103, collects the network traffic of the terminal device accessing the test server from the switch 103, and obtains the source physical address of the network traffic; matches the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set, and determines whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; if the target terminal device belongs to the terminal device set, obtains the last usage time information of the target terminal device according to the network traffic and stores it; according to the last usage time information of all terminal devices in the terminal device set, screens idle terminal devices, and outputs the relevant information of the idle terminal devices.
[0036] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0037] Figure 2 This is a flow chart of the terminal device management method provided in the embodiment of the present application. This embodiment provides a terminal device management method, the execution subject of which is an electronic device such as a server, and the specific steps of the terminal device management method are as follows:
[0038] S201. Collect network traffic received by a switch, and obtain a source physical address of the network traffic.
[0039] In this embodiment, when the terminal device needs to access the test server, it generally accesses the network through a wireless hotspot, and finally accesses the corresponding test server through the switch. Therefore, the network traffic of the terminal device accessing the test server can be collected from the switch. Specifically, the network traffic received by the switch can be copied from the switch mirror port, and then the source physical address of the network traffic can be analyzed. The source physical address can be the Mac address (Media Access ControlAddress) of the terminal device, so that it can be determined based on the Mac address of the terminal device whether the terminal device belongs to the set of terminal devices for testing purposes.
[0040] Optionally, the network traffic collected from the switch can be cached in a storage unit, and then any cached network traffic can be read from the storage unit, and the network traffic can be scanned and the source physical address of the network traffic can be analyzed, thereby realizing asynchronous processing. Optionally, the storage unit can be a high-speed cache, which is mainly responsible for temporarily storing network traffic.
[0041] S202: Match the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set, and determine whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set.
[0042] In this embodiment, the physical address corresponding to each terminal device in the terminal device set for testing is pre-entered to form a physical address set and stored. After the source physical address of the network traffic is obtained, the source physical address of the network traffic can be matched with the physical address set. If they can be matched, it can be determined that the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; otherwise, it is determined that the target terminal device corresponding to the source physical address of the network traffic does not belong to the terminal device set, which may be that the tester used other terminal devices outside the terminal device set, and no subsequent steps are required.
[0043] Specifically, it can be determined whether the source physical address of the network traffic can match the physical address of any terminal device in the physical address set. If it can match, it is determined that the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set. By matching the source physical address of the network traffic with the physical address of each terminal device in the physical address set one by one, when the source physical address of the network traffic is the same as the physical address of a terminal device in the physical address set, it means that the network traffic is generated by the terminal device, that is, it is determined that the target terminal device corresponding to the source physical address of the network traffic is the terminal device and belongs to the terminal device set, so that it can be accurately determined whether each terminal device in the terminal device set is used based on the network traffic.
[0044] S203: If the target terminal device belongs to the terminal device set, the last usage time information of the target terminal device is obtained according to the network traffic, and stored.
[0045] In this embodiment, if it is determined that the target terminal device belongs to a terminal device set, the timestamp information can be obtained from the network traffic, and the usage time information of the target terminal device can be determined based on the timestamp information; there may be multiple network flows for the same target terminal device, so the usage time information corresponding to each network flow can be recorded in turn, and the latest usage time information can be used as the last usage time information of the target terminal device and stored.
[0046] S204: Filter idle terminal devices according to the last usage time information of all terminal devices in the terminal device set, and output relevant information of the idle terminal devices.
[0047] In this embodiment, the last usage time information of all terminal devices in the terminal device set can be determined through the above process, and then each terminal device can be monitored and managed based on the last usage time information of all terminal devices in the terminal device set. Terminal devices that have been idle for a long time can be screened out, and relevant information of the idle terminal devices can be output to facilitate management personnel to deal with terminal devices that have been idle for a long time or related personnel.
[0048] Optionally, when screening idle terminal devices according to the last use time information of all terminal devices in the terminal device set, terminal devices whose last use time information exceeds a preset time threshold from the current time can be screened according to the last use time information of all terminal devices in the terminal device set, and determined as idle terminal devices. That is, for each terminal device, the time interval between the last use time information and the current time can be calculated and compared with the preset time threshold, for example, 14 days. When the time interval between the last use time information and the current time exceeds the preset time threshold, it means that the terminal device has no network traffic for a long time, that is, it is in an idle state for a long time. The preset time threshold can be used as a benchmark to effectively distinguish whether the terminal device is idle for a long time, so as to facilitate recycling and other processing methods.
[0049] Optionally, when outputting the relevant information of the idle terminal device, the relevant information of the idle terminal device can be displayed, for example, displayed in an interactive interface used for monitoring and management, and presented to management personnel, so that management personnel can more intuitively view the relevant information of the idle terminal device through the interactive interface, so that management personnel can deal with terminal devices or related personnel that have been idle for a long time, wherein the relevant information of the idle terminal device may include but is not limited to the mobile device model, serial number, physical address, last usage time information, and may also include user information, etc.; in addition, notification messages can be sent to the terminal devices of management personnel by sending emails, text messages, etc., and the relevant information of the idle terminal devices can be included in the notification messages to notify management personnel, so that management personnel can view the relevant information of the idle terminal devices in a timely manner.
[0050] The terminal device management method provided in this embodiment collects the network traffic received by the switch and obtains the source physical address of the network traffic; matches the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set, and determines whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; if the target terminal device belongs to the terminal device set, the last use time information of the target terminal device is obtained according to the network traffic and stored; according to the last use time information of all terminal devices in the terminal device set, the idle terminal devices are screened, and the relevant information of the idle terminal devices is output. By analyzing the network traffic received by the switch and determining the last use time information of all terminal devices in the managed terminal device set, the management personnel can grasp the use of each managed terminal device and improve the utilization rate of the terminal device. There is no need to install and deploy relevant management software or modify the device configuration in various managed terminal devices, which greatly facilitates the monitoring and management of the terminal devices.
[0051] On the basis of any of the above embodiments, after obtaining the last usage time information of the target terminal device according to the network traffic, the network traffic can also be cleared in the storage unit. In this embodiment, in order to reduce the cost of the storage unit, the storage space of the storage unit is limited. After the network traffic is analyzed, the network traffic can be cleared, which can be directly deleted, or the analyzed network traffic can be overwritten with the subsequent network traffic collected from the switch to ensure that the storage unit has enough storage space to store the subsequent collected network traffic. In addition, when it is determined that the target terminal device corresponding to the source physical address of the network traffic does not belong to the terminal device set, the network traffic can also be cleared in the storage unit.
[0052] Based on any of the above embodiments, the administrator can add terminal device information or delete terminal device information.
[0053] Specifically, when adding management device information, the server can receive the newly added terminal device information entered by the administrator through the interactive interface, the newly added terminal device information includes the physical address of the newly added terminal device, and add the physical address of the newly added terminal device to the physical address set as the basis for matching the source physical address of the network traffic. Of course, the newly added terminal device information may also include but is not limited to the mobile device model, serial number, user information, etc.
[0054] When deleting terminal device information, the server can receive a deletion instruction from the administrator for any terminal device through the interactive interface, and delete the physical address of the terminal device from the physical address set according to the deletion instruction. After deleting the physical address of the terminal device, the source physical address of subsequent network traffic will not match the physical address of the terminal device, and the terminal device will no longer be managed and monitored.
[0055] Based on the above embodiment, the processing flow of the terminal device management method can be executed by one server; of course, it can also be executed by multiple servers, for example Figure 3 As shown, in Figure 1 On this basis, the processing flow of the terminal device management method of the server 105 is executed through the cooperation between the traffic analysis server 301 and the monitoring management server 302.
[0056] Among them, the traffic analysis server is connected to the switch mirror port, and is mainly responsible for receiving the network traffic copied from the switch mirror port, analyzing the source physical address of the network traffic, and matching the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set; and sending the analysis results (including the last usage time information of the target terminal device belonging to the terminal device set) to the monitoring management server.
[0057] Specifically, Figure 4 As shown, the traffic analysis server may include a traffic receiving module, a traffic caching module, a traffic analysis module, and a management module, wherein the traffic receiving module is connected to the switch mirror port, and is mainly responsible for receiving the network traffic copied from the switch mirror port and forwarding it to the traffic caching module; the traffic caching module is mainly responsible for temporarily storing the network traffic; the traffic analysis module is mainly responsible for scanning the network traffic, analyzing the source physical address in the network traffic, and can obtain the physical address set corresponding to each terminal device in the terminal device set from the management module, match the source physical address of the network traffic with the physical address set, if the match is successful, record it, and then send the analysis result (including timestamp and physical address, etc.) information to the management module for further analysis and processing, and finally notify the traffic caching module to clear the network traffic cache corresponding to the analyzed data; the management module mainly manages various configuration information of each module, including the physical address set corresponding to each terminal device in the terminal device set, and can also include the cache space size of the traffic caching module, and saves the analysis results, and sends the analysis results to the monitoring and management server.
[0058] The monitoring and management server is connected to the traffic analysis server and is mainly responsible for managing the traffic analysis server. It can filter idle terminal devices according to the last usage time information of all terminal devices in the terminal device set, output relevant information of idle terminal devices, and provide users with an interactive interface for monitoring and management, display analysis results, etc.
[0059] Specifically, Figure 4 As shown, the monitoring and management server may include a user interaction module and a management and configuration module, wherein the user interaction module mainly provides users with an interactive interface for monitoring and management, which can be used to enter or delete the physical address corresponding to each terminal device in the terminal device set, enter various configurations, policies, rules, etc., and can also be used to display the last usage time information of all terminal devices, related information of idle terminal devices, etc.; the management and configuration module can call the interface of the traffic analysis server to actively pull the analysis results, provide the traffic analysis server with an analysis result upload interface, manage the terminal device ledger, the terminal device ledger includes the device model, serial number, physical address, last usage time information, etc., and can also update the terminal device ledger according to the last usage time information of all terminal devices in the terminal device set sent by the traffic analysis server, and filter idle terminal devices, and can also manage various functions of the traffic analysis server, issue various configurations and the physical address set corresponding to each terminal device in the terminal device set, etc., and can also send notification messages to the terminal devices of the administrator after determining the idle terminal devices.
[0060] Figure 5The terminal device management device provided in this embodiment can execute the processing flow provided in the terminal device management method embodiment, such as Figure 5 As shown, the terminal device management device 500 includes: a traffic receiving module 501, a traffic analysis module 502, and a monitoring management module 503.
[0061] The traffic receiving module 501 is used to collect the network traffic received by the switch;
[0062] The traffic analysis module 502 is used to obtain the source physical address of the network traffic; match the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set, and determine whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; if the target terminal device belongs to the terminal device set, obtain the last use time information of the target terminal device according to the network traffic, and store it;
[0063] The monitoring management module 503 is used to screen idle terminal devices according to the last usage time information of all terminal devices in the terminal device set, and output relevant information of the idle terminal devices.
[0064] In one or more embodiments of the present application, when determining whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set, the traffic analysis module 502 is used to:
[0065] Determine whether the source physical address of the network traffic can match the physical address of any terminal device in the physical address set; if so, determine that the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set.
[0066] In one or more embodiments of the present application, the traffic receiving module 501 is specifically used to copy the network traffic received by the switch from the switch mirror port and cache it to the storage unit;
[0067] The traffic analysis module 502 is specifically used to read any cached network traffic from the storage unit, scan the network traffic, and analyze the source physical address of the network traffic.
[0068] In one or more embodiments of the present application, when screening idle terminal devices according to the last usage time information of all terminal devices in the terminal device set, the monitoring management module 503 is used to:
[0069] According to the last usage time information of all the terminal devices in the terminal device set, the terminal devices whose last usage time information is more than a preset time threshold from the current time are screened and determined as idle terminal devices.
[0070] In one or more embodiments of the present application, when outputting the relevant information of the idle terminal device, the monitoring management module 503 is used to:
[0071] Displaying relevant information of the idle terminal device; and / or
[0072] A notification message is sent to a terminal device of a manager, wherein the notification message includes relevant information of the idle terminal device.
[0073] In one or more embodiments of the present application, after the traffic analysis module 502 obtains the last usage time information of the target terminal device according to the network traffic, the network traffic is cleared from the storage unit.
[0074] In one or more embodiments of the present application, the device further includes an input module, configured to:
[0075] receiving new terminal device information entered by a manager through an interactive interface, the new terminal device information including a physical address of the new terminal device, and adding the physical address of the new terminal device to the physical address set; or
[0076] A deletion instruction for any terminal device is received from an administrator through an interactive interface, and a physical address of the terminal device is deleted from the physical address set according to the deletion instruction.
[0077] The terminal device management device of the embodiment of the present application can be used to execute the technical solution of the above-mentioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0078] Figure 6 FIG. 1 shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 600 is used to implement the operation corresponding to the electronic device in any of the above method embodiments. The electronic device 600 of this embodiment may include: a memory 601, a processor 602 and a communication interface 603.
[0079] The memory 601 is used to store computer programs. The memory 601 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk.
[0080] The processor 602 is used to execute the computer program stored in the memory to implement the method in the above embodiment. For details, please refer to the relevant description in the above method embodiment. The processor 602 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0081] Optionally, the memory 601 can be independent or integrated with the processor 602. When the memory 601 is a device independent of the processor 602, the electronic device 600 may further include a bus. The bus is used to connect the memory 601 and the processor 602. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0082] The communication interface 603 is used to receive or send requests and / or data.
[0083] The electronic device provided in this embodiment can be used to execute the method in the above embodiments. Its implementation method and technical effect are similar, and this embodiment will not be described in detail here.
[0084] In addition, this embodiment further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the method described in the above embodiment.
[0085] In addition, this embodiment further provides a computer program product, including a computer program, and the computer program is executed by a processor to implement the method described in the above embodiment.
[0086] In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0087] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0088] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0089] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0090] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0091] The above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, rather than to limit them. Although the embodiments of the present application are described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0092] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0093] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A terminal device management method, characterized in that: include: Copying the network traffic received by the switch from the switch mirror port and caching it in the storage unit; Reading any cached network traffic from the storage unit, scanning the network traffic, and analyzing the source physical address of the network traffic; Matching the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set, and determining whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; If the target terminal device belongs to the terminal device set, obtaining the last usage time information of the target terminal device according to the network traffic and storing it; Filtering idle terminal devices according to the last use time information of all terminal devices in the terminal device set, and outputting relevant information of the idle terminal devices; After obtaining the last usage time information of the target terminal device according to the network traffic, the method further includes: The network traffic is cleared in the storage unit.
2. The method according to claim 1, characterized in that The determining whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set includes: Determine whether the source physical address of the network traffic can match the physical address of any terminal device in the physical address set; if so, determine that the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set.
3. The method according to claim 1, characterized in that The step of screening idle terminal devices according to the last use time information of all terminal devices in the terminal device set includes: According to the last usage time information of all the terminal devices in the terminal device set, the terminal devices whose last usage time information is more than a preset time threshold from the current time are screened and determined as idle terminal devices.
4. The method according to any one of claims 1 to 3, characterized in that: The outputting the relevant information of the idle terminal device includes: Displaying relevant information of the idle terminal device; and / or A notification message is sent to a terminal device of a manager, wherein the notification message includes relevant information of the idle terminal device.
5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: receiving new terminal device information entered by a manager through an interactive interface, the new terminal device information including a physical address of the new terminal device, and adding the physical address of the new terminal device to the physical address set; or A deletion instruction for any terminal device is received from an administrator through an interactive interface, and a physical address of the terminal device is deleted from the physical address set according to the deletion instruction.
6. A terminal device management device, characterized in that: include: A traffic receiving module is used to collect network traffic received by the switch; A traffic analysis module, used to obtain the source physical address of the network traffic; Matching the source physical address of the network traffic with the physical address set corresponding to each terminal device in the terminal device set, and determining whether the target terminal device corresponding to the source physical address of the network traffic belongs to the terminal device set; If the target terminal device belongs to the terminal device set, obtaining the last usage time information of the target terminal device according to the network traffic and storing it; A monitoring management module, used for screening idle terminal devices according to the last use time information of all terminal devices in the terminal device set, and outputting relevant information of the idle terminal devices; The traffic receiving module is specifically used to copy the network traffic received by the switch from the switch mirror port and cache it in the storage unit; The traffic analysis module is specifically used to read any cached network traffic from the storage unit, scan the network traffic, and analyze the source physical address of the network traffic; The traffic analysis module is further used to clear the network traffic in the storage unit after obtaining the last usage time information of the target terminal device according to the network traffic.
7. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.
9. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Asset activeness level determination method and device and server
CN110866831A
Asset visualization and safe operation management system
CN111784209A
Equipment state monitoring method and device, equipment and storage medium
CN111858227A
Asset information updating method and device, equipment and medium
CN112261175A
Equipment monitoring method, device and system and computer readable storage medium
CN112333058A
