CN104866282B - A kind of method and electronic equipment of control electronics - Google Patents
A kind of method and electronic equipment of control electronics Download PDFInfo
- Publication number
- CN104866282B CN104866282B CN201410058552.8A CN201410058552A CN104866282B CN 104866282 B CN104866282 B CN 104866282B CN 201410058552 A CN201410058552 A CN 201410058552A CN 104866282 B CN104866282 B CN 104866282B
- Authority
- CN
- China
- Prior art keywords
- main control
- control device
- controlled device
- input unit
- broadcast message
- 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.)
- Active
Links
Landscapes
- Selective Calling Equipment (AREA)
Abstract
The present invention provides a kind of method and electronic equipment of control electronics, when for solving the multiple controlled devices of main control device control existing in the prior art the technical issues of poor reliability.This method is applied on a controlled device, the method includes:The broadcast message from main control device is received, the hardware identifier for whether being stored with input unit in the controlled device is detected according to the broadcast message, wherein includes at least the link information of the main control device in the broadcast message;If so, according to the link information of the main control device, the link information of the controlled device is sent to main control device, is connect with the main control device, wherein the main control device is connect with the input unit;The control instruction inputted by the input unit that the main control device is sent is received, and executes the control instruction and completes the first function.
Description
Technical field
The present invention relates to electronic technology field more particularly to the methods and electronic equipment of a kind of control electronics.
Background technology
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type of electronic product is also got over
Come more, people have also enjoyed the various facilities that development in science and technology is brought.Present people can be set by various types of electronics
It is standby, enjoy the comfortable life brought with development in science and technology.
Currently, with the development of multi-screen interactive technology, the application scenarios of multiple controlled devices are controlled increasingly by main control device
Increase.For example, when carrying out meeting, can be controlled by the main control device in face of prolocutor in face of participant controlled sets
It is standby, to carry out the displaying of conference content, or when carrying out multimedia teaching, learned by operating main control device to control by teacher
Controlled device before dough, to carry out the displaying of the content of courses.
But in the prior art, when multiple controlled devices are connect with main control device, as long as the user of controlled device is manual
The controlled user group of main control device is added, does not need to verify the legitimacy of controlled device, that is to say, that is controlled
Equipment wants that accessing controlled user group is just added, it is possible to cause the addition of disabled user, it is more thus to there is main control device control
When a controlled device the technical issues of poor reliability.
Invention content
The present invention provides a kind of method and electronic equipment of control electronics, for solving master existing in the prior art
The technical issues of controlling poor reliability when equipment controls multiple controlled devices.
The present invention provides a kind of method of control electronics by one embodiment of the application, and it is controlled to be applied to one
In equipment, the method includes:The broadcast message from main control device is received, is set according to described be controlled of broadcast message detection
Whether the hardware identifier of input unit is stored in standby, wherein the company of the main control device is included at least in the broadcast message
Connect information;If so, according to the link information of the main control device, the link information of the controlled device is sent to main control device,
It is connect with the main control device, wherein the main control device is connect with the input unit;Receive what the main control device was sent
The control instruction inputted by the input unit, and execute the control instruction and complete the first function.
Optionally, the broadcast message of the reception from main control device, detect whether be stored in the controlled device it is defeated
The hardware identifier for entering device, specifically includes:Receive the broadcast message, wherein further include input unit in the broadcast message
Hardware information and hardware identifier detection instruction;The hardware identifier detection instruction is executed, according to the hardware information, detection
The hardware identifier whether is stored in the controlled device.
Optionally, the broadcast message of the reception from main control device, detect whether be stored in the controlled device it is defeated
The hardware identifier for entering device, specifically includes:Receive the broadcast message, wherein further include the input in the broadcast message
The hardware information of device;According to the hardware information, detect whether the input unit is inserted into the controlled device, wherein when
When the input unit is connect with the controlled device for the first time, the driver of the input unit is installed and stores, it is described
The hardware identifier is carried in driver.
The present invention provides a kind of method of control electronics by another embodiment of the application, is applied to a master
It controls in equipment, the main control device is connect with an input unit, the method includes:It obtains by N number of controlled device based on described
The connection message for N number of controlled device that the hardware identifier of input unit is sent, connect with N number of controlled device, and N is just
Integer;The control instruction inputted by the input unit is sent to M target device in N number of controlled device, so that
The input unit controls the M target device and completes the first function, wherein M is positive integer, and is less than or equal to N.
Optionally, described to obtain N number of quilt that the hardware identifier based on the input unit is sent by N number of controlled device
The connection message for controlling equipment, specifically includes:Detect whether the main control device accesses a data transmission network;When the master control is set
When the standby access data transmission network, broadcast message is sent in the data transmission network, wherein in the broadcast message
The hardware information of link information and input unit including at least the main control device;It receives from N number of controlled device
Connection message, wherein the connection message of N number of controlled device is existed according to the hardware information by N number of controlled device
It detects when being stored with the hardware identifier, what the link information based on the main control device was sent.
Optionally, described to obtain N number of quilt that the hardware identifier based on the input unit is sent by N number of controlled device
The connection message for controlling equipment, specifically includes:Detect whether the main control device accesses a data transmission network;When the master control is set
When the standby data transmission network without access, a wireless data transmission network is established, and in the wireless data transmission network
Middle transmission broadcast message, wherein including at least the link information of the main control device and input unit in the broadcast message
Hardware information;Receive the connection message of N number of controlled device, wherein the connection message of N number of controlled device is to carry
N number of controlled device detected according to the hardware information be stored with the hardware identifier when, be based on the main control device
Link information send access request in.
Optionally, further include hardware identifier detection instruction in the broadcast message, the main control device is by the hardware mark
Know detection instruction and send N number of controlled device so that the controlled device executes hardware identifier detection command detection institute
State whether controlled device is stored with the hardware identifier.
The present invention provides a kind of electronic equipment by another embodiment of the application, including:Detection unit, for connecing
The broadcast message from main control device is received, detects in the controlled device whether be stored with input unit according to the broadcast message
Hardware identifier, wherein in the broadcast message include at least the main control device link information;Transmission unit, if for
It is, according to the link information of the main control device, to send the link information of the controlled device to main control device, with the master control
Equipment connects, wherein the main control device is connect with the input unit;Control unit, for receiving the main control device hair
The control instruction inputted by the input unit sent, and execute the control instruction and complete the first function.
Optionally, the detection unit, is specifically used for:Receive the broadcast message, wherein also wrapped in the broadcast message
Include hardware information and the hardware identifier detection instruction of input unit;The hardware identifier detection instruction is executed, according to described hard
Whether part information, detection are stored with the hardware identifier in the controlled device.
Optionally, the detection unit, is specifically used for:Receive the broadcast message, wherein also wrapped in the broadcast message
Include the hardware information of the input unit;According to the hardware information, detect whether the input unit is inserted into described controlled set
It is standby, wherein when the input unit is connect with the controlled device for the first time, to install and store the driving of the input unit
Program carries the hardware identifier in the driver.
The present invention provides a kind of electronic equipment, the electronic equipment and an input by another embodiment of the application
Device connects, and the electronic equipment includes:Link information receiving unit is based on the input for obtaining by N number of controlled device
The connection message for N number of controlled device that the hardware identifier of device is sent, connect with N number of controlled device, and N is just whole
Number;Control instruction transmission unit, for the control instruction inputted by the input unit to be sent in N number of controlled device
M target device so that the input unit controls the M target device the first function of completion, wherein M is positive integer,
And it is less than or equal to N.
Optionally, the link information receiving unit, is specifically used for:Detect whether the main control device accesses data biography
Defeated network;When the main control device accesses the data transmission network, broadcast message is sent in the data transmission network,
Wherein, including at least the hardware information of the link information and input unit of the main control device in the broadcast message;It receives and
From the connection message of N number of controlled device, wherein the connection message of N number of controlled device is by N number of controlled device
Detecting that the link information based on the main control device is sent when being stored with the hardware identifier according to the hardware information
's.
Optionally, the link information receiving unit, is specifically used for:Detect whether the main control device accesses data biography
Defeated network;When the main control device does not access the data transmission network, a wireless data transmission network is established, and in institute
It states and sends broadcast message in wireless data transmission network, wherein include at least the company of the main control device in the broadcast message
Connect the hardware information of information and input unit;Receive the connection message of N number of controlled device, wherein N number of controlled device
Connection message be to carry to be stored with the hardware identifier detecting according to the hardware information in N number of controlled device
When, in the access request that link information based on the main control device is sent.
Optionally, further include hardware identifier detection instruction in the broadcast message, the main control device is by the hardware mark
Know detection instruction and send N number of controlled device so that the controlled device executes hardware identifier detection command detection institute
State whether controlled device is stored with the hardware identifier.
Beneficial effects of the present invention:
Since controlled device receives the broadcast message from main control device, detects and whether be stored with input dress in controlled device
The hardware identifier set, when detect the hardware identifier is stored in controlled device when, can just send the link information of controlled device
It to main control device, is connect with main control device, that is, is carried out according to hardware identifier having carried out legitimate verification to controlled device, only
Having has the hardware identifier, i.e. legitimate device can be attached with main control device, so receive that main control device sends by
It is connected to the control instruction of the input unit input on main control device, and executes the instruction, is controlled by main control device with realizing, this
Sample efficiently solves the technical issues of poor reliability when main control device existing in the prior art controls multiple controlled devices, carries
High main control device controls reliability when multiple controlled devices, provides good user experience.
Description of the drawings
Fig. 1 is the flow chart of the method for the control electronics in one embodiment of the invention;
Fig. 2 is the flow chart of the method for the control electronics in another embodiment of the present invention;
Fig. 3 is the functional block diagram of the electronic equipment in one embodiment of the invention;
Fig. 4 is the functional block diagram of the electronic equipment in another embodiment of the present invention.
Specific implementation mode
The embodiment of the present application solves in the prior art by providing a kind of method and electronic equipment of control electronics
When existing main control device controls multiple controlled devices the technical issues of poor reliability.
Technical solution in the embodiment of the present application is can when solving the above-mentioned multiple controlled devices of main control device control
By the problem of property difference, general thought is as follows:
Since controlled device is after receiving the broadcast message from main control device, detects and whether be stored in controlled device
The hardware identifier of input unit, when detect the hardware identifier is stored in controlled device when, can just send the company of controlled device
Information is connect to main control device, is connect with main control device, that is, is carried out according to hardware identifier having carried out legitimacy to controlled device
Only there is the hardware identifier, i.e. legitimate device can be attached with main control device for verification, and then receive main control device hair
The control instruction by the input unit input being connected on main control device sent, and execute the instruction and complete the first function, with reality
It is now controlled by main control device, efficiently solving in this way can when main control device existing in the prior art controls multiple controlled devices
By the technical problem of property difference, reliability when main control device controls multiple controlled devices is improved, good user experience is provided.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the present invention
Specific features in embodiment and embodiment are the detailed description to technical solution of the present invention, rather than to the technology of the present invention
The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present invention and embodiment can be combined with each other.
The application provides a kind of control system, wherein there are one main control device and multiple controlled devices for tool in the system.Example
Such as, in session when, what is placed in face of conference moderator is exactly main control device, and placed in face of other participants
It is exactly controlled device, only includes an input unit, such as wired or wireless mouse, physical keyboard, handwriting pad within the system
Deng the application is not specifically limited.
Conference moderator control main control device enters conference model, at this point, main control device acquisition is based on by N number of controlled device
The connection message for N number of controlled device that the hardware identifier of input unit is sent, connect, N is positive integer with N number of controlled device.
Optionally, whether main control device detection main control device accesses a data transmission network, which can be with
For Wireless LAN, or wired local area network works as master for example, main control device detects whether it accesses a router
When controlling equipment access data transmission network, broadcast message is sent in data transmission network, wherein included at least in broadcast message
The link information of main control device and the hardware information of input unit, the hardware information of input unit can be the driving of input unit
The sequence number of program version number or input unit.
Whether controlled device is after receiving the broadcast message, according to hardware information, be stored in detection controlled device defeated
Enter the hardware identifier of device, if so, link information of the controlled device according to the main control device in above-mentioned broadcast message, sends controlled
The link information of equipment is to main control device, in this way, main control device is connected with controlled device, carries out data interaction.It is mentioned here
Hardware identifier can be the driver of input unit, or the sequence number of input unit, the application are not specifically limited.
It should be noted that input unit with main control device either controlled device is connect for the first time when main control device or
Controlled device can install the driver of input unit automatically, at this point, will store the drive in main control device or controlled device
Dynamic program, the i.e. hardware identifier of input unit, alternatively, the sequence number of input unit is carried in driver, then, work as driving
After program is mounted and preserves, the sequence number of input unit is also stored on controlled device and suffers.
In specific implementation process, if connecting controlled device before input unit, controlled device being capable of root
Whether the input unit information sent according to main control device is wherein stored with the hardware identifier of the input unit to detect;If input
Controlled device was not connected before device, that is to say, that when input unit is connect with the controlled device for the first time, due to user
It can determine that the electronic equipment is controlled device, then, controlled device just detects whether input unit connect with controlled device, if
Input unit has to be connect with controlled device, and controlled device will install the driver of input unit, and then preserve input unit
Hardware identifier.
In actual application, can also include that hardware identifier detection refers in the broadcast message of main control device broadcast
It enables, controlled device receives and execute the instruction, to detect in controlled device whether be stored with above-mentioned hardware mark according to hardware information
Know.It is of course also possible to controlled device receive main control device send broadcast message after, automatically begin to according to hardware information into
Row detection, can also have other modes detection trigger step, the application to be not specifically limited in practical applications.
When controlled device detects the hardware identifier for being wherein stored with input unit, just send the link information of oneself to
Main control device if controlled device does not detect the hardware identifier for being wherein stored with input unit, is not done any still
Response, that is to say, that the equipment is not authorized to connect with main control device.
After N number of controlled device sends the link information of oneself to main control device, the control that will be inputted by input unit
Instruction is sent to M target device in N number of controlled device, this N number of controlled device executes after receiving the control instruction
The first function is completed in the instruction, and such as document page turning, the functions such as PPT projections thereby realize input unit and pass through main control device
Control M target device, wherein M is positive integer, and is less than or equal to N.
Specifically, main control device can be uniformly controlled all N number of controlled devices, then, N=M at this time, N number of controlled device
It is target device, and in another case, main control device can only control M controlled device in N number of equipment, i.e. M is a
Target device, then, for example, after N number of controlled device sends the link information of oneself to main control device, main control device can be with
The ID of this N number of controlled device is shown in the form of a list, so that user carries out selecting M target device therein, certainly, also
It can be not specifically limited by the selected mode of others, the application.After main control device has selected M target device, when with
When family controls main control device by input unit, control instruction can be sent this M controlled device simultaneously by main control device, be controlled
Equipment executes the instruction, is controlled by main control device after receiving control instruction.In another embodiment, main control device is examined
Survey whether main control device accesses a data transmission network, when main control device does not access data transmission network, main control device is made
For virtual AP(Access Point, wireless access node), a wireless data transmission network is established, and in wireless data transmission net
Above-mentioned broadcast message is sent in network, when N number of controlled device receives the broadcast message as described in above-mentioned steps, and detect from
When body is stored with the hardware identifier of input unit, access request is sent to main control device, controlled device is carried in the request
Connection message.
It can be seen from the above, since controlled device is after receiving the broadcast message from main control device, controlled device is detected
In whether be stored with the hardware identifier of input unit, when detect the hardware identifier is stored in controlled device when, can just send
The link information of controlled device is connect to main control device with main control device, that is, is carried out to controlled device according to hardware identifier
Legitimate verification has been carried out, only there is the hardware identifier, i.e. legitimate device can be attached with main control device, Jin Erjie
The control instruction by the input unit input being connected on main control device that main control device is sent is received, and executes the instruction, with reality
It is now controlled by main control device, improves reliability when main control device controls multiple controlled devices, good user experience is provided.
Based on same inventive concept, the application also provides a kind of method of control electronics, is applied to such as said one
Or on the controlled device in multiple embodiments.
As shown in Figure 1, this method includes:
S101:The broadcast message from main control device is received, is detected in controlled device and whether is stored with according to broadcast message
The hardware identifier of input unit, wherein the link information of main control device is included at least in broadcast message;
S102:If so, according to the link information of main control device, the link information of controlled device is sent to main control device, with
Main control device connects, wherein main control device is connect with input unit;
S103:The control instruction inputted by input unit that main control device is sent is received, and executes control instruction and completes the
One function.
Optionally, S101 may include:Receive broadcast message, wherein further include the hardware of input unit in broadcast message
Information and hardware identifier detection instruction;Hardware identifier detection instruction is executed, according to hardware information, detection is in controlled device
It is no to be stored with hardware identifier.
Optionally, S101 may include:Receive broadcast message, wherein further include the hardware of input unit in broadcast message
Information;According to hardware information, whether detection input unit is inserted into controlled device, wherein when input unit is set with controlled for the first time
When standby connection, the driver of input unit is installed and stored, hardware identifier is carried in driver.
Based on same inventive concept, the application also provides a kind of method of control electronics, is applied to such as said one
Or on the main control device in multiple embodiments, which connect with an input unit.
As shown in Fig. 2, this method includes:
S201:The connection for obtaining N number of controlled device that the hardware identifier based on input unit is sent by N number of controlled device disappears
Breath, connect, N is positive integer with N number of controlled device;
S202:The control instruction inputted by input unit is sent to M target device in N number of controlled device, so that
Input unit controls M target device and completes the first function, wherein M is positive integer, and is less than or equal to N.
Optionally, S201 may include:Whether detection main control device accesses a data transmission network;When main control device accesses
When data transmission network, broadcast message is sent in data transmission network, wherein including at least main control device in broadcast message
The hardware information of link information and input unit;Receive the connection message from N number of controlled device, wherein N number of controlled device
Connection message be by N number of controlled device according to hardware information detect be stored with hardware identifier when, the company based on main control device
Connect information transmission.
Optionally, S201 may include:Whether detection main control device accesses a data transmission network;When main control device does not have
When accessing data transmission network, a wireless data transmission network is established, and broadcast message is sent in wireless data transmission network,
Wherein, including at least the hardware information of the link information and input unit of main control device in broadcast message;Receive N number of controlled device
Connection message, wherein the connection message of N number of controlled device be carry detected according to hardware information in N number of controlled device
When being stored with hardware identifier, in the access request that the link information based on main control device is sent.
Optionally, further include that hardware identifier detection instructs in broadcast message, hardware identifier is detected instruction hair by main control device
Send N number of controlled device so that controlled device executes whether hardware identifier detection command detection controlled device is stored with hardware identifier.
Based on same inventive concept, the application also provides a kind of electronic equipment, the electronic equipment and said one or more
Controlled device in a embodiment is consistent, can be smart mobile phone, tablet computer, notebook etc., as shown in figure 3, the electronics is set
It is standby to include:Detection unit 31, for receiving the broadcast message from main control device, being detected in controlled device according to broadcast message is
The no hardware identifier for being stored with input unit, wherein wherein, the link information of main control device is included at least in broadcast message;Hair
Unit 32 is sent, is used to send if so, according to the link information of main control device the link information of controlled device to main control device, with
Main control device connects, wherein main control device is connect with input unit;Control unit 33, for receive main control device transmission by
The control instruction of input unit input, and execute control instruction and complete the first function.
Optionally, detection unit 31 are specifically used for:Receive broadcast message, wherein further include input unit in broadcast message
Hardware information and hardware identifier detection instruction;Hardware identifier detection instruction is executed, according to hardware information, detection is set controlled
Whether it is stored with hardware identifier in standby.
Optionally, detection unit 31 are specifically used for:Receive broadcast message, wherein further include input unit in broadcast message
Hardware information;According to hardware information, whether detection input unit is inserted into controlled device, wherein when input unit for the first time with
When controlled device connects, the driver of input unit is installed and stored, hardware identifier is carried in driver.
Based on same inventive concept, the application also provides a kind of electronic equipment, the electronic equipment and said one or more
Main control device in a embodiment is consistent, can be smart mobile phone, tablet computer, notebook etc., and electronic equipment and an input fill
Connection is set, as shown in figure 4, the electronic equipment includes:Link information receiving unit 41 is based on for obtaining by N number of controlled device
The connection message for N number of controlled device that the hardware identifier of input unit is sent, connect, N is positive integer with N number of controlled device;Control
Instruction sending unit 42 processed, the M target for the control instruction inputted by input unit to be sent in N number of controlled device are set
It is standby, so that input unit controls M target device and completes the first function, wherein M is positive integer, and is less than or equal to N.
Optionally, link information receiving unit 41, is specifically used for:Whether detection main control device accesses a data transmission network
Network;When main control device accesses data transmission network, broadcast message is sent in data transmission network, wherein in broadcast message
The hardware information of link information and input unit including at least main control device;The connection message from N number of controlled device is received,
Wherein, the connection message of N number of controlled device is to be stored with hardware identifier detecting according to hardware information by N number of controlled device
When, what the link information based on main control device was sent.
Optionally, link information receiving unit 41, is specifically used for:Whether detection main control device accesses a data transmission network
Network;When main control device does not access data transmission network, a wireless data transmission network is established, and in wireless data transmission net
Broadcast message is sent in network, wherein including at least the hardware of the link information of main control device and input unit letter in broadcast message
Breath;Receive the connection message of N number of controlled device, wherein the connection message of N number of controlled device is to carry to exist in N number of controlled device
It is detected according to hardware information when being stored with hardware identifier, in the access request that the link information based on main control device is sent.
Optionally, further include that hardware identifier detection instructs in broadcast message, hardware identifier is detected instruction hair by main control device
Send N number of controlled device so that controlled device executes whether hardware identifier detection command detection controlled device is stored with hardware identifier.
Technical solution in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
Since controlled device is after receiving the broadcast message from main control device, detects and whether be stored in controlled device
The hardware identifier of input unit, when detect the hardware identifier is stored in controlled device when, can just send the company of controlled device
Information is connect to main control device, is connect with main control device, that is, is carried out according to hardware identifier having carried out legitimacy to controlled device
Only there is the hardware identifier, i.e. legitimate device can be attached with main control device for verification, and then receive main control device hair
The control instruction by the input unit input being connected on main control device sent, and the instruction is executed, to realize by main control device
Control, efficiently solves the technology of poor reliability when main control device existing in the prior art controls multiple controlled devices in this way
Problem improves reliability when main control device controls multiple controlled devices, provides good user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program of upper implementation produces
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed 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 a box or multiple boxes.
Specifically, the corresponding computer program instructions of method of the control electronics in one embodiment of the application can be with
It is stored in CD, hard disk, on the storage mediums such as USB flash disk, when computer journey corresponding with information processing method in storage medium
Sequence instruction is read or is performed by an electronic equipment, includes the following steps:
The broadcast message from main control device is received, is detected in the controlled device and whether is stored according to the broadcast message
There is the hardware identifier of input unit, wherein the link information of the main control device is included at least in the broadcast message;
If so, according to the link information of the main control device, the link information of the controlled device is sent to main control device,
It is connect with the main control device, wherein the main control device is connect with the input unit;
The control instruction inputted by the input unit that the main control device is sent is received, and executes the control instruction
Complete the first function.
Optionally, stored in the storage medium with step in the broadcast message of the reception from main control device, root
The hardware identifier that input unit whether is stored in the controlled device, corresponding computer instruction are detected according to the broadcast message
During specific be performed, specifically comprise the following steps:
Receive the broadcast message, wherein further include the hardware information and hardware of input unit in the broadcast message
Label detection instructs;
The hardware identifier detection instruction is executed, according to the hardware information, whether detection deposits in the controlled device
Contain the hardware identifier.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly it in the broadcast message of the reception from main control device, is detected in the controlled device and whether is stored according to the broadcast message
There are the hardware identifier of input unit, corresponding computer instruction to specifically comprise the following steps during specific be performed:
Receive the broadcast message, wherein further include the hardware information of the input unit in the broadcast message;
According to the hardware information, detect whether the input unit is inserted into the controlled device, wherein when the input
When device is connect with the controlled device for the first time, the driver of the input unit, the driver are installed and stored
In carry the hardware identifier.
The corresponding computer program instructions of method of control electronics in another embodiment of the application can be stored
In CD, hard disk, on the storage mediums such as USB flash disk, when computer program instructions corresponding with information processing method in storage medium
It is read or is performed by an electronic equipment, include the following steps:
The connection for obtaining N number of controlled device that the hardware identifier based on input unit is sent by N number of controlled device disappears
Breath, connect, N is positive integer with N number of controlled device;
The control instruction inputted by the input unit is sent to M target device in N number of controlled device, with
So that the input unit is controlled the M target device and complete the first function, wherein M is positive integer, and is less than or equal to N.
Optionally, what is stored in the storage medium is based on the input in described obtain with step by N number of controlled device
The connection message for N number of controlled device that the hardware identifier of device is sent, corresponding computer instruction were performed specifically
Cheng Zhong specifically comprises the following steps:
Detect whether the main control device accesses a data transmission network;
When the main control device access the data transmission network when, in the data transmission network send broadcast disappear
Breath, wherein including at least the hardware information of the link information and input unit of the main control device in the broadcast message;
Receive the connection message from N number of controlled device, wherein the connection message of N number of controlled device be by
N number of controlled device according to the hardware information detect be stored with the hardware identifier when, be based on the main control device
Link information send.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly in the company for obtaining N number of controlled device that the hardware identifier based on the input unit is sent by N number of controlled device
Message is connect, corresponding computer instruction specifically comprises the following steps during specific be performed:
Detect whether the main control device accesses a data transmission network;
When the main control device does not access the data transmission network, a wireless data transmission network is established, and
Broadcast message is sent in the wireless data transmission network, wherein including at least the main control device in the broadcast message
The hardware information of link information and input unit;
Receive the connection message of N number of controlled device, wherein the connection message of N number of controlled device is to carry
N number of controlled device detected according to the hardware information be stored with the hardware identifier when, be based on the main control device
Link information send access request in.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (14)
1. a kind of method of control electronics is applied on a controlled device, the method includes:
The broadcast message from main control device is received, it is defeated according to whether being stored in the broadcast message detection controlled device
Enter the hardware identifier of device, wherein the link information of the main control device is included at least in the broadcast message;
If so, according to the link information of the main control device, the link information of the controlled device is sent to main control device, with institute
State main control device connection, wherein the main control device is connect with the input unit;
The control instruction inputted by the input unit that the main control device is sent is received, and executes the control instruction and completes
First function.
2. the method as described in claim 1, which is characterized in that the broadcast message of the reception from main control device, according to institute
It states broadcast message detects the hardware identifier for whether being stored with input unit in the controlled device, specifically includes:
Receive the broadcast message, wherein further include the hardware information and hardware identifier of input unit in the broadcast message
Detection instruction;
The hardware identifier detection instruction is executed, according to the hardware information, whether detection is stored in the controlled device
The hardware identifier.
3. the method as described in claim 1, which is characterized in that the broadcast message of the reception from main control device detects institute
The hardware identifier for whether being stored with input unit in controlled device is stated, is specifically included:
Receive the broadcast message, wherein further include the hardware information of the input unit in the broadcast message;
According to the hardware information, detect whether the input unit is inserted into the controlled device, wherein when the input unit
When being connect for the first time with the controlled device, the driver of the input unit is installed and stored, is taken in the driver
With the hardware identifier.
4. a kind of method of control electronics is applied on a main control device, the main control device is connect with an input unit,
The method includes:
The connection for obtaining N number of controlled device that the hardware identifier based on the input unit is sent by N number of controlled device disappears
Breath, connect, N is positive integer with N number of controlled device;
The control instruction inputted by the input unit is sent to M target device in N number of controlled device, so that institute
It states input unit and controls the first function of the M target device completion, wherein M is positive integer, and is less than or equal to N.
5. method as claimed in claim 4, which is characterized in that described obtain is based on the input unit by N number of controlled device
Hardware identifier send N number of controlled device connection message, specifically include:
Detect whether the main control device accesses a data transmission network;
When the main control device accesses the data transmission network, broadcast message is sent in the data transmission network,
In, including at least the hardware information of the link information and input unit of the main control device in the broadcast message;
Receive the connection message from N number of controlled device, wherein the connection message of N number of controlled device is by the N
A controlled device according to the hardware information detect be stored with the hardware identifier when, the connection based on the main control device
What information was sent.
6. method as claimed in claim 4, which is characterized in that described obtain is based on the input unit by N number of controlled device
Hardware identifier send N number of controlled device connection message, specifically include:
Detect whether the main control device accesses a data transmission network;
When the main control device does not access the data transmission network, a wireless data transmission network is established, and described
Broadcast message is sent in wireless data transmission network, wherein the connection of the main control device is included at least in the broadcast message
The hardware information of information and input unit;
Receive the connection message of N number of controlled device, wherein the connection message of N number of controlled device is carried in the N
A controlled device detected according to the hardware information be stored with the hardware identifier when, the connection based on the main control device
In the access request that information is sent.
7. such as method described in claim 5 or 6, which is characterized in that further include that hardware identifier detection refers in the broadcast message
It enables, the hardware identifier is detected instruction and sends N number of controlled device by the main control device so that the controlled device executes
Whether controlled device is stored with the hardware identifier described in the hardware identifier detection command detection.
8. a kind of electronic equipment, including:
Detection unit, for receiving the broadcast message from main control device, being detected in controlled device according to the broadcast message is
The no hardware identifier for being stored with input unit, wherein the link information of the main control device is included at least in the broadcast message;
Transmission unit, be used to send if so, according to the link information of the main control device link information of the controlled device to
Main control device is connect with the main control device, wherein the main control device is connect with the input unit;
Control unit, the control instruction inputted by the input unit sent for receiving the main control device, and execute institute
It states control instruction and completes the first function.
9. electronic equipment as claimed in claim 8, which is characterized in that the detection unit is specifically used for:Receive the broadcast
Information, wherein further include hardware information and the hardware identifier detection instruction of input unit in the broadcast message;Described in execution
Hardware identifier detection instruction, according to the hardware information, whether detection is stored with the hardware identifier in the controlled device.
10. electronic equipment as claimed in claim 8, which is characterized in that the detection unit is specifically used for:It receives described wide
Broadcast information, wherein further include the hardware information of the input unit in the broadcast message;According to the hardware information, detection
Whether the input unit is inserted into the controlled device, wherein when the input unit is connect with the controlled device for the first time
When, the driver of the input unit is installed and stored, the hardware identifier is carried in the driver.
11. a kind of electronic equipment, the electronic equipment is connect with an input unit, and the electronic equipment includes:
Link information receiving unit, for obtaining the institute that the hardware identifier based on the input unit is sent by N number of controlled device
The connection message for stating N number of controlled device is connect with N number of controlled device, and N is positive integer;
Control instruction transmission unit, for the control instruction inputted by the input unit to be sent to N number of controlled device
In M target device so that the input unit controls the M target device and completes the first function, wherein M is just whole
Number, and it is less than or equal to N.
12. electronic equipment as claimed in claim 11, which is characterized in that the link information receiving unit is specifically used for:Inspection
Survey whether main control device accesses a data transmission network;When the main control device accesses the data transmission network, described
Broadcast message is sent in data transmission network, wherein the link information of the main control device is included at least in the broadcast message
With the hardware information of input unit;Receive the connection message from N number of controlled device, wherein N number of controlled device
Connection message be by N number of controlled device according to the hardware information detect be stored with the hardware identifier when, be based on
What the link information of the main control device was sent.
13. electronic equipment as claimed in claim 11, which is characterized in that the link information receiving unit is specifically used for:Inspection
Survey whether main control device accesses a data transmission network;When the main control device does not access the data transmission network, build
A vertical wireless data transmission network, and broadcast message is sent in the wireless data transmission network, wherein the broadcast message
In include at least the main control device link information and input unit hardware information;Receive the company of N number of controlled device
Connect message, wherein the connection message of N number of controlled device is to carry to believe according to the hardware in N number of controlled device
Breath detects when being stored with the hardware identifier, in the access request that the link information based on the main control device is sent.
14. electronic equipment as described in claim 12 or 13, which is characterized in that further include hardware identifier in the broadcast message
Instruction is detected, the hardware identifier is detected instruction and sends N number of controlled device by the main control device so that described be controlled sets
It is standby to execute whether controlled device described in the hardware identifier detection command detection is stored with the hardware identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410058552.8A CN104866282B (en) | 2014-02-20 | 2014-02-20 | A kind of method and electronic equipment of control electronics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410058552.8A CN104866282B (en) | 2014-02-20 | 2014-02-20 | A kind of method and electronic equipment of control electronics |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104866282A CN104866282A (en) | 2015-08-26 |
CN104866282B true CN104866282B (en) | 2018-08-10 |
Family
ID=53912138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410058552.8A Active CN104866282B (en) | 2014-02-20 | 2014-02-20 | A kind of method and electronic equipment of control electronics |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104866282B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107659741B (en) * | 2016-07-25 | 2021-02-05 | 中国移动通信集团福建有限公司 | Remote control method, equipment and system |
CN106453073A (en) * | 2016-09-30 | 2017-02-22 | 北京小米移动软件有限公司 | Information transmission method and apparatus |
CN110515526A (en) * | 2019-09-03 | 2019-11-29 | 王庆军 | A kind of multi-screen interaction method and device |
CN111131753B (en) * | 2019-12-25 | 2022-09-20 | 视联动力信息技术股份有限公司 | Conference processing method and conference management platform server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6044393A (en) * | 1996-11-26 | 2000-03-28 | Global Maintech, Inc. | Electronic control system and method for externally and directly controlling processes in a computer system |
CN1592449A (en) * | 2003-08-27 | 2005-03-09 | 联想(北京)有限公司 | Method and system for operating and controlling electronic apparatus |
CN101202568A (en) * | 2006-12-14 | 2008-06-18 | 北京三星通信技术研究有限公司 | Terminal and method for supporting combination playing |
CN101635586A (en) * | 2009-07-21 | 2010-01-27 | 李治勋 | Automatic connection method of Bluetooth input equipment |
-
2014
- 2014-02-20 CN CN201410058552.8A patent/CN104866282B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6044393A (en) * | 1996-11-26 | 2000-03-28 | Global Maintech, Inc. | Electronic control system and method for externally and directly controlling processes in a computer system |
CN1592449A (en) * | 2003-08-27 | 2005-03-09 | 联想(北京)有限公司 | Method and system for operating and controlling electronic apparatus |
CN101202568A (en) * | 2006-12-14 | 2008-06-18 | 北京三星通信技术研究有限公司 | Terminal and method for supporting combination playing |
CN101635586A (en) * | 2009-07-21 | 2010-01-27 | 李治勋 | Automatic connection method of Bluetooth input equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104866282A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105359153B (en) | The verification based on gesture in the case of no reservation certification gesture | |
CN103139172B (en) | A kind of service implementation method and device | |
CN106687923A (en) | Presentation of computing environment on multiple devices | |
US10429931B2 (en) | Systems and methods for multimedia tactile augmentation | |
CN104866282B (en) | A kind of method and electronic equipment of control electronics | |
CN105589747B (en) | The control method and system that application program is opened more | |
US20170201563A1 (en) | Video data providing method, video playback method, device, and system | |
SG10201800338TA (en) | User authentication systems and methods | |
CN105468462A (en) | Inter-process communication authentication method and system as well as inter-application communication method and system | |
CN105389160A (en) | Information issuing method and device | |
JP2014534515A5 (en) | ||
JP2014534515A (en) | User permission methods, systems, clients and servers | |
CN104184709A (en) | Verification method, device, server, service data center and system | |
CN106507122A (en) | A kind of live method, server, unmanned plane and VR equipment | |
CN109412822A (en) | A kind of discussion group's right management method, apparatus and system | |
CN112073235B (en) | Multifunctional mutual-help system of virtual machine | |
US9449156B2 (en) | Using trusted devices to augment location-based account protection | |
CN105577622B (en) | For the method, apparatus and digital signage system of the grouping of digital signage distributing user | |
CN103384249B (en) | Network access verifying method, Apparatus and system, certificate server | |
CN104615347A (en) | Method and device for achieving virtual and real picture synchronization | |
CN105760729A (en) | Login method and electronic equipment | |
CN107483208A (en) | Generation, verification method and the device of identifying code picture | |
CN106203998A (en) | A kind of method and device of withdrawing deposit of net cast | |
CN106161501A (en) | The data sharing method of virtual desktop and device | |
CN110022327B (en) | Short message authentication test method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |