CN107181727A - A kind of control method and device of external equipment - Google Patents

A kind of control method and device of external equipment Download PDF

Info

Publication number
CN107181727A
CN107181727A CN201610141882.2A CN201610141882A CN107181727A CN 107181727 A CN107181727 A CN 107181727A CN 201610141882 A CN201610141882 A CN 201610141882A CN 107181727 A CN107181727 A CN 107181727A
Authority
CN
China
Prior art keywords
external equipment
business
identity information
terminal
exclusive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610141882.2A
Other languages
Chinese (zh)
Other versions
CN107181727B (en
Inventor
孙颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Cloud Linkage Technology (beijing) Co Ltd
MIGU Music Co Ltd
Original Assignee
Cloud Linkage Technology (beijing) Co Ltd
MIGU Music Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cloud Linkage Technology (beijing) Co Ltd, MIGU Music Co Ltd filed Critical Cloud Linkage Technology (beijing) Co Ltd
Priority to CN201610141882.2A priority Critical patent/CN107181727B/en
Publication of CN107181727A publication Critical patent/CN107181727A/en
Application granted granted Critical
Publication of CN107181727B publication Critical patent/CN107181727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a kind of control method of external equipment, including:When having detected external equipment access, the first identity information of the external equipment is obtained;The first identity information is sent to server, the server is the corresponding service server of the first business, first business is the business matched with external equipment;The response message that the reception server is fed back according to the first identity information;When response message carries provisioning instruction, according to provisioning instruction, the function that external equipment carries out exclusive business is opened, the exclusive business belongs to the first business.The embodiment of the present invention additionally provides a kind of control device of external equipment.

Description

A kind of control method and device of external equipment
Technical field
The present invention relates to the control method and dress of the interfacing in internet arena, more particularly to a kind of external equipment Put.
Background technology
With the high speed development of internet, some terminals based on internet are also arisen at the historic moment, for example, Internet set-box Deng.Due to the abundantization of the business demand of above-mentioned terminal, therefore, the external equipment matched with above-mentioned terminal also arises at the historic moment, For example, Internet set-box can carry many service applications as home entertainment device important in parlor, and some business Preferable Consumer's Experience could be obtained using needing external equipment to coordinate, such as video game business needs joystick of arranging in pairs or groups, Kara OK service needs mixer or wireless microphone for arranging in pairs or groups external etc..Need what external equipment was used cooperatively in terminal Service application often takes subsidy policy to reduce the door of service application entrance when promoting to corresponding external equipment Sill.Such as, user is given microphone, or the discount many less than market price allows service-user purchase the external of promotion to set It is standby etc..With vying each other between the service application of same type, the operator of each service application is not intended to see that oneself is mended The external equipment of patch can be with seamless use in the service application of rival's same type.Such as same management game hall Service application operator, the joystick for being not intended to oneself give each other can directly play the game in other side hall.Therefore, It is above-mentioned to avoid the occurrence of by carrying out using limitation to the corresponding subsidy external equipment of service application.
In the prior art, subsidy external equipment corresponding to service application is limited uses closing for the mode of competition Technical system.Specifically, the transmission between the terminal corresponding to the external equipment of above-mentioned subsidy carries out privately owned setting, its His terminal and the privately owned transmission means of the external equipment of the subsidy are mismatched, and therefore, the other-end can not be with the subsidy External equipment carries out service interaction.For example, by the way that joystick is used into privately owned key assignments, or privately owned it is wirelessly transferred frequency very To being that host-host protocol be transmitted with the transmission of terminal, or wireless microphone using privately owned frequency and terminal.This The exclusive external equipment of service application cannot normally be used in the service application of the same type of competitor in sample, terminal .
However, when realizing the terminal to having business subsidy by oneself using closed system of the prior art, proprietary protocol, it is first It is first, if when above-mentioned proprietary protocol and the inconsistent existing interface protocol that terminal is used, exclusive the external of service application sets It is standby actually to also counteracts that the product of the existing ecosystem accesses other the non-exclusive business of oneself using proprietary protocol.Such as, If employing the wireless microphone of certain special transmission frequency, the Kara OK service of incompatible any a rival, together When also imply that wireless microphone on the market can not simple fit in the non-exclusive speech business of oneself.Its Secondary, due to safeguard privately owned closed system, when there is the technological innovation of professional in the external equipment field, this business will The innovation trend of industry is pursued in privately owned closed system, existing external equipment be able to may be discarded, it is impossible to compatible skill Art is innovated technologies.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention is expected to provide a kind of control method and device of external equipment, The compatibility communicated with external equipment and flexibility can be improved on the basis of the normal use of exclusive external equipment is ensured.
The technical proposal of the invention is realized in this way:
The embodiments of the invention provide a kind of control method of external equipment, including:
When having detected external equipment access, the first identity information of the external equipment is obtained;
First identity information is sent to server, the server is the corresponding service server of the first business, institute It is the business matched with the external equipment to state the first business;
Receive the response message that the server feeds back according to first identity information;
When the response message carries provisioning instruction, according to the provisioning instruction, open the external equipment and carry out specially The function of category business, the exclusive business belongs to first business.
In such scheme, it is described receive response message that the server fed back according to first identity information it Afterwards, methods described also includes:
When the response message carries non-provisioning instruction, according to the non-provisioning instruction, described external set is forbidden in holding It is standby to carry out the function of the exclusive business, and the existing function of carrying out non-exclusive business of the external equipment is kept, it is described non- Exclusive business falls within first business.
In such scheme, before first identity information for obtaining the external equipment, methods described also includes:
Request message is sent to the external equipment, the request message is used to ask first identity information.
In such scheme, the external equipment is microphone.
The embodiment of the present invention additionally provides a kind of control method of external equipment, including:
The first identity information that receiving terminal is sent, first identity information is used to characterize the carried with the terminal The identity for the external equipment that one business is matched;
According to the type and the corresponding relation of identity information of first identity information and default external equipment, institute is judged State the type of the corresponding external equipment of the first identity information;
When it is exclusive type to judge the external equipment, the response message for carrying provisioning instruction is sent to terminal.
In such scheme, the type and identity information according to first identity information and default external equipment Corresponding relation, after the type for judging the corresponding external equipment of first identity information, methods described also includes:
When it is non-exclusive type to judge the external equipment, sends and carry the response message of non-provisioning instruction to described Terminal.
In such scheme, the terminal is Intelligent set top box.
The embodiments of the invention provide a kind of terminal, including:
First receiving unit, for when having detected external equipment access, obtaining the first identity of the external equipment Information;
First transmitting element, for sending first identity information that first receiving unit receives to server, The server is the corresponding service server of the first business, and first business is the business matched with the external equipment;
First receiving unit, is additionally operable to receive the response message that the server feeds back according to first identity information;
Control unit, for when the response message that first receiving unit is received carries provisioning instruction, according to The provisioning instruction, opens the function that the external equipment carries out exclusive business, and the exclusive business belongs to first business.
In such scheme, the terminal also includes:Holding unit;
The holding unit, receives the server anti-according to first identity information for first receiving unit After the response message of feedback, when the response message that first receiving unit is received carries non-provisioning instruction, according to institute Non- provisioning instruction is stated, keeps forbidding the external equipment to carry out the function of the exclusive business, and keep the external equipment Some functions of carrying out non-exclusive business, the non-exclusive business falls within first business.
In such scheme, first transmitting element is additionally operable to first receiving unit and obtains the external equipment The first identity information before, send request message to the external equipment, the request message is used to ask first body Part information.
In such scheme, the terminal is Intelligent set top box, and the external equipment is microphone.
The embodiments of the invention provide a kind of server, including:
Second receiving unit, the first identity information sent for receiving terminal, first identity information is used to characterize The identity for the external equipment that the first business carried with the terminal is matched;
Judging unit, for first identity information that is received according to second receiving unit and default external sets Standby type and the corresponding relation of identity information, judge the type of the corresponding external equipment of first identity information;
Second transmitting element, for when it is exclusive type that the judging unit, which judges the external equipment, transmission to be taken Response message with provisioning instruction is to terminal.
In such scheme, second transmitting element is additionally operable to the institute received according to second receiving unit The type and the corresponding relation of identity information of the first identity information and default external equipment are stated, first identity information is judged After the type of the corresponding external equipment, when it is non-exclusive type that the judging unit, which judges the external equipment, Send and carry the response message of non-provisioning instruction to the terminal.
The embodiments of the invention provide a kind of control method of external equipment, external equipment access has been detected by working as When, obtain the first identity information of the external equipment;The first identity information is sent to server, the server is the first business pair The service server answered, first business is the business matched with external equipment;The reception server is anti-according to the first identity information The response message of feedback;When response message carries provisioning instruction, according to provisioning instruction, open external equipment and carry out exclusive business Function, the exclusive business belongs to the first business.Using above-mentioned technic relization scheme, have default external because server end is obtained The type of equipment and the corresponding relation of identity information, then, end side can be to different types of external equipments by server Be managed, to judge which external equipment can carry out exclusive business, which external equipment cannot carry out exclusive industry Business, the protection to exclusive business is realized with this, rather than carries out exclusive processing to external equipment to realize, therefore, it is possible to protect On the basis of the normal use for demonstrate,proving exclusive external equipment, the compatibility communicated with external equipment and flexibility are improved.
Brief description of the drawings
The system architecture diagram that Fig. 1 provides for this year inventive embodiments;
Fig. 2 is a kind of flow chart one of the control method of external equipment provided in an embodiment of the present invention;
Fig. 3 is a kind of flowchart 2 of the control method of external equipment provided in an embodiment of the present invention;
Fig. 4 is a kind of interaction figure of the control method of external equipment provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation one of terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation two of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of server provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.
Fig. 1 is the schematic diagram of the various hardware entities of progress information exchange in the embodiment of the present invention, and Fig. 1 includes:One Or multiple 21~2n of server, terminal 11-15 and network 31, it can include router in network 31, gateway etc. network entity, Do not embodied in figure, and the external equipment 40 interacted with terminal.Terminal 11-15 passes through cable network or wireless network Information exchange is carried out with server, to collect related data information transfer to server from terminal 11-15, so as to complete The information exchange of terminal and server.The type of terminal as shown in figure 1, including mobile phone (terminal 13), tablet personal computer or PDA (eventually End 15), the type such as desktop computer (terminal 12), PC (terminal 14), all-in-one (terminal 11).Wherein, it is provided with terminal various Application needed for user, such as possess amusement function application (such as Video Applications, audio play application, game application, read it is soft Part), and for example possess the application (such as digital map navigation is applied, purchases by group application, camera application) of service function, therefore, terminal 11-15 Just can be by carrying out needing external equipment 40 to coordinate the application to complete with the connection of external equipment 10.
It should be noted that the embodiment of the present invention is not limited to the system architecture described in above-mentioned Fig. 1, based on the system tray Structure, is divided into terminal by the control device of external equipment respectively and server proposes each embodiment of the invention.
Embodiment one
The embodiments of the invention provide a kind of control method of external equipment, applied in terminal, as shown in Fig. 2 the party Method can include:
S101, when having detected external equipment access, obtain the first identity information of the external equipment.
It should be noted that the background that the embodiment of the present invention is realized is:The first business in terminal need terminal with it is external Equipment cooperates and could completed, therefore, before a kind of control method of external equipment provided in an embodiment of the present invention is realized, Terminal is to need to set up to be connected with external equipment, to complete the process of follow-up business realizing.
It should be noted that the realization that is connected with external equipment of terminal can for bluetooth or wirelessly, specifically Implementation can be the uniform connected mode of industry.
Specifically, when terminal has detected external equipment and accessed itself, the terminal external can be set by itself with this Standby interface gets the first identity information of the external equipment, and first identity information is for characterizing carried with terminal the The identity for the external equipment that one business is matched.
, can be by being commercially available it should be noted that because the source of peripheral apparatus can be different, can be with Be purchase or open given during the exclusive business of terminal etc., therefore, the identity of external equipment can be by identity information come table Levy, it is exclusive business presentation that the identity information, which can just distinguish external equipment, or the common apparatus bought.
Optionally, the first identity information in the embodiment of the present invention can come for the different mode such as mark, figure, attribute Realize, the concrete implementation mode embodiment of the present invention is not restricted.
Optionally, the external equipment in the embodiment of the present invention can be that microphone, game machine bar, audio amplifier, DDR etc. can Equipment to carry out business cooperation with terminal, the embodiment of the present invention is not restricted.
Optionally, the terminal in the embodiment of the present invention can for mobile phone, computer, Intelligent set top box (Internet set-box), Intelligent television etc. can carry out the electronic equipment of service communication with external equipment.
S102, the first identity information is sent to server, the server is the corresponding service server of the first business, this One business is the business matched with external equipment.
Terminal obtain external equipment the first identity information after, can by network by first identity information send to Server, the server is the corresponding service server of the first business, and first business is the business matched with external equipment, with Allow the server by first identity information judge the external equipment be exclusive business it is corresponding give or The equipment of subsidy, further determines whether the terminal will open the function that external equipment carries out exclusive business with this.
It should be noted that the business that the terminal in the embodiment of the present invention can be carried out can include exclusive business and non-special Category business, exclusive business only has corresponding exclusive external equipment (external equipment given or subsidized) just to carry out, non- Exclusive business is then that the general corresponding external equipment of the business can be used.
It should be noted that external equipment whether exclusive external equipment or non-exclusive external is set in the embodiment of the present invention It is standby, only want to carry out some business with terminal, then the external equipment must be just with some business of terminal match it is outer Connect equipment.Exemplary, the business correspondence external equipment such as microphone or audio amplifier of audio class.
The response message that S103, the reception server are fed back according to the first identity information.
Terminal send the first identity information to server after, the server according to the first identity information judge this first After the type of the corresponding external equipment of identity information, corresponding with the type of external equipment response message is sent to terminal, with Terminal is operated accordingly according to above-mentioned response message.
It should be noted that the type of the external equipment judged due to server can be exclusive external equipment, can also For non-exclusive external equipment, therefore, the response message that server is fed back by network according to the first identity information of external equipment It is also different.
Optionally, the response message in the embodiment of the present invention can include:Provisioning instruction and non-provisioning instruction.
S104, when response message carries provisioning instruction, according to the provisioning instruction, open external equipment and carry out exclusive business Function, the exclusive business belongs to the first business.
After the response message that terminal the reception server is fed back according to the first identity information, the response letter received due to terminal The difference of breath, therefore, the operation that the terminal is made according to the response message are also different, specifically, when above-mentioned response message is carried Be provisioning instruction when, the terminal can just indicate oneself to open external equipment and itself carry out exclusive according to the provisioning instruction The function of business.
It should be noted that the business that terminal of the embodiment of the present invention can be carried out is referred to as the first business, exclusive business and Non-exclusive business belongs to the first business.
It should be noted that it is closed mode that the exclusive business of the terminal in the embodiment of the present invention, which is default setting, only Have just open-minded when the terminal receives provisioning instruction.
It is understood that after terminal has opened the function that external equipment carries out exclusive business with itself, if with Want if carrying out exclusive business with external equipment at family, it is possible to carry out the exclusive business.
Further, in embodiments of the present invention, terminal is according to provisioning instruction, and above-mentioned external equipment and terminal are opened in instruction The function of carrying out exclusive business can be single can also be it is permanent, specifically can by user by set come certainly Fixed, the embodiment of the present invention is not restricted.
It should be noted that the function that terminal opens above-mentioned external equipment with terminal carries out exclusive business is permanent When, can be corresponding with activating the service according to the first identity information so that terminal when detecting first identity information again, Acquiescence has opened above-mentioned functions, and then, the external equipment can directly carry out exclusive business.In a word, unless received permanent Provisioning instruction, otherwise, above-mentioned function of opening is using being preceding required for receiving provisioning instruction and could carry out every time.
The embodiment of the present invention additionally provides a kind of control method of external equipment, using with server, as shown in figure 3, This method can include:
The first identity information that S201, receiving terminal are sent, first identity information is used to characterize the carried with terminal The identity for the external equipment that one business is matched.
It should be noted that the server in the embodiment of the present invention is the corresponding service server of the first business, the service Device can enter interacting for row information with terminal by network.
First identity information is just sent to clothes by terminal after the first identity information of its external equipment transmission is got Business device, terminal is fed back to so which type of the server decision-making sends.Wherein, the first identity information is used to characterize and held with terminal The identity for the external equipment that the first business carried is matched.
It should be noted that the type of external equipment can be divided into exclusive external equipment and non-exclusive external equipment, only In the state of exclusive external equipment is connected with terminal, terminal can just receive the sound for carrying provisioning instruction of server transmission Answer information.
S202, the corresponding relation according to the type and identity information of the first identity information and default external equipment, judge The type of the corresponding external equipment of first identity information.
After the first identity information that server receiving terminal is sent, due to the difference of the type of external equipment, therefore, clothes Being engaged in device can be according to the corresponding relation of the type and identity information of the first identity information and default external equipment, to judge not The external equipment of same type.
It should be noted that in a kind of control method of external equipment provided in an embodiment of the present invention, server side is set up The corresponding relation of external equipment and its identity information is preserved, therefore, server can be according to the first identity information and default The type of external equipment and the corresponding relation of identity information, judge the type of the corresponding external equipment of the first identity information.
It should be noted that the type of default external equipment and the corresponding relation of identity information in server are services Preserved in the database having been had built up in device, have recorded the corresponding type of external equipment and identity information.
S203, when it is exclusive type to judge external equipment, send the response message for carrying provisioning instruction to terminal.
Server judged after the type of the corresponding external equipment of the first identity information, if on the server judges When the type for stating external equipment is exclusive type, that is to say, that the external equipment is that can carry out the external of exclusive business with terminal Equipment, then, server just carry provisioning instruction in the response message that terminal is fed back to according to the first identity information.
Further, terminal can just be opened the terminal and carried out with current external equipment according to above-mentioned provisioning instruction The function of exclusive business.
A kind of control method for external equipment that the embodiment of the present invention is provided, external equipment access has been detected by working as When, obtain the first identity information of the external equipment;The first identity information is sent to server, the server is the first business pair The service server answered, first business is the business matched with external equipment;The reception server is anti-according to the first identity information The response message of feedback;When response message carries provisioning instruction, according to provisioning instruction, open external equipment and carry out exclusive business Function, the exclusive business belongs to the first business.Using above-mentioned technic relization scheme, have default external because server end is obtained The type of equipment and the corresponding relation of identity information, then, end side can be to different types of external equipments by server Be managed, to judge which external equipment can carry out exclusive business, which external equipment cannot carry out exclusive industry Business, the protection to exclusive business is realized with this, rather than carries out exclusive processing to external equipment to realize, therefore, it is possible to protect On the basis of the normal use for demonstrate,proving exclusive external equipment, the compatibility communicated with external equipment and flexibility are improved.
Embodiment two
The embodiments of the invention provide a kind of control method of external equipment, as shown in figure 4, this method can include:
S301, when having detected external equipment access, send request message to the external equipment, the request message is used for The first identity information is asked, first identity information is used to characterize the external equipment that the first business carried with terminal is matched Identity.
It should be noted that the background that the embodiment of the present invention is realized is:The first business in terminal need terminal with it is external Equipment cooperates and could completed, therefore, before a kind of control method of external equipment provided in an embodiment of the present invention is realized, Terminal is to need to set up to be connected with external equipment, to complete the process of follow-up business realizing.
It should be noted that the realization that is connected with external equipment of terminal can for bluetooth or wirelessly, specifically Implementation can be the uniform connected mode of industry.
Specifically, when terminal has detected external equipment access, the terminal will actively send request message to external Equipment, the identity information for the external equipment being currently accessed with request, i.e. the first identity information, wherein, the request message is used for please The first identity information is sought, first identity information is used to characterize the external equipment that the first business carried with terminal is matched Identity.
It should be noted that each external equipment has the identity information of itself, for example, title, mark, ownership place etc. Deng.
Optionally, the first identity information in the embodiment of the present invention can come for the different mode such as mark, figure, attribute Realize, the concrete implementation mode embodiment of the present invention is not restricted.
Optionally, the external equipment in the embodiment of the present invention can be that microphone, game machine bar, audio amplifier, DDR etc. can Equipment to carry out business cooperation with terminal, the embodiment of the present invention is not restricted.
Optionally, the terminal in the embodiment of the present invention can be with for mobile phone, computer, Intelligent set top box, intelligent television etc. The electronic equipment of service communication is carried out with external equipment.
S302, the first identity information for obtaining external equipment.
Specifically, when terminal has detected external equipment and accessed itself, it is outer to this that the terminal has sent request message Connect after equipment, above-mentioned external equipment replies to the first identity information of terminal oneself, the i.e. terminal can be by itself with being somebody's turn to do The interface of external equipment gets the first identity information of the external equipment, and first identity information is to be used to characterize to hold with terminal The identity for the external equipment that the first business carried is matched.
, can be by being commercially available it should be noted that because the source of peripheral apparatus can be different, can be with Be purchase or open given during the exclusive business of terminal etc., therefore, the identity of external equipment can be by identity information come table Levy, it is exclusive business presentation that the identity information, which can just distinguish external equipment, or the common apparatus bought.
S303, the first identity information is sent to server, the server is the corresponding service server of the first business, this One business is the business matched with external equipment.
Terminal obtain external equipment the first identity information after, can by network by first identity information send to Server, the server is the corresponding service server of the first business, and first business is the business matched with external equipment, with Allow the server by first identity information judge the external equipment be exclusive business it is corresponding give or The equipment of subsidy, further determines whether the terminal will open the function that external equipment carries out exclusive business with this.
It should be noted that the business that the terminal in the embodiment of the present invention can be carried out can include exclusive business and non-special Category business, exclusive business only has corresponding exclusive external equipment (external equipment given or subsidized) just to carry out, non- Exclusive business is then that the general corresponding external equipment of the business can be used.
It should be noted that the server in the embodiment of the present invention is the corresponding service server of the first business, the service Device can enter interacting for row information with terminal by network.
First identity information is just sent to clothes by terminal after the first identity information of its external equipment transmission is got Business device, terminal is fed back to so which type of the server decision-making sends.Wherein, the first identity information is used to characterize and held with terminal The identity for the external equipment that the first business carried is matched.
It should be noted that the type of external equipment can be divided into exclusive external equipment and non-exclusive external equipment, only In the state of exclusive external equipment is connected with terminal, terminal can just receive the sound for carrying provisioning instruction of server transmission Answer information.
It should be noted that external equipment whether exclusive external equipment or non-exclusive external is set in the embodiment of the present invention It is standby, only want to carry out some business with terminal, then the external equipment must be just with some business of terminal match it is outer Connect equipment.Exemplary, the business correspondence external equipment such as microphone or audio amplifier of audio class.
S304, the corresponding relation according to the type and identity information of the first identity information and default external equipment, judge The type of the corresponding external equipment of first identity information.
Terminal sends the first identity information to server, i.e., the first identity information of server receiving terminal transmission it Afterwards, due to external equipment type difference, therefore, server can be according to the first identity information and default external equipment The corresponding relation of type and identity information, to judge different types of external equipment.
It should be noted that in a kind of control method of external equipment provided in an embodiment of the present invention, server side is set up The corresponding relation of external equipment and its identity information is preserved, therefore, server can be according to the first identity information and default The type of external equipment and the corresponding relation of identity information, judge the type of the corresponding external equipment of the first identity information.
It should be noted that the type of default external equipment and the corresponding relation of identity information in server are services Preserved in the database having been had built up in device, have recorded the corresponding type of external equipment and identity information.
S305, when it is exclusive type to judge external equipment, send the response message for carrying provisioning instruction to terminal.
Server judged after the type of the corresponding external equipment of the first identity information, if on the server judges When the type for stating external equipment is exclusive type, that is to say, that the external equipment is that can carry out the external of exclusive business with terminal Equipment, then, server just carry provisioning instruction in the response message that terminal is fed back to according to the first identity information.
Further, terminal can just be opened the terminal and carried out with current external equipment according to above-mentioned provisioning instruction The function of exclusive business.
It should be noted that after terminal sends the first identity information to server, the server is believed according to the first identity Breath is judged after the type of the corresponding external equipment of the first identity information, sends response corresponding with the type of the external equipment Information is to terminal, to allow terminal to be operated accordingly according to above-mentioned response message.
It is understood that the type of the external equipment judged due to server can be exclusive external equipment, can also For non-exclusive external equipment, therefore, the response message that server is fed back by network according to the first identity information of external equipment It is also different.
Optionally, the response message in the embodiment of the present invention can include:Provisioning instruction and non-provisioning instruction.
S306, when response message carries provisioning instruction, according to the provisioning instruction, open external equipment and carry out exclusive business Function, the exclusive business belongs to the first business.
After the response message that terminal the reception server is fed back according to the first identity information, the response letter received due to terminal The difference of breath, therefore, the operation that the terminal is made according to the response message are also different, specifically, when above-mentioned response message is carried Be provisioning instruction when, the terminal can just indicate oneself to open external equipment and itself carry out exclusive according to the provisioning instruction The function of business.
It should be noted that the business that terminal of the embodiment of the present invention can be carried out is referred to as the first business, exclusive business and Non-exclusive business belongs to the first business.
It should be noted that it is closed mode that the exclusive business of the terminal in the embodiment of the present invention, which is default setting, only Have just open-minded when the terminal receives provisioning instruction.
It is understood that after terminal has opened the function that external equipment carries out exclusive business with itself, if with Want if carrying out exclusive business with external equipment at family, it is possible to carry out the exclusive business.
Further, in embodiments of the present invention, terminal is according to provisioning instruction, and above-mentioned external equipment and terminal are opened in instruction The function of carrying out exclusive business can be single can also be it is permanent, specifically can by user by set come certainly Fixed, the embodiment of the present invention is not restricted.
It should be noted that the function that terminal opens above-mentioned external equipment with terminal carries out exclusive business is permanent When, can be corresponding with activating the service according to the first identity information so that terminal when detecting first identity information again, Acquiescence has opened above-mentioned functions, and then, the external equipment can directly carry out exclusive business.In a word, unless received permanent Provisioning instruction, otherwise, above-mentioned function of opening is using being preceding required for receiving provisioning instruction and could carry out every time.
S307, when it is non-exclusive type to judge external equipment, send and carry the response message of non-provisioning instruction to end End.
After the response message that terminal the reception server is fed back according to the first identity information, the response letter received due to terminal The difference of breath, therefore, the operation that the terminal is made according to the response message are also different, specifically, when above-mentioned response message is carried Be non-provisioning instruction when, it is non-exclusive external equipment to characterize the external equipment that the server judges that the terminal now connects, Then, the server, which just sends instruction terminal, should not open the instruction of exclusive business to terminal.
S308, when response message carries non-provisioning instruction, according to the non-provisioning instruction, holding forbids external equipment to carry out The function of exclusive business, and the existing function of carrying out non-exclusive business of the external equipment is kept, the non-exclusive business is fallen within First business.
After the response message that terminal the reception server is fed back according to the first identity information, the response letter received due to terminal The difference of breath, therefore, the operation that the terminal is made according to the response message are also different, specifically, when above-mentioned response message is carried Be non-provisioning instruction when, due to the exclusive business of the terminal be default setting be closed mode, only the terminal receive Open-minded to ability during provisioning instruction, therefore, the terminal can just be indicated oneself to continue to keep external equipment according to the non-provisioning instruction The function of carrying out exclusive business with itself is to close.
It should be noted that in embodiments of the present invention, the external equipment being connected with terminal is except the progress of exclusive business Beyond needing to open and could carrying out, the non-exclusive business of others matching are directly to carry out.Then, in these cases, Terminal is also to maintain the existing function of carrying out non-exclusive business of the external equipment.
It should be noted that in embodiments of the present invention, S305-S306 and S307-S308 is the step arranged side by side after S304 Suddenly, can according to the type of different external equipments, carry out it is corresponding perform flow, the embodiment of the present invention is not restricted.
A kind of control method for external equipment that the embodiment of the present invention is provided, external equipment access has been detected by working as When, obtain the first identity information of the external equipment;The first identity information is sent to server, the server is the first business pair The service server answered, first business is the business matched with external equipment;The reception server is anti-according to the first identity information The response message of feedback;When response message carries provisioning instruction, according to provisioning instruction, open external equipment and carry out exclusive business Function, the exclusive business belongs to the first business.Using above-mentioned technic relization scheme, have default external because server end is obtained The type of equipment and the corresponding relation of identity information, then, end side can be to different types of external equipments by server Be managed, to judge which external equipment can carry out exclusive business, which external equipment cannot carry out exclusive industry Business, the protection to exclusive business is realized with this, rather than carries out exclusive processing to external equipment to realize, therefore, it is possible to protect On the basis of the normal use for demonstrate,proving exclusive external equipment, the compatibility communicated with external equipment and flexibility are improved.
Embodiment three
As shown in figure 5, the embodiments of the invention provide a kind of terminal 1, corresponding to a kind of control of external equipment of end side Method processed, the terminal 1 can include:
First receiving unit 10, for when having detected external equipment access, obtaining the first body of the external equipment Part information.
First transmitting element 11, is extremely serviced for sending first identity information that first receiving unit 10 is received Device, the server is the corresponding service server of the first business, and first business is the industry matched with the external equipment Business.
First receiving unit 10, is additionally operable to receive the response letter that the server feeds back according to first identity information Breath.
Control unit 12, for when the response message that first receiving unit 10 is received carries provisioning instruction, According to the provisioning instruction, the function that the external equipment carries out exclusive business is opened, the exclusive business belongs to described first Business.
Optionally, as shown in fig. 6, the terminal 1 also includes:Holding unit 13.
The holding unit 13, receives the server for first receiving unit 10 and is believed according to first identity After the response message for ceasing feedback, when the response message that first receiving unit 10 is received carries non-provisioning instruction, According to the non-provisioning instruction, keep forbidding the external equipment to carry out the function of the exclusive business, and keep described external The existing function of carrying out non-exclusive business of equipment, the non-exclusive business falls within first business.
Optionally, first transmitting element 11, is additionally operable to first receiving unit and obtains 10 to take the external equipment Before first identity information, request message is sent to the external equipment, the request message is used to ask first identity Information.
Optionally, the external equipment in the embodiment of the present invention can be that microphone, game machine bar, audio amplifier, DDR etc. can Equipment to carry out business cooperation with terminal, the embodiment of the present invention is not restricted.
Optionally, the terminal 1 in the embodiment of the present invention can be with for mobile phone, computer, Intelligent set top box, intelligent television etc. The electronic equipment of service communication is carried out with external equipment.
In actual applications, above-mentioned control unit 12 and holding unit 13 can be realized by the processor in terminal 1, tool Body is central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) Deng realization, the first receiving unit 10 can be realized by receiver, the first transmitting element 11 can be realized by transmitter, and the terminal 1 may be used also With including memory, specifically, the first identity information and its software code, response message and its software code, and request disappear Breath and its software code can be preserved in memory, and the memory can be connected by system bus with processor, wherein, deposit Reservoir is used to store executable program code, and the program code includes computer-managed instruction, and memory may include high-speed RAM Memory, it is also possible to also including nonvolatile memory, for example, at least one magnetic disk storage.
A kind of terminal that the embodiment of the present invention is provided, by when having detected external equipment access, obtaining this external First identity information of equipment;The first identity information is sent to server, the server is the corresponding business service of the first business Device, first business is the business matched with external equipment;The response message that the reception server is fed back according to the first identity information; When response message carries provisioning instruction, according to provisioning instruction, the function that external equipment carries out exclusive business, the exclusive industry are opened Business belongs to the first business.Using above-mentioned technic relization scheme, due to server end obtain the type that has default external equipment and The corresponding relation of identity information, then, end side can be managed by server to different types of external equipment, with Judge which external equipment can carry out exclusive business, which external equipment cannot carry out exclusive business, realized pair with this The protection of exclusive business, rather than carry out exclusive processing to external equipment to realize, therefore, it is possible to ensure exclusive external equipment Normal use on the basis of, improve the compatibility that is communicated with external equipment and flexibility.
As shown in fig. 7, the embodiment of the present invention additionally provides a kind of server 2, a kind of corresponding to server side external sets Standby control method, the server 2 can include:
Second receiving unit 20, the first identity information sent for receiving terminal, first identity information is used for table Levy the identity for the external equipment that the first business carried with the terminal is matched.
Judging unit 21, for first identity information that is received according to second receiving unit 20 and default outer The type of equipment and the corresponding relation of identity information are connect, the class of the corresponding external equipment of first identity information is judged Type.
Second transmitting element 22, for when it is exclusive type that the judging unit 21, which judges the external equipment, sending out The response message for carrying provisioning instruction is sent to terminal.
Optionally, second transmitting element 22, is additionally operable to described according to being received second receiving unit 20 The corresponding relation of the type and identity information of first identity information and default external equipment, judges first identity information pair After the type for the external equipment answered, when it is non-exclusive type that the judging unit 21, which judges the external equipment, Send and carry the response message of non-provisioning instruction to the terminal.
In actual applications, above-mentioned judging unit 21 can be realized by the processor on server 2, specially centre Device (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc. is managed to realize, the Two receiving units 20 can be realized by receiver, the second transmitting element 22 can be realized by transmitter, and the server 2 can also include depositing Reservoir, specifically, the corresponding relation of the first identity information and its software code, the type of default external equipment and identity information And its software code, and response message and its software code can preserve in memory, the memory can pass through system Bus is connected with processor, wherein, memory is used to store executable program code, and the program code refers to including computer operation Order, memory may include high-speed RAM memory, it is also possible to also including nonvolatile memory, for example, at least one disk is deposited Reservoir.
A kind of server that the embodiment of the present invention is provided, the first identity information sent by receiving terminal, this first Identity information is used for the identity for characterizing the external equipment that the first business carried with terminal is matched;According to the first identity information With the type and the corresponding relation of identity information of default external equipment, the class of the corresponding external equipment of the first identity information is judged Type;When it is exclusive type to judge external equipment, the response message for carrying provisioning instruction is sent to terminal.Using above-mentioned technology Implementation, because server end obtains the corresponding relation of the type for having default external equipment and identity information, then, terminal Side can be managed by server to different types of external equipment, to judge which external equipment can be carried out specially Category business, which external equipment cannot carry out exclusive business, realize the protection to exclusive business with this, rather than set to external It is standby to carry out exclusive processing to realize, therefore, it is possible to which on the basis of the normal use of exclusive external equipment is ensured, raising is set with external The compatibility of standby communication and flexibility.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combine software and hardware Formula.Moreover, the present invention can be used can use storage in one or more computers for wherein including computer usable program code The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (13)

1. a kind of control method of external equipment, it is characterised in that including:
When having detected external equipment access, the first identity information of the external equipment is obtained;
First identity information is sent to server, the server is the corresponding service server of the first business, described the One business is the business matched with the external equipment;
Receive the response message that the server feeds back according to first identity information;
When the response message carries provisioning instruction, according to the provisioning instruction, open the external equipment and carry out exclusive industry The function of business, the exclusive business belongs to first business.
2. according to the method described in claim 1, it is characterised in that the reception server is believed according to first identity After the response message for ceasing feedback, methods described also includes:
When the response message carries non-provisioning instruction, according to the non-provisioning instruction, holding forbids the external equipment to enter The function of the row exclusive business, and the existing function of carrying out non-exclusive business of the external equipment is kept, it is described non-exclusive Business falls within first business.
3. according to the method described in claim 1, it is characterised in that first identity information for obtaining the external equipment it Before, methods described also includes:
Request message is sent to the external equipment, the request message is used to ask first identity information.
4. the method according to any one of claims 1 to 3, it is characterised in that
The external equipment is microphone.
5. a kind of control method of external equipment, it is characterised in that including:
The first identity information that receiving terminal is sent, first identity information is used to characterize the first industry carried with the terminal The identity for the external equipment that business is matched;
According to the type and the corresponding relation of identity information of first identity information and default external equipment, described is judged The type of the corresponding external equipment of one identity information;
When it is exclusive type to judge the external equipment, the response message for carrying provisioning instruction is sent to terminal.
6. method according to claim 5, it is characterised in that described according to first identity information and default external The type of equipment and the corresponding relation of identity information, judge the corresponding external equipment of first identity information type it Afterwards, methods described also includes:
When it is non-exclusive type to judge the external equipment, sends and carry the response message of non-provisioning instruction to the end End.
7. the method according to claim 5 or 6, it is characterised in that
The terminal is Intelligent set top box.
8. a kind of terminal, it is characterised in that including:
First receiving unit, for when having detected external equipment access, obtaining the first identity information of the external equipment;
First transmitting element, it is described for sending first identity information that first receiving unit receives to server Server is the corresponding service server of the first business, and first business is the business matched with the external equipment;
First receiving unit, is additionally operable to receive the response message that the server feeds back according to first identity information;
Control unit, for when the response message that first receiving unit is received carries provisioning instruction, according to described Provisioning instruction, opens the function that the external equipment carries out exclusive business, and the exclusive business belongs to first business.
9. terminal according to claim 8, it is characterised in that the terminal also includes:Holding unit;
The holding unit, receives what the server fed back according to first identity information for first receiving unit After response message, when the response message that first receiving unit is received carries non-provisioning instruction, according to described non- Provisioning instruction, keeps forbidding the external equipment to carry out the function of the exclusive business, and keep the external equipment existing The function of non-exclusive business is carried out, the non-exclusive business falls within first business.
10. terminal according to claim 8, it is characterised in that
First transmitting element, be additionally operable to first receiving unit obtain the external equipment the first identity information it Before, request message is sent to the external equipment, and the request message is used to ask first identity information.
11. the terminal according to any one of claim 8 to 10, it is characterised in that
The terminal is Intelligent set top box, and the external equipment is microphone.
12. a kind of server, it is characterised in that including:
Second receiving unit, the first identity information sent for receiving terminal, first identity information is used to characterize and institute State the identity of external equipment that the first business of terminal carrying is matched;
Judging unit, for first identity information that is received according to second receiving unit and default external equipment The corresponding relation of type and identity information, judges the type of the corresponding external equipment of first identity information;
Second transmitting element, for when it is exclusive type that the judging unit, which judges the external equipment, sending carrying and opening The response message of logical instruction is to terminal.
13. server according to claim 12, it is characterised in that
Second transmitting element, is additionally operable to first identity information received according to second receiving unit and pre- If external equipment type and the corresponding relation of identity information, judge the corresponding external equipment of first identity information Type after, when it is non-exclusive type that the judging unit, which judges the external equipment, sends and carry non-provisioning instruction Response message to the terminal.
CN201610141882.2A 2016-03-11 2016-03-11 Control method and device of external equipment Active CN107181727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610141882.2A CN107181727B (en) 2016-03-11 2016-03-11 Control method and device of external equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610141882.2A CN107181727B (en) 2016-03-11 2016-03-11 Control method and device of external equipment

Publications (2)

Publication Number Publication Date
CN107181727A true CN107181727A (en) 2017-09-19
CN107181727B CN107181727B (en) 2020-10-27

Family

ID=59830265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610141882.2A Active CN107181727B (en) 2016-03-11 2016-03-11 Control method and device of external equipment

Country Status (1)

Country Link
CN (1) CN107181727B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332823A1 (en) * 2009-06-30 2010-12-30 Sharp Kabushiki Kaisha Multi-functional peripheral, authentication server and system
CN103024501A (en) * 2012-12-18 2013-04-03 四川长虹电器股份有限公司 System and method for using mobile terminal to control television terminal
CN204563571U (en) * 2015-04-03 2015-08-19 武汉创客数字科技有限公司 Game paddle
US20150281123A1 (en) * 2014-03-28 2015-10-01 Baidu Online Network Technology (Beijing) Co., Ltd. Device controlling method, client, server and intermediate device
CN105320616A (en) * 2014-06-24 2016-02-10 腾讯科技(深圳)有限公司 External device control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332823A1 (en) * 2009-06-30 2010-12-30 Sharp Kabushiki Kaisha Multi-functional peripheral, authentication server and system
CN103024501A (en) * 2012-12-18 2013-04-03 四川长虹电器股份有限公司 System and method for using mobile terminal to control television terminal
US20150281123A1 (en) * 2014-03-28 2015-10-01 Baidu Online Network Technology (Beijing) Co., Ltd. Device controlling method, client, server and intermediate device
CN105320616A (en) * 2014-06-24 2016-02-10 腾讯科技(深圳)有限公司 External device control method and device
CN204563571U (en) * 2015-04-03 2015-08-19 武汉创客数字科技有限公司 Game paddle

Also Published As

Publication number Publication date
CN107181727B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN106254462B (en) Method, server and system for realizing remote assistance of mobile terminal
US8170532B2 (en) Method and system for identification using a portable wireless communication device of a person
CN107153961A (en) A kind of method of payment, paying server, trading server and readable storage medium storing program for executing
CN103475674B (en) Unified communications and method
US20070005775A1 (en) Peer device data transfer
EP2342869A1 (en) System and method for managing and appling history information of terminal in converged personal network service environment, and converged personal network service server, mobile communication and end device therefor
CN109152057A (en) Timeslice distribution method, device and electronic equipment
CN106716956A (en) Cloud end operation interface sharing method, related device and system
US10616735B2 (en) Data update system, remote configuration device and data update method
CN106647394A (en) Method and system for monitoring usage behavior of wearable device
JP2017204102A (en) Method for controlling terminal device, terminal device, and program
CN107911424A (en) A kind of read-on-command function interacted with client realizes system, method and intelligent watch
JP2020503602A (en) Identity recognition method, identity recognition device, office platform system and associated server
CN107809437A (en) A kind of converged communication login method, device and computer-readable recording medium
CN107908617A (en) A kind of consumption statistic method, terminal and computer-readable recording medium
CN108363628A (en) Message treatment method, device, terminal and computer readable storage medium
CN106095132A (en) Playback equipment keypress function method to set up and device
CN103957467B (en) Exchange method and user equipment
CN107079271A (en) For content to be broadcast to the method and system of smart machine using dedicated gateway box
CN107181727A (en) A kind of control method and device of external equipment
CN106998507A (en) The intercommunication means of communication and device
CN103685523B (en) Method and device for processing multimedia data
CN108696547A (en) Document transmission method, apparatus and system
CN107105083A (en) A kind of way of recording, master terminal, sub- terminal and system
KR101897158B1 (en) Method for providing vote using messenger service, system thereof, terminal thereof and apparatus thereof

Legal Events

Date Code Title Description
DD01 Delivery of document by public notice

Addressee: MIGU MUSIC CO., LTD.

Document name: Notice of non patent agent (person)

DD01 Delivery of document by public notice

Addressee: MIGU MUSIC CO., LTD.

Document name: Notification to Make Rectification

DD01 Delivery of document by public notice

Addressee: Cloud linkage technology (Beijing) Co., Ltd.

Document name: Notification of Passing Examination on Formalities

PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant