CN114637669A - Device management method, device and storage medium - Google Patents

Device management method, device and storage medium Download PDF

Info

Publication number
CN114637669A
CN114637669A CN202210233097.5A CN202210233097A CN114637669A CN 114637669 A CN114637669 A CN 114637669A CN 202210233097 A CN202210233097 A CN 202210233097A CN 114637669 A CN114637669 A CN 114637669A
Authority
CN
China
Prior art keywords
target
equipment
control
area
responding
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.)
Pending
Application number
CN202210233097.5A
Other languages
Chinese (zh)
Inventor
马中征
王洪虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Loongson Technology Corp Ltd
Original Assignee
Loongson Technology Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Loongson Technology Corp Ltd filed Critical Loongson Technology Corp Ltd
Priority to CN202210233097.5A priority Critical patent/CN114637669A/en
Publication of CN114637669A publication Critical patent/CN114637669A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3652Software debugging using additional hardware in-circuit-emulation [ICE] arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application provides a device management method, a device and a storage medium, which are applied to a device provided with a device management platform. The method comprises the following steps: displaying an equipment management platform interface, wherein the equipment management platform interface comprises a first area used for determining target equipment and a second area containing a function control; determining at least one target device in response to a first operation facing the first area; receiving a second operation facing the target function control in the second area; and responding to the second operation, and the remote control target equipment executes the operation corresponding to the target function control. Therefore, remote management of the equipment is realized, especially when the number of the equipment is large, remote management of the batch of the equipment is realized, convenience in remote management of the equipment is improved, and better experience is provided for users.

Description

Device management method, device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for device management.
Background
Debugging is a necessary procedure to ensure that the provided device is functioning properly. One specific implementation of debugging is to perform device debugging through an emulator. The requirement of the emulator debugging mode on hardware is a one-to-one mode, namely one emulator corresponds to one target device.
At present, when debugging equipment through an emulator, a debugging person needs to find target equipment, manually start the target equipment for debugging, and manually close the target equipment after debugging is finished. Thus, when the number of target devices is large, it is inconvenient to perform management such as turning on and off or debugging on the target devices.
Disclosure of Invention
The application provides a device management method, a device, equipment and a storage medium, which are used for solving the problem of insufficient convenience in remote management of the equipment.
In a first aspect, the present application provides an apparatus management method, which is applied to an apparatus equipped with an apparatus management platform, and the apparatus management method includes:
displaying an equipment management platform interface, wherein the equipment management platform interface comprises a first area used for determining target equipment and a second area containing a function control;
determining at least one target device in response to a first operation facing the first area;
receiving a second operation facing the target function control in the second area;
and responding to the second operation, and remotely controlling the target equipment to execute the operation corresponding to the target function control.
In one possible implementation, the first area is used for displaying a device identifier, and the determining at least one target device in response to a first operation facing the first area includes:
and responding to the equipment selection operation facing the first area, and determining that the equipment corresponding to at least one equipment identifier selected by the equipment selection operation is the target equipment.
In one possible implementation, the first area is used for inputting device identification, and the determining at least one target device in response to a first operation facing the first area includes:
and responding to the equipment input operation facing the first area, and determining that the equipment corresponding to at least one equipment identification of the equipment input operation input is the target equipment.
In one possible implementation manner, the function control includes a first control used for indicating that device selection is completed, the target function control is the first control, and in response to the second operation, remotely controlling the target device to execute an operation corresponding to the target function control includes:
responding to the second operation, and displaying an operation page, wherein the operation page comprises a plurality of second controls, and the second controls comprise a starting control and a shutdown control;
responding to the click operation facing to the target second control in the plurality of second controls, and remotely controlling the target equipment to execute the operation corresponding to the target second control.
In a possible implementation manner, the target second control is a boot control, and the remotely controlling the target device to execute an operation corresponding to the target second control in response to a click operation facing the target second control in the plurality of second controls includes:
responding to the click operation facing the starting control, and determining the state of the target equipment;
and if the state of the target equipment is in an online state, remotely controlling the target equipment to restart.
In one possible implementation, the second control further includes a state viewing control, further including:
and responding to the click operation facing the state viewing control, and displaying the state of the target equipment, wherein the state comprises an online state and/or an offline state.
In one possible implementation manner, the remotely controlling the target device to execute the operation corresponding to the target function control in response to the second operation includes:
responding to the second operation, displaying a remote connection page, wherein the remote connection page is used for inputting user account information and a user password;
and responding to the user account information and the user password input by the user, and remotely logging in the target equipment.
In one possible implementation, the method further includes:
debugging the target device after remotely logging in the target device.
In one possible implementation, the debugging the target device includes:
and responding to the selected operation of the corresponding application program, and starting the JTAG debugging or the EJTAG debugging of the target equipment through the application program corresponding to the selected operation.
In a second aspect, the present application provides an apparatus management device, which is applied to an apparatus installed with an apparatus management platform, and the apparatus management device includes:
the device management platform interface comprises a first area used for determining target devices and a second area containing function controls;
a determination module for determining at least one target device in response to a first operation facing the first area;
the receiving module is used for receiving a second operation facing the target function control in the second area;
and the control module is used for responding to the second operation and remotely controlling the target equipment to execute the operation corresponding to the target function control.
In a third aspect, the present application provides an electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
execution of the computer-executable instructions stored by the memory by the at least one processor causes the at least one processor to perform the device management method of the first aspect described above.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for implementing the device management method according to the first aspect when the computer-executable instructions are executed by a processor.
In a fifth aspect, the present application provides a computer program product, which when executed by a processor implements the device management method as described in the first aspect above.
The device management method, the device management apparatus and the storage medium display a device management platform interface on a device on which a device management platform is installed, wherein the device management platform interface includes a first region for determining a target device and a second region including a function control, determine at least one target device in response to an operation facing the first region, and remotely control the target device to execute an operation corresponding to the target function control in response to a second operation facing the target function control in the second region.
Therefore, through the equipment management platform, remote management of the equipment is achieved, especially under the condition that the quantity of the equipment is large, remote management of batch equipment is achieved, manual searching and operation of the equipment on the spot are not needed, convenience of remote management of the equipment is improved, and user experience is improved.
Drawings
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 application.
Fig. 1 is an application scenario diagram provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a device management method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a device management method according to another embodiment of the present application;
fig. 4 is a schematic flowchart of a device management method according to another embodiment of the present application;
fig. 5 is a schematic flowchart of a device management method according to another embodiment of the present application;
fig. 6 is a schematic flowchart of a device management method according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus management device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The requirement of the emulator debugging mode on hardware is a one-to-one mode. In the related art, in simulator debugging, a debugging person can only perform manual operation on one machine at the side independently, and when the number of machines is large, the convenience of the method is low, and high labor cost needs to be consumed.
The simulator may also be referred to as a debugger, and is used to debug the device.
Taking Joint Test Action Group (JTAG) debugging as an example, a JTAG emulator (a device that performs debugging through a JTAG boundary scan port of an ARM chip) is also called a JTAG debugger; taking an Enhanced Joint Test Action Group (EJTAG) as an example, the EJTAG emulator is also called an EJTAG debugger.
In order to solve the above problems, the present application provides a device management method, apparatus, device, and storage medium. In the application, a device management platform interface is displayed, the device management platform interface includes a first area used for determining a target device and a second area containing a function control, at least one device is determined in response to a first operation facing the first area, and the target device is remotely controlled to execute an operation corresponding to the target function control in response to a second operation corresponding to the target function control facing the second area. Therefore, based on the application, a debugging person can select at least one device to be debugged on the device management platform interface and remotely control the at least one device to be debugged without finding the device to be debugged at the device location. Therefore, the method and the device effectively improve the convenience of equipment management.
The device management method provided by the application can be applied to the application scenario shown in fig. 1. As shown in fig. 1, the application scenario involves a management device 101 and a plurality of remote devices 102 (fig. 1 takes one remote device as an example). The user may install a device management platform on the management device 101, and manage the plurality of remote devices 102 through the device management platform.
Optionally, a one-to-one emulator (not shown in fig. 1) is connected to each of the plurality of remote devices 102. Where the emulator is used for debugging of the remote device 102. The user may remotely control the remote device 102 on the management device 101 for debugging with the emulator.
The management device 101 and the remote device 102 may be terminals or servers. In fig. 1, a management apparatus 101 is taken as a terminal, and a remote apparatus 102 is taken as a server.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
For example, the execution subject of each method embodiment in the present application is a device installed with a device management platform, and the device may be a terminal or a server with a display screen.
Among them, the terminal may be a Personal Digital Assistant (PDA) device, a handheld device (e.g., a smart phone or a tablet), a computing device (e.g., a Personal Computer (PC)), an in-vehicle device, a wearable device (e.g., a smart watch or a smart band), a smart home device (e.g., a smart display device), and the like.
Referring to fig. 2, fig. 2 is a schematic flowchart of a device management method according to an embodiment of the present application.
As shown in fig. 2, the device management method includes:
s201, displaying an equipment management platform interface, wherein the equipment management platform interface comprises a first area used for determining target equipment and a second area containing a function control.
The device management platform is an application installed on the current device, and the device management platform interface is one of application pages of the device management platform, for example, the application interface of the device management platform may further include a user login interface and a user personal center interface.
The target device is a device to be remotely managed.
The function control is a user interaction control corresponding to at least one operation (equipment management operation). The user can perform at least one device management operation on the target device by interacting with the function control.
One or more function controls in the second area may be provided, and different function controls may correspond to different operations (device management operations).
In this embodiment, after the device management platform is started, the device management platform interface may be displayed on the display screen of the current device. The device management platform interface comprises at least two interface areas: the first area is used for determining the target equipment and providing an interaction area for determining the target equipment for a user, and the second area is displayed with a function control and provides an interaction area for managing the target equipment for the user. Therefore, the interface areas for equipment determination and equipment management are reasonably distinguished, so that the management of at least one equipment is conveniently realized, and better interactive experience is provided for users.
In a possible implementation manner, in the device management platform interface, the position relationship between the first area and the second area is an up-down relationship or a left-right relationship.
In yet another possible implementation manner, in the device management platform interface, the first area is located in the middle of the device management platform interface, and the second area is located on at least two sides (e.g., upper and lower sides) of the first area.
In one possible implementation, the device management platform interface may be displayed in response to a program start request directed to the device management platform when the device management platform interface is displayed.
In yet another possible implementation, the device management platform interface may be displayed in response to an access request facing the device management platform interface when the device management platform interface is displayed.
In yet another possible implementation, the device management platform interface may be displayed in response to a message that the user successfully logged into the device management platform while the device management platform interface is displayed.
S202, in response to a first operation facing the first area, at least one target device is determined.
The first operation belongs to the interactive operation of a user in the first area and is used for determining the target equipment.
In this embodiment, before the device is remotely managed, at least one target device needs to be determined. Therefore, a first operation facing the first area may be received, from which at least one device identifier is obtained, and a device corresponding to the at least one device identifier is determined as the target device.
And S203, receiving a second operation facing the target function control in the second area.
The second operation belongs to the interactive operation of the user on the target function control in the second area, and is used for triggering the equipment management instruction corresponding to the target function control and further triggering the current equipment to execute the instruction.
Wherein, the target function control is one or more.
The second operation is, for example, a single-click operation, a double-click operation, a long-press operation, an enter operation, or the like.
In this embodiment, after determining the target device, if the user wants to perform the target management operation on the target device, the user may determine the target function control corresponding to the target management operation in the second area, and perform the second operation on the target function control. Accordingly, after determining the target device, a second operation of the target functionality control in the second region by the user may be received.
In a possible implementation manner, if the first operation facing the first area is not received before the second operation facing the target function control in the second area is received, it may be determined that the target device is the preset default device, or it may be determined that the target device is the last device remotely controlled by the current device, so that the user may avoid re-determining the target device every time by setting the default device or by keeping the device identifier of the last device remotely controlled, and provide a better experience for the user.
And S204, responding to the second operation, and executing the operation corresponding to the target function control by the remote control target equipment.
In this embodiment, the current device may attempt to establish a communication connection with the target device after determining the at least one target device or after receiving the second operation. And if the current equipment and the target equipment successfully establish communication connection, responding to the second operation, and remotely controlling the target equipment to execute the operation corresponding to the target function control, thereby realizing remote control on at least one piece of equipment.
In the embodiment of the application, an equipment management platform interface is displayed, at least one target equipment is determined in response to a first operation facing a first area in the interface, and a second operation facing a target function control in a second area in the interface is responded, the target equipment is remotely controlled to execute an operation corresponding to the target function control, so that the convenience of equipment management is effectively improved by realizing remote control over the at least one target equipment, a user can remotely control one or more other equipment on one equipment, and the equipment to be controlled does not need to be operated on the spot.
In some embodiments, an emulator is configured on the target device. For example, in configuring the debug environment, the emulator may be connected to an interface (e.g., a USB interface) on the target device, and the target device and the emulator may be configured on the same local area network. Therefore, remote control of the target device in the debugging scene is facilitated.
Wherein different target devices correspond to different emulators.
In some embodiments, the at least one target device may be determined by a device selection operation or a device input operation to the first device. Reference will be made in detail to the description of the embodiments that follow.
Referring to fig. 3, fig. 3 is a schematic flowchart of a device management method according to another embodiment of the present application.
As shown in fig. 3, the device management method includes:
s301, displaying an equipment management platform interface, wherein the equipment management platform interface comprises a first area used for determining target equipment and a second area containing a function control.
The implementation principle and the technical effect of S301 may refer to the foregoing embodiments, and are not described again.
S302, responding to the equipment selection operation facing the first area, and determining that the equipment corresponding to at least one equipment identifier selected by the equipment selection operation is the target equipment.
In this embodiment, at least one device identifier may be displayed in the first area, or a drop-down box may be displayed in the first area. Responding to equipment selection operation facing the equipment identification displayed in the first area, and determining that equipment corresponding to at least one equipment identification selected by the equipment selection operation is target equipment; or, in response to a click operation performed on the drop-down frame facing the first area, displaying at least one device identifier in the drop-down frame, and in response to a device selection operation facing the device identifier displayed in the drop-down frame, determining that a device corresponding to the at least one device identifier selected by the device selection operation is a target device.
In some embodiments, when an emulator is configured on a target device and different target devices correspond to different emulators, when a debugging environment is initialized, a device identifier of the target device and a debugger identifier of the debugger corresponding to the target device may be configured, and according to a pair rule, a device identifier of one target device and a debugger identifier of the debugger corresponding to the target device are recorded as an identifier group in a database, where the identifier group includes the device identifier and the emulator identifier corresponding to the device identifier.
As such, in one possible implementation, the first region may display at least one identification group. Therefore, a user can know the corresponding relation between the target equipment and the debugger through the identification group displayed in the first area, the corresponding relation does not need to be manually searched by the user, especially under the condition that the number of the equipment is large, the time for manually searching the equipment and the debugger corresponding to the equipment by the user is saved, and the user experience is improved.
In a case where the first area displays at least one identification group, in one possible implementation, S302 includes: responding to the equipment selection operation facing the first area, and determining that equipment corresponding to equipment identification in at least one identification group selected by the equipment selection operation is target equipment; and/or in response to the device selection operation facing the first area, determining that the device corresponding to the device identifier corresponding to at least one debugger identifier selected by the device selection operation is the target device. Therefore, the user can select the target equipment by any one of the selected identification group, the equipment identification in the selected identification group and the debugger identification in the selected identification group, and the flexibility of equipment selection is improved.
Optionally, the device identifier may be an Internet Protocol (IP) address of the device. Therefore, at least one device IP address can be displayed in the first area, and in response to a device selection operation directed to the device IP address in the first area, the device corresponding to the at least one device IP address selected by the device selection operation is determined as the target device.
Wherein, optionally, the debugger identifier may be a debugger IP address. Therefore, at least one identification group can be displayed in the first area, the identification group comprises a device IP address and a debugger IP address corresponding to the device IP address, and the device corresponding to the device IP address in at least one identification group selected by the device selection operation can be determined as the target device in response to the device selection operation facing the identification group in the first area.
And S303, receiving a second operation facing the target function control in the second area.
And S304, responding to the second operation, and executing the operation corresponding to the target function control by the remote control target equipment.
The implementation principle and the technical effect of S303 and S304 can refer to the foregoing embodiments, and are not described again.
In the embodiment of the application, the device management platform interface is displayed, at least one target device is determined in response to a device selection operation facing a first area in the interface, and a second operation facing a target function control in a second area in the interface is responded, the target device is remotely controlled to execute an operation corresponding to the target function control.
Referring to fig. 4, fig. 4 is a schematic flowchart of a device management method according to another embodiment of the present application.
As shown in fig. 4, the device management method includes:
s401, displaying an equipment management platform interface, wherein the equipment management platform interface comprises a first area used for determining target equipment and a second area containing a function control.
The implementation principle and the technical effect of S401 may refer to the foregoing embodiments, and are not described again.
S402, responding to the equipment input operation facing the first area, and determining that the equipment corresponding to at least one equipment identification input by the equipment input operation is the target equipment.
Wherein, at least one input box is displayed in the first area, and the input box is used for inputting equipment identification.
In this embodiment, after detecting the device input operation of the user in the first area, at least one device identifier input by the user in the input box of the first area may be obtained, and a device corresponding to the at least one device identifier is determined to be the target device. Thus, the determination of the target device is achieved by inputting the device identification.
Optionally, at least one device identification is displayed in the first area. The user can search the device identification of the device to be controlled in the device identification displayed in the first area and input the device identification in the first area.
Optionally, at least one identification group is displayed in the first area. The user can search the device identification of the device to be controlled in the device group displayed in the first area and input the device identification in the first area. The meaning and content of the identifier group may refer to the foregoing embodiments, and are not described in detail.
Optionally, the device identifier is a device IP address.
And S403, receiving a second operation facing the target function control in the second area.
S404, responding to the second operation, displaying an operation page, wherein the operation page comprises a plurality of second controls, and the second controls comprise a starting control and a closing control.
The implementation principle and the technical effect of S403 and S404 may refer to the foregoing embodiments, and are not described again.
In the embodiment of the application, the device management platform interface is displayed, at least one target device is determined in response to a device input operation facing a first area in the interface, and a second operation facing a target function control in a second area in the interface is responded, the target device is remotely controlled to execute an operation corresponding to the target function control, so that the device input function and the device control function are displayed in a partitioned mode on the device management platform interface, remote control over a device corresponding to at least one device identifier input by a user is achieved, and convenience of device management is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart of a device management method according to another embodiment of the present application.
As shown in fig. 5, the device management method includes:
s501, displaying a device management platform interface, wherein the device management platform interface comprises a first area used for determining the target device and a second area containing the function control.
S502, in response to a first operation facing the first area, at least one target device is determined.
The implementation principle and the technical effect of S501 and S502 may refer to the foregoing embodiments, and are not described again.
S503, receiving a second operation facing the target function control in the second area.
And S504, responding to a second operation, and displaying an operation page, wherein the operation page comprises a plurality of second controls, and the second controls comprise a starting control and a closing control.
The function control in the second area comprises a first control for indicating completion of equipment selection, and the target function control is the first control.
The operation page is used for the user to remotely control the target device. The starting control is used for indicating the control equipment to start, and the shutdown control is used for indicating the control equipment to shut down.
In this embodiment, after determining the at least one target device, the user may perform a second operation on the first control in the second area to determine that the device selection is complete. And after receiving a second operation of the user, responding to the second operation, and displaying an operation page so that the user can remotely control the target equipment on the operation page. The second operation on the first control is, for example, a click operation on the first control.
In a possible implementation manner, the first operation is a device selection operation, in response to the device selection operation facing the first area, it is determined that a device corresponding to at least one device identifier selected by the device selection operation is a target device, a second operation facing the first control in the second area is received, and in response to the second operation, an operation page is displayed. For example, from the perspective of user operation, the user may select the device identifier of the target device in the first area, then click the virtual key for completing device selection in the second area, and enter an operation page for remotely operating the target device.
And S505, responding to the click operation facing the target second control in the plurality of second controls, and remotely controlling the target equipment to execute the operation corresponding to the target second control.
And the target second control is one or more of the plurality of second controls.
In this embodiment, after the operation page is displayed, a plurality of second controls are displayed on the operation page, and a user can click one or more of the plurality of second controls. And if the clicking operation of the user on the target second control in the plurality of second controls is received, responding to the clicking operation, and remotely controlling the target equipment to execute the operation corresponding to the target second control based on the equipment identification of the target equipment.
Since the second control includes a power-on control and a power-off control, S505 may include the following situations:
in one possible implementation manner, the target device is remotely controlled to be powered on in response to a click operation facing a power-on control in the plurality of second controls. Therefore, remote control of starting up of the target equipment is achieved.
When the target device is in a power-off state but connected to a power supply, the power-on module in the target device may receive a power-on instruction from the current device (the device where the user is located). After a user selects a target device to enter an operation interface for remotely controlling the target device, if the clicking operation of the user on a starting control on the operation interface is detected, a starting instruction is sent to the target device according to a device identifier (such as an IP address of the target device) of the target device. And the target equipment executes the starting-up operation after receiving the starting-up instruction. Therefore, remote boot of the target device is achieved.
In another possible implementation manner, considering that the state of the target device may be an online state or an offline state, after receiving a click operation facing the boot control, the state of the target device may be determined in response to the click operation; if the state of the target equipment is in an online state, remotely controlling the target equipment to restart; and if the state of the target equipment is the off-line state, remotely controlling the target equipment to be started. Therefore, the remote starting of the target equipment is realized, and the remote restarting of the target equipment is also realized.
In another possible implementation manner, in response to a click operation facing a shutdown control of the plurality of second controls, the remote control target device is shutdown. Therefore, remote control of shutdown of the target equipment is achieved.
After a user selects a target device to enter an operation interface for remotely controlling the target device, if the user clicks a start-up control on the operation interface, a shutdown instruction is sent to the target device according to a device identifier (such as an IP address of the target device) of the target device. And after receiving the shutdown instruction, the target equipment executes shutdown operation. Thus, remote shutdown of the target device is achieved.
In some embodiments, the plurality of second controls further includes a status viewing control for indicating a status of the viewing target device. Wherein the state of the target device comprises an online state and/or an offline state. At this time, in one possible implementation, S505 includes: and responding to the click operation facing to the state viewing control in the plurality of second controls, and displaying the state of the target equipment.
In this embodiment, after receiving the click operation of the state-oriented viewing control, the state-oriented viewing control may be responded to and a state viewing request may be sent to the target device, and if a response message returned by the target device is received, it is displayed that the target device is in an online state, otherwise, it is displayed that the target device is in an offline state. Or, a communication connection establishment request can be sent to the target device in response to the click operation of the state-oriented viewing control, if a response message returned by the target device is received, the target device can be displayed to be in an online state, otherwise, the target device is displayed to be in an offline state.
In the embodiment of the application, in response to determining that the operation of device selection is completed on the device management platform interface, an operation page is displayed, a second control in the operation page comprises a starting control and a closing control, and in response to a click operation facing a target second control in the second control, the target device is remotely controlled to execute an operation corresponding to the target second control. Therefore, remote control over operations such as starting up and shutting down of the equipment is achieved, and convenience of equipment management is effectively improved.
Referring to fig. 6, fig. 6 is a schematic flowchart of a device management method according to another embodiment of the present application.
As shown in fig. 6, the device management method includes:
s601, displaying an equipment management platform interface, wherein the equipment management platform interface comprises a first area used for determining target equipment and a second area containing a function control.
S602, responding to a first operation facing the first area, and determining at least one target device.
The implementation principle and the technical effect of S601 and S602 may refer to the foregoing embodiments, and are not described again.
And S603, receiving a second operation facing the target function control in the second area.
And S604, responding to the second operation, displaying a remote connection page, wherein the remote connection page is used for inputting user account information and a user password.
And the function controls in the second area comprise a third control for submitting the target equipment, and the target function control is the third control.
The remote connection page is an operation page after the current device and the target device successfully establish remote control connection, and is actually a login page of the target device after the current device and the target device are connected.
In this embodiment, after determining at least one target device, the user may perform a second operation on the third control element in the second area, submit the device identifier of the target device, and trigger a request for establishing a remote control connection with the target device. And the current equipment responds to the second operation, establishes remote control connection with the target equipment, and displays a remote control connection page after the remote control connection is successfully established.
In a possible implementation manner, the first operation is a device input operation, in response to the device input operation facing the first area, it is determined that a device corresponding to at least one device identifier of the device input operation input is a target device, a second operation facing a third control in the second area is received, and in response to the second operation, the remote connection page is displayed. For example, the user may input the device identifier of the target device in the first area, then click the virtual key submitting the device information in the second area, trigger a request for performing remote control connection with the target device, and enter a login page, i.e., a remote connection page, of the target device.
And S605, responding to the user account information and the user password input by the user, and remotely logging in the target equipment.
In this embodiment, user account information and a user password input by a user on a remote connection page are acquired, a remote control target device performs authorized user verification on the user account information and the user password, and if verification is successful, the user logs in the target device, so that the user can further remotely operate the target device. Therefore, remote login of the target equipment is achieved based on interaction between the user and the equipment management platform interface.
In some embodiments, in the device commissioning scenario, the device management method further includes:
s606, after the target device is remotely logged in, debugging is carried out on the target device.
In this embodiment, a debugger is configured on the target device, and the specific configuration process may refer to the foregoing embodiment. After the target device is remotely logged in, a debugger on the target device can be remotely controlled to debug the target device. Therefore, a user can submit the equipment identification of the target equipment, so that the current equipment and the target equipment are connected in a remote control mode, the target equipment is remotely logged in, and the target equipment is debugged, the user does not need to debug the target equipment on the spot, the convenience of debugging the target equipment is improved, especially under the condition that the number of the equipment needing to be debugged is large, the remote debugging of batch equipment can be realized, the time of the user is effectively saved, and the convenience and the efficiency of debugging are improved.
In one possible implementation, an application for debugging a target device is deployed on a debugger. Therefore, after the target device is remotely logged in, a corresponding application program can be remotely selected on a debugger configured on the target device, and the debugging of the target device is started through the application program corresponding to the selected operation in response to the selected operation on the corresponding application program. For example, after the current device is successfully connected with the target device through remote control, the user may operate the target device on the current device, open a file directory corresponding to the debugger on the target device, find an application program for debugging the target device under the file directory, select the application program and click and run to start debugging the target device through the application program.
Optionally, the debugging of the target device includes JTAG debugging or EJTAG debugging of the target device. Therefore, remote JTAG debugging or EJTAG debugging of the target equipment is realized, and the convenience of JTAG debugging or EJTAG debugging of the target equipment is improved.
In the embodiment of the application, the operation of the target equipment is submitted on the equipment management platform interface, the remote communication connection is established with the target equipment, the remote connection page is entered, and the target equipment can be controlled to log in and debug on the remote connection page. Therefore, remote control over operations such as equipment login and debugging is achieved, especially when the number of the equipment is large, login and debugging of the equipment in batches are achieved, and convenience of equipment management is effectively improved.
The following are embodiments of the apparatus of the present application that may be used to perform corresponding method embodiments of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method corresponding to the present application.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a device management apparatus according to an embodiment of the present application.
As shown in fig. 7, the device management apparatus 700 provided in this embodiment includes:
a display module 701, configured to display an equipment management platform interface, where the equipment management platform interface includes a first area for determining a target equipment and a second area including a function control;
a determining module 702, configured to determine at least one target device in response to a first operation facing a first area;
a receiving module 703, configured to receive a second operation facing the target function control in the second area;
and the control module 704 is configured to, in response to the second operation, remotely control the target device to execute an operation corresponding to the target function control.
In a possible implementation manner, the first area is used for displaying a device identifier, and the determining module 702 is specifically configured to: and responding to the equipment selection operation facing the first area, and determining that the equipment corresponding to at least one equipment identifier selected by the equipment selection operation is the target equipment.
In a possible implementation manner, the first area is used for inputting a device identifier, and the determining module 702 is specifically configured to: and in response to the device input operation facing the first area, determining that the device corresponding to at least one device identification of the device input operation input is the target device.
In one possible implementation, the functionality control includes a first control for indicating that the device selection is completed, the target functionality control is the first control, and the control module 704 is specifically configured to: responding to a second operation, and displaying an operation page, wherein the operation page comprises a plurality of second controls, and the second controls comprise a starting control and a closing control; and responding to the click operation facing to the target second control in the plurality of second controls, and executing the operation corresponding to the target second control by the remote control target equipment.
In a possible implementation manner, the target second control is a boot control, and the control module 704 is specifically configured to: responding to the click operation facing the starting control, and determining the state of the target equipment; and if the state of the target equipment is in an online state, remotely controlling the target equipment to restart.
In one possible implementation, the second control further includes a status viewing control, and the control module 704 is further configured to: and displaying the state of the target equipment in response to the clicking operation of the state viewing control, wherein the state comprises an online state and/or an offline state.
In a possible implementation manner, the functionality control includes a third control for submitting the target device, where the target functionality control is the third control, and the control module 704 is specifically configured to: responding to the second operation, displaying a remote connection page, wherein the remote connection page is used for inputting user account information and a user password; and responding to the user account information and the user password input by the user, and remotely logging in the target equipment.
In one possible implementation, the control module 704 is further configured to: after the target device is remotely logged in, the target device is debugged.
In one possible implementation, the control module 704 is further configured to: and responding to the selected operation of the corresponding application program, and starting the JTAG debugging or the EJTAG debugging of the target equipment through the application program corresponding to the selected operation.
It should be noted that the device management apparatus provided in each of the above embodiments may be configured to execute each step in the device management method provided in any of the above embodiments, and specific implementation manners and technical effects are similar and will not be described herein again.
The above embodiments of the apparatus provided in this application are merely exemplary, where the division of the modules is only one logical function division, and there may be another division manner in actual implementation. For example, multiple modules may be combined or may be integrated into another system. The coupling of the various modules to each other may be through interfaces that are typically electrical communication interfaces, but mechanical or other forms of interfaces are not excluded. Thus, modules described as separate components may or may not be physically separate, may be located in one place, or may be distributed in different locations on the same or different devices.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, the electronic device 800 may include: at least one processor 801 and a memory 802. Fig. 8 shows an electronic device as an example of a processor.
The memory 802 stores programs of the processor 801. In particular, the program may include program code including computer operating instructions.
Memory 802 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 801 is configured to execute the computer program stored in the memory 802 to implement the steps in the device management method in the above method embodiments.
The processor 801 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
Alternatively, the memory 802 may be separate or integrated with the processor 801. When the memory 802 is a separate device from the processor 801, the electronic device 800 may further include: a bus 803 is used to connect the processor 801 and the memory 802. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. Buses may be classified as address buses, data buses, control buses, etc., but do not represent only one bus or type of bus.
Alternatively, in a specific implementation, if the memory 802 and the processor 801 are integrated into a chip, the memory 802 and the processor 801 may communicate through an internal interface.
The present application also provides a computer-readable storage medium, which may include: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and in particular, the computer-readable storage medium stores a computer program, and when at least one processor of the electronic device executes the computer program, the electronic device executes the steps of the device management method provided by the foregoing various embodiments.
Embodiments of the present application also provide a computer program product, which includes a computer program, and the computer program is stored in a readable storage medium. The computer program may be read from a readable storage medium by at least one processor of the electronic device, and the execution of the computer program by the at least one processor causes the electronic device to implement the steps of the device management method provided by the various embodiments described above.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements 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 application is limited only by the appended claims.

Claims (13)

1. A device management method is applied to a device provided with a device management platform, and comprises the following steps:
displaying an equipment management platform interface, wherein the equipment management platform interface comprises a first area used for determining target equipment and a second area containing a function control;
determining at least one target device in response to a first operation facing the first area;
receiving a second operation facing the target function control in the second area;
and responding to the second operation, and remotely controlling the target equipment to execute the operation corresponding to the target function control.
2. The device management method according to claim 1, wherein the first area is used for displaying a device identifier, and the determining at least one target device in response to the first operation facing the first area comprises:
and responding to the equipment selection operation facing the first area, and determining that the equipment corresponding to at least one equipment identifier selected by the equipment selection operation is the target equipment.
3. The device management method according to claim 1, wherein the first area is used for inputting a device identifier, and the determining at least one target device in response to the first operation facing the first area comprises:
and responding to the equipment input operation facing the first area, and determining that the equipment corresponding to at least one equipment identification of the equipment input operation input is the target equipment.
4. The device management method according to any one of claims 1 to 3, wherein the functionality control comprises a first control for indicating completion of device selection, the target functionality control is the first control, and the remotely controlling the target device to perform an operation corresponding to the target functionality control in response to the second operation comprises:
responding to the second operation, and displaying an operation page, wherein the operation page comprises a plurality of second controls, and the second controls comprise a starting control and a shutdown control;
responding to the click operation facing to the target second control in the plurality of second controls, and remotely controlling the target equipment to execute the operation corresponding to the target second control.
5. The device management method according to claim 4, wherein the target second control is a boot control, and the remotely controlling the target device to execute the operation corresponding to the target second control in response to the click operation facing the target second control of the plurality of second controls includes:
responding to the click operation facing the starting control, and determining the state of the target equipment;
and if the state of the target equipment is in an online state, remotely controlling the target equipment to restart.
6. The device management method of claim 4, wherein the second control further comprises a status view control, further comprising:
and responding to the click operation facing the state viewing control, and displaying the state of the target equipment, wherein the state comprises an online state and/or an offline state.
7. The device management method according to any one of claims 1 to 3, wherein the function control includes a third control for submitting the target device, the target function control is the third control, and the remotely controlling the target device to perform an operation corresponding to the target function control in response to the second operation includes:
responding to the second operation, and displaying a remote connection page, wherein the remote connection page is used for inputting user account information and a user password;
and responding to the user account information and the user password input by the user, and remotely logging in the target equipment.
8. The device management method according to claim 7, further comprising:
debugging the target device after remotely logging in the target device.
9. The device management method according to claim 8, wherein the debugging the target device comprises:
and responding to the selected operation of the corresponding application program, and starting the JTAG debugging or the EJTAG debugging of the target equipment through the application program corresponding to the selected operation.
10. The device management apparatus is applied to a device on which a device management platform is installed, and includes:
the device management platform interface comprises a first area used for determining target devices and a second area containing function controls;
a determination module for determining at least one target device in response to a first operation facing the first area;
the receiving module is used for receiving a second operation facing the target function control in the second area;
and the control module is used for responding to the second operation and remotely controlling the target equipment to execute the operation corresponding to the target function control.
11. An electronic device, comprising: at least one processor and memory;
the memory stores computer execution instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the device management method of any of claims 1 to 9.
12. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the device management method of any one of claims 1 to 9.
13. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the device management method of any of claims 1 to 9.
CN202210233097.5A 2022-03-09 2022-03-09 Device management method, device and storage medium Pending CN114637669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210233097.5A CN114637669A (en) 2022-03-09 2022-03-09 Device management method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210233097.5A CN114637669A (en) 2022-03-09 2022-03-09 Device management method, device and storage medium

Publications (1)

Publication Number Publication Date
CN114637669A true CN114637669A (en) 2022-06-17

Family

ID=81948071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210233097.5A Pending CN114637669A (en) 2022-03-09 2022-03-09 Device management method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114637669A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115913977A (en) * 2022-11-10 2023-04-04 浪潮通信信息系统有限公司 Data communication equipment connection method, device and equipment of resource capacity center

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115913977A (en) * 2022-11-10 2023-04-04 浪潮通信信息系统有限公司 Data communication equipment connection method, device and equipment of resource capacity center

Similar Documents

Publication Publication Date Title
CN108804302B (en) Remote testing method, system and related equipment
EP3992800B1 (en) Program test method and apparatus, computer device, and storage medium
US20140211021A1 (en) Test system for evaluating mobile device and driving method thereof
US20210405111A1 (en) Test method and electronic device
CN111444103B (en) Web page automatic testing method and related equipment
CN109510742A (en) A kind of server network interface card remote test method, device, terminal and storage medium
CN115827111A (en) Method and device for adjusting server startup items, storage medium and electronic device
CN114637669A (en) Device management method, device and storage medium
CN111399811A (en) Method, device and equipment for developing visual page and storage medium
CN111414309A (en) Automatic test method of application program, computer equipment and storage medium
CN111506331A (en) Server BMC refreshing method, system, terminal and storage medium
CN107894935A (en) OPS computer module detection process method, apparatus and electronic equipment
CN113849356A (en) Equipment testing method and device, electronic equipment and storage medium
CN113596077A (en) Program downloading method, device, computer equipment and storage medium
CN110825370B (en) Mobile terminal application development method, device and system
CN109491825B (en) Method, device, storage medium and terminal for positioning abnormal starting problem
CN114253781B (en) Test method, device, equipment and storage medium
CN115633025A (en) Intelligent integrated equipment based on USBServer and application method
CN204302961U (en) Embedded device and the diagnostic card for embedded device
CN113127099B (en) Server configuration method, device, equipment and storage medium
CN115220974A (en) Dynamic checking system, method, device and medium for network information of operating system
CN111782445B (en) Configuration method and device of equipment debugging environment
CN114860271A (en) PXE starting method, system and device and readable storage medium
CN115623195A (en) Television fault diagnosis method, device, equipment and storage medium
CN113961127A (en) Visualization server management method and device, electronic equipment and computer storage medium

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