Near field communication method and device, display equipment and readable storage medium
Distributing multiple NFC modules on large-screen display devices connected to a unified interface addresses the inconvenience and reliability issues of single-module setups, allowing flexible and reliable communication from any location.
Patent Information
- Application Number
- CN202310655478.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-02
- Publication Date
- 2024-12-06
AI Technical Summary
Large-screen display devices require users to move to a specific location for near-field communication due to a single NFC module placement, which is inconvenient and reduces reliability if the module fails.
Implement multiple NFC modules distributed across the display device, connected to a unified processor interface, allowing any module to initiate communication without needing the user to move, and disabling others when one senses an external device.
Enhances convenience and reliability by enabling near-field communication from various locations on the display device, ensuring continuous functionality even if one module fails.
Smart Images

Figure CN119093968A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of near field communication technology, and in particular to a near field communication method, apparatus, display device, and readable storage medium. Background Art
[0002] Near field communication (NFC) is a short-range, high-frequency wireless communication technology that allows contactless data transmission between electronic devices within 10 cm.
[0003] Some display devices integrate multiple functions such as projectors, electronic whiteboards, screens, audio equipment, televisions, video conferencing terminals, etc., and are widely used in education, corporate meetings, commercial exhibitions, etc. The display screens of such display devices are often relatively large, such as 60 inches, 65 inches, etc., or even larger. When performing near-field communication with a display device that supports the NFC function and has a larger screen, the two parties perform near-field communication after the user brings the electronic device close to a specific position of the display screen.
[0004] During the above-mentioned near field communication process, the user must bring the electronic device close to a specific position of the display device. When the user is far away from the specific position, the user needs to move a certain distance, which is inconvenient. Summary of the invention
[0005] The embodiments of the present application provide a near-field communication method, apparatus, display device, and readable storage medium. By setting multiple NFC modules for the display device, when any NFC module senses an external device, near-field communication is performed with the external device through the NFC module, without the need for the user to go to a specific location, thereby improving the convenience of near-field communication.
[0006] In a first aspect, an embodiment of the present application provides a near field communication method, which is applied to a display device, and the method includes:
[0007] Starting a plurality of near field communication (NFC) modules, wherein the plurality of NFC modules are respectively connected to the processor of the display device, and any NFC module among the plurality of NFC modules is used for the display device to perform near field communication with an external device;
[0008] When a first NFC module among the multiple NFC modules senses an external device, a second NFC module is turned off, wherein the first NFC module is any one of the multiple NFC modules, and the second NFC module is another NFC module among the multiple NFC modules except the first NFC module;
[0009] Near field communication is performed with the external device through the first NFC module.
[0010] In a second aspect, an embodiment of the present application provides a near field communication device, including:
[0011] A startup module, used to start multiple near field communication (NFC) modules, wherein the multiple NFC modules are respectively connected to the processor of the display device, and any NFC module among the multiple NFC modules is used for the display device to perform near field communication with an external device;
[0012] a closing module, configured to close a second NFC module when a first NFC module among the multiple NFC modules senses an external device, wherein the first NFC module is any one of the multiple NFC modules, and the second NFC module is another NFC module among the multiple NFC modules except the first NFC module;
[0013] A processing module is used to perform near field communication with the external device through the first NFC module.
[0014] In a third aspect, an embodiment of the present application provides a display device, including: a processor, a memory, and a plurality of near field communication (NFC) modules, wherein:
[0015] The memory stores a computer program;
[0016] The processor, the multiple NFC modules are respectively connected to the processor, and the processor loads and executes the computer program to implement the method described in the first aspect or various possible implementation methods of the first aspect.
[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed by a processor, they are used to implement the method described in the first aspect or various possible implementation methods of the first aspect.
[0018] In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computing program, and when the computer program is executed by a processor, the method described in the first aspect or various possible implementation methods of the first aspect is implemented.
[0019] The near field communication method, device, equipment and readable storage medium provided in the embodiments of the present application are that the display device starts multiple NFC modules, and the processor provides a unified NFC interface for these NFC modules, so that no matter how many NFC modules are connected to the processor of the display device, the processor believes that there is only one NFC module. When the first NFC module among the multiple NFC modules senses an external device, the other NFC modules except the first NFC module among the multiple NFC modules are turned off, and the first NFC module is used to perform near field communication with the external device. With this solution, by setting multiple NFC modules for the display device, these NFC modules are distributed at different positions of the display device, and multiple NFC modules are connected to the processor through the same NFC interface, so that the upper-layer processor believes that there is only one NFC module. When any NFC module senses an external device, it communicates with the external device through the NFC module, without the user having to go to a specific location, thereby improving the convenience and reliability of near field communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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 ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 This is a schematic diagram of the NFC solution for traditional small-screen devices;
[0022] Figure 2 This is a schematic diagram of a large-screen display device with an NFC module;
[0023] Figure 3A is a schematic diagram of the structure of a display device provided in an embodiment of the present application;
[0024] Figure 3B yes Figure 3A The NFC identification schematic diagram of the display device is shown;
[0025] Figure 4A is another structural schematic diagram of a display device provided in an embodiment of the present application;
[0026] Figure 4B yes Figure 4A The NFC identification schematic diagram of the display device is shown;
[0027] Figure 5 It is a structural schematic diagram of a display device provided in an embodiment of the present application;
[0028] Figure 6 is a flow chart of a near field communication method provided by an embodiment of the present application;
[0029] Figure 7 is another schematic diagram of a display device provided in an embodiment of the present application;
[0030] Figure 8 is a schematic diagram of a near field communication device provided in an embodiment of the present application
[0031] Fig. 9 It is a schematic diagram of the structure of the display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] With the development of technology, smart display devices have entered people's daily lives. Among them, display devices with a display screen of more than 50 inches are called large-screen display devices. Large-screen display devices are used in office, teaching, and publicity. For example, video conferencing equipment or teaching playback equipment.
[0033] Compared with large-screen display devices, traditional mobile phones, pads, notebooks and other devices have smaller screens, and generally one device is equipped with one NFC chip. For example, please refer to Figure 1 . Figure 1 This is a schematic diagram of the NFC solution for traditional small-screen devices. Figure 1 An NFC chip is set on a device that supports the NFC function, and the NFC chip and the device's processor communicate based on the I2C bus.
[0034] The operating system of the large-screen display device is, for example, Android, which has a large structure. If it is limited to matching an NFC module, in order to achieve near-field communication, the NFC module is set at a specific position of the large-screen display device, and the external NFC device must be close to the specific position of the large-screen display device to trigger near-field communication. For example, please refer to Figure 2 .
[0035] Figure 2 This is a diagram of a large-screen display device with an NFC module. Figure 2 , an NFC module is set at the lower left corner of the large-screen display device. When near-field communication is required, the user's external device is close to the NFC module at the lower left corner to achieve near-field communication.
[0036] However, since large-screen display devices are relatively large, for example, a 100-inch display device is about 2.3 meters long and 1.3 meters high. When the user is near the lower right corner, the NFC module at the lower left corner cannot be reached, and the user needs to move from the lower right corner to the lower left corner to get close to the NFC module, which is inconvenient.
[0037] Moreover, if the large-screen display device is only equipped with one NFC module, if the NFC module fails, the large-screen display device will not be able to support the NFC function, and the reliability is poor.
[0038] Based on this, the embodiments of the present application provide a near-field communication method, apparatus, device and readable storage medium. By setting multiple NFC modules for the display device, when any NFC module senses an external device, near-field communication is performed with the external device through the NFC module, without the user having to go to a specific location, thereby improving the convenience and reliability of near-field communication.
[0039] Figure 3A This is a schematic diagram of the structure of the display device provided in the embodiment of the present application. Figure 3A The display device 300 is, for example, a device with a larger display screen, such as a 55-inch, 100-inch or even larger display device. In the following, if there is no special explanation, the display device refers to a large-screen display device.
[0040] Please refer to Figure 3A The display device 300 includes: a processor 31, a memory 32 and a plurality of NFC modules 33, wherein the processor 31 supports a virtual NFC interface 310. The processor 31 is connected to the memory 32. Each NFC module 33 is connected to the processor 31, and the NFC module 33 includes an NFC chip and a circuit.
[0041] Figure 3A The components shown in the figure are located inside the display device 300 and are covered by the display screen. On the outside of the display device 300, an NFC identifier is set at the corresponding position of each NFC module. Figure 3B .
[0042] Figure 3B yes Figure 3A The following is a schematic diagram of the NFC identification of the display device. Figure 3B , an NFC logo is set on the outer frame of the display device 300 by pasting, drawing, rubbing, etc. When an external device is close to any NFC logo, the NFC module corresponding to the NFC logo can sense the external device.
[0043] Please refer to Figure 3A and Figure 3B , the display device 300 includes multiple NFC modules 33, which are connected to the processor 31 of the display device 300. The processor 31 provides a unified NFC interface 310, so that no matter how many NFC modules 31 are connected to the processor 31, the processor 31 considers that there is only one NFC module. Moreover, the multiple NFC modules 33 are distributed in different positions of the display device 300. In this way, the user can select which NFC module 33 the external device is close to. For example, please refer to Figure 3B, when the user is at the lower left corner, the external device can be brought close to the NFC module 33 at the lower left corner to trigger the external device to perform near field communication with the display device 300. When the user is at the lower right corner, the external device can be brought close to the NFC module 33 at the lower right corner to trigger the external device to perform near field communication with the display device 300 without moving a distance.
[0044] In the embodiment of the present application, each NFC module is started as the display device is started. That is, when the display device is powered on and started, each NFC module is also started. After each NFC module is started, it is in a detection state to sense an external device. When any NFC module senses an external device, the display device performs near-field communication with the external device. In addition, the display device silences other NFC modules. When the external device leaves the scene, that is, the NFC module can no longer sense the external device, the display device restarts each NFC module so that each NFC module is in a detection state.
[0045] The display device provided in the embodiment of the present application includes a processor, a memory and multiple near-field communication NFC modules. The processor provides a unified NFC interface, and each NFC module is connected to the processor through the same NFC interface, so that the processor believes that there is only one NFC module. With this solution, multiple NFC modules are set for the display device, and these NFC modules are distributed in different positions of the display device. No matter how many NFC modules are connected to the processor, through the unified NFC interface, the upper-layer processor believes that there is only one NFC module. When any NFC module senses an external device, it communicates with the external device through the NFC module, without the user having to go to a specific location, thereby improving the convenience and reliability of near-field communication.
[0046] Optionally, in the above embodiment, a plurality of NFC modules are equally spaced and close to a lower frame of the display device.
[0047] Please refer to Figure 3A and Figure 3B , multiple NFC modules 33 are arranged inside the display device 300, close to the lower frame and at equal intervals. In this way, it is convenient to design the overall structure of the display device. Moreover, each NFC module 33 is evenly arranged in the lower frame, which makes it easy for users to find the location of the NFC module conveniently and quickly.
[0048] It should be noted that, although the above description is based on the example of multiple NFC modules being arranged at equal intervals near the lower frame, the present application embodiment is not limited thereto. In other achievable embodiments, the NFC module may also be arranged at a position such as the left frame or the right frame of the display device.
[0049] By adopting this solution, by arranging multiple NFC devices at equal intervals and close to the lower frame, it is easy to design the overall structure of the display device and it is easy for users to find the location of the NFC module conveniently and quickly.
[0050] Above Figure 3A and Figure 3B In the embodiment, each NFC module is arranged inside the whole machine, and an NFC mark is arranged on the outer frame of the whole machine for the user to identify the location of the NFC module. However, the embodiment of the present application is not limited. In other feasible implementations, some or all of the NFC modules can also be arranged outside the whole machine. For example, please refer to Figure 4A and Figure 4B .
[0051] Figure 4A is another structural schematic diagram of a display device provided in an embodiment of the present application, Figure 4B yes Figure 4A The figure shows a schematic diagram of NFC identification of the display device. Figure 4A The processor 41, the memory 42, the NFC interface 410, and the NFC module 43 in the embodiment can refer to the above Figure 3A Description of the processor 31, memory 32, NFC interface 310, and NFC module 33. Figure 4A and Figure 3A The difference is; Figure 4A In the figure, NFC module 46 and NFC module 47 are arranged outside display device 400. Display device 400 provides external interfaces, such as USB interface 44 and I2C interface 45 in the figure, NFC module 46 is connected to USB interface 44 via a USB cable, and NFC module 47 is connected to I2C interface 45 via an I2C bus.
[0052] and Figure 3A Similar ones are: Figure 4A In the display device 400, each NFC module includes an NFC module 43 arranged inside the whole machine and an NFC module 46 and an NFC module 47 arranged outside the whole machine. Since the processor 41 provides a unified NFC interface 410, no matter how many NFC modules are connected to the processor 41 of the display device 400, the processor 41 believes that there is only one NFC module. In this way, the user can arbitrarily choose which NFC module the external device is close to. For example, the display device is a teaching tablet, which is arranged parallel to the blackboard. The NFC module 46 is located on the desk in the third row. The user sits in the third row. When it is necessary to trigger near-field communication between the external device and the display device, the user sits in the third row and uses the external device to approach the NFC module 46, which can trigger near-field communication between the external device and the display device, without the user having to walk to the blackboard to trigger near-field communication.
[0053] Please refer to Figure 4A and4B In addition to using an external device to approach the NFC logo on the outer frame of the display device 400, the user can also use an external device to approach the NFC module 46 or NFC module 47. When the NFC module 46 senses the external device, the display device performs near-field communication with the external device. In addition, the display device silences other NFC modules, namely, the NFC module 43 and the NFC module 47. When the external device leaves, that is, the NFC module 46 can no longer sense the external device, the display device restarts the NFC module 43, the NFC module 46, and the NFC module 47, so that each NFC module is in a detection state.
[0054] By adopting this solution, by setting some NFC modules outside the display device, users at a long distance can trigger near-field communication between the external device and the display device without having to move near the display device, which is highly convenient and reliable.
[0055] Optionally, in the above embodiment, an NFC module among the multiple NFC modules is connected to the NFC interface through any one of the following connection modes: USB connection, I2C connection, and SPI connection.
[0056] Please refer to Figure 3A and Figure 3B When the NFC module is set inside the whole machine, the connection between each NFC module 33 and the processor 31 can be a USB connection, an I2C connection, or an SPI connection. In other words, the communication method between the NFC module 33 and the processor 31 can be USB, I2C, or a serial peripheral interface (SPI), which is not limited in the embodiment of the present application.
[0057] Please refer to Figure 4A and Figure 4B When part or all of the NFC module is set outside the whole device, the whole device provides an external interface, one end of the external interface is connected to the processor 41, and the other end of the external interface is used to access the NFC module set outside the display device. For example, Figure 4A In the example, when the external interface is a USB interface, the NFC module disposed outside the display device can be inserted into the USB interface via a USB cable. Figure 4B In the embodiment, when the external interface is an I2C interface, the NFC module disposed outside the display device can be inserted into the I2C interface via the I2C bus.
[0058] Figure 5 This is a schematic diagram of the structure of the display device provided in the embodiment of the present application. Figure 5, the dotted line is the USB line, and the dotted line is the I2C bus. Several NFC modules 53 are connected to the processor 51 via the USB line, as shown by the white filled NFC module 53 in the figure. Several NFC modules 53 are connected to the processor 51 via the I2C bus, as shown by the gray filled NFC module in the figure.
[0059] With this solution, the display device does not distinguish between communication methods and can expand the number and installation location of NFC modules according to usage scenarios, allowing users to use the NFC function more freely.
[0060] Optionally, the above-mentioned display device is, for example, a smart interactive tablet, which is also called an interactive intelligent panel (IIP), and is an integrated device that controls the content displayed on a display tablet (such as LCD or LED or PDP, etc.) and realizes human-computer interaction through touch technology.
[0061] By adopting this solution, multiple NFC modules are set for the smart interactive tablet, and the multiple NFC modules are connected to the processor through the same NFC interface, so that the upper-layer processor believes that there is only one NFC module. When any NFC module senses an external device, it communicates with the external device through the NFC module. There is no need for the user to move to a specific location, thereby improving the convenience and reliability of near-field communication between the smart interactive tablet and external devices.
[0062] Based on the above display device, the embodiment of the present application also provides a near field communication method. For example, please refer to Figure 6 . Figure 6 is a flow chart of a near field communication method provided by an embodiment of the present application. The execution subject of this embodiment is the above-mentioned display device. This embodiment includes:
[0063] 601. Start a plurality of near field communication (NFC) modules, wherein the plurality of NFC modules are respectively connected to a processor of the display device, and any NFC module among the plurality of NFC modules is used for the display device to perform near field communication with an external device.
[0064] In the embodiment of the present application, the display device can flexibly start multiple NFC devices.
[0065] For example, when the display device is powered on, multiple NFC devices and the operating system of the display device are started simultaneously.
[0066] For another example, the display device has a voice recognition function and can recognize the user's voice command. Based on this, the user sends a command to the display device to start the NFC module by voice. After the display device recognizes the voice command, it starts each NFC module.
[0067] For another example, the user enters the setting interface of the display device, turns on the NFC function in the setting interface, and thus activates each NFC module.
[0068] 602. When a first NFC module among the multiple NFC modules senses an external device, a second NFC module is turned off, where the first NFC module is any one of the multiple NFC modules, and the second NFC module is another NFC module among the multiple NFC modules except the first NFC module.
[0069] In an embodiment of the present application, each NFC module is in a detection state after startup, and can sense an external device in the detection state. Once an NFC module (hereinafter referred to as the first NFC module) senses an external device, the display device turns off the other NFC modules except the first NFC module among the multiple NFC modules, that is, turns off each second NFC module. For example, the processor of the display device sends a silent command to each NFC module. After the NFC module receives the silent command, if the NFC module is the first NFC module, the silent command is discarded. If the NFC module is the second NFC module, it enters a silent state. After an NFC module enters a silent state, it can no longer sense an external device. In other words, even if an external device is close to an NFC module in a silent state, the NFC module cannot sense the external device.
[0070] Obviously, when the first NFC module senses the external device, each second NFC module is in a silent state, so that the display device thinks there is only one NFC module. Moreover, after each NFC module is started, since all NFC modules are in a detection state, the display device thinks there is only one NFC module.
[0071] In the above embodiments, the external device is a device that supports the NFC function, such as a work card, a mobile phone, etc.
[0072] 603. Perform near field communication with the external device through the first NFC module.
[0073] During the near field communication process, the display device may operate in a card mode, a card reader mode, or a point-to-point mode, etc., which is not limited in the embodiments of the present application.
[0074] In the near field communication method provided by the embodiment of the present application, the display device starts multiple NFC modules, and the processor provides a unified NFC interface for these NFC modules, so that no matter how many NFC modules are connected to the processor of the display device, the processor believes that there is only one NFC module. When the first NFC module among the multiple NFC modules senses an external device, the other NFC modules except the first NFC module among the multiple NFC modules are turned off, and the first NFC module is used to perform near field communication with the external device. With this solution, by setting multiple NFC modules for the display device, these NFC modules are distributed at different positions of the display device, and multiple NFC modules are connected to the processor through the same NFC interface, so that the upper-layer processor believes that there is only one NFC module. When any NFC module senses an external device, it communicates with the external device through the NFC module, without the user having to go to a specific location, thereby improving the convenience and reliability of near field communication.
[0075] Optionally, in the above embodiment, after the display device performs near field communication with the external device through the first NFC module, when the first NFC module cannot sense the external device, the multiple NFC modules are restarted.
[0076] Exemplarily, after the initial startup of each NFC module, all are in the detection state. Once the first NFC module senses the external device, the remaining NFC modules, that is, the second NFC module, enter the silent state. When the first NFC module cannot sense the external device, that is, the external device leaves the field and is no longer close to the first NFC module, the display device sends a restart command, and each NFC module (including the first NFC module and the second NFC module) resumes the detection state after receiving the restart command.
[0077] With this solution, after the display device detects that the external device has left the field, each NFC module is restarted, so that each NFC module re-enters the detection state to sense the external device, ensuring that each NFC module is in a working state, thereby improving the convenience and reliability of near-field communication.
[0078] Optionally, in the above embodiment, when the display device performs near field communication with the external device through the first NFC module, the first NFC module is used to read first NFC data stored in the external device, and the first NFC data is sent to the processor.
[0079] For example, when the display device works in reader / writer mode, the first NFC module can be used to read first NFC data stored in an external device, such as identity information, etc. The external device is, for example, a mobile phone, a laptop computer, an employee's work card, etc.
[0080] With this solution, the display device can realize the card reader mode based on any NFC module, which is highly flexible and reliable.
[0081] Optionally, in the above embodiment, the display device operates in a card reader mode, and when the external device is an electronic device, the first NFC data is used to trigger the establishment of a network connection between the display device and the electronic device, and then transmit the screen or transfer files based on the network connection.
[0082] Exemplarily, an electronic device supports the NFC function, and the electronic device is, for example, a mobile phone, a pad, etc. When the content on the display screen of the electronic device needs to be transferred to the display device and displayed; or when a file needs to be transferred between the display device and the electronic device, the user turns on the NFC function on the electronic device and brings the electronic device close to any NFC module of the display device. When the first NFC module senses the electronic device, the display device turns off each second NFC module. At the same time, the display device uses the first NFC module to read the first NFC data on the electronic device, and the first NFC data is, for example, user permissions, the identification of the electronic device, WiFi information, etc.
[0083] After the first NFC module reads the first NFC data, it sends the first NFC data to the processor. The processor verifies whether the electronic device has connection authority according to the first NFC data. If the verification is successful, the processor sends first indication information to the first NFC module, and the first indication information is used to instruct the electronic device to establish a network connection with the display device.
[0084] After receiving the first indication information, the electronic device establishes a network connection with the display device, and then the electronic device transmits the screen or transfers files with the display device based on the network connection. Among them, screen transmission is also called screen projection, etc., which is not limited in the embodiments of the present application.
[0085] When the electronic device does not have connection authority, the display device sends a prompt message to prompt the user to use an authorized electronic device to approach the NFC module of the display device.
[0086] With this solution, in screen transmission or file transfer scenarios, users can trigger the display device to establish a network connection with the electronic device through any NFC module on the display device, without the need to place the electronic device close to a specific location of the display device. This solution is highly flexible and reliable.
[0087] Optionally, in the above embodiment, the display device operates in a card reader mode, and when the external device is a work card, the first NFC data is used to trigger the display device to unlock the screen.
[0088] For example, when the display device is a smart interactive tablet in a classroom, sometimes in order to prevent students and others from randomly operating the display device, an APP is often set for the display device to lock the entire operating system. When a teacher or other user needs to unlock, they use a work card to approach any NFC module. When the first NFC module senses the work card, it reads the first NFC data stored in the work card, and the first NFC data includes identity information, permission information, etc. Afterwards, the first NFC module sends the first NFC data to the processor of the display device. The processor verifies whether the user corresponding to the work card has the unlocking permission based on the first NFC data. When the processor determines that the user has the unlocking permission, it unlocks the screen of the display device.
[0089] When the user corresponding to the work card does not have the unlocking authority, the display device sends a prompt message to prompt the user to use the authorized work card to approach the NFC module of the display device.
[0090] With this solution, in a teaching scenario, users can trigger the unlocking of the operating system through any NFC module on the display device without placing the external device close to a specific position of the display device, which is highly flexible and reliable.
[0091] Optionally, in the above embodiment, during the process of the display device performing near-field communication with the external device through the first NFC module, the first NFC module is used to send second NFC data to the external device to write the second NFC data into the external device, and the second NFC data is data stored by the first NFC module.
[0092] When the display device works in card emulation mode, the external device can obtain the second NFC data from the first NFC module. The second NFC data includes the WiFi account number, password, etc. After the external device obtains the second NFC data, it can connect to the WiFi. For another example, the display device is located in a museum, and the second NFC data is, for example, a museum introduction, etc. After the external device obtains the second NFC data, it can view the introduction, etc.
[0093] With this solution, when the display device works in card mode, the user can obtain the second NFC data through any NFC module on the display device without bringing the external device close to a specific position of the display device, which has high flexibility and reliability.
[0094] Optionally, in the above embodiment, the second NFC data stored in each NFC module may be the same or different, which is not limited in the embodiment of the present application.
[0095] Figure 7 is another schematic diagram of a display device provided in an embodiment of the present application. Figure 7 , Figure 7 The processor 71, the memory 72, and the NFC module 73 in the embodiment can refer to the above Figure 3A Description of the processor 31, memory 32, and NFC module 33. Figure 7 In the embodiment, the NFC interface 710 includes a unified device unit 7101, a processing unit 7102 and a communication unit 7103. The unified device unit 7101 provides a unified NFC interface to the upper layer, so that the processor believes that there is only one NFC module.
[0096] The processing unit 7102 mainly undertakes the following functions:
[0097] A. Initialization, startup and other functions: all NFC modules are started by calling the interface provided by the communication unit 7103.
[0098] B. Card checking, card reading and writing functions.
[0099] When all NFC modules are working, if the first NFC module finds an external device, the first NFC device is selected to respond to upper layer operations, such as card reading and card writing, and the second NFC device is turned off.
[0100] C. After the external device leaves the site, restart all NFC modules.
[0101] The communication unit 7103 does not distinguish whether the communication mode is USB, I2C or SPI, etc. Different communication interfaces are provided to the upper side for NFC modules with different communication modes.
[0102] Figure 7 In the embodiment, the NFC interface 710 is, for example, a software module of the processor 71, and NFC modules of various connection modes are connected to the processor 71 through the pins of the processor 71, and the processor 71 executes computer instructions to control these NFC modules.
[0103] For example, the processor 71 has a plurality of pins, some of which are used for the USB bus, and some NFC modules 73 are connected to the processor 71 through the USB bus, and another portion of the pins are used for the I2C bus, and some NFC modules 73 are connected to the processor 71 through these pins. If the introduction of the processor 71 is not enough, the processor 71 can be expanded.
[0104] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0105] Figure 8 800 is a schematic diagram of a near field communication device provided in an embodiment of the present application. The near field communication device 800 includes:
[0106] A start-up module 81, used to start a plurality of near field communication NFC modules, wherein the plurality of NFC modules are respectively connected to the processor of the display device, and any NFC module among the plurality of NFC modules is used for the display device to perform near field communication with an external device;
[0107] a closing module 82, configured to close a second NFC module when a first NFC module among the multiple NFC modules senses an external device, wherein the first NFC module is any one of the multiple NFC modules, and the second NFC module is another NFC module among the multiple NFC modules except the first NFC module;
[0108] The processing module 83 is configured to perform near field communication with the external device through the first NFC module.
[0109] In a feasible implementation, after the processing module 83 performs near field communication with the external device through the first NFC module, the processing module 83 is further configured to restart the multiple NFC modules when the first NFC module cannot sense the external device.
[0110] In a feasible implementation, the processing module 83 is used to use the first NFC module to read the first NFC data stored in the external device, and send the first NFC data to the processor.
[0111] In a feasible implementation, the aforementioned near field communication device 800 further includes a transceiver module 84;
[0112] The processing module 83 is configured to read the first NFC data stored in the electronic device by using the first NFC module when the external device is an electronic device;
[0113] The transceiver module 84 is used to send the first NFC data to the processor, so that the processor verifies whether the electronic device has connection permission based on the first NFC data; receive first indication information from the processor, the first indication information is used to indicate that a network connection is established between the electronic device and the display device; send the first indication information to the electronic device to trigger the electronic device and the display device to establish a network connection and transmit the screen or transfer files.
[0114] In a feasible implementation, the aforementioned near field communication device 800 further includes a transceiver module 84;
[0115] The processing module 83 is used for, when the external device is a work card, using the first NFC module to read the first NFC data stored in the work card, wherein the first NFC data is used to trigger the display device to unlock the screen;
[0116] The transceiver module 84 is used to send the first NFC data to the processor, so that the processor unlocks the screen of the display device after verifying that the user corresponding to the work card has unlocking authority according to the first NFC data.
[0117] In a feasible implementation, the processing module 83 is used to use the first NFC module to send second NFC data to the external device to write the second NFC data into the external device, where the second NFC data is data stored by the first NFC module.
[0118] The near field communication device provided in the embodiment of the present application can perform the actions of the display device in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0119] Fig. 9 This is a schematic diagram of the structure of the display device provided in the embodiment of the present application. Fig. 9 The display device 900 described in the embodiment of the present application includes: at least one processor 91, at least one network interface 94, a user interface 93, a memory 95, at least one communication bus 92, and multiple modules 96.
[0120] The communication bus 92 is used to realize the connection and communication between these components.
[0121] The user interface 93 may include a display screen (Display) and a camera (Camera), and the optional user interface 93 may also include a standard wired interface and a wireless interface.
[0122] The network interface 94 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0123] Among them, the processor 91 may include one or more processing cores. The processor 91 uses various interfaces and lines to connect the various parts of the entire display device 900, and executes various functions and processes data of the display device 900 by running or executing instructions, programs, code sets or instruction sets stored in the memory 95, and calling data stored in the memory 95. Optionally, the processor 91 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 91 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 91, and it can be implemented separately through a chip.
[0124] Among them, the memory 95 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 95 includes a non-transitory computer-readable storage medium. The memory 95 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 95 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 95 may also be optionally at least one storage device located away from the aforementioned processor 91. As Fig. 9 As shown, the memory 95 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application of a display device.
[0125] The setting positions and working principles of the multiple NFC modules 96 can be found in the above embodiments and will not be described in detail here.
[0126] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0127] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0128] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0130] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0131] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0132] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0133] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0134] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A near field communication method, characterized in that: Applied to a display device, the method comprises: Starting a plurality of near field communication (NFC) modules, wherein the plurality of NFC modules are respectively connected to the processor of the display device, and any NFC module among the plurality of NFC modules is used for the display device to perform near field communication with an external device; When a first NFC module among the multiple NFC modules senses an external device, a second NFC module is turned off, wherein the first NFC module is any one of the multiple NFC modules, and the second NFC module is another NFC module among the multiple NFC modules except the first NFC module; Near field communication is performed with the external device through the first NFC module.
2. The method according to claim 1, characterized in that: After performing near field communication with the external device through the first NFC module, the method further includes: When the first NFC module cannot sense the external device, the multiple NFC modules are restarted.
3. The method according to claim 1, characterized in that The performing near field communication with the external device through the first NFC module includes: The first NFC module is used to read first NFC data stored in the external device, and the first NFC data is sent to the processor.
4. The method according to claim 3, characterized in that The using the first NFC module to read the first NFC data stored in the external device, and sending the first NFC data to the processor includes: When the external device is an electronic device, using the first NFC module to read first NFC data stored in the electronic device; Sending the first NFC data to the processor, so that the processor verifies whether the electronic device has connection authority according to the first NFC data; receiving first indication information from the processor, where the first indication information is used to instruct the electronic device to establish a network connection with the display device; The first indication information is sent to the electronic device to trigger the electronic device and the display device to establish a network connection and transmit the screen or transfer the file.
5. The method according to claim 3, characterized in that: The using the first NFC module to read the first NFC data stored in the external device, and sending the first NFC data to the processor includes: When the external device is a work card, the first NFC module is used to read the first NFC data stored in the work card, and the first NFC data is used to trigger the display device to unlock the screen; The first NFC data is sent to the processor, so that the processor unlocks the screen of the display device after verifying that the user corresponding to the work card has unlocking authority according to the first NFC data.
6. The method according to claim 1, characterized in that The performing near field communication with the external device through the first NFC module includes: The first NFC module is used to send second NFC data to the external device, so as to write the second NFC data into the external device, where the second NFC data is data stored by the first NFC module.
7. A near field communication device, characterized in that: include: A startup module, used to start multiple near field communication (NFC) modules, wherein the multiple NFC modules are respectively connected to the processor of the display device, and any NFC module among the multiple NFC modules is used for the display device to perform near field communication with an external device; a closing module, configured to close a second NFC module when a first NFC module among the multiple NFC modules senses an external device, wherein the first NFC module is any one of the multiple NFC modules, and the second NFC module is another NFC module among the multiple NFC modules except the first NFC module; A processing module is used to perform near field communication with the external device through the first NFC module.
8. A display device, characterized in that: include: Processor, memory and multiple near field communication (NFC) modules, including: The memory stores a computer program; The processor has an NFC interface, the multiple NFC modules are connected to the processor via the NFC interface, and the processor loads and executes the computer program to implement the method according to any one of claims 1 to 6.
9. The display device according to claim 8, characterized in that The multiple NFC modules are equally spaced and close to a lower frame of the display device.
10. The display device according to claim 8, characterized in that At least one NFC module among the multiple NFC modules is arranged outside the display device. The display device is also provided with an external interface, the external interface is connected to the NFC interface, and the external interface is used to access the NFC module arranged outside the display device.
11. The display device according to any one of claims 8 to 10, characterized in that: An NFC module among the multiple NFC modules is connected to the NFC interface through any one of the following connection modes: USB connection, I2C connection, and SPI connection.
12. The display device according to any one of claims 8 to 10, characterized in that: The display device is a smart interactive tablet.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
