Advertisement player interaction method, system and device and storage medium
The method uses light signals to facilitate automatic Wi-Fi Direct connections for stable and efficient advertising content delivery, addressing connection instability and complexity in traditional methods.
Patent Information
- Application Number
- CN202510531499.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-07-15
AI Technical Summary
The content transmission of traditional advertising machines relies on Internet connection and wireless communication technology, with stability problems and user operation complexity, especially in remote areas, resulting in delayed download and update and poor user experience.
By converting the authentication key into a binary optical signal, the optical signal is emitted by the advertising machine transmitting module to automatically trigger Wi-Fi Direct scanning, establish a point-to-point connection, and transmit the main content through Wi-Fi Direct, combining optical signal-assisted authentication and dynamic adjustment strategies for network load.
It realizes fast, secure connection and efficient data transmission in unstable wireless network environments, simplifies the device pairing process, and improves transmission reliability and user experience.
Smart Images

Figure CN120321602A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of advertising data processing, and in particular, to an advertising machine interaction method, system, device, and storage medium. Background Art
[0002] Traditional advertising content transmission mainly relies on wireless communication technologies such as Internet connection, Bluetooth, or Wi-Fi. These methods may encounter some challenges and limitations in practical applications. For example, in some occasions, such as large-scale events, exhibitions, or remote areas, a stable Internet connection may not be guaranteed, resulting in delays in downloading and updating advertising content. When using Bluetooth or other wireless technologies, the pairing between devices usually requires manual operation by the user, with complex and time-consuming steps, reducing the user experience. Summary of the Invention
[0003] Embodiments of the present invention provide an advertising machine interaction method, system, device, and storage medium to solve the problems existing in the related technologies. The technical solutions are as follows:
[0004] In a first aspect, embodiments of the present invention provide an advertising machine interaction method, including:
[0005] Obtain interaction data, perform block processing on the interaction data to obtain an authentication key and main content;
[0006] Convert the authentication key into binary, generate an optical signal including the number of flashes and color sequence, and transmit the optical signal to a specified device through a transmission module on the advertising machine, so that the specified device automatically triggers Wi-Fi Direct scanning when the optical signal is received and the authentication is successful;
[0007] Start the Wi-Fi Direct function. When the specified device scans and discovers the Wi-Fi Direct signal, the advertising machine establishes a connection with the specified device through Wi-Fi Direct, and transmits the main content to the specified device through Wi-Fi Direct to achieve data interaction.
[0008] In an implementation manner, converting the authentication key into binary and generating an optical signal including the number of flashes and color sequence includes:
[0009] Convert the authentication key into binary data, perform data compression on the binary data through a compression algorithm to obtain compressed data;
[0010] Determine the flashing color and number of flashes according to each binary bit of the compressed data according to a preset flashing rule to output the corresponding optical signal.
[0011] In an implementation manner, converting the authentication key into binary and generating an optical signal including the number of flashes and color sequence includes:
[0012] Split the authentication key into multiple key blocks and convert each key block into a corresponding optical signal;
[0013] Transmit the optical signals corresponding to the respective key blocks to the corresponding sub-regions of the transmitting module, and cause the LED groups in each sub-region to emit their corresponding optical signals; wherein, the transmitting module is pre-divided into multiple sub-regions, and each sub-region includes at least one LED group.
[0014] In one implementation, automatically triggering a Wi-Fi Direct scan when a specified device receives an optical signal and the authentication is successful includes:
[0015] Parse the optical signal to extract the authentication key;
[0016] Compare the parsed authentication key with a pre-stored list of legitimate keys. If the authentication key matches the list of legitimate keys, the authentication is successful and the Wi-Fi Direct scan is triggered.
[0017] In one implementation, it further includes:
[0018] When the advertising machine and the specified device establish a connection through Wi-Fi Direct, obtain the real-time location of the specified device;
[0019] Automatically switch the advertising content according to the real-time location and push the advertising content to the specified device through Wi-Fi Direct for display.
[0020] In one implementation, it further includes:
[0021] Obtain network data and determine the network load level according to the network data;
[0022] Dynamically adjust the transmission strategy of the main content according to the network load level, and transmit the main content to the specified device according to the transmission strategy.
[0023] In one implementation, the main content includes pictures, videos, and URL links.
[0024] In a second aspect, an embodiment of the present invention provides an advertising machine interaction system that executes the advertising machine interaction method as described above; the system includes:
[0025] A chunking module, configured to obtain interaction data, perform chunking processing on the interaction data, and obtain an authentication key and main content;
[0026] An optical signal processing module is configured to convert the authentication key into binary, generate an optical signal including the number of blinks and the color sequence, and transmit the optical signal to a specified device through a transmitting module on the advertising machine, so that the specified device automatically triggers a Wi-Fi Direct scan when receiving the optical signal;
[0027] A data interaction module is configured to activate the Wi-Fi Direct function to form a temporary local area network. When the specified device scans and discovers the Wi-Fi Direct signal, the advertising machine establishes a connection with the specified device within the temporary local area network, and transmits the main content to the specified device through Wi-Fi Direct to achieve data interaction.
[0028] In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory and a processor. The memory and the processor communicate with each other through an internal connection path. The memory is used to store instructions, and the processor is used to execute the instructions stored in the memory. When the processor executes the instructions stored in the memory, the processor executes the method in any one of the above aspects.
[0029] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program. When the computer program runs on a computer, the method in any one of the above aspects is executed.
[0030] The advantages or beneficial effects in the above technical solutions at least include:
[0031] The present invention uses an authentication key to be transmitted via an optical signal, which can add an extra security layer to the Wi-Fi Direct connection and prevent unauthorized access. After the specified device receives the optical signal, it automatically searches for Wi-Fi Direct. Wi-Fi Direct allows devices to directly establish a point-to-point connection without passing through a central access point, simplifies the pairing process, and can complete automatic recognition and fast connection with the assistance of the optical signal. Using Wi-Fi Direct for the transmission of the main content can provide a more stable and efficient transmission environment in a local area, reduce the impact caused by external network fluctuations, and improve the transmission reliability.
[0032] The above summary is only for the purpose of the specification and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the several views denote the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments disclosed in accordance with the present invention and should not be regarded as limiting the scope of the present invention.
[0034] Figure 1 It is a schematic flow chart of the advertising machine interaction method of the present invention;
[0035] Figure 2 It is a structural block diagram of an electronic device according to an embodiment of the present invention. Detailed embodiments
[0036] In the following, only some exemplary embodiments are simply described. As those skilled in the art can recognize, the described embodiments can be modified in various different ways without departing from the spirit or scope of the present invention. Therefore, the drawings and the description are considered to be exemplary in nature rather than restrictive.
[0037] Embodiment 1
[0038] This embodiment provides an advertising machine interaction method. The execution subject of this method can be the advertising machine itself or a server connected to the advertising machine. The advertising machine interaction method of this embodiment is executed by the advertising machine, as Figure 1 shown, its interaction method mainly includes the following steps:
[0039] Step S1: Obtain interaction data, perform block processing on the interaction data to obtain an authentication key and main content.
[0040] During the interaction between the advertising machine and the specified device, the obtained interaction data usually includes an authentication key and main content (such as advertising content). The goal of block processing is to separate the authentication key and main content from the interaction data, and the interaction data can be transmitted in various forms, such as strings, byte streams, or JSON formats. If the interaction data is transmitted in binary form, the length prefix block method is used to extract the authentication key and main content; if it is a string or structured data, delimiter block or JSON format parsing can be selected to extract the authentication key and main content.
[0041] Step S2: Convert the authentication key into binary, generate an optical signal including the number of blinks and color sequence, and transmit the optical signal to the specified device through the emission module on the advertising machine, so that the specified device automatically triggers Wi-Fi Direct scanning when receiving the optical signal.
[0042] In this embodiment, the authentication key (such as in string form) is converted into a binary representation. Each character can be converted into an 8-bit binary number through its ASCII value.
[0043] In this embodiment, it is predefined how to represent binary data with optical signals (color and number of flashes). Two colors can be used to represent binary 0 and 1. For example, red represents 1 and blue represents 0. Then, one flash of red light represents binary 1, and one flash of blue light represents binary 0.
[0044] Furthermore, start and end flags can be defined to mark a complete data packet. For example, three consecutive green lights are used as the start flag, and three consecutive yellow lights are used as the end flag.
[0045] According to the predefined encoding rules, the binary authentication key is converted into a series of color flash sequences, including the start flag, the actual data (authentication key), possible parity bits (used to ensure error-free data transmission), and the end flag.
[0046] For example: At the beginning, three green lights are emitted as the start flag; according to the binary representation of the authentication key, red or blue lights are emitted in sequence (depending on whether the current bit is 1 or 0); parity bits (optional) are emitted to verify whether the receiving end has correctly received the data; finally, three yellow lights are emitted as the end flag.
[0047] The transmitting module on the advertising machine emits optical signals according to the designed optical signal pattern. During the process of emitting optical signals, it is necessary to control the color change and flash frequency of the LED lights. At the same time, it is necessary to ensure that the emitted optical signals are clear and stable to avoid misidentification caused by external light interference.
[0048] The specified device needs to be equipped with an optical signal receiver that can capture the optical signals from the advertising machine and decode them back to the original binary authentication key. For example, the specified device can be a mobile phone. The mobile phone captures the optical signals through the camera, analyzes the optical signals, identifies the start and end flags, confirms that this is a valid data packet, and then restores the original binary string according to the color flash sequence, and converts the binary string back to the authentication key.
[0049] Once the specified device successfully receives and verifies the authentication key, the parsed authentication key is compared with the pre-stored list of legitimate keys. If the authentication key matches the list of legitimate keys, the authentication is successful and the Wi-Fi Direct scan is automatically triggered to find available direct connections. Otherwise, the authentication fails and the subsequent Wi-Fi Direct connection operation cannot continue.
[0050] Among them, the user can receive the optical signals emitted by the advertising machine through the specified application program. At the same time, the list of legitimate keys is pre-stored in the specified application program.
[0051] Further, in order to reduce the binary representation size of the authentication key, after converting the authentication key into binary data, the binary data is compressed by a compression algorithm to obtain compressed data; according to a preset flashing rule, the flashing color and the number of flashes are determined based on each binary bit of the compressed data to output corresponding optical signals. Among them, the compression algorithm can be run-length encoding, Huffman encoding, etc.
[0052] In addition, in order to further improve the transmission efficiency of the authentication key, the authentication key is split into multiple key blocks, and the corresponding optical signals are emitted through the sub-regions of the emission module and the LED group to achieve efficient and reliable transmission of the authentication key. Specifically, the authentication key is split into multiple key blocks according to a fixed length (such as 4 bits or 8 bits). For example, if the original authentication key is A1B2, the original authentication key is converted into binary: 01000001001100010100001000110010; the multiple key blocks obtained by splitting according to the fixed length (8 bits per group) are: 01000001, 00110001, 01000010, 00110010.
[0053] Each key block can be appended with a check bit (such as parity check or CRC check code) to ensure data integrity. For example, calculate the parity check bit for each key block and add it to the end.
[0054] The emission module of the advertising machine is pre-divided into multiple sub-regions, and each sub-region is responsible for emitting the optical signal of one key block. For example, assuming that the authentication key is split into 4 key blocks, the emission module is divided into 4 sub-regions. Each sub-region contains at least one LED group, and the LED group consists of multiple LED lights, which are used to emit different colors of light such as red, green, blue, and yellow.
[0055] There is no interference between the sub-regions, so that the optical signals are emitted simultaneously between the sub-regions. The designated device recombines the multiple received key blocks into a complete authentication key, and compares the recombined authentication key with the pre-stored list of legitimate keys to complete the authentication operation. In this embodiment, through parallel transmission of multiple sub-regions, the transmission time of the optical signal is significantly shortened.
[0056] Step S3: Start the Wi-Fi Direct function to form a temporary local area network. When the designated device scans and discovers the Wi-Fi Direct signal, the advertising machine and the designated device establish a connection within the temporary local area network, and transmit the main content to the designated device through Wi-Fi Direct to achieve data interaction.
[0057] The advertising machine is equipped with a wireless network card that supports Wi-Fi Direct, and uses the service discovery function of Wi-Fi Direct to find nearby receiving devices that support Wi-Fi Direct. In this embodiment, the advertising machine activates the Wi-Fi Direct function. When a specified device scans and discovers the Wi-Fi Direct signal, the advertising machine establishes a connection with the specified device. Once the Wi-Fi Direct network is established, efficient data transmission can be carried out using the TCP / IP protocol stack, and the main content of the interactive data in the advertising machine is transmitted to the specified device via Wi-Fi Direct for display. Among them, the main content is the actual advertising content, and the advertising content can be in the form of pictures, videos, or URL links.
[0058] For example, the advertising machine pushes dynamic AR anchor data to the user device via Wi-Fi Direct. After the user device downloads the AR model, a virtual 3D model can be superimposed on the actual picture. Or, after the user collects the optical signal emitted by the advertising machine, the advertising machine pushes the purchase link of a certain advertisement to the user device via Wi-Fi Direct.
[0059] In addition, in combination with the device positioning function of Wi-Fi Direct (such as RSSI signal strength), the advertising machine dynamically adjusts the pushed content according to the user's location. Specifically, when the advertising machine and the specified device establish a connection via Wi-Fi Direct, the real-time location of the specified device is obtained; when it is determined that the user is close to a specific area of the advertising machine according to the real-time location, Wi-Fi Direct automatically switches the advertising content (such as pushing navigation at the mall entrance and promotional information in the commodity area).
[0060] Or record the user's stay trajectory in the advertising area, and push personalized follow-up advertisements via Wi-Fi Direct (such as pushing matching suggestions if the user stays in the clothing area for a long time). Using the signal strength of Wi-Fi Direct and the device MAC address, combined with geographical location positioning technology, centimeter-level precise pushing is achieved.
[0061] Furthermore, in order to improve the transmission efficiency of the main content, the network data of the temporary local area network can also be obtained, and the network load level is determined according to the network data; the transmission strategy of the main content is dynamically adjusted according to the network load level, and the main content is transmitted to the specified device according to the transmission strategy.
[0062] Among them, the network data includes the advertising machine regularly detecting the available bandwidth of the Wi-Fi Direct network (such as measuring the round-trip time by sending small data packets), monitoring the total number of currently connected devices, and the activity status of each device (such as whether it is downloading advertising content), and counting the amount of data transmitted per second (such as video streams, pictures, etc.), and calculating the average delay and packet loss rate. Determine the network load level according to the network data. Assuming it is a low load, the number of devices needs to be less than 3, the broadband utilization rate needs to be lower than 30%, the delay is lower than 50ms, and there is no obvious packet loss. Assuming it is a medium load, the number of devices is 4 - 8, the bandwidth utilization rate is between 30% - 70%, the delay is between 50 - 200ms, and there is occasional packet loss. A high load means that the number of devices exceeds 8, the bandwidth utilization rate is higher than 70%, the delay is higher than 200ms, and the packet loss rate increases significantly.
[0063] Dynamically adjust the transmission strategy of the main content according to the network load level. Pre-prioritize the content of the main content. For example, the main content can be divided into key content, which includes basic advertising information (such as title, short description), and can also be divided into extended content, including large files such as high-definition pictures, videos, AR models, etc. Key content is transmitted first to ensure that the core function can be completed even under high load; while the extended content dynamically adjusts the resolution or compression ratio according to the network load.
[0064] Among them, the load-adaptive transmission strategy includes:
[0065] In a low-load scenario, transmit all advertising content (such as 4K videos, complete AR models) at the maximum resolution and quality, and at the same time support multi-device concurrent connections without queuing.
[0066] In a medium-load scenario, perform hierarchical transmission, that is, first transmit the low-resolution version (such as 720p video or simplified AR model), and then transmit the high-resolution version after the user selects. In addition, bandwidth can also be allocated according to device priority (such as VIP users), or speed limits can be imposed on low-priority devices (such as limiting the single-device rate to 1Mbps). Even use H.264 or H.265 encoding to compress video content to reduce transmission requirements, or use the JPEG format for pictures and dynamically adjust the compression ratio (such as from 90% to 70%).
[0067] In a high-load scenario, only transmit the most critical content (such as text, thumbnails); or split large files into multiple small pieces and transmit them on demand, automatically save the progress after disconnection, and continue to transmit the unfinished part when reconnecting. In a high-load scenario, stop non-essential functions (such as pausing AR rendering), and at the same time provide an offline download link (such as a QR code pointing to cloud storage).
[0068] In some embodiments, intelligent scheduling can also be implemented according to user behavior. For example, users marked as active users, that is, users who are interacting with the advertising machine (such as clicking on an advertising button), are given priority to ensure their network resources. Potential users, that is, users who are only connected but not operating, have their bandwidth allocation appropriately reduced. And idle users, that is, users who have no operation after connecting for more than a set time (such as 1 minute), are automatically disconnected.
[0069] The advertising machine can dynamically adjust the transmission strategy of the main content according to the network load of Wi-Fi Direct, and can provide efficient and stable services in different load scenarios.
[0070] Embodiment 2
[0071] This embodiment provides an advertising machine interaction system, which includes a designated device and an advertising machine. After optical signal authentication, the designated device and the advertising machine are connected through Wi-Fi Direct to realize the transmission of the main content. The advertising machine interaction system applied by the advertising machine includes:
[0072] A chunking module, which is used to obtain interaction data, perform chunking processing on the interaction data, and obtain an authentication key and the main content;
[0073] An optical signal processing module, which is used to convert the authentication key into binary, generate an optical signal including the number of flashes and the color sequence, and transmit the optical signal to the designated device through the transmitting module on the advertising machine, so that the designated device automatically triggers a Wi-Fi Direct scan when it receives the optical signal;
[0074] A data interaction module, which is used to activate the Wi-Fi Direct function to form a temporary local area network. When the designated device scans and discovers the Wi-Fi Direct signal, the advertising machine and the designated device establish a connection within the temporary local area network, and transmit the main content to the designated device through Wi-Fi Direct to realize data interaction.
[0075] The present invention uses an authentication key to be transmitted via an optical signal, which can add an additional security layer to the Wi-Fi Direct connection to prevent unauthorized access; the designated device automatically searches for Wi-Fi Direct after receiving the optical signal. Wi-Fi Direct allows devices to directly establish a point-to-point connection without passing through a central access point, simplifies the pairing process, and can complete automatic identification and quick connection with the assistance of an optical signal; using Wi-Fi Direct for the transmission of the main content can provide a more stable and efficient transmission environment in a local area, reduce the impact caused by external network fluctuations, and improve the transmission reliability.
[0076] It should be noted that the functions of each module in the system of the embodiment of the present invention can be referred to the corresponding descriptions in the above method, and will not be repeated here.
[0077] Embodiment III
[0078] This embodiment provides an electronic device, Figure 2 showing a structural block diagram of an electronic device according to an embodiment of the present invention. As Figure 2 shown, the electronic device includes: a memory 100 and a processor 200, and a computer program that can run on the processor 200 is stored in the memory 100. When the processor 200 executes the computer program, the advertising machine interaction method in the above embodiment is implemented. The number of the memory 100 and the processor 200 can be one or more.
[0079] The electronic device further includes:
[0080] a communication interface 300, configured to communicate with external devices and perform data interaction and transmission.
[0081] If the memory 100, the processor 200, and the communication interface 300 are implemented independently, the memory 100, the processor 200, and the communication interface 300 can be interconnected through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0082] Optionally, in specific implementation, if the memory 100, the processor 200, and the communication interface 300 are integrated on a chip, the memory 100, the processor 200, and the communication interface 300 can complete communication with each other through an internal interface.
[0083] The embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, the method provided in the embodiment of the present invention is implemented.
[0084] The embodiment of the present invention further provides a chip, which includes a processor, configured to call and run instructions stored in a memory from the memory, so that a communication device installed with the chip executes the method provided in the embodiment of the present invention.
[0085] An embodiment of the present invention further provides a chip, including: an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected through an internal connection path. The processor is configured to execute the code in the memory. When the code is executed, the processor is configured to execute the method provided by the embodiment of the present invention.
[0086] It should be understood that the above-mentioned processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0087] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may further include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).
[0088] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0089] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0090] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of the present invention, "a plurality of" means two or more unless otherwise specifically defined.
[0091] As described above, the above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various changes or substitutions, and these should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. An advertising machine interaction method, characterized in that, Including: Obtain interaction data, perform chunking processing on the interaction data to obtain an authentication key and main content; Convert the authentication key into binary, generate an optical signal including the number of blinks and color sequence, and transmit the optical signal to a specified device through a transmission module on an advertising machine, so that the specified device automatically triggers Wi-Fi Direct scanning when the optical signal is received and the authentication is successful; Start the Wi-Fi Direct function. When the specified device scans and discovers the Wi-Fi Direct signal, the advertising machine establishes a connection with the specified device through Wi-Fi Direct, and transmits the main content to the specified device through Wi-Fi Direct to achieve data interaction.
2. The advertising machine interaction method according to claim 1, wherein The converting the authentication key into binary and generating an optical signal including the number of blinks and color sequence includes: Convert the authentication key into binary data, perform data compression on the binary data through a compression algorithm to obtain compressed data; Determine the blink color and number of blinks according to each binary bit of the compressed data according to a preset blink rule to output a corresponding optical signal.
3. The advertising machine interaction method according to claim 1, wherein The converting the authentication key into binary and generating an optical signal including the number of blinks and color sequence includes: Split the authentication key into multiple key blocks, and convert each key block into a corresponding optical signal; Transmit the optical signals corresponding to the respective key blocks to corresponding sub-regions of the transmission module, and enable the LED groups in the respective sub-regions to emit their corresponding optical signals; wherein, the transmission module is pre-divided into multiple sub-regions, and each sub-region includes at least one LED group.
4. The advertising machine interaction method according to claim 1, characterized in that The enabling the specified device to automatically trigger Wi-Fi Direct scanning when the optical signal is received and the authentication is successful includes: Parse the optical signal to extract the authentication key; Compare the parsed authentication key with a pre-stored list of legitimate keys. When the authentication key matches the list of legitimate keys, the authentication is successful and Wi-Fi Direct scanning is triggered.
5. The advertising machine interaction method according to claim 1, characterized in that Also including: When the advertising machine establishes a connection with the specified device through Wi-Fi Direct, obtain the real-time location of the specified device; Automatically switch the advertising content according to the real-time location and push the advertising content to the specified device through Wi-Fi Direct for display.
6. The advertising machine interaction method according to claim 1, characterized in that Also including: Obtain network data, and determine the network load level according to the network data; Dynamically adjust the transmission strategy of the main content according to the network load level, and transmit the main content to the specified device according to the transmission strategy.
7. The advertising machine interaction method according to claim 1, characterized in that, The main content includes pictures, videos, URL links.
8. An advertising machine interaction system, characterized in that, Execute the advertising machine interaction method according to any one of claims 1 to 7; The system includes: A chunking module for obtaining interaction data and performing chunking processing on the interaction data to obtain an authentication key and main content; An optical signal processing module, configured to convert the authentication key into binary, generate an optical signal including the number of blinks and a color sequence, and transmit the optical signal to a specified device through a transmitting module on an advertising machine, so that the specified device automatically triggers a Wi-Fi Direct scan when receiving the optical signal; A data interaction module, configured to start the Wi-Fi Direct function to form a temporary local area network, establish a connection between the advertising machine and the specified device within the temporary local area network when the specified device scans and discovers a Wi-Fi Direct signal, and transmit the main content to the specified device through Wi-Fi Direct to implement data interaction.
9. An electronic device, characterized in that, Comprising: A processor and a memory, wherein instructions are stored in the memory, and the instructions are loaded and executed by the processor to implement the advertising machine interaction method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the advertising machine interaction method according to any one of claims 1 to 7 is implemented.