A data processing method and apparatus
By capturing and processing screen data from remote devices through a remote control module, the vPro Essentials platform was able to manage remote devices, enabling remote management during the system boot phase, saving hardware costs and improving management efficiency.
Patent Information
- Application Number
- CN202211434212.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-16
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-11-16
AI Technical Summary
The vPro Essentials platform is unable to capture screen images during the operating system pre-boot phase and BIOS POST phase of remote devices, resulting in an inability to effectively manage remote devices.
The remote control module receives screen acquisition request commands, captures screen data from remote devices, processes it, and sends it to the management device to achieve remote management.
It saves on hardware costs, improves the convenience and timeliness of remote management, and can capture the screen of remote devices during the system boot phase.
Smart Images

Figure CN115801755B_ABST
Abstract
Description
Technical Field
[0001] This application relates to data processing technology, and more particularly to a data processing method and apparatus. Background Technology
[0002] Since the vPro Essentials platform is geared towards small and medium-sized enterprises and departmental users, it has fewer features compared to the vPro platform. It cannot capture images of remote devices during the operating system pre-boot phase / BIOS POST phase, thus making it impossible to effectively manage remote devices. Summary of the Invention
[0003] The technical solution of this application is implemented as follows:
[0004] According to one aspect of this application, a data processing method is provided, the method being applied to a first device, the method comprising:
[0005] The first device receives a screen acquisition request command sent by the remote second device through a remote control module. The screen acquisition request command carries at least the Internet Protocol address and port number of the second device.
[0006] Based on the screen capture request command, capture the screen data of the current screen of the first device during the system boot phase of the first device;
[0007] The image data is processed to obtain an image data packet.
[0008] The first device is remotely managed by the second device based on the Internet address and the port number.
[0009] In the above scheme, the step of capturing the screen data of the current screen of the first device during the system boot phase of the first device based on the screen acquisition request command includes:
[0010] Based on the screen acquisition request command, target commands related to the screen acquisition request command are monitored during the system boot phase of the first device;
[0011] If the target command is detected, capture the screen data of the first device during the system boot phase of the first device.
[0012] In the above scheme, the step of capturing the screen data of the current screen of the first device during the system boot phase of the first device based on the screen acquisition request command includes:
[0013] The current startup status of the first device is determined based on the image acquisition request command;
[0014] If the startup state determines that the first device is currently in the system boot phase, the screen data of the first device is captured during the system boot phase.
[0015] In the above scheme, the step of capturing the screen data of the current screen of the first device during the system boot phase of the first device based on the screen acquisition request command includes:
[0016] The screen capture timer of the first device is started based on the screen acquisition request command;
[0017] The timer event based on the screen capture timer captures the image data of the current screen of the first device during the system boot phase of the first device.
[0018] In the above scheme, processing the image data to obtain the image data packet includes:
[0019] The target cache is determined based on the screen acquisition request command, and the target cache is used to store the screen data of the first device.
[0020] The image data in the target buffer is converted into a bitmap to obtain the image image of the image data.
[0021] The image is encrypted and compressed to obtain the image data packet.
[0022] In the above scheme, the step of processing the image data to obtain the image data packet further includes:
[0023] The image data has multiple components;
[0024] The multiple image data are processed sequentially to obtain image data packets of the sequential images.
[0025] According to another aspect of this application, a data processing method is provided, the method being applied to a second device, the method comprising:
[0026] The second device sends a screen acquisition request command to the first device through the remote control module of the first device. The screen acquisition request command carries at least the Internet Protocol address and port number of the second device.
[0027] The first device receives a screen data packet sent by the first device based on the screen acquisition request command via the Internet Protocol address and the port number; the screen data packet contains screen data of the first device's current screen captured by the first device during the system boot phase based on the screen acquisition request command.
[0028] The image data packet is decrypted to obtain the image data of the current screen of the first device.
[0029] The method in the above scheme further includes:
[0030] The image data packets are multiple;
[0031] The multiple screen data packets are decrypted to obtain multiple screen data of the current screen of the first device;
[0032] The multiple image data are processed continuously to obtain the video image of the current screen of the first device.
[0033] According to a third aspect of this application, a first device is provided, comprising:
[0034] The receiving unit is used to receive a screen acquisition request command sent by a remote second device through a remote control module. The screen acquisition request command carries at least the Internet Protocol address and port number of the second device.
[0035] The acquisition unit is used to capture the screen data of the current screen of the first device during the system boot phase of the first device based on the screen acquisition request command.
[0036] The processing unit is used to process the image data to obtain image data packets of the image data;
[0037] The sending unit is configured to send the screen data packet to the second device based on the Internet address and the port number, so that the second device can remotely manage the first device based on the screen data packet.
[0038] According to a fourth aspect of this application, a second device is provided, comprising:
[0039] The sending unit is used to send a screen acquisition request command to the first device through the remote control module of the first device, wherein the screen acquisition request command carries at least the Internet Protocol address and port number of the second device.
[0040] The receiving unit is configured to receive a screen data packet sent by the first device based on the screen acquisition request command via the Internet Protocol address and the port number; the screen data packet contains screen data of the current screen of the first device captured by the first device during the system boot phase based on the screen acquisition request command.
[0041] The processing unit is used to decrypt the image data packet to obtain the image data of the current screen of the first device.
[0042] The data processing method and apparatus provided in this application involve a first device receiving a screen capture request command from a remote second device via a remote control module. The screen capture request command carries at least the Internet Protocol address and port number of the second device. Based on the screen capture request command, the first device captures screen data of its current screen during the system boot phase. The screen data is processed to obtain a screen data packet. The screen data packet is then sent to the second device based on the Internet address and port number, enabling the second device to remotely manage the first device based on the screen data packet. This method, employing purely software, captures and transmits the display screen of a remote device to a remote control terminal. It not only saves on hardware costs but also allows the management terminal to obtain the screen display of the remote device during the system boot phase through the vPro Essentials platform, thereby enabling effective remote management of the remote device. Attached Figure Description
[0043] Figure 1 This is a flowchart illustrating the data processing method in this application. Figure 1 ;
[0044] Figure 2 This is a flowchart illustrating the data processing method in this application. Figure 2 ;
[0045] Figure 3 This is a flowchart illustrating the data processing method in this application. Figure 3 ;
[0046] Figure 4 This is a schematic diagram illustrating the implementation scenario of the processing method in this application;
[0047] Figure 5 This is a schematic diagram of the structural composition of the first device in this application;
[0048] Figure 6 This is a schematic diagram of the structural composition of the second device in this application;
[0049] Figure 7 This is a schematic diagram of the structural composition of the electronic device in this application;
[0050] Figure 8 This is a schematic diagram illustrating the implementation of the data processing system in this application. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. Unless otherwise specified, the embodiments and features in the embodiments of this application can be arbitrarily combined with each other. The steps shown in the flowcharts can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown here.
[0052] The technical solution of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0053] Figure 1 This is a flowchart illustrating the data processing method in this application. Figure 1 ,like Figure 1 As shown, the method includes:
[0054] Step 101: The first device receives a screen acquisition request command sent by the remote second device through the remote control module. The screen acquisition request command carries at least the Internet Protocol address and port number of the second device.
[0055] In this application, the method can be applied to a first device, which and the second device include, but are not limited to, mobile phones, watches, computers, all-in-one machines, data processing devices, interactive automated service machines, industrial equipment, etc. Here, the first device can be equipped with a remote control module, which can be an Intel commercial PC management platform (Intel vPro). The second device can send a screen acquisition request command to the first device through the remote control module on the first device to request the acquisition of the screen display of the first device. This screen display includes, but is not limited to, the screen display of the first device during the Pre-Boot phase and / or the BIOS POST phase.
[0056] Step 102: Based on the screen acquisition request command, capture the screen data of the current screen of the first device during the system boot phase of the first device;
[0057] In this application, when the first device receives a screen capture request command from the second device via the remote control module, it can obtain the current status information of the first device based on the screen capture request command, determine the current startup status of the first device based on the status information, and if the startup status determines that the first device is currently in the system boot stage (Pre-Boot), it can capture the screen data of the first device's current screen during the system boot stage. Alternatively, if the startup status determines that the first device is currently in the system startup stage (BIOS POST), it can capture the screen data of the first device's current screen during the system boot stage.
[0058] In this application, when capturing the screen data of the current screen of the first device during the system boot phase or system startup phase, the system may also monitor the target command related to the screen acquisition request command during the system boot phase or system startup phase; if the target command is detected, the system may capture the screen data of the current screen of the first device during the system boot phase or system startup phase.
[0059] Here, the target command includes, but is not limited to, commands during the system pre-boot phase and commands during the Basic Input / Output System (BIOS) startup phase, such as device power-on commands, bootloader startup commands, motherboard BIOS startup commands, memory BIOS startup commands, graphics card BIOS startup commands, and / or other device (network card, controller) BIOS commands, operating system loading commands, etc.
[0060] In this application, when capturing the screen data of the first device during the system boot phase or system startup phase, the screen capture timer of the first device can also be started based on the screen acquisition request command; the screen capture timer event is used to capture the screen data of the first device during the system boot phase or system startup phase.
[0061] Step 103: Process the image data to obtain the image data packet.
[0062] In this application, upon receiving a screen capture request command from the second device, the first device can also request a target cache from memory and, upon capturing screen image data of the first device, store the screen image data in the target cache. The first device can also perform bitmap conversion on the screen image data stored in the target cache to obtain a screen image; then, it can encrypt and compress the screen image to obtain a screen data packet.
[0063] In this application, the first device may obtain multiple screen image data. When there are multiple screen image data, the first device may also sort the multiple screen image data based on the frame parameters of each screen image to obtain a screen data packet representing a continuous screen image.
[0064] Step 104: Send the image data packet to the second device based on the Internet address and the port number, so that the second device can remotely manage the first device based on the image data packet.
[0065] In this application, the first device receives a screen acquisition request command from a remote second device via a remote control module. This command carries at least the Internet Protocol address and port number of the second device. When the first device obtains a screen data packet containing its own screen image, it can send the screen data packet to the second device based on the Internet address and port number. Upon receiving the screen data packet, the second device parses it to obtain the current screen image of the first device and / or multiple consecutive screen images over a period of time. Based on these images, the second device can then remotely manage the first device.
[0066] The data processing method provided in this application allows administrators to remotely monitor the screen of terminal devices via management equipment, obtaining the screen during the BIOS POST / Pre-Boot phase, thus facilitating remote management of the terminal devices. Furthermore, since the vPro platform requires hardware support for keyboards, video cameras, or mice (KVM, Keyboard Video Mouse), it involves capturing analog signals from the terminal device's display interface, digitizing these signals, converting them into encrypted and compressed data packets, and transmitting them to the remote management device. The solution provided in this application, however, uses a purely software-based approach to capture and transmit the display screen to the remote control terminal. This not only saves hardware costs but also allows access to the terminal device's screen during the system boot or BIOS startup phase, improving the convenience of remote management and the timeliness of problem-solving.
[0067] Figure 2 This is a flowchart illustrating the data processing method in this application. Figure 2 ,like Figure 2 As shown, the method includes:
[0068] Step 201: The second device sends a screen acquisition request command to the first device through the remote control module of the first device. The screen acquisition request command carries at least the Internet Protocol address and port number of the second device.
[0069] Step 202: Receive the screen data packet sent by the first device based on the screen acquisition request command through the Internet Protocol address and the port number; the screen data packet contains the screen data of the current screen of the first device captured by the first device during the system boot phase based on the screen acquisition request command.
[0070] Step 203: Decrypt the image data packet to obtain the image data of the current screen of the first device.
[0071] In this application, the method can be applied to a second device, which sends a screen acquisition request command to the first device via the remote control module of the first device to request the acquisition of the screen image data of the first device. This screen image data can capture the screen image of the first device during the system boot phase or the BIOS startup phase. However, this is not limited to the system boot phase and the BIOS startup phase; all screen image data related to the first device's screen is within the scope of this application. Thus, the current problem stage of the first device can be quickly determined through this screen image.
[0072] In this application, the second device may obtain the screen data packet sent by the first device based on the screen acquisition request. The current screen image of the first device can be obtained by decrypting the screen data packet.
[0073] In this application, the second device may receive multiple screen data packets sent by the first device based on the screen acquisition request command. When there are multiple screen data packets, the second device can also decrypt each of these multiple screen data packets to obtain multiple screen data (i.e., multiple screen images) of the first device's current screen. These multiple screen data packets can be the same or different. When the multiple screen data packets are different, the first device can manage multiple stages of problems through these multiple screen images.
[0074] In this application, if multiple screen data are identical, the second device can also perform continuous screen processing (such as sorting) on the multiple screen data according to the frame parameters of the multiple screen data to obtain the video screen of the first device at the current screen.
[0075] Since the data processing method provided in this application obtains the screen data of the remote device through a pure software method, it can not only save hardware costs, but also obtain the screen image of the remote device during the system boot stage or BIOS startup stage, thereby improving the convenience of remote management and the timeliness of problem solving.
[0076] It should be noted that the data processing method provided in the above embodiments is the same as that described above. Figure 1The provided data processing method embodiments belong to the same concept, and their specific implementation process is detailed in [link to implementation details]. Figure 1 The method implementation examples will not be described in detail here.
[0077] Figure 3 This is a flowchart illustrating the data processing method in this application. Figure 3 ,like Figure 3 As shown, the method includes:
[0078] Step 301: The control terminal sets the boot options using the Advanced Streaming Format (ASF) command;
[0079] Here, the control terminal can be a second device. It uses a remote management tool (such as the vProEssentials platform) to set up a screen in OEM capabilities to obtain request commands and sends the control terminal's IP address and port value to the client via the ASF SET BOOT OPTIONS command.
[0080] Step 302: The Basic Input / Output System (BIOS) in the client obtains boot options via the ASF GET BOOT OPTIONS command.
[0081] Step 303: Determine whether there is a request from the control terminal based on the obtained boot options; if yes, proceed to step 304; otherwise, proceed to step 308.
[0082] Step 304: Start the screen capture timer;
[0083] Step 305: Store the image data of the current screen in the buffer and convert the image data into a BMP bitmap format file;
[0084] Step 306: Encrypt and compress the BMP bitmap file to form an image data packet;
[0085] Step 307: Transmit the image data packet to the IP address and port of the control terminal via the TCP / IP protocol;
[0086] Here, the BIOS can use socket() to create a socket interface and use connect() to establish a communication connection with the control terminal whose IP address and port were previously recorded. After the control terminal responds to the communication connection, the image data packet is transmitted to the control terminal's IP address and port via the TCP / IP protocol.
[0087] Step 308, End.
[0088] The following is one implementation scenario of this application:
[0089] The administrator discovered that several machines failed to boot properly. Therefore, they remotely invoked the one-key recovery function (OKR) on the target devices via the Unified Extensible Firmware Interface (UEFI) on the management device to automatically repair, reinstall, or back up the system. For example... Figure 4 Devices 401 and 402 are shown, but the data progress of each device may differ. Therefore, the administrator wants to understand the situation of the lagging device, which requires checking the screens of devices 401 and 402 to determine the problem or stage. However, due to the limitations of the vProEssentials platform, it cannot obtain the real-time screens of devices 401 and 402. With the solution in this application, the administrator can remotely send screen capture request commands to devices 401 and 402 through the management device. After receiving the screen capture request command, devices 401 and 402 can determine their current startup status. Based on this startup status, if they determine that they are currently in the system boot stage or BIOS startup stage, they can capture their own screen data. This screen data is then compressed and encrypted to obtain a screen data packet, which is sent to the management device. When the management device receives screen display data packets sent by devices 401 and 402, it can decrypt the data packets to obtain the current screen display of devices 401 and 402. Based on the screen display, it can determine the current stage and problem encountered by devices 401 and 402. For example, device 401 may be in the "backing up system" stage, and device 402 may be in the "restoring system" stage.
[0090] In this way, administrators can quickly obtain the screen image of the remote device even when the remote device is in the system boot stage or BIOS startup stage, thereby enabling better remote management of the remote device.
[0091] Figure 5 This is a schematic diagram of the structural composition of the first device in this application, as shown below. Figure 5 As shown, the first device includes:
[0092] The receiving unit 501 is used to receive a screen acquisition request command sent by a remote second device through a remote control module. The screen acquisition request command carries at least the Internet Protocol address and port number of the second device.
[0093] The acquisition unit 502 is used to capture the screen data of the current screen of the first device during the system boot phase of the first device based on the screen acquisition request command.
[0094] Processing unit 503 is used to process the image data to obtain image data packets of the image data;
[0095] The sending unit 504 is used to send the screen data packet to the second device based on the Internet address and the port number, so that the second device can remotely manage the first device based on the screen data packet.
[0096] In a preferred embodiment, the first device further includes:
[0097] Monitoring unit 505 is used to monitor target commands related to the screen acquisition request command during the system boot phase of the first device based on the screen acquisition request command;
[0098] The acquisition unit 502 is specifically used to capture the screen data of the current screen of the first device during the system boot phase of the first device if the target command is detected.
[0099] In a preferred embodiment, the first device further includes:
[0100] Determining unit 506 is used to determine the current startup state of the first device based on the screen acquisition request command;
[0101] The acquisition unit 502 is specifically used to capture the screen data of the first device during the system boot phase when it is determined that the first device is currently in the system boot phase based on the startup state.
[0102] In a preferred embodiment, the first device further includes:
[0103] The activation unit 507 is used to activate the screen capture timer of the first device based on the screen acquisition request command.
[0104] The acquisition unit 502 is specifically used to capture the screen data of the current screen of the first device during the system boot phase of the first device based on the timer event of the screen capture timer.
[0105] In a preferred embodiment, the determining unit 506 is further configured to determine a target cache based on the screen acquisition request command, wherein the target cache is used to store screen data of the first device.
[0106] The processing unit 503 is specifically used to perform bitmap conversion on the screen data in the target buffer to obtain a screen image of the screen data; and to perform encryption and compression processing on the screen image to obtain a screen data packet of the screen data.
[0107] In a preferred embodiment, the processing unit 503 is further configured to perform continuous image processing on the multiple image data when there are multiple image data, to obtain an image data packet of the continuous image.
[0108] It should be noted that the data processing of the first device provided in the above embodiments is only illustrated by the division of the above-described program modules. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. Furthermore, the first device provided in the above embodiments is similar to the one described above... Figure 1 The provided processing method embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0109] Figure 6 This is a schematic diagram of the structural composition of the second device in this application, as shown below. Figure 6 As shown, the second device includes:
[0110] The sending unit 601 is used to send a screen acquisition request command to the first device through the remote control module of the first device, wherein the screen acquisition request command carries at least the Internet Protocol address and port number of the second device.
[0111] The receiving unit 602 is configured to receive a screen data packet sent by the first device based on the screen acquisition request command via the Internet Protocol address and the port number; the screen data packet contains screen data of the current screen of the first device captured by the first device during the system boot phase based on the screen acquisition request command.
[0112] The processing unit 603 is used to decrypt the image data packet to obtain the image data of the current screen of the first device.
[0113] In a preferred embodiment, the processing unit 603 is further configured to, when there are multiple image data packets, decrypt the multiple image data packets to obtain multiple image data of the current screen of the first device; and to perform continuous image processing on the multiple image data to obtain the video image of the current screen of the first device.
[0114] It should be noted that the second device provided in the above embodiments is only illustrated by the division of the above-described program modules when performing data processing. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. Furthermore, the electronic device provided in the above embodiments is similar to the one described above... Figure 2The provided processing method embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0115] This application also provides an electronic device, which includes: a processor and a memory for storing a computer program capable of running on the processor.
[0116] When the processor is used to run the computer program, it executes any one of the method steps in the above processing method.
[0117] Figure 7 This is a schematic diagram of the structure of the electronic device in this application. The electronic device 700 can be a mobile phone, computer, digital broadcasting terminal, information transceiver, game console, tablet device, medical device, fitness equipment, personal digital assistant, and other terminals. Figure 7 The illustrated electronic device 700 includes at least one processor 701, a memory 702, at least one network interface 704, and a user interface 703. The various components in the electronic device 700 are coupled together via a bus system 705. It is understood that the bus system 705 is used to implement communication between these components. In addition to a data bus, the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 7 The general labeled all buses as Bus System 705.
[0118] The user interface 703 may include a monitor, keyboard, mouse, trackball, click wheel, buttons, touchpad, or touch screen.
[0119] It is understood that memory 702 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 702 described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.
[0120] In this embodiment, the memory 702 is used to store various types of data to support the operation of the electronic device 700. Examples of this data include: any computer program for operation on the electronic device 700, such as the operating system 7021 and application program 7022; contact data; phonebook data; messages; pictures; audio, etc. The operating system 7021 includes various system programs, such as the framework layer, core library layer, driver layer, etc., for implementing various basic services and handling hardware-based tasks. The application program 7022 may include various applications, such as a media player, browser, etc., for implementing various application services. Programs implementing the methods of this embodiment may be included in the application program 7022.
[0121] The methods disclosed in the embodiments of this application can be applied to processor 701, or implemented by processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 701 or by instructions in the form of software. The processor 701 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 701 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory 702. Processor 701 reads the information in memory 702 and combines its hardware to complete the steps of the aforementioned method.
[0122] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.
[0123] In an exemplary embodiment, this application also provides a computer-readable storage medium, such as a memory 702 including a computer program, which can be executed by a processor 701 of an electronic device 700 to complete the steps described in the foregoing method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM; it may also be various devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0124] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs any of the method steps in the above-described processing method.
[0125] Figure 8 This is a schematic diagram illustrating the implementation of the data processing system in this application, such as... Figure 8 As shown, the system includes a control terminal 801 and a client 802. The control terminal 801 obtains request commands by using a remote management tool (such as the vPro Essentials platform) in the OEMcapabilities settings screen, and sends the IP address and port value of the control terminal 801 to the client 801 via the ASF SETBOOT OPTIONS command.
[0126] The Basic Input / Output System (BIOS) in client 801 retrieves boot options using the ASF GET BOOT OPTIONS command, checking for any incoming requests. If a request is received, it records the IP address and port number of the request. Then, it starts a screen capture timer to capture the screen image and obtains the VGA GOP protocol. The BIOS then requests a buffer (Blt Buffer) from memory to store the video image data. Next, it captures the full-screen image based on the screen capture timer's timer events and stores it in the buffer. Finally, it converts the image data stored in the buffer into a BMP bitmap file. At this point, the screen image of client 802 is saved as a BMP bitmap image.
[0127] After the BIOS saves the BMP bitmap file, it encrypts and compresses the file using RSA. Then, it creates a socket using `socket()`, sends a connection request to the control terminal 801 (with the previously noted IP address and port) using `connect()`, waits for a response, and continues execution. It processes the connections in a loop, using `recv()` or `send()` to receive and send data. After all data has been sent, it closes the socket using `close()`, terminating communication.
[0128] The control terminal 801 creates a Socket, binds the Socket to the local IP address and TCP port, and creates a waiting queue for client 802 to connect. It processes connections in a loop, accepting connections from client 802 using `accept()`, receiving and sending data, unpacking and examining received data packets from client 802, and terminating communication upon completion.
[0129] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0130] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0131] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0132] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0133] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0134] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data processing method, the method being applied to a first device, the method comprising: The basic input / output system of the first device obtains boot options via the Advanced Stream Format (ASF) acquisition command, and the boot options are set and sent by the remote second device via the Advanced Stream Format (ASF) setting command. The basic input / output system determines whether there is a screen capture request command from the second device based on the boot options, and the screen capture request command carries at least the Internet Protocol address and port number of the second device; If it is determined that there is a screen capture request command from the second device, the screen data of the current screen of the first device is captured during the system boot phase of the first device based on the screen capture request command; The image data is processed to obtain an image data packet. The first device is remotely managed by the second device based on the Internet Protocol address and the port number. The step of capturing screen data of the current screen of the first device during the system boot phase based on the screen acquisition request command includes: The screen capture timer of the first device is started based on the screen acquisition request command; The timer event based on the screen capture timer captures the image data of the current screen of the first device during the system boot phase of the first device.
2. The method according to claim 1, wherein, The step of capturing screen data of the current screen of the first device during the system boot phase based on the screen acquisition request command includes: Based on the screen acquisition request command, target commands related to the screen acquisition request command are monitored during the system boot phase of the first device; If the target command is detected, capture the screen data of the first device during the system boot phase of the first device.
3. The method according to claim 1, wherein, The step of capturing screen data of the current screen of the first device during the system boot phase based on the screen acquisition request command includes: The current startup status of the first device is determined based on the image acquisition request command; If the startup state determines that the first device is currently in the system boot phase, the screen data of the first device is captured during the system boot phase.
4. The method according to claim 1, wherein, The process of processing the image data to obtain the image data packet includes: The target cache is determined based on the screen acquisition request command, and the target cache is used to store the screen data of the first device. The image data in the target buffer is converted into a bitmap to obtain the image image of the image data. The image is encrypted and compressed to obtain the image data packet.
5. The method according to any one of claims 1 to 4, wherein, The step of processing the image data to obtain the image data packet further includes: The image data has multiple components; The multiple image data are processed sequentially to obtain image data packets of the sequential images.
6. A data processing method, the method being applied to a second device, the method comprising: The second device sets boot options via an Advanced Streaming Format (ASF) setting command and sends them to the first device, enabling the first device's Basic Input / Output System (BIS) to acquire the boot options via an ASF acquisition command and determine whether there is a screen acquisition request command from the second device based on the boot options. The screen acquisition request command carries at least the Internet Protocol address and port number of the second device. The first device receives a screen data packet sent by the first device based on the screen acquisition request command via the Internet Protocol address and the port number; the screen data packet contains screen data of the current screen of the first device captured by the first device during the system boot phase based on the screen capture timer event of the screen capture timer, and the screen capture timer is started based on the screen acquisition request command; The image data packet is decrypted to obtain the image data of the current screen of the first device.
7. The method according to claim 6, wherein, The method further includes: The image data packets are multiple; The multiple screen data packets are decrypted to obtain multiple screen data of the current screen of the first device; The multiple image data are processed continuously to obtain the video image of the current screen of the first device.
8. A first device, comprising: The receiving unit acquires boot options via Advanced Streaming Format (ASF) acquisition commands based on the basic input / output system of the first device. The boot options are set and sent by the remote second device via ASF setting commands. The basic input / output system determines whether there is a screen acquisition request command from the second device based on the boot options. The screen acquisition request command carries at least the Internet Protocol address and port number of the second device. The activation unit is used to activate the screen capture timer of the first device based on the screen capture request command when it is determined that there is a screen capture request command from the second device. The acquisition unit is used to capture the screen data of the current screen of the first device during the system boot phase of the first device based on the timer event of the screen capture timer. The processing unit is used to process the image data to obtain image data packets of the image data; The sending unit is configured to send the screen data packet to the second device based on the Internet Protocol address and the port number, so that the second device can remotely manage the first device based on the screen data packet.
9. A second device, comprising: The sending unit is configured to set boot options via an Advanced Streaming Format (ASF) setting command and send them to a first device, so that the basic input / output system of the first device can acquire the boot options via an ASF acquisition command, and determine whether there is a screen acquisition request command from the second device based on the boot options, wherein the screen acquisition request command carries at least the Internet Protocol address and port number of the second device. The receiving unit is configured to receive a screen data packet sent by the first device based on the screen acquisition request command via the Internet Protocol address and the port number; the screen data packet contains screen data of the current screen of the first device captured by the first device during the system boot phase based on a screen capture timer event, and the screen capture timer is started based on the screen acquisition request command; The processing unit is used to decrypt the image data packet to obtain the image data of the current screen of the first device.
Citation Information
Patent Citations
Enabling a pre-boot screen to be accessed remotely
US20210373910A1
