CN116017008A - Method and device for rapidly starting intelligent television application through NFC card tag - Google Patents

Method and device for rapidly starting intelligent television application through NFC card tag Download PDF

Info

Publication number
CN116017008A
CN116017008A CN202211625840.8A CN202211625840A CN116017008A CN 116017008 A CN116017008 A CN 116017008A CN 202211625840 A CN202211625840 A CN 202211625840A CN 116017008 A CN116017008 A CN 116017008A
Authority
CN
China
Prior art keywords
starting
usb
target application
nfc card
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211625840.8A
Other languages
Chinese (zh)
Inventor
袁斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Nanosic Technology Co ltd
Original Assignee
Hangzhou Nanosic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Nanosic Technology Co ltd filed Critical Hangzhou Nanosic Technology Co ltd
Priority to CN202211625840.8A priority Critical patent/CN116017008A/en
Publication of CN116017008A publication Critical patent/CN116017008A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for rapidly starting an intelligent television application through an NFC card tag, which specifically comprise the following steps: 1) Setting an NFC card on a remote controller, and setting a USB starting device and a target application starting unit on a television and/or a set top box; 2) The method comprises the steps that a starting device control unit is arranged on the intelligent terminal, and when the NFC card touches the intelligent terminal, the starting device control unit is turned on to realize Bluetooth instruction transmission with the USB starting device; 3) The USB starting device controls the target application starting unit to start the target application in a first starting mode and/or a second starting mode; according to the invention, the smart phone is used for directly reaching the television and/or the set top box application, so that a user can open the television application without complicated operation. In the invention, the system signature is not required to be carried out on a target application starting unit on the television and a starting device control unit in the mobile phone, the addition of a system white list is not required, the starting-up starting is not required to be realized, and the resident service is not required.

Description

Method and device for rapidly starting intelligent television application through NFC card tag
Technical Field
The invention relates to a computer network communication technology, in particular to a method and a device for rapidly starting an intelligent television application through NFC card labels.
Background
The remote controller is complicated to operate by a user, a target application is found on the intelligent television and the set top box, then the target application is opened, the remote controller in the middle is complicated in operation process, and many people have the experience of being in person. The current one-key starting method for starting the target application by using one key of a remote controller is commonly used in the market, and the starting self-starting of the target application is realized by signing a target application system or the starting of the application is realized by a mode of broadcasting transmitted by the system.
The target application system signature and the system application white list are added, so that the starting-up self-starting of the target application is realized, and the resident of the background service is realized. After the target application is started and self-started, the data instruction stream sent by the USB starting device is received in real time, so that one-key calling of the target application is realized.
The television and the set top box on the market have a plurality of models, and the system signature and the system white list addition to the target application are almost impossible to operate by manufacturers, and the main reasons are as follows:
the security is that the television and the set top box manufacturer control the system signing tool very strictly, because the signed target application has the system authority, a lot of sensitive information can be obtained, and the control is more strict for the manufacturer.
The system signature tools are different one by one for a plurality of brands of televisions and set top boxes, the applications can be used on the televisions after the signature is finished, huge resources are needed to provide support, in addition, the target applications need to be signed again by starting assistants and function change of the target applications, the labor cost of the project is greatly improved, and the expected requirements are not met.
The system signature mode is generally used for television services of business dominant by operators, and the remote controller and the set top box are both operator assets and provide services for users through renting. The above-described function of a bump-up service is very easy to implement. With the rise and popularization of the internet, the internet gradually becomes a main channel of video transmission, and television services are gradually evolved from telecom operators or cable operators to internet video dominance independent of operators. In this way, the device for watching television by the user is evolved from a set-top box issued by an operator to a smart television set or set-top box purchased by the user himself. Internet video and self-developed television application APK can be directly operated on television, and become a business (or application) operator. For stock televisions and set-top boxes, it is essentially impossible to want to get to the system signing tools of the televisions and set-top boxes.
As disclosed in the technical scheme of the prior art CN113038213a, the USB dongle receives the signal sent by the remote controller, and sends out a broadcast message according to the key value information of the received signal, where the broadcast message includes the device information of the USB dongle, so that the television application monitoring the broadcast message is started when the device information of the USB dongle is the device information of the calling application. The technical solution disclosed in CN113038213a uses a tv application packet to monitor a specific type of broadcast message, when this type of broadcast message occurs, the tv application monitoring the type of broadcast message is woken up, and it is necessary to add the broadcast message to be monitored and the device list to the interface of the application APK.
For stock televisions and set-top boxes, signing the target application system requires taking the manufacturer's system signing tool, which is basically not possible, and the way of sending the broadcast message has various drawbacks.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention aims to provide a method for rapidly starting an intelligent television application through an NFC card tag. Another object of the invention is to provide a device for implementing the above method.
In order to achieve the above purpose, the invention provides a method for rapidly starting an intelligent television application through an NFC card tag, which specifically comprises the following steps:
1) Setting an NFC card on a remote controller, and setting a USB starting device and a target application starting unit on a television and/or a set top box;
2) The method comprises the steps that a starting device control unit is arranged on the intelligent terminal, and when the NFC card touches the intelligent terminal, the starting device control unit is turned on to realize Bluetooth instruction transmission with the USB starting device;
3) The USB starting device controls the target application starting unit to start the target application in a first starting mode and/or a second starting mode;
the first starting mode is operated by using a USB system service of an android system, the USB starting device virtually performs a USB device plug event once in a mode of resetting the USB starting device after receiving a signal sent by a control unit of the starting device, device VID/PID information of the USB starting device is sent to the USB system service, and the USB system service controls starting according to whether the received VID/PID information of the USB device is matched with a preset configuration item in a target application starting unit;
the second mode works by using a window system service of an android system, and after receiving a starting signal sent by a starting device control unit, the USB starting device sends a USB device data instruction corresponding to the target application starting unit to the window system service, and the window system service starts the target application starting unit; the target application starting unit completes decryption authentication and opens a target application pre-configured in the target application starting unit.
Further, the starting device control unit is a WeChat applet arranged on the mobile phone, the WeChat applet registers a wake-up function of the NFC card in a WeChat developer website, and after wake-up, the WeChat applet executes a broadcast packet sent by the Bluetooth search USB starting device and sends a starting control signal.
Further, the execution program of the WeChat applet is as follows:
Figure BDA0004004422780000031
/>
Figure BDA0004004422780000041
further, the starting device control unit is connected with the USB starting device in a Bluetooth GATT mode and is used for transmitting control instructions, the USB starting device is connected with the television in a USB interface mode and is used for transmitting instructions of a first starting mode and instructions of a second starting mode to the target application starting unit.
Further, the starting program compatible with the first starting mode and the second starting mode simultaneously is as follows:
Figure BDA0004004422780000042
/>
Figure BDA0004004422780000051
further, when the NFC card touches the smart phone, the starting device control unit is awakened, a starting signal is generated and sent to the USB starting device, after the USB starting device receives a starting instruction, a plurality of specific signals are sent to the android system, the specific signals are used for completing the starting of the target application starting unit, and then the target application starting unit starts the target application; the program for starting the target application is as follows: intentit=new Intent (Intentit. ACTION_MAIN);
ComponentName componentName=new ComponentName;
it.setComponent(componentName);
it.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
it.putExtra("tvOpen",1);
startActivity(it)。
further, the target application starting unit completes device authentication and decryption, and opens a target application name configured in the USB starting device through android system call; the decryption and authentication procedure is:
Figure BDA0004004422780000052
further, the first starting mode and the second starting mode are independent from each other, and for a system supporting only one starting mode, the first starting mode or the second starting mode supported by the system is used, and for a system supported by both modes, the two starting modes can be synchronously and independently used to realize one-key starting.
Further, the intelligent terminal is a smart phone, and Bluetooth BLE connection is adopted between the smart phone and the USB starting device.
A device for quickly starting a smart tv application through an NFC card tag, the device being configured to implement the method of any one of the above.
According to the improved method and device for rapidly starting the intelligent television application through the NFC card tag, the method and device have the following technical advantages:
1. the method does not need to sign a target application system, does not need to add a system white list, does not need to realize startup, does not need to reside in service, and does not need to monitor key events.
2. The change of the target application function is very low in labor cost and can be realized without depending on manufacturers.
3. The NFC card is touched by the mobile phone, so that the function of one touch starting can be achieved.
Drawings
Fig. 1 is a schematic diagram of the operation of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made more apparent and fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
The following describes specific embodiments of the present invention in detail with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
The method and the device for rapidly starting the intelligent television application through the NFC card tag start the application on the television or the set top box through the combination of the NFC card and the mobile phone, can be compatible with the stock television, the newly added television and the set top box, do not need excessive changes, are easy to realize, and have practicability.
As shown in fig. 1, the device for quickly starting the intelligent television application through the NFC card label is suitable for an intelligent television and/or a set top box and is used for remotely starting the television application, and comprises the television and/or the set top box, a USB starting device 2 which can be plugged into the television and/or the set top box, a starting device control unit 1 and a target application starting unit 3. The starting device control unit 1 is provided with NFC capability for waking up by one touch, and the USB starting device 2 may receive instruction information uploaded by the starting device control unit 1. The remote control is connected to the USB initiator 2 via bluetooth 5 for transmitting a specific initiation signal to the USB initiator 2. The target application starting unit 3 can be embedded in the target application 4, and additional system transformation is not needed, so that the implementation is easy.
The method for rapidly starting the intelligent television application through the NFC card tag by adopting the device comprises the following steps:
step S1: and setting an NFC card on the remote controller, and setting a USB starting device and a target application starting unit on the television and/or the set top box.
Step S2: the method comprises the steps that a starting device control unit is arranged on the intelligent terminal, and when the NFC card touches the intelligent terminal, the starting device control unit is turned on to realize Bluetooth instruction transmission with the USB starting device; the USB initiator 2 receives the initiator control unit 1.
The television and/or the set top box are/is provided with a USB socket for plugging the USB starting device 2, and the NFC card can be arranged on the remote controller. When the NFC card touches the smart phone, the control unit of the starting device is awakened, a starting signal containing encryption information is generated after the connection is successful and sent to the USB starting device 2, and after the USB starting device 2 receives a starting instruction, a plurality of specific signals are sent to the android system and used for completing the starting of the target application starting unit, and then the target application starting unit starts the final target application.
The starting device control unit registers a wake-up function of the NFC card in a Website of a WeChat developer, executes a broadcast packet sent by the Bluetooth search USB starting device after wake-up, and sends a starting control signal, and the starting device control unit is connected with the USB starting device in a Bluetooth GATT mode and is used for transmitting control instructions; the control unit of the starting device is a micro-letter applet arranged on the mobile phone, and the key codes are as follows
Figure BDA0004004422780000081
/>
Figure BDA0004004422780000091
Step S3: and a first starting mode and a second starting mode are built in, one or two of the starting modes are selected according to the starting modes supported by the system, and one-key starting is performed at the same time.
In the method, the starting of the target application by the USB starting device is realized in the following two modes:
the first starting mode is to use a USB system service (system service A) of the android system 6, wherein the system service A has receiving capability and a corresponding processing method for VID/PID information of a USB device. After receiving a specific encryption signal sent by the smart phone, the USB starting device virtually performs a USB equipment plugging event once in a mode of resetting the USB starting device, and sends equipment VID/PID information of the USB starting device to a system service A, and the system service A starts a target application starting unit according to whether the received VID/PID information of the USB equipment is consistent with the preset information; the target application starting unit completes device authentication and decryption, and opens a target application name configured in the starting device through system call. The specific decryption and authentication function part codes are as follows:
Figure BDA0004004422780000092
Figure BDA0004004422780000101
/>
the above encrypted authentication information is stored in the enumeration information of the initiator.
The second starting mode is that an android system window system service (system service B) is utilized, the system service B has receiving capability and a corresponding processing method for a specific USB device data instruction, after receiving an encryption starting signal sent by a smart phone, the USB starting device sends a data instruction corresponding to the target application starting unit to the system service B, and the system service B starts the target application starting unit; the target application starting unit completes device authentication and decryption, and opens a target application name configured in the starting device through system call.
The two starting modes are mutually complementary and independent, and most platforms support one or two starting modes. For a platform supporting only one of the starting modes, the first or second starting mode supported by the platform is used, and for a platform supported by both modes, the starting of the target application can be realized by synchronously and independently using the two starting modes.
The start code compatible with the mode in 2 is as follows:
Figure BDA0004004422780000102
Figure BDA0004004422780000111
if the intelligent television or the set top box supports 2 starting modes at the same time, the codes only process one type.
When the NFC card touches the smart phone, the starting device control unit is awakened and generates a starting signal to be sent to the USB starting device 2, and after the USB starting device 2 receives a starting instruction, a plurality of specific signals are sent to the android system and used for completing the starting of the target application starting unit, and then the target application starting unit starts the target application. Specific code for starting the target application is as follows, intentit=new Intent (Intentit. ACTION_MAIN);
ComponentName componentName = new ComponentName (target application package name, target application class name);
it.setComponent(componentName);
it.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
it.putExtra("tvOpen",1);
startActivity(it);
the code is responsible for starting a specific page of a specific target application, and the name of the target application package is derived from solidified content in the NFC card.
The two starting modes are simple and easy to implement, are irrelevant to television manufacturers and television models, and have high support rate, so that the intelligent televisions in stock and the intelligent televisions produced in future are commonly supported, and are independent of the television manufacturers and the set top box manufacturers. Therefore, the television application starting method has wide applicability to equipment, and greatly reduces the threshold of technical popularization.
According to the method and the device for rapidly starting the intelligent television application through the NFC card tag, the television application is started by one touch based on the starting mechanisms of the two starting modes, and the method and the device are easy to realize, so that a user can open the television application without complicated operation. In addition, the technical scheme of the invention does not need to carry out system signature on the target application starting unit 3 and the starting device control unit 1, does not need to add a system white list, does not need to realize starting up and does not need to be resident of service. The invention is applicable to all televisions, namely stock televisions and newly added televisions, and has wide applicability. The invention effectively overcomes various defects in the prior art and has high industrial utilization value.
It should be noted that, it should be understood that the division of the modules of the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated.
The convenient and fast function of one touch awakening greatly optimizes the user operation experience, does not need excessive hardware and system transformation in the implementation process, reduces the cost and improves the commercial value.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, it is intended that all equivalent modifications and variations of the invention be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.

Claims (10)

1. A method for rapidly starting intelligent television application through NFC card label is characterized in that the method comprises the following steps:
1) Setting an NFC card on a remote controller, and setting a USB starting device and a target application starting unit on a television and/or a set top box;
2) The method comprises the steps that a starting device control unit is arranged on the intelligent terminal, and when the NFC card touches the intelligent terminal, the starting device control unit is turned on to realize Bluetooth instruction transmission with the USB starting device;
3) The USB starting device controls the target application starting unit to start the target application in a first starting mode and/or a second starting mode;
the first starting mode is operated by using a USB system service of an android system, the USB starting device virtually performs a USB device plug event once in a mode of resetting the USB starting device after receiving a signal sent by a control unit of the starting device, device VID/PID information of the USB starting device is sent to the USB system service, and the USB system service controls starting according to whether the received VID/PID information of the USB device is matched with a preset configuration item in a target application starting unit;
the second mode works by using a window system service of an android system, and after receiving a starting signal sent by a starting device control unit, the USB starting device sends a USB device data instruction corresponding to the target application starting unit to the window system service, and the window system service starts the target application starting unit; the target application starting unit completes decryption authentication and opens a target application pre-configured in the target application starting unit.
2. The method for quickly starting the smart tv application via the NFC card tag according to claim 1, wherein the starting device control unit is a micro-letter applet installed on the mobile phone, the micro-letter applet registers a wake-up function of applying for the NFC card on a website of a micro-letter developer, and after the wake-up, executes a broadcast packet sent by the bluetooth search USB starting device, and sends a start control signal.
3. The method for quickly starting the smart television application through the NFC card tag according to claim 2, wherein the executing program of the WeChat applet is:
Figure FDA0004004422770000011
/>
Figure FDA0004004422770000021
4. the method for quickly starting the smart television application through the NFC card tag according to claim 1, wherein the starting device control unit is connected with the USB starting device in a Bluetooth GATT mode and is used for transmitting control instructions, and the USB starting device is connected with the television in a USB interface mode and is used for transmitting the instructions of the first starting mode and the instructions of the second starting mode to the target application starting unit.
5. The method for quickly starting the smart television application through the NFC card tag according to claim 1, wherein the starting program compatible with the first starting mode and the second starting mode is:
Figure FDA0004004422770000022
/>
Figure FDA0004004422770000031
6. the method for quickly starting the smart television application through the NFC card tag according to claim 1, wherein when the NFC card is touched on the smart phone, the starting device control unit is awakened, a starting signal is generated and sent to the USB starting device, and after the USB starting device receives a starting instruction, a plurality of specific signals are sent to the android system for completing the starting of the target application starting unit, and then the target application starting unit starts the target application; the program for starting the target application is as follows:
Intent it=new Intent(Intent.ACTION_MAIN);
ComponentName componentName=newComponentName;
it.setComponent(componentName);
it.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
it.putExtra("tvOpen",1);
startActivity(it)。
7. the method for quickly starting the smart tv application through the NFC card tag according to claim 1, wherein the target application starting unit completes device authentication, decryption, and opens a target application name configured in the USB starting device through an android system call; the decryption and authentication procedure is:
Figure FDA0004004422770000032
/>
Figure FDA0004004422770000041
8. the method for quickly starting the smart tv application via the NFC card tag according to claim 1, wherein the first starting mode and the second starting mode are independent of each other, and for a system supporting only one of the starting modes, the first starting mode or the second starting mode supported by the first starting mode or the second starting mode is used, and for a system supported by both modes, two starting modes can be synchronously and independently used to implement one-key starting.
9. The method for quickly starting the smart television application through the NFC card tag according to claim 1, wherein Bluetooth BLE connection is adopted between the smart terminal and the USB starting device.
10. A device for quickly starting a smart tv application through an NFC card tag, wherein the device is configured to implement a method for quickly starting a smart tv application through an NFC card tag according to any one of claims 1-9.
CN202211625840.8A 2022-12-16 2022-12-16 Method and device for rapidly starting intelligent television application through NFC card tag Pending CN116017008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211625840.8A CN116017008A (en) 2022-12-16 2022-12-16 Method and device for rapidly starting intelligent television application through NFC card tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211625840.8A CN116017008A (en) 2022-12-16 2022-12-16 Method and device for rapidly starting intelligent television application through NFC card tag

Publications (1)

Publication Number Publication Date
CN116017008A true CN116017008A (en) 2023-04-25

Family

ID=86018498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211625840.8A Pending CN116017008A (en) 2022-12-16 2022-12-16 Method and device for rapidly starting intelligent television application through NFC card tag

Country Status (1)

Country Link
CN (1) CN116017008A (en)

Similar Documents

Publication Publication Date Title
CN109862404B (en) Interaction method of smart television, storage medium and smart television
JP6857018B2 (en) A recording medium on which an electronic stamp system for enhanced security, its control method, and computer programs are recorded.
US9882915B2 (en) Device control method, device control system
EP3151507B1 (en) Methods and apparatuses for controlling device
US11979251B2 (en) Home device control method and device
KR102137673B1 (en) Application connection method and system using same method
EP2549678B1 (en) Method and apparatus for protecting software of mobile terminal
CN108648431B (en) Method and device for configuring functions of remote controller, terminal equipment and readable storage medium
US20150077231A1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN113055867A (en) Method and device for auxiliary network distribution of terminal and electronic equipment
KR20080053688A (en) Apparatus and method for remote control in portable terminal
CN108811179B (en) Wireless network connection method, device and storage medium
CN104869612A (en) Method and device for accessing network
US20100043052A1 (en) Apparatus and method for security management of user terminal
EP4050838B1 (en) Device sharing method and electronic device
US20190089693A1 (en) Systems and methods for authenticating internet-of-things devices
CN105228141A (en) A kind of methods, devices and systems set up network and connect
CN107358506A (en) Product customization method, apparatus and equipment for customizing
CN110351225B (en) Hardware device networking method and system, computing device and readable storage medium
CN116017008A (en) Method and device for rapidly starting intelligent television application through NFC card tag
CN113891161B (en) Method and device for starting application by one key
CN110865823A (en) Pre-installed application control method, pre-installed application control device and storage medium
CN114095295B (en) Intelligent doorbell information inheritance method, intelligent doorbell and computer readable storage medium
US20190037612A1 (en) Connecting method to an information capture device
CN111866617A (en) Terminal remote control method, parent terminal, child terminal, server and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination