CN110248040B - Image data transmission method and device and electronic equipment - Google Patents

Image data transmission method and device and electronic equipment Download PDF

Info

Publication number
CN110248040B
CN110248040B CN201810189816.1A CN201810189816A CN110248040B CN 110248040 B CN110248040 B CN 110248040B CN 201810189816 A CN201810189816 A CN 201810189816A CN 110248040 B CN110248040 B CN 110248040B
Authority
CN
China
Prior art keywords
display
instruction
image data
ids
composite
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810189816.1A
Other languages
Chinese (zh)
Other versions
CN110248040A (en
Inventor
韩建康
廖小猛
梁莹莹
伊鸿雁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810189816.1A priority Critical patent/CN110248040B/en
Publication of CN110248040A publication Critical patent/CN110248040A/en
Application granted granted Critical
Publication of CN110248040B publication Critical patent/CN110248040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32267Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
    • H04N1/32277Compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32352Controlling detectability or arrangements to facilitate detection or retrieval of the embedded information, e.g. using markers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer

Abstract

The embodiment of the invention provides an image data transmission method, an image data transmission device and electronic equipment, wherein the method comprises the following steps: acquiring a display instruction set for displaying image data on a display array, wherein each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous; compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units; and broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit. The scheme of the embodiment of the invention can reduce the data transmission quantity and improve the data transmission efficiency.

Description

Image data transmission method and device and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an image data transmission method and apparatus, and an electronic device.
Background
In scenes such as large-scale meeting, evening meeting, concert and the like, the stage and the stand are often required to carry out light interaction, and the wearable equipment can be worn by the audience of the stand in practice. In the prior art, the light interaction of the stage and the stand is usually realized by adopting a luminous bracelet. Firstly, a luminous bracelet is worn for the audience of each seat of a field stand, then, when the activity starts, the control system controls the display time and the display color of the luminous bracelet according to the ID of each bracelet, so that the bracelet worn by each audience on the stand becomes a pixel point, all seats form the display array of the pixel point, the whole stand looks like to display a frame of picture along with the time, and the effect of 'stand shadow discharge' is realized.
At present, in a wireless distributed bracelet display array scene, data transmission amount and data transmission amount are usually very large, so in an existing applicable scene digital media compression method, complete media stream data receiving and compression operations are usually required at a receiving end. Although the network media compression method in the prior art can improve the media compression ratio and has higher customizability, the encoding and decoding complexity is higher, the requirement on the hardware performance is higher, and the disadvantage of overhigh cost exists.
Disclosure of Invention
The invention provides an image data transmission method, an image data transmission device and electronic equipment, which can reduce data transmission quantity and improve data transmission efficiency.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an image data transmission method is provided, including:
acquiring a display instruction set for displaying image data on a display array, wherein each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units;
and broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit.
In a second aspect, there is provided an image data transmission apparatus comprising:
the display device comprises an instruction acquisition module, a display unit and a display module, wherein the instruction acquisition module is used for acquiring a display instruction set for displaying image data on a display array, each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
the instruction compression module is used for compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, and each composite instruction is used for controlling the display colors of at least two display units;
and the instruction broadcasting module is used for broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit.
In a third aspect, there is provided an image data transmission system comprising: a server and a display array, wherein the display array is connected to the server,
the server is used for acquiring a display instruction set for displaying image data on a display array, wherein each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units;
broadcasting the composite instruction corresponding to the display instruction set;
each display unit in the display array is used for monitoring and executing a display instruction aiming at the display unit.
In a fourth aspect, an electronic device is provided, comprising:
a memory for storing a program;
a processor, coupled to the memory, for executing the program for:
acquiring a display instruction set for displaying image data on a display array, wherein each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units;
and broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit.
According to the image data transmission method, the device and the electronic equipment, in the process of issuing the image data display instruction, the display instruction is compressed into one or more composite instructions according to whether the ID of the display unit controlled by the display instruction is continuous and/or whether the display colors are consistent, and the composite instructions are broadcasted so that the display unit monitors and executes the display instruction of the display unit. The scheme can reduce the data transmission quantity and improve the data transmission efficiency.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a schematic diagram of an embodiment of image data transmission logic;
FIG. 2 is a block diagram of an image data transmission system according to an embodiment of the present invention;
FIG. 3 is a first flowchart of an image data transmission method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a second method for transmitting image data according to an embodiment of the present invention;
FIG. 5 is a flowchart of a third image data transmission method according to an embodiment of the present invention;
FIG. 6 is a flowchart of a fourth method for transmitting image data according to an embodiment of the present invention;
FIG. 7 is a flowchart of a fifth method for transmitting image data according to an embodiment of the present invention;
FIG. 8 is a flowchart of a sixth method for transmitting image data according to an embodiment of the present invention;
FIG. 9 is a seventh flowchart of an image data transmission method according to an embodiment of the present invention;
FIG. 10 is a first block diagram of an image data transmission apparatus according to an embodiment of the present invention;
FIG. 11 is a second block diagram of an image data transmission apparatus according to an embodiment of the present invention;
FIG. 12 is a third block diagram of an image data transmission apparatus according to an embodiment of the present invention;
FIG. 13 is a fourth block diagram of an image data transmission apparatus according to an embodiment of the present invention;
FIG. 14 is a fifth block diagram of an image data transmission apparatus according to an embodiment of the present invention;
FIG. 15 is a sixth configuration diagram of an image data transmission apparatus according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
First, technical terms related to the present invention are exemplified or explained as follows:
in the scheme, the frame image can be 1) video is decomposed according to a certain frame rate to obtain one picture which is uniformly distributed on a time sequence, and each picture is one frame image; 2) after each frame image is preprocessed through the content of the wireless distributed bracelet display array, a set of bracelet display instructions corresponding to the frame image is obtained, and the set is also called a frame image; 3) each line in the content preprocessing result file of the wireless distributed bracelet display array represents a set of all display instructions corresponding to the image at a certain time point, and after the set is subjected to data compression by the scheme, a wireless transmission data packet corresponding to the frame image at each time point is also called a frame image.
A pixel, which may be 1) a pixel in a frame image; 2) an ID of a display unit and a display color of the display unit.
Display instructions in the system for informing the receiving nodes with unique addressing of the display operation, for example, what color each ID node needs to display, if 16-bit address space is used, the ID addressing range is 0-65535, and if 8-bit color space is used, the color space range is 0-255.
MTU, Maximum Transmission Unit (MTU), refers to the Maximum packet size (in bytes) that can be passed over a layer of a communication protocol.
The core idea of the scheme is that in the process of issuing the image data display instruction, according to whether the IDs of the display units controlled by the display instruction are continuous and/or whether the display colors are consistent, the display instruction corresponding to a complete image is compressed into one or more composite instructions, and the composite instructions are broadcasted, so that the display unit monitors and executes the display instruction of the display unit. The scheme can reduce the data transmission quantity and improve the data transmission efficiency.
Fig. 1 is a schematic diagram of an image data transmission logic according to an embodiment of the present invention, and as shown in fig. 1, the image data transmission process according to the embodiment of the present invention mainly includes three parts, namely, an acquisition part, a compression part, and a broadcast part of a display instruction.
Firstly, the acquisition of a display instruction, that is, the acquisition of a display instruction set of image data, the display instruction may be used to control a specific display operation of a display unit, where the display instruction includes ID information and display color information of the display unit, and a plurality of display units may form a display array, and the display array may display a complete image data. In addition, the image data displayed on the display array may also be a differential image, that is, image differential operation is performed on two adjacent frames of image data in the video data, so as to obtain a differential image of the two adjacent frames, and pixels in the differential image are included in the next frame of image data and are not included in the previous frame of image data, so that when two adjacent frames of image data in the video are transmitted, when the next frame of image data is transmitted, it is not necessary to transmit a display instruction corresponding to the entire image, but only needs to perform subsequent compression and broadcast operations on the display instruction of the differential image data, and meanwhile, the display unit can play the next frame of image data only by executing the display instruction corresponding to the differential image data, so that the processing and transmission amount of data can be greatly reduced.
Then, the display instructions in the display instruction set are compressed, and specifically, the compression may be performed according to two determination conditions, that is, whether the IDs of the display units corresponding to each display instruction are continuous and whether the display colors included in each display instruction are the same, to obtain one or more composite instructions, where the composite instruction is one instruction that is obtained by compressing the plurality of display instructions and is used for controlling the plurality of display units. As shown in fig. 1, in the compression process of the display instruction, the instruction compression may be performed according to a plurality of rules, for example, the display instruction with continuous ID and same display color of the display unit is compressed into a composite instruction, or the display instruction with discontinuous ID and same display color of the display unit is compressed into a composite instruction, or the display instruction with continuous ID and different color of the display unit is compressed into a composite instruction, or the display instruction with discontinuous ID and different color of the display unit is compressed into a composite instruction based on the above instruction compression method, where all the instruction compression methods may be implemented separately or in combination.
Finally, as shown in fig. 1, the composite command obtained by compressing the display command is packaged and stored, and broadcast at a specified time (for example, image playing time) so that the display unit monitors and executes the display command of the display unit, thereby displaying the image data.
Based on the schematic diagram of the image data transmission logic shown in fig. 1, as shown in fig. 2, it is a structural diagram of an image data transmission system according to an embodiment of the present invention, and is configured to specifically execute the image data transmission method provided in the embodiment of the present invention, where the system includes: a server 210 and a display array 220. The server 210 may specifically include:
the instruction acquisition module is used for acquiring a display instruction set for displaying the image data on the display array, each display instruction comprises an ID (identity) and a display color of a display unit, the display array 220 comprises a plurality of display units, and the IDs of the display units are continuous;
the instruction compression module is used for compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, and each composite instruction is used for controlling the display colors of at least two display units;
and the instruction broadcasting module is used for broadcasting the composite instruction corresponding to the display instruction set.
The display array 210 includes a plurality of display units, and each display unit is configured to monitor and execute a display instruction for the display unit.
The technical solution of the present application is further illustrated by the following examples.
Example one
Based on the above technical idea of image data transmission, as shown in fig. 3, which is a flowchart of a first image data transmission method according to an embodiment of the present invention, an execution subject of the method may be a server or an image transmission apparatus disposed in a network. As shown in fig. 3, the image data transmission method includes the steps of:
s310, acquiring a display instruction set for displaying the image data on a display array, wherein each display instruction comprises an ID and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous.
Wherein each display instruction is used for controlling the display operation of one display unit, for example, controlling the display color. The display instruction includes the ID and display color of the display unit to be controlled accordingly. The display unit is composed of devices capable of emitting light, a plurality of display units are arranged according to different positions to form a display array, and the shape of the display array can be, but is not limited to be, a rectangle. In order to integrally display the image data to be displayed on the display array, the image to be displayed may be mapped to the positions of the display units on the display array in advance, for example, one display unit may display one pixel in the image data, or a plurality of display units may display one pixel in the image data, or one display unit may generally display a plurality of pixels in the image data (pixel compression). Accordingly, the display instruction is used to control the display color of the display unit corresponding to each pixel point in the image data. For example, one display instruction may correspondingly control the display color of the display unit corresponding to one or more pixel points; or, the plurality of display instructions can also correspondingly control the display color of the display unit corresponding to one pixel point.
All display instructions required for displaying one piece of image data on the display array are referred to as a set of display instructions for the image data. In a display instruction set, the ID of a display unit to be controlled is continuously prepared.
S320, compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units.
Specifically, all or part of the display instructions in the display set are compressed to generate a compound instruction, and the compression process can be performed continuously according to the IDs of the display units, for example, only the start ID and the end ID of a section of continuous ID values can be identified in the compound instruction, so that all the ID values from the start ID to the end ID can be replaced; or, the display unit may perform the process according to whether the display colors of the display units are the same, for example, only one color value may be identified in the composite instruction for the display instruction with the same color, and each ID value of the display unit corresponding to the color value is given.
In an actual application scenario, when the display instructions in the display instruction set are compressed according to the continuity of the IDs of the display units and/or the consistency of the display colors, based on the above idea, the display instructions with the same display color and the consecutive IDs of the plurality of display units may be compressed, the display instructions with different display colors and the consecutive IDs of the plurality of display units may be compressed, and the display instructions with the same display color and the discontinuous IDs of the plurality of display units may be compressed.
And compressing the plurality of display instructions to obtain a composite instruction, wherein the composite instruction can be used for controlling the display colors of the plurality of display units, and the content size of the composite instruction is reduced compared with the original discrete display instructions.
S330, broadcasting the composite instruction corresponding to the display instruction set so that the display unit monitors and executes the display instruction for the display unit.
Specifically, the display instruction is compressed and packed to form a compound instruction, and the compound instruction is broadcasted. After the display unit monitors the composite instruction, whether the composite instruction is specific to the display unit is analyzed, if the display unit ID in the composite instruction includes the ID of the display unit, if the display unit ID is analyzed, the display instruction of the display unit is executed, that is, the corresponding color is displayed according to the content of the display color of the display instruction. In the step, the composite command formed by compressing the display command is broadcasted, so that the data transmission quantity is greatly reduced.
Further, the display unit may specifically include: one or more wearable devices of a bracelet, a head band, a wrist band, a hair clip and a hat provided with the LED. These wearable devices can be placed on the surface of a person's body and then varied based on the person's position to form differently shaped display arrays, which are easy to operate while full of different shaped representations of image data.
Specifically, the display unit can be used for receiving the composite command sent by the base station and analyzing the display command corresponding to the composite command, and then controlling the LEDs to display corresponding colors and brightness.
In the image data transmission method provided by the invention, in the process of issuing the image data display instruction, according to whether the IDs of the display units controlled by the display instruction are continuous and/or whether the display colors are consistent, a plurality of display instructions are compressed into one or more composite instructions, and the composite instructions are broadcasted, so that the display units monitor and execute the display instructions of the display units. The scheme can reduce the data transmission quantity and improve the data transmission efficiency.
Example two
Fig. 4 is a flowchart of a second image data transmission method according to an embodiment of the present invention, where the present embodiment specifically limits a manner of compressing display instructions in a display instruction set in the previous embodiment. As shown in fig. 4, the image data transmission method includes the steps of:
s410, acquiring a display instruction set for displaying the image data on a display array, wherein each display instruction comprises the ID and the display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous.
The content of step S410 is the same as that of step S310 described above.
S420, extracting the display instructions with continuous IDs of the display units and the same display color from the display instruction set, and compressing to obtain a composite instruction, wherein the composite instruction comprises a start ID, an end ID and a display color.
Specifically, according to the continuity of the IDs of the display units and the consistency of the display colors, the display instructions with the continuous IDs of the display units and the same display colors are compressed to obtain a composite instruction, and based on the continuous IDs of the display units and the same display colors, the composite instruction only needs to include the start ID and the end ID of the display unit and the same display colors of all the display units between the start ID and the end ID of the display unit, so that one composite instruction can represent the contents of a plurality of display instructions only by three fields.
For example, the compound instruction may be in the form of "start ID, end ID, display color".
S430, broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit.
The content of step S430 is the same as that of step S330 described above.
Fig. 5 is a flowchart of a third image data transmission method according to an embodiment of the present invention, as shown in fig. 5, after the step S410 is executed and before the step S430 is executed, the following steps may be further executed:
s510, extracting display instructions with continuous IDs of display units and different display colors from a display instruction set, and compressing to obtain a composite instruction, wherein the composite instruction comprises a starting ID, an ending ID and a plurality of display colors.
Specifically, according to the continuity of the IDs of the display units and the consistency of the display colors, the display instructions with continuous IDs and different display colors of the display units can be compressed to obtain a composite instruction, and based on the continuity of the IDs of the display units, the composite instruction only needs to include the start ID and the end ID of the display unit and different display colors corresponding to all the display units between the start ID and the end ID of the display unit in sequence, so that the composite instruction can represent the contents of the plurality of display instructions by omitting the ID fields of the plurality of display units.
For example, the above-mentioned compound instruction may be in the form of "start ID, end ID, display color 1, …, display color n"
Fig. 6 is a flowchart of a fourth image data transmission method according to an embodiment of the present invention, as shown in fig. 6, after the step S410 is executed and before the step S430 is executed, the following steps may be further executed:
s610, extracting display instructions with discontinuous IDs of display units and same display colors from the display instruction set, and compressing to obtain a composite instruction, wherein the composite instruction comprises the IDs of the plurality of display units and the display colors.
Specifically, according to the continuity of the IDs of the display units and the consistency of the display colors, the display instructions with the discontinuous IDs of the display units and the same display colors can be compressed to obtain a composite instruction, and based on the same display color of the display units, the composite instruction includes all the IDs of the display units and the same display color corresponding to the IDs of all the display units, so that the composite instruction can represent the contents of the plurality of display instructions only by including the IDs of the plurality of display units and a field of one display color.
For example, the compound instruction may be in the form of "ID 0, …, IDn, display color".
Fig. 7 is a flowchart of a fifth image data transmission method according to an embodiment of the present invention, as shown in fig. 7, after the step S410 is executed and before the step S430 is executed, the following steps may be further executed:
s710, extracting display instructions with discontinuous IDs of display units and different display colors from the display instruction set, and compressing to obtain a composite instruction, wherein the composite instruction comprises the IDs of a plurality of display units and a plurality of display colors.
Specifically, this step may be executed after any one or a combination of steps S420, S510, or S610 is performed, and according to the continuity of the IDs of the display units and the consistency of the display colors, the display instructions with discontinuous IDs and different display colors of the display units may be compressed to obtain a composite instruction, where the composite instruction includes all the IDs of the display units and different display colors sequentially corresponding to the IDs of all the display units.
For example, the compound command may be in the form of "ID 0, …, IDn, display color 1, …, display color n".
In the image data transmission method provided by the invention, in the process of issuing the image data display instruction, according to whether the ID of the display unit controlled by the display instruction is continuous and/or whether the display color is consistent, a plurality of display instructions are compressed into one or more composite instructions, the mode of compressing the display instructions in the display instruction set is specifically limited, and finally the composite instructions are broadcasted so that the display unit monitors and executes the display instructions of the display unit. The scheme can reduce the data transmission quantity and improve the data transmission efficiency.
EXAMPLE III
Fig. 8 is a sixth flowchart of an image data transmission method according to an embodiment of the present invention, and based on the image data transmission method described in the previous embodiment, this embodiment performs a compression operation on a display instruction set of each frame of image data in video data to be transmitted, in combination with all the compound instruction compression methods in the previous embodiment, in a video transmission scene. In this embodiment, one display instruction set includes all display instructions of one frame of image data in a video to be transmitted, each frame of image corresponds to different playing time according to a playing sequence of a data stream of the video, and correspondingly, each time point corresponds to one display instruction set, and when a display instruction is sent next, an instruction compression method as shown in the previous embodiment can be sequentially executed on the display instructions in each display instruction set. As shown in fig. 8, the image data transmission method includes the steps of:
s810, acquiring a display instruction set for displaying the image data on the display array. The content of this step is similar to the content of the above step S310 and step S410.
In an actual application scene, the method can preprocess each frame of image data in the video to be transmitted to obtain display instruction sets which are uniformly distributed on a video playing time sequence, wherein each display instruction set is used for controlling the frame image content played at a corresponding time point in the time sequence. For example, the display instruction sets may be saved in a file in chronological order of video playback. Each display instruction in one display instruction set can be used for controlling the display content of one display unit, and when the display array formed by all the display units synchronously executes all the instructions of the display instruction set once, the corresponding frame image data is completely displayed. For the corresponding relationship between the pixels of the image to be displayed and the display unit, reference may be made to the corresponding contents in the first embodiment, which are not described herein again.
Specifically, one display instruction set ImgTmp is represented as follows:
ImgTmp { [ ID, R, G, B ] | ID is all bracelet ID }
The ID value is the ID of all display units, R represents the R component of the display color, G represents the G component of the display color, B represents the G component of the display color, and the display color of each display unit is subjected to color space conversion from 24 colors to 8 colors to obtain frame image data Img:
Img={[ID,R,G,B]}
s820, extracting the display instructions with continuous IDs of the display units and the same display color from the display instruction set, and compressing to obtain a composite instruction, wherein the composite instruction comprises a start ID, an end ID and a display color. The content of this step is similar to that of step S420 described above.
In an actual application scene, for each frame of image data in a video to be transmitted, extracting display instructions with continuous IDs and the same color of display units in a display instruction set corresponding to the frame of image data, specifically including the following steps:
firstly, circularly traversing the frame image data Img, establishing a hash table by taking the display color of the frame image data Img as a key and the ID of the display unit as a value, and obtaining an ordered list of the ID of the display unit corresponding to each display color;
then, each display color of the hash table is traversed circularly, and in the ID list IDList (ID1, ID2 …, IDn …) of the ordered display unit corresponding to each display color, the ID sequence of all display units with consecutive ID values is searched, and the algorithm is as follows:
inputting: an IDList (ID1, ID2 …, IDn) indicating an ordered ID list corresponding to each display color;
the input limit, which indicates the Maximum number of IDs included in each continuous ID range, is set according to the Maximum Transmission Unit (MTU) of the transport layer, and prevents the composed packet from exceeding the Maximum Transmission Unit length of the radio Transmission, which needs to be set only once in the same system.
Outputs ranges [ [ s1, t1],. an., [ sn, tn ] ], which represents the start ID and end ID of the ID sequence of the nth consecutive display unit, and the remaining pixel points are Left [ ID1,. idn,. an. ].
The algorithm is as follows: findRange (IDList, limit)
Initializing a continuous ID sequence set res [ ], ranging [ ], Left [ ];
a loop process, for each element ID of the IDList, if the last 1 value of any 1 sequence in res is equal to ID +1 (the IDs in the corresponding IDList are sorted from large to small), or the last 1 value is equal to ID-1 (the IDs in the corresponding IDList are sorted from small to large), and the number of IDs in the sequence is not greater than limit, adding the ID to the sequence of res; if res has no last 1 value of any 1 sequence equal to ID +1, or if res has last 1 value of any 1 sequence equal to ID +1 and the number of IDs in the sequence is greater than limit, newly building 1 new sequence with only 1 element ID (current ID to be processed), and adding the sequence into res;
loop processing, namely, for each ordered ID list IDs in res, if the IDs only contain one display unit ID, adding the display unit ID and the corresponding display color (the display color corresponding to the ID, the key value) to the last element of Left; if the number of IDs of the display units contained in the IDs is more than or equal to 2, adding the ending ID value Max (IDs), the starting ID value Min (IDs), or the ending ID value Min (IDs), the starting ID value Max (IDs) and the corresponding display color of the ID values into the ranges;
return to ranges, Left.
Obtaining a set of instructions with the same display color and continuous ID in the current frame image data through a findRange function:
sameColorAndContinuousRanges{[(s1,t1,c1),...,(sn,tn,cn)]},
in each continuous instruction set, sn is a start ID, tn is an end ID, and cn is the same display color corresponding to the continuous ID. Each (sn, tn, cn) is marked as a compound instruction after compression, and the remaining display instruction set is Left 1.
And S830, extracting the display instructions with continuous IDs of the display units and different display colors from the residual display instruction set obtained after the processing of the previous step, and compressing to obtain a composite instruction, wherein the composite instruction comprises a starting ID, an ending ID and a plurality of display colors. The content of this step is similar to that of step S510 described above.
In an actual application scenario, in the remaining display instruction set Left1 obtained after the processing in the previous step, display instructions with consecutive IDs of display units and different display colors are extracted.
Specifically, a display instruction set having consecutive IDs (only the display colors remaining are different) is searched for in the remaining display instruction set Left1 returned in the above step, and the first display instruction is fetched from all the display instructions in the remaining display instruction set Left1, to form a set LeftIDs including only the IDs of the display units. Using the above function findRanges (IDList, limit), where limit is the maximum value that can make the expression limit +20 < MTU hold, retrieving the display color corresponding to the ID of each display unit from the remaining display instruction set Left1, and obtaining a display instruction set in which the IDs of all display units in the remaining display instruction set Left1 are consecutive:
continuousIDRangs{[(s1,t1,c1,c2,...cn),…,(sn,tn,c1,c2,...,cn)]}
in each successive instruction set, sn is a start ID, tn is an end ID, and c1 to cn are display colors corresponding to the successive ID in this order. Each of (sn, tn, c1, c2, …, cn) is marked as a compound instruction after compression, and the remaining display instruction set is Left 2.
And S840, extracting display instructions with discontinuous IDs of display units and same display colors from the residual display instruction set obtained after the processing of the previous step, and compressing to obtain a composite instruction, wherein the composite instruction comprises the IDs and the display colors of a plurality of display units. The content of this step is similar to that of step S610 described above.
In an actual application scenario, in the remaining display instruction set Left2 obtained after the previous step of processing, display instructions with discontiguous display unit IDs and the same display color are extracted.
Specifically, for the Left display instruction set Left2 (only display instructions with discontinuous IDs of display units are Left at this time), display instructions with the same display color are searched, a hash table is established, the display color of each display instruction in the Left display instruction set Left2 is used as a key, the ID ordered set of the display unit corresponding to each display color is used as a value, and the corresponding relationship between each display color of all display units in the Left display instruction set Left2 and the set of IDs with the same color is obtained.
A loop process, for all keys K (i.e. display colors) in the hash table, if the length of the IDs value corresponding to the key K is equal to 1, storing the ID and corresponding color value (key) corresponding to the key K as the last element in the display instruction set Left 3; if the length of the IDs corresponding to the key K is larger than 1, splitting the IDs into 1-N subsets, so that the number of elements (the number of IDs of display units) m of each subset satisfies the maximum value of the expression m multiplied by 2+20 < MTU, resulting in the set sameColoranges { [ (ID11, ID 12.. ID1N, c1),.. the (IDm1, IDm 2.. the.. IDmn, cm) ] }.
Wherein, each section of instruction set comprises a discontinuous ID sequence: IDm1, IDm 2.., IDmn, and the same display color cm for this ID sequence. Each (IDm1, IDm 2.., IDmn, cm) is marked as a compound instruction after compression, and the remaining display instruction set is Left 3.
And S850, extracting display instructions with discontinuous IDs of display units and different display colors from the residual display instruction set obtained after the processing of the previous step, and compressing to obtain a composite instruction, wherein the composite instruction comprises the IDs of a plurality of display units and a plurality of display colors. The content of this step is similar to that of step S710 described above.
In an actual application scenario, the display instructions in the Left display instruction set Left3 obtained after the processing in the previous step are compressed into one or more compound instructions, and at this time, the Left display instruction set Left3 only includes display instructions with discontinuous IDs of display units and different display colors. In the compressed display instruction, the length limit of each instruction may be smaller than the MUT.
And S860, broadcasting the composite instruction corresponding to the display instruction set so that the display unit monitors and executes the display instruction for the display unit. The content of this step is similar to the content of the above step S330 and step S430.
And broadcasting the composite instruction corresponding to the display instruction set through the compression operation on the display instructions in the display instruction set so that the display unit monitors and executes the display instructions for the display unit. In this embodiment, the display instruction set corresponding to each frame of image data of the video to be played is broadcasted, monitored, and executed according to the time sequence, so that the playing effect of the video data can be achieved.
In the image data transmission method provided by the invention, in the process of issuing the image data display instruction, the display instruction is compressed into one or more composite instructions according to whether the ID of the display unit controlled by the display instruction is continuous and/or whether the display colors are consistent, and the mode of compressing the display instruction in the display instruction set is further specifically limited. The scheme can reduce the data transmission quantity and improve the data transmission efficiency.
Example four
Fig. 9 is a seventh flowchart of an image data transmission method according to an embodiment of the present invention, which further defines image data to be displayed, and can be used as a supplement to the method steps shown in fig. 1 to 8. As shown in fig. 9, the image data transmission method includes the steps of:
s910, acquiring a display instruction set for displaying a differential image corresponding to two adjacent frames of image data in the video data on a display array, wherein pixel points included in the differential image are included in the next frame of image data in the two frames of image data and are not included in the previous frame of image data, each display instruction includes an ID and a display color of a display unit, the display array includes a plurality of display units, and the IDs of the display units are continuous.
Specifically, pixel points of every two adjacent frames of image data changes in the video data are extracted, that is, pixel points which are included in the next frame of image data and are not included in the previous frame of image data form a differential image, and a display instruction set corresponding to the differential image is obtained.
The two compared pixel points are pixel contents aiming at the same position in the front and rear adjacent two frames of image data, and when the display contents in the front and rear adjacent two frames of image data corresponding to the position are the same, namely the two pixel points are the same, the display content of the position in the differential image is empty; and when the display contents in the front and back adjacent two frames of image data corresponding to the position are different, namely two pixel points are different, taking the pixel point at the position in the next frame of image data as the pixel point in the differential image. In a practical application scenario, a first frame of image data in video data is not processed, and image difference operation is performed on the current frame of image data and a previous frame of image data from a second frame of image data to obtain a difference image DiffImg { [ ID _ d, R _ d, G _ d, B _ d ] }, and any pixel point (ID, R, G, B) in the difference image DiffImg is included in a set of next frame of image data Img in two adjacent frame of image data, but not in a set of previous frame of image data Img _ Old. The specific calculation process is as follows:
firstly, sorting the image data Img set of the next frame by taking the ID of the display unit as a keyword, and adopting a general sorting algorithm to ensure efficiency, such as a quick sorting algorithm;
then, for the IDs of all the display units within the range from the minimum ID value to the maximum ID value of the display unit, if there is an element p (ID, R, G, B) existing in the set of the image data Img of the next frame and not existing in the set of the image data Img _ Old of the previous frame (the judgment basis is that ID, R, G, B are different), storing p in DiffImg;
and finally, circularly processing each frame of image data, obtaining a difference image of every two adjacent frames of image data after the processing is finished, and assigning the next frame of image data Img to the previous frame of image data Img _ Old.
S920, compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units. The content of this step is similar to that of step S320.
Specifically, in this embodiment, the compression processing is performed on the display instruction set corresponding to each difference image, and the compression processing manner is as shown in the foregoing embodiments.
S930, broadcasting the composite command corresponding to the display command set, so that the display unit monitors and executes the display command for the display unit. The contents of this step are the same as those of step S330 and step S430.
Further, the broadcasting time of the composite command corresponding to the display command set is the playing time of the next frame of image data in the two adjacent frames of image data generating the display command set.
Specifically, the broadcasting time of the composite command is set as the playing time of the next frame of image data in two adjacent frames of image data, so that the time for issuing the image data can be the preset image display time, and in a video playing scene, the playing of each frame of image data in the video data can be performed according to the preset time sequence.
In the image data transmission method provided by the invention, in the process of issuing the image data display instruction, firstly, image differential processing is carried out on the image to be displayed in the video data, then, according to whether the IDs of the display units controlled by the display instruction in the differential image are continuous and/or whether the display colors are consistent, the display instruction is compressed into one or more composite instructions, and finally, the composite instruction is broadcasted, so that the display unit monitors and executes the display instruction of the display unit. According to the scheme, the difference image data of every two adjacent frames of image data in the video data is used as the image data to be transmitted, so that the content of an original display instruction set is reduced, the data transmission quantity is further reduced, and the data transmission efficiency is improved.
EXAMPLE five
FIG. 10 is a block diagram of an image data transmission apparatus according to an embodiment of the present invention, which can be used to execute the method steps shown in FIG. 3, and includes:
an instruction obtaining module 110, configured to obtain a display instruction set for displaying image data on a display array, where each display instruction includes an ID and a display color of a display unit, the display array includes multiple display units, and IDs of the display units are consecutive;
the instruction compression module 120 is configured to compress the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, where each composite instruction is used to control the display colors of at least two display units;
the instruction broadcasting module 130 is configured to broadcast the composite instruction corresponding to the display instruction set, so that the display unit monitors and executes the display instruction for the display unit.
Further, fig. 11 is a second structural diagram of an image data transmission apparatus according to an embodiment of the present invention, where the image data transmission apparatus may be configured to execute the method steps shown in fig. 4, and on the basis of the apparatus shown in fig. 10, the instruction compressing module 120 in the apparatus according to this embodiment may include:
the first instruction compressing unit 121 is configured to extract, from the display instruction set, display instructions with consecutive IDs of the display units and the same display color, and compress the display instructions to obtain a composite instruction, where the composite instruction includes a start ID, an end ID, and a display color.
Further, fig. 12 is a third structural diagram of an image data transmission device according to an embodiment of the present invention, where the image data transmission device may be configured to execute the method steps shown in fig. 5, and on the basis of the device shown in fig. 10, the instruction compressing module 120 in the device according to this embodiment may include:
the second instruction compressing unit 122 is configured to extract, from the display instruction set, display instructions with consecutive IDs and different display colors of the display units, and compress the display instructions to obtain a composite instruction, where the composite instruction includes a start ID, an end ID, and a plurality of display colors.
Further, fig. 13 is a fourth structural diagram of an image data transmission device according to an embodiment of the present invention, where the image data transmission device can be used to execute the method steps shown in fig. 6, and on the basis of the device shown in fig. 10, the instruction compression module 120 in the device according to this embodiment may include:
the third instruction compressing unit 123 is configured to extract, from the display instruction set, display instructions that are not consecutive in ID of the display unit and have the same display color, and compress the display instructions to obtain a composite instruction, where the composite instruction includes IDs of a plurality of display units and display colors.
Further, fig. 14 is a fifth structural diagram of an image data transmission apparatus according to an embodiment of the present invention, the image data transmission apparatus may be configured to execute the method steps shown in fig. 7, and on the basis of the apparatus shown in fig. 10, the instruction compressing module 120 in the apparatus according to the embodiment may include:
the fourth instruction compressing unit 124 is configured to extract, from the display instruction set, display instructions that are discontinuous in ID of the display unit and different in display color, and compress the display instructions to obtain a composite instruction, where the composite instruction includes IDs of multiple display units and multiple display colors.
Further, fig. 15 is a structure diagram of a sixth image data transmission apparatus according to an embodiment of the present invention, which can be used to execute the method steps shown in fig. 8, and on the basis of the apparatus shown in fig. 10, the instruction compression module 120 in the apparatus of this embodiment can simultaneously include the first instruction compression unit 121, the second instruction compression unit 122, the third instruction compression unit 123, and the fourth instruction compression unit 124 in the above embodiment, and can sequentially execute the corresponding steps shown in fig. 8.
Further, in the image data transmission device, the image data for displaying on the display array includes:
and the pixel points included in the differential image are contained in the image data of the next frame in the two frames of image data and are not contained in the image data of the previous frame.
Further, in the image data transmission apparatus, the time for broadcasting the composite command corresponding to the display command set is the playing time of the next frame of image data in the two adjacent frames of image data generating the display command set.
Further, in the image data transmission device, the display unit includes: one or more wearable devices of a bracelet, a head band, a wrist band, a hair clip and a hat provided with the LED.
The image data transmission device compresses the display instruction into one or more composite instructions according to whether the ID of the display unit controlled by the display instruction is continuous and/or whether the display colors are consistent or not in the process of issuing the image data display instruction, and broadcasts the composite instructions so that the display unit monitors and executes the display instruction of the display unit. The scheme can reduce the data transmission quantity and improve the data transmission efficiency.
EXAMPLE six
The foregoing describes an overall architecture of an image data processing apparatus, and functions of the apparatus can be implemented by an electronic device, as shown in fig. 16, which is a schematic structural diagram of the electronic device according to an embodiment of the present invention, and specifically includes: a memory 161 and a processor 162.
The memory 161 stores programs.
In addition to the above-described programs, the memory 161 may also be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, and so forth.
The memory 161 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A processor 162, coupled to the memory 161, for executing programs in the memory 161 to:
acquiring a display instruction set for displaying image data on a display array, wherein each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units;
and broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit.
The above specific processing operations have been described in detail in the foregoing embodiments, and are not described again here.
Further, as shown in fig. 16, the electronic device may further include: communication components 163, power components 164, audio components 165, display 166, and other components. Only some of the components are schematically shown in fig. 16, and it is not meant that the electronic device includes only the components shown in fig. 16.
The communication component 163 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 163 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 163 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
And a power supply component 164 that provides power to the various components of the electronic device. The power components 164 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for an electronic device.
Audio component 165 is configured to output and/or input audio signals. For example, audio component 165 includes a Microphone (MIC) configured to receive external audio signals when the electronic device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 161 or transmitted via the communication component 163. In some embodiments, audio component 165 further comprises a speaker for outputting audio signals.
The display 166 includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. An image data transmission method characterized in that,
acquiring a display instruction set for displaying image data on a display array, wherein each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units;
and broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit.
2. The method of claim 1, wherein compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one compound instruction comprises:
and extracting the continuous IDs of the display units from the display instruction set, compressing the display instructions with the same display color to obtain a composite instruction, wherein the composite instruction comprises a starting ID, an ending ID and a display color.
3. The method of claim 1, wherein compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one compound instruction comprises:
and extracting the continuous IDs of the display units from the display instruction set, compressing the display instructions with different display colors to obtain a composite instruction, wherein the composite instruction comprises a starting ID, an ending ID and a plurality of display colors.
4. The method of claim 1, wherein compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one compound instruction comprises:
and extracting the display instructions with discontinuous IDs of the display units and the same display colors from the display instruction set, and compressing the display instructions to obtain a composite instruction, wherein the composite instruction comprises the IDs and the display colors of the plurality of display units.
5. The method according to any one of claims 2-4, wherein compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one compound instruction comprises:
and extracting the display instructions with discontinuous IDs of the display units and different display colors from the display instruction set, and compressing the display instructions to obtain a composite instruction, wherein the composite instruction comprises the IDs of the display units and the display colors.
6. The method of claim 1, wherein the image data for display on the display array comprises:
and the differential image comprises pixel points which are contained in the next frame of image data in the two frames of image data and are not contained in the previous frame of image data.
7. The method according to claim 6, wherein the broadcasting time of the composite command corresponding to the display command set is a playing time of a next frame of image data in two adjacent frames of image data generating the display command set.
8. The method of claim 1, wherein the display unit comprises: one or more wearable devices of a bracelet, a head band, a wrist band, a hair clip and a hat provided with the LED.
9. An image data transmission apparatus, characterized by comprising:
the display device comprises an instruction acquisition module, a display unit and a display module, wherein the instruction acquisition module is used for acquiring a display instruction set for displaying image data on a display array, each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
the instruction compression module is used for compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, and each composite instruction is used for controlling the display colors of at least two display units;
and the instruction broadcasting module is used for broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit.
10. An image data transmission system, comprising: a server and a display array, wherein the display array is connected to the server,
the server is used for acquiring a display instruction set for displaying image data on a display array, wherein each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units;
broadcasting the composite instruction corresponding to the display instruction set;
each display unit in the display array is used for monitoring and executing a display instruction aiming at the display unit.
11. An electronic device, comprising:
a memory for storing a program;
a processor, coupled to the memory, for executing the program for:
acquiring a display instruction set for displaying image data on a display array, wherein each display instruction comprises an ID (identity) and a display color of a display unit, the display array comprises a plurality of display units, and the IDs of the display units are continuous;
compressing the display instructions in the display instruction set according to the continuity of the IDs of the display units and/or the consistency of the display colors to obtain at least one composite instruction, wherein each composite instruction is used for controlling the display colors of at least two display units;
and broadcasting the composite instruction corresponding to the display instruction set so as to enable the display unit to monitor and execute the display instruction aiming at the display unit.
CN201810189816.1A 2018-03-08 2018-03-08 Image data transmission method and device and electronic equipment Active CN110248040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810189816.1A CN110248040B (en) 2018-03-08 2018-03-08 Image data transmission method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810189816.1A CN110248040B (en) 2018-03-08 2018-03-08 Image data transmission method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110248040A CN110248040A (en) 2019-09-17
CN110248040B true CN110248040B (en) 2021-08-20

Family

ID=67882540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810189816.1A Active CN110248040B (en) 2018-03-08 2018-03-08 Image data transmission method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110248040B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558305B (en) * 2020-12-22 2022-10-18 华人运通(上海)云计算科技有限公司 Control method, device and medium of display picture and head-up display control system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050014489A (en) * 2003-07-31 2005-02-07 삼성전자주식회사 Image data encodinge-decoding device and method image encoding-decoding thereof
CN101393706A (en) * 2007-09-21 2009-03-25 李建胜 Human body pixel element for meeting
JP2010245769A (en) * 2009-04-03 2010-10-28 Fujitsu Ten Ltd Image processing apparatus and image processing method
CN103544900A (en) * 2013-11-08 2014-01-29 英华达(上海)科技有限公司 Wearable intelligent device light-emitting diode (LED) display control method and device
CN103975374A (en) * 2011-08-11 2014-08-06 雷格勒有限公司 Interactive lighting effect wristband & integrated antenna
CN204351217U (en) * 2014-12-26 2015-05-27 蔡俊辉 Vibrations acoustic control luminous hand wrist strap
CN107396347A (en) * 2016-05-16 2017-11-24 阿里巴巴集团控股有限公司 A kind of Intelligent worn device and method, system and the intelligent terminal of intelligent terminal pairing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7283674B2 (en) * 2004-06-25 2007-10-16 Xerox Corporation Using graphic objects in MFD scan-to-export function

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050014489A (en) * 2003-07-31 2005-02-07 삼성전자주식회사 Image data encodinge-decoding device and method image encoding-decoding thereof
CN101393706A (en) * 2007-09-21 2009-03-25 李建胜 Human body pixel element for meeting
JP2010245769A (en) * 2009-04-03 2010-10-28 Fujitsu Ten Ltd Image processing apparatus and image processing method
CN103975374A (en) * 2011-08-11 2014-08-06 雷格勒有限公司 Interactive lighting effect wristband & integrated antenna
CN103544900A (en) * 2013-11-08 2014-01-29 英华达(上海)科技有限公司 Wearable intelligent device light-emitting diode (LED) display control method and device
CN204351217U (en) * 2014-12-26 2015-05-27 蔡俊辉 Vibrations acoustic control luminous hand wrist strap
CN107396347A (en) * 2016-05-16 2017-11-24 阿里巴巴集团控股有限公司 A kind of Intelligent worn device and method, system and the intelligent terminal of intelligent terminal pairing

Also Published As

Publication number Publication date
CN110248040A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN109168078B (en) Video definition switching method and device
CN103188522B (en) Method and system for providing and delivering a composite condensed stream
CN106331880B (en) Information processing method and system
CN104754396A (en) Curtain popup data display method and device
CN109587570B (en) Video playing method and device
CN110691281B (en) Video playing processing method, terminal device, server and storage medium
CN110662090B (en) Video processing method and system
CN104080006B (en) A kind of video process apparatus and method
US11037603B1 (en) Computing system with DVE template selection and video content item generation feature
CN108900855B (en) Live content recording method and device, computer readable storage medium and server
WO2019184822A1 (en) Multi-media file processing method and device, storage medium and electronic device
CN106227492A (en) Combination and mobile intelligent terminal interconnected method and device
CN112492347A (en) Method for processing information flow and displaying bullet screen information and information flow processing system
WO2023241527A1 (en) Live stream processing method and apparatus, device, and storage medium
CN114466216A (en) Live broadcast room display method, server and live broadcast client
CN110248040B (en) Image data transmission method and device and electronic equipment
US9300853B2 (en) Network camera data management system and managing method thereof
WO2016058302A1 (en) Multi-video data display method and apparatus
CN110996137B (en) Video processing method and device
CN111008287A (en) Audio and video processing method and device, server and storage medium
KR101843017B1 (en) Random Editing System for Providing Compressed Video Contents and Method thereof
CN109618207B (en) Video frame processing method and device, storage medium and electronic device
CN113038150A (en) Program switching method and device
CN110248041A (en) Image data transfer control method, device and electronic equipment
CN111988651A (en) Video playing method, mobile terminal and wearable device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant