LED interactive display method and related equipment
By dynamically adjusting the sensor determination threshold and sensing combined data processing, the problem of insufficient accuracy of traditional LED interactive displays in complex environments and user behavior processing is solved, and the accuracy and user experience of interaction are improved, adaptability and scalability of the interaction are improved. .
Patent Information
- Application Number
- CN202410081917.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-01-19
AI Technical Summary
When traditional LED interactive displays deal with complex environment changes and user behavior, the signal judgment is not accurate and flexible enough, resulting in insufficient interaction effectiveness and accuracy.
By periodically reading the detection result values of multiple sensors, dynamically adjusting the determination threshold of each sensor, determining the interaction state, and transmitting the sensing combination data to the terminal device for displaying the display screen.
Improve the accuracy and flexibility of interactive sensing, ensuring that the corresponding effects are triggered only when users interact effectively, enhancing the user experience, and reducing the difficulty and cost of system configuration.
Smart Images

Figure CN117935701B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of LED screen display, and in particular to an LED interactive display method and related equipment. Background Art
[0002] LED interactive display is a relatively new type of digital display interactive technology equipment, which has better commercial value and user experience than traditional LED display. According to the interactive principle classification, common methods include capacitive sensing, infrared reflection sensing, radar sensing, weight sensing, etc. Among them, infrared reflection sensing has occupied a certain market in the field of LED interactive display due to comprehensive factors such as cost and good interactive effect. Although the existing infrared reflection interactive LED display has been optimized in some hardware parameters, it can operate stably for a long time in the LED display and reduce maintenance.
[0003] However, traditional LED interactive displays usually use fixed thresholds to determine whether the sensor signal is valid. This method is often not accurate and flexible enough when dealing with complex environmental changes and user behaviors. Therefore, a more intelligent and adaptive LED interactive display method is needed, which can dynamically adjust the sensor judgment threshold according to actual conditions and improve the effectiveness and accuracy of the interaction. Summary of the invention
[0004] The present invention provides an LED interactive display method and related equipment, which can improve the effectiveness and accuracy of the LED interactive display screen in interactive sensing.
[0005] The first aspect of the present invention provides an LED interactive display method, which is applied to an LED interactive display screen, comprising:
[0006] Periodically reading the detection result value corresponding to each sensor of N sensors of a target module, wherein the target module is any one of a plurality of modules provided on the LED interactive display screen;
[0007] Determine a determination threshold of each sensor according to the detection result value;
[0008] Determine a target detection result value of a target sensor at each reading time in a current cycle, wherein the target sensor is any one of the N sensors;
[0009] Determine whether there is a target detection value that is continuously greater than the determination threshold and reaches a first preset threshold number of times within the current cycle;
[0010] If the target detection value exists within the current cycle and the number of times continuously greater than the determination threshold reaches a first preset threshold, the interactive state of the LED interactive display screen is determined to be interactively valid, and the interactively valid data of the target sensor when the interaction of the LED interactive display screen is valid is obtained to obtain the sensor combination data corresponding to the multiple modules;
[0011] The sensing combination data is transmitted to a terminal device, so that the terminal device presents a display screen corresponding to the LED interactive display screen according to the sensing combination data.
[0012] In a possible design, determining the determination threshold of each sensor according to the detection result value includes:
[0013] Obtaining a first detection result and a second detection result corresponding to the target sensor, wherein the first detection result is an average value of N detection result values before a first moment and an average value of N detection result values after the first moment;
[0014] Determine the effective threshold of the target sensor according to the first detection result and the second detection result;
[0015] The determination threshold of each sensor is determined according to the effective threshold and the noise threshold corresponding to the target sensor.
[0016] In one possible design, the method further includes:
[0017] If there is no target detection value that is continuously greater than the determination threshold and reaches the first preset threshold number of times in the current cycle, determining whether the target detection value is less than the determination threshold in the current cycle;
[0018] If the target detection value that is less than the determination threshold exists in the current cycle, the interactive state of the LED interactive display screen is not determined.
[0019] In one possible design, the method further includes:
[0020] If the target detection value is continuously smaller than the determination threshold value for a number of times reaching the second preset threshold value within the current cycle, the interactive state of the LED interactive display screen is determined to be no proximity sensing.
[0021] In one possible design, the method further includes:
[0022] Determining whether the first moment is a first determined moment;
[0023] If the first moment is the first determination moment, then performing the step of determining the determination threshold of each sensor according to the detection result value;
[0024] If the first moment is not the first determined moment, determining whether the first moment is the second determined moment;
[0025] If the first moment is the second determination moment, a step of determining whether there is a target detection value that is continuously greater than the determination threshold and reaches a first preset threshold for a number of times within the current period is performed;
[0026] If the first moment is not the second determined moment, the interactive data of the LED interactive display screen at the first moment is cleared.
[0027] In one possible design, transmitting the sensor combination data to a terminal device includes:
[0028] If the first moment is not the second determined moment, determining whether the first moment is not a data upload moment;
[0029] If the first moment is a data upload moment, sending the sensing combination data to the terminal device in a preset format;
[0030] If the first moment is not the data upload moment, a step of determining whether the first moment is a second determined moment is performed.
[0031] In one possible design, the method further includes:
[0032] Determine relevant parameters of a register of each of the N sensors, wherein the relevant parameters include sensor operation mode selection, measurement cycle number setting, measurement time setting, measurement interval time and register setting;
[0033] A register of each of the N sensors is read and written based on the relevant parameters.
[0034] A second aspect of the present invention provides an LED interactive display device, comprising:
[0035] A reading module, used for periodically reading the detection result value corresponding to each sensor of the N sensors of the target module, wherein the target module is any one of the multiple modules provided on the LED interactive display screen;
[0036] A first determination module, used to determine a determination threshold of each sensor according to the detection result value;
[0037] A second determination module is used to determine a target detection result value of a target sensor at each reading moment in a current cycle, wherein the target sensor is any one of the N sensors;
[0038] A judging module, used for judging whether there is a target detection value that is continuously greater than the judgment threshold and reaches a first preset threshold for a number of times within the current cycle;
[0039] A processing module, configured to determine the interactive state of the LED interactive display screen as interactively valid if the target detection value continuously exceeds the determination threshold value for a number of times reaching a first preset threshold value within the current cycle, and obtain interactively valid data of the target sensor when the interaction of the LED interactive display screen is valid, so as to obtain the sensor combination data corresponding to the multiple modules;
[0040] The transmission module is used to transmit the sensor combination data to the terminal device, so that the terminal device presents the display screen corresponding to the LED interactive display screen according to the sensor combination data.
[0041] This technical solution can also set the relevant parameters of the sensor according to actual needs. First, the power consumption of the sensor can be dynamically adjusted to extend the service life of the equipment; second, different configuration methods can be applicable to different sensors and LED interactive displays, providing convenience for subsequent expansion and upgrades, and can continuously adapt to changes in application needs and scenarios, thereby improving the adaptability and flexibility of the system.
[0042] A third aspect of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the LED interactive display method when executing the computer program.
[0043] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the above-mentioned LED interactive display method.
[0044] In summary, through the above technical solutions, the LED interactive display method of the present invention can achieve the following effects:
[0045] It can adaptively respond to changes in various environments and user behaviors, improving the accuracy and flexibility of detection;
[0046] Accurately determine the interactive status of the LED interactive display screen, ensuring that the corresponding interactive effect will be triggered only when the user interacts effectively with the display screen, improving the pertinence of the interaction and user experience;
[0047] It can integrate the sensor combination data corresponding to multiple modules, so that the terminal device can understand the user's interactive behavior more comprehensively based on this data, and provide richer and more accurate interactive feedback accordingly;
[0048] The sensor combination data is transmitted to the terminal device in real time, and the terminal device presents the display screen corresponding to the LED interactive display screen according to these data, ensuring the real-time and accuracy of the interactive effect;
[0049] It can dynamically adjust the judgment threshold according to different detection result values and flexibly handle various user behaviors. It can be widely used in various LED interactive display scenarios and has high system adaptability and scalability.
[0050] Compared with the traditional static threshold setting method, this technical solution can automatically adjust the judgment threshold according to real-time detection data, without the need for manual setting and adjustment of parameters, which simplifies the system configuration process and reduces the difficulty of use. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram of the structure of an infrared reflective interactive LED display screen provided by an embodiment of the present invention;
[0052] Figure 2 A flowchart of an infrared reflective interactive LED display screen provided by an embodiment of the present invention;
[0053] Figure 3 An interactive sensing flow chart of an infrared reflective interactive LED display screen provided by an embodiment of the present invention;
[0054] Figure 4 A schematic diagram of a flow chart of an LED interactive display method provided by an embodiment of the present invention;
[0055] Figure 5 A virtual structural diagram of an LED interactive display device provided by an embodiment of the present invention;
[0056] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0057] The following is combined with Figure 1 -Attached Figure 3 , the embodiments of the present invention are further described in detail.
[0058] refer to Figure 1The present invention provides an LED interactive display method, which is applied to an LED interactive display screen, and includes: PC interactive software 00, LED display screen controller 01 and infrared reflective interactive LED display screen 03. Among them, the PC interactive software 00 is connected to the LED display screen controller 01 through a square USB port, and the LED display screen controller 01 is connected to the interactive LED display box 02 through a network cable, so as to realize the interactive control of the software and the display function of the LED display screen.
[0059] The PC interactive software 00 and the LED display controller 01 are connected via a square USB port. The USB interface has the characteristics of fast transmission speed and high stability. The LED display controller and the interactive LED display cabinet are connected using a network cable. The LED display cabinet can be easily increased or decreased as needed to achieve interactive displays of different scales, with excellent scalability. Efficient and stable data transmission is ensured to meet the needs of real-time interaction.
[0060] The main functions of the PC interactive software 00 include selecting and playing interactive programs and adjusting the infrared reflective interactive LED display screen 03. Users can select and play programs through the software, and can also debug and set the infrared reflective interactive LED display screen 03 through the software.
[0061] The LED display controller 01 communicates with the PC through the square USB interface to realize the control of the LED display by the PC interactive software 00. At the same time, the controller also cascades the devices through the UART serial port to realize the control and data transmission of the infrared reflective interactive LED display module.
[0062] This connection method also reduces costs, using common USB and network cable interfaces to reduce the hardware cost of the system. At the same time, the use of standard USB and network cable interfaces allows easy connection and debugging of equipment without the need for professionals, which also reduces the cost of subsequent maintenance and upgrades.
[0063] refer to Figure 2 The infrared reflective interactive LED display screen 03 includes an infrared reflective interactive LED display module 032 and a distribution board 031. Each infrared reflective interactive LED display module 032 sends the combined infrared reflective interactive LED display module sensing data to the distribution board through the serial port TX pin, and the distribution board 031 combines the received infrared reflective interactive LED display module sensing data according to the agreed protocol and uploads it to the PC interactive software 00 via the LED display screen controller 01.
[0064] Each infrared reflective interactive LED display module 032 sends its sensing data to the distribution board 031 through the serial port TX pin. The distribution board 031 then combines the data according to the agreed protocol and uploads it to the PC interactive software 00 via the LED display controller 01, thereby realizing fast and accurate data transmission and processing; the infrared reflective interactive LED display module senses the user's movements, realizing real-time detection and recognition of user interactions, so that users can interact with the LED display more naturally and smoothly, improving the interactive experience.
[0065] Each infrared reflective interactive LED display module 032 includes a power supply, an LED, a sensor 034 and a communication circuit. Among them, the sensor 034 is located at the center of the LED light surface and is used to sense the proximity signal of the LED light surface. The working steps of the sensor 034 include: the MCU033 on the infrared reflective interactive LED display module 032 sets the relevant register value of the sensor through the IIC bus, and the sensor resets 034 and starts to repeat the detection and intermittent process; the MCU033 on the infrared reflective interactive LED display module 032 reads the detection result value of each sensor 034 in turn during the intermittent process; the effective threshold value of the sensor and the most recent effective detection value are obtained by comparing the multiple detection result values of the sensor 034 as the current value; if the current value is larger than the effective threshold value for multiple consecutive times, it is determined that there is proximity sensing; if the current value is smaller than the effective threshold value for multiple consecutive times, it is determined that there is no proximity sensing; if the current value is greater than or less than the effective threshold value for multiple times, no determination is made.
[0066] The infrared reflective interactive LED display module 032 adopts a modular design, and the number of infrared reflective interactive LED display modules 032 can be increased or decreased according to actual needs, so as to conveniently expand or reduce the scale of the system and improve the flexibility and scalability of the system; by combining and processing the sensing data of multiple infrared reflective interactive LED display modules 032 through the distribution board 031, the impact of a single module failure on the entire system can be reduced, thereby improving the stability and reliability of the system; at the same time, the infrared reflective interactive technology is adopted, which has a lower cost than other interactive technologies, and the modular design can also reduce production costs and maintenance costs.
[0067] refer to Figure 3The present invention also provides an interactive sensing method applied to an infrared reflective interactive LED display module 032, comprising the following steps: the interactive sensing module is powered on; the sensor 034 is configured according to the actual situation; measurement and judgment are performed when the current value is reached; whether the current value sent by the serial port is valid is judged, which is divided into three situations: "interaction is valid", "trigger failure" and "false trigger"; after the interactive sensing module is powered on, the sensor parameters are configured to ensure that the sensor 034 works under the correct parameters, thereby improving the stability of the interactive sensing. By judging whether the current value sent by the serial port is valid, it is possible to accurately judge whether the interactive sensing is successfully triggered, thereby avoiding misjudgment and false triggering.
[0068] If the judgment result is "interaction is valid", the sensing data is sent in the format to ensure the accuracy and reliability of the data; if the judgment result is "trigger failure", the judgment on the current value is returned. By continuously adjusting and optimizing parameters, the success rate of interactive sensing can be improved; if the judgment result is "false trigger", the judgment on the current value is returned, avoiding the influence of external interference on the system and improving the stability and reliability of the system. By comparing the multiple detection result values of sensor 034, the effective threshold and the most recent effective detection value are obtained as the current value, and whether there is proximity sensing is determined based on the comparison result between the current value and the effective threshold, thereby reducing the possibility of false triggering; when the current value is greater than or less than the effective threshold for multiple consecutive times, no judgment is made, thereby enhancing the anti-interference ability.
[0069] Among them, "interaction is effective" means that when the input detectable object touches or approaches the infrared reflective interactive LED display module 032, the change in the effective range is sensed, and the corresponding interactive position data is obtained; "trigger failure" means that when the input detectable object touches or approaches the infrared reflective interactive LED display module 032, the change in the effective range is sensed, and the corresponding interactive position data cannot be obtained; "false trigger" means that when the input detectable object does not touch or approach the infrared reflective interactive LED display module 032, the change in the effective range is sensed, but the change is less than the effective threshold, and it is judged as "false trigger".
[0070] Based on the judgment of the interactive sensor module and the sensing data sent, three different interactive modes are generated, providing rich interactive feedback: including the processing of "interaction effective", "trigger failure" and "false trigger", ensuring the real-time and accuracy of the interactive effect.
[0071] The LED interactive display method provided by the present invention is described below from the perspective of an LED interactive display device. The LED interactive display device may be a server or a service unit in a server.
[0072] See also Figure 4 , Figure 4 A schematic flow chart of an LED interactive display method provided by the present invention includes:
[0073] 401. Periodically read the detection result value corresponding to each sensor of N sensors of a target module, where the target module is any one of a plurality of modules set on the LED interactive display screen;
[0074] In this embodiment, the LED interactive display device can set a suitable reading cycle according to the application scenario and actual needs, such as reading once every second, every minute or every hour. The cycle can balance the real-time data acquisition and the resource consumption of the system. Among the multiple modules on the LED interactive display screen, one is selected as the target module. This selection can be based on specific conditions.
[0075] Before the set reading cycle arrives, the timer is triggered to achieve the purpose of triggering the reading operation, and any sensor among the N sensors in the target module is used as the current reading object, and the detection result value returned by the sensor is received, and necessary data processing is performed;
[0076] After completing a round of reading, the system waits for the next reading cycle to arrive. During this period, the system enters a dormant state to save energy. When the next reading cycle arrives, the above reading steps are repeated to achieve the purpose of periodically reading sensor data.
[0077] The detection result value of each sensor is read periodically, and the judgment threshold of each sensor is dynamically determined based on these results. It can adaptively respond to changes in various environments and user behaviors, and improve the accuracy and flexibility of detection.
[0078] 402. Determine a determination threshold of each sensor according to the detection result value.
[0079] In this embodiment, after obtaining the detection result value corresponding to each sensor of the N sensors of the target module, the LED interactive display device can determine the judgment threshold of each sensor according to the monitoring result, which is specifically described below:
[0080] Obtain a first detection result and a second detection result corresponding to the target sensor, where the first detection result is an average value of N detection result values before a first moment and an average value of N detection result values after the first moment;
[0081] Determine an effective threshold value of the target sensor according to the first detection result and the second detection result;
[0082] The decision threshold of each sensor is determined according to the effective threshold and the noise threshold corresponding to the target sensor.
[0083] If there is no target detection value that is continuously greater than the determination threshold and reaches a first preset threshold number of times in the current cycle, determine whether there is a target detection value that is less than the determination threshold in the current cycle;
[0084] If there is a target detection value less than the determination threshold in the current cycle, the interactive state of the LED interactive display screen will not be determined.
[0085] Considering the detection result values before and after the first moment (the first moment is any moment except the start moment and the end moment in the current cycle) (before and after here refer to the moments adjacent to the first moment), the detection status of the sensor can be more comprehensively understood. The LED interactive display device can determine the effective threshold value based on the detection result values of multiple moments before the first moment and the detection result values of multiple moments after the first moment (for example, the first moment is the 5th moment in the current cycle, and the multiple moments are 3 moments, then the multiple moments before refer to the 4th moment, the 3rd moment and the 2nd moment in the current cycle, and the same is true for the multiple moments after). For example, the detection result values (filtered values) of the previous 3 moments and the detection result values of the subsequent 3 moments can be averaged to obtain the effective threshold value, and then the noise threshold corresponding to the target sensor is determined, and the effective threshold value is added to the noise threshold to obtain the judgment threshold.
[0086] It should be noted that the noise threshold is taken into account when determining the judgment threshold. The noise threshold is set based on the characteristics of the sensor, environmental factors or previous calibration data. The noise threshold corresponding to the target sensor is determined, and the judgment threshold of each sensor is determined by combining the effective threshold and the noise threshold.
[0087] By acquiring the data of the target sensor at each reading moment in the current cycle, the real-time update of information is ensured, the accuracy of data collection is improved, and the target detection result value obtained can be used for a variety of subsequent processing and analysis. The system is continuously monitored through the read data to improve the reliability of the system, understand the status and behavior of the system, make better decisions, avoid unnecessary calculations and processing, reduce the energy consumption of the LED interactive display in the invalid interactive state, improve the response efficiency of the system, extend the service life of the equipment, and meet the requirements of energy saving and environmental protection.
[0088] By reducing misjudgments and improving response efficiency, it ensures that response feedback is triggered only when users interact effectively, thereby improving the effectiveness and accuracy of interaction and enhancing user experience. Compared with the traditional static threshold setting method, this application can automatically adjust the judgment threshold according to real-time detection data, without the need to manually set and adjust parameters, simplifying the system configuration process and reducing the difficulty of use.
[0089] 403. Determine a target detection result value of a target sensor at each reading time in a current cycle, where the target sensor is any one of the N sensors.
[0090] In this embodiment, the LED interactive display device can obtain the target detection result value of the target sensor at each reading moment in the current cycle, arbitrarily select one of the N sensors of the LED interactive display screen as the target sensor, and determine the target detection result value of the target sensor at each reading moment in the currently set reading cycle.
[0091] 404. Determine whether there is a target detection value whose number of times continuously exceeds the determination threshold and reaches a first preset threshold in the current cycle;
[0092] In this embodiment, the LED interactive display device can determine whether there is a target detection value that is continuously greater than the judgment threshold and reaches a first preset threshold number of times in the current cycle. For example, it can determine whether there is a situation in which the current value is continuously greater than the judgment threshold for multiple times in the current cycle.
[0093] 405 If there is a target detection value that is continuously greater than the determination threshold and reaches a first preset threshold in the current cycle, the interactive state of the LED interactive display screen is determined to be interactively valid, and the interactively valid data of the target sensor of the LED interactive display screen when the interaction is valid is obtained to obtain the sensor combination data corresponding to the multiple modules;
[0094] In this embodiment, if the current detection result value is greater than the judgment threshold for multiple consecutive times, the interactive state of the LED interactive display screen is determined as valid interaction, and the effective interaction data of the target sensor when the interaction of the LED interactive display screen is valid is obtained to obtain the sensor combination data corresponding to multiple modules.
[0095] It should be noted that if there is no target detection value greater than the determination threshold for a number of times reaching the first preset threshold in the current cycle, it is determined whether there is a target detection value less than the determination threshold in the current cycle;
[0096] If the target detection value is less than the determination threshold value in the current cycle, the interactive state of the LED interactive display screen is not determined;
[0097] If there is a target detection value that is continuously less than the determination threshold and reaches the second preset threshold number of times in the current cycle, it is determined that the interactive state of the LED interactive display screen is no proximity sensing.
[0098] That is to say, if the current detection result value is less than the judgment threshold for multiple consecutive times, it is judged that there is no proximity sensing. If the detection result value is greater than the judgment threshold and also less than the judgment threshold in the current cycle, the interactive state of the LED interactive display screen is not judged.
[0099] It should be noted that the interactive state of the LED interactive display is initialized to "undetermined" or "invalid", and the target detection value of the target sensor in the current cycle is determined according to the set reading frequency, and the determined target detection value is compared with the previously determined judgment threshold, as follows;
[0100] At the beginning of each new reading cycle, two counters are initialized: one is used to record the number of times the value is continuously greater than the judgment threshold (counter A), and the other is used to record the number of times the value is continuously less than the judgment threshold (counter B); according to the set reading frequency, the latest detection value of the target sensor is obtained, and the obtained target detection value is compared with the previously determined judgment threshold.
[0101] If the target detection value is greater than the determination threshold, the counter is increased by 1; if the target detection value is less than or equal to the determination threshold, the counter is reset to 0; check whether the current value of the counter reaches or exceeds the first preset threshold, if so, determine that the interactive state is valid; if not, re-read the next target detection value; when the counter reaches or exceeds the first preset threshold, determine the interactive state of the LED interactive display screen as "interaction valid", when the interactive state is determined to be valid;
[0102] Determine the interactive valid data from the target sensor of the LED interactive display screen, and combine the interactive valid data determined from the target sensor with the corresponding module information, so that each module will have a set of sensor data associated with it, which reflects the state of the sensor in the interactive valid state. After completing the data collection and state determination of the current cycle, reset the counter and state, and then wait for the arrival of the next reading cycle.
[0103] The interactive state of the LED interactive display screen can be accurately determined by judging whether there is a target detection value that is greater than the judgment threshold for a number of times that reaches the first preset threshold in the current cycle. This ensures that the corresponding interactive effect will be triggered only when the user interacts effectively with the display screen, thereby improving the pertinence of the interaction and the user experience.
[0104] 406. Transmit the sensor combination data to the terminal device, so that the terminal device presents the display screen corresponding to the LED interactive display screen according to the sensor combination data.
[0105] In this embodiment, after acquiring the sensor combination data, the LED interactive display device can transmit the sensor combination data to the terminal device, so that the terminal device presents the display screen corresponding to the LED interactive display screen according to the sensor combination data.
[0106] In one embodiment, the LED interactive display device further performs the following operations:
[0107] Determining whether the first moment is a first determined moment;
[0108] If the first moment is the first determination moment, then performing the step of determining the determination threshold of each sensor according to the detection result value;
[0109] If the first moment is not the first determined moment, determining whether the first moment is the second determined moment;
[0110] If the first moment is the second determination moment, the step of determining whether there is a target detection value that is greater than the determination threshold for a number of consecutive times reaching a first preset threshold within the current cycle is performed;
[0111] If the first moment is not the second determined moment, the interactive data of the LED interactive display screen at the first moment is cleared.
[0112] In this embodiment, the interactive sensor module is powered on and works, and the LED interactive display device configures the relevant parameters of each register of the sensor according to the actual configuration. Specifically, the LED interactive display device can first determine the relevant parameters of the register of each sensor in the N sensors, and the relevant parameters include sensor operation mode selection, measurement cycle number setting, measurement time setting, measurement interval time and register setting; read and write the register of each sensor in the N sensors based on the relevant parameters. That is, the LED interactive display device can read and write the relevant parameters of the register of the sensor and make corresponding settings.
[0113] Determine whether the first moment is the measure timing (first determination moment). If the first moment is the measure timing, execute step 402, that is, cache multiple values and perform before and after comparison to obtain the determination threshold of each sensor, and update it;
[0114] If the first moment is not the measure timing, determine whether the first moment is the detect timing (the second determination moment), and if the first moment is the measure timing, execute step 404;
[0115] If the first moment is not a measure timing, the interactive data of the LED interactive display screen at the first moment is cleared;
[0116] It should be noted that if the first moment is not the second determined moment, it is determined whether the first moment is the data upload moment; if the first moment is the data upload moment, the sensor combination data is sent to the terminal device in a preset format; if the first moment is not the data upload moment, the step of determining whether the first moment is the second determined moment is executed.
[0117] The present invention is described above from the perspective of an LED interactive display method, and the present invention is described below from the perspective of an LED interactive display device.
[0118] See also Figure 5 , Figure 5 A virtual structural diagram of an LED interactive display device provided by an embodiment of the present invention, the LED interactive display device 500 includes:
[0119] A reading module 501, used for periodically reading the detection result value corresponding to each sensor of N sensors of a target module, wherein the target module is any one of the multiple modules provided on the LED interactive display screen;
[0120] A first determination module 502, configured to determine a determination threshold of each sensor according to the detection result value;
[0121] A second determination module 503 is used to determine a target detection result value of a target sensor at each reading time in a current cycle, wherein the target sensor is any one of the N sensors;
[0122] A judgment module 504 is used to judge whether there is a target detection value that is continuously greater than the judgment threshold and reaches a first preset threshold number of times in the current cycle;
[0123] The processing module 505 is used to determine the interactive state of the LED interactive display screen as interactively valid if the target detection value is continuously greater than the determination threshold value for a number of times reaching a first preset threshold value within the current cycle, and determine the interactively valid data of the target sensor when the interaction of the LED interactive display screen is valid, so as to obtain the sensor combination data corresponding to the multiple modules;
[0124] The transmission module 506 is used to transmit the sensor combination data to the terminal device, so that the terminal device presents the display screen corresponding to the LED interactive display screen according to the sensor combination data.
[0125] In a possible design, the first determining module 502 is specifically configured to:
[0126] Determine a first detection result and a second detection result corresponding to the target sensor, wherein the first detection result is an average value of N detection result values before a first moment and an average value of N detection result values after the first moment;
[0127] Determine an effective threshold of the target sensor according to the first detection result and the second detection result;
[0128] The determination threshold of each sensor is determined according to the effective threshold and the noise threshold corresponding to the target sensor.
[0129] In a possible design, the processing module 505 is further used for:
[0130] If there is no target detection value that is continuously greater than the determination threshold and reaches the first preset threshold number of times in the current cycle, determining whether the target detection value is less than the determination threshold in the current cycle;
[0131] If the target detection value that is less than the determination threshold exists in the current cycle, the interactive state of the LED interactive display screen is not determined.
[0132] In a possible design, the determining module 504 is further configured to:
[0133] If the target detection value is continuously smaller than the determination threshold value for a number of times reaching the second preset threshold value within the current cycle, the interactive state of the LED interactive display screen is determined to be no proximity sensing.
[0134] In a possible design, the processing module 505 is further used for:
[0135] Determining whether the first moment is a first determined moment;
[0136] If the first moment is the first determination moment, then performing the step of determining the determination threshold of each sensor according to the detection result value;
[0137] If the first moment is not the first determined moment, determining whether the first moment is the second determined moment;
[0138] If the first moment is the second determination moment, a step of determining whether there is a target detection value that is continuously greater than the determination threshold and reaches a first preset threshold for a number of times within the current period is performed;
[0139] If the first moment is not the second determined moment, the interactive data of the LED interactive display screen at the first moment is cleared.
[0140] In a possible design, the transmission module 506 is specifically used for:
[0141] If the first moment is not the second determined moment, determining whether the first moment is not a data upload moment;
[0142] If the first moment is a data upload moment, sending the sensor combination data to the terminal device in a preset format;
[0143] If the first moment is not the data upload moment, a step of determining whether the first moment is a second determined moment is performed.
[0144] In a possible design, the reading module 501 is further used for:
[0145] Determine relevant parameters of a register of each of the N sensors, wherein the relevant parameters include sensor operation mode selection, measurement cycle number setting, measurement time setting, measurement interval time and register setting;
[0146] A register of each of the N sensors is read and written based on the relevant parameters.
[0147] It should be understood that the various variations and specific embodiments of the LED interactive display method provided in the above embodiments are also applicable to the LED interactive display device of this embodiment. Through the above detailed description of the LED interactive display method, those skilled in the art can clearly know the implementation method of the LED interactive display device in this embodiment. For the sake of brevity of the specification, it will not be described in detail here.
[0148] See also Figure 6 FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. In a preferred embodiment of the present invention, the electronic device 6 includes a memory 61 , at least one processor 62 and at least one communication bus 63 .
[0149] Those skilled in the art should understand that Figure 6 The structure of the electronic device shown does not constitute a limitation of the embodiments of the present invention, and may be a bus structure or a star structure. The electronic device 6 may also include more or less other hardware or software than shown in the figure, or a different arrangement of components.
[0150] In some embodiments, the electronic device 6 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors, and embedded devices. It should be noted that the electronic device 6 is only an example, and other existing or future electronic products that are suitable for the present invention should also be included in the scope of protection of the present invention and are included here by reference.
[0151] In some embodiments, a computer program is stored in the memory 61, and when the computer program is executed by the at least one processor 62, all or part of the steps in the LED interactive display method described above are implemented. The memory 61 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc memory, magnetic disk memory, magnetic tape memory, or any other computer-readable medium that can be used to carry or store data. Further, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc. The blockchain referred to in this invention is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, platform product service layer, and application service layer.
[0152] In some embodiments, the at least one processor 62 is the control core (ControlUnit) of the electronic device 6, and uses various interfaces and lines to connect various components of the entire electronic device 6, and executes various functions and processes data of the electronic device 6 by running or executing programs or modules stored in the memory 61, and calling data stored in the memory 61. For example, when the at least one processor 62 executes the computer program stored in the memory, it implements all or part of the steps of the above-mentioned LED interactive display method in the embodiment of the present invention; or implements all or part of the functions of the device. The at least one processor 62 can be composed of an integrated circuit, for example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple integrated circuits with the same function or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips.
[0153] In some embodiments, the at least one communication bus 63 is configured to realize the connection and communication between the memory 61 and the at least one processor 62. Although not shown, the electronic device 6 may also include a power supply (such as a battery) for powering each component. Preferably, the power supply may be logically connected to the at least one processor 62 through a power management device, so that the power management device can realize the functions of managing charging, discharging, and power consumption management. The power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 6 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0154] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium and includes a number of instructions for enabling an electronic device (which can be a personal computer, an electronic device, or a network device, etc.) or a processor to execute a part of the method described in each embodiment of the present invention.
[0155] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0156] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0157] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An LED interactive display method, characterized in that: Applied to LED interactive display screens, including: Periodically reading the detection result value corresponding to each sensor of N sensors of a target module, wherein the target module is any one of a plurality of modules provided on the LED interactive display screen; Determine a determination threshold of each sensor according to the detection result value; Determine a target detection value of a target sensor at each reading moment in a current cycle, wherein the target sensor is any one of the N sensors; Determine whether there is a target detection value that is continuously greater than the determination threshold and reaches a first preset threshold number of times within the current cycle; If the target detection value exists within the current cycle and the number of times continuously greater than the determination threshold reaches a first preset threshold, the interactive state of the LED interactive display screen is determined to be interactively valid, and the interactively valid data of the target sensor when the interaction of the LED interactive display screen is valid is obtained to obtain the sensor combination data corresponding to the multiple modules; The sensor combination data is transmitted to a terminal device, so that the terminal device presents a display screen corresponding to the LED interactive display screen according to the sensor combination data.
2. The method according to claim 1, characterized in that: Determining the determination threshold of each sensor according to the detection result value includes: Obtaining a first detection result and a second detection result corresponding to the target sensor, wherein the first detection result is an average value of N detection result values before a first moment and an average value of N detection result values after the first moment; Determine an effective threshold of the target sensor according to the first detection result and the second detection result; The determination threshold of each sensor is determined according to the effective threshold and the noise threshold corresponding to the target sensor.
3. The method according to claim 1, characterized in that The method further comprises: If there is no target detection value that is continuously greater than the determination threshold and the number of times that reaches the first preset threshold in the current cycle, determining whether there is a target detection value that is less than the determination threshold in the current cycle; If the target detection value that is less than the determination threshold exists in the current cycle, the interactive state of the LED interactive display screen is not determined.
4. The method according to claim 3, characterized in that The method further comprises: If the target detection value is continuously smaller than the determination threshold value for a number of times reaching a second preset threshold value within the current cycle, the interactive state of the LED interactive display screen is determined to be no proximity sensing.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Determining whether the first moment is a first determined moment; If the first moment is the first determination moment, then performing the step of determining the determination threshold of each sensor according to the detection result value; If the first moment is not the first determined moment, determining whether the first moment is the second determined moment; If the first moment is the second determination moment, a step of determining whether there is a target detection value that is continuously greater than the determination threshold and reaches a first preset threshold for a number of times within the current period is performed; If the first moment is not the second determined moment, the interactive data of the LED interactive display screen at the first moment is cleared.
6. The method according to claim 5, characterized in that The transmitting the sensing combination data to the terminal device comprises: If the first moment is not the second determined moment, determining whether the first moment is a data upload moment; If the first moment is a data upload moment, sending the sensor combination data to the terminal device in a preset format; If the first moment is not the data upload moment, a step of determining whether the first moment is a second determined moment is performed.
7. The method according to any one of claims 1 to 4 and 6, characterized in that: The method further comprises: Determine relevant parameters of a register of each of the N sensors, wherein the relevant parameters include sensor operation mode selection, measurement cycle number setting, measurement time setting, measurement interval time and register setting; A register of each of the N sensors is read and written based on the relevant parameters.
8. An LED interactive display screen, characterized in that: include: A reading module, used for periodically reading the detection result value corresponding to each sensor of the N sensors of the target module, wherein the target module is any one of the multiple modules provided on the LED interactive display screen; A first determination module, used to determine a determination threshold of each sensor according to the detection result value; A second determination module is used to determine a target detection value of a target sensor at each reading moment in a current cycle, wherein the target sensor is any one of the N sensors; A judging module, used for judging whether there is a target detection value that is continuously greater than the judgment threshold and reaches a first preset threshold for a number of times within the current cycle; A processing module, configured to determine the interactive state of the LED interactive display screen as interactively valid if the target detection value continuously exceeds the determination threshold value for a number of times reaching a first preset threshold value within the current cycle, and obtain interactively valid data of the target sensor when the interaction of the LED interactive display screen is valid, so as to obtain the sensor combination data corresponding to the multiple modules; The transmission module is used to transmit the sensor combination data to the terminal device, so that the terminal device presents the display screen corresponding to the LED interactive display screen according to the sensor combination data.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the LED interactive display method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the LED interactive display method according to any one of claims 1 to 7 are implemented.
