Remote operation and maintenance method, device and equipment based on Bluetooth communication
Through the remote operation and maintenance method based on Bluetooth communication, the camera components and compression encoding technology are used to achieve safe operation and maintenance control of target computers that cannot be connected to the network, solving the problem of insufficient remote operation and maintenance security in the existing technology, and improving data security and operation and maintenance efficiency.
Patent Information
- Application Number
- CN202510101015.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-03-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing remote operation and maintenance methods have shortcomings in terms of security, especially for intranet devices that cannot be connected to the Internet, which may lead to data leakage and low security problems.
The remote operation and maintenance method based on Bluetooth communication is adopted, and the target computer is photographed through the camera component, and the control signal is transmitted through Bluetooth after compression and encoding is transmitted to achieve operation and maintenance control of the target computer.
The program page information of the target computer is obtained physically, avoid access to the Internet, reduce the risk of data leakage, and improve data security; at the same time, offline control of the target computer is achieved through Bluetooth transmission, and the security and efficiency of remote operation and maintenance are improved.
Smart Images

Figure CN119561939A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of remote operation and maintenance technology, and in particular to a remote operation and maintenance method, device and equipment based on Bluetooth communication. Background Art
[0002] Remote operation and maintenance refers to a technology and service model that monitors, manages, maintains and repairs remote equipment, systems or facilities through network communication technology. Remote operation and maintenance can break through geographical restrictions and match equipment with relevant technicians, thereby completing equipment status monitoring, problem diagnosis, parameter adjustment and troubleshooting.
[0003] Existing remote operation and maintenance methods are often remote operation and maintenance methods based on direct communication over the Internet, that is, real-time sharing of device desktop data through desktop sharing software, and operation and maintenance based on instructions sent remotely by technical personnel. In actual applications, remote operation and maintenance methods based on direct communication over the Internet enable devices to directly access the Internet, which may cause the risk of data leakage, and are not applicable to intranet devices that cannot be connected to the Internet due to confidentiality requirements, physical conditions or policy controls, which may result in lower security during remote operation and maintenance. Summary of the invention
[0004] The present invention provides a remote operation and maintenance method, device and equipment based on Bluetooth communication, the main purpose of which is to solve the problem of low security during remote operation and maintenance.
[0005] To achieve the above object, the present invention provides a remote operation and maintenance method based on Bluetooth communication, comprising: Use the camera component to take a picture of the target computer screen and obtain real-time screen video; Compressing and encoding the real-time screen video to obtain real-time screen code; Sending the real-time screen code to a remote control center, and obtaining a control command returned by the remote control center for the real-time screen code; Perform Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal; The channel control signal is modulated, encoded and transmitted via Bluetooth to obtain a Bluetooth control signal, and the Bluetooth control signal is used to perform operation and maintenance control on the target computer.
[0006] Optionally, compressing and encoding the real-time screen video to obtain real-time screen code includes: Performing video framing on the real-time screen video to obtain a real-time screen frame image sequence; De-noising and enhancing the real-time screen frame image sequence to obtain an enhanced screen frame image sequence; Performing screen frame intra-coding on the enhanced screen frame image sequence to obtain screen frame intra-coding; Performing inter-frame motion tracking and inter-frame coding on the enhanced screen frame image sequence to obtain screen inter-frame coding; Generate screen video frame coding according to the screen intra-frame coding and the screen inter-frame coding; Performing residual sparse transformation and sparse quantization operations on the screen video frame code to obtain a quantized video frame code; The quantized video frame code is entropy encoded to obtain a real-time screen code.
[0007] Optionally, performing screen intra-frame coding on the enhanced screen frame image sequence to obtain screen intra-frame coding includes: Performing key frame screening on the enhanced screen frame image sequence to obtain a key frame image group; Segmenting the key frame image group into block units to obtain a key frame block set; Selecting key frame tiles in the key frame tile set one by one as target key frame tiles, and using key frame tiles in the neighborhood of the target key frame tiles as a neighborhood key frame tile group; Extracting neighborhood frame block features from the neighborhood key frame block group; Performing block prediction on the target key frame block according to the neighborhood frame block features to obtain a predicted frame block; Gathering predicted frame blocks of all target key frame blocks in the key frame block set into a predicted frame block set; Performing residual calculation on the key frame block set according to the predicted frame block set to obtain a residual frame block set; Screen intra-frame coding is generated according to the prediction frame block set, the residual frame block set and the key frame block set.
[0008] Optionally, performing inter-frame motion tracking and inter-frame coding on the enhanced screen frame image sequence to obtain screen inter-frame coding includes: Performing foreground object detection on the enhanced screen frame image sequence to obtain a foreground bounding box sequence; Performing data association on the foreground bounding box sequence to obtain a bounding box matching relationship; Performing Kalman filtering on the foreground bounding box sequence according to the bounding box matching relationship to obtain a tracking bounding box sequence; Performing foreground segmentation on the enhanced screen frame image sequence according to the tracking boundary box sequence to obtain a tracking foreground block sequence and a background block sequence; Performing motion estimation on the tracked foreground image block sequence and the background image block sequence to obtain inter-frame motion information; Performing inter-frame prediction on the enhanced screen frame image sequence according to the inter-frame motion information to obtain a predicted screen frame image sequence; Performing residual calculation on the enhanced screen frame image sequence according to the predicted screen frame image sequence to obtain a residual screen frame sequence; Segmenting the residual screen frame sequence into block units according to the tracked foreground block sequence and the background block sequence to obtain a residual frame block set sequence; Screen inter-frame coding is generated according to the inter-frame motion information, the residual screen frame sequence and the residual frame tile set sequence.
[0009] Optionally, performing residual sparse transform and sparse quantization operations on the screen video frame code to obtain quantized video frame code includes: Extracting a residual frame block set and a residual screen frame sequence from the screen video encoding; Generate a residual block set according to the residual frame block set and the residual screen frame sequence; Initialize the basis transformation matrix; The residual blocks in the residual block set are selected one by one as the target residual blocks, and the target residual blocks are sparsely transformed according to the base transformation matrix using the following residual sparse transformation algorithm to obtain a residual sparse vector: in, refers to the residual sparse vector, It means taking When the function in takes its minimum value , refers to the target residual block, refers to the basis transformation matrix, is the symbol for the square of the quadratic norm, is the preset regularization coefficient, refers to the first norm symbol; Aggregating the residual sparse vectors of all target residual blocks in the residual block set into a residual sparse vector set; Performing a quantization operation on the residual sparse vector set to obtain a quantized sparse code; The screen video code is updated according to the quantized sparse code to obtain a quantized video frame code.
[0010] Optionally, performing Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal includes: Performing command format recognition and command splitting on the control command to obtain character command data and sensor command data; Performing time domain conversion on the sensing command data to obtain a time domain sensing signal; The time domain sensing signal is decomposed using the following signal decomposition algorithm to obtain the sensing signal coefficient: in, It means the scale is , time shift is The corresponding sensing signal coefficient is, It refers to the time domain sensing signal The sensor signal at the moment, is the signal length of the time domain sensing signal, is the time index; Performing sparse transformation on the sensing signal coefficients to obtain compressed sensing data; Performing character compression on the character command data to obtain compressed character data; generating compression command data according to the compressed character data and the compressed sensing data; Performing data encapsulation on the compressed command data to obtain coded control data; Channel coding is performed on the coded control data to obtain channel control data.
[0011] Optionally, performing channel coding on the coded control data to obtain channel control data includes: Filtering out a set of coded data packets from the coded control data; Selecting one by one the coded data packets in the coded data packet set as target coded data packets, and determining whether the first character of the target coded data packet is zero; If not, perform a bit-by-bit XOR operation on the first byte of the target coded data packet using a preset signal check code to obtain an XOR byte code, and perform a logical left shift on the XOR byte code to obtain a left-shift byte code; If yes, then the target encoded data packet is logically shifted left to obtain a left-shifted byte encoding; Determine whether the length of the left-shifted byte code is equal to a preset check code length; If not, the target coded data packet is updated using the left-shift byte encoding, and the process returns to the step of determining whether the first character of the target coded data packet is zero; If so, a channel coding data packet is generated according to the target coding data packet and the left-shift byte code, and the coding control data is updated using the channel coding data packets corresponding to all coding data packets in the coding data packet set to obtain channel control data.
[0012] Optionally, the performing modulation encoding and Bluetooth transmission on the channel control signal to obtain a Bluetooth control signal includes: Binary-encoding the channel control signal to obtain a control bit stream; Performing frequency offset mapping on the control bit stream to obtain a control frequency offset sequence; Performing Gaussian filtering on the control frequency offset sequence to obtain a smoothed frequency offset sequence; Performing carrier frequency modulation on the smoothed frequency offset sequence to obtain a frequency modulation control signal; Performing signal amplification and spectrum hopping on the frequency modulation control signal to obtain a radio frequency control signal; The radio frequency control signal is subjected to Bluetooth radio frequency transmission to obtain a Bluetooth control signal.
[0013] In order to solve the above problems, the present invention further provides a remote operation and maintenance device based on Bluetooth communication, the device comprising: The screen photography module is used to use the camera component to photograph the screen of the target computer and obtain real-time screen video; A compression coding module, used for compressing and coding the real-time screen video to obtain a real-time screen code; A command acquisition module, used for sending the real-time screen code to a remote control center, and acquiring a control command returned by the remote control center for the real-time screen code; A channel coding module, used for performing Bluetooth format coding and channel coding according to the control command to obtain a channel control signal; The Bluetooth control module is used to modulate and encode the channel control signal and transmit it via Bluetooth to obtain a Bluetooth control signal, and use the Bluetooth control signal to perform operation and maintenance control on the target computer.
[0014] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising: at least one processor; and, a memory communicatively coupled to the at least one processor; in, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned remote operation and maintenance method based on Bluetooth communication.
[0015] The present invention uses a camera component to photograph the screen of a target computer to obtain a real-time screen video, and can directly obtain the program page information of the target computer in a physical manner without connecting the target computer to the Internet, thereby reducing the risk of data leakage and ensuring the data security of the target computer. By compressing and encoding the real-time screen video to obtain a real-time screen code, the efficiency of video coding can be improved through target tracking technology, and the video compression cost can be reduced through a residual sparse transformation method, thereby improving the efficiency of video transmission. By obtaining the control command returned by the remote control center for the real-time screen code, limited information sharing of the target computer can be achieved, thereby reducing the risk of data leakage of the target computer and improving the security of remote operation and maintenance.
[0016] By performing Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal, it is possible to achieve efficient compression of the mouse sensor data in the control command, improve the Bluetooth transmission efficiency, and thus improve the efficiency of remote operation and maintenance. By modulating and encoding the channel control signal and transmitting it via Bluetooth, a Bluetooth control signal is obtained, and the target computer is operated and controlled using the Bluetooth control signal. The target computer can be directly commanded and controlled by offline Bluetooth transmission, achieving offline control of the target computer and improving the security of remote operation and maintenance. Therefore, the remote operation and maintenance method, device, and equipment based on Bluetooth communication proposed by the present invention can solve the problem of low security during remote operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flowchart of a remote operation and maintenance method based on Bluetooth communication provided by an embodiment of the present invention; Figure 2 A schematic flow chart of a method for generating real-time screen coding provided by an embodiment of the present invention; Figure 3 A schematic diagram of a flow chart of a method for generating a Bluetooth control signal provided by an embodiment of the present invention; Figure 4 A functional module diagram of a remote operation and maintenance device based on Bluetooth communication provided by an embodiment of the present invention; Figure 5 A schematic diagram of the structure of an electronic device of a remote operation and maintenance device based on Bluetooth communication provided by an embodiment of the present invention; The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0018] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0019] The embodiment of the present application provides a remote operation and maintenance method based on Bluetooth communication. The execution subject of the remote operation and maintenance method based on Bluetooth communication includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided in the embodiment of the present application. In other words, the remote operation and maintenance method based on Bluetooth communication can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.
[0020] Reference Figure 1 FIG. 1 is a flow chart of a remote operation and maintenance method based on Bluetooth communication provided in an embodiment of the present invention. In this embodiment, the remote operation and maintenance method based on Bluetooth communication includes: S1. Use the camera component to shoot the screen of the target computer to obtain real-time screen video.
[0021] In detail, the camera component refers to a component configured on the remote operation and maintenance robot for video monitoring, and the model of the camera component can be BFS-U3-13Y3C-C, Basler acA2500-60uc and BasleracA1600-60gm.
[0022] Specifically, the target computer refers to a computer that needs to be remotely operated and maintained. The target computer is in a networkless or intranet environment and is used to protect data security and prevent network attacks, such as a computer in a hospital intranet environment or a computer in a production plant intranet environment.
[0023] In detail, the use of a camera component to photograph the screen of a target computer to obtain a real-time screen video refers to directing the camera component to photograph the display screen of the target computer to obtain a real-time screen video.
[0024] In the embodiment of the present invention, by using a camera component to photograph the screen of a target computer to obtain a real-time screen video, the program page information of the target computer can be directly obtained in a physical manner without the need to connect the target computer to the Internet, thereby reducing the risk of data leakage and ensuring the data security of the target computer.
[0025] S2. compress and encode the real-time screen video to obtain real-time screen code.
[0026] In detail, the data space occupied by the real-time screen video is relatively large. In order to improve the transmission efficiency and reduce the video transmission delay, the real-time screen video needs to be compressed and encoded.
[0027] In the embodiment of the present invention, refer to Figure 2 As shown, the real-time screen video is compressed and encoded to obtain the real-time screen encoding, including: S21, performing video framing on the real-time screen video to obtain a real-time screen frame image sequence; S22, performing noise removal and enhancement on the real-time screen frame image sequence to obtain an enhanced screen frame image sequence; S23, performing screen frame intra-coding on the enhanced screen frame image sequence to obtain screen frame intra-coding; S24, performing inter-frame motion tracking and inter-frame coding on the enhanced screen frame image sequence to obtain screen inter-frame coding; S25, generating screen video frame coding according to the screen intra-frame coding and the screen inter-frame coding; S26, performing residual sparse transform and sparse quantization operations on the screen video frame code to obtain a quantized video frame code; S27, performing entropy coding on the quantized video frame code to obtain real-time screen code.
[0028] Specifically, FFmpeg or OpenCV may be used to perform video framing, that is, decomposing the real-time screen video into an image sequence consisting of a plurality of continuous real-time screen frame images.
[0029] In detail, the denoising and enhancement of the real-time screen frame image sequence to obtain an enhanced screen frame image sequence includes: performing Gaussian denoising on the real-time screen frame image sequence to obtain a primary denoised frame image sequence; performing gamma correction and contrast adjustment on the primary denoised frame image sequence to obtain a secondary denoised frame image sequence; and performing bilateral filtering on the secondary denoised frame image sequence to obtain an enhanced screen frame image sequence.
[0030] Specifically, gamma correction may be performed using an adaptive gamma correction or a multi-scale gamma correction method, and contrast adjustment may be performed using an adaptive histogram equalization or a linear contrast stretching method.
[0031] In detail, the performing screen frame intra-coding on the enhanced screen frame image sequence to obtain screen frame intra-coding includes: Performing key frame screening on the enhanced screen frame image sequence to obtain a key frame image group; Segmenting the key frame image group into block units to obtain a key frame block set; Selecting key frame tiles in the key frame tile set one by one as target key frame tiles, and using key frame tiles in the neighborhood of the target key frame tiles as a neighborhood key frame tile group; Extracting neighborhood frame block features from the neighborhood key frame block group; Performing block prediction on the target key frame block according to the neighborhood frame block features to obtain a predicted frame block; Gathering predicted frame blocks of all target key frame blocks in the key frame block set into a predicted frame block set; Performing residual calculation on the key frame block set according to the predicted frame block set to obtain a residual frame block set; Screen intra-frame coding is generated according to the prediction frame block set, the residual frame block set and the key frame block set.
[0032] In detail, the key frame screening refers to uniformly screening out the enhanced screen frame images in the enhanced screen frame image sequence according to a preset frame interval and compiling them into a key frame group as key frame images, for example, screening out one enhanced screen frame image as a key frame image every seventeen enhanced screen frame images.
[0033] Specifically, the multi-tree segmentation method can be used to perform block unit segmentation, that is, each image in the key frame image group is divided into key frame blocks of different sizes, and the surrounding neighborhood refers to the key frame blocks above, below, left, right and diagonally of the target key frame block.
[0034] In detail, generating the screen intra-frame code according to the prediction frame block set, the residual frame block set and the key frame block set refers to aggregating the prediction frame block set, the residual frame block set and the key frame block set into the screen intra-frame code.
[0035] Specifically, the neighborhood frame block features can be extracted using the Histogram of Oriented Gradients (HOG) algorithm or the feature convolution method, and block prediction can be performed using horizontal prediction, vertical prediction, diagonal prediction or plane prediction methods. The predicted frame block refers to the block data at the location of the target key frame block predicted based on the neighborhood frame block features.
[0036] In detail, the performing inter-frame motion tracking and inter-frame coding on the enhanced screen frame image sequence to obtain screen inter-frame coding includes: Performing foreground object detection on the enhanced screen frame image sequence to obtain a foreground bounding box sequence; Performing data association on the foreground bounding box sequence to obtain a bounding box matching relationship; Performing Kalman filtering on the foreground bounding box sequence according to the bounding box matching relationship to obtain a tracking bounding box sequence; Performing foreground segmentation on the enhanced screen frame image sequence according to the tracking boundary box sequence to obtain a tracking foreground block sequence and a background block sequence; Performing motion estimation on the tracked foreground image block sequence and the background image block sequence to obtain inter-frame motion information; Performing inter-frame prediction on the enhanced screen frame image sequence according to the inter-frame motion information to obtain a predicted screen frame image sequence; Performing residual calculation on the enhanced screen frame image sequence according to the predicted screen frame image sequence to obtain a residual screen frame sequence; Segmenting the residual screen frame sequence into block units according to the tracked foreground block sequence and the background block sequence to obtain a residual frame block set sequence; Screen inter-frame coding is generated according to the inter-frame motion information, the residual screen frame sequence and the residual frame tile set sequence.
[0037] In detail, the Faster R-CNN model or the optical flow method can be used to detect foreground targets, and the foreground bounding box sequence refers to the bounding box of the foreground area where pixel movement changes occur between frame images in the enhanced screen frame image sequence and the corresponding position coordinate information.
[0038] Specifically, the Hungarian Algorithm may be used for data association, wherein the data association refers to calculating the intersection and union distance relationship and the position relationship between adjacent foreground bounding boxes in the foreground bounding box sequence.
[0039] In detail, the foreground segmentation refers to aggregating the tracking foreground blocks corresponding to each tracking boundary box sequence in the enhanced screen frame image sequence into a tracking foreground block sequence, and aggregating the remaining blocks into a background block sequence as background blocks.
[0040] Specifically, the motion estimation refers to calculating the motion trajectory information and the motion vector corresponding to the tracked foreground block sequence, wherein the motion vector describes the displacement of the block from the reference frame to the current frame.
[0041] In detail, the inter-frame motion information includes the motion information of the tracked foreground block sequence and the motion information corresponding to the background block sequence. Inter-frame prediction can be performed using a motion compensation method. The inter-frame prediction refers to calculating a subsequent frame image sequence of each enhanced screen frame image in the enhanced screen frame image sequence.
[0042] Specifically, generating screen inter-frame coding according to the inter-frame motion information, the residual screen frame sequence and the residual frame block set sequence means aggregating the inter-frame motion information, the residual screen frame sequence and the residual frame block set sequence into screen inter-frame coding, and generating screen video frame coding according to the screen intra-frame coding and the screen inter-frame coding means aggregating the screen intra-frame coding and the screen inter-frame coding into screen video frame coding.
[0043] In the embodiment of the present invention, the step of performing residual sparse transformation and sparse quantization operations on the screen video frame code to obtain a quantized video frame code includes: Extracting a residual frame block set and a residual screen frame sequence from the screen video encoding; Generate a residual block set according to the residual frame block set and the residual screen frame sequence; Initialize the basis transformation matrix; Selecting residual blocks in the residual block set one by one as target residual blocks, and performing sparse transformation on the target residual blocks according to the base transformation matrix to obtain residual sparse vectors; Aggregating the residual sparse vectors of all target residual blocks in the residual block set into a residual sparse vector set; Performing a quantization operation on the residual sparse vector set to obtain a quantized sparse code; The screen video code is updated according to the quantized sparse code to obtain a quantized video frame code.
[0044] In detail, the base transformation matrix refers to a matrix used to project an input signal into a certain transformation domain during sparse coding, and the base transformation matrix can be initialized using a discrete cosine transformation matrix, a discrete wavelet transformation matrix, or a discrete Fourier transformation matrix.
[0045] Specifically, the following residual sparse transformation algorithm is used to perform sparse transformation to obtain a residual sparse vector: in, refers to the residual sparse vector, It means taking When the function in takes its minimum value , refers to the target residual block, refers to the basis transformation matrix, is the symbol for the square of the quadratic norm, is the preset regularization coefficient, It refers to the first norm symbol.
[0046] In detail, the residual sparse transform algorithm can reduce the non-zero coefficients required to represent the residual block, improve the coding efficiency, and reduce the complexity and bit rate of entropy coding through sparsity, thereby improving the coding efficiency.
[0047] In detail, the quantization operation is the process of converting a continuous numerical signal into a discrete numerical signal. The quantization operation can be performed using methods such as uniform quantization, appropriate quantization, and adaptive quantization. Entropy coding is a lossless data compression technology that reduces the number of bits required for data storage or transmission by assigning variable-length codes to data. Entropy coding can be performed using Huffman coding, arithmetic coding, or variable-length coding.
[0048] In an embodiment of the present invention, by compressing and encoding the real-time screen video to obtain real-time screen coding, the efficiency of video coding can be improved through target tracking technology, and the video compression cost can be reduced through the residual sparse transform method, thereby improving the efficiency of video transmission.
[0049] S3: Send the real-time screen code to a remote control center, and obtain a control command returned by the remote control center for the real-time screen code.
[0050] In an embodiment of the present invention, the remote control center refers to a control terminal where operation and maintenance related technicians are located. The remote control center is connected to the camera assembly via the Internet, and the real-time screen code can be sent to the remote control center using a wireless network transmission method.
[0051] In detail, the control command refers to data information for controlling the target computer obtained by typing on the keyboard or on the mouse of the video obtained after the technician of the remote control center decodes the real-time screen code.
[0052] In the embodiment of the present invention, by acquiring the control command returned by the remote control center for the real-time screen code, limited information sharing of the target computer can be achieved, thereby reducing the risk of data leakage of the target computer and improving the security of remote operation and maintenance.
[0053] S4. Perform Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal.
[0054] In detail, the channel control signal is redundantly encoded control command data, which can enhance the anti-interference capability of the control command during Bluetooth transmission, thereby improving the reliability of data transmission.
[0055] In the embodiment of the present invention, performing Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal includes: Performing command format recognition and command splitting on the control command to obtain character command data and sensor command data; Performing time domain conversion on the sensing command data to obtain a time domain sensing signal; Performing signal decomposition on the time domain sensing signal to obtain a sensing signal coefficient; Performing sparse transformation on the sensing signal coefficients to obtain compressed sensing data; Performing character compression on the character command data to obtain compressed character data; generating compression command data according to the compressed character data and the compressed sensing data; Performing data encapsulation on the compressed command data to obtain coded control data; Channel coding is performed on the coded control data to obtain channel control data.
[0056] Specifically, the command format recognition refers to identifying the data format corresponding to the control command, and the control command data includes character command data typed on the keyboard and sensor command data entered by the mouse. The time domain conversion refers to converting the sensor command data into signal data arranged in the time domain, that is, the related data of time and mouse coordinates.
[0057] Specifically, the time domain sensing signal is decomposed using the following signal decomposition algorithm to obtain the sensing signal coefficient: in, It means the scale is , time shift is The corresponding sensing signal coefficient is, It refers to the time domain sensing signal The sensor signal at the moment, is the signal length of the time domain sensing signal, is a time index.
[0058] Specifically, the signal decomposition algorithm can provide good frequency domain resolution, thereby meeting the oscillation and change requirements of the mouse sensor data, improving the accuracy of the signal after decomposition, and can use Huffman coding for character compression.
[0059] In detail, generating compressed command data based on the compressed character data and the compressed sensor data refers to splicing the compressed character data and the compressed sensor data into compressed command data, and data encapsulation refers to packaging the compressed command data into multiple data packets supported by the Bluetooth protocol, and adding header information such as address and packet sequence number to each data packet.
[0060] In detail, the performing channel coding on the coded control data to obtain channel control data includes: Filtering out a set of coded data packets from the coded control data; Selecting one by one the coded data packets in the coded data packet set as target coded data packets, and determining whether the first character of the target coded data packet is zero; If not, perform a bit-by-bit XOR operation on the first byte of the target coded data packet using a preset signal check code to obtain an XOR byte code, and perform a logical left shift on the XOR byte code to obtain a left-shift byte code; If yes, then the target encoded data packet is logically shifted left to obtain a left-shifted byte encoding; Determine whether the length of the left-shifted byte code is equal to a preset check code length; If not, the target coded data packet is updated using the left-shift byte encoding, and the process returns to the step of determining whether the first character of the target coded data packet is zero; If so, a channel coding data packet is generated according to the target coding data packet and the left-shift byte code, and the coding control data is updated using the channel coding data packets corresponding to all coding data packets in the coding data packet set to obtain channel control data.
[0061] Specifically, each coded data packet in the coded data packet set refers to a data packet packed in the data encapsulation and does not contain header information.
[0062] In detail, the signal check code may be data in a CRC register, the preset check code length may be four or eight, and generating a channel coding data packet according to the target coding data packet and the left-shift byte code means splicing the left-shift byte code after the target coding data packet to obtain a channel coding data packet.
[0063] In an embodiment of the present invention, by performing Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal, efficient compression of the mouse sensor data in the control command can be achieved, the Bluetooth transmission efficiency is improved, and thus the efficiency of remote operation and maintenance is improved.
[0064] S5. Modulate and encode the channel control signal and transmit it via Bluetooth to obtain a Bluetooth control signal, and use the Bluetooth control signal to perform operation and maintenance control on the target computer.
[0065] In the embodiment of the present invention, the Bluetooth control signal refers to a control signal received by the target computer via Bluetooth, and the target computer communicates with the computer to which the camera assembly is connected via a Bluetooth receiver.
[0066] For details, refer to Figure 3As shown, the channel control signal is modulated and encoded and transmitted via Bluetooth to obtain a Bluetooth control signal, including: S31, binary-encoding the channel control signal to obtain a control bit stream; S32, performing frequency offset mapping on the control bit stream to obtain a control frequency offset sequence; S33, performing Gaussian filtering on the control frequency offset sequence to obtain a smoothed frequency offset sequence; S34, performing carrier frequency modulation on the smoothed frequency offset sequence to obtain a frequency modulation control signal; S35, performing signal amplification and spectrum hopping on the frequency modulation control signal to obtain a radio frequency control signal; S36: Perform Bluetooth radio frequency transmission on the radio frequency control signal to obtain a Bluetooth control signal.
[0067] Specifically, the binary encoding refers to encoding the channel control signal into a control bit stream in a binary data stream format, and the frequency offset mapping refers to mapping the bit values in the control bit stream into different frequency offsets, for example, 1 is mapped to a positive frequency offset and 0 is mapped to a negative frequency offset.
[0068] In detail, carrier frequency modulation can be performed using frequency modulation algorithms such as GFSK modulation, π / 4-DQPSK modulation or 8-DPSK modulation, and spectrum frequency hopping can be performed using the BLE frequency hopping method. The Bluetooth transmission refers to screening out the Bluetooth receiving channel of the target computer, sending the radio frequency control signal to the Bluetooth receiving channel of the target computer, and the target computer receives the Bluetooth control signal.
[0069] Specifically, the use of the Bluetooth control signal to perform operation and maintenance control on the target computer means that the target computer performs signal synchronization, signal filtering and signal demodulation on the Bluetooth control signal to obtain a control bit stream, and restores the control bit stream into a channel control signal, performs channel decoding and data correction on the channel control signal to obtain coded control data, and decodes the control command from the coded control data, and performs operation and maintenance control on the target computer according to the control command.
[0070] In detail, the channel decoding and data correction method is the inverse step of the channel encoding method in the above step S4, and the method of decoding the control command from the encoded control data is the inverse step of the Bluetooth format encoding in the above step S4.
[0071] In an embodiment of the present invention, the channel control signal is modulated and encoded and transmitted via Bluetooth to obtain a Bluetooth control signal, and the target computer is operated and controlled using the Bluetooth control signal. The target computer can be directly commanded and controlled via offline Bluetooth transmission, thereby achieving offline control of the target computer and improving the security of remote operation and maintenance.
[0072] The present invention uses a camera component to photograph the screen of a target computer to obtain a real-time screen video, and can directly obtain the program page information of the target computer in a physical manner without connecting the target computer to the Internet, thereby reducing the risk of data leakage and ensuring the data security of the target computer. By compressing and encoding the real-time screen video to obtain a real-time screen code, the efficiency of video coding can be improved through target tracking technology, and the video compression cost can be reduced through a residual sparse transformation method, thereby improving the efficiency of video transmission. By obtaining the control command returned by the remote control center for the real-time screen code, limited information sharing of the target computer can be achieved, thereby reducing the risk of data leakage of the target computer and improving the security of remote operation and maintenance.
[0073] By performing Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal, it is possible to achieve efficient compression of the mouse sensor data in the control command, improve the Bluetooth transmission efficiency, and thus improve the efficiency of remote operation and maintenance. By modulating and encoding the channel control signal and transmitting it via Bluetooth, a Bluetooth control signal is obtained, and the target computer is operated and controlled using the Bluetooth control signal. The target computer can be directly controlled by command through offline Bluetooth transmission, achieving offline control of the target computer and improving the security of remote operation and maintenance. Therefore, the remote operation and maintenance method based on Bluetooth communication proposed by the present invention can solve the problem of low security during remote operation and maintenance.
[0074] like Figure 4 , which is a functional module diagram of a remote operation and maintenance device based on Bluetooth communication provided by an embodiment of the present invention.
[0075] The remote operation and maintenance device 100 based on Bluetooth communication of the present invention can be installed in an electronic device. According to the functions to be implemented, the remote operation and maintenance device 100 based on Bluetooth communication can include a screen photography module 101, a compression coding module 102, a command acquisition module 103, a channel coding module 104 and a Bluetooth control module 105. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0076] In this embodiment, the functions of each module / unit are as follows: The screen photography module 101 is used to use a camera component to photograph the screen of a target computer to obtain a real-time screen video; The compression coding module 102 is used to compress and code the real-time screen video to obtain real-time screen code; The command acquisition module 103 is used to send the real-time screen code to the remote control center and acquire the control command returned by the remote control center for the real-time screen code; The channel coding module 104 is used to perform Bluetooth format coding and channel coding according to the control command to obtain a channel control signal; The Bluetooth control module 105 is used to modulate and encode the channel control signal and transmit it via Bluetooth to obtain a Bluetooth control signal, and use the Bluetooth control signal to perform operation and maintenance control on the target computer.
[0077] In detail, each module described in the remote operation and maintenance device 100 based on Bluetooth communication in the embodiment of the present invention is used in the same manner as described above. Figure 1 The remote operation and maintenance method based on Bluetooth communication described in the present invention has the same technical means and can produce the same technical effects, so it will not be repeated here.
[0078] like Figure 5 , which is a schematic diagram of the structure of an electronic device for implementing a remote operation and maintenance method based on Bluetooth communication provided by an embodiment of the present invention.
[0079] The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a remote operation and maintenance program based on Bluetooth communication.
[0080] In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (for example, executing remote operation and maintenance programs based on Bluetooth communication, etc.), and calls data stored in the memory 11 to execute various functions of the electronic device and process data.
[0081] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of a remote operation and maintenance program based on Bluetooth communication, but also can be used to temporarily store data that has been output or is to be output.
[0082] The communication bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0083] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.
[0084] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0085] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0086] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0087] The remote operation and maintenance program based on Bluetooth communication stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve: Use the camera component to take a picture of the target computer screen and obtain real-time screen video; Compressing and encoding the real-time screen video to obtain real-time screen code; Sending the real-time screen code to a remote control center, and obtaining a control command returned by the remote control center for the real-time screen code; Perform Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal; The channel control signal is modulated, encoded and transmitted via Bluetooth to obtain a Bluetooth control signal, and the Bluetooth control signal is used to perform operation and maintenance control on the target computer.
[0088] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.
[0089] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0090] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0091] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0092] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0093] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0094] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0095] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application device that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0096] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices stated in the device embodiment can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A remote operation and maintenance method based on Bluetooth communication, characterized in that: The method comprises: Use the camera component to take a picture of the target computer screen and obtain real-time screen video; Compressing and encoding the real-time screen video to obtain real-time screen code; Sending the real-time screen code to a remote control center, and obtaining a control command returned by the remote control center for the real-time screen code; Perform Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal; The channel control signal is modulated, encoded and transmitted via Bluetooth to obtain a Bluetooth control signal, and the Bluetooth control signal is used to perform operation and maintenance control on the target computer.
2. The remote operation and maintenance method based on Bluetooth communication according to claim 1, characterized in that: The compressing and encoding the real-time screen video to obtain the real-time screen code comprises: Performing video framing on the real-time screen video to obtain a real-time screen frame image sequence; De-noising and enhancing the real-time screen frame image sequence to obtain an enhanced screen frame image sequence; Performing screen frame intra-coding on the enhanced screen frame image sequence to obtain screen frame intra-coding; Performing inter-frame motion tracking and inter-frame coding on the enhanced screen frame image sequence to obtain screen inter-frame coding; Generate screen video frame coding according to the screen intra-frame coding and the screen inter-frame coding; Performing residual sparse transformation and sparse quantization operations on the screen video frame code to obtain a quantized video frame code; The quantized video frame code is entropy encoded to obtain a real-time screen code.
3. The remote operation and maintenance method based on Bluetooth communication according to claim 2, characterized in that: The performing screen frame intra-coding on the enhanced screen frame image sequence to obtain screen frame intra-coding comprises: Performing key frame screening on the enhanced screen frame image sequence to obtain a key frame image group; Segmenting the key frame image group into block units to obtain a key frame block set; Selecting key frame tiles in the key frame tile set one by one as target key frame tiles, and using key frame tiles in the neighborhood of the target key frame tiles as a neighborhood key frame tile group; Extracting neighborhood frame block features from the neighborhood key frame block group; Performing block prediction on the target key frame block according to the neighborhood frame block features to obtain a predicted frame block; Gathering predicted frame blocks of all target key frame blocks in the key frame block set into a predicted frame block set; Performing residual calculation on the key frame block set according to the predicted frame block set to obtain a residual frame block set; Screen intra-frame coding is generated according to the prediction frame block set, the residual frame block set and the key frame block set.
4. The remote operation and maintenance method based on Bluetooth communication according to claim 2, characterized in that: The step of performing inter-frame motion tracking and inter-frame coding on the enhanced screen frame image sequence to obtain screen inter-frame coding includes: Performing foreground object detection on the enhanced screen frame image sequence to obtain a foreground bounding box sequence; Performing data association on the foreground bounding box sequence to obtain a bounding box matching relationship; Performing Kalman filtering on the foreground bounding box sequence according to the bounding box matching relationship to obtain a tracking bounding box sequence; Performing foreground segmentation on the enhanced screen frame image sequence according to the tracking boundary box sequence to obtain a tracking foreground block sequence and a background block sequence; Performing motion estimation on the tracked foreground image block sequence and the background image block sequence to obtain inter-frame motion information; Performing inter-frame prediction on the enhanced screen frame image sequence according to the inter-frame motion information to obtain a predicted screen frame image sequence; Performing residual calculation on the enhanced screen frame image sequence according to the predicted screen frame image sequence to obtain a residual screen frame sequence; Segmenting the residual screen frame sequence into block units according to the tracked foreground block sequence and the background block sequence to obtain a residual frame block set sequence; Screen inter-frame coding is generated according to the inter-frame motion information, the residual screen frame sequence and the residual frame tile set sequence.
5. The remote operation and maintenance method based on Bluetooth communication according to claim 2, characterized in that: The performing residual sparse transformation and sparse quantization operations on the screen video frame code to obtain quantized video frame code includes: Extracting a residual frame block set and a residual screen frame sequence from the screen video encoding; Generate a residual block set according to the residual frame block set and the residual screen frame sequence; Initialize the basis transformation matrix; The residual blocks in the residual block set are selected one by one as the target residual blocks, and the target residual blocks are sparsely transformed according to the base transformation matrix using the following residual sparse transformation algorithm to obtain a residual sparse vector: in, refers to the residual sparse vector, It means taking When the function in takes its minimum value , refers to the target residual block, refers to the basis transformation matrix, is the symbol for the square of the quadratic norm, is the preset regularization coefficient, refers to the first norm symbol; Aggregating the residual sparse vectors of all target residual blocks in the residual block set into a residual sparse vector set; Performing a quantization operation on the residual sparse vector set to obtain a quantized sparse code; The screen video code is updated according to the quantized sparse code to obtain a quantized video frame code.
6. The remote operation and maintenance method based on Bluetooth communication according to claim 1, characterized in that: The performing Bluetooth format encoding and channel encoding according to the control command to obtain a channel control signal includes: Performing command format recognition and command splitting on the control command to obtain character command data and sensor command data; Performing time domain conversion on the sensing command data to obtain a time domain sensing signal; The time domain sensing signal is decomposed using the following signal decomposition algorithm to obtain the sensing signal coefficient: in, It means the scale is , time shift is The corresponding sensing signal coefficient is It refers to the time domain sensing signal The sensor signal at the moment, is the signal length of the time domain sensing signal, is the time index; Performing sparse transformation on the sensing signal coefficients to obtain compressed sensing data; Performing character compression on the character command data to obtain compressed character data; generating compression command data according to the compressed character data and the compressed sensing data; Performing data encapsulation on the compressed command data to obtain coded control data; Channel coding is performed on the coded control data to obtain channel control data.
7. The remote operation and maintenance method based on Bluetooth communication according to claim 1, characterized in that: The performing channel coding on the coded control data to obtain channel control data comprises: Filtering out a set of coded data packets from the coded control data; Selecting one by one the coded data packets in the coded data packet set as target coded data packets, and determining whether the first character of the target coded data packet is zero; If not, perform a bit-by-bit XOR operation on the first byte of the target coded data packet using a preset signal check code to obtain an XOR byte code, and perform a logical left shift on the XOR byte code to obtain a left-shift byte code; If yes, then the target encoded data packet is logically shifted left to obtain a left-shifted byte encoding; Determine whether the length of the left-shifted byte code is equal to a preset check code length; If not, the target coded data packet is updated using the left-shift byte encoding, and the process returns to the step of determining whether the first character of the target coded data packet is zero; If so, a channel coding data packet is generated according to the target coding data packet and the left-shift byte code, and the coding control data is updated using the channel coding data packets corresponding to all coding data packets in the coding data packet set to obtain channel control data.
8. The remote operation and maintenance method based on Bluetooth communication according to claim 1, characterized in that: The step of modulating and encoding the channel control signal and transmitting the signal via Bluetooth to obtain a Bluetooth control signal includes: Binary-encoding the channel control signal to obtain a control bit stream; Performing frequency offset mapping on the control bit stream to obtain a control frequency offset sequence; Performing Gaussian filtering on the control frequency offset sequence to obtain a smoothed frequency offset sequence; Performing carrier frequency modulation on the smoothed frequency offset sequence to obtain a frequency modulation control signal; Performing signal amplification and spectrum hopping on the frequency modulation control signal to obtain a radio frequency control signal; The radio frequency control signal is subjected to Bluetooth radio frequency transmission to obtain a Bluetooth control signal.
9. A remote operation and maintenance device based on Bluetooth communication, characterized in that: The device comprises: The screen photography module is used to use the camera component to photograph the screen of the target computer and obtain real-time screen video; A compression coding module, used for compressing and coding the real-time screen video to obtain a real-time screen code; A command acquisition module, used for sending the real-time screen code to a remote control center, and acquiring a control command returned by the remote control center for the real-time screen code; A channel coding module, used for performing Bluetooth format coding and channel coding according to the control command to obtain a channel control signal; The Bluetooth control module is used to modulate and encode the channel control signal and transmit it via Bluetooth to obtain a Bluetooth control signal, and use the Bluetooth control signal to perform operation and maintenance control on the target computer.
10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the remote operation and maintenance method based on Bluetooth communication as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Remote control method, device, equipment, storage medium and system
CN112153140A
Camera video transmission bandwidth optimization method and device, equipment and storage medium
CN115209147A
Rail transit operation and maintenance data transmission method and device based on unmanned inspection
CN115955296A
Terminal equipment remote control method and device based on video images
CN117336430A
Method, apparatus and computer program product for end-to-end learned predictive coding of media frames
US20240146938A1