Display control method, device and medium for NFC passive display device

By judging and performing data compression processing in NFC passive display devices, the problem of long data transmission time is solved, transmission efficiency and user experience are improved, and faster display control is achieved.

CN117202146BActive Publication Date: 2024-10-18SHENZHEN KAICONN INNOVATIVE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311157313.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-06
Publication Date
2024-10-18
Estimated Expiration
2043-09-06

AI Technical Summary

Technical Problem

In NFC passive display devices, the data transmission time is too long, which affects the display control efficiency and user experience, especially when the amount of data is large.

Method used

By establishing a near-field communication connection with the NFC passive display device, the time constraint information is obtained, and it is judged whether the data compression triggering condition is met. If it is met, the data compression process is performed and the compressed data packet is transmitted. If it is not met, the data to be transmitted is directly transmitted. Improve data transmission efficiency.

Benefits of technology

It improves data transmission efficiency and display control efficiency, improves user experience, and significantly shortens transmission time especially when the amount of data is large.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117202146B_ABST
    Figure CN117202146B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a display control method, device and medium for an NFC passive display device. The method includes: establishing a near field communication connection with an NFC passive display device, obtaining time constraint information of the NFC passive display device; obtaining data to be transmitted, and determining whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information; if the data compression trigger condition is met, performing data compression processing on the data to be transmitted to obtain at least one compressed data packet and use it as target transmission data; if the data compression trigger condition is not met, using the data to be transmitted as target transmission data; transmitting the target transmission data to the NFC passive display device to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data. Performing data compression before transmitting data when necessary can improve data transmission efficiency and display control efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display control technology, and in particular to a display control method, device and medium for an NFC passive display device. Background Art

[0002] With the development of science and technology, the application of NFC passive display devices is becoming more and more widespread. NFC passive display devices can display content through the NFC passive ink screen, for example, display text or images.

[0003] In the related art, a control terminal such as a mobile phone usually establishes an NFC connection with an NFC passive display device, thereby controlling the display of the NFC passive display device. For example, a mobile phone directly sends an image to the NFC passive display device, so that the NFC passive display device displays the corresponding image. The problem with the related art is that when the control terminal and the NFC passive display device directly transmit data, when the amount of data is large, the transmission time is too long, which is not conducive to improving the display control efficiency and affects the user experience. Summary of the invention

[0004] The embodiment of the present application provides a display control method, device and medium for NFC passive display devices, which can determine whether the data compression trigger condition is met according to the data to be transmitted and the time constraint information. If the data compression trigger condition is met, data compression processing is performed to obtain the target transmission data, and then the target transmission data is transmitted. This is conducive to improving data transmission efficiency, thereby improving display control efficiency and enhancing user experience.

[0005] A first aspect of an embodiment of the present application provides a display control method for an NFC passive display device, the method comprising:

[0006] Establishing a near field communication connection with an NFC passive display device, and obtaining time constraint information of the NFC passive display device during data transmission;

[0007] Acquire the data to be transmitted, and determine whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information;

[0008] If the data compression triggering condition is met, data compression is performed on the data to be transmitted to obtain at least one compressed data packet, which is used as the target transmission data;

[0009] If the above data compression triggering condition is not met, the above data to be transmitted is used as the target transmission data;

[0010] The target transmission data is transmitted to the NFC passive display device through the near field communication connection to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data.

[0011] A second aspect of an embodiment of the present application provides a display control device for an NFC passive display device, the device comprising:

[0012] A communication connection establishing module, used to establish a near field communication connection with an NFC passive display device, and obtain time constraint information of the NFC passive display device during data transmission;

[0013] A condition trigger judgment module is used to obtain the data to be transmitted, and determine whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information;

[0014] A data compression module, configured to, if the data compression triggering condition is met, perform data compression processing on the data to be transmitted to obtain at least one compressed data packet, and use it as target transmission data;

[0015] A data processing module, configured to use the data to be transmitted as target transmission data if the data compression triggering condition is not met;

[0016] A control module is used to transmit the target transmission data to the NFC passive display device through the near field communication connection, so as to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data.

[0017] In some optional embodiments, the communication connection establishing module is specifically used to:

[0018] Establishing a near field communication connection with the above-mentioned NFC passive display device, and obtaining model information of the NFC passive ink screen in the above-mentioned NFC passive display device through the above-mentioned near field communication connection;

[0019] According to the above model information and the preset expected time database, the expected transmission time corresponding to the above NFC passive display device is determined and used as the above time constraint information.

[0020] In some optional embodiments, the above-mentioned condition triggering judgment module is specifically used for:

[0021] Obtaining data transmission rate information of the above NFC passive display device;

[0022] According to the data transmission rate information and the amount of the data to be transmitted, obtaining a predicted transmission time corresponding to the data to be transmitted;

[0023] If the predicted transmission time exceeds the expected transmission time in the time constraint information, it is determined that the data compression trigger condition is met.

[0024] In some optional embodiments, the above-mentioned condition triggering judgment module is further specifically used for:

[0025] Obtain historical retransmission probability information when the above NFC passive display device performs data transmission;

[0026] Obtaining a predicted transmission data volume according to the historical retransmission probability information and the data volume of the data to be transmitted;

[0027] According to the predicted transmission data volume and the data transmission rate information, the predicted transmission time corresponding to the data to be transmitted is obtained.

[0028] In some optional implementations, the target transmission data includes a plurality of compressed data packets;

[0029] The device further includes a data retransmission module, which is used to obtain a target retransmission data packet identifier, wherein the target retransmission data packet identifier is identification information corresponding to a compressed data packet that has an error during data transmission or an error during data decompression by the NFC passive display device;

[0030] The target retransmission data packet in the compressed data packet is determined according to the target retransmission data packet identifier, and the target retransmission data packet is retransmitted to the NFC passive display device.

[0031] In some optional embodiments, the data to be transmitted includes an image to be displayed;

[0032] The data compression module is specifically used to: divide the image to be displayed into regions to obtain a plurality of image sub-regions corresponding to the image to be displayed;

[0033] Data compression is performed on the data of each of the above-mentioned image sub-regions to obtain a compressed data packet corresponding to each of the above-mentioned image sub-regions.

[0034] In some optional embodiments, the data to be transmitted includes display control instructions;

[0035] The control module is specifically used to: transmit the target transmission data to the NFC passive display device through the near field communication connection, so as to trigger the NFC passive display device to obtain the display control instruction according to the received data, determine the target display image from the image storage library of the NFC passive display device according to the display control instruction, and display the target display image through the NFC passive ink screen;

[0036] The image storage repository is used to store multiple images to be displayed that were historically received by the NFC passive display device.

[0037] A third aspect of an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores multiple instructions; the processor loads instructions from the memory to execute the steps in the display control method for an NFC passive display device provided in the first aspect of the embodiment of the present application.

[0038] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores multiple instructions. The instructions are suitable for a processor to load to execute the steps in the display control method for an NFC passive display device provided in the first aspect of the embodiment of the present application.

[0039] By adopting the scheme of the embodiment of the present application, a near-field communication connection can be established with the NFC passive display device to obtain the time constraint information of the above-mentioned NFC passive display device during the data transmission process; the data to be transmitted is obtained, and it is determined whether the preset data compression trigger condition is met according to the above-mentioned data to be transmitted and the above-mentioned time constraint information; if the above-mentioned data compression trigger condition is met, the above-mentioned data to be transmitted is subjected to data compression processing to obtain at least one compressed data packet, and is used as the target transmission data; if the above-mentioned data compression trigger condition is not met, the above-mentioned data to be transmitted is used as the target transmission data; the above-mentioned target transmission data is transmitted to the above-mentioned NFC passive display device through the above-mentioned near-field communication connection, so as to trigger the above-mentioned NFC passive display device to adjust the display content of the NFC passive ink screen in the above-mentioned NFC passive display device according to the received data.

[0040] In this way, in the display control process for the NFC passive display device, it can be determined whether the data compression trigger condition is met according to the data to be transmitted and the time constraint information. If the data compression trigger condition is met, data compression processing is performed to obtain the target transmission data, and then the target transmission data is transmitted. In this way, data compression is performed first when necessary, and then the compressed data is transmitted, which is conducive to improving data transmission efficiency, thereby improving display control efficiency and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1 It is a flow chart of a display control method for an NFC passive display device provided in an embodiment of the present application;

[0043] Figure 2 It is provided in the embodiment of this application Figure 1 Specific flow diagram of step 101;

[0044] Figure 3 It is a structural block diagram of a display control device for an NFC passive display device provided in an embodiment of the present application;

[0045] Figure 4 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0047] The embodiments of the present application provide a display control method, device and medium for an NFC passive display device. Specifically, the display control method for an NFC passive display device in the embodiments of the present application can be executed by a computer device, wherein the computer device can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a personal computer (PC, Personal Computer), a personal digital assistant (PDA, Personal Digital Assistant). The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0048] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0049] The first aspect of the present application embodiment provides a display control method for an NFC passive display device. Figure 1 , Figure 1It is a flow chart of a display control method for an NFC passive display device provided in an embodiment of the present application. It should be noted that the display control method for an NFC passive device provided in an embodiment of the present application can be applied to a control terminal (such as a mobile terminal such as a mobile phone) corresponding to the NFC passive display device, and the control terminal establishes a connection with the NFC passive device, and supplies power and establishes a communication connection to the NFC passive device provided with an NFC passive ink screen through NFC technology (or Bluetooth), thereby realizing data transmission to control the display content of the NFC passive ink screen.

[0050] The specific process of the display control method for the NFC passive display device can be as follows:

[0051] 101. Establish a near field communication connection with an NFC passive display device, and obtain time constraint information of the NFC passive display device during data transmission.

[0052] Specifically, a control terminal (such as a mobile phone) establishes a near field communication connection with the NFC passive display device, and obtains time constraint information of the NFC passive display device during data transmission.

[0053] Among them, the above-mentioned time constraint information is used to limit the time when the NFC passive display device is connected to the control terminal and the data transmission process. Specifically, the corresponding expected transmission time can be set in advance for different models of control terminals and / or NFC passive display devices as time constraint information. Specifically, the expected transmission time can be determined according to the user's usage habits, for example, according to the historical average data transmission time when the user uses the NFC passive display device, or according to the longest data transmission time set by the user for the NFC passive display device in the cloud platform, which is not specifically limited here.

[0054] In an embodiment of the present application, the corresponding time constraint information is determined according to the model of the NFC passive ink screen in the NFC passive display device. Figure 2 It is provided in the embodiment of this application Figure 1 The specific flow chart of step 101 is as follows: Figure 2 As shown, the above step 101 specifically includes:

[0055] 201. Establish a near field communication connection with the NFC passive display device, and obtain model information of the NFC passive ink screen in the NFC passive display device through the near field communication connection.

[0056] 202. Determine the expected transmission time corresponding to the NFC passive display device according to the model information and a preset expected time database, and use the expected transmission time as the time constraint information.

[0057] Among them, the expected time database is a pre-set database for storing the expected transmission time corresponding to the NFC passive ink screen of different signals. The above-mentioned expected time database can be set in the control terminal (such as a mobile phone) or in the cloud platform. When the expected time database is set in the cloud platform, the control terminal communicates with the cloud platform, and queries the expected time database in the cloud platform to obtain the expected transmission time corresponding to the current model of the NFC passive ink screen as the time constraint information.

[0058] 102. Obtain the data to be transmitted, and determine whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information.

[0059] Among them, the above-mentioned data to be transmitted is the data that the control terminal needs to transmit to the NFC passive display device, and the above-mentioned data compression trigger condition is a pre-set condition for determining whether data compression is required, and the specific condition can be set and adjusted according to actual needs.

[0060] In an application scenario, whether data compression is required can be determined based on the data volume of the data to be transmitted. For example, when the data volume of the data to be transmitted exceeds a preset data volume threshold, the data compression triggering condition is met.

[0061] In another application scenario, the time required for direct data transmission can be determined based on the amount of data to be transmitted, and if the time exceeds the limit of the time constraint information, the data compression trigger condition is met. In some embodiments of the present application, the above-mentioned determination of whether the preset data compression trigger condition is met based on the above-mentioned data to be transmitted and the above-mentioned time constraint information includes:

[0062] Obtaining data transmission rate information of the above NFC passive display device;

[0063] According to the data transmission rate information and the amount of the data to be transmitted, obtaining a predicted transmission time corresponding to the data to be transmitted;

[0064] If the predicted transmission time exceeds the expected transmission time in the time constraint information, it is determined that the data compression trigger condition is met.

[0065] Among them, the data transmission rate information of the above-mentioned NFC passive display device is the transmission rate when the NFC passive display device performs data transmission, which can be determined according to the model of the NFC passive display device, and can also be determined according to the transmission rate when the NFC passive display device performs data transmission in history.

[0066] It should be noted that the above data transmission rate information can be stored in the cloud platform or stored locally in the NFC passive display device, and is not specifically limited here.

[0067] It should be further explained that, while the control terminal (such as a mobile phone) is connected to the NFC passive display device for power supply and communication, it can also be connected to the cloud platform for communication, thereby obtaining the required information in the cloud platform.

[0068] In some embodiments of the present application, obtaining the predicted transmission time corresponding to the data to be transmitted according to the data transmission rate information and the data amount of the data to be transmitted includes:

[0069] Obtain historical retransmission probability information when the above NFC passive display device performs data transmission;

[0070] Obtaining a predicted transmission data volume according to the historical retransmission probability information and the data volume of the data to be transmitted;

[0071] According to the predicted transmission data volume and the data transmission rate information, the predicted transmission time corresponding to the data to be transmitted is obtained.

[0072] Furthermore, considering that a transmission error may occur during the data transmission process and data retransmission is required, the historical retransmission probability information of the NFC passive display device during data transmission can be obtained, so as to determine the predicted transmission data volume under the consideration of data retransmission based on the historical retransmission probability information and the data volume of the data to be transmitted, and then determine the predicted transmission time. In this way, a more accurate predicted transmission time can be obtained by considering the data retransmission situation.

[0073] 103. If the data compression triggering condition is met, data compression is performed on the data to be transmitted to obtain at least one compressed data packet, and the compressed data packet is used as target transmission data.

[0074] 104. If the data compression triggering condition is not met, the data to be transmitted is used as target transmission data.

[0075] Specifically, if the data compression triggering condition is met, data compression processing needs to be performed; otherwise, data compression processing is not required and data transmission can be performed directly.

[0076] It should be noted that in the embodiment of the present application, a string table compression (LZW, Lempel-Ziv-Welch Encoding) algorithm is used for data compression. In actual use, other data compression algorithms can also be used, which are not specifically limited here.

[0077] In one application scenario, after compression using the LZW algorithm, the compressed image data can be packetized for transmission, and the size of each data packet can be determined based on time constraint information, thereby reducing the time required for data transmission and making it close to the expected transmission time, thereby improving the user experience.

[0078] In another application scenario, the image can also be compressed according to the screen size in the model information of the NFC passive ink screen to balance the data transmission time and image quality and avoid wasting resources.

[0079] 105. Transmit the target transmission data to the NFC passive display device through the near field communication connection, so as to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data.

[0080] In some embodiments of the present application, the target transmission data includes a plurality of compressed data packets; after transmitting the target transmission data to the NFC passive display device through the near field communication connection, the method further includes:

[0081] Obtaining a target retransmission data packet identifier, wherein the target retransmission data packet identifier is identification information corresponding to a compressed data packet that has an error during data transmission or an error during data decompression by the NFC passive display device;

[0082] The target retransmission data packet in the compressed data packet is determined according to the target retransmission data packet identifier, and the target retransmission data packet is retransmitted to the NFC passive display device.

[0083] In this way, packet transmission is performed during the data transmission process. If some compressed data packets have transmission errors due to problems such as device position movement and connection interruption during the data transmission process, only the compressed data packets with transmission errors can be retransmitted, and there is no need to retransmit all data packets. In this way, the data transmission efficiency can be further improved, the time required for data transmission can be reduced, and the display control efficiency and effect can be improved.

[0084] In some embodiments of the present application, the data to be transmitted includes an image to be displayed;

[0085] The above-mentioned data compression processing is performed on the above-mentioned data to be transmitted to obtain at least one compressed data packet, including:

[0086] Dividing the image to be displayed into regions to obtain a plurality of image sub-regions corresponding to the image to be displayed;

[0087] Data compression is performed on the data of each of the above-mentioned image sub-regions to obtain a compressed data packet corresponding to each of the above-mentioned image sub-regions.

[0088] In some embodiments of the present application, the data to be transmitted includes display control instructions;

[0089] The above-mentioned transmitting the above-mentioned target transmission data to the above-mentioned NFC passive display device through the above-mentioned near field communication connection to trigger the above-mentioned NFC passive display device to adjust the display content of the NFC passive ink screen in the above-mentioned NFC passive display device according to the received data, includes:

[0090] Transmitting the target transmission data to the NFC passive display device through the near field communication connection to trigger the NFC passive display device to obtain the display control instruction according to the received data, determine the target display image from the image storage library of the NFC passive display device according to the display control instruction, and display the target display image through the NFC passive ink screen;

[0091] The image storage repository is used to store multiple images to be displayed that were historically received by the NFC passive display device.

[0092] It should be noted that the above-mentioned data to be transmitted may include both the image to be displayed and the display control instructions. When the data to be transmitted includes both the image to be displayed and the display control instructions, the image to be transmitted may be stored in the image storage repository, and then the display control may be performed according to the display control instructions. In this embodiment, the example in which the data to be transmitted includes both the image to be displayed and the display control instructions is used for illustration, but it is not a specific limitation.

[0093] In an embodiment of the present application, when the data to be transmitted includes an image to be displayed, the compression of the image to be displayed is performed on an image area basis. In this way, even if some compressed data packets are transmitted incorrectly during the data transmission process, the impact on the overall image can be minimized.

[0094] When the data to be transmitted includes only the image to be displayed but does not include the display control instruction, the NFC passive display device displays the received image to be displayed.

[0095] When the data to be transmitted includes display control instructions, the NFC passive display device controls the image to be displayed on the NFC passive ink screen according to the received display control instructions. Among them, the image repository is a database set in the NFC passive display device for storing received images, which can be used to store multiple images, and after the image is displayed, the corresponding image is deleted from the image repository. The display control instruction can indicate a target display image that needs to be displayed in the image repository, so that the above target display image is displayed through the NFC passive ink screen. In this way, better display control of the NFC passive display device can be achieved based on the display control instruction.

[0096] By adopting the scheme of the embodiment of the present application, a near-field communication connection can be established with the NFC passive display device to obtain the time constraint information of the above-mentioned NFC passive display device during the data transmission process; the data to be transmitted is obtained, and it is determined whether the preset data compression trigger condition is met according to the above-mentioned data to be transmitted and the above-mentioned time constraint information; if the above-mentioned data compression trigger condition is met, the above-mentioned data to be transmitted is subjected to data compression processing to obtain at least one compressed data packet, and is used as the target transmission data; if the above-mentioned data compression trigger condition is not met, the above-mentioned data to be transmitted is used as the target transmission data; the above-mentioned target transmission data is transmitted to the above-mentioned NFC passive display device through the above-mentioned near-field communication connection, so as to trigger the above-mentioned NFC passive display device to adjust the display content of the NFC passive ink screen in the above-mentioned NFC passive display device according to the received data.

[0097] In this way, in the display control process for the NFC passive display device, it can be determined whether the data compression trigger condition is met according to the data to be transmitted and the time constraint information. If the data compression trigger condition is met, data compression processing is performed to obtain the target transmission data, and then the target transmission data is transmitted. In this way, data compression is performed first when necessary, and then the compressed data is transmitted, which is conducive to improving data transmission efficiency, thereby improving display control efficiency and enhancing user experience.

[0098] See also Figure 3 , Figure 3 : is a structural block diagram of a display control device for an NFC passive display device provided in an embodiment of the present application, the device comprising:

[0099] The communication connection establishing module 301 is used to establish a near field communication connection with an NFC passive display device and obtain time constraint information of the NFC passive display device during data transmission;

[0100] The condition trigger judgment module 302 is used to obtain the data to be transmitted, and determine whether the preset data compression trigger condition is met according to the data to be transmitted and the time constraint information;

[0101] The data compression module 303 is used to perform data compression processing on the data to be transmitted to obtain at least one compressed data packet as target transmission data if the data compression triggering condition is met;

[0102] The data processing module 304 is used to use the data to be transmitted as target transmission data if the data compression triggering condition is not met;

[0103] The control module 305 is used to transmit the target transmission data to the NFC passive display device through the near field communication connection, so as to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data.

[0104] In some optional embodiments, the communication connection establishing module 301 is specifically used for:

[0105] Establishing a near field communication connection with the above-mentioned NFC passive display device, and obtaining model information of the NFC passive ink screen in the above-mentioned NFC passive display device through the above-mentioned near field communication connection;

[0106] According to the above model information and the preset expected time database, the expected transmission time corresponding to the above NFC passive display device is determined and used as the above time constraint information.

[0107] In some optional embodiments, the condition triggering judgment module 302 is specifically used to:

[0108] Obtaining data transmission rate information of the above NFC passive display device;

[0109] According to the data transmission rate information and the amount of the data to be transmitted, obtaining a predicted transmission time corresponding to the data to be transmitted;

[0110] If the predicted transmission time exceeds the expected transmission time in the time constraint information, it is determined that the data compression trigger condition is met.

[0111] In some optional embodiments, the condition triggering judgment module 302 is further specifically used for:

[0112] Obtain historical retransmission probability information when the above NFC passive display device performs data transmission;

[0113] Obtaining a predicted transmission data volume according to the historical retransmission probability information and the data volume of the data to be transmitted;

[0114] According to the predicted transmission data volume and the data transmission rate information, the predicted transmission time corresponding to the data to be transmitted is obtained.

[0115] In some optional implementations, the target transmission data includes a plurality of compressed data packets;

[0116] The device further includes a data retransmission module, which is used to obtain a target retransmission data packet identifier, wherein the target retransmission data packet identifier is identification information corresponding to a compressed data packet that has an error during data transmission or an error during data decompression by the NFC passive display device;

[0117] The target retransmission data packet in the compressed data packet is determined according to the target retransmission data packet identifier, and the target retransmission data packet is retransmitted to the NFC passive display device.

[0118] In some optional embodiments, the data to be transmitted includes an image to be displayed;

[0119] The data compression module 303 is specifically used to: divide the image to be displayed into regions to obtain a plurality of image sub-regions corresponding to the image to be displayed;

[0120] Data compression is performed on the data of each of the above-mentioned image sub-regions to obtain a compressed data packet corresponding to each of the above-mentioned image sub-regions.

[0121] In some optional embodiments, the data to be transmitted includes display control instructions;

[0122] The control module 305 is specifically used to: transmit the target transmission data to the NFC passive display device through the near field communication connection, so as to trigger the NFC passive display device to obtain the display control instruction according to the received data, determine the target display image from the image storage library of the NFC passive display device according to the display control instruction, and display the target display image through the NFC passive ink screen;

[0123] The image storage repository is used to store multiple images to be displayed that were historically received by the NFC passive display device.

[0124] By adopting the scheme of the embodiment of the present application, a near-field communication connection can be established with the NFC passive display device through the communication connection establishment module 301, and the time constraint information of the above-mentioned NFC passive display device during the data transmission process can be obtained; the data to be transmitted can be obtained through the condition trigger judgment module 302, and it is determined whether the preset data compression trigger condition is met according to the above-mentioned data to be transmitted and the above-mentioned time constraint information; if the above-mentioned data compression trigger condition is met, the above-mentioned data to be transmitted is compressed by the data compression module 303 to obtain at least one compressed data packet, and used as the target transmission data; if the above-mentioned data compression trigger condition is not met, the above-mentioned data to be transmitted is used as the target transmission data through the data processing module 304; the above-mentioned target transmission data is transmitted to the above-mentioned NFC passive display device through the above-mentioned near-field communication connection through the control module 305, so as to trigger the above-mentioned NFC passive display device to adjust the display content of the NFC passive ink screen in the above-mentioned NFC passive display device according to the received data.

[0125] In this way, in the display control process for the NFC passive display device, it can be determined whether the data compression trigger condition is met according to the data to be transmitted and the time constraint information. If the data compression trigger condition is met, data compression processing is performed to obtain the target transmission data, and then the target transmission data is transmitted. In this way, data compression is performed first when necessary, and then the compressed data is transmitted, which is conducive to improving data transmission efficiency, thereby improving display control efficiency and enhancing user experience.

[0126] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0127] Accordingly, the embodiment of the present application also provides an electronic device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), or other terminal devices. Figure 4 As shown, Figure 4 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.

[0128] The processor 401 is the control center of the electronic device 400, and uses various interfaces and lines to connect various parts of the entire electronic device 400. By running or loading software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 executes various functions of the electronic device 400 and processes data, thereby monitoring the electronic device 400 as a whole. The processor 401 can be a central processing unit CPU, a graphics processing unit GPU, a network processor (NP, Network Processor), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0129] In the embodiment of the present application, the processor 401 in the electronic device 400 will load instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 will run the application programs stored in the memory 402 to implement various functions, such as:

[0130] Establishing a near field communication connection with an NFC passive display device, and obtaining time constraint information of the NFC passive display device during data transmission;

[0131] Acquire the data to be transmitted, and determine whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information;

[0132] If the data compression triggering condition is met, data compression is performed on the data to be transmitted to obtain at least one compressed data packet, which is used as the target transmission data;

[0133] If the above data compression triggering condition is not met, the above data to be transmitted is used as the target transmission data;

[0134] The target transmission data is transmitted to the NFC passive display device through the near field communication connection to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data.

[0135] In some embodiments of the present application, establishing a near field communication connection with an NFC passive display device and obtaining time constraint information of the NFC passive display device during data transmission includes:

[0136] Establishing a near field communication connection with the above-mentioned NFC passive display device, and obtaining model information of the NFC passive ink screen in the above-mentioned NFC passive display device through the above-mentioned near field communication connection;

[0137] According to the above model information and the preset expected time database, the expected transmission time corresponding to the above NFC passive display device is determined and used as the above time constraint information.

[0138] In some embodiments of the present application, the determining whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information includes:

[0139] Obtaining data transmission rate information of the above NFC passive display device;

[0140] According to the data transmission rate information and the amount of the data to be transmitted, obtaining a predicted transmission time corresponding to the data to be transmitted;

[0141] If the predicted transmission time exceeds the expected transmission time in the time constraint information, it is determined that the data compression trigger condition is met.

[0142] In some embodiments of the present application, obtaining the predicted transmission time corresponding to the data to be transmitted according to the data transmission rate information and the data amount of the data to be transmitted includes:

[0143] Obtain historical retransmission probability information when the above NFC passive display device performs data transmission;

[0144] Obtaining a predicted transmission data volume according to the historical retransmission probability information and the data volume of the data to be transmitted;

[0145] According to the predicted transmission data volume and the data transmission rate information, the predicted transmission time corresponding to the data to be transmitted is obtained.

[0146] In some embodiments of the present application, the target transmission data includes a plurality of compressed data packets;

[0147] After transmitting the target transmission data to the NFC passive display device through the near field communication connection, the method further includes:

[0148] Obtaining a target retransmission data packet identifier, wherein the target retransmission data packet identifier is identification information corresponding to a compressed data packet that has an error during data transmission or an error during data decompression by the NFC passive display device;

[0149] The target retransmission data packet in the compressed data packet is determined according to the target retransmission data packet identifier, and the target retransmission data packet is retransmitted to the NFC passive display device.

[0150] In some embodiments of the present application, the data to be transmitted includes an image to be displayed;

[0151] The above-mentioned data compression processing is performed on the above-mentioned data to be transmitted to obtain at least one compressed data packet, including:

[0152] Dividing the image to be displayed into regions to obtain a plurality of image sub-regions corresponding to the image to be displayed;

[0153] Data compression is performed on the data of each of the above-mentioned image sub-regions to obtain a compressed data packet corresponding to each of the above-mentioned image sub-regions.

[0154] In some embodiments of the present application, the data to be transmitted includes display control instructions;

[0155] The above-mentioned transmitting the above-mentioned target transmission data to the above-mentioned NFC passive display device through the above-mentioned near field communication connection to trigger the above-mentioned NFC passive display device to adjust the display content of the NFC passive ink screen in the above-mentioned NFC passive display device according to the received data, includes:

[0156] Transmitting the target transmission data to the NFC passive display device through the near field communication connection to trigger the NFC passive display device to obtain the display control instruction according to the received data, determine the target display image from the image storage library of the NFC passive display device according to the display control instruction, and display the target display image through the NFC passive ink screen;

[0157] The image storage repository is used to store multiple images to be displayed that were historically received by the NFC passive display device.

[0158] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0159] Optional, such as Figure 4 As shown, the electronic device 400 further includes: a touch screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art can understand that Figure 4 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0160] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 401, and can receive the command sent by the processor 401 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 401 to determine the type of touch event, and then the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to realize the input and output functions. However, in some embodiments, the touch panel and the display panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 403 can also be used as a part of the input unit 406 to realize the input function.

[0161] The radio frequency circuit 404 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.

[0162] The audio circuit 405 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 405 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, and then the audio data is output to the processor 401 for processing, and then sent to another electronic device through the radio frequency circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earplug jack to provide communication between an external headset and an electronic device.

[0163] The input unit 406 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0164] The power supply 407 is used to supply power to various components of the electronic device 400. Optionally, the power supply 407 can be logically connected to the processor 401 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 407 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0165] although Figure 4 Not shown, the electronic device 400 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0166] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0167] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0168] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any one of the display control methods for NFC passive display devices provided in the embodiments of the present application. For example, the computer program can execute the following steps:

[0169] Establishing a near field communication connection with an NFC passive display device, and obtaining time constraint information of the NFC passive display device during data transmission;

[0170] Acquire the data to be transmitted, and determine whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information;

[0171] If the data compression triggering condition is met, data compression is performed on the data to be transmitted to obtain at least one compressed data packet, which is used as the target transmission data;

[0172] If the above data compression triggering condition is not met, the above data to be transmitted is used as the target transmission data;

[0173] The target transmission data is transmitted to the NFC passive display device through the near field communication connection to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data.

[0174] In some embodiments of the present application, establishing a near field communication connection with an NFC passive display device and obtaining time constraint information of the NFC passive display device during data transmission includes:

[0175] Establishing a near field communication connection with the above-mentioned NFC passive display device, and obtaining model information of the NFC passive ink screen in the above-mentioned NFC passive display device through the above-mentioned near field communication connection;

[0176] According to the above model information and the preset expected time database, the expected transmission time corresponding to the above NFC passive display device is determined and used as the above time constraint information.

[0177] In some embodiments of the present application, the determining whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information includes:

[0178] Obtaining data transmission rate information of the above NFC passive display device;

[0179] According to the data transmission rate information and the amount of the data to be transmitted, obtaining a predicted transmission time corresponding to the data to be transmitted;

[0180] If the predicted transmission time exceeds the expected transmission time in the time constraint information, it is determined that the data compression trigger condition is met.

[0181] In some embodiments of the present application, obtaining the predicted transmission time corresponding to the data to be transmitted according to the data transmission rate information and the data amount of the data to be transmitted includes:

[0182] Obtain historical retransmission probability information when the above NFC passive display device performs data transmission;

[0183] Obtaining a predicted transmission data volume according to the historical retransmission probability information and the data volume of the data to be transmitted;

[0184] According to the predicted transmission data volume and the data transmission rate information, the predicted transmission time corresponding to the data to be transmitted is obtained.

[0185] In some embodiments of the present application, the target transmission data includes a plurality of compressed data packets;

[0186] After transmitting the target transmission data to the NFC passive display device through the near field communication connection, the method further includes:

[0187] Obtaining a target retransmission data packet identifier, wherein the target retransmission data packet identifier is identification information corresponding to a compressed data packet that has an error during data transmission or an error during data decompression by the NFC passive display device;

[0188] The target retransmission data packet in the compressed data packet is determined according to the target retransmission data packet identifier, and the target retransmission data packet is retransmitted to the NFC passive display device.

[0189] In some embodiments of the present application, the data to be transmitted includes an image to be displayed;

[0190] The above-mentioned data compression processing is performed on the above-mentioned data to be transmitted to obtain at least one compressed data packet, including:

[0191] Dividing the image to be displayed into regions to obtain a plurality of image sub-regions corresponding to the image to be displayed;

[0192] Data compression is performed on the data of each of the above-mentioned image sub-regions to obtain a compressed data packet corresponding to each of the above-mentioned image sub-regions.

[0193] In some embodiments of the present application, the data to be transmitted includes display control instructions;

[0194] The above-mentioned transmitting the above-mentioned target transmission data to the above-mentioned NFC passive display device through the above-mentioned near field communication connection to trigger the above-mentioned NFC passive display device to adjust the display content of the NFC passive ink screen in the above-mentioned NFC passive display device according to the received data, includes:

[0195] Transmitting the target transmission data to the NFC passive display device through the near field communication connection to trigger the NFC passive display device to obtain the display control instruction according to the received data, determine the target display image from the image storage library of the NFC passive display device according to the display control instruction, and display the target display image through the NFC passive ink screen;

[0196] The image storage repository is used to store multiple images to be displayed that were historically received by the NFC passive display device.

[0197] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0198] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0199] Since the computer program stored in the storage medium can execute the steps in any one of the display control methods for an NFC passive display device provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the display control methods for an NFC passive display device provided in the embodiments of the present application can be achieved. For details, please refer to the previous embodiments and will not be repeated here.

[0200] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations in the above embodiments.

[0201] The display control method, device and medium for the NFC passive display device provided in the embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A display control method for an NFC passive display device, characterized in that: The method comprises: Establishing a near field communication connection with an NFC passive display device, and obtaining time constraint information of the NFC passive display device during data transmission; Acquire the data to be transmitted, and determine whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information; If the data compression triggering condition is met, data compression processing is performed on the data to be transmitted to obtain at least one compressed data packet, and the compressed data packet is used as the target transmission data; If the data compression triggering condition is not met, the data to be transmitted is used as target transmission data; Transmitting the target transmission data to the NFC passive display device through the near field communication connection, so as to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data; The step of establishing a near field communication connection with an NFC passive display device and obtaining time constraint information of the NFC passive display device during data transmission includes: Establishing a near field communication connection with the NFC passive display device, and obtaining model information of the NFC passive ink screen in the NFC passive display device through the near field communication connection; Determine the expected transmission time corresponding to the NFC passive display device according to the model information and a preset expected time database, and use the expected transmission time as the time constraint information; The determining whether a preset data compression triggering condition is met according to the data to be transmitted and the time constraint information includes: Acquire data transmission rate information of the NFC passive display device; Acquire a predicted transmission time corresponding to the data to be transmitted according to the data transmission rate information and the data amount of the data to be transmitted; If the predicted transmission time exceeds the expected transmission time in the time constraint information, it is determined that the data compression trigger condition is met.

2. The display control method for an NFC passive display device according to claim 1, characterized in that: The acquiring, according to the data transmission rate information and the data amount of the data to be transmitted, a predicted transmission time corresponding to the data to be transmitted includes: Acquire historical retransmission probability information when the NFC passive display device performs data transmission; Acquire a predicted transmission data volume according to the historical retransmission probability information and the data volume of the data to be transmitted; According to the predicted transmission data volume and the data transmission rate information, the predicted transmission time corresponding to the data to be transmitted is obtained.

3. The display control method for an NFC passive display device according to claim 1, characterized in that: The target transmission data includes a plurality of compressed data packets; After transmitting the target transmission data to the NFC passive display device through the near field communication connection, the method further includes: Obtaining a target retransmission data packet identifier, wherein the target retransmission data packet identifier is identification information corresponding to a compressed data packet that has an error during data transmission or an error during data decompression by the NFC passive display device; The target retransmission data packet in the compressed data packet is determined according to the target retransmission data packet identifier, and the target retransmission data packet is retransmitted to the NFC passive display device.

4. The display control method for an NFC passive display device according to any one of claims 1 to 3, characterized in that: The data to be transmitted includes an image to be displayed; The step of performing data compression processing on the data to be transmitted to obtain at least one compressed data packet includes: Dividing the image to be displayed into regions to obtain a plurality of image sub-regions corresponding to the image to be displayed; Data compression is performed on the data of each of the image sub-regions to obtain a compressed data packet corresponding to each of the image sub-regions.

5. The display control method for an NFC passive display device according to any one of claims 1 to 3, characterized in that: The data to be transmitted includes display control instructions; The transmitting the target transmission data to the NFC passive display device through the near field communication connection to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data, includes: Transmitting the target transmission data to the NFC passive display device through the near field communication connection to trigger the NFC passive display device to obtain the display control instruction according to the received data, determining a target display image from an image storage repository of the NFC passive display device according to the display control instruction, and displaying the target display image through the NFC passive ink screen; The image storage repository is used to store multiple images to be displayed that were historically received by the NFC passive display device.

6. A display control device for an NFC passive display device, characterized in that: The device comprises: A communication connection establishing module, used to establish a near field communication connection with an NFC passive display device, and obtain time constraint information of the NFC passive display device during data transmission; A condition trigger judgment module, used to obtain the data to be transmitted, and determine whether a preset data compression trigger condition is met according to the data to be transmitted and the time constraint information; A data compression module, configured to, if the data compression triggering condition is met, perform data compression processing on the data to be transmitted to obtain at least one compressed data packet, and use it as target transmission data; A data processing module, configured to use the data to be transmitted as target transmission data if the data compression triggering condition is not satisfied; A control module, configured to transmit the target transmission data to the NFC passive display device through the near field communication connection, so as to trigger the NFC passive display device to adjust the display content of the NFC passive ink screen in the NFC passive display device according to the received data; The step of establishing a near field communication connection with an NFC passive display device and obtaining time constraint information of the NFC passive display device during data transmission includes: Establishing a near field communication connection with the NFC passive display device, and obtaining model information of the NFC passive ink screen in the NFC passive display device through the near field communication connection; Determine the expected transmission time corresponding to the NFC passive display device according to the model information and a preset expected time database, and use the expected transmission time as the time constraint information; The determining whether a preset data compression triggering condition is met according to the data to be transmitted and the time constraint information includes: Acquire data transmission rate information of the NFC passive display device; Acquire a predicted transmission time corresponding to the data to be transmitted according to the data transmission rate information and the data amount of the data to be transmitted; If the predicted transmission time exceeds the expected transmission time in the time constraint information, it is determined that the data compression trigger condition is met.

7. An electronic device, characterized in that: It comprises a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to execute the display control method for an NFC passive display device according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the display control method for an NFC passive display device according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method based on time and position relationship for compressing and uncompressing RFID events

    CN102075193A

  • Electronic paper table sign with NFC function and using method thereof

    CN109637350A

  • Data compression method, electronic device and computer readable storage medium

    CN109962710A

  • Image processing method and device, data transmission method and device, and storage medium

    CN110235176A

  • Compression method and system for picture bytes of electronic ink screen, electronic equipment and storage medium

    CN114301983A