Equipment display method, intelligent equipment and computer storage medium

Through the client, the binary file is compiled and sent. The intelligent device dynamically updates the screen content based on binary data, solving the problem that the display function of the smart device in the existing technology depends on firmware update, and achieving the effect of dynamic update.

CN120144076APending Publication Date: 2025-06-13CONGWEN SOFTWARE TECHNOLOGICAL SHENZHEN CITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311722678.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-12
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

The existing open source electronic prototype platform has low computing power and cannot handle complex computing logic, resulting in its display function relies on firmware updates and cannot dynamically update the screen output content.

Method used

The client establishes a connection with the smart device. The client compiles the input image into a binary file and sends it to the smart device through the connection. The smart device dynamically updates the screen output content based on the binary data in the binary file.

Benefits of technology

It realizes dynamic update of screen output content on smart devices, avoids the limitation of firmware updates, and improves the display function capabilities of smart devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120144076A_ABST
    Figure CN120144076A_ABST
Patent Text Reader

Abstract

The invention provides an equipment display method, intelligent equipment and a computer storage medium. The device display method is applied to the device display system, and the device display system comprises an intelligent device and a client. The equipment display method comprises the following steps: establishing connection between the client and the intelligent equipment; the client compiles an input image into a binary file and sends the binary file to the intelligent device through the connection; and the intelligent device displays the image based on the binary data in the binary file. Through the device display method, the screen output content is dynamically updated on the intelligent device by using the computing power of the client.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of device display, and particularly to a device display method, an intelligent device, and a computer storage medium. Background Art

[0002] An intelligent device is an existing open-source electronic prototype platform, which has the advantages of being open, reusable, powerful, low-cost, and low-threshold.

[0003] However, the current open-source electronic prototype platform has low computing power and cannot handle complex operation logics, resulting in the display function of the open-source electronic prototype platform depending on firmware updates and being unable to dynamically update the screen output content. Summary of the Invention

[0004] To solve the above technical problems, this application proposes a device display method, an intelligent device, and a computer storage medium.

[0005] To solve the above technical problems, this application proposes a device display method. The device display method is applied to a device display system, where the device display system includes an intelligent device and a client; the device display method includes:

[0006] The client establishes a connection with the intelligent device;

[0007] The client compiles the input image into a binary file and sends the binary file to the intelligent device through the connection;

[0008] The intelligent device displays the image based on the binary data in the binary file.

[0009] Among them, the client establishing a connection with the intelligent device includes:

[0010] The intelligent device displays a hotspot QR code;

[0011] In response to the scanning instruction of the hotspot QR code, the client obtains the connection information of the hotspot QR code;

[0012] The client establishes a connection with the intelligent device according to the connection information.

[0013] Among them, the client compiling the input image into a binary file includes:

[0014] The client performs binarization processing on the input image to obtain the binarization value of each pixel point in the image;

[0015] The client compiles the binarization values of each pixel point in sequence according to the pixel point order of the image to obtain a binarization value group;

[0016] The client compiles the binarization value group into a binary file.

[0017] Wherein, before the client performs binarization processing on the input image, the device display method further includes:

[0018] The client displays the web interface of the intelligent device;

[0019] In response to an image input instruction on the web interface, the client acquires an image file;

[0020] The client processes the image file based on the size setting condition of the web interface and displays the image according to the processed image file.

[0021] Wherein, the client performing binarization processing on the input image includes:

[0022] The client performs binarization processing on the image according to the binarization threshold of the web interface.

[0023] Wherein, the image input instruction is generated by inputting the image file into the web interface or by hand-drawing an image on the web interface.

[0024] Wherein, the intelligent device displaying the image based on the binary data in the binary file includes:

[0025] The intelligent device sequentially displays the pixels of each binary data based on the binary file, and finally displays the image composed of all the binary data in the binary file.

[0026] Wherein, the intelligent device sequentially displaying the pixels of each binary data based on the binary file includes:

[0027] The intelligent device sequentially displays the pixels of the binary data in each row or each column based on the binary file.

[0028] To solve the above technical problems, the present application also proposes an intelligent device, which includes a memory and a processor coupled to the memory; wherein, the memory is used for storing program data, and the processor is used for executing the program data to implement the device display method as described above.

[0029] To solve the above technical problems, the present application also proposes a computer storage medium, which is used for storing program data, and when the program data is executed by a computer, it is used to implement the above device display method.

[0030] Compared with the prior art, the beneficial effects of the present application are as follows: The client establishes a connection with the intelligent device; the client compiles the input image into a binary file and sends the binary file to the intelligent device through the connection; the intelligent device displays the image based on the binary data in the binary file. Through the above device display method, by utilizing the computing power of the client, the dynamic update of the screen output content on the intelligent device is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0032] Among them:

[0033] Figure 1 is a schematic flowchart of an embodiment of the device display method provided by the present application;

[0034] Figure 2 is Figure 1 a specific schematic flowchart of step S12 of the device display method shown;

[0035] Figure 3 is a schematic diagram of the web interface of the Arduino intelligent device provided by the present application;

[0036] Figure 4 is an output schematic diagram of the Arduino intelligent device provided by the present application;

[0037] Figure 5 is a schematic structural diagram of an embodiment of the intelligent device provided by the present application;

[0038] Figure 6 is a schematic structural diagram of an embodiment of the computer storage medium provided by the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0040] In the description of the present application, the claims, and the above-mentioned drawings, the terms "first", "second", "third", "fourth", etc. (if any) are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present application described herein, for example, can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0041] For details, please refer to Figure 1 , Figure 1 which is a schematic flowchart of an embodiment of the device display method provided by the present application.

[0042] The device display method of the present application is applied to a device display system. The device display system at least includes a client and an intelligent device. Specifically, the intelligent device involved in the present application is essentially an open-source electronic prototype platform, including but not limited to: Arduino, BeagleBone, Raspberry Pi, etc.

[0043] Among them, Arduino Uno is very common in the Maker community. Arduino has many different sizes and features, but in this application, Arduino Uno is selected as a representative. It is a very easy-to-develop platform, and many developers also choose it as a development environment. Moreover, its design makes it easy to connect to other devices. Compared with Arduino, Raspberry Pi is a relatively new member. It is actually an embedded computer, and it is also a full-featured desktop computer that is not expensive. It is a barebones system, and as a low-cost computer, it is a good platform for many projects. BeagleBone has good compatibility and can be used in many projects. It is a powerful Linux computer and can be installed in an Altoid's container.

[0044] In the subsequent description of the embodiments, the present application continues to introduce Arduino as the intelligent device in the device display system:

[0045] As Figure 1 shown, the specific steps are as follows:

[0046] Step S11: The client establishes a connection with the intelligent device.

[0047] In an embodiment of the present application, a client, such as a handheld terminal, establishes a communication connection with an Arduino smart device. The connection methods include, but are not limited to, wired connection or wireless connection. When connected by wire, the handheld terminal can directly connect to the communication interface of the Arduino smart device, or can be connected through other local terminals, that is, both the handheld terminal and the Arduino smart device are wired to the local terminal, and the local terminal is used as a transfer station for data and signal interaction. When connected wirelessly, the handheld terminal can connect to the same local area network as the Arduino smart device, or can establish a one-to-one hotspot connection with the Arduino smart device.

[0048] Specifically, after the Arduino smart device pre-written with the hotspot program is powered on, it will display the QR code of the hotspot information of the current smart device on the screen. The user can scan the QR code of the hotspot information on the Arduino smart device through the handheld terminal to obtain the hotspot connection information of the Arduino smart device. Among them, the hotspot connection information of the Arduino smart device includes the hotspot account and the hotspot password. After the handheld terminal successfully logs in to the hotspot through the hotspot connection information, it can establish a connection with the Arduino smart device, and the user enters the web management interface of the Arduino smart device through the handheld terminal.

[0049] Step S12: The client compiles the input image into a binary file and sends the binary file to the smart device through the connection.

[0050] In an embodiment of the present application, the user inputs the output content to be displayed on the screen of the Arduino smart device, such as an image, through the client in the web management interface of the Arduino smart device. Then, the client compiles the image into a binary file and sends the binary file to the Arduino smart device through the connection established in step S11.

[0051] It should be noted that at the client side, the source data to be processed can be any kind of data, such as image data, video data, signal input data, etc. The data processed by the client, that is, the data that needs to be transmitted to the Arduino smart device, must be unified into a binary file. In this application, through the computing power of the client, all data is unifiedly processed for the Arduino smart device at the front end. Thus, the Arduino smart device does not need to update the firmware. For all display tasks, the Arduino smart device only needs to have the ability to process binary files.

[0052] For the process of the client in this application compiling the binary file, please continue to refer to Figure 2 , Figure 2 is Figure 1 the specific process schematic diagram of step S12 of the device display method shown.

[0053] As Figure 2 shown, the specific steps are as follows:

[0054] Step S121: The client binarizes the input image to obtain the binarization value of each pixel point in the image.

[0055] In the embodiment of the present application, the client binarizes the image input by the user, and binarizes the image pixels in the pixel range of 0-255 into values of 0 and 1. For example, taking 128 as the binarization threshold, the pixel with an image pixel value of 90 has a binarization value of 0; the pixel with an image pixel value of 130 has a binarization value of 1.

[0056] Step S122: The client compiles the binarization values of each pixel point in sequence according to the pixel point order of the image to obtain a binarization value group.

[0057] In the embodiment of the present application, the client compiles the binarization values of each pixel point according to the pixel point order of the image to obtain a binarization value group. The binarization group of the image pixels {20, 50, 90, 200, 80, 250} is {0, 0, 0, 1, 0, 1}.

[0058] Step S123: The client compiles the binarization value group into a binary file.

[0059] In the embodiment of the present application, the client compiles the binarization group generated in step S122 into a binary file. For example, the binary file data representation of the binarization group {0, 0, 0, 1, 0, 1} is: {0x00, 0x00, 0x00, 0xff, 0x00, 0xff}.

[0060] Further, please continue to refer to Figure 3 , Figure 3 is a schematic diagram of the web interface of the Arduino intelligent device provided by the present application. As Figure 3 shown, the web interface of the Arduino intelligent device at least includes a file selection function, a threshold adjustment function, a file download function, and a size selection function. Users can perform front-end processing on the source data on the client through the above functions.

[0061] As Figure 3 shown, the user uploads a file through the file selection function. At this time, the file can specifically be an RGB format image file. The client binarizes the image file according to the binarization threshold currently set on the web interface. During this process, the user can flexibly set the specific value of the binarization threshold through the threshold adjustment button and view the schematic diagram after binarization processing on the web interface.

[0062] Further, the user can also generate an image file in real time by hand-drawing an image on the web interface. For example, the web interface can provide a graphics tablet or a drawing board. The user can manually draw a signature on the graphics tablet or manually draw on the drawing board. The client generates an image file based on the user's real-time input.

[0063] The user can also perform data preprocessing on the input image file by setting size conditions. For example, as Figure 3 shown, the user sets the width of the image to 100. If the image width of the image file is greater than 100, the client can automatically scale or crop the image file to adapt to the size conditions set by the user.

[0064] Step S13: The intelligent device displays the image based on the binary data in the binary file.

[0065] In the embodiment of the present application, the Arduino intelligent device obtains the binary file from the client through the connection established in step S11, and then updates the output content on the screen in real time according to the binary data in the binary file. For the specific output effect, please refer to Figure 4 .

[0066] Specifically, the Arduino intelligent device pre-writes a dynamic content display program for updating the screen output content in real time. The Arduino intelligent device sets the serial protocol that supports communication between the web browser and the Arduino intelligent device through the Arduino editor and compiles it into a binary file to be burned into the hardware of the Arduino intelligent device. The client uses the web serail API to transfer the binary file to the Arduino intelligent device through the above serial protocol and displays it on the screen of the Arduino intelligent device.

[0067] Specifically, at the display end of the Arduino intelligent device, the Arduino intelligent device can add a marquee display function. For example, before displaying the complete image, the Arduino intelligent device can first display the binarization value of each pixel in sequence according to the pixel position and binarization value in the binary file. After all pixels have been displayed once, the complete image is displayed. Further, in addition to the above marquee effect displayed in the order of pixel points, the Arduino intelligent device can also display the marquee effect in rows or columns, and other display methods are not specifically limited here.

[0068] In an embodiment of the present application, the client establishes a connection with the intelligent device; the client compiles the input image into a binary file and sends the binary file to the intelligent device through the connection; the intelligent device displays the image based on the binary data in the binary file. Through the above device display method, a low-performance intelligent device based on Arduino can utilize the computing power of the user's handheld terminal and the flexibility of web applications to dynamically update the screen output content without updating the firmware.

[0069] Those skilled in the art can understand that in the above method of the specific embodiment, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0070] To implement the above device display method, the present application also proposes an intelligent device. For details, please refer to Figure 5 , Figure 5 which is a schematic structural diagram of an embodiment of the intelligent device provided by the present application.

[0071] The intelligent device 400 in this embodiment includes a processor 41, a memory 42, an input / output device 43, and a bus 44.

[0072] The processor 41, the memory 42, and the input / output device 43 are respectively connected to the bus 44. The memory 42 stores program data, and the processor 41 is configured to execute the program data to implement the device display method described in the above embodiment.

[0073] In an embodiment of the present application, the processor 41 can also be referred to as a CPU (Central Processing Unit). The processor 41 may be an integrated circuit chip with signal processing capabilities. The processor 41 can also be a general-purpose processor, a digital signal processor (DSP, Digital Signal Process), an application-specific integrated circuit (ASIC, Application Specific Integrated Circuit), a field-programmable gate array (FPGA, FieldProgrammable Gate Array), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor 41 can also be any conventional processor, etc.

[0074] The present application also provides a computer storage medium. Please continue to refer to Figure 6 , Figure 6It is a schematic structural diagram of an embodiment of a computer storage medium provided by this application. In the computer storage medium 600, there is stored a computer program 61, and when the computer program 61 is executed by a processor, it is used to implement the device display method of the above embodiment.

[0075] When the embodiments of this application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0076] The above are only the implementation manners of this application, and do not limit the patent scope of this application. Any equivalent structural or equivalent process transformation made by using the content of the specification and drawings of this application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of this application.

Claims

1. A device display method, characterized in that, the device display method is applied to a device display system, wherein the device display system includes a smart device and a client; the device display method includes: the client establishes a connection with the smart device; the client compiles the input image into a binary file and sends the binary file to the smart device through the connection; the smart device displays the image based on the binary data in the binary file.

2. The device display method according to claim 1, characterized in that, the client establishing a connection with the smart device includes: the smart device displays a hotspot QR code; in response to a scan instruction of the hotspot QR code, the client obtains connection information of the hotspot QR code; the client establishes a connection with the smart device according to the connection information.

3. The device display method according to claim 1, characterized in that, the client compiling the input image into a binary file includes: the client performs binarization processing on the input image to obtain the binarization value of each pixel point in the image; the client sequentially compiles the binarization values of each pixel point according to the pixel point order of the image to obtain a binarization value group; the client compiles the binarization value group into a binary file.

4. The device display method according to claim 1 or 3, characterized in that, before the client performs binarization processing on the input image, the device display method further includes: the client displays the web interface of the smart device; in response to an image input instruction of the web interface, the client obtains an image file; the client processes the image file according to the size setting condition of the web interface and displays the image according to the processed image file.

5. The device display method according to claim 4, characterized in that, the client performing binarization processing on the input image includes: the client performs binarization processing on the image according to the binarization threshold of the web interface.

6. The device display method according to claim 4, characterized in that, the image input instruction is generated by inputting the image file into the web interface or by hand-drawing an image on the web interface.

7. The device display method according to claim 1, characterized in that, the smart device displaying the image based on the binary data in the binary file includes: the smart device sequentially displays the pixels of each binary data based on the binary file and finally displays the image composed of all the binary data of the binary file.

8. The device display method according to claim 7, characterized in that, the smart device sequentially displaying the pixels of each binary data based on the binary file includes: the smart device sequentially displays the pixels of the binary data of each row or each column based on the binary file.

9. A smart device, characterized in that, the smart device includes a memory and a processor coupled to the memory; Wherein, the memory is used to store program data, and the processor is used to execute the program data to implement the device display method according to any one of claims 1 to 8.

10. A computer storage medium, characterized in that the computer storage medium is used to store program data, and when the program data is executed by a computer, it is used to implement the device display method according to any one of claims 1 to 8.