WO2016008308A1 - Mobile terminal and set-top box pairing method and mobile terminal - Google Patents

Mobile terminal and set-top box pairing method and mobile terminal Download PDF

Info

Publication number
WO2016008308A1
WO2016008308A1 PCT/CN2015/073772 CN2015073772W WO2016008308A1 WO 2016008308 A1 WO2016008308 A1 WO 2016008308A1 CN 2015073772 W CN2015073772 W CN 2015073772W WO 2016008308 A1 WO2016008308 A1 WO 2016008308A1
Authority
WO
WIPO (PCT)
Prior art keywords
top box
mobile terminal
set top
user
pairing
Prior art date
Application number
PCT/CN2015/073772
Other languages
French (fr)
Chinese (zh)
Inventor
郑帅丽
王晓晖
Original Assignee
深圳创维数字技术有限公司
深圳市创维软件有限公司
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 深圳创维数字技术有限公司, 深圳市创维软件有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2016008308A1 publication Critical patent/WO2016008308A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present invention relates to the field of communications, and in particular, to a method for pairing a mobile terminal with a set top box and a mobile terminal.
  • DLNA Digital Living Network Alliance
  • the mobile terminal when the mobile terminal is paired with the specified set top box in the local area network through the DLNA technology, firstly, all the set top boxes in the local area network are searched, and then the designated set top box is selected and paired with the set top box list for displaying all the set top boxes.
  • the same name may appear in the list of set-top boxes displayed on the mobile terminal.
  • the user cannot know which name in the set-top box list represents the specified set-top box, and may select multiple times before selecting the designated set-top box and pairing it with the mobile terminal.
  • the prior art causes the user to select the operation of the specified set top box to cause interference, and reduces the pairing efficiency of the mobile terminal and the set top box, and the user experience is poor.
  • the embodiment of the invention provides a mobile terminal and a set top box and a mobile terminal, which can quickly and accurately establish a pairing between the mobile terminal and the set top box, save user time, improve the pairing efficiency of the mobile terminal and the set top box, and improve the user experience.
  • An embodiment of the present invention provides a method for pairing a mobile terminal and a set top box, which may include:
  • the display instruction carrying the identification identifier is sent to each set top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make The set top box displays the identification identifier on its display device;
  • sending the display instruction carrying the identification identifier to each set top box comprises:
  • the set top box pairing corresponding to the identification identifier selected by the user comprises:
  • the method further includes:
  • the UUID corresponding to the identification identifier selected by the user is saved.
  • the method further includes:
  • determining, according to the all UUIDs, whether there is a set top box paired with the mobile terminal comprises:
  • the method further includes:
  • the identification mark includes at least one of a character, a graphic, and an image.
  • the embodiment of the present invention further provides a mobile terminal, which may include:
  • the obtaining module is configured to obtain a unique universal identification code UUID of all set top boxes in the local area network;
  • a judging module configured to determine, according to the all UUIDs, whether there is a set top box that is paired with the mobile terminal, and is further configured to: when it is determined that the set top box that is paired with the mobile terminal does not exist, send a display prompt message to the sending module;
  • a sending module configured to send the display instruction carrying the identification identifier to each set-top box after receiving the display prompt message sent by the determining module, where the identification identifiers carried by the display instructions are different, Displaying instructions for causing the set top box to display the identification identifier on its display device;
  • a receiving module configured to receive a pairing command of the user, where the pairing command carries an identification identifier selected by the user;
  • the pairing module is configured to pair with the set top box corresponding to the identification identifier selected by the user.
  • the sending module includes:
  • a configuration unit configured to configure the identification identifier for the UUID
  • a generating unit configured to generate the display instruction that carries the identification identifier
  • a sending unit configured to send the display instruction to the set top box corresponding to the UUID.
  • the pairing module comprises:
  • a searching unit configured to search for a UUID corresponding to the identification identifier selected by the user
  • a pairing unit configured to pair with the set top box corresponding to the found UUID
  • the setting unit is configured to set the set top box corresponding to the found UUID as the current connection object.
  • the method further includes:
  • a saving module configured to save a UUID corresponding to the identification identifier selected by the user.
  • the method further includes:
  • the determining module is further configured to: when it is determined that the set top box that is paired with the mobile terminal exists, send a connection prompt message to the connection module;
  • the connection module is configured to establish a connection with the set top box that is paired with the mobile terminal after receiving the connection prompt message sent by the determining module, and set the set top box that the mobile terminal has paired as the current connection object.
  • the determining module is further configured to: use, according to the UUID stored in the mobile terminal, all the UUIDs obtained by comparing the UUIDs; When the UUID of the mobile terminal is described, it is confirmed that there is a set top box that is paired with the mobile terminal; and is further configured to: when the UUIDs stored in the mobile terminal are not included in the UUID, confirm that the non-existence and the A set-top box that the mobile terminal has paired.
  • the receiving module is further configured to receive a device parameter of the set top box corresponding to the identification identifier selected by the user;
  • a display module configured to display the device parameter to a user reference
  • the receiving module is further configured to receive a confirmation command that the user confirms pairing with a set top box corresponding to the identification identifier selected by the user;
  • the confirmation module is configured to confirm pairing with the set top box corresponding to the identification identifier selected by the user.
  • the identification mark includes at least one of a character, a graphic, and an image.
  • an embodiment of the present invention further provides a pairing system, which may include a mobile terminal and at least one set top box, where the mobile terminal and the at least one set top box are in the same local area network.
  • the mobile terminal is the foregoing mobile terminal
  • the at least one set top box is configured to receive a display instruction sent by the mobile terminal, and is further configured to display the identification identifier carried by the display instruction.
  • the embodiment of the invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, save user time, improve the pairing efficiency of the mobile terminal and the set top box, and improve the user experience.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for pairing a mobile terminal and a set top box according to the present invention
  • FIG. 2a is a schematic structural diagram of a first embodiment of a mobile terminal according to the present invention.
  • FIG. 2b is a schematic structural diagram of a second embodiment of a mobile terminal according to the present invention.
  • FIG. 2c is a schematic structural diagram of a third embodiment of a mobile terminal according to the present invention.
  • 2d is a schematic structural diagram of a fourth embodiment of a mobile terminal according to the present invention.
  • FIG. 2e is a schematic structural diagram of a fifth embodiment of a mobile terminal according to the present invention.
  • 2f is a schematic structural diagram of a sixth embodiment of a mobile terminal according to the present invention.
  • FIG. 3 is a schematic structural view of an embodiment of a pairing system according to the present invention.
  • FIG. 4 is a schematic flow chart of an embodiment of a pairing system of the present invention.
  • the embodiment of the invention supports the mobile terminal to establish a connection with the set top box selected by the user in a visual manner, thereby realizing resource interaction between the mobile terminal and the set top box.
  • An embodiment of the present invention provides a method for pairing a mobile terminal and a set top box, which may include: acquiring a unique universal identification code UUID of all set top boxes in the local area network; determining, according to the all UUIDs, whether there is a set top box paired with the mobile terminal; When the set-top box is paired with the mobile terminal, the display instruction carrying the identification identifier is sent to each set-top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make the set-top box Displaying the identification identifier on the display device; receiving a pairing command of the user, the pairing command carrying the identification identifier selected by the user; pairing with the set top box corresponding to the identification identifier selected by the user.
  • the embodiment of the invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, save user time, and improve the mobile terminal. Pairing efficiency with the set-top box to improve the user experience.
  • an embodiment of a method for pairing a mobile terminal and a set top box may include the following steps:
  • Step S110 acquiring a unique universal identification code UUID of all set top boxes in the local area network
  • Step S111 determining, according to all UUIDs, whether there is a set top box paired with the mobile terminal;
  • Step S112 when it is determined that there is no set top box paired with the mobile terminal, sending a display instruction carrying the identification identifier to each set top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make the set top box in the display device thereof. Displaying an identification mark on the top;
  • Step S113 receiving a pairing command of the user, where the pairing command carries the identification identifier selected by the user;
  • Step S114 pairing with the set top box corresponding to the identification identifier selected by the user.
  • the mobile terminal When the user wants to realize the pairing and connection between the mobile terminal and the specified set-top box, the mobile terminal first searches all the set-top boxes in the local area network, obtains the UUID of all the set-top boxes, and the name of the set-top box used to represent the set-top box, and then A list of all set-top box names is displayed to the user for selection by the user.
  • the name of the set-top box can be mutually repeated. Therefore, the list that the user sees on the mobile terminal may include multiple set-top boxes of the same name. Then, the user cannot know which set-top box on the list is intended for the current user.
  • the mobile terminal establishes a connected set top box. At this time, the judgment or connection can be made based on the acquired UUID.
  • the related information of the set-top box such as the parameters of the set-top box
  • the embodiment of the invention supports the mobile terminal to directly establish a connection with the last set-top box.
  • the set top box parameters may include a set top box UUID, a set top box IP address, an identification number, and the like.
  • determining whether the mobile terminal establishes a connection with the set top box in the local area network, and determining, according to the obtained UUID, determining whether the set top box that is paired with the mobile terminal according to all the UUIDs may include: saving the content on the mobile terminal UUID compares all UUIDs obtained; compares all UUIDs containing the UUID stored in the mobile terminal, confirms that there is a set top box paired with the mobile terminal; or compares all UUIDs without including the UUID stored in the mobile terminal When it is confirmed, there is no set top box that has been paired with the mobile terminal.
  • the set top box paired with the mobile terminal establishes a connection, and sets the set top box paired by the mobile terminal as the current connection object.
  • a set top box in the list may be selected to establish a connection with the mobile terminal, and a visual selection manner is provided in the embodiment of the present invention, as described above.
  • sending a display instruction carrying the identification identifier to each set top box may be implemented according to the following steps: configuring an identification identifier for the UUID; generating a display instruction carrying the identification identifier; and transmitting a display instruction Give the set-top box corresponding to the UUID.
  • the identification identifiers configured for each UUID are different to achieve the purpose of distinguishing the location of the set top box.
  • the user wants to implement an identification icon on the specified set top box paired with the mobile terminal, and the user inputs the identification identifier on the mobile terminal to specify
  • the operation of the user inputting the identification identifier is recognized by the mobile terminal as a pairing command carrying the identification identifier, and the pairing command is executed to be paired with the specified set-top box.
  • the specific implementation may include: searching for the identifier corresponding to the identifier selected by the user.
  • the UUID is paired with the set top box corresponding to the found UUID, and the set top box corresponding to the found UUID is set as the current connection object.
  • the identification identifier may also be used to obtain device parameters of the set top box, such as a set top box IP address, set top box configuration data, etc., the user inputs an identification identifier on the mobile terminal, and may also be recognized by the mobile terminal as a viewing set top box. After the mobile terminal detects that the user inputs an identification identifier, the mobile terminal can execute the viewing command, and display the set-top box device parameters obtained by the identification identifier to the user, for the user to refer to whether the mobile terminal and the set-top box are needed.
  • device parameters of the set top box such as a set top box IP address, set top box configuration data, etc.
  • Pairing when the user refers to the set-top box device parameter and decides to use the set-top box, it can be confirmed on the mobile terminal, so that the mobile terminal is paired with the set-top box: receiving the device parameter of the set-top box corresponding to the identification identifier selected by the user; displaying the device parameter to the user reference Receiving a confirmation command that the user confirms pairing with the set top box corresponding to the identification identifier selected by the user; and confirms that the set top box corresponding to the identification identifier selected by the user is paired.
  • the identification identifier mentioned in the embodiment of the present invention may be a character, a graphic, an image, or the like, and the characters may be numbers, letters, and symbols.
  • the identification identifier adopted by the embodiment of the present invention is used for a display device through a set top box To distinguish the set top box, as long as it is an identifier that can be used for this purpose, it can be an identification mark of the embodiment of the present invention.
  • the embodiment of the present invention may also send display instructions to all set top boxes in the local area network at different times, and may also select a partial UUID or a set top box corresponding to a UUID, and send a display instruction to a part or a set top box, so as to avoid the set top box. Interference: receiving selection information of some or all set top boxes in the selected local area network; configuring identification identifiers for selected UUIDs of some or all set top boxes; generating display instructions carrying identification marks; sending display instructions to set top boxes corresponding to UUIDs .
  • the embodiment of the present invention improves the purpose of accurately and efficiently pairing the mobile terminal with the set top box by sending a display command to the set top box in the local area network.
  • the embodiment of the present invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, thereby saving user time. Improve the pairing efficiency of mobile terminals and set-top boxes, and improve the user experience.
  • the embodiment of the present invention further provides a mobile terminal for pairing with a set top box, which may include: an obtaining module, configured to acquire a unique universal identification code UUID of all set top boxes in the local area network; and a determining module, configured to use, according to the all UUIDs Determining whether there is a set top box paired with the mobile terminal; and when determining that the set top box paired with the mobile terminal does not exist, sending a display prompt message to the sending module; and sending a module, configured to receive the sending by the determining module After the prompt message is displayed, the display instruction carrying the identification identifier is sent to each set top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make the set top box on its display device
  • the receiving module is configured to receive a pairing command of the user, where the pairing command carries the identification identifier selected by the user, and the pairing module is configured to pair with the set top box corresponding to the identification identifier selected by the user.
  • a mobile terminal provided by an embodiment of the present invention may include: an obtaining module 21, a determining module 22, a sending module 23, a receiving module 24, and a pairing module 25, which may be referred to together.
  • the mobile terminal of the embodiment of the present invention may further include a saving module 26, a connection module 27, a display module 28, and a confirmation module 29, wherein the sending module 23 may further include a configuration unit 231, and generate The unit 232 and the transmitting unit 233, the pairing module 25 may further include a searching unit 251, a pairing unit 252, and a setting unit 253, wherein:
  • the obtaining module 21 is configured to obtain a unique universal identification code UUID of all the set top boxes in the local area network;
  • the determining module 22 is configured to determine, according to all the UUIDs, whether there is a set top box that has been paired with the mobile terminal; and when it is determined that there is no set top box paired with the mobile terminal, send a display prompt message to the sending module 23;
  • the sending module 23 is configured to: after receiving the display prompt message sent by the determining module 22, send a display instruction carrying the identification identifier to each set top box, where the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make the set top box in the Displaying an identification mark on the display device;
  • the receiving module 24 is configured to receive a pairing command of the user, where the pairing command carries the identification identifier selected by the user;
  • the pairing module 25 is configured to pair with the set top box corresponding to the identification identifier selected by the user.
  • the mobile terminal When the user wants to realize the pairing and connection between the mobile terminal and the specified set-top box, the mobile terminal first searches all the set-top boxes in the local area network, obtains the UUID of all the set-top boxes, and the name of the set-top box used to represent the set-top box, and then A list of all set-top box names is displayed to the user for selection by the user.
  • the name of the set-top box can be mutually repeated. Therefore, the list that the user sees on the mobile terminal may include multiple set-top boxes of the same name. Then, the user cannot know which set-top box on the list is intended for the current user.
  • the mobile terminal establishes a connected set top box. At this time, the judgment or connection can be made based on the acquired UUID.
  • the related information of the set-top box such as the parameters of the set-top box
  • the embodiment of the invention supports the mobile terminal to directly establish a connection with the last set-top box.
  • the set top box parameters may include a set top box UUID, a set top box IP address, an identification number, and the like.
  • the determining module 22 of the embodiment of the present invention is further configured to use, according to the UUID stored in the UUID of the mobile terminal, to compare all the UUIDs, and to compare all the UUIDs included in the UUID stored in the mobile terminal. Confirming that there is a set top box paired with the mobile terminal; and also for comparing that all UUIDs do not include the UUID stored in the mobile terminal, confirming that there is no pairing with the mobile terminal The set-top box.
  • the sending module 23 in the embodiment of the present invention may be configured by the configuration unit 231, the generating unit 232, and the sending unit 233.
  • the sending operation of the display instruction :
  • the configuration unit 231 is configured to configure an identification identifier for the UUID, where the identification identifiers configured for each UUID are different, so as to achieve the purpose of distinguishing the location of the set top box;
  • a generating unit 232 configured to generate a display instruction carrying the identification identifier
  • the sending unit 233 is configured to send a display instruction to the set top box corresponding to the UUID.
  • the set top box when the set top box receives the display instruction and displays the identification identifier, the user wants to implement an identification icon on the designated set top box paired with the mobile terminal, and the user inputs the identifier on the mobile terminal.
  • the identification identifier is used to specify a specified set top box for pairing.
  • the operation of the user inputting the identification identifier will be recognized by the mobile terminal as a pairing command carrying the identification identifier.
  • the pairing module 25 may perform the pairing command.
  • the searching unit 251 is configured to search for a UUID corresponding to the identification identifier selected by the user;
  • the pairing unit 252 is configured to pair with the set top box corresponding to the found UUID;
  • the setting unit 253 is configured to set the set top box corresponding to the found UUID as the current connection object.
  • the mobile terminal according to the embodiment of the present invention may further include a saving module 26, configured to save a UUID corresponding to the identification identifier selected by the user, that is, save the device parameter of the currently connected set top box,
  • a saving module 26 configured to save a UUID corresponding to the identification identifier selected by the user, that is, save the device parameter of the currently connected set top box.
  • the determining module 22 determines that there is a set top box paired with the mobile terminal, establishing a connection with the set top box paired with the mobile terminal, and setting the set top box paired by the mobile terminal as the current connection object :
  • the determining module 22 is further configured to: when it is determined that there is a set top box paired with the mobile terminal, send a connection prompt message to the connection module 27;
  • the connection module 27 is configured to establish a connection with the set top box paired with the mobile terminal after receiving the connection prompt message sent by the determining module 22, and set the set top box paired by the mobile terminal as the current connection object.
  • the identification identifier may also be used to obtain device parameters of the set top box, such as a set top box IP address, set top box configuration data, etc., and the user inputs an identification identifier on the mobile terminal, and may also be moved.
  • the terminal is identified as a viewing command for viewing the parameters of the set-top box.
  • the mobile terminal can execute the viewing command, and display the parameters of the set-top box device acquired by the identification identifier to the user for reference by the user.
  • the mobile terminal needs to be paired with the set top box.
  • the user refers to the set top box device parameter and decides to use the set top box, the user can confirm on the mobile terminal to pair the mobile terminal with the set top box:
  • the receiving module 24 is further configured to receive device parameters of the set top box corresponding to the identification identifier selected by the user;
  • a display module 28 configured to display device parameters to a user reference
  • the receiving module 24 is further configured to receive a confirmation command that the user confirms pairing with the set top box corresponding to the identification identifier selected by the user;
  • the confirmation module 29 is configured to confirm that the set top box corresponding to the identification identifier selected by the user is paired.
  • the identification identifier mentioned in the embodiment of the present invention may be a character, a graphic, an image, or the like, and the characters may be numbers, letters, and symbols.
  • the identification identifier used in the embodiment of the present invention is used to distinguish the set-top box by the display device of the set-top box, and any identifier that can be used for the purpose can be the identification identifier of the embodiment of the present invention.
  • the embodiment of the present invention may also send display instructions to all set top boxes in the local area network at different times, and may also select a partial UUID or a set top box corresponding to a UUID, and send a display instruction to a part or a set top box, so as to avoid the set top box. Interference: receiving selection information of some or all set top boxes in the selected local area network; configuring identification identifiers for selected UUIDs of some or all set top boxes; generating display instructions carrying identification marks; sending display instructions to set top boxes corresponding to UUIDs .
  • the embodiment of the present invention improves the purpose of accurately and efficiently pairing the mobile terminal with the set top box by sending a display command to the set top box in the local area network.
  • the embodiment of the present invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, thereby saving user time. Improve the pairing efficiency of mobile terminals and set-top boxes, and improve the user experience.
  • an embodiment of the present invention further provides a pairing system, which may include a mobile terminal 31 and at least one set top box 32.
  • the mobile terminal 31 and the at least one set top box 32 are in the same local area network, and the mobile terminal 31 may be The mobile terminal shown in any one of FIG. 2a, FIG. 2b, FIG. 2c, FIG. 2d and FIG. 2e, the set top box 32 is configured to receive a display instruction sent by the mobile terminal 31, and is further configured to display an identification identifier carried by the display instruction.
  • the flowchart shows a specific implementation process of pairing between the mobile terminal and the set top box in the pairing system according to the embodiment of the present invention:
  • Step S410 the mobile terminal searches for a set top box device under the same local area network
  • Step S411 the mobile terminal determines whether the data in the database matches the set top box in the local area network; wherein, when the mobile terminal determines that the data in the database matches the set top box in the local area network, step S416 is continued; when the mobile terminal determines the data in the database and the local area network If the set top boxes in the system do not match, proceed to step S412;
  • Step S412 the mobile terminal generates a pairing number
  • Step S413 the mobile terminal sends the pairing number to the set top box
  • Step S414 the set top box displays the pairing number
  • Step S415 the mobile terminal receives the pairing number input by the user
  • step S416 the mobile terminal is set as the current connection object.
  • the identification identifier mentioned in the embodiment of the present invention may be a character, a graphic, an image, or the like, and the characters may be numbers, letters, and symbols.
  • the identification identifier used in the embodiment of the present invention is used to distinguish the set-top box by the display device of the set-top box, and any identifier that can be used for the purpose can be the identification identifier of the embodiment of the present invention.
  • the embodiment of the present invention may select some or all of the set top boxes in the local area network to send display instructions according to the user's selection, so as to avoid interference to the set top box: receiving selection information of some or all of the set top boxes in the local area network selected by the user;
  • the UUID corresponding to some or all of the selected set top boxes respectively configure an identification identifier; generate a display instruction carrying the identification identifier; and send a display instruction to the set top box corresponding to the UUID.
  • the embodiment of the present invention improves the purpose of accurately and efficiently pairing the mobile terminal with the set top box by sending a display command to the set top box in the local area network.
  • the embodiment of the present invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, thereby saving user time. Improve the efficiency of pairing mobile terminals and set-top boxes, High user experience.
  • Modules or units in the apparatus of the embodiments of the present invention may be combined, divided, and deleted according to actual needs.
  • the module or unit in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • Modules or units in the apparatus of the embodiments of the present invention may be combined, divided, and deleted according to actual needs.

Abstract

The embodiment of the present invention provides a mobile terminal and set-top box pairing method, wherein the method comprising: the Universally Unique Identifiers (UUIDs) of all set-top boxes in a local area network are obtained; whether there exists a set-top box paired with the mobile terminal is determined according to all of the UUIDs; when it is determined that the set-top box paired with the mobile terminal does not exist, display instructions carrying recognition identifiers are sent to each set-top box, wherein the recognition identifiers carried by each display instruction are different, and the display instruction is used for enabling the set-top box to display the recognition identifier on the display device thereof; a pairing command of a user is received, the pairing command carrying the recognition identifier selected by the user; and the pairing with the set-top box corresponding to the recognition identifier selected by the user is carried out. By the embodiment of the present invention, the pairing between the mobile terminal and the set-top box can be quickly and accurately built, the time of the user is saved, the efficiency of the pairing between the mobile terminal and the set-top box is enhanced, and the user experience is improved.

Description

一种移动终端与机顶盒的配对方法及移动终端Pairing method of mobile terminal and set top box and mobile terminal
本申请要求于2014年7月16日提交中国专利局、申请号为201410337756.5,发明名称为“一种移动终端与机顶盒的配对方法及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 201410337756.5, filed on July 16, 2014, the disclosure of which is hereby incorporated by reference. Combined in this application.
技术领域Technical field
本发明涉及通信领域,尤其涉及一种移动终端与机顶盒的配对方法及移动终端。The present invention relates to the field of communications, and in particular, to a method for pairing a mobile terminal with a set top box and a mobile terminal.
背景技术Background technique
随着科技的进步,移动终端的功能日益增强,智能机顶盒资源多样化,DLNA(Digital Living Network Alliance,数字终端互联解决方案)技术在移动终端、机顶盒之间实现了频率较高的应用,通过建立移动终端与机顶盒之间的配对连接,使移动终端可以作为遥控器控制机顶盒,还可以同机顶盒之间进行数据交互、资源共享。With the advancement of technology, the functions of mobile terminals are increasingly enhanced, and the resources of smart set-top boxes are diversified. DLNA (Digital Living Network Alliance) technology realizes high-frequency applications between mobile terminals and set-top boxes. The paired connection between the mobile terminal and the set top box enables the mobile terminal to control the set top box as a remote controller, and can also perform data interaction and resource sharing with the set top box.
现有技术中,移动终端通过DLNA技术在局域网中与指定机顶盒配对时,首先搜索局域网内所有机顶盒,再从用于展示所有机顶盒的机顶盒列表中选取出指定机顶盒并与之配对。In the prior art, when the mobile terminal is paired with the specified set top box in the local area network through the DLNA technology, firstly, all the set top boxes in the local area network are searched, and then the designated set top box is selected and paired with the set top box list for displaying all the set top boxes.
移动终端上显示的机顶盒列表中可能出现相同的名称,用户无法得知机顶盒列表中哪一个名称代表指定机顶盒,可能要多次选择后才能选择出指定机顶盒并使之与移动终端配对。现有技术给用户选择指定机顶盒的操作带来干扰,降低移动终端与机顶盒的配对效率,用户体验差。The same name may appear in the list of set-top boxes displayed on the mobile terminal. The user cannot know which name in the set-top box list represents the specified set-top box, and may select multiple times before selecting the designated set-top box and pairing it with the mobile terminal. The prior art causes the user to select the operation of the specified set top box to cause interference, and reduces the pairing efficiency of the mobile terminal and the set top box, and the user experience is poor.
发明内容Summary of the invention
本发明实施例提供一种移动终端与机顶盒的方法及移动终端,能够快速、准确地建立移动终端与机顶盒之间的配对,节省用户时间,提高移动终端与机顶盒的配对效率,提高用户体验。The embodiment of the invention provides a mobile terminal and a set top box and a mobile terminal, which can quickly and accurately establish a pairing between the mobile terminal and the set top box, save user time, improve the pairing efficiency of the mobile terminal and the set top box, and improve the user experience.
本发明实施例提供一种移动终端与机顶盒的配对方法,其可包括:An embodiment of the present invention provides a method for pairing a mobile terminal and a set top box, which may include:
获取局域网中所有机顶盒的唯一通用识别码UUID; Obtain a unique universal identification code UUID of all set top boxes in the local area network;
根据所述所有UUID判断是否存在与移动终端配对过的机顶盒;Determining, according to the all UUIDs, whether there is a set top box paired with the mobile terminal;
判断出不存在所述与移动终端配对过的机顶盒时,发送携带识别标识的显示指令给各个机顶盒,其中,各个所述显示指令携带的所述识别标识各不相同,所述显示指令用于使所述机顶盒在其显示设备上显示所述识别标识;When it is determined that the set top box that is paired with the mobile terminal does not exist, the display instruction carrying the identification identifier is sent to each set top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make The set top box displays the identification identifier on its display device;
接收用户的配对命令,所述配对命令携带用户选择的识别标识;Receiving a pairing command of the user, where the pairing command carries an identification identifier selected by the user;
与所述用户选择的识别标识所对应的机顶盒配对。Pairing with the set top box corresponding to the identification identifier selected by the user.
较佳地,发送携带识别标识的显示指令给各个机顶盒包括:Preferably, sending the display instruction carrying the identification identifier to each set top box comprises:
为所述UUID配置所述识别标识;Configuring the identification identifier for the UUID;
生成携带所述识别标识的所述显示指令;Generating the display instruction carrying the identification identifier;
发送所述显示指令给所述UUID所对应的所述机顶盒。Sending the display instruction to the set top box corresponding to the UUID.
较佳地,与所述用户选择的识别标识所对应的机顶盒配对包括:Preferably, the set top box pairing corresponding to the identification identifier selected by the user comprises:
查找所述用户选择的识别标识对应的UUID;Finding a UUID corresponding to the identification identifier selected by the user;
与所述查找出的UUID所对应的机顶盒配对,并设置所述查找出的UUID所对应的机顶盒为当前连接对象。Pairing with the set top box corresponding to the found UUID, and setting the set top box corresponding to the found UUID as the current connection object.
较佳地,与所述用户选择的识别标识所对应的机顶盒配对之后,还包括:Preferably, after pairing with the set top box corresponding to the identifier selected by the user, the method further includes:
保存所述用户选择的识别标识对应的UUID。The UUID corresponding to the identification identifier selected by the user is saved.
较佳地,根据所述所有UUID判断是否存在与移动终端配对过的机顶盒之后,还包括:Preferably, after determining, according to the all UUIDs, whether there is a set top box paired with the mobile terminal, the method further includes:
判断出存在所述与移动终端配对过的机顶盒时,与所述移动终端配对过的机顶盒建立连接,并设置所述移动终端配对过的机顶盒为当前连接对象。When it is determined that the set top box paired with the mobile terminal exists, establishing a connection with the set top box paired with the mobile terminal, and setting the set top box paired by the mobile terminal as the current connection object.
较佳地,根据所述所有UUID判断是否存在与移动终端配对过的机顶盒包括:Preferably, determining, according to the all UUIDs, whether there is a set top box paired with the mobile terminal comprises:
基于保存于所述移动终端的UUID比对获取到的所述所有UUID;And all the UUIDs acquired based on the UUIDs stored in the mobile terminal;
比对出所述所有UUID中包含所述保存于所述移动终端的UUID时,确认存在与所述移动终端配对过的机顶盒;或者,When comparing the UUIDs stored in the mobile terminal to all the UUIDs, confirm that there is a set top box paired with the mobile terminal; or
比对出所述所有UUID中不包含所述保存于所述移动终端的UUID时,确认不存在与所述移动终端配对过的机顶盒。When the UUID stored in the mobile terminal is not included in all the UUIDs, it is confirmed that there is no set top box paired with the mobile terminal.
较佳地,接收用户的配对命令之后,与所述用户选择的识别标识所对应的机顶盒配对之前,还包括: Preferably, before the pairing command of the user is received, before the pairing with the set-top box corresponding to the identifier selected by the user, the method further includes:
接收所述用户选择的识别标识所对应的机顶盒的设备参数;Receiving device parameters of the set top box corresponding to the identification identifier selected by the user;
显示所述设备参数给用户参考;Displaying the device parameters to the user for reference;
接收所述用户确认与所述用户选择的识别标识所对应的机顶盒进行配对的确认命令;Receiving, by the user, a confirmation command for pairing the set top box corresponding to the identification identifier selected by the user;
确认与所述用户选择的识别标识所对应的机顶盒进行配对。It is confirmed that the set top box corresponding to the identification identifier selected by the user is paired.
较佳地,所述识别标识包括字符、图形、图像中至少一种。Preferably, the identification mark includes at least one of a character, a graphic, and an image.
相应地,本发明实施例还提供一种移动终端,其可包括:Correspondingly, the embodiment of the present invention further provides a mobile terminal, which may include:
获取模块,用于获取局域网中所有机顶盒的唯一通用识别码UUID;The obtaining module is configured to obtain a unique universal identification code UUID of all set top boxes in the local area network;
判断模块,用于根据所述所有UUID判断是否存在与移动终端配对过的机顶盒;还用于判断出不存在所述与移动终端配对过的机顶盒时,发送显示提示消息给发送模块;a judging module, configured to determine, according to the all UUIDs, whether there is a set top box that is paired with the mobile terminal, and is further configured to: when it is determined that the set top box that is paired with the mobile terminal does not exist, send a display prompt message to the sending module;
发送模块,用于接收到所述判断模块发送的所述显示提示消息后,发送携带识别标识的显示指令给各个机顶盒,其中,各个所述显示指令携带的所述识别标识各不相同,所述显示指令用于使所述机顶盒在其显示设备上显示所述识别标识;a sending module, configured to send the display instruction carrying the identification identifier to each set-top box after receiving the display prompt message sent by the determining module, where the identification identifiers carried by the display instructions are different, Displaying instructions for causing the set top box to display the identification identifier on its display device;
接收模块,用于接收用户的配对命令,所述配对命令携带用户选择的识别标识;a receiving module, configured to receive a pairing command of the user, where the pairing command carries an identification identifier selected by the user;
配对模块,用于与所述用户选择的识别标识所对应的机顶盒配对。The pairing module is configured to pair with the set top box corresponding to the identification identifier selected by the user.
较佳地,所述发送模块包括:Preferably, the sending module includes:
配置单元,用于为所述UUID配置所述识别标识;a configuration unit, configured to configure the identification identifier for the UUID;
生成单元,用于生成携带所述识别标识的所述显示指令;a generating unit, configured to generate the display instruction that carries the identification identifier;
发送单元,用于发送所述显示指令给所述UUID所对应的所述机顶盒。And a sending unit, configured to send the display instruction to the set top box corresponding to the UUID.
较佳地,所述配对模块包括:Preferably, the pairing module comprises:
查找单元,用于查找所述用户选择的识别标识对应的UUID;a searching unit, configured to search for a UUID corresponding to the identification identifier selected by the user;
配对单元,用于与所述查找出的UUID所对应的机顶盒配对;a pairing unit, configured to pair with the set top box corresponding to the found UUID;
设置单元,用于设置所述查找出的UUID所对应的机顶盒为当前连接对象。The setting unit is configured to set the set top box corresponding to the found UUID as the current connection object.
较佳地,还包括:Preferably, the method further includes:
保存模块,用于保存所述用户选择的识别标识对应的UUID。 And a saving module, configured to save a UUID corresponding to the identification identifier selected by the user.
较佳地,还包括:Preferably, the method further includes:
所述判断模块,还用于判断出存在所述与移动终端配对过的机顶盒时,发送连接提示消息给连接模块;The determining module is further configured to: when it is determined that the set top box that is paired with the mobile terminal exists, send a connection prompt message to the connection module;
连接模块,用于接收到所述判断模块发送的所述连接提示消息后,与所述移动终端配对过的机顶盒建立连接,并设置所述移动终端配对过的机顶盒为当前连接对象。The connection module is configured to establish a connection with the set top box that is paired with the mobile terminal after receiving the connection prompt message sent by the determining module, and set the set top box that the mobile terminal has paired as the current connection object.
较佳地,所述判断模块,还用于用于基于保存于所述移动终端的UUID比对获取到的所述所有UUID;还用于比对出所述所有UUID中包含所述保存于所述移动终端的UUID时,确认存在与所述移动终端配对过的机顶盒;还用于比对出所述所有UUID中不包含所述保存于所述移动终端的UUID时,确认不存在与所述移动终端配对过的机顶盒。Preferably, the determining module is further configured to: use, according to the UUID stored in the mobile terminal, all the UUIDs obtained by comparing the UUIDs; When the UUID of the mobile terminal is described, it is confirmed that there is a set top box that is paired with the mobile terminal; and is further configured to: when the UUIDs stored in the mobile terminal are not included in the UUID, confirm that the non-existence and the A set-top box that the mobile terminal has paired.
较佳地,所述接收模块,还用于接收所述用户选择的识别标识所对应的机顶盒的设备参数;Preferably, the receiving module is further configured to receive a device parameter of the set top box corresponding to the identification identifier selected by the user;
还包括:Also includes:
显示模块,用于显示所述设备参数给用户参考;a display module, configured to display the device parameter to a user reference;
所述接收模块,还用于接收所述用户确认与所述用户选择的识别标识所对应的机顶盒进行配对的确认命令;The receiving module is further configured to receive a confirmation command that the user confirms pairing with a set top box corresponding to the identification identifier selected by the user;
确认模块,用于确认与所述用户选择的识别标识所对应的机顶盒进行配对。The confirmation module is configured to confirm pairing with the set top box corresponding to the identification identifier selected by the user.
较佳地,所述识别标识包括字符、图形、图像中至少一种。Preferably, the identification mark includes at least one of a character, a graphic, and an image.
相应地,本发明实施例还提供一种配对系统,其可包括移动终端和至少一个机顶盒,所述移动终端和所述至少一个机顶盒处于同一局域网中,Correspondingly, an embodiment of the present invention further provides a pairing system, which may include a mobile terminal and at least one set top box, where the mobile terminal and the at least one set top box are in the same local area network.
所述移动终端,为前述的移动终端;The mobile terminal is the foregoing mobile terminal;
所述至少一个机顶盒,用于接收移动终端发送的显示指令;还用于显示所述显示指令携带的所述识别标识。The at least one set top box is configured to receive a display instruction sent by the mobile terminal, and is further configured to display the identification identifier carried by the display instruction.
本发明实施例能够快速、准确地建立移动终端与机顶盒之间的配对,节省用户时间,提高移动终端与机顶盒的配对效率,提高用户体验。The embodiment of the invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, save user time, improve the pairing efficiency of the mobile terminal and the set top box, and improve the user experience.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明的移动终端与机顶盒的配对方法的一实施例流程示意图;1 is a schematic flow chart of an embodiment of a method for pairing a mobile terminal and a set top box according to the present invention;
图2a为本发明的移动终端的第一实施例结构示意图;2a is a schematic structural diagram of a first embodiment of a mobile terminal according to the present invention;
图2b为本发明的移动终端的第二实施例结构示意图;2b is a schematic structural diagram of a second embodiment of a mobile terminal according to the present invention;
图2c为本发明的移动终端的第三实施例结构示意图;2c is a schematic structural diagram of a third embodiment of a mobile terminal according to the present invention;
图2d为本发明的移动终端的第四实施例结构示意图;2d is a schematic structural diagram of a fourth embodiment of a mobile terminal according to the present invention;
图2e为本发明的移动终端的第五实施例结构示意图;2e is a schematic structural diagram of a fifth embodiment of a mobile terminal according to the present invention;
图2f为本发明的移动终端的第六实施例结构示意图;2f is a schematic structural diagram of a sixth embodiment of a mobile terminal according to the present invention;
图3为本发明的一种配对系统的实施例结构示意图;3 is a schematic structural view of an embodiment of a pairing system according to the present invention;
图4为本发明的一种配对系统的一实施例流程示意图。4 is a schematic flow chart of an embodiment of a pairing system of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例通过可视化方式,支持移动终端准确地与用户选择的机顶盒建立连接,实现移动终端与机顶盒之间的资源交互。The embodiment of the invention supports the mobile terminal to establish a connection with the set top box selected by the user in a visual manner, thereby realizing resource interaction between the mobile terminal and the set top box.
本发明实施例提供一种移动终端与机顶盒的配对方法,其可包括:获取局域网中所有机顶盒的唯一通用识别码UUID;根据所述所有UUID判断是否存在与移动终端配对过的机顶盒;判断出不存在所述与移动终端配对过的机顶盒时,发送携带识别标识的显示指令给各个机顶盒,其中,各个所述显示指令携带的所述识别标识各不相同,所述显示指令用于使所述机顶盒在其显示设备上显示所述识别标识;接收用户的配对命令,所述配对命令携带用户选择的识别标识;与所述用户选择的识别标识所对应的机顶盒配对。本发明实施例能够快速、准确地建立移动终端与机顶盒之间的配对,节省用户时间,提高移动终端 与机顶盒的配对效率,提高用户体验。An embodiment of the present invention provides a method for pairing a mobile terminal and a set top box, which may include: acquiring a unique universal identification code UUID of all set top boxes in the local area network; determining, according to the all UUIDs, whether there is a set top box paired with the mobile terminal; When the set-top box is paired with the mobile terminal, the display instruction carrying the identification identifier is sent to each set-top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make the set-top box Displaying the identification identifier on the display device; receiving a pairing command of the user, the pairing command carrying the identification identifier selected by the user; pairing with the set top box corresponding to the identification identifier selected by the user. The embodiment of the invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, save user time, and improve the mobile terminal. Pairing efficiency with the set-top box to improve the user experience.
下面结合附图及具体实施方式,对本发明实施例的技术方案进行详细说明。The technical solutions of the embodiments of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments.
如图1所示,本发明提供的一种移动终端与机顶盒的配对方法的一实施例可以包括以下步骤:As shown in FIG. 1 , an embodiment of a method for pairing a mobile terminal and a set top box provided by the present invention may include the following steps:
步骤S110,获取局域网中所有机顶盒的唯一通用识别码UUID;Step S110, acquiring a unique universal identification code UUID of all set top boxes in the local area network;
步骤S111,根据所有UUID判断是否存在与移动终端配对过的机顶盒;Step S111, determining, according to all UUIDs, whether there is a set top box paired with the mobile terminal;
步骤S112,判断出不存在与移动终端配对过的机顶盒时,发送携带识别标识的显示指令给各个机顶盒,其中,各个显示指令携带的识别标识各不相同,显示指令用于使机顶盒在其显示设备上显示识别标识;Step S112, when it is determined that there is no set top box paired with the mobile terminal, sending a display instruction carrying the identification identifier to each set top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make the set top box in the display device thereof. Displaying an identification mark on the top;
步骤S113,接收用户的配对命令,配对命令携带用户选择的识别标识;Step S113, receiving a pairing command of the user, where the pairing command carries the identification identifier selected by the user;
步骤S114,与用户选择的识别标识所对应的机顶盒配对。Step S114, pairing with the set top box corresponding to the identification identifier selected by the user.
局域网中存在多个机顶盒,用户想要实现移动终端与指定的机顶盒之间的配对及连接时,移动终端首先搜索局域网中所有机顶盒,获取所有机顶盒的UUID和用于代表机顶盒的机顶盒名称,再将包含所有机顶盒名称的列表显示给用户,供用户选择。具体实现中,机顶盒名称是可以相互重复的,故用户在移动终端上看到的列表中可能包含多个同一名称的机顶盒,那么,用户无法得知列表上哪个机顶盒为当前用户想要用来与移动终端建立连接的机顶盒。此时,可根据获取到的UUID来进行判断或连接。There are multiple set-top boxes in the local area network. When the user wants to realize the pairing and connection between the mobile terminal and the specified set-top box, the mobile terminal first searches all the set-top boxes in the local area network, obtains the UUID of all the set-top boxes, and the name of the set-top box used to represent the set-top box, and then A list of all set-top box names is displayed to the user for selection by the user. In a specific implementation, the name of the set-top box can be mutually repeated. Therefore, the list that the user sees on the mobile terminal may include multiple set-top boxes of the same name. Then, the user cannot know which set-top box on the list is intended for the current user. The mobile terminal establishes a connected set top box. At this time, the judgment or connection can be made based on the acquired UUID.
具体实施中,移动终端与机顶盒建立过配对连接后,可保存机顶盒的相关信息,如机顶盒参数等,本发明实施例支持移动终端直接与上一次配对过的机顶盒建立连接。机顶盒参数可以包括机顶盒UUID、机顶盒IP地址、以及识别标识等等。In a specific implementation, after the mobile terminal establishes a paired connection with the set-top box, the related information of the set-top box, such as the parameters of the set-top box, can be saved. The embodiment of the invention supports the mobile terminal to directly establish a connection with the last set-top box. The set top box parameters may include a set top box UUID, a set top box IP address, an identification number, and the like.
进一步可选地,判断移动终端是否与局域网中的机顶盒建立连接,可以根据获取到的UUID来判断,根据所有UUID判断是否存在与移动终端配对过的机顶盒具体实施可包括:基于保存于移动终端的UUID比对获取到的所有UUID;比对出所有UUID中包含保存于移动终端的UUID时,确认存在与移动终端配对过的机顶盒;或者,比对出所有UUID中不包含保存于移动终端的UUID时,确认不存在与移动终端配对过的机顶盒。 Further, optionally, determining whether the mobile terminal establishes a connection with the set top box in the local area network, and determining, according to the obtained UUID, determining whether the set top box that is paired with the mobile terminal according to all the UUIDs may include: saving the content on the mobile terminal UUID compares all UUIDs obtained; compares all UUIDs containing the UUID stored in the mobile terminal, confirms that there is a set top box paired with the mobile terminal; or compares all UUIDs without including the UUID stored in the mobile terminal When it is confirmed, there is no set top box that has been paired with the mobile terminal.
进一步可选地,当移动终端判断出存在与移动终端配对过的机顶盒时,与移动终端配对过的机顶盒建立连接,并设置移动终端配对过的机顶盒为当前连接对象。Further optionally, when the mobile terminal determines that there is a set top box paired with the mobile terminal, the set top box paired with the mobile terminal establishes a connection, and sets the set top box paired by the mobile terminal as the current connection object.
进一步可选地,当移动终端判断出不存在与移动终端配对过的机顶盒时,可以选择列表中的一个机顶盒与移动终端建立连接,本发明实施例给出了一种可视化的选择方式,如前述的内容,判断出不存在与移动终端配对过的机顶盒后,发送携带识别标识的显示指令给各个机顶盒可以按照以下步骤具体实施:为UUID配置识别标识;生成携带识别标识的显示指令;发送显示指令给UUID所对应的机顶盒。其中,为各个UUID配置的识别标识各不相同,以达到区分机顶盒位置的目的。Further, optionally, when the mobile terminal determines that there is no set top box paired with the mobile terminal, a set top box in the list may be selected to establish a connection with the mobile terminal, and a visual selection manner is provided in the embodiment of the present invention, as described above. After determining that there is no set top box paired with the mobile terminal, sending a display instruction carrying the identification identifier to each set top box may be implemented according to the following steps: configuring an identification identifier for the UUID; generating a display instruction carrying the identification identifier; and transmitting a display instruction Give the set-top box corresponding to the UUID. The identification identifiers configured for each UUID are different to achieve the purpose of distinguishing the location of the set top box.
进一步可选地,当机顶盒接收到显示指令,并显示识别标识后,用户想要实现与移动终端配对的指定机顶盒上会显示一个识别标识,用户会在移动终端上输入这个识别标识,来指定用于配对的指定机顶盒,用户输入识别标识的操作将会被移动终端识别为携带识别标识的配对命令,并执行该配对命令,与指定机顶盒配对,具体实施可以包括:查找用户选择的识别标识对应的UUID;与查找出的UUID所对应的机顶盒配对,并设置查找出的UUID所对应的机顶盒为当前连接对象。Further optionally, after the set top box receives the display instruction and displays the identification identifier, the user wants to implement an identification icon on the specified set top box paired with the mobile terminal, and the user inputs the identification identifier on the mobile terminal to specify In the paired designated set-top box, the operation of the user inputting the identification identifier is recognized by the mobile terminal as a pairing command carrying the identification identifier, and the pairing command is executed to be paired with the specified set-top box. The specific implementation may include: searching for the identifier corresponding to the identifier selected by the user. The UUID is paired with the set top box corresponding to the found UUID, and the set top box corresponding to the found UUID is set as the current connection object.
进一步可选地,识别标识还可以用于获取机顶盒的设备参数,如机顶盒IP地址、机顶盒配置数据等等,用户在移动终端上输入识别标识的操作,还可以被移动终端识别为一种查看机顶盒参数的查看命令,当移动终端检测到用户输入了一个识别标识后,移动终端可以执行查看命令,并将识别标识获取到的机顶盒设备参数显示给用户,供用户参考是否需要将移动终端与这个机顶盒配对,用户参考了机顶盒设备参数决定使用这个机顶盒时,可以再在移动终端上确认,使移动终端与该机顶盒配对:接收用户选择的识别标识所对应的机顶盒的设备参数;显示设备参数给用户参考;接收用户确认与用户选择的识别标识所对应的机顶盒进行配对的确认命令;确认与用户选择的识别标识所对应的机顶盒进行配对。Further, the identification identifier may also be used to obtain device parameters of the set top box, such as a set top box IP address, set top box configuration data, etc., the user inputs an identification identifier on the mobile terminal, and may also be recognized by the mobile terminal as a viewing set top box. After the mobile terminal detects that the user inputs an identification identifier, the mobile terminal can execute the viewing command, and display the set-top box device parameters obtained by the identification identifier to the user, for the user to refer to whether the mobile terminal and the set-top box are needed. Pairing, when the user refers to the set-top box device parameter and decides to use the set-top box, it can be confirmed on the mobile terminal, so that the mobile terminal is paired with the set-top box: receiving the device parameter of the set-top box corresponding to the identification identifier selected by the user; displaying the device parameter to the user reference Receiving a confirmation command that the user confirms pairing with the set top box corresponding to the identification identifier selected by the user; and confirms that the set top box corresponding to the identification identifier selected by the user is paired.
本发明实施例中提及的识别标识可以为字符、图形、图像等,字符可以为数字、字母、符号。本发明实施例采用的识别标识用于通过机顶盒的显示设备 来区分机顶盒,只要是可以作此用途的标识,均可以成为本发明实施例的识别标识。The identification identifier mentioned in the embodiment of the present invention may be a character, a graphic, an image, or the like, and the characters may be numbers, letters, and symbols. The identification identifier adopted by the embodiment of the present invention is used for a display device through a set top box To distinguish the set top box, as long as it is an identifier that can be used for this purpose, it can be an identification mark of the embodiment of the present invention.
进一步可选的,本发明实施例也可以不同时给局域网内所有的机顶盒发送显示指令,还可以选取部分UUID或一个UUID所对应的机顶盒、发送显示指令给部分或一个机顶盒,这样可以避免对机顶盒的干扰:接收用户选择的局域网中部分或全部机顶盒的选择信息;为选择出的部分或全部机顶盒所对应UUID分别配置识别标识;生成携带识别标识的显示指令;发送显示指令给UUID所对应的机顶盒。Further, the embodiment of the present invention may also send display instructions to all set top boxes in the local area network at different times, and may also select a partial UUID or a set top box corresponding to a UUID, and send a display instruction to a part or a set top box, so as to avoid the set top box. Interference: receiving selection information of some or all set top boxes in the selected local area network; configuring identification identifiers for selected UUIDs of some or all set top boxes; generating display instructions carrying identification marks; sending display instructions to set top boxes corresponding to UUIDs .
本发明实施例通过发送显示指令给局域网内的机顶盒,来提高移动终端与机顶盒准确、高效配对的目的,本发明实施例能够快速、准确地建立移动终端与机顶盒之间的配对,节省用户时间,提高移动终端与机顶盒的配对效率,提高用户体验。The embodiment of the present invention improves the purpose of accurately and efficiently pairing the mobile terminal with the set top box by sending a display command to the set top box in the local area network. The embodiment of the present invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, thereby saving user time. Improve the pairing efficiency of mobile terminals and set-top boxes, and improve the user experience.
相应地,本发明实施例还提供一种移动终端用于与机顶盒配对,其可包括:获取模块,用于获取局域网中所有机顶盒的唯一通用识别码UUID;判断模块,用于根据所述所有UUID判断是否存在与移动终端配对过的机顶盒;还用于判断出不存在所述与移动终端配对过的机顶盒时,发送显示提示消息给发送模块;发送模块,用于接收到所述判断模块发送的所述显示提示消息后,发送携带识别标识的显示指令给各个机顶盒,其中,各个所述显示指令携带的所述识别标识各不相同,所述显示指令用于使所述机顶盒在其显示设备上显示所述识别标识;接收模块,用于接收用户的配对命令,所述配对命令携带用户选择的识别标识;配对模块,用于与所述用户选择的识别标识所对应的机顶盒配对。本发明实施例提供的移动终端能够快速、准确地与机顶盒的配对以及建立连接,节省用户时间,提高移动终端与机顶盒的配对效率,提高用户体验。Correspondingly, the embodiment of the present invention further provides a mobile terminal for pairing with a set top box, which may include: an obtaining module, configured to acquire a unique universal identification code UUID of all set top boxes in the local area network; and a determining module, configured to use, according to the all UUIDs Determining whether there is a set top box paired with the mobile terminal; and when determining that the set top box paired with the mobile terminal does not exist, sending a display prompt message to the sending module; and sending a module, configured to receive the sending by the determining module After the prompt message is displayed, the display instruction carrying the identification identifier is sent to each set top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make the set top box on its display device The receiving module is configured to receive a pairing command of the user, where the pairing command carries the identification identifier selected by the user, and the pairing module is configured to pair with the set top box corresponding to the identification identifier selected by the user. The mobile terminal provided by the embodiment of the invention can quickly and accurately pair with the set top box and establish a connection, save user time, improve the pairing efficiency of the mobile terminal and the set top box, and improve the user experience.
下面结合附图及具体实施方式,对本发明实施例中装置的技术方案进行详细说明。The technical solutions of the device in the embodiments of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments.
如图2a所示,本发明实施例提供的一种移动终端,其可包括:获取模块21、判断模块22、发送模块23、接收模块24和配对模块25,可以一并参照 图2b至图2f所示的设备,本发明实施例的移动终端还可以进一步包括保存模块26、连接模块27、显示模块28和确认模块29,其中,发送模块23可以进一步包括配置单元231、生成单元232和发送单元233,配对模块25可以进一步包括查找单元251、配对单元252和设置单元253,其中:As shown in FIG. 2a, a mobile terminal provided by an embodiment of the present invention may include: an obtaining module 21, a determining module 22, a sending module 23, a receiving module 24, and a pairing module 25, which may be referred to together. The mobile terminal of the embodiment of the present invention may further include a saving module 26, a connection module 27, a display module 28, and a confirmation module 29, wherein the sending module 23 may further include a configuration unit 231, and generate The unit 232 and the transmitting unit 233, the pairing module 25 may further include a searching unit 251, a pairing unit 252, and a setting unit 253, wherein:
获取模块21,用于获取局域网中所有机顶盒的唯一通用识别码UUID;The obtaining module 21 is configured to obtain a unique universal identification code UUID of all the set top boxes in the local area network;
判断模块22,用于根据所有UUID判断是否存在与移动终端配对过的机顶盒;还用于判断出不存在与移动终端配对过的机顶盒时,发送显示提示消息给发送模块23;The determining module 22 is configured to determine, according to all the UUIDs, whether there is a set top box that has been paired with the mobile terminal; and when it is determined that there is no set top box paired with the mobile terminal, send a display prompt message to the sending module 23;
发送模块23,用于接收到判断模块22发送的显示提示消息后,发送携带识别标识的显示指令给各个机顶盒,其中,各个显示指令携带的识别标识各不相同,显示指令用于使机顶盒在其显示设备上显示识别标识;The sending module 23 is configured to: after receiving the display prompt message sent by the determining module 22, send a display instruction carrying the identification identifier to each set top box, where the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make the set top box in the Displaying an identification mark on the display device;
接收模块24,用于接收用户的配对命令,配对命令携带用户选择的识别标识;The receiving module 24 is configured to receive a pairing command of the user, where the pairing command carries the identification identifier selected by the user;
配对模块25,用于与用户选择的识别标识所对应的机顶盒配对。The pairing module 25 is configured to pair with the set top box corresponding to the identification identifier selected by the user.
局域网中存在多个机顶盒,用户想要实现移动终端与指定的机顶盒之间的配对及连接时,移动终端首先搜索局域网中所有机顶盒,获取所有机顶盒的UUID和用于代表机顶盒的机顶盒名称,再将包含所有机顶盒名称的列表显示给用户,供用户选择。具体实现中,机顶盒名称是可以相互重复的,故用户在移动终端上看到的列表中可能包含多个同一名称的机顶盒,那么,用户无法得知列表上哪个机顶盒为当前用户想要用来与移动终端建立连接的机顶盒。此时,可根据获取到的UUID来进行判断或连接。There are multiple set-top boxes in the local area network. When the user wants to realize the pairing and connection between the mobile terminal and the specified set-top box, the mobile terminal first searches all the set-top boxes in the local area network, obtains the UUID of all the set-top boxes, and the name of the set-top box used to represent the set-top box, and then A list of all set-top box names is displayed to the user for selection by the user. In a specific implementation, the name of the set-top box can be mutually repeated. Therefore, the list that the user sees on the mobile terminal may include multiple set-top boxes of the same name. Then, the user cannot know which set-top box on the list is intended for the current user. The mobile terminal establishes a connected set top box. At this time, the judgment or connection can be made based on the acquired UUID.
具体实施中,移动终端与机顶盒建立过配对连接后,可保存机顶盒的相关信息,如机顶盒参数等,本发明实施例支持移动终端直接与上一次配对过的机顶盒建立连接。机顶盒参数可以包括机顶盒UUID、机顶盒IP地址、以及识别标识等等。In a specific implementation, after the mobile terminal establishes a paired connection with the set-top box, the related information of the set-top box, such as the parameters of the set-top box, can be saved. The embodiment of the invention supports the mobile terminal to directly establish a connection with the last set-top box. The set top box parameters may include a set top box UUID, a set top box IP address, an identification number, and the like.
进一步可选地,本发明实施例的判断模块22还用于用于基于保存于移动终端的UUID比对获取到的所有UUID;还用于比对出所有UUID中包含保存于移动终端的UUID时,确认存在与移动终端配对过的机顶盒;还用于比对出所有UUID中不包含保存于移动终端的UUID时,确认不存在与移动终端配对 过的机顶盒。Further, optionally, the determining module 22 of the embodiment of the present invention is further configured to use, according to the UUID stored in the UUID of the mobile terminal, to compare all the UUIDs, and to compare all the UUIDs included in the UUID stored in the mobile terminal. Confirming that there is a set top box paired with the mobile terminal; and also for comparing that all UUIDs do not include the UUID stored in the mobile terminal, confirming that there is no pairing with the mobile terminal The set-top box.
进一步可选地,可一并参照图2b,当移动终端判断出不存在与移动终端配对过的机顶盒时,本发明实施例中发送模块23可以通过配置单元231、生成单元232和发送单元233来实现显示指令的发送操作:Further, optionally, referring to FIG. 2b, when the mobile terminal determines that there is no set top box paired with the mobile terminal, the sending module 23 in the embodiment of the present invention may be configured by the configuration unit 231, the generating unit 232, and the sending unit 233. Implement the sending operation of the display instruction:
配置单元231,用于为UUID配置识别标识;其中,为各个UUID配置的识别标识各不相同,以达到区分机顶盒位置的目的;The configuration unit 231 is configured to configure an identification identifier for the UUID, where the identification identifiers configured for each UUID are different, so as to achieve the purpose of distinguishing the location of the set top box;
生成单元232,用于生成携带识别标识的显示指令;a generating unit 232, configured to generate a display instruction carrying the identification identifier;
发送单元233,用于发送显示指令给UUID所对应的机顶盒。The sending unit 233 is configured to send a display instruction to the set top box corresponding to the UUID.
进一步可选地,可一并参照图2c,当机顶盒接收到显示指令,并显示识别标识后,用户想要实现与移动终端配对的指定机顶盒上会显示一个识别标识,用户会在移动终端上输入这个识别标识,来指定用于配对的指定机顶盒,用户输入识别标识的操作将会被移动终端识别为携带识别标识的配对命令,配对模块25执行配对命令可以包括:Further, optionally, referring to FIG. 2c, when the set top box receives the display instruction and displays the identification identifier, the user wants to implement an identification icon on the designated set top box paired with the mobile terminal, and the user inputs the identifier on the mobile terminal. The identification identifier is used to specify a specified set top box for pairing. The operation of the user inputting the identification identifier will be recognized by the mobile terminal as a pairing command carrying the identification identifier. The pairing module 25 may perform the pairing command.
查找单元251,用于查找用户选择的识别标识对应的UUID;The searching unit 251 is configured to search for a UUID corresponding to the identification identifier selected by the user;
配对单元252,用于与查找出的UUID所对应的机顶盒配对;The pairing unit 252 is configured to pair with the set top box corresponding to the found UUID;
设置单元253,用于设置查找出的UUID所对应的机顶盒为当前连接对象。The setting unit 253 is configured to set the set top box corresponding to the found UUID as the current connection object.
进一步可选地,可一并参照图2d,本发明实施例的移动终端还可以进一步包括保存模块26,用于保存用户选择的识别标识对应的UUID,即保存当前连接的机顶盒的设备参数,在移动终端再次搜索局域网中的机顶盒时,可根据保存的UUID确认存在与移动终端配对过的机顶盒,移动终端可直接与该机顶盒连接。Further, optionally, the mobile terminal according to the embodiment of the present invention may further include a saving module 26, configured to save a UUID corresponding to the identification identifier selected by the user, that is, save the device parameter of the currently connected set top box, When the mobile terminal searches for the set top box in the local area network again, it can confirm that there is a set top box paired with the mobile terminal according to the saved UUID, and the mobile terminal can directly connect with the set top box.
进一步可选地,可一并参照图2e,当判断模块22判断出存在与移动终端配对过的机顶盒时,与移动终端配对过的机顶盒建立连接,并设置移动终端配对过的机顶盒为当前连接对象:Further, optionally, referring to FIG. 2e, when the determining module 22 determines that there is a set top box paired with the mobile terminal, establishing a connection with the set top box paired with the mobile terminal, and setting the set top box paired by the mobile terminal as the current connection object :
判断模块22,还用于判断出存在与移动终端配对过的机顶盒时,发送连接提示消息给连接模块27;The determining module 22 is further configured to: when it is determined that there is a set top box paired with the mobile terminal, send a connection prompt message to the connection module 27;
连接模块27,用于接收到判断模块22发送的连接提示消息后,与移动终端配对过的机顶盒建立连接,并设置移动终端配对过的机顶盒为当前连接对象。 The connection module 27 is configured to establish a connection with the set top box paired with the mobile terminal after receiving the connection prompt message sent by the determining module 22, and set the set top box paired by the mobile terminal as the current connection object.
进一步可选地,可一并参照图2f,识别标识还可以用于获取机顶盒的设备参数,如机顶盒IP地址、机顶盒配置数据等等,用户在移动终端上输入识别标识的操作,还可以被移动终端识别为一种查看机顶盒参数的查看命令,当移动终端检测到用户输入了一个识别标识后,移动终端可以执行查看命令,并将识别标识获取到的机顶盒设备参数显示给用户,供用户参考是否需要将移动终端与这个机顶盒配对,用户参考了机顶盒设备参数决定使用这个机顶盒时,可以再在移动终端上确认,使移动终端与该机顶盒配对:Further, optionally, referring to FIG. 2f, the identification identifier may also be used to obtain device parameters of the set top box, such as a set top box IP address, set top box configuration data, etc., and the user inputs an identification identifier on the mobile terminal, and may also be moved. The terminal is identified as a viewing command for viewing the parameters of the set-top box. After the mobile terminal detects that the user inputs an identification identifier, the mobile terminal can execute the viewing command, and display the parameters of the set-top box device acquired by the identification identifier to the user for reference by the user. The mobile terminal needs to be paired with the set top box. When the user refers to the set top box device parameter and decides to use the set top box, the user can confirm on the mobile terminal to pair the mobile terminal with the set top box:
接收模块24,还用于接收用户选择的识别标识所对应的机顶盒的设备参数;The receiving module 24 is further configured to receive device parameters of the set top box corresponding to the identification identifier selected by the user;
显示模块28,用于显示设备参数给用户参考;a display module 28, configured to display device parameters to a user reference;
接收模块24,还用于接收用户确认与用户选择的识别标识所对应的机顶盒进行配对的确认命令;The receiving module 24 is further configured to receive a confirmation command that the user confirms pairing with the set top box corresponding to the identification identifier selected by the user;
确认模块29,用于确认与用户选择的识别标识所对应的机顶盒进行配对。The confirmation module 29 is configured to confirm that the set top box corresponding to the identification identifier selected by the user is paired.
本发明实施例中提及的识别标识可以为字符、图形、图像等,字符可以为数字、字母、符号。本发明实施例采用的识别标识用于通过机顶盒的显示设备来区分机顶盒,只要是可以作此用途的标识,均可以成为本发明实施例的识别标识。The identification identifier mentioned in the embodiment of the present invention may be a character, a graphic, an image, or the like, and the characters may be numbers, letters, and symbols. The identification identifier used in the embodiment of the present invention is used to distinguish the set-top box by the display device of the set-top box, and any identifier that can be used for the purpose can be the identification identifier of the embodiment of the present invention.
进一步可选的,本发明实施例也可以不同时给局域网内所有的机顶盒发送显示指令,还可以选取部分UUID或一个UUID所对应的机顶盒、发送显示指令给部分或一个机顶盒,这样可以避免对机顶盒的干扰:接收用户选择的局域网中部分或全部机顶盒的选择信息;为选择出的部分或全部机顶盒所对应UUID分别配置识别标识;生成携带识别标识的显示指令;发送显示指令给UUID所对应的机顶盒。Further, the embodiment of the present invention may also send display instructions to all set top boxes in the local area network at different times, and may also select a partial UUID or a set top box corresponding to a UUID, and send a display instruction to a part or a set top box, so as to avoid the set top box. Interference: receiving selection information of some or all set top boxes in the selected local area network; configuring identification identifiers for selected UUIDs of some or all set top boxes; generating display instructions carrying identification marks; sending display instructions to set top boxes corresponding to UUIDs .
本发明实施例通过发送显示指令给局域网内的机顶盒,来提高移动终端与机顶盒准确、高效配对的目的,本发明实施例能够快速、准确地建立移动终端与机顶盒之间的配对,节省用户时间,提高移动终端与机顶盒的配对效率,提高用户体验。 The embodiment of the present invention improves the purpose of accurately and efficiently pairing the mobile terminal with the set top box by sending a display command to the set top box in the local area network. The embodiment of the present invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, thereby saving user time. Improve the pairing efficiency of mobile terminals and set-top boxes, and improve the user experience.
可一并参照图3,本发明实施例还提供一种配对系统,其可包括移动终端31和至少一个机顶盒32,其中,移动终端31和至少一个机顶盒32处于同一局域网中,移动终端31可以是图2a、图2b、图2c、图2d和图2e中任一所示的移动终端,机顶盒32,可用于接收移动终端31发送的显示指令;还用于显示显示指令携带的识别标识。Referring to FIG. 3, an embodiment of the present invention further provides a pairing system, which may include a mobile terminal 31 and at least one set top box 32. The mobile terminal 31 and the at least one set top box 32 are in the same local area network, and the mobile terminal 31 may be The mobile terminal shown in any one of FIG. 2a, FIG. 2b, FIG. 2c, FIG. 2d and FIG. 2e, the set top box 32 is configured to receive a display instruction sent by the mobile terminal 31, and is further configured to display an identification identifier carried by the display instruction.
可一并参照图4所示的流程图,该流程图展示了本发明实施例的配对系统中移动终端与机顶盒之间配对的具体实施过程:Referring to the flowchart shown in FIG. 4, the flowchart shows a specific implementation process of pairing between the mobile terminal and the set top box in the pairing system according to the embodiment of the present invention:
步骤S410,移动终端搜索同一局域网下的机顶盒设备;Step S410, the mobile terminal searches for a set top box device under the same local area network;
步骤S411,移动终端判断数据库中数据与局域网中的机顶盒是否匹配;其中,当移动终端判断出数据库中数据与局域网中的机顶盒匹配时,继续执行步骤S416;当移动终端判断出数据库中数据与局域网中的机顶盒不匹配时,继续执行步骤S412;Step S411, the mobile terminal determines whether the data in the database matches the set top box in the local area network; wherein, when the mobile terminal determines that the data in the database matches the set top box in the local area network, step S416 is continued; when the mobile terminal determines the data in the database and the local area network If the set top boxes in the system do not match, proceed to step S412;
步骤S412,移动终端生成配对数字;Step S412, the mobile terminal generates a pairing number;
步骤S413,移动终端发送配对数字给机顶盒;Step S413, the mobile terminal sends the pairing number to the set top box;
步骤S414,机顶盒显示配对数字Step S414, the set top box displays the pairing number
步骤S415,移动终端接收用户输入的配对数字;Step S415, the mobile terminal receives the pairing number input by the user;
步骤S416,移动终端设置为当前连接对象。In step S416, the mobile terminal is set as the current connection object.
本发明实施例中提及的识别标识可以为字符、图形、图像等,字符可以为数字、字母、符号。本发明实施例采用的识别标识用于通过机顶盒的显示设备来区分机顶盒,只要是可以作此用途的标识,均可以成为本发明实施例的识别标识。The identification identifier mentioned in the embodiment of the present invention may be a character, a graphic, an image, or the like, and the characters may be numbers, letters, and symbols. The identification identifier used in the embodiment of the present invention is used to distinguish the set-top box by the display device of the set-top box, and any identifier that can be used for the purpose can be the identification identifier of the embodiment of the present invention.
进一步可选的,本发明实施例可根据用户的选择,选取局域网内部分或全部的机顶盒发送显示指令,这样可以避免对机顶盒的干扰:接收用户选择的局域网中部分或全部机顶盒的选择信息;为选择出的部分或全部机顶盒所对应UUID分别配置识别标识;生成携带识别标识的显示指令;发送显示指令给UUID所对应的机顶盒。Further, the embodiment of the present invention may select some or all of the set top boxes in the local area network to send display instructions according to the user's selection, so as to avoid interference to the set top box: receiving selection information of some or all of the set top boxes in the local area network selected by the user; The UUID corresponding to some or all of the selected set top boxes respectively configure an identification identifier; generate a display instruction carrying the identification identifier; and send a display instruction to the set top box corresponding to the UUID.
本发明实施例通过发送显示指令给局域网内的机顶盒,来提高移动终端与机顶盒准确、高效配对的目的,本发明实施例能够快速、准确地建立移动终端与机顶盒之间的配对,节省用户时间,提高移动终端与机顶盒的配对效率,提 高用户体验。The embodiment of the present invention improves the purpose of accurately and efficiently pairing the mobile terminal with the set top box by sending a display command to the set top box in the local area network. The embodiment of the present invention can quickly and accurately establish the pairing between the mobile terminal and the set top box, thereby saving user time. Improve the efficiency of pairing mobile terminals and set-top boxes, High user experience.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。Modules or units in the apparatus of the embodiments of the present invention may be combined, divided, and deleted according to actual needs.
本发明实施例中所述模块或单元,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The module or unit in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。Modules or units in the apparatus of the embodiments of the present invention may be combined, divided, and deleted according to actual needs.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and those skilled in the art can understand all or part of the process of implementing the above embodiments, and according to the claims of the present invention. The equivalent change is still within the scope of the invention.

Claims (17)

  1. 一种移动终端与机顶盒的配对方法,其特征在于,包括:A method for pairing a mobile terminal and a set top box, comprising:
    获取局域网中所有机顶盒的唯一通用识别码UUID;Obtain a unique universal identification code UUID of all set top boxes in the local area network;
    根据所述所有UUID判断是否存在与移动终端配对过的机顶盒;Determining, according to the all UUIDs, whether there is a set top box paired with the mobile terminal;
    判断出不存在所述与移动终端配对过的机顶盒时,发送携带识别标识的显示指令给各个机顶盒,其中,各个所述显示指令携带的所述识别标识各不相同,所述显示指令用于使所述机顶盒在其显示设备上显示所述识别标识;When it is determined that the set top box that is paired with the mobile terminal does not exist, the display instruction carrying the identification identifier is sent to each set top box, wherein the identification identifiers carried by the respective display instructions are different, and the display instruction is used to make The set top box displays the identification identifier on its display device;
    接收用户的配对命令,所述配对命令携带用户选择的识别标识;Receiving a pairing command of the user, where the pairing command carries an identification identifier selected by the user;
    与所述用户选择的识别标识所对应的机顶盒配对。Pairing with the set top box corresponding to the identification identifier selected by the user.
  2. 如权利要求1所述的方法,其特征在于,发送携带识别标识的显示指令给各个机顶盒包括:The method of claim 1, wherein the transmitting the display instruction carrying the identification identifier to each set top box comprises:
    为所述UUID配置所述识别标识;Configuring the identification identifier for the UUID;
    生成携带所述识别标识的所述显示指令;Generating the display instruction carrying the identification identifier;
    发送所述显示指令给所述UUID所对应的所述机顶盒。Sending the display instruction to the set top box corresponding to the UUID.
  3. 如权利要求1所述的方法,其特征在于,与所述用户选择的识别标识所对应的机顶盒配对包括:The method of claim 1, wherein the set-top box pairing corresponding to the identification identifier selected by the user comprises:
    查找所述用户选择的识别标识对应的UUID;Finding a UUID corresponding to the identification identifier selected by the user;
    与所述查找出的UUID所对应的机顶盒配对,并设置所述查找出的UUID所对应的机顶盒为当前连接对象。Pairing with the set top box corresponding to the found UUID, and setting the set top box corresponding to the found UUID as the current connection object.
  4. 如权利要求1所述的方法,其特征在于,与所述用户选择的识别标识所对应的机顶盒配对之后,还包括:The method of claim 1, further comprising: after pairing with the set top box corresponding to the identification identifier selected by the user,
    保存所述用户选择的识别标识对应的UUID。The UUID corresponding to the identification identifier selected by the user is saved.
  5. 如权利要求4所述的方法,其特征在于,根据所述所有UUID判断是否存在与移动终端配对过的机顶盒之后,还包括: The method of claim 4, after determining whether there is a set top box paired with the mobile terminal according to the all UUIDs, further comprising:
    判断出存在所述与移动终端配对过的机顶盒时,与所述移动终端配对过的机顶盒建立连接,并设置所述移动终端配对过的机顶盒为当前连接对象。When it is determined that the set top box paired with the mobile terminal exists, establishing a connection with the set top box paired with the mobile terminal, and setting the set top box paired by the mobile terminal as the current connection object.
  6. 如权利要求4所述的方法,其特征在于,根据所述所有UUID判断是否存在与移动终端配对过的机顶盒包括:The method according to claim 4, wherein determining whether there is a set top box paired with the mobile terminal according to the all UUIDs comprises:
    基于保存于所述移动终端的UUID比对获取到的所述所有UUID;And all the UUIDs acquired based on the UUIDs stored in the mobile terminal;
    比对出所述所有UUID中包含所述保存于所述移动终端的UUID时,确认存在与所述移动终端配对过的机顶盒;或者,When comparing the UUIDs stored in the mobile terminal to all the UUIDs, confirm that there is a set top box paired with the mobile terminal; or
    比对出所述所有UUID中不包含所述保存于所述移动终端的UUID时,确认不存在与所述移动终端配对过的机顶盒。When the UUID stored in the mobile terminal is not included in all the UUIDs, it is confirmed that there is no set top box paired with the mobile terminal.
  7. 如权利要求1所述的方法,其特征在于,接收用户的配对命令之后,与所述用户选择的识别标识所对应的机顶盒配对之前,还包括:The method of claim 1, further comprising: after receiving the pairing command of the user, before pairing with the set top box corresponding to the identification identifier selected by the user,
    接收所述用户选择的识别标识所对应的机顶盒的设备参数;Receiving device parameters of the set top box corresponding to the identification identifier selected by the user;
    显示所述设备参数给用户参考;Displaying the device parameters to the user for reference;
    接收所述用户确认与所述用户选择的识别标识所对应的机顶盒进行配对的确认命令;Receiving, by the user, a confirmation command for pairing the set top box corresponding to the identification identifier selected by the user;
    确认与所述用户选择的识别标识所对应的机顶盒进行配对。It is confirmed that the set top box corresponding to the identification identifier selected by the user is paired.
  8. 如权利要求1所述的方法,其特征在于,所述识别标识包括字符、图形、图像中至少一种。The method of claim 1 wherein said identification identifier comprises at least one of a character, a graphic, and an image.
  9. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    获取模块,用于获取局域网中所有机顶盒的唯一通用识别码UUID;The obtaining module is configured to obtain a unique universal identification code UUID of all set top boxes in the local area network;
    判断模块,用于根据所述所有UUID判断是否存在与移动终端配对过的机顶盒;还用于判断出不存在所述与移动终端配对过的机顶盒时,发送显示提示消息给发送模块;a judging module, configured to determine, according to the all UUIDs, whether there is a set top box that is paired with the mobile terminal, and is further configured to: when it is determined that the set top box that is paired with the mobile terminal does not exist, send a display prompt message to the sending module;
    发送模块,用于接收到所述判断模块发送的所述显示提示消息后,发送携带识别标识的显示指令给各个机顶盒,其中,各个所述显示指令携带的所述识 别标识各不相同,所述显示指令用于使所述机顶盒在其显示设备上显示所述识别标识;a sending module, configured to send the display instruction carrying the identification identifier to each set top box after receiving the display prompt message sent by the determining module, where the information carried by each of the display instructions is The display instructions are used to cause the set top box to display the identification identifier on its display device;
    接收模块,用于接收用户的配对命令,所述配对命令携带用户选择的识别标识;a receiving module, configured to receive a pairing command of the user, where the pairing command carries an identification identifier selected by the user;
    配对模块,用于与所述用户选择的识别标识所对应的机顶盒配对。The pairing module is configured to pair with the set top box corresponding to the identification identifier selected by the user.
  10. 如权利要求9所述的移动终端,其特征在于,所述发送模块包括:The mobile terminal of claim 9, wherein the sending module comprises:
    配置单元,用于为所述UUID配置所述识别标识;a configuration unit, configured to configure the identification identifier for the UUID;
    生成单元,用于生成携带所述识别标识的所述显示指令;a generating unit, configured to generate the display instruction that carries the identification identifier;
    发送单元,用于发送所述显示指令给所述UUID所对应的所述机顶盒。And a sending unit, configured to send the display instruction to the set top box corresponding to the UUID.
  11. 如权利要求9所述的移动终端,其特征在于,所述配对模块包括:The mobile terminal of claim 9, wherein the pairing module comprises:
    查找单元,用于查找所述用户选择的识别标识对应的UUID;a searching unit, configured to search for a UUID corresponding to the identification identifier selected by the user;
    配对单元,用于与所述查找出的UUID所对应的机顶盒配对;a pairing unit, configured to pair with the set top box corresponding to the found UUID;
    设置单元,用于设置所述查找出的UUID所对应的机顶盒为当前连接对象。The setting unit is configured to set the set top box corresponding to the found UUID as the current connection object.
  12. 如权利要求9所述的移动终端,其特征在于,还包括:The mobile terminal of claim 9, further comprising:
    保存模块,用于保存所述用户选择的识别标识对应的UUID。And a saving module, configured to save a UUID corresponding to the identification identifier selected by the user.
  13. 如权利要求12所述的移动终端,其特征在于,还包括:The mobile terminal of claim 12, further comprising:
    所述判断模块,还用于判断出存在所述与移动终端配对过的机顶盒时,发送连接提示消息给连接模块;The determining module is further configured to: when it is determined that the set top box that is paired with the mobile terminal exists, send a connection prompt message to the connection module;
    连接模块,用于接收到所述判断模块发送的所述连接提示消息后,与所述移动终端配对过的机顶盒建立连接,并设置所述移动终端配对过的机顶盒为当前连接对象。The connection module is configured to establish a connection with the set top box that is paired with the mobile terminal after receiving the connection prompt message sent by the determining module, and set the set top box that the mobile terminal has paired as the current connection object.
  14. 如权利要求9所述的移动终端,其特征在于,The mobile terminal of claim 9, wherein
    所述判断模块,还用于用于基于保存于所述移动终端的UUID比对获取到 的所述所有UUID;还用于比对出所述所有UUID中包含所述保存于所述移动终端的UUID时,确认存在与所述移动终端配对过的机顶盒;还用于比对出所述所有UUID中不包含所述保存于所述移动终端的UUID时,确认不存在与所述移动终端配对过的机顶盒。The determining module is further configured to obtain, according to the UUID comparison saved in the mobile terminal, And all the UUIDs are further configured to: when the UUIDs stored in the mobile terminal are included in the UUID, confirm that there is a set top box that is paired with the mobile terminal; When the UUID stored in the mobile terminal is not included in all UUIDs, it is confirmed that there is no set top box paired with the mobile terminal.
  15. 如权利要求9所述的移动终端,其特征在于,The mobile terminal of claim 9, wherein
    所述接收模块,还用于接收所述用户选择的识别标识所对应的机顶盒的设备参数;The receiving module is further configured to receive a device parameter of the set top box corresponding to the identification identifier selected by the user;
    还包括:Also includes:
    显示模块,用于显示所述设备参数给用户参考;a display module, configured to display the device parameter to a user reference;
    所述接收模块,还用于接收所述用户确认与所述用户选择的识别标识所对应的机顶盒进行配对的确认命令;The receiving module is further configured to receive a confirmation command that the user confirms pairing with a set top box corresponding to the identification identifier selected by the user;
    确认模块,用于确认与所述用户选择的识别标识所对应的机顶盒进行配对。The confirmation module is configured to confirm pairing with the set top box corresponding to the identification identifier selected by the user.
  16. 如权利要求9所述的移动终端,其特征在于,所述识别标识包括字符、图形、图像中至少一种。The mobile terminal of claim 9, wherein the identification identifier comprises at least one of a character, a graphic, and an image.
  17. 一种配对系统,其特征在于,包括移动终端和至少一个机顶盒,所述移动终端和所述至少一个机顶盒处于同一局域网中,A pairing system, comprising: a mobile terminal and at least one set top box, wherein the mobile terminal and the at least one set top box are in the same local area network,
    所述移动终端,为权利要求9-16任一项所述的移动终端;The mobile terminal is the mobile terminal according to any one of claims 9-16;
    所述至少一个机顶盒,用于接收移动终端发送的显示指令;还用于显示所述显示指令携带的所述识别标识。 The at least one set top box is configured to receive a display instruction sent by the mobile terminal, and is further configured to display the identification identifier carried by the display instruction.
PCT/CN2015/073772 2014-07-16 2015-03-06 Mobile terminal and set-top box pairing method and mobile terminal WO2016008308A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410337756.5 2014-07-16
CN201410337756.5A CN104133794B (en) 2014-07-16 2014-07-16 Mobile terminal and set top box pairing method and mobile terminal

Publications (1)

Publication Number Publication Date
WO2016008308A1 true WO2016008308A1 (en) 2016-01-21

Family

ID=51806474

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073772 WO2016008308A1 (en) 2014-07-16 2015-03-06 Mobile terminal and set-top box pairing method and mobile terminal

Country Status (2)

Country Link
CN (1) CN104133794B (en)
WO (1) WO2016008308A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133794B (en) * 2014-07-16 2017-02-08 深圳创维数字技术有限公司 Mobile terminal and set top box pairing method and mobile terminal
CN106992924A (en) * 2017-03-20 2017-07-28 山东浪潮商用系统有限公司 A kind of communication means, server and system
CN109196480B (en) * 2017-05-17 2021-08-27 华为技术有限公司 Method for displaying equipment identification, mobile terminal and terminal equipment
CN107493496A (en) * 2017-09-26 2017-12-19 山东浪潮商用系统有限公司 A kind of method and system that set top box is manipulated by mobile terminal gravity sensing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075219A (en) * 2010-12-06 2011-05-25 深圳市同洲软件有限公司 Bluetooth matching method and system for digital television receiving terminal and mobile terminal
CN103095903A (en) * 2011-11-08 2013-05-08 深圳市快播科技有限公司 Method and system of remotely controlling set top box by cellphone
CN104133794A (en) * 2014-07-16 2014-11-05 深圳创维数字技术股份有限公司 Mobile terminal and set top box pairing method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130326567A1 (en) * 2012-05-29 2013-12-05 Innopia Technologies, Inc. Real Time Broadcasting Method Using Digital Living Network Alliance (DLNA) Between Set-Top Boxes
CN103687050A (en) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 Connection method of mobile terminal and vehicle-mounted equipment, mobile terminal and vehicle-mounted connection system
CN203385984U (en) * 2013-08-05 2014-01-08 张翅高飞 System for realizing plug-free projection switching by using wireless transmission technology
CN103533098A (en) * 2013-10-11 2014-01-22 深圳市同洲电子股份有限公司 DLNA (Digital Living Network Alliance) device discovery method, DLNA device discovery device and DLNA device discovery system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075219A (en) * 2010-12-06 2011-05-25 深圳市同洲软件有限公司 Bluetooth matching method and system for digital television receiving terminal and mobile terminal
CN103095903A (en) * 2011-11-08 2013-05-08 深圳市快播科技有限公司 Method and system of remotely controlling set top box by cellphone
CN104133794A (en) * 2014-07-16 2014-11-05 深圳创维数字技术股份有限公司 Mobile terminal and set top box pairing method and mobile terminal

Also Published As

Publication number Publication date
CN104133794A (en) 2014-11-05
CN104133794B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
US11416113B2 (en) Apparatus and method for remotely controlling peripheral devices in mobile communication terminal
US20210315034A1 (en) Wireless connection establishment method, apparatus, device, and storage medium
US11888644B2 (en) Network configuration method for home appliance, home appliance, mobile terminal, and storage medium
EP3425566B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
EP3484196B1 (en) Method and apparatus for registering wireless device in wireless communication system
US9819780B2 (en) Method and apparatus for bluetooth device management
US8954641B2 (en) Method and apparatus for establishing communication
WO2022016669A1 (en) Bluetooth network configuration method, device, and storage medium
US20150288667A1 (en) Apparatus for sharing a session key between devices and method thereof
WO2016008308A1 (en) Mobile terminal and set-top box pairing method and mobile terminal
TW201839602A (en) Voice-enabled home setup
CN106789470B (en) Terminal resource sharing method, device and system
CN110740460A (en) device network access method, device, network device and storage medium
CN106714132B (en) Intelligent display terminal, intelligent equipment, intelligent interaction method and system
WO2018010396A1 (en) Method and device for realizing wireless access point connection authentication
WO2016101545A1 (en) Device management method, apparatus, and system
EP4044040A1 (en) Peripheral device pairing
WO2022242324A1 (en) Network distribution method, apparatus and device, and computer-readable storage medium
WO2015199823A1 (en) Mechanism for file transformation and sharing across devices using camera interface
US20150019978A1 (en) Information processing apparatus, information processing method, and program
CN113132967A (en) Fusion networking method, device, system and computer readable storage medium
US10470101B2 (en) Wireless communication system and wireless communication device
CN103813014B (en) A kind of information processing method and electronic equipment
US20170094704A1 (en) Electronic device and control method thereof
CN113132958A (en) Fusion networking method, device, system and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15821514

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/06/17)

122 Ep: pct application non-entry in european phase

Ref document number: 15821514

Country of ref document: EP

Kind code of ref document: A1