Display apparatus, server, program execution method, and storage medium
By obtaining the target WiFi identifier from the server and verifying the LAN connection, the problem of unbinding and rebinding of the NFC touch function of the smart device is solved when switching between accounts with NFC touch function, achieving simplified user experience and saved promotion time.
Patent Information
- Application Number
- CN202410075484.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-01-18
AI Technical Summary
In the prior art, the NFC touch function of smart devices needs to be manually unbinded and rebinded when switching between accounts, resulting in poor user experience and wasting promotion time for store personnel.
The display device sends a message acquisition request to the server, obtains the target WiFi identifier, and when the display device and the smart device are connected to the same LAN, it is determined that the display device has control rights over the smart device, thereby obtaining the target program parameters associated with the NFC sensing area and controlling the intelligence The device executes the target program.
The control permission verification process of display devices and smart devices is simplified, the manual operation steps in the user experience is reduced, the customer experience is improved, and the promotion time of store personnel is saved.
Smart Images

Figure CN119420979A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to terminal technology, and more specifically, to a display device, a server, a program execution method, and a storage medium. Background Art
[0002] At present, if a smart device is affixed with an NFC sticker or has an NFC module built in (hereinafter referred to as an NFC sensing area on the smart device), the smart device has the NFC bump function. To realize the NFC bump function, you need to first use a display device to touch the NFC sensing area of the smart device. The display device uses the smart home application (application, APP) installed in the display device to configure the network, bind and associate the program (associate with a certain program) of the smart device. When the program is successfully associated, when the display device is used to touch the NFC sensing area of the smart device again, the associated program can be automatically executed. Therefore, the NFC bump function is widely promoted as a market selling point.
[0003] However, when the display device of the smart home APP logged in through account A (hereinafter referred to as account A) touches the NFC sensing area of the smart device to perform network configuration, binding and association procedures, if the display device of the smart home APP logged in through account B (hereinafter referred to as account B) wants to use the NFC touch function of the smart device, it is necessary to first delete the bound smart device under account A (that is, cancel the binding relationship between the smart device and account A), and then account B re-configures the network, binds and associates the smart device.
[0004] The NFC bump function is a market selling point, and store staff often guide customers to download smart home apps, and let customers use their own mobile phones to experience the NFC bump function. However, the market has a large flow of customers, and each time they guide customers, the store staff needs to delete the smart device from their own account first, and then guide the customer to use the customer's account to re-configure the smart device, bind and associate the program. After the association program is successful, the customer can experience the NFC bump function. However, due to the large flow of customers in the market, each time a customer experiences the function, the store staff needs to remind the customer to delete the device from the customer's account and reset the NFC program, which is time-consuming and labor-intensive, affecting the customer experience, and also wasting the store staff's time to promote the product. Summary of the invention
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present application provide a display device, a server, a program execution method and a storage medium.
[0006] In a first aspect, an embodiment of the present application provides a display device, comprising: a controller, configured to: in response to a triggering operation on an NFC sensing area on a smart device, obtain an NFC identifier and a target device identifier corresponding to the NFC sensing area, the NFC identifier being used to indicate the NFC sensing area, and the target device identifier being used to indicate the smart device; a communicator, configured to: send an information acquisition request to a server, the information acquisition request carrying the target device identifier, the information acquisition request being used to request the server to obtain a target WiFi identifier that has a device association relationship with the target device identifier, the target WiFi identifier being used to indicate a WiFi module of the smart device; receive the target WiFi identifier returned by the server; the controller is also configured to: obtain multiple WiFi identifiers corresponding to a target local area network to which the display device is connected, each WiFi identifier The NFC identifier is used to indicate a device currently connected to the target local area network; when the target WiFi identifier is included in the multiple WiFi identifiers, it is determined that the display device has control authority over the smart device; the communicator is also configured to: when the display device has control authority over the smart device, send a program query request to the server, the program query request carries the NFC identifier, the target device identifier and the target WiFi identifier, the program query request is used to request target program parameters, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; receive the target program parameters returned by the server; the controller is also configured to: based on the program parameters, control the smart device to execute the target program.
[0007] In a second aspect, an embodiment of the present application provides a server method, including: a communicator, configured to: receive an information acquisition request from a display device, the information acquisition request is generated by the display device in response to a tap operation on an NFC sensing area pasted on a smart device, and the information acquisition request carries a target device identifier corresponding to the NFC sensing area; a controller, configured to: based on the information acquisition request, obtain a target WiFi identifier that has a device association relationship with the target device identifier, the target WiFi identifier is used to indicate a WiFi module of the smart device; the communicator is also configured to: return the target WiFi identifier to the display device, so that the display device determines whether the display device has control over the smart device based on the target WiFi identifier. limit; receiving a program query request from the display device, the program query request carrying the target device identifier, the target WiFi identifier and the NFC identifier corresponding to the NFC sensing area, the program query request is generated by the display device when it is determined that the display device has control authority over the smart device; the controller is further configured to: obtain target program parameters according to the program query request, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; the communicator is further configured to: return the target program parameters to the display device, so that the display device controls the smart device to execute the target program based on the program parameters.
[0008] In a third aspect, an embodiment of the present application provides a program execution method, which is applied to a display device, comprising: in response to a tap operation on an NFC sensing area pasted on a smart device, obtaining an NFC identifier and a target device identifier corresponding to the NFC sensing area, the NFC identifier being used to indicate the NFC sensing area, and the target device identifier being used to indicate the smart device; sending an information acquisition request to a server, the information acquisition request carrying the target device identifier, the information acquisition request being used to request the server to obtain a target WiFi identifier that has a device association relationship with the target device identifier, the target WiFi identifier being used to indicate a WiFi module of the smart device; receiving the target WiFi identifier returned by the server; obtaining multiple WiFi identifiers corresponding to a target local area network to which the display device is connected, each WiFi identifier corresponding to a target local area network to which the display device is connected, The Fi identifier is used to indicate a device currently connected to the target local area network; when the target WiFi identifier is included in the multiple WiFi identifiers, it is determined that the display device has control authority over the smart device; when the display device has control authority over the smart device, a program query request is sent to the server, the program query request carries the NFC identifier, the target device identifier and the target WiFi identifier, the program query request is used to request target program parameters, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; the target program parameters returned by the server are received; based on the program parameters, the smart device is controlled to execute the target program.
[0009] In a fourth aspect, an embodiment of the present application provides a program execution method, which is applied to a server, including: receiving an information acquisition request from a display device, the information acquisition request is generated by the display device in response to a tap operation on an NFC sensing area pasted on a smart device, and the information acquisition request carries a target device identifier corresponding to the NFC sensing area; based on the information acquisition request, obtaining a target WiFi identifier that has a device association relationship with the target device identifier, and the target WiFi identifier is used to indicate a WiFi module of the smart device; returning the target WiFi identifier to the display device, so that the display device determines whether the display device has control over the smart device based on the target WiFi identifier. limit; receiving a program query request from the display device, the program query request carrying the target device identifier, the target WiFi identifier and the NFC identifier corresponding to the NFC sensing area, the program query request being generated by the display device when it is determined that the display device has control authority over the smart device; obtaining target program parameters according to the program query request, the target program parameters being program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier and are used to execute a target program associated with the NFC sensing area; returning the target program parameters to the display device, so that the display device controls the smart device to execute the target program based on the program parameters.
[0010] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, including: a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the program execution method shown in the second aspect is implemented.
[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, including: when the computer program product runs on a computer, the computer implements the program execution method shown in the second aspect.
[0012] Compared with the prior art, the technical solution provided by the embodiment of the present application has the following advantages: in the embodiment of the present application, in response to the triggering operation of the NFC sensing area on the smart device, the NFC identifier and the target device identifier corresponding to the NFC sensing area are obtained, the NFC identifier is used to indicate the NFC sensing area, and the target device identifier is used to indicate the smart device; the communicator is configured to: send an information acquisition request to the server, the information acquisition request carries the target device identifier, the information acquisition request is used to request the server to obtain a target WiFi identifier that has a device association relationship with the target device identifier, and the target WiFi identifier is used to indicate the WiFi module of the smart device; receive the target WiFi identifier returned by the server; the controller is also configured to: obtain multiple WiFi identifiers corresponding to the target local area network connected to the display device, each WiFi The identifier is used to indicate a device currently connected to the target local area network; when the target WiFi identifier is included in the multiple WiFi identifiers, it is determined that the display device has control authority over the smart device; the communicator is also configured to: when the display device has control authority over the smart device, send a program query request to the server, the program query request carries the NFC identifier, the target device identifier and the target WiFi identifier, the program query request is used to request target program parameters, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; receive the target program parameters returned by the server; the controller is also configured to: based on the program parameters, control the smart device to execute the target program.In this solution, the display device responds to the triggering operation of the NFC sensing area on the smart device by requesting the server for the target WiFi identifier that has a device association relationship with the target device identifier, and then verifies that the target WiFi identifier is included in multiple WiFi identifiers corresponding to the target local area network currently connected to the display device, so as to determine that the display device has control authority over the smart device, and finally requests the server to obtain target program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier and are used to execute the target program associated with the NFC sensing area, so as to control the smart device to execute the target program based on the target program parameters returned by the server. In this way, by verifying whether the display device is connected to the same local area network as the smart device, it is determined whether the display device has control authority over the smart device, and then, if the display device has control authority over the smart device, the target program associated with the NFC sensing area is obtained. NFC touch function can be used to detect whether the display device has control authority over the smart device. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the implementation methods in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technology descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.
[0014] Figure 1 An operation scenario between a display device and a control device according to some embodiments is shown;
[0015] Figure 2 shows a hardware configuration block diagram of a control device 100 according to some embodiments;
[0016] Figure 3 shows a hardware configuration block diagram of a display device 200 according to some embodiments;
[0017] Figure 4 One of the interface schematic diagrams of the program execution method according to some embodiments is shown;
[0018] Figure 5 A second schematic diagram of an interface of a program execution method according to some embodiments is shown;
[0019] Figure 6 A third schematic diagram of an interface of a program execution method according to some embodiments is shown;
[0020] Figure 7 One of the flowcharts of the program execution method according to some embodiments is shown;
[0021] Figure 8 A second flowchart diagram of a program execution method according to some embodiments is shown;
[0022] Fig. 9 A third flowchart diagram of a program execution method according to some embodiments is shown;
[0023] Fig.10 A fourth flowchart diagram of a program execution method according to some embodiments is shown;
[0024] Fig.11 A fifth flowchart of a program execution method according to some embodiments is shown. DETAILED DESCRIPTION
[0025] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0026] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0027] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0028] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0029] The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, etc.
[0030] Figure 1 1 is a schematic diagram of an operation scenario between a display device and a control device according to an embodiment, wherein the control device 100 includes any device capable of controlling a display device. Figure 1 As shown, the user can operate the display device 200 via a mobile phone or a remote controller.
[0031] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, and the display device 200 is controlled wirelessly or wired. The user may control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, etc.
[0032] In some embodiments, the display device may not use the above-mentioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
[0033] In some embodiments, the display device 200 can also be controlled in a manner other than a control device. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.
[0034] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be one cluster or multiple clusters, and may include one or more types of servers.
[0035] Figure 2 Schematically shows a block diagram of a configuration of the control device 100 according to an exemplary embodiment. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, an external memory, and a power supply. The control device 100 can receive an input operation instruction from a user, and convert the operation instruction into an instruction that can be recognized and responded to by the display device 200, playing the role of an interactive intermediary between the user and the display device 200.
[0036] like Figure 3 The display device 200 includes at least one of a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a user interface 280, an external memory, and a power supply.
[0037] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output.
[0038] The display 260 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from the controller, and display video content, image content, and menu control interface components and user control UI interface.
[0039] The display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.
[0040] The communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
[0041] The user interface 280 can be used to receive control signals from the control device 100 (such as an infrared remote controller, etc.) It can also be used to directly receive user input operation instructions and convert the operation instructions into instructions that the display device 200 can recognize and respond to, which can be called a user input interface.
[0042] The detector 230 is used to collect signals from the external environment or the external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0043] The external device interface 240 may include, but is not limited to, any one or more of the following interfaces: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0044] The tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0045] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0046] The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory (internal memory or external memory). The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.
[0047] In some embodiments, the controller includes a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), and at least one of a random access memory (RAM), a read-only memory (ROM), a first interface to an nth interface for input / output, a communication bus, etc.
[0048] Among them, RAM, also called main memory, is an internal memory that directly exchanges data with the controller. It can be read and written at any time (except when refreshed), and it is very fast. It is usually used as a temporary data storage medium for operating systems or other running programs. The biggest difference between it and ROM is the volatility of data, that is, once the power is cut off, the stored data will be lost. RAM is used in computers and digital systems to temporarily store programs, data and intermediate results. ROM works in a non-destructive read-out mode and can only read but not write information. Once the information is written, it is fixed, and even if the power is cut off, the information will not be lost, so it is also called fixed memory.
[0049] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0050] "User interface" is the medium interface for interaction and information exchange between applications or operating systems and users. It realizes the conversion between the internal form of information and the form acceptable to users. The commonly used form of user interface is the Graphical User Interface (GUI), which refers to the user interface related to computer operation displayed in a graphical way. It can be an icon, window, control or other interface element displayed on the display screen of a display device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.
[0051] The interactive system of the program execution method provided in the embodiment of the present application is composed of a server, at least one display device installed with a smart home APP, and at least one smart device. Among them, the server can be a cluster or multiple clusters, and can include one or more types of servers. The server can be a cloud server or an Internet of Things (IoT) cloud background, and the server is used to store device associations, program associations, and parameter memories, etc. Display devices may include televisions, smart TVs, laser projection devices, monitors, electronic whiteboards (electronic bulletin boards), electronic desktops (electronic ta including refrigerators, air conditioners, speakers, range hoods, water heaters, fans and other devices, and the smart device is affixed with an NFC sticker or a built-in NFC module to support the NFC touch function. The smart home APP is used to bind smart devices and implement the touch NFC sticker to execute related functions.
[0052] In an embodiment of the present application, in response to a triggering operation on an NFC sensing area on a smart device, an NFC identifier and a target device identifier corresponding to the NFC sensing area are obtained, the NFC identifier is used to indicate the NFC sensing area, and the target device identifier is used to indicate the smart device; the communicator is configured to: send an information acquisition request to a server, the information acquisition request carries the target device identifier, the information acquisition request is used to request the server to obtain a target WiFi identifier that has a device association relationship with the target device identifier, the target WiFi identifier is used to indicate a WiFi module of the smart device; receive the target WiFi identifier returned by the server; the controller is also configured to: obtain multiple WiFi identifiers corresponding to the target local area network connected to the display device, each WiFi identifier is used to indicate the target local area network currently connected to the target local area network The controller is further configured to: send a program query request to the server when the display device has control authority over the smart device, the program query request carries the NFC identifier, the target device identifier and the target WiFi identifier, and the program query request is used to request target program parameters, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; receive the target program parameters returned by the server; the controller is further configured to: control the smart device to execute the target program based on the program parameters.In this solution, the display device responds to the triggering operation of the NFC sensing area on the smart device by requesting the server for the target WiFi identifier that has a device association relationship with the target device identifier, and then verifies that the target WiFi identifier is included in multiple WiFi identifiers corresponding to the target local area network currently connected to the display device, so as to determine that the display device has control authority over the smart device, and finally requests the server to obtain target program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier and are used to execute the target program associated with the NFC sensing area, so as to control the smart device to execute the target program based on the target program parameters returned by the server. In this way, by verifying whether the display device is connected to the same local area network as the smart device, it is determined whether the display device has control authority over the smart device, and then, if the display device has control authority over the smart device, the target program associated with the NFC sensing area is obtained. NFC touch function can be used to detect whether the display device has control authority over the smart device.
[0053] Exemplarily, at present, the NFC touch function has the following application scenarios: users can use the smart home APP to link the laundry program of the washing machine. For example, they can customize the parameters of the laundry program, such as the quick wash program, and adjust the time parameters to 15 minutes, 20 minutes, 25 minutes, etc. The laundry program parameters can be set by opening the smart home APP and operating the buttons on the smart control page, and the laundry program can be linked to realize the NFC touch wash function; the smart home APP can also be used to link the food management program of the refrigerator. For example, the parameters of the food management program can be customized. The parameters of the food management program can be set by opening the smart home APP and operating the buttons on the smart control page, and the food management program can be linked to the NFC touch food management function; the specific details can be determined according to the actual situation and are not limited here.
[0054] For example, take the laundry program of the washing machine associated with the smart home APP as an example. Figure 4As shown, the user selects the "Quick Clean" program to bind, and the following is displayed: Figure 5 After the user has set the washing parameters for the "Quick Clean" program, he / she selects the "Confirm" control and the following screen is displayed: Figure 6 The interface of “Quick Clean Program is about to start” is shown.
[0055] In some embodiments of the present application, the display device includes: a controller, configured to: in response to a triggering operation on an NFC sensing area on a smart device, obtain an NFC identifier and a target device identifier corresponding to the NFC sensing area, the NFC identifier being used to indicate the NFC sensing area, and the target device identifier being used to indicate the smart device; a communicator, configured to: send an information acquisition request to a server, the information acquisition request carries the target device identifier, the information acquisition request is used to request the server to obtain a target WiFi identifier that has a device association relationship with the target device identifier, the target WiFi identifier being used to indicate a WiFi module of the smart device; receive the target WiFi identifier returned by the server; the controller is also configured to: obtain multiple WiFi identifiers corresponding to a target local area network to which the display device is connected, each WiFi identifier being used to indicate a The NFC identifier is used to indicate a device currently connected to the target local area network; when the target WiFi identifier is included in the multiple WiFi identifiers, it is determined that the display device has control authority over the smart device; the communicator is further configured to: when the display device has control authority over the smart device, send a program query request to the server, the program query request carries the NFC identifier, the target device identifier and the target WiFi identifier, the program query request is used to request target program parameters, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; receive the target program parameters returned by the server; the controller is further configured to: based on the program parameters, control the smart device to execute the target program.
[0056] Among them, the smart device is a device with an NFC sticker or a built-in NFC module, which can be determined according to actual conditions and is not limited here.
[0057] The triggering operation on the NFC sensing area on the smart device may be an operation of approaching the NFC sensing area, specifically, when it is detected that the distance between the display device and the NFC sensing area (NFC sticker or NFC module) is less than or equal to a distance threshold, it is determined that the triggering operation on the NFC sensing area on the smart device is detected. The distance threshold can be determined according to actual conditions and is not limited here.
[0058] Among them, the NFC identifier is used to uniquely identify the NFC sensing area. If an NFC sticker is attached to the smart device, the NFC identifier is used to uniquely identify the NFC sticker. If the smart device has a built-in NFC module, the NFC identifier is used to uniquely identify the NFC module.
[0059] In the embodiment of the present application, if an NFC sticker is attached to a smart device, the NFC sticker stores a pre-set NFC identifier and a smart device identifier (used to indicate the smart device to which the NFC sticker is attached). Before the smart device leaves the factory, information is written into the NFC sticker. In addition to the NFC identifier and the smart device identifier, the information may also include a smart home APP download address (for devices with some operating systems, used to download the smart home APP installation package and install the smart home APP based on the downloaded smart home APP installation package) or a smart home APP package name (for devices with other operating systems, used to install the smart home APP). Other information may also be included, which may be determined based on actual conditions and is not limited here.
[0060] Among them, the server can store device association relationships, which can be used to indicate the association relationship between the target device identifier and the target WiFi identifier. The device association relationship can also be used to indicate the association relationship between the target device identifier and other information, such as the association relationship between the target device identifier and the home identifier, the association relationship between the target device identifier and the NFC identifier, etc. The specific relationship can be determined based on actual conditions and is not limited here.
[0061] The server may store multiple device association relationships, each device association relationship is used to indicate an association relationship between a different device identifier and a different WiFi identifier. When the server receives an information acquisition request, it searches for an association relationship that matches the target device identifier from the multiple device association relationships. When the multiple device association relationships include a device association relationship that matches the target device identifier, it is determined that the target WiFi identifier that has a device association relationship with the target device identifier has been found; when the multiple device association relationships do not include a device association relationship that matches the target device identifier, it is determined that the WiFi identifier that has a device association relationship with the target device identifier cannot be found.
[0062] It can be understood that in the embodiment of the present application, by obtaining the target device identifier from the NFC sensing area, obtaining the target WiFi identifier corresponding to the WiFi module of the smart device that has an associated relationship with the target device identifier from the cloud, and then verifying whether the target WiFi identifier exists among the multiple WiFi identifiers corresponding to the local area network to which the display device is connected, it is determined whether the display device and the smart device are connected to the same local area network, and then when the display device and the smart device are connected to the same local area network, it is determined that the display device has control authority over the smart device.
[0063] The program parameter may be cmdList, which includes program information and program parameter information. Specifically, cmdList includes cmdId, cmdCode and commandInfo, wherein cmdId is used to represent the program id, cmdCode is used to represent the command code, and commandInfo is used to represent the program parameter information.
[0064] For example, assuming that the target program is a quick wash program, the program parameter information represented by commandInfo may include setting the washing time to 15 minutes and the washing temperature to 40 degrees Celsius.
[0065] Among them, the server can store a program association relationship, which is used to indicate the association relationship between the NFC identifier and the target device identifier, the target WiFi identifier and the program parameters. The program association relationship can also be used to indicate the association relationship between the NFC identifier and other information, such as the association relationship between the NFC identifier and the home identifier. The specific relationship can be determined based on actual conditions and is not limited here.
[0066] The server may store multiple program association relationships, each program association relationship being used to indicate an association relationship between a different NFC identifier and a device identifier, a WiFi identifier, and a program parameter. When the server receives a program query request, it searches for an association relationship that matches the NFC identifier, the target device identifier, and the target WiFi identifier from the multiple program association relationships. When the multiple program association relationships include a program association relationship that matches the NFC identifier, the target device identifier, and the target WiFi identifier, it is determined that a program parameter that has a program association relationship with the NFC identifier, the target device identifier, and the target WiFi identifier has been found; when the multiple program association relationships do not include a program association relationship that matches the NFC identifier, the target device identifier, and the target WiFi identifier, it is determined that a program parameter that has a program association relationship with the NFC identifier, the target device identifier, and the target WiFi identifier cannot be found.
[0067] In some embodiments of the present application, the device identification, WiFi identification and program parameters in the program association relationship can be treated as a whole, such as the structure of a data body (dataContent) includes the device identification, WiFi identification and program parameters at the same time; the device identification, WiFi identification and program parameters in the program association relationship can also be treated as a data body respectively; the specific details can be determined according to actual conditions and are not limited here.
[0068] Wherein, based on the program parameters, the smart device is controlled to execute the target program, specifically, the display device sends the control instructions determined based on the program parameters to the smart device through the remote control channel, so that the smart device executes the target program.
[0069] Example 1: Assuming that an NFC sticker is attached to a smart device, the smart device is identified as deviceId, the NFC is identified as nfcId, the WiFi module of the smart device is identified as the target wifiId, and the server is a cloud server. When the display device touches the NFC sticker, the display device obtains the deviceId and nfcId stored in the NFC sticker. The display device calls the cloud server interface to obtain the device association relationship according to the deviceId. If the smart device has been bound to a device through the NFC sticker (assuming that the display device corresponding to account A is the display device bound to the smart device, the device association relationship is stored in the cloud server, and the wifiId information can be obtained according to the deviceId.), the cloud server stores the device association relationship between deviceId and wifiId. The display device receives the target wifiId returned by the cloud server. If the display device uses the same network as the smart device, and the display device and the smart device are in the same LAN, the display device can use the LAN discovery protocol to discover the LAN device under the target LAN to which the display device is connected, and obtain the LAN data packet under the target LAN, wherein the LAN data packet includes the wifiId of each LAN device under the target LAN, and may also include information such as wifiType, which can be determined according to actual conditions. The display device compares each wifiId in the LAN data packet with the target wifiId in the device association interface obtained from the cloud server. If the comparison is successful (i.e., each wifiId in the LAN data packet includes the target wifiId), it means that the display device and the smart device are connected to the same LAN, and it is considered that the display device has the authority to control the smart device. The authority to control the smart device here may include the NFC touch function, and may also include the LAN control function and the NFC touch function.
[0070] In the embodiment of the present application, the display device responds to the triggering operation of the NFC sensing area on the smart device by requesting the server for the target WiFi identifier that has a device association relationship with the target device identifier, and then verifies that the target WiFi identifier is included in multiple WiFi identifiers corresponding to the target local area network currently connected to the display device, so as to determine that the display device has control authority over the smart device, and finally requests the server to obtain target program parameters that have a program association relationship with the NFC identifier, the target device identifier, and the target WiFi identifier, and are used to execute the target program associated with the NFC sensing area, so as to control the smart device to execute the target program based on the target program parameters returned by the server. In this way, by verifying whether the display device is connected to the same local area network as the smart device, it is determined whether the display device has control authority over the smart device, and then when the display device has control authority over the smart device, the NFC sensing area associated target program parameters are obtained. The target program parameters of the target program control the smart device to execute the target program. If the customer needs to experience the NFC bump function, he only needs to bring the customer's display device close to the NFC sticker to verify whether the customer's display device is connected to the local area network connected to the smart device, so as to determine whether the customer's display device has control authority over the smart device. There is no need to remind the customer to delete the device from the customer's account and reset the NFC program (unbind the smart device from account A so that the new customer's device account can bind the smart device) every time after the customer experience to change the binding relationship between the smart device and different smart home APP accounts. There is no need to transfer permissions between accounts. It is only necessary to verify whether the customer's device is connected to the same local area network as the smart device, which simplifies the operation process of verifying whether the display device has control authority over the smart device, simplifies the operation process of the display device controlling the smart device to execute associated programs through the NFC bump function, and improves the customer experience.
[0071] In some embodiments of the present application, the communicator is further configured to: when the display device has control authority over the smart device, send a smart control page acquisition request to the server, the smart control page acquisition request carries the target account identifier of the display device and the target device identifier, the smart control page acquisition request is used to request the server to obtain a target smart control page matching the display device, when at least one member account identifier associated with a family identifier that has a device association relationship with the target device identifier does not include the target account identifier, the target smart control page is used to display at least one LAN control function, when the at least one member account identifier includes the target account identifier, the target smart control page includes the at least one remote control function; receive the target smart control page returned by the server; the display device also includes: a display, configured to: display the target smart control page.
[0072] The family ID is used to indicate the family to which the smart device belongs, and each member account ID is used to indicate a member of the family.
[0073] When at least one member account identifier associated with the family identifier that has a device association relationship with the target device identifier does not include the target account identifier, it means that the display device is in the identity of a visitor, and the target smart control page is used to display at least one LAN control function, that is, the target smart control page is a visitor page; when the at least one member account identifier includes the target account identifier, it means that the display device is in the identity of an administrator, and the target smart control page includes the at least one remote control function, that is, the target smart control page is an administrator page.
[0074] Among them, the LAN control function refers to the control function of the display device on the smart device when the display device must be connected to the same LAN as the smart device.
[0075] Among them, the remote control function refers to the control function of the display device on the smart device regardless of whether it is connected to the same local area network as the smart device.
[0076] It can be understood that in the embodiment of the present application, the display device can not only control the smart device to execute the target program associated with the NFC sensing area, but also display the smart control page in the smart home APP of the display device by triggering the NFC sensing area on the smart device.
[0077] Among them, the server also stores the association relationship between the target device identifier and the home identifier, wherein the association relationship between the target device identifier and the home identifier can be stored separately or in the device association relationship, that is, the device association relationship is the association relationship between the target device identifier and the target WiFi identifier and the home identifier, which can be determined based on actual conditions and is not limited here.
[0078] The member account identifier may be customerId, which is a unique identifier of the account. The member account identifier corresponds one-to-one to the account of the smart APP that logs in to the display device.
[0079] Example 2, following Example 1 above, after the display device corresponding to account B has the authority to control the smart device, it will request the cloud server interface to obtain H5 page resources (i.e., smart control page) for display. When the display device corresponding to account B requests the H5 page resources, the cloud server will verify the authority of account B, that is, verify whether the account identity is an administrator (an account in the same family as account A) or a visitor (an account in a different family from account A). The verification method is as follows: when account B requests H5 page resources, it will upload the deviceId and customerId obtained by tapping the NFC sticker to the cloud. The cloud server will retrieve the homeId in the binding relationship from the database based on the deviceId, and then determine whether the multiple member account identifiers associated with the homeId include the customerId (that is, the cloud server queries all member information under the family based on the homeId, and compares whether there is customerId information containing account B.) If the multiple member account identifiers associated with the homeId include the customerId, it means that account B is a member of the family, and account B is considered to be an administrator; if the multiple member account identifiers associated with the homeId include the customerId, it means that account B is not a member of the family, and account B is considered to be a visitor. When account B is identified as a visitor, the H5 page resources sent to the display device corresponding to account B are resources with visitor identity permissions. When account B is identified as an administrator, the H5 page resources sent to the display device corresponding to account B are resources with administrator identity permissions. After the H5 page resources are sent to the display device corresponding to account B, the display device will automatically open the smart home APP and automatically display the H5 page.
[0080] In some embodiments of the present application, the smart control page can be obtained and displayed while obtaining program parameters and controlling the smart device to execute the target program; or the program can be obtained first and the smart device can be controlled to execute the target program, and then the smart control page can be obtained and displayed; or the smart control page can be obtained and displayed first, and then the program can be obtained and the smart device can be controlled to execute the target program. Other execution orders can also be used, which can be determined based on actual conditions and are not limited here.
[0081] In some embodiments of the present application, the smart home APP of the display device will automatically open the H5 page and automatically start controlling the smart device to execute the target program.
[0082] In some embodiments of the present application, the above-mentioned display device can be any display device, including a display device for logging in to the smart home APP through account A (hereinafter referred to as account A, which is a display device that is networked, bound and associated with the program by touching the NFC sensing area of the smart device), and a display device for logging in to the smart home APP through a non-account A (such as account B, which is a display device other than the display device that is networked, bound and associated with the program by touching the NFC sensing area of the smart device); the above-mentioned display device can be any display device except the display device corresponding to account A, that is, a display device for logging in to the smart home APP through a non-account A; the specific details can be determined according to actual conditions and are not limited here.
[0083] In some embodiments of the present application, since account A is the sovereign controller of the smart device, the display device corresponding to the above account A also has control permissions such as unbinding the device and changing the device name.
[0084] In some embodiments of the present application, it can be set that display devices other than the display device corresponding to account A (such as the display device corresponding to account B) do not have control permissions such as unbinding devices and changing device names; it can also be set that display devices in the same family as the display device corresponding to account A have control permissions such as unbinding devices and changing device names, and display devices that are not in the same family as the display device corresponding to account A do not have control permissions such as unbinding devices and changing device names; the specific permissions can be determined based on actual conditions and are not limited here.
[0085] In some embodiments of the present application, a server is provided, including: a communicator, configured to: receive an information acquisition request from a display device, the information acquisition request is generated by the display device in response to a touch operation on an NFC sensing area pasted on a smart device, and the information acquisition request carries a target device identifier corresponding to the NFC sensing area; a controller, configured to: based on the information acquisition request, acquire a target WiFi identifier that has a device association relationship with the target device identifier, the target WiFi identifier is used to indicate a WiFi module of the smart device; the communicator is further configured to: return the target WiFi identifier to the display device, so that the display device determines whether the display device has control authority over the smart device according to the target WiFi identifier; A program query request is received from the display device, the program query request carries the target device identifier, the target WiFi identifier and the NFC identifier corresponding to the NFC sensing area, and the program query request is generated by the display device when it is determined that the display device has control authority over the smart device; the controller is further configured to: obtain target program parameters according to the program query request, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; the communicator is further configured to: return the target program parameters to the display device, so that the display device controls the smart device to execute the target program based on the program parameters.
[0086] In the embodiment of the present application, the description of the above-mentioned server can refer to the relevant description of the above-mentioned display device, which will not be repeated here.
[0087] In some embodiments of the present application, the controller is specifically configured to: obtain, according to the program query request, associated program parameters, associated device identifiers and associated WiFi identifiers that have a program association relationship with the NFC identifier, the associated program parameters are used to indicate the program parameters of the target program associated with the NFC sensing area, the associated device identifier is used to indicate the device identifier of the device of the target program associated with the NFC sensing area, and the associated WiFi identifier is used to indicate the WiFi module of the device of the target program associated with the NFC sensing area; when the associated device identifier matches the target device identifier and the associated WiFi identifier matches the target WiFi identifier, the associated program parameters are determined as the target program parameters.
[0088] In the embodiment of the present application, the description of the above-mentioned server can refer to the relevant description of the above-mentioned display device, which will not be repeated here.
[0089] In some embodiments of the present application, the communicator is further configured to: receive a smart control page acquisition request from the display device, the smart control page acquisition request carries the target account identifier and the target device identifier of the display device, and the smart control page acquisition request is generated by the display device when it is determined that the display device has control authority over the smart device; the controller is further configured to: based on the smart control page acquisition request, acquire a home identifier that has a device association relationship with the target device identifier, the home identifier is used to indicate the home where the smart device is located, and the smart control page acquisition request is used to request a target smart control page that matches the display device; determine the home identifier. whether at least one member account identifier associated with the family identifier includes the target account identifier; when the at least one member account identifier does not include the target account identifier, the smart control page for displaying at least one LAN control function is determined as the target smart control page, the family identifier is used to indicate the family where the smart device is located, and each member account identifier is used to indicate a member of the family; when the at least one member account identifier includes the target account identifier, the smart control page for displaying the at least one remote control function is determined as the target smart control page; the communicator is further configured to: return the target smart control page to the display device.
[0090] In the embodiment of the present application, the description of the above-mentioned server can refer to the relevant description of the above-mentioned display device, which will not be repeated here.
[0091] In some embodiments of the present application, the communicator is further configured to: receive a device binding request from a control device, the device binding request carries the target device identifier, and the device binding request is used to request the server to generate a device association relationship; the controller is further configured to: obtain the target WiFi identifier and the home identifier according to the device binding request; generate and save a device association relationship, and the device association relationship is used to indicate an association relationship between the target device identifier and the target WiFi identifier and the home identifier.
[0092] Among them, the control device is a display device that is configured, bound and associated with the program by touching the NFC sensing area of the smart device, that is, the display device corresponding to account A.
[0093] The target WiFi identifier may be stored in the server or obtained by the server from the control device. The specific identifier may be determined according to actual conditions and is not limited here.
[0094] In some embodiments of the present application, when using the NFC tap function for the first time, the smart device must be bound to the home account first, and after the binding is successful, the program can be associated as needed.
[0095] Example 3, following Example 2 above, when the display device corresponding to account A uses the NFC touch function of the smart device for the first time, it first enters the network configuration process, touches the display device to the NFC sticker, and opens the smart home APP. The smart home APP reads the target device identifier (such as the device barcode, i.e., deviceId), device type (for example: the air conditioner device type is 00d, the washing machine device type is 00f), and NFC identifier (NFC sticker serial number, i.e., nfcId) stored in the NFC sticker. According to the identified deviceId, nfcId, and device type, the network configuration instruction page of the corresponding device type can be directly opened to guide the user to perform the network configuration operation according to the prompts. After the network configuration process is completed, the smart home APP will call the cloud server interface to set the NFC association data, associate the target device identifier with the target WiFi identifier, obtain the device association relationship, and store the device association relationship to the cloud server. Among them, the device association relationship can also include the association relationship between the target device identifier and the family identifier.
[0096] In the embodiments of the present application, the network configuration process can refer to relevant network configuration technologies and will not be described in detail here.
[0097] In some embodiments of the present application, the communicator is further configured to: receive a program binding request from a control device, the program binding request carrying the NFC identifier, the associated program parameters, the associated device identifier and the associated WiFi identifier; the program binding request is generated by the control device in response to a received program binding operation; the controller is further configured to: generate and save a program association relationship based on the program binding request, the program association relationship being used to indicate an association relationship between the NFC identifier and the associated program parameters, the associated device identifier and the associated WiFi identifier.
[0098] Example 4, following Example 3 above, after the device association is stored in the cloud server, the user will be prompted to associate the NFC program. Taking the washing machine as an example, the washing machine program list will be displayed on the interface, and the user can select the washing program to be associated. After selecting "Save", the smart home APP calls the cloud server interface to set the NFC association data, associates the nfcId with the device information (deviceId, wifiId), and the command information (cmdList), generates a program association, and stores the program association in the cloud server.
[0099] In the embodiment of the present application, the device association relationship and the program association relationship are generated and stored by the cloud server, so that the display device located in the same local area network as the smart device can obtain the device association relationship through the cloud server after touching the NFC sensing area of the smart device, verify that the display device and the smart device are in the same local area network, and have control authority over the smart device, and then can obtain the program parameters of the target program in the program association relationship through the cloud server, and control the smart device to execute the target program based on the program parameters.
[0100] Exemplarily, the smart home APP associates the NFC sticker program: After the smart home APP successfully binds the smart device for the first time, it will prompt the user to associate the program. When associating the program, the smart home APP will call the cloud server interface to set the NFC association data. The program association relationship is stored in the cloud. Specifically, when the display device requests the cloud server interface to associate the program, it needs to upload two important parameters, namely nfcId and dataContent (i.e. nfc association data), where dataContent includes at least deviceId, wifiId, and cmdList.
[0101] In some embodiments of the present application, the display device corresponding to account A binds the smart device to the home of the display device corresponding to account A. Then, the display device corresponding to account A can control the smart device to execute the target program associated with the NFC sticker by touching the NFC sticker.
[0102] For example, after the display device corresponding to account A is associated with the NFC sticker program, each time the smart device is used, the display device corresponding to account A only needs to touch the NFC sticker to execute the program. The specific business logic is: the smart home APP installed in the display device corresponding to account A touches the NFC sticker to read the information stored in the NFC sticker. The smart home APP calls the cloud server interface to query the NFC associated program, and obtains the NFC associated information from the cloud according to the nfcId stored in the NFC sticker. The cloud will query the associated program under the nfcId and return the query result to the smart home APP. The smart home APP obtains the cmdList (such as cmdId, cmdCode, etc.) parameters of the program according to the associated program sent by the cloud server, and the smart home APP then calls the cloud interface to execute the associated program.
[0103] In some embodiments of the present application, the display device corresponding to account A binds the smart device to the home of the display device corresponding to account A. Then, the display device corresponding to account A can control the smart device to execute the target program associated with the NFC sticker by touching the NFC sticker.
[0104] In some embodiments of the present application, the display device corresponding to account A is bound to an NFC device and associated with an execution program. When the display device corresponding to account B touches the NFC sticker, when it is determined that the display device corresponding to account B and the smart device are in the same local area network, the smart device can be directly controlled without account A transferring permissions to account B.
[0105] In some embodiments of the present application, the display device corresponding to account A has the sovereignty to control the smart device after binding the smart device. At the same time, the display device corresponding to account B or account C can also directly control the smart device when it is close to the NFC sensing area of the smart device. Considering the security scope of control, the present application proposes a security verification mechanism to ensure that except for the administrator, other personnel can only control the device within the same network (same local area network), that is, tourists are not allowed to control the NFC device in the case of non-same network. This is done because in a store environment with a large flow of customers, someone can directly control the NFC device by touching the NFC device with a mobile phone. After leaving the store, if the device can still be controlled, it will cause trouble for the store sales staff.
[0106] In order to explain this scheme in more detail, the following will be combined in an exemplary manner Figures 7 to 11 To explain, it is understandable that Figures 7 to 11 The steps involved may include more steps or fewer steps in actual implementation, and the order of these steps may also be different, so as to implement the program execution method provided in the embodiment of the present application.
[0107] Figure 7 To implement a flowchart of a method for executing a program according to one or more embodiments of the present application, the method for executing a program may include:
[0108] 701. In response to a tap operation on an NFC sensing area attached to a smart device, the display device obtains an NFC identifier and a target device identifier corresponding to the NFC sensing area.
[0109] The NFC identifier is used to indicate the NFC sensing area, and the target device identifier is used to indicate the smart device.
[0110] 702. The display device sends an information acquisition request to the server.
[0111] The information acquisition request carries the target device identifier, and the information acquisition request is used to request the server to obtain a target WiFi identifier that has a device association relationship with the target device identifier, and the target WiFi identifier is used to indicate a WiFi module of the smart device.
[0112] 703. The server receives an information acquisition request from the display device.
[0113] The information acquisition request is generated by the display device in response to a tap operation on the NFC sensing area pasted on the smart device, and the information acquisition request carries a target device identifier corresponding to the NFC sensing area.
[0114] 704. The server obtains a target WiFi identifier that has a device association relationship with the target device identifier based on the information acquisition request.
[0115] The target WiFi identifier is used to indicate the WiFi module of the smart device.
[0116] 705. The server returns the target WiFi identifier to the display device.
[0117] The target WiFi identifier is used by the display device to determine whether the display device has control authority over the smart device according to the target WiFi identifier.
[0118] 706. The display device receives the target WiFi identifier returned by the server.
[0119] 707. The display device obtains multiple WiFi identifiers corresponding to the target local area network to which the display device is connected.
[0120] Each WiFi identifier is used to indicate a device currently connected to the target local area network.
[0121] 708. When the target WiFi identifier is included in the multiple WiFi identifiers, the display device determines that the display device has control authority over the smart device.
[0122] 709. When the display device has control authority over the smart device, the display device sends a program query request to the server.
[0123] Among them, the program query request carries the NFC identifier, the target device identifier and the target WiFi identifier, and the program query request is used to request target program parameters, which are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute the target program associated with the NFC sensing area.
[0124] 710. The server receives a program query request from the display device.
[0125] The program query request carries the target device identifier, the target WiFi identifier and the NFC identifier corresponding to the NFC sensing area, and the program query request is generated by the display device when it is determined that the display device has control authority over the smart device.
[0126] 711. The server obtains target program parameters according to the program query request.
[0127] The target program parameter is a program parameter that has a program association relationship with the NFC identifier, the target device identifier, and the target WiFi identifier, and is used to execute a target program associated with the NFC sensing area.
[0128] 712. The server returns the target program parameters to the display device.
[0129] The program parameters are used by the display device to control the smart device to execute the target program based on the program parameters.
[0130] 713. The display device receives the target program parameters returned by the server.
[0131] 714. The display device controls the smart device to execute the target program based on the program parameters.
[0132] In some embodiments of the present application, after the above step 703, if the server fails to obtain the target WiFi identifier that has a device association relationship with the target device identifier based on the information acquisition request, that is, the device association relationship corresponding to the target device identifier is not stored in the server, the server returns network configuration binding prompt information to the display device, and the network configuration binding prompt information is used to prompt the display device that it is necessary to perform the network configuration binding process first.
[0133] In some embodiments of the present application, after the above-mentioned step 710, if the server fails to obtain the target program parameters according to the program query request, that is, the server does not store the program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, the server returns a program binding prompt information to the display device, and the program binding prompt information is used to prompt the display device that it is necessary to perform the program binding process first.
[0134] In some embodiments of the present application, Figure 8 As shown, the above step 711 can be specifically implemented through the following steps 801 and 802.
[0135] 801. The server obtains, according to the program query request, associated program parameters, associated device identifiers, and associated WiFi identifiers that have a program association relationship with the NFC identifier.
[0136] Among them, the associated program parameters are used to indicate the program parameters of the target program associated with the NFC sensing area, the associated device identifier is used to indicate the device identifier of the device of the target program associated with the NFC sensing area, and the associated WiFi identifier is used to indicate the WiFi module of the device of the target program associated with the NFC sensing area.
[0137] 802. When the associated device identifier matches the target device identifier and the associated WiFi identifier matches the target WiFi identifier, determine the associated program parameter as the target program parameter.
[0138] In some embodiments of the present application, Figure 7 ,like Fig. 9 As shown, after the above step 708, the program execution method provided in the embodiment of the present application may further include the following steps 715 to 723.
[0139] 715. When the display device has control authority over the smart device, the display device sends a request to the server for obtaining a smart control page.
[0140] Among them, the smart control page acquisition request carries the target account identifier and the target device identifier of the display device. The smart control page acquisition request is used to request the server to obtain the target smart control page matching the display device. When at least one member account identifier associated with the family identifier that has a device association relationship with the target device identifier does not include the target account identifier, the target smart control page is used to display at least one local area network control function. When the at least one member account identifier includes the target account identifier, the target smart control page includes the at least one remote control function. The family identifier is used to indicate the family where the smart device is located, and each member account identifier is used to indicate a member of the family.
[0141] 716. The server receives a request for obtaining an intelligent control page from the display device.
[0142] The smart control page acquisition request carries the target account identifier and the target device identifier of the display device, and the smart control page acquisition request is generated by the display device when it is determined that the display device has control authority over the smart device;
[0143] 717. The server obtains the home identifier that has a device association relationship with the target device identifier based on the intelligent control page acquisition request.
[0144] The family identifier is used to indicate the family where the smart device is located, and the smart control page acquisition request is used to request a target smart control page that matches the display device.
[0145] 718. The server determines whether at least one member account identifier associated with the family identifier includes the target account identifier.
[0146] 719. When the at least one member account identifier does not include the target account identifier, the server determines the smart control page for displaying at least one local area network control function as the target smart control page.
[0147] The family ID is used to indicate the family to which the smart device belongs, and each member account ID is used to indicate a member of the family.
[0148] 720. When the at least one member account identifier includes the target account identifier, the server determines the smart control page for displaying the at least one remote control function as the target smart control page.
[0149] 721. The server returns the target intelligent control page to the display device.
[0150] 722. The display device receives the target intelligent control page returned by the server.
[0151] 723. The display device displays the target intelligent control page.
[0152] In some embodiments of the present application, Fig.10 As shown, before the above step 701, the program execution method provided in the embodiment of the present application may also include the following steps 1001 to 1003.
[0153] 1001. The server receives a device binding request from a control device.
[0154] The device binding request carries the target device identifier, and the device binding request is used to request the server to generate a device association relationship.
[0155] 1002. The server obtains the target WiFi ID and the home ID according to the device binding request.
[0156] 1003. The server generates and saves the device association relationship.
[0157] The device association relationship is used to indicate the association relationship between the target device identifier, the target WiFi identifier and the home identifier.
[0158] In some embodiments of the present application, Fig.10 ,like Fig.11 As shown, after the above step 1003, the program execution method provided in the embodiment of the present application may also include the following steps 1004 to 1002.
[0159] 1004. The server receives a program binding request from the control device.
[0160] The program binding request carries the NFC identifier, the associated program parameter, the associated device identifier and the associated WiFi identifier; and the program binding request is generated by the control device in response to a received program binding operation.
[0161] 1005. The server generates and saves a program association relationship according to the program binding request.
[0162] The program association relationship is used to indicate the association relationship between the NFC identifier and the associated program parameter, the associated device identifier and the associated WiFi identifier.
[0163] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the above-mentioned program execution method and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0164] The computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0165] The present invention provides a computer program product, comprising: when the computer program product is run on a computer, the computer is enabled to implement the above-mentioned program execution method.
[0166] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0167] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: The controller is configured to: in response to a triggering operation on an NFC sensing area on a smart device, obtain an NFC identifier and a target device identifier corresponding to the NFC sensing area, wherein the NFC identifier is used to indicate the NFC sensing area, and the target device identifier is used to indicate the smart device; The communicator is configured to: send an information acquisition request to a server, wherein the information acquisition request carries the target device identifier, and the information acquisition request is used to request the server to acquire a target WiFi identifier that has a device association relationship with the target device identifier, and the target WiFi identifier is used to indicate a WiFi module of the smart device; Receive the target WiFi identifier returned by the server; The controller is further configured to: obtain multiple WiFi identifiers corresponding to the target local area network to which the display device is connected, each WiFi identifier being used to indicate a device currently connected to the target local area network; In a case where the target WiFi identifier is included in the multiple WiFi identifiers, determining that the display device has control authority over the smart device; The communicator is further configured to: when the display device has control authority over the smart device, send a program query request to the server, the program query request carries the NFC identifier, the target device identifier and the target WiFi identifier, the program query request is used to request target program parameters, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; receiving the target program parameters returned by the server; The controller is further configured to: control the smart device to execute the target program based on the program parameters.
2. The display device according to claim 1, characterized in that The communicator is further configured to: In the case where the display device has control authority over the smart device, a smart control page acquisition request is sent to the server, the smart control page acquisition request carries the target account identifier of the display device and the target device identifier, the smart control page acquisition request is used to request the server to acquire a target smart control page matching the display device, in the case where at least one member account identifier associated with a family identifier that has a device association relationship with the target device identifier does not include the target account identifier, the target smart control page is used to display at least one local area network control function, in the case where at least one member account identifier includes the target account identifier, the target smart control page includes the at least one remote control function, the family identifier is used to indicate the family to which the smart device belongs, and each member account identifier is used to indicate a member of the family; Receiving the target intelligent control page returned by the server; The display device also includes: a display configured to: display the target intelligent control page.
3. A server, characterized in that: include: The communicator is configured to: receive an information acquisition request from a display device, the information acquisition request being generated by the display device in response to a tap operation on an NFC sensing area attached to a smart device, the information acquisition request carrying a target device identifier corresponding to the NFC sensing area; The controller is configured to: based on the information acquisition request, acquire a target WiFi identifier that has a device association relationship with the target device identifier, wherein the target WiFi identifier is used to indicate a WiFi module of the smart device; The communicator is further configured to: return the target WiFi identifier to the display device, so that the display device determines whether the display device has control authority over the smart device according to the target WiFi identifier; receiving a program query request from the display device, the program query request carrying the target device identifier, the target WiFi identifier, and the NFC identifier corresponding to the NFC sensing area, the program query request being generated by the display device when determining that the display device has control authority over the smart device; The controller is further configured to: acquire target program parameters according to the program query request, wherein the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier, and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; The communicator is further configured to return the target program parameters to the display device, so that the display device controls the smart device to execute the target program based on the program parameters.
4. The server according to claim 3, characterized in that: The controller is specifically configured to: acquire, according to the program query request, an associated program parameter, an associated device identifier, and an associated WiFi identifier that have a program association relationship with the NFC identifier, wherein the associated program parameter is used to indicate a program parameter of a target program associated with the NFC sensing area, the associated device identifier is used to indicate a device identifier of a device of the target program associated with the NFC sensing area, and the associated WiFi identifier is used to indicate a WiFi module of a device of the target program associated with the NFC sensing area; In a case where the associated device identifier matches the target device identifier, and the associated WiFi identifier matches the target WiFi identifier, the associated program parameters are determined as the target program parameters.
5. The server according to claim 3, characterized in that: The communicator is further configured to: receive a smart control page acquisition request from the display device, the smart control page acquisition request carries a target account identifier and a target device identifier of the display device, and the smart control page acquisition request is generated by the display device when it is determined that the display device has control authority over the smart device; The controller is further configured to: based on the smart control page acquisition request, acquire a home identifier that has a device association relationship with the target device identifier, the home identifier is used to indicate the home where the smart device is located, and the smart control page acquisition request is used to request a target smart control page that matches the display device; determining whether at least one member account identifier associated with the family identifier includes the target account identifier; In a case where the at least one member account identifier does not include the target account identifier, a smart control page for displaying at least one local area network control function is determined as the target smart control page, the family identifier is used to indicate the family to which the smart device belongs, and each member account identifier is used to indicate a member of the family; In a case where the at least one member account identifier includes the target account identifier, determining the smart control page for displaying the at least one remote control function as the target smart control page; The communicator is further configured to return the target intelligent control page to the display device.
6. The server according to claim 5, characterized in that: The communicator is further configured to: receive a device binding request from a control device, the device binding request carries the target device identifier, and the device binding request is used to request the server to generate a device association relationship; The controller is further configured to: obtain the target WiFi identifier and the home identifier according to the device binding request; Generate and save a device association relationship, where the device association relationship is used to indicate an association relationship between the target device identifier, the target WiFi identifier, and the home identifier.
7. The server according to any one of claims 3 to 6, characterized in that: The communicator is further configured to: receive a program binding request from a control device, the program binding request carrying the NFC identifier, the associated program parameter, the associated device identifier, and the associated WiFi identifier; the program binding request is generated by the control device in response to a received program binding operation; The controller is further configured to: generate and save a program association relationship according to the program binding request, wherein the program association relationship is used to indicate an association relationship between the NFC identifier and the associated program parameter, the associated device identifier and the associated WiFi identifier.
8. A program execution method, characterized in that: Applied to display devices, including: In response to a tapping operation on an NFC sensing area attached to a smart device, an NFC identifier and a target device identifier corresponding to the NFC sensing area are obtained, wherein the NFC identifier is used to indicate the NFC sensing area, and the target device identifier is used to indicate the smart device; Sending an information acquisition request to a server, the information acquisition request carrying the target device identifier, the information acquisition request being used to request the server to acquire a target WiFi identifier that has a device association relationship with the target device identifier, the target WiFi identifier being used to indicate a WiFi module of the smart device; Receive the target WiFi identifier returned by the server; Acquire multiple WiFi identifiers corresponding to the target local area network connected to the display device, each WiFi identifier is used to indicate a device currently connected to the target local area network; In a case where the target WiFi identifier is included in the multiple WiFi identifiers, determining that the display device has control authority over the smart device; In the case where the display device has control authority over the smart device, a program query request is sent to the server, the program query request carries the NFC identifier, the target device identifier, and the target WiFi identifier, the program query request is used to request target program parameters, the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier, and the target WiFi identifier, and are used to execute a target program associated with the NFC sensing area; receiving the target program parameters returned by the server; Based on the program parameters, the smart device is controlled to execute the target program.
9. A program execution method, characterized in that: Applicable to servers, including: receiving an information acquisition request from a display device, the information acquisition request being generated by the display device in response to a tap operation on an NFC sensing area attached to a smart device, the information acquisition request carrying a target device identifier corresponding to the NFC sensing area; Based on the information acquisition request, a target WiFi identifier that has a device association relationship with the target device identifier is acquired, where the target WiFi identifier is used to indicate a WiFi module of the smart device; Returning the target WiFi identifier to the display device, so that the display device determines whether the display device has control authority over the smart device according to the target WiFi identifier; receiving a program query request from the display device, the program query request carrying the target device identifier, the target WiFi identifier, and the NFC identifier corresponding to the NFC sensing area, the program query request being generated by the display device when determining that the display device has control authority over the smart device; Acquire target program parameters according to the program query request, where the target program parameters are program parameters that have a program association relationship with the NFC identifier, the target device identifier, and the target WiFi identifier, and are used to execute the target program associated with the NFC sensing area; The target program parameters are returned to the display device, so that the display device controls the smart device to execute the target program based on the program parameters.
10. A computer-readable storage medium, characterized in that: include: A computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the program execution method according to claim 8 or 9 is implemented.
Citation Information
Patent Citations
Equipment control right sharing method and device, computer equipment and storage medium
CN111049711A
Household appliance control method and system
CN111835607A
Air conditioner sharing control method based on NFC, air conditioner and intelligent terminal
CN116576559A
Method and apparatus for binding device
US20160241401A1
Mobile terminal, server, display device, and control method for remote timed shutdown
WO2022100261A1