Remote monitoring method, system, device and medium for embedded screen automatic sewing machine
By performing remote analysis and synchronization of the interface model in the embedded screen automatic sewing machine, the problem of low remote monitoring efficiency caused by the limited memory of the embedded screen device is solved, and more efficient graphics synchronization and monitoring effects are achieved.
Patent Information
- Application Number
- CN202211303786.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-10-24
AI Technical Summary
The memory and operating frequency of the embedded screen device are limited, which makes the remote monitoring efficiency of the embedded screen automatic sewing machine low and difficult to meet the real-time requirements.
Through remote analysis and synchronization of the interface model between the monitoring software side and the embedded screen device side, changes in interface page numbers, control properties and graphic data are detected in real time, and the changed graphic compression data are synchronized to the monitoring software side, improving Graphic synchronization effect and remote monitoring efficiency.
It improves the graphics synchronization effect, improves the efficiency and accuracy of remote monitoring, saves memory on the monitoring software side, and improves space utilization.
Smart Images

Figure CN115616970B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a remote monitoring method, system, device and medium for an embedded screen automatic sewing machine. Background Art
[0002] An automatic sewing machine is a computer-controlled sewing machine that is equipped with an automatic monitoring system, automatic sewing start, sewing according to a set trajectory, needle stop, thread cutting, etc., and can automatically complete certain sewing processes. Currently, there is an embedded screen automatic sewing machine on the market, which can be remotely monitored using an embedded screen device.
[0003] However, the memory and operating frequency of embedded screen devices are very limited. The conventional method generally uses jpg (Joint Photographic Group) format or other common graphic compression, and then transmits it through the network to achieve interface synchronization. This method will be very laggy on embedded screen devices and requires a lot of large-capacity memory to support, making it difficult for the remote monitoring of sewing machine embedded screen devices to meet real-time requirements.
[0004] Therefore, the above technical problems need to be solved urgently. Summary of the invention
[0005] The embodiments of the present application provide a remote monitoring method, system, device and medium for an embedded screen automatic sewing machine to solve the problem that the embedded screen device is very laggy and requires a lot of large-capacity memory to support, making it difficult for the remote monitoring effect of the sewing machine embedded screen device to meet the real-time requirements.
[0006] The above-mentioned application objective 1 of the present application is achieved through the following technical solutions:
[0007] A remote monitoring method for an embedded screen automatic sewing machine includes the following steps performed by a monitoring software end:
[0008] Sending a remote monitoring request to the embedded screen device end, so that the embedded screen device end returns a remote monitoring request result based on the remote monitoring request;
[0009] If the remote monitoring request result is a successful request, then the embedded screen interface model is loaded, and the embedded screen interface model includes initial graphic compression data, initial interface page number and initial control properties;
[0010] Receive at least one of real-time graphic compression data, real-time interface page number and real-time control attribute sent by the embedded screen device, change the embedded screen interface model to obtain an updated interface model, the updated interface model includes updated graphic compression data, updated interface page and updated graphic;
[0011] Decompressing the updated graphic compressed data to obtain the updated graphic decompressed data, and displaying the corresponding page updated graphic of the updated interface model according to the updated graphic decompressed data;
[0012] End remote monitoring or disconnect from the network and uninstall the embedded screen interface model.
[0013] In a preferred example, the present application can be further configured as follows: after sending a remote monitoring request to the embedded screen device, the following steps are included:
[0014] If the result of the remote monitoring request is a request failure, the step of sending the remote monitoring request to the embedded screen device is repeated, so that the embedded screen device returns a remote monitoring request result as a request success based on the remote monitoring request.
[0015] A remote monitoring method for an embedded screen automatic sewing machine includes the following steps performed by an embedded screen device:
[0016] Receive the remote monitoring request sent by the monitoring software end, and return the remote monitoring request result to the monitoring software end, and the remote monitoring request result is that the request is successful;
[0017] Sending initial graphic compression data, initial interface page number and initial control properties to the monitoring software end;
[0018] Detecting the current page graphics, the current interface page number and the current control attributes in real time, and sending at least one of the real-time graphics compression data, the real-time interface page number and the real-time control attributes to the monitoring software end, so that the monitoring software end updates the interface model based on at least one of the real-time graphics compression data, the real-time interface page number and the real-time control attributes in real time;
[0019] Confirm to end the remote monitoring request or disconnect from the network.
[0020] In a preferred example, the present application can be further configured to: detect the current page graphics in real time, including:
[0021] If the current page graphics changes, the current page graphics are compressed to obtain corresponding real-time graphics compression data;
[0022] If the graphics on the current page do not change, the remote monitoring request is terminated or the network is disconnected.
[0023] In a preferred example, the present application can be further configured to: compress the current page graphics to obtain corresponding real-time graphics compression data, including:
[0024] Read the display content array of the data showing the current page graphics in RGB565 format, and generate a compressed storage array for storing compressed data based on the space of the display content array;
[0025] After storing the width and height of the pixel resolution of the current page graphic to be compressed into the head of the compression storage array respectively, the graphic data is traversed.
[0026] In a preferred example, the present application can be further configured as follows: after storing the width and height of the pixel resolution of the current page graphic to be compressed into the head of the compression storage array, traversing the graphic data, including:
[0027] When encountering pixels of the same color, the count starts from zero;
[0028] Based on the counting threshold, when the accumulated count reaches the counting threshold, the color pixel points and the accumulated count are stored in a compressed storage array;
[0029] When encountering a pixel of a different color, the accumulated count and the previous color pixel are stored in a compressed storage array;
[0030] When the traversal is completed, the current color pixel and the accumulated count are stored in the compressed storage array respectively.
[0031] In a preferred example, the present application may be further configured to: determine to end the remote monitoring request or disconnect the network, including:
[0032] If the remote monitoring request is not ended or the network is disconnected, the current interface page number or the current control property is detected in real time to see if it has changed;
[0033] If the current interface page number or the current control attribute changes, a change request carrying the information of the current interface page number and the control attribute is sent to the monitoring software end.
[0034] A remote monitoring system for an embedded screen automatic sewing machine includes a monitoring software end and an embedded screen device end, wherein the monitoring software end includes:
[0035] A remote monitoring request sending module is used to send a remote monitoring request to the embedded screen device end, so that the embedded screen device end returns a remote monitoring request result based on the remote monitoring request;
[0036] Loading the embedded screen interface model module, which is used to load the embedded screen interface model if the remote monitoring request result is a successful request, and the embedded screen interface model includes initial graphic compression data, initial interface page number and initial control properties;
[0037] A module for receiving compressed data and changing the interface model is used to receive at least one of the real-time graphic compression data, the real-time interface page number and the real-time control attribute sent by the embedded screen device, and change the embedded screen interface model to obtain an updated interface model, wherein the updated interface model includes updating the graphic compression data, updating the interface page and updating the graphic;
[0038] An update decompression graphic display module is used to decompress the update graphic compressed data, obtain the update graphic decompression data, and display the corresponding page update graphic of the update interface model according to the update graphic decompression data;
[0039] Uninstall the embedded interface model module, which is used to end remote monitoring or disconnect from the network and uninstall the embedded screen interface model.
[0040] The embedded screen device includes:
[0041] A module for receiving remote monitoring requests and returning remote monitoring request results is used to receive remote monitoring requests sent by the monitoring software end and return remote monitoring request results to the monitoring software end. The remote monitoring request result is that the request is successful;
[0042] The module for sending initial graphic compression data, initial interface page number and initial control attribute is used to send initial graphic compression data, initial interface page number and initial control attribute to the monitoring software end;
[0043] A module for sending real-time graphic compression data, real-time interface page number and real-time control attribute is used to detect the current page graphic, the current interface page number and the current control attribute in real time, and send at least one of the real-time graphic compression data, the real-time interface page number and the real-time control attribute to the monitoring software end, so that the monitoring software end updates the interface model based on at least one of the real-time graphic compression data, the real-time interface page number and the real-time control attribute in real time;
[0044] End program module, used to end remote monitoring request or disconnect from the network.
[0045] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the remote monitoring method of the above-mentioned embedded screen automatic sewing machine is implemented.
[0046] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the remote monitoring method of the above-mentioned embedded screen automatic sewing machine is implemented.
[0047] In summary, this application includes the following beneficial technical effects:
[0048] The above-mentioned remote monitoring method, system, device and medium of the embedded screen automatic sewing machine remotely parses the interface model and synchronizes the real-time interface page number, real-time control properties and real-time graphic compression data of the embedded screen device, detects again whether the regional graphics have changed, and compresses and synchronizes the updated graphics after the change to the monitoring software end, thereby improving the synchronization effect of the graphics and improving the efficiency and accuracy of remote monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creativity and labor.
[0050] Figure 1 A schematic diagram of the application environment of a remote monitoring method for an automatic sewing machine with an embedded screen in one embodiment of the present application is shown;
[0051] Figure 2 A flowchart of a remote monitoring method of an embedded screen automatic sewing machine according to an embodiment of the present application is shown;
[0052] Figure 3 Draws an overall flow chart of the remote monitoring method of the embedded screen automatic sewing machine in the first embodiment of the present application;
[0053] Figure 4 A schematic diagram of a remote monitoring system for an embedded screen automatic sewing machine according to an embodiment of the present application is shown;
[0054] Figure 5 A schematic diagram of a computer device in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0056] The remote monitoring method of the embedded screen automatic sewing machine provided in the embodiment of the present application can be applied in Figure 1 In the application environment, the remote monitoring method of the embedded screen automatic sewing machine is applied in the remote monitoring system of the embedded screen automatic sewing machine, and the remote monitoring system of the embedded screen automatic sewing machine includes a monitoring software end and an embedded screen device end, wherein the monitoring software end can be run on but not limited to various personal computers, laptops, smart phones, tablet computers and other computer devices. The embedded screen device end is applied to the embedded touch screen all-in-one machine, which refers to an embedded all-in-one machine with touch function.
[0057] In one embodiment, a remote monitoring method for an embedded screen automatic sewing machine is provided, and the remote monitoring method for the embedded screen automatic sewing machine includes the following steps performed by a monitoring software end:
[0058] A remote monitoring request is sent to the embedded screen device, so that the embedded screen device returns a remote monitoring request result based on the remote monitoring request.
[0059] If the result of the remote monitoring request is that the request is successful, the embedded screen interface model is loaded, and the embedded screen interface model includes initial graphic compression data, initial interface page number and initial control properties.
[0060] Receive at least one of real-time graphic compression data, real-time interface page number and real-time control attributes sent by the embedded screen device, change the embedded screen interface model to obtain an updated interface model, and the updated interface model includes updating the graphic compression data, updating the interface page and updating the graphic.
[0061] The updated graphic compressed data is decompressed to obtain the updated graphic decompressed data, and the corresponding page updated graphic of the updated interface model is displayed according to the updated graphic decompressed data.
[0062] End remote monitoring or disconnect from the network and uninstall the embedded screen interface model.
[0063] The remote monitoring method of the embedded screen automatic sewing machine also includes the following steps performed by the embedded screen device:
[0064] Receive the remote monitoring request sent by the monitoring software end, and return the remote monitoring request result to the monitoring software end. The remote monitoring request result is that the request is successful.
[0065] Send the initial graphic compression data, initial interface page number and initial control properties to the monitoring software.
[0066] Detect the current page graphics, current interface page number and current control attributes in real time, and send at least one of the real-time graphics compression data, real-time interface page number and real-time control attributes to the monitoring software end, so that the monitoring software end can update the interface model based on at least one of the real-time graphics compression data, real-time interface page number and real-time control attributes in real time.
[0067] Confirm to end the remote monitoring request or disconnect from the network.
[0068] In one embodiment, if Figure 2 As shown, a remote monitoring method for an embedded screen automatic sewing machine is provided, and the method is applied to the monitoring software end and the embedded screen device end as an example for explanation, and specifically includes the following steps:
[0069] S11. The monitoring software sends a remote monitoring request to the embedded screen device, so that the embedded screen device returns a remote monitoring request result based on the remote monitoring request.
[0070] Specifically, the monitoring software terminal initiates a remote monitoring request to the embedded screen device terminal, and the embedded screen device terminal receives the remote monitoring request sent by the monitoring software terminal.
[0071] The role of step S11 is to improve the correspondence between the monitoring software end and the embedded screen device end, so that the remote monitoring mutual authentication is unique.
[0072] S21. The embedded screen device receives the remote monitoring request sent by the monitoring software, and returns the remote monitoring request result to the monitoring software. The remote monitoring request result is that the request is successful.
[0073] Specifically, the embedded screen device receives the remote monitoring request sent by the monitoring software, analyzes and identifies it, and then determines whether the remote monitoring request can support remote monitoring. If the remote monitoring request is determined to support remote monitoring, a remote monitoring request result is generated as a remote monitoring request success, and the remote monitoring request result is returned to the monitoring software. If the remote monitoring request is determined not to support remote monitoring, it returns to the step of starting the program at the embedded screen device. If the embedded screen device does not receive the remote monitoring request, it returns to the step of starting the program at the embedded screen device.
[0074] S22. The embedded screen device sends initial graphic compression data, initial interface page number and initial control attributes to the monitoring software.
[0075] Specifically, when the embedded screen device determines that the remote monitoring request result is successful, the embedded screen device sends the initial graphic compression data, the initial interface page number and the initial control properties to the monitoring software for the first synchronization.
[0076] S12. If the remote monitoring request result is a successful request, the software monitoring end loads an embedded screen interface model, where the embedded screen interface model includes initial graphic compression data, an initial interface page number, and initial control attributes.
[0077] Specifically, after receiving the result of the remote monitoring request success, the monitoring software starts the embedded screen interface model parsing and loads the parsed embedded screen interface model. If the monitoring software request is not successful, it returns to the step of starting the program at the monitoring software.
[0078] Among them, the embedded screen interface model includes all control elements on the embedded screen device running the embedded screen device, including the position and shape of the button, etc. After the monitoring software loads the model, it can directly display the same interface as on the embedded screen device without the need to connect to the Internet. After the monitoring software connects to the Internet, it only needs the embedded screen device to upload a page to be displayed, the button name of the corresponding page or the content of the input box, etc. When there is a graphic on the page, the graphic compressed data will be uploaded to the software network end.
[0079] S23, the embedded screen device detects the current page graphics, the current interface page number and the current control attributes in real time, and sends at least one of the real-time graphics compression data, the real-time interface page number and the real-time control attributes to the monitoring software end, so that the monitoring software end updates the interface model based on at least one of the real-time graphics compression data, the real-time interface page number and the real-time control attributes in real time.
[0080] Specifically, the embedded screen device starts to periodically detect changes in the current page graphics, the current interface page number, and the current control properties. When the embedded screen device detects that the current interface page number or the current control properties have changed, it immediately performs a synchronization. When the embedded screen device detects that the current page graphics have changed, it first compresses the changed graphics and then performs a synchronization.
[0081] S24: The embedded screen device determines to end the remote monitoring request or disconnect from the network.
[0082] Specifically, when the embedded screen device compresses the graphics and sends the compressed data to the monitoring software, if you choose to end remote monitoring or disconnect the network, it returns to the step of starting the program of the embedded screen device; if you choose to continue remote monitoring or do not disconnect the network, it determines whether the current interface page number has changed or whether the current control properties have changed.
[0083] S13, the monitoring software receives at least one of the real-time graphic compression data, real-time interface page number and real-time control attribute sent by the embedded screen device, changes the embedded screen interface model to obtain an updated interface model, and the updated interface model includes updating the graphic compression data, updating the interface page and updating the graphic.
[0084] Specifically, when the monitoring software receives a request to change the current interface page number sent by the embedded screen device, the current interface page number corresponding to the loaded embedded screen interface model is changed. When the monitoring software receives a request to change the control attribute sent by the embedded screen device, the initial control attribute of the initial interface page number corresponding to the embedded screen interface model is changed.
[0085] S14, the monitoring software end decompresses the updated graphic compressed data, obtains the updated graphic decompressed data, and displays the corresponding page updated graphic of the updated interface model according to the updated graphic decompressed data.
[0086] Specifically, when the monitoring software receives the area graphic change request, it decompresses and displays the updated graphic of the updated interface page corresponding to the updated embedded screen interface model.
[0087] S15, the monitoring software ends remote monitoring or disconnects from the network, and uninstalls the embedded screen interface model.
[0088] Specifically, when the monitoring software updates the current interface page number, control properties, or decompresses the graphic display, if you choose to end remote monitoring or disconnect the network, the embedded screen interface model is uninstalled. If you choose to continue remote monitoring or do not disconnect the network, "receive at least one of the real-time graphic compression data, real-time interface page number, and real-time control properties sent by the embedded screen device end" is executed, and the step of "changing the embedded screen interface model to obtain the updated interface model" is continued until the remote monitoring is ended or the network is disconnected.
[0089] The purpose of step S15 is to save the memory of the monitoring software end and improve the space utilization rate of the monitoring software end.
[0090] Reference Figure 3 In one embodiment, after step S11, that is, after sending a remote monitoring request to the embedded screen device, the following steps are included:
[0091] S110. If the result of the remote monitoring request is a request failure, repeat the step of sending the remote monitoring request to the embedded screen device end, so that the embedded screen device end returns the result of the remote monitoring request as a request success based on the remote monitoring request.
[0092] In one embodiment, step S23, i.e., the embedded screen device detects the current page graphics in real time, includes:
[0093] S230: If the current page graphic changes, compress the current page graphic to obtain corresponding real-time graphic compression data.
[0094] S231. If the graphics on the current page do not change, then the remote monitoring request is terminated or the network is disconnected.
[0095] In one embodiment, step S230, namely compressing the current page graphics to obtain corresponding real-time graphics compression data, includes:
[0096] S232, reading the display content array of the data displaying the current page graphics in RGB565 format, and generating a compressed storage array for storing compressed data based on the space of the display content array.
[0097] The data displayed on the embedded screen device is in the form of a one-dimensional array of RGB565, and the video memory is filled with the RGB565 array. The video memory is also called the frame buffer, which is used to store the rendering data processed or to be extracted by the graphics chip. Just like the computer's memory, the video memory is a component used to store the graphics information to be processed.
[0098] Among them, a one-dimensional array is an array with a single structure composed of numbers. The array is arranged in a simple sorting structure and is the most basic array in a computer program.
[0099] Among them, the compressed storage array is memory dynamically allocated in advance, and the size of the space occupied by the compressed storage array is determined according to the size of the space occupied by the RGB565 array. In this embodiment, the limit of the compressed size is basically ensured in a 1:1 ratio.
[0100] S233, after storing the width and height of the pixel resolution of the current page graphic to be compressed into the head of the compression storage array respectively, traverse the graphic data.
[0101] The information contained in the header includes the position x and position y of the graphic display area on the embedded screen device, and the width and height of the resolution of the graphic area to be compressed. The position x is the pixel offset point position on the left side of the coordinate system, and the position y is the pixel offset point position on the top side of the coordinate system.
[0102] Specifically, the width and height of the resolution are placed in a custom format in the header. When the embedded screen device decompresses the compressed data, if the replacement position is not conducive to preprocessing during decompression, the memory of the decompressed array is applied and displayed to the specified area of the interface according to the header information, and then the decompressed graphic data is traversed.
[0103] In one embodiment, step S233, after storing the width and height of the pixel resolution of the current page graphic to be compressed into the head of the compression storage array, traversing the graphic data includes:
[0104] S234. When encountering pixels of the same color, the cumulative count starts from zero.
[0105] S235. Based on the counting threshold, when the accumulated count reaches the counting threshold, the color pixel point and the accumulated count are stored in a compressed storage array.
[0106] The counting threshold is data preset in the embedded screen device. In this embodiment, the counting threshold is set to 255.
[0107] Specifically, when the cumulative count reaches 255 during the process, the cumulative count and the color pixel points are stored in a compressed storage array.
[0108] S236. When encountering a pixel of a different color, store the accumulated count and the pixel of the previous color into a compressed storage array.
[0109] S237. When the traversal is completed, the current color pixel and the accumulated count are stored in the compressed storage array respectively.
[0110] In one embodiment, step S24, i.e., determining to end the remote monitoring request or disconnect the network, includes:
[0111] S240: If the remote monitoring request is not terminated or the network is disconnected, then real-time detection is performed to determine whether the current interface page number or the current control property has changed.
[0112] Specifically, if the current interface page number changes or the current control attribute changes, the current interface page number and the current control attribute are sent to the monitoring software end. If the current interface page number does not change or the current control attribute does not change, it is determined whether there is a graphic or whether the graphic has changed.
[0113] S241. If the current interface page number or the current control attribute changes, a change request carrying information of the current interface page number and the control attribute is sent to the monitoring software end.
[0114] The role of step S240 and step S241 is to improve the efficiency of remote monitoring.
[0115] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0116] The present embodiment provides a remote monitoring method for an embedded screen automatic sewing machine, which remotely parses the interface model and synchronizes the embedded screen device to carry the current interface page number, control properties and initial compression data of the graphics, detects again whether the regional graphics have changed, and compresses and synchronizes the changed regional graphics to the remote end, thereby improving the synchronization effect of the regional graphics and improving the efficiency and accuracy of remote monitoring.
[0117] In one embodiment, a remote monitoring system for an embedded screen automatic sewing machine is provided, and the remote monitoring system for the embedded screen automatic sewing machine corresponds one-to-one to the remote monitoring method for the embedded screen automatic sewing machine in the above embodiment. Figure 4 As shown, the remote monitoring system of the embedded screen automatic sewing machine includes a monitoring software terminal 10. Among them, the functional modules of the monitoring software terminal are described in detail as follows:
[0118] The remote monitoring request sending module 11 is used to send a remote monitoring request to the embedded screen device end, so that the embedded screen device end returns a remote monitoring request result based on the remote monitoring request.
[0119] The embedded screen interface model loading module 12 is used to load the embedded screen interface model if the remote monitoring request result is a successful request. The embedded screen interface model includes initial graphic compression data, initial interface page number and initial control attributes.
[0120] The module 13 for receiving compressed data and changing the interface model is used to receive at least one of the real-time graphic compressed data, the real-time interface page number and the real-time control attribute sent by the embedded screen device, and change the embedded screen interface model to obtain an updated interface model.
[0121] The update decompression graphic display module 14 is used to decompress the update graphic compressed data, obtain the update graphic decompression data, and display the update graphic of the update interface page corresponding to the update interface model according to the update graphic decompression data.
[0122] The embedded screen interface model uninstallation module 15 is used to end remote monitoring or disconnect the network and uninstall the embedded screen interface model.
[0123] In one embodiment, a remote monitoring system for an embedded screen automatic sewing machine is provided, and the remote monitoring system for the embedded screen automatic sewing machine corresponds one-to-one to the remote monitoring method for the embedded screen automatic sewing machine in the above embodiment. Figure 4 As shown, the remote monitoring system of the embedded screen automatic sewing machine includes an embedded screen device end 20. Among them, each functional module of the embedded screen device end is described in detail as follows:
[0124] The module 21 for receiving remote monitoring request and returning remote monitoring request result is used to receive the remote monitoring request sent by the monitoring software end and return the remote monitoring request result to the monitoring software end. The remote monitoring request result is that the request is successful.
[0125] The module 22 for sending the initial graphic compression data, the initial interface page number and the initial control attribute is used to send the initial graphic compression data, the initial interface page number and the initial control attribute to the monitoring software end.
[0126] The module 23 for sending real-time graphic compression data, real-time interface page number and real-time control attribute is used to detect the current page graphics, current interface page number and current control attributes in real time, and send at least one of the real-time graphic compression data, real-time interface page number and real-time control attributes to the monitoring software end, so that the monitoring software end can update the interface model based on at least one of the real-time graphic compression data, real-time interface page number and real-time control attributes in real time.
[0127] The end program module 24 is used to end the remote monitoring request or disconnect the network.
[0128] The remote monitoring system of the embedded screen automatic sewing machine provided in this embodiment can implement the various steps of the aforementioned embodiments due to the functions of its modules themselves and the logical connections between each other, and thus can achieve the same technical effects as the aforementioned embodiments. For principle analysis, please refer to the relevant description of the method steps of the remote monitoring of the embedded screen automatic sewing machine mentioned above, which will not be repeated here.
[0129] For the specific definition of the remote monitoring system of the embedded screen automatic sewing machine, please refer to the definition of the remote monitoring method of the embedded screen automatic sewing machine above, which will not be repeated here. Each module in the remote monitoring system of the above-mentioned embedded screen automatic sewing machine can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0130] In one embodiment, a computer device is provided, whose internal structure diagram can be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a serial number database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile medium and an internal memory. The non-volatile medium stores an operating system, a computer program and a serial number database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile medium. The serial number database of the computer device is used to store data to be saved in the remote monitoring method of the embedded screen automatic sewing machine. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a remote monitoring method of the embedded screen automatic sewing machine is implemented.
[0131] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the remote monitoring method of the embedded screen automatic sewing machine of the above embodiment is implemented, for example Figure 2 Alternatively, when the processor executes the computer program, the functions of each module / unit of the remote monitoring system of the embedded screen automatic sewing machine in the above embodiment are realized, for example Figure 4 The functions of modules 11 to 24 are shown in Figure 1. To avoid repetition, they will not be described here.
[0132] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the remote monitoring method of the embedded screen automatic sewing machine in the above embodiment is implemented, or when the computer program is executed by a processor, the functions of each module / unit in the remote monitoring system of the embedded screen automatic sewing machine in the above system embodiment are implemented. To avoid repetition, it will not be described here.
[0133] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, serial number database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0134] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above.
[0135] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A remote monitoring method for an embedded screen automatic sewing machine, applied to the monitoring software end and the embedded screen device end, It is characterized in that include: The methods applied to the monitoring software include: Sending a remote monitoring request to the embedded screen device end, so that the embedded screen device end returns a remote monitoring request result based on the remote monitoring request; If the remote monitoring request result is a successful request, then loading an embedded screen interface model, the embedded screen interface model including initial graphic compression data, an initial interface page number and initial control properties; Receive at least one of the real-time graphic compression data, the real-time interface page number and the real-time control attribute sent by the embedded screen device, and change the embedded screen interface model to obtain an updated interface model, wherein the updated interface model includes updated graphic compression data, updated interface page and updated graphic; Decompressing the updated graphic compressed data to obtain updated graphic decompressed data, and displaying the corresponding page updated graphic of the updated interface model according to the updated graphic decompressed data; End remote monitoring or disconnect from the network, and uninstall the embedded screen interface model; The methods applied to embedded screen devices include: Receive a remote monitoring request sent by the monitoring software end, and return a remote monitoring request result to the monitoring software end, wherein the remote monitoring request result is a successful request; Sending initial graphic compression data, initial interface page number and initial control attributes to the monitoring software end; Detecting the current page graphics, the current interface page number and the current control attributes in real time, and sending at least one of the real-time graphics compression data, the real-time interface page number and the real-time control attributes to the monitoring software end, so that the monitoring software end updates the interface model based on at least one of the real-time graphics compression data, the real-time interface page number and the real-time control attributes in real time; Determine to end the remote monitoring request or disconnect from the network; The real-time detection of the current page graphics includes: If the current page graphic changes, compressing the current page graphic to obtain corresponding real-time graphic compression data; If the current page graphic does not change, then the remote monitoring request is terminated or the network is disconnected; The compressing the current page graphics to obtain corresponding real-time graphics compression data includes: Reading a display content array of data displaying the current page graphics in RGB565 format, and generating a compressed storage array for storing compressed data based on the space of the display content array; After storing the width and height of the pixel resolution of the current page graphic to be compressed into the head of the compression storage array respectively, the graphic data is traversed.
2. According to claim 1, a remote monitoring method for an embedded screen automatic sewing machine, It is characterized in that When applied to the monitoring software end, after sending the remote monitoring request to the embedded screen device end, it includes: If the result of the remote monitoring request is a request failure, the step of sending the remote monitoring request to the embedded screen device is repeated, so that the embedded screen device returns a remote monitoring request result as a request success based on the remote monitoring request.
3. According to claim 1, a remote monitoring method for an embedded screen automatic sewing machine, It is characterized in that When applied to an embedded screen device, after storing the width and height of the pixel resolution of the current page graphic to be compressed into the head of the compression storage array, traversing the graphic data includes: When encountering pixels of the same color, the count starts from zero; Based on a counting threshold, when the accumulated count reaches the counting threshold, storing the color pixel and the accumulated count into the compression storage array; When encountering a pixel of a different color, storing the accumulated count and the pixel of the previous color into the compression storage array; When the traversal is finished, the current color pixel and the accumulated count are stored in the compressed storage array respectively.
4. According to claim 1, a remote monitoring method for an embedded screen automatic sewing machine, It is characterized in that When applied to an embedded screen device, the determination of ending the remote monitoring request or disconnecting the network includes: If the remote monitoring request is not terminated or the network is disconnected, detecting in real time whether the current interface page number or the current control attribute has changed; If the current interface page number or the current control attribute changes, a change request carrying information of the current interface page number and the control attribute is sent to the monitoring software end.
5. A remote monitoring system for an embedded screen automatic sewing machine, It is characterized in that It includes a monitoring software end and an embedded screen device end, and the monitoring software end includes: A remote monitoring request sending module is used to send a remote monitoring request to the embedded screen device end, so that the embedded screen device end returns a remote monitoring request result based on the remote monitoring request; Loading an embedded screen interface model module, for loading an embedded screen interface model if the remote monitoring request result is a successful request, wherein the embedded screen interface model includes initial graphic compression data, an initial interface page number, and initial control attributes; A module for receiving compressed data and changing an interface model is used to receive at least one of the real-time graphic compression data, the real-time interface page number and the real-time control attribute sent by the embedded screen device, and change the embedded screen interface model to obtain an updated interface model, wherein the updated interface model includes updated graphic compression data, updated interface page and updated graphics; An update decompression graphic display module, used for decompressing the update graphic compressed data, obtaining the update graphic decompression data, and displaying the corresponding page update graphic of the update interface model according to the update graphic decompression data; Uninstalling the embedded interface model module, used to end remote monitoring or disconnect the network and uninstall the embedded screen interface model; The embedded screen device includes: A module for receiving remote monitoring requests and returning remote monitoring request results is used to receive remote monitoring requests sent by the monitoring software end and return remote monitoring request results to the monitoring software end, wherein the remote monitoring request results indicate that the request is successful; A module for sending initial graphic compression data, initial interface page number and initial control attribute is used to send initial graphic compression data, initial interface page number and initial control attribute to the monitoring software end; A module for sending real-time graphic compression data, real-time interface page number and real-time control attribute is used to detect the current page graphic, the current interface page number and the current control attribute in real time, and send at least one of the real-time graphic compression data, the real-time interface page number and the real-time control attribute to the monitoring software end, so that the monitoring software end updates the interface model based on at least one of the real-time graphic compression data, the real-time interface page number and the real-time control attribute in real time; End program module, used to end remote monitoring request or disconnect network; The real-time detection of the current page graphics includes: If the current page graphic changes, compressing the current page graphic to obtain corresponding real-time graphic compression data; If the current page graphic does not change, then the remote monitoring request is terminated or the network is disconnected; The compressing the current page graphics to obtain corresponding real-time graphics compression data includes: Reading a display content array of data displaying the current page graphics in RGB565 format, and generating a compressed storage array for storing compressed data based on the space of the display content array; After storing the width and height of the pixel resolution of the current page graphic to be compressed into the head of the compression storage array respectively, the graphic data is traversed.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the remote monitoring method of the embedded screen automatic sewing machine as described in any one of claims 1-4 is implemented.
7. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by the processor, the remote monitoring method of the embedded screen automatic sewing machine as described in any one of claims 1 to 4 is implemented.
