Service control method and related apparatus
By communicating with terminal devices through NFC accessories, reading tag information, and performing conditional detection, the problem of difficult-to-control service lifecycle is solved, enabling flexible management of services and revocation of permissions.
Patent Information
- Application Number
- CN202111061839.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-10
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2041-09-10
AI Technical Summary
In existing technologies, once a user scans a QR code with their mobile phone to obtain software services when entering a specific location, it is difficult to control the lifecycle of the service on the mobile phone, resulting in the inability to end or manage the service in a timely manner.
By communicating with terminal devices through NFC accessories, tag information can be read and the service lifecycle can be controlled based on condition detection, including terminating the service process and clearing data. Service permissions can be managed using the location range and usage period of NFC accessories.
It enables effective control over the lifecycle and location range of services on terminal devices, making it easier for service providers to revoke service permissions in a timely manner and improving the flexibility and efficiency of service management.
Smart Images

Figure CN115796223B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronics, and in particular to a service control method and related apparatus. BACKGROUND
[0002] In daily life, when a user enters a specific place (for example, a museum, a stadium, a library, or a scenic spot), the user can obtain a software service corresponding to the specific place by using a mobile phone. For example, when the user enters a museum, the user usually scans a two-dimensional code by using the mobile phone to download an application or open a webpage, so as to obtain a corresponding software service. However, scanning the two-dimensional code is a one-way process of obtaining the software service, and this obtaining method is difficult to control (for example, end) the life cycle of the software service on the mobile phone of the user. SUMMARY
[0003] The present application provides a service control method, which can effectively control the life cycle of a preset service on a terminal device, and facilitate a service provider to timely recover service permissions of the preset service.
[0004] In a first aspect, the present application provides a service control method, including: reading, by a terminal device, first tag information of a first Near Field Communication (NFC) accessory; executing, by the terminal device, a first service based on the first tag information; detecting whether the terminal device satisfies a first preset condition associated with the first NFC accessory, the first preset condition including at least one of the following: the terminal device and the first NFC accessory maintain an NFC communication connection, the terminal device is within a preset location range configured by the first NFC accessory, and a use period configured by the first NFC accessory has not expired; and when it is detected that the terminal device does not satisfy the first preset condition, terminating a process of the first service and clearing data of the first service, the data of the first service including the first tag information.
[0005] By implementing the embodiments of the present application, when the user brings the NFC accessory close to the terminal device, the terminal device can execute a first service indicated by the tag information of the NFC accessory; when the user moves the NFC accessory away from the terminal device, the user carries the NFC accessory and the terminal device out of the preset location range configured by the NFC accessory, or the user uses the NFC accessory for a use period that exceeds the use period, the terminal device terminates all processes of the first service and clears related data of the first service. It can be understood that when the user moves the NFC accessory away from the terminal device, the NFC communication connection between the terminal device and the NFC accessory is disconnected. In this way, the user can obtain the first service on the terminal device by using the NFC accessory, and can effectively control the life cycle of the first service in the terminal device and the location range of the first service, thereby facilitating the service provider to timely recover the service permissions of the first service.
[0006] In an implementation manner, the first label information includes at least one of the following: a first website link, a second website link of a download webpage of an installation package of a first application (APP), an identifier of the first APP, the installation package of the first APP, an identifier of a first applet, a multimedia data package, a third website link of a download webpage of the multimedia data package, wireless connection information, parameter configuration, a fourth website link of a download webpage of a data package of a first theme, and an identifier of the first theme; wherein the parameter configuration is used to indicate a system parameter to be modified and a value of the system parameter after modification.
[0007] When the first label information includes the first website link, the first service includes running the first website and providing a service of the first website; when the first label information includes the second website link, the installation package of the first APP, or the identifier of the first APP, the first service includes running the first APP and providing a service of the first APP; when the first label information includes the identifier of the first applet, the first service includes running the first applet in a preset APP; when the first label information includes the multimedia data package or the third website link, the first service includes multimedia playing based on the multimedia data package; when the first label information includes the wireless connection information, the first service includes accessing a preset local area network based on the wireless connection information; when the first label information includes the parameter configuration, the first service includes modifying a system parameter based on the parameter configuration; and when the first label information includes the fourth website link or the identifier of the first theme, the first service includes setting a theme as the first theme.
[0008] The embodiments of the present application do not make specific limitations on the specific content of the label information of the NFC accessory and the first service indicated by the label information. For various forms of the first service, the service control method provided by the embodiments of the present application can effectively control the life cycle of the first service in the terminal device and the location range of the first service.
[0009] In an implementation manner, the terminal device reads the first label information of the first near field communication (NFC) accessory, including: the terminal device establishes an NFC communication connection with the first NFC accessory, and the terminal device receives the first label information sent by the first NFC accessory.
[0010] In an implementation manner, the terminal device executes the first service based on the first label information, including: the terminal device determines whether the terminal device has the capability of executing the first service based on the first label information; and when it is determined that the terminal device has the capability of executing the first service, the terminal device executes the first service based on the first label information.
[0011] It can be understood that different terminal devices may have different service capabilities. By implementing the embodiments of the present application, only the terminal device having the capability of executing the first service can execute the first service based on the first label information.
[0012] In an implementation, the first service can only be executed on a terminal device with the first configuration information, the first configuration information indicating at least one of an operating system, a device model, a software configuration and a hardware configuration, and the terminal device determines whether the terminal device has the capability of executing the first service based on the first tag information, comprising: the terminal device determines the first configuration information based on the first tag information, and determines whether the configuration information of the terminal device is the same as the first configuration information; if the configuration information of the terminal device is the same as the first configuration information, it is determined that the terminal device has the capability of executing the first service; if the configuration information of the terminal device is not the same as the preset configuration information, it is determined that the terminal device does not have the capability of executing the first service.
[0013] It can be understood that the configuration information required to support different service capabilities can be different. By implementing the embodiments of the present application, the terminal device can determine whether the terminal device has the capability of executing the first service based on at least one of the configuration information of the operating system, the device model, the software configuration and the hardware configuration.
[0014] In an implementation, the method further comprises: the terminal device reads second tag information of the second NFC accessory, the second tag information being used to indicate the second service; the terminal device determines whether the terminal device has the capability of executing the second service based on the second tag information; when it is determined that the terminal device does not have the capability of executing the second service, the terminal device displays first prompt information, the first prompt information being used to prompt the user that the terminal device does not have the capability of executing the second service.
[0015] By implementing the embodiments of the present application, when it is determined that the terminal device does not have the capability of executing the second service, the user can be prompted by the terminal device, so that the user can discover in time that the second NFC accessory is not applicable to the terminal device.
[0016] In an implementation, the second NFC accessory is configured with a prompt device, and the method further comprises: the terminal device reads second tag information of the second NFC accessory, the second tag information being used to indicate the second service; the terminal device determines whether the terminal device has the capability of executing the second service based on the second tag information; when it is determined that the terminal device does not have the capability of executing the second service, the terminal device sends a first prompt message to the second NFC accessory, the first prompt message being used to trigger the prompt device of the second NFC accessory to send a first prompt signal, the first prompt signal being used to prompt the user that the terminal device does not have the capability of executing the second service.
[0017] By implementing the embodiments of the present application, when it is determined that the terminal device does not have the capability of executing the second service, the user can be prompted by the second NFC accessory, so that the user can discover in time that the second NFC accessory is not applicable to the terminal device.
[0018] In an implementation, the third NFC accessory is configured with a prompting device, and the method further includes: the terminal device reading third tag information of the third NFC accessory, the third tag information being used to indicate a third service; the terminal device failing to perform the third service based on the third tag information; and the terminal device sending a second prompting message to the third NFC accessory, the second prompting message being used to trigger the prompting device of the third NFC accessory to send a second prompting signal, the second prompting signal being used to prompt the user to perform the third service by the terminal device.
[0019] By implementing the embodiments of the present application, the third service indicated by the tag information is directly performed after the tag information is read, and it is not necessary to determine whether the terminal device has the capability to perform the third service. If the third service fails to be performed, the user can be prompted by the third NFC accessory, so that the user can find that the third NFC accessory is not suitable for the terminal device in time.
[0020] In an implementation, the tag information of the first NFC accessory includes a plurality of tag information, any two of the plurality of tag information correspond to different configuration information, the configuration information can indicate at least one of an operating system, a device model, a software configuration and a hardware configuration, the plurality of tag information includes the first tag information, the first tag information corresponding to the first configuration information; before the terminal device performs the first service based on the first tag information, the terminal device has read all the tag information of the first NFC accessory; and the terminal device performing the first service based on the first tag information includes: the terminal device determining the first configuration information which is the same as the configuration information of the terminal device in the configuration information corresponding to the plurality of tag information; and the terminal device performing the first service based on the first tag information corresponding to the first configuration information.
[0021] It can be understood that if the configuration information of two terminal devices is different, the service capability of the two terminal devices can also be different. By implementing the embodiments of the present application, the tag information of the first NFC accessory includes a plurality of tag information suitable for different configuration information, and the terminal device can select appropriate tag information according to the configuration information of the device. In this way, the first NFC accessory can be suitable for terminal devices with different configuration information.
[0022] In an implementation, the tag information of the first NFC accessory includes a plurality of tag information, any two of the plurality of tag information correspond to different configuration information, the configuration information can indicate at least one of an operating system, a device model, a software configuration and a hardware configuration, the plurality of tag information includes a first tag information, the first tag information corresponds to a first configuration information; the terminal device reads the first tag information of the first NFC accessory, including: the terminal device sends configuration information of the terminal device to the first NFC accessory; the terminal device receives the first tag information sent by the first NFC accessory, the first tag information is determined by the first NFC accessory from the plurality of tag information based on the configuration information of the terminal device, and the configuration information of the terminal device is the same as the first configuration information corresponding to the first tag information.
[0023] The embodiment of the application is implemented, the tag information of the first NFC accessory includes a plurality of tag information suitable for different configuration information, the terminal device can inform the first NFC accessory of the configuration information of the device, and the first NFC accessory selects the tag information suitable for the terminal device. In this way, the first NFC accessory can be suitable for terminal devices with different configuration information.
[0024] In an implementation, the method further includes: when it is detected that the location of the terminal device is out of the preset location range configured by the first NFC accessory, displaying second prompt information, the second prompt information is used to prompt the user that the current location is out of the preset location range configured by the first NFC accessory.
[0025] The embodiment of the application is implemented, when the location of the terminal device is out of the preset location range, the user can be reminded, so as to avoid the terminal device from being unable to execute the first service due to the user continuing to stay outside the preset location range by accident.
[0026] In an implementation, the preset location range configured by the first NFC accessory includes at least one of a plurality of preset areas, the preset location range does not include a second area in the plurality of preset areas, and the method further includes: when it is detected that the location of the terminal device is out of the preset location range configured by the first NFC accessory, displaying third prompt information and a first confirmation control; the third prompt information is used to prompt the user that the current location is out of the preset location range configured by the first NFC accessory, and prompt the user whether to apply for the service permission of the first NFC accessory in the second area, and the first confirmation control is used to receive a first confirmation operation of the user, and the first confirmation operation is used to confirm to add the second area to the preset location range.
[0027] The embodiment of the present application is implemented, when the position of the terminal device exceeds the preset position range, the user can be reminded to apply for the service permission of the first NFC accessory in the second region, so that the user who wants to obtain the service permission of the first NFC accessory in the second region can enjoy the first service in the second region in time.
[0028] In an implementation manner, the method further includes: when the use duration of the first NFC accessory exceeds the use deadline configured by the first NFC accessory, displaying fourth prompt information, the fourth prompt information being used for prompting that the use deadline of the first NFC accessory has expired; or when the use duration of the first NFC accessory exceeds the use deadline configured by the first NFC accessory, displaying the fourth prompt information and a second confirmation control; the fourth prompt information is used for prompting whether to apply for prolonging the use deadline of the first NFC accessory, and the second confirmation control is used for receiving a second confirmation operation of the user, and the second confirmation operation is used for confirming to prolong the use deadline of the first NFC accessory.
[0029] The embodiment of the present application is implemented, when the use deadline of the first NFC accessory expires, the user can be reminded to apply for prolonging the use deadline, so that the user who wants to continue to obtain the service permission of the first NFC accessory can obtain the first service in time.
[0030] In an implementation manner, the operating system of the terminal device is built-in a sandbox, the sandbox is used for running the first service and storing data of the first service; and the process of terminating the first service and the data of the first service includes: the terminal device terminates the process of the first service in the sandbox and clears the data of the first service in the sandbox.
[0031] The embodiment of the present application is implemented, the first service and the data of the first service can be run in the sandbox. In this way, the independence of the first service and other task processes of the terminal device can be ensured, and the life cycle and related data of the first service can be conveniently managed (for example, cleaned up).
[0032] In an implementation manner, when it is detected that the terminal device does not meet the first preset condition, the process of terminating the first service and the data of the first service includes: when it is detected that the terminal device does not meet the first preset condition, the terminal device displays fifth prompt information, the fifth prompt information being used for prompting that the terminal device does not meet the first preset condition and the terminal device will stop the first service after a preset duration; at a time point that is separated from a display time point of the fifth prompt information by the preset duration, it is detected whether the terminal device meets the first preset condition; when it is detected that the terminal device still does not meet the first preset condition, the terminal device terminates the process of the first service and clears the data of the first service.
[0033] Implementing the embodiments of the application, the first service can be reserved for a certain time before the first service is terminated, so as to avoid the related processes and data of the first service being immediately cleared in case that the user accidentally disconnects the NFC communication connection, exceeds the preset position range, and the like.
[0034] In an implementation manner, the preset position range of the first NFC accessory configuration includes at least one of a plurality of preset areas, the preset position range includes a first area in the plurality of preset areas, and the preset position range does not include a second area in the plurality of preset areas; the method further includes: when the terminal device executes the first service, displaying a first interface, the first interface including a first control of a first function of the first area and a second control of the first function of the second area; in response to an input operation on the first control, the terminal device executes the first function; and in response to an input operation on the second control, the terminal device displays sixth prompt information, the sixth prompt information being used to prompt the user that the first NFC accessory does not have a service right of the second area and whether to apply for obtaining the service right of the second area.
[0035] Implementing the embodiments of the application, the terminal device can provide the first service of an area (for example, the first area) within the preset position range for the user; the terminal device cannot provide the first service of an area (for example, the second area) outside the preset position range for the user, even if the position of the terminal device is within the preset position range. In this way, the position range of the first service can be effectively controlled.
[0036] In an implementation manner, the physical form of the first NFC accessory is a sticker, a card sleeve, a card, a protective shell, or a pendant.
[0037] In an implementation manner, when the terminal device reads the ciphertext of the first tag information of the first NFC accessory, before the terminal device executes the first service based on the first tag information, the terminal device further includes: the terminal device parses the ciphertext of the first tag information to obtain the first tag information.
[0038] In a second aspect, the application provides a terminal device, which can include a plurality of functional modules or units for corresponding execution of the display method provided in the first aspect. For example, a reading unit, an execution unit, a detection unit, and a processing unit.
[0039] The reading unit is configured to read first tag information of a first NFC accessory;
[0040] The execution unit is configured to execute a first service based on the first tag information;
[0041] The detection unit is configured to detect whether the terminal device meets a first preset condition associated with the first NFC accessory, the first preset condition comprising at least one of the following: the terminal device and the first NFC accessory maintaining an NFC communication connection, the terminal device being within a preset position range configured by the first NFC accessory, and a use-by date configured by the first NFC accessory not being overdue.
[0042] The processing unit is configured to terminate a process of the first service, and clear data of the first service when it is detected that the terminal device does not meet the first preset condition, the data of the first service comprising the first label information.
[0043] In an implementation manner, the first label information comprises at least one of the following: a first website link, a second website link of a download webpage of an installation package of a first application program (APP), an identifier of the first APP, the installation package of the first APP, an identifier of a first applet, a multimedia data package, a third website link of a download webpage of the multimedia data package, wireless connection information, parameter configuration, a fourth website link of a download webpage of a data package of a first theme, and an identifier of the first theme; the parameter configuration is used to indicate a system parameter to be modified and a value of the system parameter after modification.
[0044] When the first label information comprises the first website link, the first service comprises running the first website and providing a service of the first website; when the first label information comprises the second website link, the installation package of the first APP, or the identifier of the first APP, the first service comprises running the first APP and providing a service of the first APP; when the first label information comprises the identifier of the first applet, the first service comprises running the first applet in a preset APP; when the first label information comprises the multimedia data package or the third website link, the first service comprises multimedia playing based on the multimedia data package; when the first label information comprises the wireless connection information, the first service comprises accessing a preset local area network based on the wireless connection information; when the first label information comprises the parameter configuration, the first service comprises modifying a system parameter based on the parameter configuration; and when the first label information comprises the fourth website link or the identifier of the first theme, the first service comprises setting a theme to the first theme.
[0045] In an implementation manner, the reading unit reads first label information of a first near field communication (NFC) accessory, comprising: the reading unit establishing an NFC communication connection with the first NFC accessory, and receiving the first label information sent by the first NFC accessory.
[0046] In an implementation manner, the execution unit is specifically configured to: determine whether the terminal device has the capability to execute the first service based on the first label information; and execute the first service based on the first label information when it is determined that the terminal device has the capability to execute the first service.
[0047] In an implementation manner, the first service can only be executed on the terminal device with the first configuration information, the first configuration information indicates at least one of an operating system, a device model, a software configuration and a hardware configuration, and the execution unit is specifically configured to: determine the first configuration information based on the first label information, and determine whether the configuration information of the terminal device is same as the first configuration information; if the configuration information of the terminal device is same as the first configuration information, it is determined that the terminal device has the capability to execute the first service; and if the configuration information of the terminal device is not same as the preset configuration information, it is determined that the terminal device does not have the capability to execute the first service.
[0048] In an implementation manner, the terminal device further comprises a display unit. The reading unit is further configured to read second label information of the second NFC accessory, the second label information being used to indicate a second service; the execution unit is further configured to determine whether the terminal device has the capability to execute the second service based on the second label information; and the display unit is configured to display first prompt information when it is determined that the terminal device does not have the capability to execute the second service, the first prompt information being used to prompt the user that the terminal device does not have the capability to execute the second service.
[0049] In an implementation manner, the terminal device further comprises a sending unit, and the second NFC accessory is configured with a prompt device. The reading unit is further configured to read second label information of the second NFC accessory, the second label information being used to indicate a second service; the execution unit is further configured to determine whether the terminal device has the capability to execute the second service based on the second label information; and the sending unit is configured to send a first prompt message to the second NFC accessory when it is determined that the terminal device does not have the capability to execute the second service, the first prompt message being used to trigger the prompt device of the second NFC accessory to send a first prompt signal, the first prompt signal being used to prompt the user that the terminal device does not have the capability to execute the second service.
[0050] In an implementation manner, the terminal device further comprises a sending unit, and the third NFC accessory is configured with a prompt device. The reading unit is further configured to read third label information of the third NFC accessory, the third label information being used to indicate a third service; the execution unit is further configured to fail to execute the third service based on the third label information; and the sending unit is configured to send a second prompt message to the third NFC accessory, the second prompt message being used to trigger the prompt device of the third NFC accessory to send a second prompt signal, the second prompt signal being used to prompt the user that the terminal device fails to execute the third service.
[0051] In an implementation manner, the tag information of the first NFC accessory comprises a plurality of tag information, configuration information corresponding to any two of the plurality of tag information is different, the configuration information can indicate at least one of an operating system, a device model, a software configuration and a hardware configuration, the plurality of tag information comprises first tag information, the first tag information corresponds to first configuration information; before the execution unit executes the first service based on the first tag information, the reading unit reads all tag information of the first NFC accessory; the execution unit is specifically configured to: determine the first configuration information which is same as the configuration information of the terminal device in the configuration information corresponding to the plurality of tag information; and execute the first service based on the first tag information corresponding to the first configuration information.
[0052] In an implementation manner, the tag information of the first NFC accessory comprises a plurality of tag information, configuration information corresponding to any two of the plurality of tag information is different, the configuration information can indicate at least one of an operating system, a device model, a software configuration and a hardware configuration, the plurality of tag information comprises first tag information, the first tag information corresponds to first configuration information; the reading unit is specifically configured to: send the configuration information of the terminal device to the first NFC accessory; and receive the first tag information sent by the first NFC accessory, the first tag information is determined by the first NFC accessory from the plurality of tag information based on the configuration information of the terminal device, the configuration information of the terminal device and the first configuration information corresponding to the first tag information are same.
[0053] In an implementation manner, the terminal device further comprises a display unit. The display unit is configured to display second prompt information when it is detected that the position of the terminal device is out of the preset position range configured by the first NFC accessory, the second prompt information is used to prompt the user that the current position is out of the preset position range configured by the first NFC accessory.
[0054] In an implementation manner, the terminal device comprises a display unit, the preset position range configured by the first NFC accessory comprises at least one of a plurality of preset areas, and the preset position range does not comprise a second area in the plurality of preset areas. The display unit is configured to display third prompt information and a first confirmation control when it is detected that the position of the terminal device is out of the preset position range configured by the first NFC accessory, the third prompt information is used to prompt the user that the current position is out of the preset position range configured by the first NFC accessory, and prompt the user whether to apply for the service permission of the first NFC accessory in the second area, and the first confirmation control is used to receive a first confirmation operation of the user, the first confirmation operation is used to confirm to add the second area to the preset position range.
[0055] In an implementation, the terminal device comprises a display unit. The display unit is configured to display fourth prompt information when it is detected that the use duration of the first NFC accessory exceeds the use deadline configured by the first NFC accessory, the fourth prompt information prompting the user that the use deadline of the first NFC accessory has expired; or the display unit is configured to display the fourth prompt information and a second confirmation control when it is detected that the use duration of the first NFC accessory exceeds the use deadline configured by the first NFC accessory, the fourth prompt information prompting the user that the use deadline of the first NFC accessory has expired and whether to apply for extension of the use deadline of the first NFC accessory, and the second confirmation control being configured to receive a second confirmation operation of the user, the second confirmation operation being configured to confirm extension of the use deadline of the first NFC accessory.
[0056] In an implementation, the operating system of the terminal device is built-in with a sandbox, the sandbox being configured to run the first service and store data of the first service; and the processing unit is specifically configured to terminate the process of the first service in the sandbox and clear the data of the first service in the sandbox when the first preset condition is detected.
[0057] In an implementation, the processing unit is specifically configured to display fifth prompt information when it is detected that the terminal device does not meet the first preset condition, the fifth prompt information prompting that the terminal device does not meet the first preset condition and the first service will be stopped after a preset duration; detect whether the terminal device meets the first preset condition at a time point separated from a time point of displaying the fifth prompt information by the preset duration; and terminate the process of the first service and clear the data of the first service when it is detected that the terminal device still does not meet the first preset condition.
[0058] In an implementation, the preset location range configured by the first NFC accessory comprises at least one of a plurality of preset areas, the preset location range comprising a first area of the plurality of preset areas and not comprising a second area of the plurality of preset areas; the display unit is configured to display a first interface when the execution unit executes the first service, the first interface comprising a first control of a first function of the first area and a second control of the first function of the second area; and the execution unit is further configured to execute the first function in response to an input operation on the first control; and the display unit is further configured to display sixth prompt information in response to an input operation on the second control, the sixth prompt information prompting the user that the first NFC accessory does not have a service right of the second area and whether to apply for obtaining the service right of the second area.
[0059] In an implementation, the physical form of the first NFC accessory is a sticker, a card sleeve, a card, a protective shell or a pendant.
[0060] In a third aspect, the present application provides a terminal device, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are configured to store computer program codes, the computer program codes comprising computer instructions, which, when executed by the one or more processors, cause the terminal device to perform the service control method in any possible implementation manner of any of the aspects above.
[0061] In a fourth aspect, the embodiments of the present application provide a computer storage medium, comprising computer instructions, which, when executed on a terminal device, cause the terminal device to perform the service control method in any possible implementation manner of any of the aspects above.
[0062] In a fifth aspect, the embodiments of the present application provide a computer program product, which, when executed on a computer, causes the computer to perform the service control method in any possible implementation manner of any of the aspects above. BRIEF DESCRIPTION OF DRAWINGS
[0063] Figure 1 a system architecture diagram of a communication system provided by the embodiments of the present application;
[0064] Figure 2 a structural schematic diagram of a terminal device provided by the embodiments of the present application;
[0065] Figure 3 a service control method flowchart provided by the embodiments of the present application;
[0066] Figures 4A-4B a control center interface schematic diagram provided by the embodiments of the present application;
[0067] Figure 4C a sticker installation schematic diagram provided by the embodiments of the present application;
[0068] Figure 5 a password input interface schematic diagram provided by the embodiments of the present application;
[0069] Figure 6 a prompt information interface schematic diagram provided by the embodiments of the present application;
[0070] Figures 7A-7B a theme interface schematic diagram provided by the embodiments of the present application;
[0071] Figures 8A-8B a main interface schematic diagram provided by the embodiments of the present application;
[0072] Figures 9A-9E a museum application interface schematic diagram provided by the embodiments of the present application;
[0073] Figures 10A-10D An interface schematic diagram of a museum application provided by an embodiment of the present application;
[0074] Figures 11A-11C An interface schematic diagram of a museum application provided by an embodiment of the present application;
[0075] Figures 12A-12B An interface schematic diagram of a museum application provided by an embodiment of the present application;
[0076] Figures 13A-13B An interface schematic diagram of a museum application provided by an embodiment of the present application;
[0077] Figure 14 A structure schematic diagram of another terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0078] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings. In the description of the embodiments of the present application, unless otherwise specified, “ / ” represents the meaning of or, for example, A / B can represent A or B; the “and / or” in the text only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, “multiple” means two or more than two.
[0079] Hereinafter, the terms “first” and “second” are only used for description purposes, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, the meaning of “multiple” is two or more than two.
[0080] First, the related concepts of NFC technology involved in the embodiments of the present application are introduced.
[0081] NFC technology is a short-range high-frequency radio technology, allowing non-contact point-to-point data transmission between devices, and has become a relevant international standard and is widely used. The working mode of NFC technology includes passive working mode and active working mode. In the passive working mode, only NFC device 1 generates a radio frequency field among two devices (i.e., NFC device 1 and NFC device 2) based on NFC technology for communication; NFC device 1 transmits data through a modulated electromagnetic field carrier, and NFC device 2 detects the modulated electromagnetic wave signal transmitted by NFC device 1, and then transmits data (such as tag information of NFC device 2) to NFC device 1 through load modulation of field strength. In the active working mode, both NFC devices generate a radio frequency field, and after the two NFC devices establish an NFC communication connection (i.e., a radio frequency channel), data interaction is performed through the radio frequency channel; radio frequency transmission is half-duplex working, and to prevent conflicts, the two NFC devices comply with the "listen-before-talk" protocol, i.e., alternately performing "generating a radio frequency field and transmitting data" and "turning off the radio frequency field and receiving data". In the active working mode, data transmission is faster and the transmission distance is farther.
[0082] The communication mode of NFC technology includes three modes: reader communication mode, card simulation communication mode, and peer-to-peer (P2P) communication mode. Among them, the reader communication mode and the card simulation communication mode work in the passive working mode; the peer-to-peer communication mode works in the active working mode.
[0083] The communication system 10 provided by the embodiments of the present application is introduced below.
[0084] Figure 1 An exemplary system architecture diagram of the communication system 10 provided by the embodiments of the present application is shown. As shown in Figure 1 The communication system 10 includes a terminal device 100 and one or more NFC accessories, such as NFC accessory 200. Among them,
[0085] The terminal device 100 can include an NFC communication module for implementing NFC-based non-contact communication between the terminal device 100 and the NFC accessory 200. The terminal device 100 can have three communication modes: reader communication mode, peer-to-peer (P2P) communication mode, and card simulation communication mode. The embodiments of the present application do not make specific limitations on the communication distance between the NFC communication module and the NFC accessory 200, for example, the maximum effective communication distance is 4 cm; the embodiments of the present application also do not make specific limitations on the communication frequency between the NFC communication module and the NFC accessory 200, for example, the communication frequency is 13.56 MHz.
[0086] In the embodiments of the present application, each NFC accessory has tag information written in and has a unique NFC identifier. Within the effective communication distance of NFC, the terminal device 100 can read the tag information of the NFC accessory 200 through the NFC communication module. The embodiments of the present application do not make specific limitation on the physical form of the NFC accessory 200. For example, the NFC accessory 200 can be in the form of a card sleeve, a card, a card sticker, a protective shell, a pendant of the terminal device, etc. In addition, the embodiments of the present application do not make specific limitation on the type of the NFC accessory 200. For example, the NFC accessory 200 can be an NFC accessory developed for a specific place (e.g. a museum, a stadium, a library, a scenic spot), and the tag information of the NFC accessory 200 is used to provide the terminal device 100 with software services, wireless connection information and / or parameter configuration of the specific place; the NFC accessory 200 can also be an NFC accessory developed for a specific group of people (e.g. the elderly, the blind, children), and the tag information of the NFC accessory 200 is used to provide the terminal device 100 with software services, wireless connection information and / or parameter configuration of the specific group of people.
[0087] In some embodiments, the communication system 10 can further include one or more application servers, such as the server 300. The server 300 is configured to communicate with the terminal device 100 through one or more communication networks 400, so as to provide relevant service data for the software services based on the NFC tag information acquisition on the terminal device 100 and perform data management.
[0088] The communication network 400 can be a local area network (LAN) or a wide area network (WAN), such as the Internet. The communication network 400 can be implemented using any known network communication protocol, which can be various wired or wireless communication protocols, such as Ethernet, universal serial bus (USB), FIREWIRE, global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), Bluetooth, wireless fidelity (Wi-Fi), NFC, voice over Internet protocol (VoIP), a communication protocol supporting a network slice architecture, or any other suitable communication protocol.
[0089] It can be understood that the structure shown in the embodiment does not constitute a specific limitation on the communication system 10. In other embodiments of the present application, the communication system 10 can include more or fewer devices than shown.
[0090] The terminal device 100 related to the embodiments of the present application is described in detail below.
[0091] The terminal device 100 can be equipped with iOS, Android, Microsoft or other operating systems. The terminal device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, a smart city device, or the like. The specific type of the terminal device is not specially limited in the embodiments of the present application.
[0092] Figure 2 An exemplary structural diagram of the terminal device 100 is shown. The terminal device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0093] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0094] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.
[0095] The controller can generate operation control signals according to the instruction operation code and the timing signal, complete the control of fetching and executing instructions.
[0096] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that have just been used or are used repeatedly by the processor 110. If the processor 110 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the system.
[0097] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0098] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments with wired charging, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some embodiments with wireless charging, the charging management module 140 can receive wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 140 can charge the battery 142 and power the terminal device at the same time.
[0099] The power management module 141 is configured to connect the battery 142 and the charging management module 140 to the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160, etc. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.
[0100] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc.
[0101] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 100 can be configured to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.
[0102] The mobile communication module 150 can provide a solution including 2G / 3G / 4G / 5G wireless communication applied to the terminal device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and radiate the amplified signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the same device as at least part of the modules of the processor 110.
[0103] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display screen 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and disposed in the same device as the mobile communication module 150 or other functional modules.
[0104] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the terminal device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 can also receive signals to be transmitted from the processor 110, frequency-modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.
[0105] In some embodiments, the antenna 1 and the mobile communication module 150 of the terminal device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the terminal device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).
[0106] The terminal device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.
[0107] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the terminal device 100 can include one or N display screens 194, where N is a positive integer greater than 1.
[0108] The terminal device 100 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor.
[0109] The ISP is configured to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be arranged in the camera 193.
[0110] The camera 193 is configured to capture still images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the terminal device 100 can include one or N cameras 193, where N is a positive integer greater than 1.
[0111] The digital signal processor is used to process digital signals, which can process not only digital image signals but also other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0112] The video codec is used to compress or decompress digital video. The terminal device 100 can support one or more video codecs. In this way, the terminal device 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.
[0113] The NPU is a neural-network (NN) computing processor, which can quickly process input information by drawing on the structure of a biological neural network, such as the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, intelligent cognitive applications of the terminal device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0114] The internal memory 121 can include one or more random access memories (RAMs) and one or more non-volatile memories (NVMs). The processor 110 can cause the terminal device 100 to perform the method for transmitting data based on NFC provided in some embodiments of the present application, various applications, and data processing, etc., by running the above instructions stored in the internal memory 121.
[0115] The random access memory can include a static random-access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation of DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; and the non-volatile memory can include a magnetic disk storage device and a flash memory.
[0116] The flash memory can include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operation principle, can include single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential order, and can include universal flash storage (UFS), embedded multi media Card (eMMC), etc. according to the storage specification.
[0117] The random access memory can be directly read and written by the processor 110, can be used to store executable programs (such as machine instructions) of an operating system or other programs running, and can also be used to store data of users and application programs, etc.
[0118] The non-volatile memory can also store executable programs and store data of users and application programs, etc., which can be loaded in advance into the random access memory for direct reading and writing by the processor 110.
[0119] The external memory interface 120 can be used to connect an external non-volatile memory, to realize the expansion of the storage capacity of the terminal device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, files such as music and video are saved in the external non-volatile memory.
[0120] The terminal device 100 can realize the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.
[0121] The audio module 170 is used to convert digital audio information into analog audio signals, and is also used to convert analog audio input into digital audio signals.
[0122] The speaker 170A, also known as a "loudspeaker", is used to convert audio electrical signals into sound signals.
[0123] The receiver 170B, also known as a "earpiece", is used to convert audio electrical signals into sound signals.
[0124] The microphone 170C, also known as a "microphone", "sound transducer", is used to convert sound signals into electrical signals.
[0125] The earphone interface 170D is configured to connect a wired earphone.
[0126] The pressure sensor 180A is configured to sense a pressure signal and convert the pressure signal into an electrical signal.
[0127] The gyroscope sensor 180B can be configured to determine a motion posture of the terminal device 100.
[0128] The air pressure sensor 180C is configured to measure air pressure. The magnetic sensor 180D includes a Hall sensor.
[0129] The acceleration sensor 180E can detect the magnitude of acceleration of the terminal device 100 in each direction (typically three axes).
[0130] The distance sensor 180F is configured to measure a distance.
[0131] The proximity light sensor 180G can include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
[0132] The ambient light sensor 180L is configured to sense ambient light brightness.
[0133] The fingerprint sensor 180H is configured to acquire a fingerprint.
[0134] The temperature sensor 180J is configured to detect a temperature.
[0135] The touch sensor 180K, also referred to as a “touch device.” The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 together form a touch screen, also referred to as a “touch panel.” The touch sensor 180K is configured to detect a touch operation applied to or near the touch sensor 180K. The touch sensor 180K can transmit a detected touch operation to the application processor to determine a touch event type. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on a surface of the terminal device 100, which is different from the location of the display screen 194.
[0136] Embodiments of the present application do not specifically limit the structure of the NFC communication module of the terminal device 100. In some embodiments, the NFC communication module can include an NFC controller and an NFC radio frequency circuit. The NFC controller is connected to the NFC radio frequency circuit and is mainly used for the modulation and demodulation of non-contact communication signals, controls the input and output of data in the NFC communication module, and interacts with the processor 110; the NFC radio frequency circuit is connected to the NFC controller and can realize the transmission and reception of NFC radio frequency signals. The NFC radio frequency circuit can be composed of an EMC filter circuit, a matching circuit, a receiving circuit, and an NFC antenna. The NFC controller can be implemented as an NFC chip.
[0137] In the embodiment, after the user brings the NFC accessory 200 close to the terminal device 100, the terminal device 100 can read the tag information of the NFC accessory 200, and execute the first service based on the tag information. When it is detected that the terminal device 100 meets at least one of the following conditions: the NFC communication connection between the terminal device 100 and the NFC accessory 200 is disconnected, the terminal device 100 is out of the preset location range configured by the NFC accessory 200, the use period configured by the NFC accessory 200 is expired, the terminal device 100 terminates all processes of the first service, and clears the related data of the first service. In this way, the user can obtain the first service on the terminal device 100 through the NFC accessory 200, and can effectively control the life cycle of the first service in the terminal device 100 and the location range of the first service. When the terminal device 100 does not meet the preset condition associated with the NFC accessory 200, the service provider can conveniently recover the service permission of the first service in time.
[0138] In the embodiment, the tag information of the NFC accessory 200 can be used to provide the user with software services, wireless connection information, parameter configuration, etc. related to a specific place, and / or software services, wireless connection information, parameter configuration, etc. related to a specific group of people. The following takes a museum as an example to introduce the service control method provided by the embodiment.
[0139] Figure 3 An exemplary flowchart of the service control method is shown, which includes but is not limited to steps S101-S105. The implementation of the service control method is described in detail below.
[0140] First, after the user arrives at the museum, the user obtains the NFC accessory 200 for the terminal device 100.
[0141] In some embodiments, the user obtains the NFC accessory 200 from an NFC accessory distribution device (such as a vending machine of the NFC accessory) through the terminal device 100. The NFC accessory distribution device currently establishes a communication connection with the server 300 through wired connection or wireless connection. After detecting that the NFC accessory 200 is obtained by the terminal device 100, the NFC accessory distribution device sends a prompt message 1 to the server 300, the prompt message 1 carrying the identifier of the NFC accessory 200 and the identifier of the terminal device 100, the prompt message 1 being used to prompt the server 300 that the NFC accessory 200 has been obtained by the terminal device 100, and the server 300 can provide the terminal device 100 with the related services of the museum.
[0142] S101, the terminal device 100 reads the tag information of the NFC accessory 200, and the tag information of the NFC accessory 200 is used to indicate that the first service associated with the museum is obtained.
[0143] The tag information and the first service involved in the embodiments of the present application are introduced as follows.
[0144] In the embodiments of the present application, the first service indicated by the tag information of the NFC accessory 200 can be the specific content of the tag information itself, or a service indirectly obtained through the specific content of the tag information. For example, the specific content of the tag information is a website link, and the first service can be a service indirectly obtained through the website link.
[0145] In some embodiments, the tag information of the NFC accessory 200 includes a website link 1 (for example, a uniform resource locator (URL) link) of a museum website (or a museum webpage), and the first service includes running the museum website based on the website link 1 and providing related services of the museum website. For example, the museum website can provide voice guide, tour route, ticket reservation and other services for the user.
[0146] In some embodiments, the tag information of the NFC accessory 200 includes a website link 2 (for example, a URL link) of a download webpage of a museum APP, and the first service includes running the museum APP and providing related services of the museum APP. For example, the museum APP can provide voice guide, tour route, ticket reservation and other services for the user. The terminal device 100 can access the download webpage linked by the website link 2, download an installation package of the museum APP, and install and run the museum APP based on the installation package.
[0147] In some embodiments, the tag information of the NFC accessory 200 includes an identification 1 (for example, an APP name) of a museum APP, and the first service includes running the museum APP. The terminal device 100 can download an installation package of the museum APP indicated by the identification 1 through an application market APP, and install and run the museum APP based on the installation package.
[0148] In some embodiments, the tag information of the NFC accessory 200 includes an installation package of a museum APP, and the first service includes running the museum APP and providing related services of the museum APP. The terminal device 100 can install and run the museum APP based on the installation package.
[0149] In some embodiments, the tag information of the NFC accessory 200 includes an identification of a museum mini-program (or a public account) in a preset APP 1, and the first service includes running the museum mini-program in the preset APP 1 and providing related services of the museum mini-program. For example, the museum mini-program can provide voice guide, tour route, ticket reservation and other services for the user.
[0150] In some embodiments, the tag information of the NFC accessory 200 includes multimedia data packets (e.g., voice data packets, image data packets, and / or video data), and the first service includes multimedia playback based on the multimedia data packets. The terminal device 100 can introduce the museum to the user via voice, images, and / or video based on the aforementioned multimedia data packets.
[0151] In some embodiments, the tag information of the NFC accessory 200 includes a URL link 3 for a download webpage of a multimedia data package, and the first service includes multimedia playback based on the multimedia data package. The terminal device 100 can download the multimedia data package through the download webpage linked by URL link 3, and then perform multimedia playback based on the multimedia data package.
[0152] In some embodiments, the tag information may also include wireless connection information for wireless connection method 1, and the first service includes accessing the museum’s local area network based on the aforementioned wireless connection information.
[0153] In some embodiments, the tag information may also include parameter configuration, which may include system parameters to be modified, and may also include the modified values of the system parameters. The first service includes modifying the system parameters of the terminal device 100 based on the parameter configuration in the tag information.
[0154] In some embodiments, the tag information of the NFC accessory 200 includes a URL link 4 for downloading the theme 1 data package, and the first service includes using theme 1 for user experience (UX) style. The theme is used to indicate desktop layout style, wallpaper, icon display style, and / or interface colors, etc. Typically, each theme has a default wallpaper configuration, and users can also modify the wallpaper of the terminal device 100 under the current theme. The terminal device 100 can download the theme 1 data package from the download webpage linked by URL link 4, and then switch the theme to theme 1 based on the aforementioned theme data package.
[0155] In some embodiments, the parameter configuration in the tag information indicates the identifier of theme 1 corresponding to the NFC accessory 200, and the first service includes UX style using theme 1. The terminal device 100 can obtain the data packet of theme 1 from the theme database based on the identifier of theme 1, and then switch the theme to theme 1 based on the data packet.
[0156] In addition to the tag information and first service involved in the foregoing embodiments, the tag information and the corresponding first service may have other forms of presentation. This application embodiment does not specifically limit the specific content of the tag information and the first service of the NFC accessory 200.
[0157] After the user selects and uses the NFC accessory 200 for the terminal device 100, in order for the terminal device 100 to be able to read the tag information of the NFC accessory 200, the user places the NFC accessory 200 and the terminal device 100 together. Here, there is no specific limitation on the positional relationship between the NFC accessory 200 and the terminal device 100, as long as the distance between the NFC accessory 200 and the terminal device 100 is within the effective communication distance of NFC.
[0158] In this embodiment, after the NFC function of the terminal device 100 is enabled, if the distance between the NFC accessory 200 and the terminal device 100 is within the effective communication range of NFC, the terminal device 100 can establish an NFC communication connection with the NFC accessory 200 and read the tag information of the NFC accessory 200. It should be noted that only after the NFC function is enabled can the terminal device 100 receive NFC signals sent by other NFC devices (such as the NFC accessory 200) and send NFC signals to other NFC devices through the NFC communication module.
[0159] In one scenario, when the user places the NFC accessory 200 and the terminal device 100 together, the NFC function of the terminal device 100 is not yet enabled. In one implementation, the NFC accessory 200 is equipped with a Hall effect device (e.g., a magnet), and when the terminal device 100 detects the Hall effect device of the NFC accessory 200 via the magnetic sensor 180D, the terminal device 100 automatically enables the NFC function. In another implementation, the user can manually enable the NFC function of the terminal device 100. For example... Figure 4A A control center interface 11 of the terminal device 100 is shown in the figure. The control center interface 11 includes shortcut icons for several commonly used functions, such as the NFC icon 201. The NFC icon 201 has two states: selected and unselected. Figure 4A The NFC icon 201 shown is in an unselected state. At this time, the terminal device 100 has not enabled the NFC function. The NFC icon 201 can receive user input (such as touch operation). In response to this input operation, the terminal device 100 switches the NFC icon 201 to... Figure 4B The selected state is shown, and the NFC function is enabled.
[0160] In some embodiments, after the terminal device 100 enables the NFC function, it reads the tag information of the NFC accessory 200 based on the card reader communication mode. Specifically, the terminal device 100 sends a modulated electromagnetic wave signal through the NFC communication module; the NFC accessory 200 sends its tag information based on the received electromagnetic wave signal; and the terminal device 100 receives the tag information sent by the NFC accessory 200 through the NFC communication module. In one implementation, the NFC accessory 200 takes the form of a small, easy-to-install physical form such as a card or card sticker. The NFC accessory 200 has no internal power supply; its internal integrated circuit (IC) is driven by the received electromagnetic wave signal. When the NFC accessory 200 receives an electromagnetic wave signal of sufficient strength, it can send its tag information to the terminal device 100. In one implementation, terminal device 100 can establish an NFC communication connection with NFC accessory 200 based on a card reader communication mode. Specifically, terminal device 100 periodically sends electromagnetic wave signals to NFC accessory 200; NFC accessory 200 sends NFC signals back to terminal device 100 based on the received electromagnetic wave signals. When terminal device 100 cannot detect the NFC signal from NFC accessory 200, terminal device 100 determines that the NFC communication connection is broken.
[0161] In some embodiments, after the terminal device 100 enables the NFC function, the terminal device 100 establishes an NFC communication connection with the NFC accessory 200 through the NFC communication module in a point-to-point communication mode; after the NFC communication connection is established, the terminal device 100 sends a tag information acquisition request to the NFC accessory 200, and the NFC accessory 200 receives the acquisition request sent by the terminal device 100; in response to the acquisition request, the NFC accessory 200 sends the tag information to the terminal device 100.
[0162] It should be noted that this application does not specifically limit the physical form of the NFC accessory 200 or the positional relationship between the NFC accessory 200 and the terminal device. The positional relationship between NFC accessories with different physical forms and the terminal device 100 may differ. In one implementation, the NFC accessory is physically a card sticker, which the user attaches to a specific location on the back cover of the terminal device 100. For example, see [link to example]. Figure 4CThe specific location mentioned above refers to the position on the back cover near the NFC communication module of the terminal device 100. It should be noted that the position of the NFC communication module may vary between different terminal devices 100; users need to determine the correct position based on their own device model. The terminal device 100 may also indicate the position near the NFC communication module on the back cover. In one implementation, the NFC accessory is physically represented as a protective case. After the terminal device 100 is fitted with this protective case, the IC of the NFC accessory is positioned close to the NFC communication module of the terminal device 100 within the protective case.
[0163] Optional step S102: When the encrypted information of the NFC accessory 200 is read, the terminal device 100 parses the encrypted information of the NFC accessory 200 to obtain the NFC accessory 200's tag information.
[0164] In some embodiments, the terminal device 100 reads the tag information from the NFC accessory 200, and the NFC accessory 200 feeds back the encrypted tag information to the terminal device 100 to improve information security. This application embodiment does not specifically limit the encryption and decryption methods for the encrypted tag information.
[0165] In some embodiments, the encrypted tag information of the NFC accessory 200 is encrypted with private key 1. The terminal device 100 can use the public key 1 of the NFC accessory 200 to parse the encrypted tag information and obtain the parsed tag information. This application embodiment does not specifically limit the method of obtaining public key 1. In implementation method one, the terminal device 100 sends a query request to the server 300, the query request carrying the identifier of the NFC accessory 200; the server 300 responds to the received query request and sends public key 1 to the terminal device 100. In implementation method two, the terminal device 100 sends a query request to the server 300, the query request carrying the identifier of the NFC accessory 200 and the user-inputted usage password 1 of the NFC accessory 200; the server 300 responds to the received query request and verifies whether the user-inputted usage password 1 of the NFC accessory 200 is correct; if correct, it sends public key 1 to the terminal device 100.
[0166] It should be noted that, regarding the second implementation method described above, when a user obtains the NFC accessory 200, they also obtain the NFC accessory 200's usage password 1. When the user intends to read the tag information of the NFC accessory 200 through the terminal device 100, they need to first enter the correct usage password. This improves information security, for example, preventing the NFC accessory 200 from being used by others if it is lost.
[0167] Regarding the second implementation method described above, in some embodiments, after the terminal device 100 detects the signal from the NFC accessory 200, it displays the password input interface of the NFC accessory 200. After receiving the user-inputted usage password 1 through the password input interface, the terminal device 100 sends the usage password 1 and the identifier of the NFC accessory 200 to the server 300. The server 300 stores the identifier of at least one NFC accessory and the usage password of that NFC accessory, where the at least one NFC accessory includes the NFC accessory 200. When the server 300 determines that the user-inputted usage password is correct, it sends public key 1 to the terminal device 100. For example, Figure 5 A password input interface 12 for an NFC accessory 200 is shown. The password input interface 12 includes a prompt message 301, a password input box 302, and a numeric keypad 303. The prompt message 301 is used to remind the user to enter the usage password for the NFC accessory 200.
[0168] This application does not specifically limit how the user obtains the usage password 1. In one implementation, after the user obtains the NFC accessory 200 through the terminal device 100, the NFC accessory 200 distribution device sends the identifier of the NFC accessory 200 and the identifier of the terminal device 100 to the server 300; the server 300 can issue the usage password of the NFC accessory 200 to the terminal device 100 based on the identifier of the terminal device 100. In another implementation, the usage password of the NFC accessory 200 is set by the user. When the user obtains the NFC accessory 200 from the NFC accessory distribution device through the terminal device 100, the NFC accessory distribution device receives the usage password of the NFC accessory 200 input by the user; the NFC accessory distribution device sends the identifier of the NFC accessory 200, the identifier of the terminal device 100, and the usage password of the NFC accessory 200 to the server 300; the server 300 stores the correspondence between the identifier of the NFC accessory 200, the identifier of the terminal device 100, and the usage password of the NFC accessory 200.
[0169] It should be noted that step S102 is optional. It can be understood that if the tag information of the NFC accessories is not encrypted, the terminal device 100 can directly obtain the tag information in step 101. After step 101, the terminal device 100 executes step S103.
[0170] Optional step S103: The terminal device 100 determines whether it has the ability to perform the first service based on the tag information of the NFC accessory 200. When it is determined that the terminal device 100 has the ability to perform the first service, step S104 is executed.
[0171] S104. Terminal device 100 performs the first service based on the aforementioned tag information.
[0172] In some embodiments, the terminal device 100 executes S104 directly after S102. When the terminal device 100 executes the first service based on the aforementioned tag information, if the terminal device 100 has the capability to execute the first service, it can successfully execute the first service; if the terminal device 100 does not have the capability to execute the first service, the execution of the first service will fail.
[0173] In some embodiments, the NFC accessory 200 is equipped with a prompting device, which may be a light (e.g., an LED), a speaker, a motor, or other similar device. When the terminal device 100 fails to perform the first service, the terminal device 100 sends a second prompting message to the NFC accessory 200, indicating the failure to perform the first service. Based on the second prompting message, the NFC accessory 200 issues a prompting signal through the prompting device to notify the user terminal device 100 of the failure to perform the first service. For example, the prompting device may be a light, and the prompting signal may be the light emitted by the light. For example, the prompting device may be a speaker, and the prompting signal may be the sound emitted by the speaker. For example, the prompting device may be a motor, and the prompting signal may be the vibration of the motor.
[0174] In some embodiments, see Figure 6 When it is determined that the terminal device 100 does not have the ability to perform the first service, the terminal device 100 displays a prompt message 401 on the current display interface (e.g., the main interface 13). The prompt message 401 is used to prompt the user that the terminal device 100 does not have the ability to perform the first service indicated by the NFC accessory 200.
[0175] In some embodiments, the NFC accessory 200 is equipped with the aforementioned prompting device. When it is determined that the terminal device 100 does not have the ability to perform the first service, the terminal device 100 sends a first prompting message to the NFC accessory. The first prompting message is used to prompt the terminal device 100 that it does not have the ability to perform the first service. Based on the first prompting message, the NFC accessory 200 issues a first prompting signal through the aforementioned prompting device to prompt the user terminal device 100 that it does not have the ability to perform the first service.
[0176] The following describes how to determine whether terminal device 100 has the ability to perform the first service based on tag information.
[0177] In some embodiments, the first service can only be executed on a terminal device that has first configuration information, which indicates at least one of a specific operating system, a specific device model, a specific software configuration, and / or a specific hardware configuration. After determining the first service indicated by the tag information, the terminal device 100 determines whether it has the ability to execute the first service based on at least one of the configuration information such as the system version, device model, software configuration, and / or hardware configuration of the terminal device 100.
[0178] In some embodiments, when it is determined that the terminal device 100 does not have the ability to perform the first service, a first prompt message is displayed. The first prompt message is used to prompt the user that the terminal device 100 does not have the ability to perform the first service.
[0179] This application does not specifically limit the specific content of the tag information or the first service indicated by the tag information. In one case, based on the specific content of the tag information, the terminal device 100 can determine whether it has the ability to perform the first service; in another case, based on the specific content of the tag information, the terminal device 100 obtains relevant information about the first service indicated by the tag information from the server 300, and then, based on the obtained relevant information about the first service, it can determine whether the terminal device 100 has the ability to perform the first service. Furthermore, this application does not specifically limit the data capacity of the tag information that NFC accessories can carry.
[0180] In some embodiments, the tag information of the NFC accessory 200 includes a URL link 1 (e.g., a link to a museum website or museum webpage), and the first service includes running the museum website. When the terminal device 100 has the capability to perform the first service, the terminal device 100 can access the museum website linked by URL link 1 through a specified APP (e.g., a browser). In this embodiment, when the terminal device 100 meets preset condition 1, the terminal device 100 does not have the capability to perform the first service. Preset condition 1 includes at least one of the following: the terminal device 100 does not have the hardware and / or software configuration to run and display the webpage; the access rights of the museum website stipulate that it can only be accessed through a specific version of a browser, and the browser of the terminal device 100 does not include the aforementioned specific version of a browser. Situations 1 and 2 that may be involved in this embodiment are described below.
[0181] In scenario 1, terminal device 100 lacks the hardware and software configuration to run and display web pages; therefore, terminal device 100 cannot perform the first service. For example, terminal device 100 is a 2G mobile phone and cannot browse web pages. In scenario 1, after reading URL link 1 from the tag information, terminal device 100 can determine that it cannot perform the first service based on URL link 1.
[0182] In scenario 2, terminal device 100 has the hardware and software configuration to run and display web pages. However, the museum website's access permissions stipulate that it can only be accessed through a specific version of a browser, and terminal device 100's browser does not include the aforementioned specific version. Therefore, terminal device 100 cannot perform the first service. In one implementation, in scenario 2, the tag information also includes the browser version specified in the access permissions. Terminal device 100 can determine whether it has the ability to perform the first service based on the browser version in the tag information. In one implementation, under scenario 2, if the tag information does not include the browser version specified in the usage permissions, terminal device 100 requests webpage data from the museum website from server 300 via a specified APP (e.g., Internet Explorer) based on URL link 1. Server 300 determines whether the specified APP is the browser version specified in the usage permissions for the museum website. If not, server 300 sends prompt message 1 to terminal device 100 to indicate that the specified APP cannot access the museum website, and may also indicate which browser versions are specified in the usage permissions. If yes, server 300 sends the webpage data of the museum website to terminal device 100, and the terminal can run and display the webpage of the museum website based on the webpage data.
[0183] In some embodiments, the tag information of the NFC accessory 200 includes a URL link 1, and the first service includes running a museum website. After determining that the terminal device 100 has the capability to perform the first service, the terminal device 100 performs the first service, including: the terminal device 100 sending an access request to the server 300 based on the aforementioned URL link 1, the access request carrying the identifier of the terminal device 100 and the identifier of the NFC accessory 200; after determining that the access request carries the identifier of the NFC accessory and that the NFC accessory corresponding to the identifier is valid, the server 300 responds to the aforementioned access request by sending the business data of the museum website to the terminal device 100; and the terminal device 100 receiving the business data of the museum website sent by the server 300. It can be understood that only after the terminal device 100 is equipped with a valid NFC accessory can the server 300 provide business data interaction for the first service, and only then can the terminal device 100 perform the first service.
[0184] The following describes possible implementations for determining the legitimacy of NFC accessories. In some embodiments, server 300 stores the identifiers of all NFC accessories belonging to the museum. When server 300 determines that NFC accessory 200 belongs to a museum based on its identifier, server 300 determines that NFC accessory 200 is legitimate. In some embodiments, after terminal device 100 acquires NFC accessory 200, server 300 records the correspondence between the identifier of terminal device 100 and the identifier of NFC accessory 200. When server 300 determines that NFC accessory 200 belongs to the museum based on the identifier of NFC accessory 200 and the identifier of terminal device 100, and NFC accessory 200 has already been acquired by terminal device 100, server 300 determines that NFC accessory 200 is legitimate.
[0185] In some embodiments, the tag information of the NFC accessory 200 includes a URL link 2 (e.g., a URL link) for downloading a museum app, and the first service includes running the museum app. When the terminal device 100 has the capability to perform the first service, the terminal device 100 can access the download page linked by URL link 2 through a specified app (e.g., a browser), download the installation package of the museum app, and install and run the museum app based on the installation package. In this embodiment, when the terminal device 100 meets preset condition 2, the terminal device 100 does not have the capability to perform the first service. Preset condition 2 includes at least one of the following: the terminal device 100 does not have the hardware and / or software configuration to run and display the webpage; the usage rights of the download webpage stipulate that it can only be accessed through a specific version of a browser, and the browser of the terminal device 100 does not include the specific version of the browser; the museum app can only be installed on a specific operating system, and the operating system of the terminal device 100 is not the specific operating system; the terminal device 100 does not have the hardware and / or software configuration to run third-party application software. Similarly, this embodiment may involve situations 1 and 2 mentioned above, namely, whether the terminal device 100 has the ability to run the download webpage linked by URL link 2, the specifics of which will not be elaborated here. In addition, situation 3 may also be involved.
[0186] In scenario 3, the museum app can only be installed on a specific operating system, and the terminal device 100's operating system is not one of those specific operating systems. For example, the museum app can only be installed on iOS, while the terminal device 100's operating system is Android. In one implementation, in scenario 3, if the tag information also includes the operating system version applicable to the museum app, the terminal device 100 can determine whether it has the capability to perform the first service based on the operating system version in the tag information. In another implementation, in scenario 3, if the tag information does not include the operating system version applicable to the museum app, the terminal device 100 requests to download the museum app's installation package from the server 300 via URL link 2; after downloading the installation package, the terminal device 100 can determine the operating system applicable to the museum app by parsing the installation package, and thus determine whether the terminal device 100 has the capability to perform the first service. It can be understood that if the terminal device 100 has the capability to perform the first service, the terminal device 100 can install and run the museum app based on the museum app's installation package.
[0187] In some embodiments, similar to a museum website, when exchanging business data with server 300 for downloading a museum app, server 300 needs to verify the legitimacy of the NFC accessory. Specific details are omitted here. It can be understood that only after terminal device 100 is equipped with a legitimate NFC accessory can server 300 provide the business data exchange for the first service, and only then can terminal device 100 execute the first service (i.e., run the museum website and provide related services).
[0188] In some embodiments, the tag information of the NFC accessory 200 includes an identifier 1 for the museum app (e.g., the app name), and the first service includes running the museum app. When the terminal device 100 has the capability to perform the first service, the terminal device 100 can download the installation package of the museum app indicated by identifier 1 through the app market, and install and run the museum app based on the installation package. In this embodiment, when the terminal device 100 meets preset condition 3, the terminal device 100 does not have the capability to perform the first service. Preset condition 3 includes at least one of the following: the museum app can only be installed on a specific operating system, and the operating system of the terminal device 100 is not the aforementioned specific operating system; the terminal device 100 does not have the hardware and / or software configuration to run third-party application software.
[0189] In some embodiments, the tag information of the NFC accessory 200 includes an installation package for a museum app, and the first service includes running the museum app. When the terminal device 100 has the capability to perform the first service, the terminal device 100 can install and run the museum app based on the installation package of the museum app in the tag information. In this embodiment, when the terminal device 100 meets preset condition 3, the terminal device 100 does not have the capability to perform the first service.
[0190] In some embodiments, the first service includes running a museum app. After determining that the terminal device 100 has the capability to perform the first service, the terminal device 100 performs the first service, including: after installing the museum app, the terminal device 100 sends a business data interaction request to the server 300, the interaction request carrying the identifier of the terminal device 100 and the identifier of the NFC accessory 200; after determining that the interaction request carries the identifier of the NFC accessory and that the NFC accessory corresponding to the identifier is valid, the server 300 responds to the above interaction request and sends the business data of the museum app to the terminal device 100; the terminal device 100 receives the business data of the museum app sent by the server. It can be understood that in this embodiment, when the NFC accessory 200 is invalid, although the terminal device 100 can install the museum app, it cannot perform business data interaction with the server 300, and therefore cannot provide users with the relevant services of the museum app.
[0191] In some embodiments, the tag information of the NFC accessory 200 includes the identifier of a museum mini-program (or official account) within a preset APP 1, and the first service includes running the museum mini-program in the preset APP 1. The museum mini-program can provide users with services such as audio guides, tour routes, and ticket booking. When the terminal device 100 has the capability to perform the first service, it can run the museum mini-program in the preset APP 1 based on the identifier of the museum mini-program in the tag information. In this embodiment, when the terminal device 100 does not have the preset APP 1 installed, it does not have the capability to perform the first service. For example, the preset APP 1 may be a social media application.
[0192] In some embodiments, similar to a museum website, when interacting with server 300 for business data of the museum mini-program, server 300 needs to verify the legitimacy of the NFC accessory. Specific details are not elaborated here. It can be understood that only after terminal device 100 is equipped with a legitimate NFC accessory can users use the museum mini-program on terminal device 100.
[0193] In some embodiments, the tag information of the NFC accessory 200 includes multimedia data packets (e.g., voice data packets, image data packets, and / or video data). Taking voice data packets as an example, the first service includes playing voice based on the voice data packets. The terminal device 100 can introduce the museum to the user through voice, images, and / or video based on the aforementioned multimedia data packets. In this embodiment, when the terminal device 100 lacks the hardware and / or software configuration for voice playback, the terminal device 100 does not have the ability to perform the first service.
[0194] In some embodiments, the tag information of the NFC accessory 200 includes a URL link 3 for a download webpage of a multimedia data packet. Taking a voice data packet as an example, the first service includes playing voice based on the voice data packet. When the terminal device 100 has the capability to perform the first service, the terminal device 100 can download the aforementioned voice data packet through the download webpage linked by URL link 3, and then play voice based on the aforementioned voice data packet. In this embodiment, when the terminal device 100 meets a preset condition 4, the terminal device 100 does not have the capability to perform the first service. The preset condition 4 includes at least one of the following: the terminal device 100 does not have the hardware and / or software configuration to run and display the webpage; the usage rights of the aforementioned download webpage stipulate that it can only be accessed through a specific version of a browser, and the browser of the terminal device 100 does not include the aforementioned specific version of a browser; the terminal device 100 does not have the hardware and / or software configuration for voice playback.
[0195] In some embodiments, similar to a museum website, when interacting with server 300 for business data exchange regarding the download of multimedia data packages, server 300 needs to verify the legitimacy of the NFC accessory. Specific details are omitted here. It is understood that only after terminal device 100 is equipped with a legitimate NFC accessory can the user obtain the aforementioned multimedia data package through terminal device 100.
[0196] In some embodiments, the tag information further includes wireless connection information for wireless connection method 1, and the first service includes accessing the museum's local area network based on the aforementioned wireless connection information. In one implementation, the aforementioned wireless connection method 1 is a Bluetooth connection, and the aforementioned wireless connection information includes the Media Access Control Address (MAC) address of the museum's Bluetooth access point. The terminal device 100 can establish a Bluetooth connection with the museum's Bluetooth access point based on the MAC address of the Bluetooth access point. In one implementation, the aforementioned wireless connection method 1 is a Wireless Fidelity (Wi-Fi) connection, and the aforementioned wireless connection information includes the MAC address and Wi-Fi password of the museum's Wi-Fi access point. Based on the MAC address and Wi-Fi password of the Wi-Fi access point, the terminal device can establish a Wi-Fi connection with the museum's Wi-Fi access point. In this embodiment, when the terminal device 100 does not have the hardware configuration and / or software configuration for wireless connection method 1, the terminal device 100 does not have the ability to perform the first service.
[0197] In some embodiments, taking Bluetooth connection as an example (wireless connection method 1), after determining that the terminal device 100 has the capability to perform the first service, the terminal device 100 performs the first service, including: the terminal device 100 sending a Bluetooth connection request to the Bluetooth access point, the Bluetooth connection request carrying the identifier of the terminal device 100 and the identifier of the NFC accessory 200; after determining that the connection request carries the identifier of the NFC accessory and that the NFC accessory corresponding to the identifier is legitimate, the Bluetooth access point responds to the connection request by sending a connection response to the terminal device 100 and establishing a Bluetooth connection with the terminal device 100. How the Bluetooth access point determines the legitimacy of the NFC accessory can be referred to the implementation method of the server 300 in the aforementioned embodiments; or, the Bluetooth access point requests the server 300 to determine the legitimacy of the NFC accessory. It can be understood that the terminal device 100 can only access the museum's local area network after being equipped with a legitimate NFC accessory.
[0198] In some embodiments, the tag information may further include parameter configuration, which may include system parameters to be modified and the modified values of these system parameters. The first service includes modifying the system parameters of the terminal device 100 based on the parameter configuration in the tag information. In this embodiment, when the terminal device 100 does not have the system parameters to be modified as indicated by the tag information, the terminal device 100 does not have the ability to perform the first service. In one implementation, the terminal device 100 has multiple operating modes, and the parameter configuration in the tag information is used to indicate the activation of at least one of the above-mentioned multiple operating modes of the terminal device 100. For example, the tag information includes parameter 1, which indicates an accessibility mode for the blind, and the terminal device 100 can activate the accessibility mode of the terminal device 100 based on parameter 1. For example, the tag information includes parameter 2, which indicates a child mode, and the terminal device 100 can activate the child mode of the terminal device 100 based on parameter 3. Not limited to the above-mentioned accessibility mode and child mode, the parameter configuration in the tag information can also be used to indicate at least one of the following operating modes: Do Not Disturb mode, Privacy mode, Eye Protection mode, Flight mode, Sleep mode, Night mode, etc. By implementing the embodiments of this application and configuring the terminal device 100 with the NFC accessory 200, a specific working mode, such as the accessibility mode, can be automatically and quickly activated. This avoids the cumbersome operation of activating specific working modes and effectively improves the user experience. For example, automatically and quickly activating the accessibility mode brings convenience to blind people using the terminal device.
[0199] It should be noted that if the aforementioned specific location is a conference room, the parameter configuration in the above label information can indicate Do Not Disturb mode and Privacy mode; if the aforementioned specific location is an airplane, the parameter configuration in the above label information can indicate Flight mode; if the aforementioned specific location is a cinema, the parameter configuration in the above label information can indicate Do Not Disturb mode and Night mode.
[0200] In some embodiments, the parameter configuration in the tag information indicates a specific location corresponding to the NFC accessory 200. The terminal device 100 stores the correspondence between multiple locations and multiple working modes. The terminal device 100 can modify its working mode based on the location indicated by the parameter configuration. In some embodiments, the parameter configuration in the tag information indicates a specific group of people corresponding to the NFC accessory 200. The terminal device 100 stores the correspondence between multiple groups of people and multiple working modes. The terminal device 100 can modify its working mode based on the group of people indicated by the parameter configuration.
[0201] In some embodiments, the tag information of the NFC accessory 200 includes a URL link 4 for a download webpage of Theme 1 data package, and the first service includes UX-style use of Theme 1. When the terminal device 100 has the capability to perform the first service, the terminal device 100 can download the Theme 1 data package through the download webpage linked by URL link 4, and then switch the theme to Theme 1 based on the aforementioned Theme data package. In this embodiment, when the terminal device 100 meets a preset condition 5, the terminal device 100 does not have the capability to perform the first service. The preset condition 5 includes at least one of the following: the terminal device 100 does not have the hardware and / or software configuration to run the webpage; the access rights of the aforementioned download webpage stipulate that it can only be accessed through a specific version of the browser, and the browser of the terminal device 100 does not include the aforementioned specific version of the browser; Theme 1 is only applicable to a specific device model of the terminal device 100 (e.g., a specific device model of a mobile phone), and the device model of the terminal device 100 is not the aforementioned specific device model.
[0202] In some embodiments, similar to a museum website, when interacting with server 300 for business data exchange on a webpage for downloading a Topic 1 data package, server 300 needs to verify the legitimacy of the NFC accessory; the specifics will not be elaborated here.
[0203] In some embodiments, the parameter configuration in the tag information indicates the identifier of theme 1 corresponding to the NFC accessory 200, and the first service includes using theme 1 for UX style. When the terminal device 100 has the ability to perform the first service, the terminal device 100 can obtain the data packet of theme 1 from the theme database based on the identifier of theme 1, and then switch the theme to theme 1 based on the data packet. In this embodiment, theme 1 is only applicable to terminal devices of a specific device model (e.g., mobile phones of a specific device model). If the device model of the terminal device 100 is not the aforementioned specific device model, then the terminal device 100 does not have the ability to perform the first service.
[0204] In some embodiments, each NFC accessory corresponds to a theme. For example, NFC accessory 200 corresponds to theme 1. The physical form of NFC accessory 200 is a protective case for terminal device 100 (hereinafter referred to as NFC protective case for ease of description), and the outer shell of the NFC protective case is decorated with a pattern that is consistent with the style of theme 1. In one implementation, NFC accessory 200 is developed for a specific location (e.g., a museum), and the style of theme 1 corresponding to NFC accessory 200 is associated with that specific location.
[0205] For example, such as Figure 7A As shown, when the back cover of terminal device 100 is not fitted with an NFC protective case (i.e., NFC accessory 200), the user interface theme of terminal device 100 is Theme 2. For example... Figure 7BAs shown, after an NFC protective case is installed on the back of the terminal device 100, the terminal device 100 reads the NFC tag information inside the NFC protective case and modifies the theme to theme 1 based on the NFC tag information. See also Figure 7B The pattern on the NFC protective case is the same style as the wallpaper in Theme 1.
[0206] In some embodiments, the tag information of the NFC accessory includes multiple tag information applicable to different configuration information. Any two of the multiple tag information correspond to different configuration information. The configuration information can be used to indicate at least one of the following: operating system, device model, software configuration, and hardware configuration. For example, the tag information of the NFC accessory includes first tag information corresponding to first configuration information and second tag information corresponding to second configuration information. The terminal device 100 performs a first service based on the tag information of the NFC accessory 200, including: the terminal device 100 determining a first configuration information among the configuration information corresponding to the multiple tag information that is identical to the configuration information of the terminal device 100; and the terminal device 100 performing a first service based on the first tag information corresponding to the first configuration information.
[0207] In one implementation, the tag information of the NFC accessory 200 includes multiple types of tag information and configuration information corresponding to each type of tag information. The terminal device 100 can directly obtain the configuration information corresponding to each type of tag information based on the tag information read from the NFC accessory 200. In another implementation, the tag information of the NFC accessory 200 includes multiple types of tag information, and the terminal device 100 requests the server 300 to obtain the configuration information corresponding to each type of tag information based on the tag information read from the NFC accessory 200.
[0208] For example, the first service includes running a museum app. The tag information of the NFC accessory 200 includes tag information 1 for the iOS system, tag information 2 for the Android system, and tag information 3 for the Google system. Tag information 1 indicates the acquisition of a museum app suitable for the iOS system, tag information 2 indicates the acquisition of a museum app suitable for the Android system, and tag information 3 indicates the acquisition of a museum app suitable for the Google system. The terminal device 100 is configured with an Android system. After reading the tag information of the NFC accessory 200, the terminal device 100 selects the Android system-specific tag information 1 from the tag information of the NFC accessory 200 based on its own configuration information, and obtains the installation package for the museum app suitable for the Android system based on tag information 1. Based on the installation package, the museum app is installed and run on the Android system.
[0209] In some embodiments, the tag information of the NFC accessory includes multiple tag information applicable to different configuration information. Any two of the multiple tag information correspond to different configuration information. The configuration information can be used to indicate at least one of the operating system, device model, software configuration, and hardware configuration. For example, the tag information of the NFC accessory includes first tag information corresponding to first configuration information and second tag information corresponding to second configuration information. Step S101, where the terminal device 100 reads the tag information of the NFC accessory 200, includes: the terminal device 100 sending its configuration information to the NFC accessory 200; the NFC accessory 200 determining a first configuration information among the multiple tag information that is identical to the configuration information of the terminal device 100, and sending the first tag information corresponding to the first configuration information to the terminal device 100; and the terminal device 100 receiving the first tag information. The terminal device 100 performing a first service based on the tag information of the NFC accessory 200 includes: the terminal device 100 performing a first service based on the first tag information. It can be understood that the terminal device 100, based on its own configuration information, only reads the tag information applicable to its own device from the NFC accessory 200.
[0210] In some embodiments, after reading various tag information from the NFC accessory 200, the terminal device 100 sequentially attempts to execute the service indicated by each tag information, such as the first service indicated by tag information 1. When the terminal device 100 executes the first service based on tag information 1, if the terminal device 100 has the capability to execute the first service, it can successfully execute the first service; if the terminal device 100 does not have the capability to execute the first service, the execution of the first service will fail.
[0211] For different presentation forms of the first service, the specific implementation of the first service based on tag information 1 can refer to any of the aforementioned implementations of the first service based on tag information, and will not be repeated here.
[0212] S105. The terminal device 100 detects whether the terminal device 100 meets the first preset condition associated with the NFC accessory 200. When it is detected that the first preset condition is not met, the relevant process of the first service is terminated and the relevant data of the first service is cleared. The relevant data of the first service includes the tag information of the NFC accessory 200.
[0213] In some embodiments, in step S104, when it is determined that the terminal device 100 has the ability to perform the first service and meets the first preset condition, the terminal device 100 performs the first service based on the aforementioned tag information.
[0214] The following details the first preset condition and how to detect it.
[0215] In this embodiment of the application, the first preset condition may include one or more of the following: the terminal device 100 and the NFC accessory 200 maintain an NFC communication connection, the location of the terminal device 100 is within the preset location range configured by the NFC accessory 200, and the usage period of the terminal device 100 for the NFC accessory 200 has not expired.
[0216] It is understandable that when the user removes the NFC accessory 200 installed on the terminal device 100, and the distance between the NFC accessory 200 and the terminal device 100 is greater than the effective communication distance, the NFC communication connection between the terminal device 100 and the NFC accessory 200 will be disconnected.
[0217] In some embodiments, the first preset condition includes that the location of the terminal device 100 is not within the preset location range configured by the NFC accessory 200, and the terminal device 100 can no longer provide the first service to the user after the user leaves the preset location range (e.g., a museum). In one implementation, the preset location range of each NFC accessory is fixed; for example, the preset location range of the NFC accessory 200 is the geographical location range of the museum. In another implementation, the preset location range of each NFC accessory can be configured by the user. For example, if a museum includes multiple exhibition halls, when a user obtains the NFC accessory 200, they can select which exhibition halls the NFC accessory can be used to visit, and the preset location range includes the geographical location range of the selected exhibition halls. It should be noted that the preset location range configured by the NFC accessory 200 is not limited to the exhibition halls selected by the user; it can also automatically include public areas within the museum.
[0218] In some embodiments, when a user obtains the NFC accessory 200, the user selects a venue for the NFC accessory 200 on the NFC accessory distribution device. The NFC accessory distribution device can send the identifier of the venue selected by the user to the server 300. Based on the identifier of the venue selected by the user, the server 300 determines the preset location range configured for the NFC accessory 200 and can send the preset location range to the terminal device 100. Alternatively, the NFC accessory distribution device can write the identifier of the venue selected by the user into the tag information of the NFC accessory, and the terminal device 100 can obtain the identifier of the venue selected by the user through the tag information.
[0219] In some embodiments, the terminal device 100 detects whether its location is within a preset location range configured by the NFC accessory 200. Specifically, this includes: the terminal device 100 using a preset positioning technology to determine its current location, and then determining whether its current location is within the preset location range configured by the NFC accessory 200. The positioning technology includes, but is not limited to, one or more of the following: NFC positioning, Wi-Fi positioning, Bluetooth positioning, UWB positioning, GPS positioning, etc.
[0220] In one implementation, the local area network access points (e.g., Wi-Fi access points) of different exhibition halls are different. The Wi-Fi signal sent by the Wi-Fi access point of each exhibition hall to the terminal device 100 can carry the identifier of the current exhibition hall. The terminal device 100 detects whether the location of the terminal device 100 is within the preset location range configured by the NFC accessory 200. Specifically, the terminal device 100 receives the exhibition hall identifier 1 carried by the Wi-Fi signal. The exhibition hall identifier 1 indicates the exhibition hall (i.e., the current location) where the terminal device 100 is currently located. If the exhibition hall with the exhibition hall identifier 1 is included in the preset location range, then it is determined that the current location of the terminal device 100 is within the preset location range.
[0221] In one implementation, server 300 stores a preset location range configured by NFC accessory 200. Terminal device 100 detects whether its location is within the preset location range configured by NFC accessory 200. Specifically, terminal device 100 uses indoor positioning technology (e.g., Wi-Fi fingerprint positioning) to determine its current location coordinates and sends them to server 300. Server 300 determines whether the current location coordinates exceed the preset location range and sends the determination result to terminal device 100.
[0222] In some embodiments, when the server 300 interacts with the terminal device 100 for the first service (e.g., a museum website or a museum app), the server 300 verifies the current location of the terminal device 100. If it determines that the current location of the terminal device 100 exceeds the preset location range, the server 300 stops providing the relevant business data for the first service to the terminal device 100. In one implementation, the terminal device 100 periodically sends its current location to the server 300. In another implementation, the business data request signal sent by the terminal device 100 to the server 300 carries the current location of the terminal device 100.
[0223] In some embodiments, when the location of the terminal device 100 is detected to be outside the preset location range configured by the NFC accessory 200, the terminal device 100 displays a prompt message 2. The prompt message 2 is used to inform the user that the location of the terminal device 100 is outside the preset location range configured by the NFC accessory 200. For example, the preset location range includes a first exhibition hall but excludes a second exhibition hall. When the server 300 detects that the terminal device 100 has exceeded the location range of the first exhibition hall and has entered or is approaching the location range of the second exhibition hall, the server 300 sends a prompt message 3 to the terminal device 100. Based on the prompt message 3 sent by the server 300, the terminal device 100 displays a prompt box 1. The prompt box 1 is used to prompt the user whether to request service permission for the first service in the second exhibition hall. The prompt box includes a confirm control and a cancel control. The confirm control can receive user input (e.g., touch operation). In response to the received input operation, the terminal device 100 sends a confirm message to the server 300. In response to the confirm message, the server 300 modifies the preset location range of the NFC accessory to include the second exhibition hall. The cancel control can receive user input (such as touch operation), and in response to the received input, the terminal device 100 stops displaying the above prompt box.
[0224] In some embodiments, the NFC accessory 200 is configured with a usage period. If the usage time of the NFC accessory 200 exceeds the usage period, the terminal device 100 can no longer provide the first service to the user. The usage period of the NFC accessory 200 can be a default setting or a user-configured setting. In one implementation, when a user obtains the NFC accessory 200, the user can select the usage period of the NFC accessory 200 on the NFC accessory distribution device. After the user selects the usage period, the NFC accessory distribution device can send the selected usage period to the server 300. The server 300 can store the correspondence between the identifier of the NFC accessory 200, the usage period of the NFC accessory 200, and the identifier of the terminal device 100, and then send the usage period of the NFC accessory 200 to the terminal device 100. The NFC accessory distribution device can also write the user-selected usage period into the tag information of the NFC accessory, and the terminal device 100 can obtain the user-selected usage period through the tag information. For example, when a user obtains the NFC accessory 200 through the NFC distribution device, the NFC distribution device provides multiple usage period options, such as 1 hour, 3 hours, 4 hours, etc.
[0225] In some embodiments, after a user obtains an NFC accessory 200 from an NFC accessory distribution device via a terminal device 100, the NFC accessory distribution device sends a notification message to a server 300 to notify the server 300 that the terminal device 100 has obtained the NFC accessory 200. The notification message may carry the identifier of the NFC accessory 200, the identifier of the terminal device 100, and the usage period of the NFC accessory 200. After receiving the notification message, the server 300 starts timing the time the terminal device 100 uses the NFC accessory 200. When the usage time of the NFC accessory 200 exceeds the usage period, the server 300 stops providing the first service business data to the terminal device 100.
[0226] In some embodiments, the tag information of the NFC accessory 200 includes a usage period. When the NFC accessory 200 detects that the terminal device 100 has established an NFC communication connection with the NFC accessory 200, the NFC accessory 200 starts timing the usage time of the NFC accessory 200 by the terminal device 100. When the timing exceeds the usage period, it is determined that the NFC accessory 200 has expired, and the NFC accessory 200 disconnects the NFC communication connection with the terminal device 100.
[0227] In some embodiments, when the usage time of the NFC accessory 200 is detected to have exceeded its expiration date, the terminal device 100 displays a prompt message 4, which informs the user that the NFC accessory 200 has expired. In some embodiments, before the expiration date of the NFC accessory 200, the server 300 may also send a prompt message 5 to the terminal device 100. Based on the prompt message 5 sent by the server 300, the terminal device 100 displays a prompt box 2, which prompts the user whether to request an extension of the first service period of the NFC accessory 200. The prompt box includes a confirm control and a cancel control. The confirm control can receive user input (e.g., a touch operation). In response to the received input, the terminal device 100 sends a confirm message to the server 300. In response to the confirm message, the server 300 increases the usage period of the NFC accessory by a preset time. The cancel control can receive user input (e.g., a touch operation). In response to the received input, the terminal device 100 stops displaying the prompt box 2.
[0228] In some embodiments, the first service includes running a museum website or a museum app. Taking a museum app as an example, the terminal device 100 obtains the business data of the museum app through data interaction with the server 300 (i.e., the server corresponding to the museum app), and then provides the user with the relevant services of the museum app. In this embodiment, the server 300 will only provide the terminal device 100 with the business data of the museum app when it is determined that the terminal device 100 meets the first preset condition associated with the NFC accessory 200. In one implementation, the terminal device 100 periodically checks whether the terminal device 100 meets the first preset condition and sends the detection result to the server 300; when it is detected that the first preset condition is not met, the server 300 stops providing the terminal device 100 with the business data of the museum app.
[0229] The following describes how the terminal device 100 handles the different aspects of the first service after detecting the first preset condition.
[0230] In some embodiments, the first service includes running a museum website and providing related services. When it is detected that the terminal device 100 does not meet preset conditions, the terminal device 100 terminates the relevant processes of the museum website, closes the corresponding webpage of the museum website, and clears the tag information of the NFC accessory 200 and the relevant data of the museum website, such as the downloaded data, cached data, and browsing data of the museum website.
[0231] In some embodiments, the first service includes running a museum app and providing related services. When the terminal device 100 detects that it does not meet a first preset condition, the terminal device 100 terminates the relevant process of the museum app and clears the tag information of the NFC accessory 200 and related data of the museum app, such as download data and cached data of the museum app. In one implementation, the terminal device 100 also clears the installation data of the museum app, i.e., uninstalls the museum app; if the user wants to use the museum app again, they need to reinstall the NFC accessory and reinstall and run the museum app based on the tag information of the NFC accessory. In one implementation, the terminal device 100 does not clear the installation data of the museum app, i.e., does not uninstall the museum app, but the user can no longer use the related services of the museum app. For example, as shown... Figure 8A As shown, the main interface 13 includes an icon 501 for the museum app. When a user intends to launch the museum app through the terminal device 100, the user clicks the icon 501. The terminal device 100 detects the click operation on the icon 501 and, in response to the click operation, displays... Figure 8BThe displayed prompt message 502 is used to inform the user that they do not currently have permission to use the museum app. It can also prompt the user to check if the NFC accessory 200 is installed, if the NFC accessory 200 has expired, and if the location of the terminal device 100 is out of range. It can be understood that the museum app can only respond to the user's input and provide the relevant services when the NFC accessory 200 meets the first preset condition again.
[0232] In some embodiments, the first service includes running a museum mini-program on a preset APP1. When the NFC accessory 200 is detected to not meet the first preset condition, the terminal device 100 stops running the museum mini-program, clears the tag information of the NFC accessory 200 and related data of the museum mini-program, such as downloaded data and cached data. When the NFC accessory 200 does not meet the first preset condition, the server 300 no longer provides business data interaction for the museum mini-program to the terminal device 100, and the terminal device 100 can no longer access the museum mini-program, that is, it cannot display the interface of the museum mini-program or provide related services to the user.
[0233] In some embodiments, the first service includes accessing the museum's local area network based on wireless connection information. When it is detected that the NFC accessory 200 does not meet the first preset condition, the terminal device 100 disconnects from the museum's local area network wireless connection and clears the tag information of the NFC accessory 200.
[0234] In some embodiments, the first service includes multimedia playback (e.g., voice playback) based on acquired multimedia data packets (e.g., voice data packets). When it is detected that the NFC accessory 200 does not meet the first preset condition, the terminal device 100 clears the tag information of the NFC accessory 200 and the aforementioned multimedia data packets.
[0235] In some embodiments, the first service includes modifying system parameters of the terminal device 100 based on parameter configuration in the tag information. When it is detected that the NFC accessory 200 does not meet the first preset condition, the terminal device 100 restores the value of the modified system parameter to its original value. For example, the terminal device 100 enables accessibility mode based on parameter configuration in the tag information. When it is detected that the NFC accessory 200 does not meet the first preset condition, the terminal device 100 disables accessibility mode and clears the tag information of the NFC accessory 200.
[0236] In some embodiments, the first service includes switching the theme to theme 1 corresponding to the NFC accessory 200. When it is detected that the terminal device 100 does not meet the first preset condition, the terminal device 100 clears the tag information of the NFC accessory 200 and the data packet of theme 1, and switches the theme to the most recently used theme other than theme 1, or switches back to the default theme of the terminal device 100. In some embodiments, theme 1 corresponding to the NFC accessory 200 can also be retained as a keepsake with commemorative significance. Even if the terminal device 100 does not meet the first preset condition, the terminal device 100 will still retain theme 1 until the user manually changes the theme of the terminal device 100, or the terminal device 100 uses the theme corresponding to other NFC accessories after installing other NFC accessories.
[0237] In some embodiments, the processor of the terminal device 100 includes a running subspace 1, which is independent of other running spaces of the processor. The running subspace 1 is used to run processes related to the first service. The memory of the terminal device 100 includes a storage subspace 1, which is independent of other storage spaces of the memory. The storage subspace 1 is used to store data related to the first service, such as installation packages, download data, and / or cached data. When it is detected that the NFC accessory 200 does not meet the first preset condition, the terminal device 100 terminates all processes in the running subspace 1 and clears all data in the storage subspace 1.
[0238] In some embodiments, the operating system of the terminal device 100 has a built-in sandbox for running a first service and storing related data of the first service. When it is detected that the NFC accessory 200 does not meet a first preset condition, the terminal device 100 terminates the process of the first service in the sandbox and clears the related data of the first service in the sandbox.
[0239] In some embodiments, when the terminal device 100 is detected to not meet the first preset condition, the terminal device 100 displays a fifth prompt message. If the NFC communication connection is detected to be disconnected, the prompt message can be used to indicate that the NFC communication connection of the NFC accessory 200 has been disconnected. If the location of the terminal device 100 is detected to be outside the preset location range of the NFC accessory 200, the prompt message can be used to indicate that the location of the terminal device 100 is outside the preset location range of the NFC accessory 200. If the usage time of the terminal device 100 is detected to be outside the usage period of the NFC accessory 200, the prompt message can be used to indicate that the NFC accessory 200 has expired. Furthermore, the fifth prompt message is also used to prompt the user that the first service will be stopped after a preset time. After the terminal device 100 displays the above prompt message, if the terminal device 100 is still detected to not meet the first preset condition after the preset time, the terminal device 100 will terminate the relevant process of the first service and clear the relevant data of the first service. This allows the user a certain amount of time, preventing the relevant process and data of the first service from being immediately cleared in cases where the user accidentally disconnects the NFC communication connection or exceeds the preset location range. Even if the user exceeds the preset location range and usage period, a certain amount of time can be reserved for the user to apply for an expansion of the preset location range of the NFC accessory 200 and an extension of the usage period of the NFC accessory 200.
[0240] In this embodiment, the museum includes multiple exhibition halls, such as a painting hall, a ceramics hall, a clothing hall, etc. The preset location range configured by the NFC accessory 200 can include one or more of these exhibition halls. For example, the preset location range includes the first exhibition hall of the museum but excludes the second exhibition hall. The museum website and museum app can provide users with a series of services (such as voice guide service, route recording service, exhibition hall reservation, etc.) for exhibition halls within the preset location range (e.g., the first exhibition hall), but cannot provide users with a series of services for exhibition halls outside the preset location range (e.g., the second exhibition hall). Subsequent embodiments will use the painting hall as the first exhibition hall and the ceramics hall as the second exhibition hall as examples for illustration.
[0241] The following section uses the museum app as an example, and combines the preset location range and usage period of the NFC accessory 200 to further introduce the series of services that the museum app can provide.
[0242] For example, when the terminal device 100 meets the aforementioned first preset condition, it responds to the condition for... Figure 8A The input operation (e.g., touch operation) shown by icon 501 is displayed on terminal device 100. Figure 9AThe user interface 14 of the museum app shown may include a voice guide control 601, a tour route control 602, and a reservation center control 603. The voice guide control 601 can provide users with audio guide services for the museum, the tour route control 602 can provide users with services such as viewing the museum map and recording routes, and the reservation center control 603 can provide users with services such as selecting the preset location range of the museum's NFC accessories, extending the usage period of NFC accessories, and reserving tickets and souvenirs.
[0243] In some embodiments, the museum app can provide users with audio guides for the museum. Based on the preset location range of the NFC accessory 200, the museum app can currently provide audio guides for the painting gallery, but not for the ceramics gallery.
[0244] For example, the voice explanation control 601 can receive user input, and in response to the input, the terminal device 100 displays... Figure 9B The diagram shows playback controls for the audio guides of multiple exhibition halls, such as playback control 701 for the painting exhibition hall and playback control 702 for the ceramics exhibition hall. Playback control 701 for an exhibition hall within a preset location range (e.g., the painting exhibition hall) can receive user input. In response to the user input, terminal device 100 sends an acquisition request to server 300. The acquisition request is used to acquire the audio data packet of the painting exhibition hall, and carries the identifier of the painting exhibition hall and the identifier of the NFC accessory 200. After determining that the preset location range of the NFC accessory 200 includes the painting exhibition hall, server 300 sends the audio data packet of the painting exhibition hall to terminal device 100. Figure 9C As shown, the terminal device starts playing the audio explanation of the painting exhibition hall based on the received audio data packet. The playback control 702 for exhibition halls outside the preset location range (e.g., the ceramics exhibition hall) can receive user input. In response to the user input, the terminal device 100 sends a request to the server 300 to obtain the audio data packet for the ceramics exhibition hall. After determining that the preset location range of the NFC accessory 200 does not include the ceramics exhibition hall, the server 300 sends a prompt message to the terminal device 100, indicating that the NFC accessory 200 does not have service permissions for the ceramics exhibition hall. In one implementation, for example, as shown... Figure 9D As shown, after receiving the prompt message sent by server 300, terminal device 100 displays prompt message 703 to inform the user that NFC accessory 200 does not have service permissions for the ceramics exhibition hall. In one implementation, for example, as shown... Figure 9EAs shown, after receiving the prompt message sent by server 300, terminal device 100 can display a prompt box 704. Prompt box 704 prompts the user that the NFC accessory 200 does not have service permissions for the ceramics exhibition hall and asks whether to apply for unlocking the ceramics exhibition hall service permissions. Prompt box 704 includes a confirm control 705 and a cancel control 706. The confirm control 705 can receive user input (e.g., touch operation). In response to the received input operation, terminal device 100 sends a confirm message to server 300. In response to the confirm message, server 300 modifies the preset location range of the NFC accessory to include the ceramics exhibition hall. The cancel control 706 can receive user input (e.g., touch operation). In response to the received input operation, terminal device 100 stops displaying the prompt box 704.
[0245] In some embodiments, users can also manually add ceramics gallery service permissions to the NFC accessory 200 within the museum app. For example, Figure 9A The reservation center control 603 shown can receive user input (e.g., touch operation), and in response to the received input, the terminal device 100 can display the exhibition halls included in the current preset location range of the NFC accessory 200 (e.g., Figure 10A The painting exhibition hall and jade exhibition hall shown can also display an additional control 801. The additional control 801 can receive user input (e.g., touch operation), and in response to the received input, the terminal device 100 displays... Figure 10B The exhibition hall selection box 802 shown includes at least one exhibition hall option, such as option 803 for the ceramics exhibition hall, and also includes a confirm control 804 and a cancel control 805. See also [example]. Figure 10C After the user selects the ceramic option, control 804 is confirmed to receive user input (e.g., touch operation). In response to the received input, terminal device 100 sends a location range extension request to server 300, the request carrying the identifier of the ceramic exhibition hall. In response to the location range extension request, server 300 modifies the preset location range of the NFC accessory to include the ceramic exhibition hall. See also... Figure 10D The terminal device 100 displays the ceramics exhibition hall within the exhibition halls included in the location range of the NFC accessory 200. The cancellation control 805 can receive user input (e.g., touch operation). In response to the received input, the terminal device 100 stops displaying the aforementioned exhibition hall selection box 802. It should be noted that service access for each exhibition hall of the museum via the NFC accessory may require a certain fee. When the user decides to expand the preset location range of the NFC accessory 200, for example, by adding the ceramics exhibition hall, the terminal device 100 will also display a payment interface. Only after successful payment can the user obtain service access for the NFC accessory 200 in the ceramics exhibition hall.
[0246] In some embodiments, the audio data packets for the audio guide of each exhibition hall can be divided into multiple sub-data packets according to the exhibits. The sub-data packet corresponding to exhibit 1 is used for audio guide of exhibit 1. After receiving an input operation on the playback control 301 of the painting exhibition hall, the terminal device 100 obtains the audio data packets for the painting exhibition hall sent by the server 300. The terminal device 100 obtains its current location in real time and sends it to the server 300. The server 300 determines the identifier 1 of the sub-data packet corresponding to the exhibit closest to the terminal device 100's current location and sends this identifier 1 to the terminal device 100. The terminal device 100 plays the audio based on the sub-data packet corresponding to identifier 1 in the audio data packets of the painting exhibition hall. In this way, the terminal device 100 can automatically play the audio guide for the exhibit closest to the user.
[0247] In some embodiments, users can also manually extend the usage period of the NFC accessory 200 within the museum app. For example, in response to an input operation to the reservation center control 603, the terminal device 100 can also display... Figure 11A The NFC accessory 200 shown has a current usage period 806, remaining usage period 808, and an added control 807, which can receive user input (e.g., a click operation); see also Figure 11B In response to the received input operation, the duration displayed in the usage period 806 increases by a preset minimum unit duration (e.g., 0.5 hours), and a confirm control 809 and a cancel control 810 are displayed. After the user clicks the increase control 807 at least once, the confirm control 809 can receive a delayed operation from the user (e.g., a touch operation). In response to the received delayed operation, the terminal device 100 sends a delay request to the server 300, carrying an increased duration of 1 (e.g., 0.5 hours). In response to the delay request, the server 300 extends the usage period of the NFC accessory by 1 duration and sends a confirm response to the delay request to the terminal device 100; see also Figure 11C After receiving the confirmation response from the server 300, the terminal device 100 modifies the remaining usage time according to the revised usage period. The cancellation control 810 can receive user input (e.g., touch operation). In response to the received input, the terminal device 100 cancels the user's delayed operation and stops displaying the confirmation control 809 and the cancellation control 810. It should be noted that service access to the museum NFC accessory may require a fee. When the user confirms the extension of the NFC accessory 200's usage period, the terminal device 100 will also display a payment interface. The usage period of the NFC accessory 200 will only be extended after successful payment.
[0248] In some embodiments, the museum app can provide users with a route recording service within the museum. Based on the preset location range of the NFC accessory 200, the museum app can currently provide users with a route recording service for the painting gallery, but cannot provide a route recording service for the ceramics gallery.
[0249] For example, Figure 12A The tour route control 602 shown can receive user input (e.g., touch operation). In response to the received input, the terminal device 100 can display a thumbnail of the museum map. The museum map thumbnail can include thumbnails of various exhibition halls, such as thumbnails 901 of the painting exhibition hall and 902 of the ceramics exhibition hall, as well as the user's current location 903. Users can view the detailed map of an exhibition hall and their tour route within that hall by clicking on a thumbnail within a preset range. For example, the thumbnail 901 of the painting exhibition hall can receive user input (e.g., touch operation), and in response to the received input, the terminal device 100 can display... Figure 12B The image shows a detailed map 904 of the painting gallery, and a tour route 905 taken by the user within the detailed map of the painting gallery. A thumbnail 902 of the ceramics gallery can receive user input (e.g., touch input). In response to the received input, the terminal device 100 can display a prompt message 6 to inform the user that the NFC accessory 200 does not have service permissions for the ceramics gallery.
[0250] In one implementation, after a user enters the first exhibition hall, the terminal device 100 periodically determines its current location and sends it to the server 300. The server 300 generates a tour route for the user within the exhibition hall based on the location information sent by the terminal device 100 and a detailed map of the painting exhibition hall. The server 300 then sends the detailed map of the painting exhibition hall with the added tour route to the terminal device 100 in real time. The terminal device 100 displays the detailed map of the painting exhibition hall with the added tour route. If the user enters an exhibition hall outside the preset location range, the museum app does not record the tour route of the terminal device 100. This allows the user to see in real time which locations within the preset location range have not yet been visited, thus improving the user's tour efficiency.
[0251] In some embodiments, the museum app can provide users with detailed historical information about the museum's exhibits. Based on the preset location range of the NFC accessory 200, the museum app can provide users with detailed historical information about the paintings exhibit, but cannot provide detailed historical information about the ceramics exhibit.
[0252] For example, each exhibit in the museum (e.g., exhibit 1 in the painting gallery) displays a QR code corresponding to that exhibit, and the museum app interface includes...Figure 13A The QR code scanning control 906 shown is capable of receiving user input (e.g., touch operation). In response to this input, the terminal device 100 displays... Figure 13B The scanning interface 15 shown includes a viewfinder 907 for displaying images captured by the camera of the terminal device 100. Users can scan the QR code corresponding to exhibit 1 through this interface to obtain the identifier of exhibit 1. Then, the terminal device 100 sends an acquisition request to the server 300, carrying the identifier of exhibit 1. In response to the acquisition request, after determining that exhibit 1 is within a preset location range, the server 300 sends historical details of exhibit 1 to the terminal device 100. The terminal device 100 displays the historical details of exhibit 1, which may include text, images, and / or video.
[0253] Similar to the aforementioned audio guide service in the ceramics exhibition hall, if a user scans the QR code of an exhibit in the ceramics exhibition hall, the terminal device 100 can display a prompt message to inform the user that they do not have service permissions for the NFC accessory 200 of the ceramics exhibition hall, or display a prompt box asking the user whether to add service permissions for the ceramics exhibition hall. The specifics will not be elaborated here.
[0254] It should be noted that the museums in the foregoing embodiments are merely illustrative examples of specific locations and should not be construed as limiting the embodiments of this application. The service control methods provided in any of the foregoing embodiments can also be applied to other specific locations, which will not be elaborated here. For example, other specific locations can also be divided into multiple areas, and the preset location range of the NFC accessories corresponding to the specific location can include one or more of the above-mentioned multiple areas.
[0255] By implementing the embodiments of this application, the service provider of the first service can grant the terminal device 100 service permission to perform the first service through the NFC accessory 200. Furthermore, if the terminal device 100 does not meet the first preset condition associated with the NFC accessory 200, the service provider can promptly revoke the service permission of the terminal device 100 for the first service, i.e., trigger the terminal device 100 to terminate the process of the first service and clear the data of the first service. As the service provider of the first service, it effectively controls the lifecycle of the first service. It can be understood that the service provider of the first service only allows the terminal device 100 to perform the first service when the terminal device 100 meets the first preset condition associated with the NFC accessory 200.
[0256] In this embodiment, the first NFC accessory can be the aforementioned NFC accessory 200, and the first tag information can be the tag information of the aforementioned NFC accessory 200. The second NFC can be the aforementioned NFC accessory 200, the second tag information can be the tag information of the aforementioned NFC accessory 200, and the second service can be the aforementioned first service. The third NFC can be the aforementioned NFC accessory 200, the third tag information can be the tag information of the aforementioned NFC accessory 200, and the third service can be the aforementioned first service.
[0257] In this embodiment of the application, the first website can be the aforementioned museum website, and the first URL link can be URL link 1 of the aforementioned museum website; the first APP can be the aforementioned museum APP, and the second URL link can be the aforementioned URL link 2; the first mini-program can be the aforementioned museum mini-program; the multimedia data packet can include the aforementioned voice data packet, image data packet and / or video data packet, and the third URL link can be the aforementioned URL link 3; the first topic can be the aforementioned topic 1, and the fourth URL link can be the aforementioned URL link 4.
[0258] In this embodiment, the second prompt information can be the aforementioned prompt information 2; the third prompt information can be the prompt information in the aforementioned prompt box 1, and the first confirmation control can be the confirmation control in the aforementioned prompt box 1; the fourth prompt information can be the aforementioned prompt information 4; or the fourth prompt information can be the prompt information in the aforementioned prompt box 2, and the second confirmation control can be the confirmation control in the aforementioned prompt box 2. Multiple preset areas can be multiple exhibition halls in the aforementioned museum, the first area can be the aforementioned first exhibition hall, and the second area can be the aforementioned second exhibition hall.
[0259] In this embodiment of the application, the first interface may be Figure 9B The user interface shown can be divided into two areas: a painting exhibition hall, a ceramics exhibition hall, a voice narration function, and a control that can be... Figure 9B The playback control 701 shown can be a second control. Figure 9B The playback control 702 shown can provide the following sixth prompt message: Figure 9D The displayed prompt message 703, or the sixth prompt message, can be... Figure 9E The prompt message in the shown prompt box 704. Alternatively, the first interface could be... Figure 12A The user interface shown can have a first area for an art gallery, a second area for a ceramics gallery, a first function for route recording, and a first control for... Figure 12A The thumbnail of the painting gallery shown in image 901 can be used as a second control. Figure 12A The thumbnail of the ceramics exhibition hall shown in Figure 902, the sixth prompt can be the aforementioned prompt 6.
[0260] This application also provides a terminal device 100, which may include multiple functional modules or units. For example, such as... Figure 14 As shown, the terminal device 100 may include a reading unit, an execution unit, a detection unit, and a processing unit. Among them,
[0261] A reading unit is used to read the first tag information of the first NFC accessory;
[0262] An execution unit is used to execute a first service based on the first tag information;
[0263] The detection unit is used to detect whether the terminal device 100 meets the first preset conditions associated with the first NFC accessory. The first preset conditions include at least one of the following: the terminal device 100 and the first NFC accessory maintain an NFC communication connection; the terminal device 100 is within a preset location range configured by the first NFC accessory; and the service life of the first NFC accessory has not expired.
[0264] The processing unit is configured to terminate the process of the first service and clear the data of the first service when it is detected that the terminal device 100 does not meet the first preset condition. The data of the first service includes the first tag information.
[0265] In one implementation, the aforementioned first tag information includes at least one of the following: a first URL link of a first website, a second URL link of a download page for the installation package of a first APP, an identifier of the first APP, the installation package of the first APP, an identifier of a first mini-program, a multimedia data packet, a third URL link of a download page for the multimedia data packet, wireless connection information, parameter configuration, a fourth URL link of a download page for the data packet of a first topic, and an identifier of the first topic; wherein, the parameter configuration is used to indicate the system parameters to be modified and the modified values of the system parameters;
[0266] When the first tag information includes a first website link, the first service includes running the first website and providing the services of the first website; when the first tag information includes a second website link, the installation package of the first APP, or the identifier of the first APP, the first service includes running the first APP and providing the services of the first APP; when the first tag information includes the identifier of the first mini-program, the first service includes running the first mini-program within a preset APP; when the first tag information includes a multimedia data packet or a third website link, the first service includes playing multimedia based on the multimedia data packet; when the first tag information includes wireless connection information, the first service includes accessing a preset local area network based on the wireless connection information; when the first tag information includes parameter configuration, the first service includes modifying system parameters based on the parameter configuration; when the first tag information includes a fourth website link or the identifier of the first theme, the first service includes setting the theme to the first theme.
[0267] In one implementation, the reading unit reads the first tag information of the first near-field communication (NFC) accessory, including: the reading unit establishes an NFC communication connection with the first NFC accessory and receives the first tag information sent by the first NFC accessory.
[0268] In one implementation, the aforementioned execution order is specifically used to: determine whether the terminal device 100 has the ability to perform the first service based on the first tag information; when it is determined that the terminal device 100 has the ability to perform the first service, perform the first service based on the first tag information.
[0269] In one implementation, the first service can only be executed on a terminal device with first configuration information, which indicates at least one of operating system, device model, software configuration, and hardware configuration. The execution unit is specifically used to: determine the first configuration information based on the first tag information, and determine whether the configuration information of the terminal device 100 is the same as the first configuration information; if the configuration information of the terminal device 100 is the same as the first configuration information, then determine that the terminal device 100 has the ability to execute the first service; if the configuration information of the terminal device 100 is different from the preset configuration information, then determine that the terminal device 100 does not have the ability to execute the first service.
[0270] In one implementation, the terminal device 100 further includes a display unit. The aforementioned reading unit is further configured to read second tag information of the second NFC accessory, the second tag information being used to indicate a second service; the aforementioned execution unit is further configured to determine, based on the second tag information, whether the terminal device 100 has the capability to perform the second service; the display unit is configured to display first prompt information when it is determined that the terminal device 100 does not have the capability to perform the second service, the first prompt information being used to prompt the user that the terminal device 100 does not have the capability to perform the second service.
[0271] In one implementation, the terminal device 100 further includes a sending unit, and the second NFC accessory is equipped with a prompting device. The reading unit is further configured to read second tag information of the second NFC accessory, the second tag information being used to indicate a second service; the execution unit is further configured to determine, based on the second tag information, whether the terminal device 100 has the capability to perform the second service; the sending unit is configured to, when it is determined that the terminal device 100 does not have the capability to perform the second service, send a first prompt message to the second NFC accessory, the first prompt message being used to trigger the prompting device of the second NFC accessory to issue a first prompt signal, the first prompt signal being used to prompt the user that the terminal device 100 does not have the capability to perform the second service.
[0272] In one implementation, the terminal device 100 further includes a sending unit, and the third NFC accessory is configured with a prompting device. The aforementioned reading unit is further configured to read third tag information of the third NFC accessory, the third tag information being used to indicate a third service; the aforementioned execution unit is further configured to execute the third service based on the third tag information and fail; the sending unit is configured to send a second prompt message to the third NFC accessory, the second prompt message being used to trigger the prompting device configured on the third NFC accessory to issue a second prompt signal, the second prompt signal being used to notify the user terminal device 100 that the execution of the third service has failed.
[0273] In one implementation, the tag information of the first NFC accessory includes multiple tag information, and any two of the multiple tag information correspond to different configuration information. The configuration information can indicate at least one of the operating system, device model, software configuration, and hardware configuration. The multiple tag information includes first tag information, which corresponds to first configuration information. Before the execution unit executes the first service based on the first tag information, the reading unit reads all the tag information of the first NFC accessory. The execution unit is specifically used to: determine the first configuration information that is the same as the configuration information of the terminal device 100 among the configuration information corresponding to the multiple tag information; and execute the first service based on the first tag information corresponding to the first configuration information.
[0274] In one implementation, the tag information of the first NFC accessory includes multiple tag information, and any two of the multiple tag information correspond to different configuration information. The configuration information can indicate at least one of the operating system, device model, software configuration, and hardware configuration. The multiple tag information includes first tag information, which corresponds to first configuration information. The reading unit is specifically used to: send the configuration information of the terminal device 100 to the first NFC accessory; and receive the first tag information sent by the first NFC accessory. The first tag information is determined by the first NFC accessory from the multiple tag information based on the configuration information of the terminal device 100. The configuration information of the terminal device 100 is the same as the first configuration information corresponding to the first tag information.
[0275] In one implementation, the terminal device 100 further includes a display unit. The display unit is configured to display a second prompt message when it detects that the location of the terminal device 100 exceeds a preset location range configured by the first NFC accessory. The second prompt message is used to notify the user that the current location exceeds the preset location range configured by the first NFC accessory.
[0276] In one implementation, the terminal device 100 includes a display unit. The preset location range configured for the first NFC accessory includes at least one of a plurality of preset regions, and the preset location range does not include a second region among the plurality of preset regions. The display unit is configured to display a third prompt message and a first confirmation control when it detects that the location of the terminal device 100 exceeds the preset location range configured for the first NFC accessory. The third prompt message prompts the user that the current location exceeds the preset location range configured for the first NFC accessory and prompts the user whether to request service permission for the first NFC accessory to access the second region. The first confirmation control receives a first confirmation operation from the user, confirming the addition of a second region to the preset location range.
[0277] In one implementation, the terminal device 100 includes a display unit. The display unit is configured to display a fourth prompt message when it detects that the usage time of the first NFC accessory has exceeded the configured usage period of the first NFC accessory. The fourth prompt message is used to notify the user that the usage period of the first NFC accessory has expired. Alternatively, the display unit is configured to display a fourth prompt message and a second confirmation control when it detects that the usage time of the first NFC accessory has exceeded the configured usage period of the first NFC accessory. The fourth prompt message is used to notify the user that the usage period of the first NFC accessory has expired and whether to request an extension of the usage period of the first NFC accessory. The second confirmation control is used to receive a second confirmation operation from the user, which confirms the extension of the usage period of the first NFC accessory.
[0278] In one implementation, the operating system of the terminal device 100 has a built-in sandbox, which is used to run a first service and store the data of the first service; the aforementioned processing unit is specifically used to terminate the process of the first service in the sandbox and clear the data of the first service in the sandbox when a first preset condition is detected.
[0279] In one implementation, the processing unit is specifically configured to: when it is detected that the terminal device 100 does not meet the first preset condition, display a fifth prompt message, the fifth prompt message being used to indicate that the terminal device 100 does not meet the first preset condition and that the first service will be stopped after a preset time; at a time interval of a preset time from the time the fifth prompt message is displayed, detect whether the terminal device 100 meets the first preset condition; when it is detected that the terminal device 100 still does not meet the first preset condition, terminate the process of the first service and clear the data of the first service.
[0280] In one implementation, the preset location range configured for the first NFC accessory includes at least one of a plurality of preset areas. The preset location range includes a first area among the plurality of preset areas, and the preset location range does not include a second area among the plurality of preset areas. The display unit is configured to display a first interface when the execution unit performs the first service. The first interface includes a first control for a first function in the first area and a second control for a first function in the second area. The execution unit is further configured to execute the first function in response to an input operation on the first control. The display unit is further configured to display a sixth prompt message in response to an input operation on the second control. The sixth prompt message is used to prompt the user that the first NFC accessory does not have service permissions for the second area and whether to apply for service permissions for the second area.
[0281] In one implementation, the physical form of the first NFC accessory is a card sticker, card sleeve, card, protective case, or pendant.
[0282] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.
[0283] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0284] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0285] In summary, the above description is merely an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made according to the disclosure of the present invention should be included within the scope of protection of the present invention.
Claims
1. A service control method characterized by comprising: The method comprises: a terminal device reads first tag information of a first NFC accessory; the terminal device executes a first service based on the first tag information; it is detected whether the terminal device meets a first preset condition associated with the first NFC accessory, the first preset condition comprising at least one of the following: the terminal device and the first NFC accessory maintain NFC communication connection, the terminal device is within a preset position range configured by the first NFC accessory, a use period configured by the first NFC accessory is not expired; when it is detected that the terminal device does not meet the first preset condition, the process of the first service is terminated, and data of the first service is cleared, the data of the first service comprising the first tag information.
2. The method of claim 1, wherein, The first tag information comprises at least one of the following: a first website link, a second website link of a download webpage of an installation package of a first APP, an identifier of the first APP, the installation package of the first APP, an identifier of a first mini-program, a multimedia data package, a third website link of a download webpage of the multimedia data package, wireless connection information, parameter configuration, a fourth website link of a download webpage of a data package of a first theme, and an identifier of the first theme; wherein the parameter configuration is used to indicate a system parameter to be modified and a value of the system parameter after modification; when the first tag information comprises the first website link, the first service comprises running the first website and providing a service of the first website; when the first tag information comprises the second website link, the installation package of the first APP, or the identifier of the first APP, the first service comprises running the first APP and providing a service of the first APP; when the first tag information comprises the identifier of the first mini-program, the first service comprises running the first mini-program in a preset APP; when the first tag information comprises the multimedia data package or the third website link, the first service comprises multimedia playing based on the multimedia data package; when the first tag information comprises the wireless connection information, the first service comprises accessing a preset local area network based on the wireless connection information; when the first tag information comprises the parameter configuration, the first service comprises modifying a system parameter based on the parameter configuration; when the first tag information comprises the fourth website link or the identifier of the first theme, the first service comprises setting a theme as the first theme.
3. The method of claim 1, wherein, The terminal device executes a first service based on first tag information, comprising: the terminal device determines whether the terminal device has the capability to execute the first service based on the first tag information; when it is determined that the terminal device has the capability to execute the first service, the terminal device executes the first service based on the first tag information.
4. The method of claim 3, wherein, The first service can only be executed on a terminal device with first configuration information, the first configuration information indicating at least one of the following: an operating system, a device model, a software configuration, and a hardware configuration. The terminal device determines whether the terminal device has the capability to execute the first service based on the first label information, including: The terminal device determines the first configuration information based on the first label information, and determines whether the configuration information of the terminal device is the same as the first configuration information; If the configuration information of the terminal device is the same as the first configuration information, it is determined that the terminal device has the capability to execute the first service; if the configuration information of the terminal device is not the same as the first configuration information, it is determined that the terminal device does not have the capability to execute the first service.
5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: The terminal device reads second label information of a second NFC accessory, the second label information being used to indicate a second service; The terminal device determines whether the terminal device has the capability to execute the second service based on the second label information; When it is determined that the terminal device does not have the capability to execute the second service, the terminal device displays first prompt information, the first prompt information being used to prompt the user that the terminal device does not have the capability to execute the second service.
6. The method according to any one of claims 1 to 4, characterized in that, The second NFC accessory is configured with a prompt device; the method further includes: The terminal device reads second label information of a second NFC accessory, the second label information being used to indicate a second service; The terminal device determines whether the terminal device has the capability to execute the second service based on the second label information; When it is determined that the terminal device does not have the capability to execute the second service, the terminal device sends a first prompt message to the second NFC accessory, the first prompt message being used to trigger the prompt device of the second NFC accessory to send a first prompt signal, the first prompt signal being used to prompt the user that the terminal device does not have the capability to execute the second service.
7. The method of claim 1 or 2, wherein, The third NFC accessory is configured with a prompt device; the method further includes: The terminal device reads third label information of the third NFC accessory, the third label information being used to indicate a third service; The terminal device fails to execute the third service based on the third label information; The terminal device sends a second prompt message to the third NFC accessory, the second prompt message being used to trigger the prompt device of the third NFC accessory to send a second prompt signal, the second prompt signal being used to prompt the user that the terminal device fails to execute the third service.
8. The method of claim 1 or 2, wherein, The label information of the first NFC accessory includes a plurality of label information, any two of the plurality of label information corresponding to different configuration information, the configuration information can indicate at least one of an operating system, a device model, a software configuration and a hardware configuration, and the plurality of label information includes the first label information, the first label information corresponding to first configuration information; Before the terminal device executes the first service based on the first label information, the terminal device has read all the label information of the first NFC accessory; The terminal device executes the first service based on the first label information, including: The terminal device determines the first configuration information that is same as the configuration information of the terminal device from the configuration information corresponding to the plurality of label information; The terminal device performs the first service based on the first label information corresponding to the first configuration information.
9. The method of claim 1 or 2, wherein, The label information of the first NFC accessory includes a plurality of label information, any two of the plurality of label information correspond to different configuration information, the configuration information can indicate at least one of an operating system, a device model, a software configuration and a hardware configuration, the plurality of label information includes the first label information, the first label information corresponds to the first configuration information; The terminal device reads the first label information of the first NFC accessory, including: The terminal device sends the configuration information of the terminal device to the first NFC accessory; The terminal device receives the first label information sent by the first NFC accessory, the first label information is determined by the first NFC accessory from the plurality of label information based on the configuration information of the terminal device, the configuration information of the terminal device and the first configuration information corresponding to the first label information are same.
10. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: When it is detected that the position of the terminal device is out of the preset position range configured by the first NFC accessory, a second prompt information is displayed, the second prompt information is used to prompt the user that the current position is out of the preset position range configured by the first NFC accessory.
11. The method according to any one of claims 1 to 4, characterized in that, The preset position range configured by the first NFC accessory includes at least one of a plurality of preset areas, the preset position range does not include a second area in the plurality of preset areas; the method further comprises: When it is detected that the position of the terminal device is out of the preset position range configured by the first NFC accessory, a third prompt information and a first confirmation control are displayed; the third prompt information is used to prompt the user that the current position is out of the preset position range configured by the first NFC accessory, and prompt the user whether to apply for obtaining the service permission of the first NFC accessory in the second area, the first confirmation control is used to receive a first confirmation operation of the user, the first confirmation operation is used to confirm to add the second area to the preset position range.
12. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: When it is detected that the use duration of the first NFC accessory exceeds the use deadline configured by the first NFC accessory, a fourth prompt information is displayed, the fourth prompt information is used to prompt the user that the use deadline of the first NFC accessory has expired; Or, when it is detected that the use duration of the first NFC accessory exceeds the use deadline configured by the first NFC accessory, a fourth prompt information and a second confirmation control are displayed; the fourth prompt information is used to prompt the user that the use deadline of the first NFC accessory has expired, and whether to apply for extending the use deadline of the first NFC accessory, the second confirmation control is used to receive a second confirmation operation of the user, the second confirmation operation is used to confirm to extend the use deadline of the first NFC accessory.
13. The method according to any one of claims 1 to 4, characterized in that, The operating system of the terminal device is built-in a sandbox, the sandbox is used to run the first service and store data of the first service; the process of the first service is terminated, and the data of the first service is cleared, including: The terminal device terminates the process of the first service in the sandbox and clears the data of the first service in the sandbox.
14. The method according to any one of claims 1 to 4, characterized in that, The process of the first service is terminated and the data of the first service is cleared when it is detected that the terminal device does not meet the first preset condition, including: When it is detected that the terminal device does not meet the first preset condition, the terminal device displays fifth prompt information, the fifth prompt information is used to prompt that the terminal device does not meet the first preset condition, and the terminal device will stop the first service after a preset time period; At a time point separated from a display time point of the fifth prompt information by a preset time period, it is detected whether the terminal device meets the first preset condition; When the terminal device still does not meet the first preset condition, the terminal device terminates the process of the first service and clears the data of the first service.
15. The method according to any one of claims 1 to 4, characterized in that, The preset position range of the first NFC accessory configuration includes at least one of a plurality of preset areas, the preset position range includes a first area in the plurality of preset areas, and the preset position range does not include a second area in the plurality of preset areas; the method further includes: When the terminal device executes the first service, a first interface is displayed, the first interface includes a first control of a first function of the first area and a second control of the first function of the second area; In response to an input operation for the first control, the terminal device executes the first function; In response to an input operation for the second control, the terminal device displays sixth prompt information, the sixth prompt information is used to prompt a user that the first NFC accessory does not have service authority of the second area, whether to apply for obtaining service authority of the second area.
16. The method according to any one of claims 1 to 4, characterized in that, The physical form of the first NFC accessory is a sticker, a card sleeve, a card, a protective shell or a pendant.
17. A terminal device comprising a memory, one or more processors, a plurality of applications, and one or more programs; wherein, The one or more programs are stored in the memory; the one or more processors, when executing the one or more programs, cause the terminal device to implement the method of any one of claims 1-16.
18. A computer-readable storage medium, characterized in that, The computer program product includes computer instructions, when the computer instructions are run on a terminal device, the terminal device executes the method of any one of claims 1-16.
19. A computer program product, characterised in that, When the computer program product is run on a computer, the computer executes the method of any one of claims 1-16.
Citation Information
Patent Citations
Face recognition-based payment method, device and terminal
CN110809775A
Authentication method and device for NFC equipment
WO2018145238A1