CN113823286A - Terminal equipment control method and system based on intelligent glasses - Google Patents

Terminal equipment control method and system based on intelligent glasses Download PDF

Info

Publication number
CN113823286A
CN113823286A CN202111412314.9A CN202111412314A CN113823286A CN 113823286 A CN113823286 A CN 113823286A CN 202111412314 A CN202111412314 A CN 202111412314A CN 113823286 A CN113823286 A CN 113823286A
Authority
CN
China
Prior art keywords
terminal device
terminal
equipment
physical address
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111412314.9A
Other languages
Chinese (zh)
Inventor
孙立
胡金鑫
刘晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Yingchuang Information Industry Co ltd
Original Assignee
Jiangxi Yingchuang Information Industry 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 Jiangxi Yingchuang Information Industry Co ltd filed Critical Jiangxi Yingchuang Information Industry Co ltd
Priority to CN202111412314.9A priority Critical patent/CN113823286A/en
Publication of CN113823286A publication Critical patent/CN113823286A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2836Protocol conversion between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless

Abstract

According to the method, when a user sends voice information, a controller in the intelligent glasses analyzes the voice information to obtain a corresponding first control instruction, a corresponding first device type and a first physical address are inquired in a prestored first data table, then a first protocol type corresponding to the first device type is obtained, and transcoding is carried out on the first control information according to the first protocol type. Therefore, no matter which manufacturer the terminal equipment is, the intelligent equipment can be controlled as long as the corresponding protocol type is acquired. For a user, the effect of controlling the intelligent terminal devices of different manufacturers in the same control mode is achieved. In addition, the invention can control other terminal equipment except the first terminal equipment in the terminal equipment control set, and solves the technical problem that the prior art can not control a plurality of intelligent terminal equipment simultaneously.

Description

Terminal equipment control method and system based on intelligent glasses
Technical Field
The invention relates to the technical field of intelligent glasses, in particular to a terminal device control method and system based on intelligent glasses.
Background
Smart glasses refer to glasses having an independent operating system like a smart phone. The smart glasses may be installed by a user with a program provided by a software service provider, such as software, games, etc. The intelligent glasses can be controlled by voice or motion to complete various intelligent functions, and can realize wireless network access through a mobile communication network, thereby bringing convenience to life and learning of people.
In the prior art, voice control can be performed on intelligent terminal devices (such as an intelligent lamp, an intelligent sound box, an intelligent television and an intelligent switch) through intelligent glasses, but protocols or codes used by the intelligent terminal devices of each manufacturer are different, so that the intelligent terminal devices of different manufacturers cannot be controlled in the same control mode. In addition, in the present terminal equipment control scheme based on intelligent glasses, once can only control an intelligent terminal equipment, when there is a demand that needs a plurality of intelligent terminal equipment of simultaneous control, for example, there are two bedrooms in the family, when closing the ceiling lamp of these two bedrooms simultaneously, prior art does not have fine solution, has influenced user's use and has experienced.
Disclosure of Invention
Therefore, the invention provides a terminal device control method based on intelligent glasses, and aims to solve the technical problems that intelligent terminal devices of different manufacturers cannot be controlled in the same control mode and a plurality of intelligent terminal devices cannot be controlled simultaneously in the prior art.
According to an embodiment of the invention, a terminal device control method based on intelligent glasses is provided, the intelligent glasses are provided with a voice acquisition device, a wireless communication device and a controller, the voice acquisition device and the wireless communication device are respectively and electrically connected with the controller, the wireless communication device is used for wirelessly communicating with a terminal device to be controlled, and the method comprises the following steps:
acquiring voice information sent by a user through the voice acquisition device, and analyzing the voice information to acquire a first control instruction corresponding to the voice information, wherein the first control instruction comprises a first equipment ID and first control information of first terminal equipment;
inquiring a first device type corresponding to the first terminal device and a first physical address of the first terminal device in a pre-stored first data table according to the first device ID;
inquiring a terminal device control set corresponding to the first terminal device in a pre-stored second data table according to the first physical address, wherein the terminal device control set at least comprises the first terminal device and a second terminal device except the first terminal device;
acquiring a first protocol type corresponding to the first equipment type according to the first equipment type, and acquiring a second protocol type corresponding to a second equipment type of the second terminal equipment according to the second terminal equipment;
transcoding the first control information according to the first protocol type to obtain a first target control instruction, and transcoding the first control information according to the second protocol type to obtain a second target control instruction;
and sending the first target control instruction to the first terminal device, and sending the second target control instruction to the second terminal device, so that the first terminal device and the second terminal device respectively execute control actions corresponding to the first control information.
According to the terminal device control method based on the intelligent glasses, a user only needs to send out voice information, a controller in the intelligent glasses can analyze the voice information to obtain a corresponding first control instruction, the first control instruction comprises a first device ID and first control information of first terminal devices, a corresponding first device type and a first physical address are inquired in a pre-stored first data table, then a first protocol type corresponding to the first device type is obtained, and transcoding is carried out on the first control information according to the first protocol type. Therefore, no matter which manufacturer the terminal equipment is, the control of the intelligent equipment can be realized only by acquiring the corresponding protocol type, and for a user, the effect of controlling the intelligent terminal equipment of different manufacturers by the same control mode is realized. In addition, the terminal device control set corresponding to the first terminal device is inquired in the pre-stored second data table according to the first physical address, so that other terminal devices except the first terminal device in the terminal device control set, such as the second terminal device, can be correspondingly controlled, and the technical problem that a plurality of intelligent terminal devices cannot be controlled simultaneously in the prior art is solved.
In addition, the terminal device control method based on smart glasses according to the above embodiment of the present invention may further have the following additional technical features:
further, the smart glasses wirelessly communicate with a mobile terminal through the wireless communication device, and the method further includes:
receiving first input data sent by the mobile terminal, wherein the first input data at least comprises a first device ID, first position information, a first physical address, a first network address and a first device type of the first terminal device, and a second device ID, second position information, a second physical address, a second network address and a second device type of the second terminal device;
and storing the first device ID, the first position information, the first physical address, the first network address and the first device type of the first terminal device, and the second device ID, the second position information, the second physical address, the second network address and the second device type of the second terminal device in the first data table.
Further, the method further comprises:
receiving second input data sent by the mobile terminal, wherein the second input data at least comprises a first device ID and a first physical address of the first terminal device, and a second device ID and a second physical address of the second terminal device;
combining the first device ID, the first physical address, the second device ID, and the second physical address to generate a terminal device control set;
and storing the terminal equipment control set in the second data table.
Further, before the step of acquiring, by the second terminal device, a second protocol type corresponding to a second device type of the second terminal device, the method further includes:
looking up a second device ID of the second terminal device in the second data table;
and searching the second equipment type of the second terminal equipment in the first data table according to the second equipment ID.
Further, the step of sending the first target control instruction to the first terminal device and sending the second target control instruction to the second terminal device so that the first terminal device and the second terminal device respectively execute the control action corresponding to the first control information specifically includes:
searching a corresponding first physical address and a corresponding first network address in the first data table according to the first equipment ID of the first terminal equipment, and searching a corresponding second physical address and a corresponding second network address in the first data table according to the second equipment ID of the second terminal equipment;
and sending the first target control instruction to the first terminal equipment through the first physical address and the first network address, and sending the second target control instruction to the second terminal equipment through the second physical address and the second network address, so that the first terminal equipment and the second terminal equipment respectively execute control actions corresponding to the first control information.
Another embodiment of the invention provides a terminal device control system based on intelligent glasses, which solves the technical problems that the prior art cannot control intelligent terminal devices of different manufacturers in the same control mode and cannot control a plurality of intelligent terminal devices simultaneously.
According to the terminal equipment control system based on the intelligent glasses, the intelligent glasses are provided with the voice acquisition device, the wireless communication device and the controller, the voice acquisition device and the wireless communication device are respectively and electrically connected with the controller, the wireless communication device is used for wirelessly communicating with the terminal equipment to be controlled, and the system comprises:
the first acquisition module is used for acquiring voice information sent by a user through the voice acquisition device and analyzing the voice information to acquire a first control instruction corresponding to the voice information, wherein the first control instruction comprises a first equipment ID and first control information of first terminal equipment;
a first query module, configured to query, according to the first device ID, a first device type corresponding to the first terminal device and a first physical address of the first terminal device in a pre-stored first data table;
a second query module, configured to query, according to the first physical address, a terminal device control set corresponding to the first terminal device in a pre-stored second data table, where the terminal device control set at least includes the first terminal device and a second terminal device other than the first terminal device;
a second obtaining module, configured to obtain, according to the first device type, a first protocol type corresponding to the first device type, and obtain, according to the second terminal device, a second protocol type corresponding to a second device type of the second terminal device;
the information transcoding module is used for transcoding the first control information according to the first protocol type to obtain a first target control instruction and transcoding the first control information according to the second protocol type to obtain a second target control instruction;
and the instruction sending module is used for sending the first target control instruction to the first terminal device and sending the second target control instruction to the second terminal device so as to enable the first terminal device and the second terminal device to respectively execute the control action corresponding to the first control information.
According to the terminal device control system based on the intelligent glasses, a user only needs to send out voice information, a controller in the intelligent glasses analyzes the voice information to obtain a corresponding first control instruction, the first control instruction comprises a first device ID and first control information of first terminal devices, a corresponding first device type and a first physical address are inquired in a prestored first data table, then a first protocol type corresponding to the first device type is obtained, and transcoding is carried out on the first control information according to the first protocol type. Therefore, no matter which manufacturer the terminal equipment is, the control of the intelligent equipment can be realized only by acquiring the corresponding protocol type, and for a user, the effect of controlling the intelligent terminal equipment of different manufacturers by the same control mode is realized. In addition, the terminal device control set corresponding to the first terminal device is inquired in the pre-stored second data table according to the first physical address, so that other terminal devices except the first terminal device in the terminal device control set, such as the second terminal device, can be correspondingly controlled, and the technical problem that a plurality of intelligent terminal devices cannot be controlled simultaneously in the prior art is solved.
In addition, the terminal device control system based on smart glasses according to the above embodiment of the present invention may further have the following additional technical features:
further, the smart glasses wirelessly communicate with a mobile terminal through the wireless communication device, and the system further comprises:
a first receiving module, configured to receive first input data sent by the mobile terminal, where the first input data at least includes a first device ID, first location information, a first physical address, a first network address, and a first device type of the first terminal device, and a second device ID, second location information, a second physical address, a second network address, and a second device type of the second terminal device;
a first storage module, configured to store the first device ID, the first location information, the first physical address, the first network address, and the first device type of the first terminal device, and the second device ID, the second location information, the second physical address, the second network address, and the second device type of the second terminal device in the first data table.
Further, the system further comprises:
a second receiving module, configured to receive second input data sent by the mobile terminal, where the second input data at least includes a first device ID and a first physical address of the first terminal device, and a second device ID and a second physical address of the second terminal device;
a set generating module, configured to physically combine the first device ID, the first physical address, the second device ID, and the second device ID to generate a terminal device control set;
and the second storage module is used for storing the terminal equipment control set in the second data table.
Further, the system further comprises:
a first searching module, configured to search the second data table for a second device ID of the second terminal device;
and the second searching module is used for searching the second equipment type of the second terminal equipment in the first data table according to the second equipment ID.
Further, the instruction sending module is specifically configured to:
searching a corresponding first physical address and a corresponding first network address in the first data table according to the first equipment ID of the first terminal equipment, and searching a corresponding second physical address and a corresponding second network address in the first data table according to the second equipment ID of the second terminal equipment;
and sending the first target control instruction to the first terminal equipment through the first physical address and the first network address, and sending the second target control instruction to the second terminal equipment through the second physical address and the second network address, so that the first terminal equipment and the second terminal equipment respectively execute control actions corresponding to the first control information.
Another embodiment of the present invention also provides smart glasses, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the above method when executing the program.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of embodiments of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a method for controlling a terminal device based on smart glasses according to a first embodiment of the present invention;
FIG. 2 is a flow chart of the present invention for forming a first data table;
FIG. 3 is a flow chart of the present invention for forming a second data table;
fig. 4 is a flowchart of determining a second device type corresponding to a second terminal device in the present invention;
FIG. 5 is a detailed flowchart of step S106 in FIG. 1;
fig. 6 is a schematic structural diagram of a terminal device control system based on smart glasses according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a terminal device control method based on smart glasses according to a first embodiment of the present invention includes a voice collecting device, a wireless communication device and a controller, where the voice collecting device and the wireless communication device are respectively electrically connected to the controller, and the wireless communication device is configured to wirelessly communicate with a terminal device to be controlled, and the method includes steps S101 to S106:
s101, voice information sent by a user is obtained through the voice collecting device, the voice information is analyzed, and a first control instruction corresponding to the voice information is obtained, wherein the first control instruction comprises a first equipment ID and first control information of first terminal equipment.
Wherein, voice acquisition device, wireless communication device and controller all set up on the mirror holder of intelligent glasses. The wireless communication device is used for wirelessly communicating with the terminal device to be controlled, for example, the wireless communication device can wirelessly communicate with the terminal device to be controlled in a Zigbee, bluetooth or WIFI manner. The terminal equipment is for example intelligent ceiling lamp, intelligent audio amplifier etc..
In specific implementation, the voice collecting device can adopt a microphone for receiving voice information sent by a user and realizing voice recognition. The voice information sent by the user is, for example, "ceiling lamps for closing the bedroom 1 and the bedroom 2", and in specific implementation, the voice information sent by the user needs to be subjected to voice semantic analysis, so that a first control instruction corresponding to the voice information is obtained, namely, the ceiling lamps for closing the bedroom 1 and the bedroom 2 are obtained. The first terminal device is, for example, a ceiling lamp of the bedroom 1, the second terminal device is, for example, a ceiling lamp of the bedroom 2, and in addition, a first device ID and a second device ID need to be respectively assigned to the ceiling lamp of the bedroom 1 (i.e., the first terminal device) and the ceiling lamp of the bedroom 2 (i.e., the second terminal device), the device IDs are unique, the device IDs may be numerical values or combinations of numerical values and letters, for example, the first device ID is 00a1, the second device ID is 00a2, and the corresponding first control information is 00a1 is closed, and specifically, the action to be performed is "closing the ceiling lamp". In this embodiment, although the voice message sent by the user is "the ceiling lamp for closing the bedroom 1 and the bedroom 2", only the first device ID and the first control information of the first terminal device need to be acquired.
S102, inquiring a first device type corresponding to the first terminal device and a first physical address of the first terminal device in a pre-stored first data table according to the first device ID.
Wherein, the smart glasses pass through wireless communication device and mobile terminal wireless communication, and mobile terminal is the smart mobile phone for example, can install the APP that is used for controlling smart glasses on the smart mobile phone, please refer to fig. 2, specifically form first data table through step S201~ S202:
s201, receiving first input data sent by the mobile terminal, where the first input data at least includes a first device ID, first location information, a first physical address, a first network address, and a first device type of the first terminal device, and a second device ID, second location information, a second physical address, a second network address, and a second device type of the second terminal device;
the first location information reflects a location where the first terminal device is located, namely, the bedroom 1, the first physical address is specifically an MAC address of the first terminal device, the first network address is an IP address of the first terminal device, and the first device type is data related to a device manufacturer of a ceiling lamp in the bedroom 1. Similarly, the second location information reflects the location of the second terminal device, that is, the bedroom 2, the second physical address is specifically the MAC address of the second terminal device, the second network address is the IP address of the second terminal device, the second device type is data related to the device manufacturer of the ceiling lamp in the bedroom 2, and the controller may store the device type of each manufacturer and the corresponding protocol type in advance. For example, the device type of 00a1 (i.e., the ceiling light of bedroom 1) is brand a ceiling light, and the protocol type used by brand a vendors is protocol a. Similarly, the device type of 00a2 (i.e., the ceiling light of bedroom 2) is brand B ceiling light, and the protocol type used by the manufacturer of brand B is protocol B.
S202, store the first device ID, the first location information, the first physical address, the first network address, and the first device type of the first terminal device, and the second device ID, the second location information, the second physical address, the second network address, and the second device type of the second terminal device in the first data table.
S103, inquiring a terminal device control set corresponding to the first terminal device in a pre-stored second data table according to the first physical address, wherein the terminal device control set at least comprises the first terminal device and a second terminal device except the first terminal device.
Referring to fig. 3, a second data table is formed through steps S301 to S303:
s301, receiving second input data sent by the mobile terminal, where the second input data at least includes a first device ID and a first physical address of the first terminal device, and a second device ID and a second physical address of the second terminal device;
s302, the first device ID, the first physical address, the second device ID and the second physical address are physically combined to generate a terminal device control set;
s303, storing the terminal device control set in the second data table.
The terminal equipment control set stores equipment capable of linkage control, and during specific implementation, a user can operate the mobile phone to delete or add the equipment capable of linkage control in the terminal equipment control set. In this embodiment, the first terminal device and the second terminal device are in the same terminal device control set, and it can be understood that, in the terminal device control set, in addition to the first terminal device and the second terminal device, there may be other terminal devices, which is not limited herein. In addition, different terminal device control sets can be respectively assigned with a unique ID for distinguishing different sets.
S104, acquiring a first protocol type corresponding to the first equipment type according to the first equipment type, and acquiring a second protocol type corresponding to a second equipment type of the second terminal equipment according to the second terminal equipment.
In step S102, since the first device type corresponding to the first terminal device and the first physical address of the first terminal device have been queried in the pre-stored first data table according to the first device ID, the corresponding first protocol type, that is, the protocol a, can be directly obtained according to the first device type.
For the second terminal device, please refer to fig. 4, the second device type of the second terminal device needs to be searched through steps S401 to S402:
s401, searching a second device ID of the second terminal device in the second data table;
s402, searching the second device type of the second terminal device in the first data table according to the second device ID.
According to the above steps S401 to S402, the corresponding second protocol type, i.e. protocol B, can be obtained according to the second device type.
S105, transcoding the first control information according to the first protocol type to obtain a first target control instruction, and transcoding the first control information according to the second protocol type to obtain a second target control instruction.
The controller transcodes the first control information according to the protocol A and the protocol B to respectively generate a first target control instruction which can be identified by the first terminal device and a second target control instruction which can be identified by the second terminal device, and the specific contents of the first target control instruction and the second target control instruction are 'ceiling lamp closing'.
And S106, sending the first target control instruction to the first terminal device, and sending the second target control instruction to the second terminal device, so that the first terminal device and the second terminal device respectively execute the control action corresponding to the first control information.
Referring to fig. 5, the step S106 specifically includes steps S1061 to S1062:
s1061, searching a corresponding first physical address and a first network address in the first data table according to the first device ID of the first terminal device, and searching a corresponding second physical address and a second network address in the first data table according to the second device ID of the second terminal device;
s1062, sending the first target control instruction to the first terminal device through the first physical address and the first network address, and sending the second target control instruction to the second terminal device through the second physical address and the second network address, so that the first terminal device and the second terminal device respectively execute a control action corresponding to the first control information.
In summary, according to the terminal device control method based on the smart glasses provided in this embodiment, a user only needs to send voice information, a controller in the smart glasses obtains a corresponding first control instruction by analyzing the voice information, where the first control instruction includes a first device ID and first control information of a first terminal device, and queries a corresponding first device type and a first physical address in a pre-stored first data table, then obtains a first protocol type corresponding to the first device type, and transcodes the first control information according to the first protocol type, so that no matter which manufacturer the terminal device is, the control of the smart device can be achieved as long as the corresponding protocol type is obtained, for the user, an effect of controlling smart terminal devices of different manufacturers in the same control manner is achieved, and in addition, the terminal device corresponding to the first terminal device is queried in a pre-stored second data table according to the first physical address The control set can correspondingly control other terminal equipment except the first terminal equipment, such as the second terminal equipment, in the terminal equipment control set, and the technical problem that a plurality of intelligent terminal equipment cannot be controlled simultaneously in the prior art is solved.
Referring to fig. 6, based on the same inventive concept, a second embodiment of the present invention provides a terminal device control system based on smart glasses, where the smart glasses are provided with a voice collecting device, a wireless communication device and a controller, the voice collecting device and the wireless communication device are respectively electrically connected to the controller, and the wireless communication device is used for wirelessly communicating with a terminal device to be controlled, and the system includes:
the first acquisition module is used for acquiring voice information sent by a user through the voice acquisition device and analyzing the voice information to acquire a first control instruction corresponding to the voice information, wherein the first control instruction comprises a first equipment ID and first control information of first terminal equipment;
a first query module, configured to query, according to the first device ID, a first device type corresponding to the first terminal device and a first physical address of the first terminal device in a pre-stored first data table;
a second query module, configured to query, according to the first physical address, a terminal device control set corresponding to the first terminal device in a pre-stored second data table, where the terminal device control set at least includes the first terminal device and a second terminal device other than the first terminal device;
a second obtaining module, configured to obtain, according to the first device type, a first protocol type corresponding to the first device type, and obtain, according to the second terminal device, a second protocol type corresponding to a second device type of the second terminal device;
the information transcoding module is used for transcoding the first control information according to the first protocol type to obtain a first target control instruction and transcoding the first control information according to the second protocol type to obtain a second target control instruction;
and the instruction sending module is used for sending the first target control instruction to the first terminal device and sending the second target control instruction to the second terminal device so as to enable the first terminal device and the second terminal device to respectively execute the control action corresponding to the first control information.
In this embodiment, the smart glasses wirelessly communicate with the mobile terminal through the wireless communication device, and the system further includes:
a first receiving module, configured to receive first input data sent by the mobile terminal, where the first input data at least includes a first device ID, first location information, a first physical address, a first network address, and a first device type of the first terminal device, and a second device ID, second location information, a second physical address, a second network address, and a second device type of the second terminal device;
a first storage module, configured to store the first device ID, the first location information, the first physical address, the first network address, and the first device type of the first terminal device, and the second device ID, the second location information, the second physical address, the second network address, and the second device type of the second terminal device in the first data table.
In this embodiment, the system further includes:
a second receiving module, configured to receive second input data sent by the mobile terminal, where the second input data at least includes a first device ID and a first physical address of the first terminal device, and a second device ID and a second physical address of the second terminal device;
a set generating module, configured to physically combine the first device ID, the first physical address, the second device ID, and the second device ID to generate a terminal device control set;
and the second storage module is used for storing the terminal equipment control set in the second data table.
In this embodiment, the system further includes:
a first searching module, configured to search the second data table for a second device ID of the second terminal device;
and the second searching module is used for searching the second equipment type of the second terminal equipment in the first data table according to the second equipment ID.
In this embodiment, the instruction sending module is specifically configured to:
searching a corresponding first physical address and a corresponding first network address in the first data table according to the first equipment ID of the first terminal equipment, and searching a corresponding second physical address and a corresponding second network address in the first data table according to the second equipment ID of the second terminal equipment;
and sending the first target control instruction to the first terminal equipment through the first physical address and the first network address, and sending the second target control instruction to the second terminal equipment through the second physical address and the second network address, so that the first terminal equipment and the second terminal equipment respectively execute control actions corresponding to the first control information.
According to the terminal device control system based on the intelligent glasses provided by the embodiment, a user only needs to send voice information, a controller in the intelligent glasses can analyze the voice information to obtain a corresponding first control instruction, the first control instruction comprises a first device ID and first control information of first terminal devices, a corresponding first device type and a corresponding first physical address are inquired in a prestored first data table, then a first protocol type corresponding to the first device type is obtained, and transcoding is performed on the first control information according to the first protocol type, so that no matter which manufacturer the terminal device is, the control of the intelligent device can be realized as long as the corresponding protocol type is obtained, for the user, the effect of controlling the intelligent terminal devices of different manufacturers in the same control mode is realized, in addition, a terminal device control set corresponding to the first terminal device is inquired in a prestored second data table according to the first physical address And the method can correspondingly control other terminal equipment except the first terminal equipment in the terminal equipment control set, for example, the second terminal equipment, and solves the technical problem that a plurality of intelligent terminal equipment cannot be controlled simultaneously in the prior art.
In addition, the embodiments of the present invention also provide a pair of smart glasses, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the methods of the above embodiments when executing the program.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A terminal device control method based on intelligent glasses is characterized in that a voice acquisition device, a wireless communication device and a controller are arranged on the intelligent glasses, the voice acquisition device and the wireless communication device are respectively and electrically connected with the controller, the wireless communication device is used for wirelessly communicating with a terminal device to be controlled, and the method comprises the following steps:
acquiring voice information sent by a user through the voice acquisition device, and analyzing the voice information to acquire a first control instruction corresponding to the voice information, wherein the first control instruction comprises a first equipment ID and first control information of first terminal equipment;
inquiring a first device type corresponding to the first terminal device and a first physical address of the first terminal device in a pre-stored first data table according to the first device ID;
inquiring a terminal device control set corresponding to the first terminal device in a pre-stored second data table according to the first physical address, wherein the terminal device control set at least comprises the first terminal device and a second terminal device except the first terminal device;
acquiring a first protocol type corresponding to the first equipment type according to the first equipment type, and acquiring a second protocol type corresponding to a second equipment type of the second terminal equipment according to the second terminal equipment;
transcoding the first control information according to the first protocol type to obtain a first target control instruction, and transcoding the first control information according to the second protocol type to obtain a second target control instruction;
and sending the first target control instruction to the first terminal device, and sending the second target control instruction to the second terminal device, so that the first terminal device and the second terminal device respectively execute control actions corresponding to the first control information.
2. The method for controlling terminal equipment based on smart glasses according to claim 1, wherein the smart glasses wirelessly communicate with a mobile terminal through the wireless communication device, and the method further comprises:
receiving first input data sent by the mobile terminal, wherein the first input data at least comprises a first device ID, first position information, a first physical address, a first network address and a first device type of the first terminal device, and a second device ID, second position information, a second physical address, a second network address and a second device type of the second terminal device;
and storing the first device ID, the first position information, the first physical address, the first network address and the first device type of the first terminal device, and the second device ID, the second position information, the second physical address, the second network address and the second device type of the second terminal device in the first data table.
3. The method for controlling the terminal device based on the smart glasses according to claim 2, wherein the method further comprises:
receiving second input data sent by the mobile terminal, wherein the second input data at least comprises a first device ID and a first physical address of the first terminal device, and a second device ID and a second physical address of the second terminal device;
combining the first device ID, the first physical address, the second device ID, and the second physical address to generate a terminal device control set;
and storing the terminal equipment control set in the second data table.
4. The method according to claim 3, wherein before the step of obtaining the second protocol type corresponding to the second device type of the second terminal device according to the second terminal device, the method further comprises:
looking up a second device ID of the second terminal device in the second data table;
and searching the second equipment type of the second terminal equipment in the first data table according to the second equipment ID.
5. The method according to claim 2, wherein the step of sending the first target control instruction to the first terminal device and sending the second target control instruction to the second terminal device so that the first terminal device and the second terminal device respectively execute the control action corresponding to the first control information specifically comprises:
searching a corresponding first physical address and a corresponding first network address in the first data table according to the first equipment ID of the first terminal equipment, and searching a corresponding second physical address and a corresponding second network address in the first data table according to the second equipment ID of the second terminal equipment;
and sending the first target control instruction to the first terminal equipment through the first physical address and the first network address, and sending the second target control instruction to the second terminal equipment through the second physical address and the second network address, so that the first terminal equipment and the second terminal equipment respectively execute control actions corresponding to the first control information.
6. The utility model provides a terminal equipment control system based on intelligence glasses, a serial communication port, be equipped with pronunciation collection system, wireless communication device and controller on the intelligence glasses, pronunciation collection system, wireless communication device respectively with controller electric connection, wireless communication device be used for with the terminal equipment wireless communication who treats control, the system includes:
the first acquisition module is used for acquiring voice information sent by a user through the voice acquisition device and analyzing the voice information to acquire a first control instruction corresponding to the voice information, wherein the first control instruction comprises a first equipment ID and first control information of first terminal equipment;
a first query module, configured to query, according to the first device ID, a first device type corresponding to the first terminal device and a first physical address of the first terminal device in a pre-stored first data table;
a second query module, configured to query, according to the first physical address, a terminal device control set corresponding to the first terminal device in a pre-stored second data table, where the terminal device control set at least includes the first terminal device and a second terminal device other than the first terminal device;
a second obtaining module, configured to obtain, according to the first device type, a first protocol type corresponding to the first device type, and obtain, according to the second terminal device, a second protocol type corresponding to a second device type of the second terminal device;
the information transcoding module is used for transcoding the first control information according to the first protocol type to obtain a first target control instruction and transcoding the first control information according to the second protocol type to obtain a second target control instruction;
and the instruction sending module is used for sending the first target control instruction to the first terminal device and sending the second target control instruction to the second terminal device so as to enable the first terminal device and the second terminal device to respectively execute the control action corresponding to the first control information.
7. The system according to claim 6, wherein the smart glasses wirelessly communicate with a mobile terminal via the wireless communication device, the system further comprising:
a first receiving module, configured to receive first input data sent by the mobile terminal, where the first input data at least includes a first device ID, first location information, a first physical address, a first network address, and a first device type of the first terminal device, and a second device ID, second location information, a second physical address, a second network address, and a second device type of the second terminal device;
a first storage module, configured to store the first device ID, the first location information, the first physical address, the first network address, and the first device type of the first terminal device, and the second device ID, the second location information, the second physical address, the second network address, and the second device type of the second terminal device in the first data table.
8. The smart-glasses-based terminal device control system as recited in claim 7, further comprising:
a second receiving module, configured to receive second input data sent by the mobile terminal, where the second input data at least includes a first device ID and a first physical address of the first terminal device, and a second device ID and a second physical address of the second terminal device;
a set generating module, configured to physically combine the first device ID, the first physical address, the second device ID, and the second device ID to generate a terminal device control set;
and the second storage module is used for storing the terminal equipment control set in the second data table.
9. The smart-glasses-based terminal device control system as recited in claim 8, further comprising:
a first searching module, configured to search the second data table for a second device ID of the second terminal device;
and the second searching module is used for searching the second equipment type of the second terminal equipment in the first data table according to the second equipment ID.
10. The system according to claim 7, wherein the instruction sending module is configured to:
searching a corresponding first physical address and a corresponding first network address in the first data table according to the first equipment ID of the first terminal equipment, and searching a corresponding second physical address and a corresponding second network address in the first data table according to the second equipment ID of the second terminal equipment;
and sending the first target control instruction to the first terminal equipment through the first physical address and the first network address, and sending the second target control instruction to the second terminal equipment through the second physical address and the second network address, so that the first terminal equipment and the second terminal equipment respectively execute control actions corresponding to the first control information.
CN202111412314.9A 2021-11-25 2021-11-25 Terminal equipment control method and system based on intelligent glasses Pending CN113823286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111412314.9A CN113823286A (en) 2021-11-25 2021-11-25 Terminal equipment control method and system based on intelligent glasses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111412314.9A CN113823286A (en) 2021-11-25 2021-11-25 Terminal equipment control method and system based on intelligent glasses

Publications (1)

Publication Number Publication Date
CN113823286A true CN113823286A (en) 2021-12-21

Family

ID=78918806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111412314.9A Pending CN113823286A (en) 2021-11-25 2021-11-25 Terminal equipment control method and system based on intelligent glasses

Country Status (1)

Country Link
CN (1) CN113823286A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930135A (en) * 2016-04-22 2016-09-07 上海海漾软件技术有限公司 Wearable device based control method and apparatus
CN107608225A (en) * 2017-09-29 2018-01-19 深圳市艾特智能科技有限公司 Control method, system, storage medium and the computer equipment of intelligent home device
CN107689903A (en) * 2017-08-17 2018-02-13 深圳市艾特智能科技有限公司 Intelligent home equipment control method, system, storage medium and computer equipment
CN107947947A (en) * 2017-11-20 2018-04-20 浪潮金融信息技术有限公司 Limit switch control method and device, computer-readable storage medium and terminal
CN113172372A (en) * 2021-04-25 2021-07-27 中铁十四局集团有限公司 Intelligent cutting data and welding data processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930135A (en) * 2016-04-22 2016-09-07 上海海漾软件技术有限公司 Wearable device based control method and apparatus
CN107689903A (en) * 2017-08-17 2018-02-13 深圳市艾特智能科技有限公司 Intelligent home equipment control method, system, storage medium and computer equipment
CN107608225A (en) * 2017-09-29 2018-01-19 深圳市艾特智能科技有限公司 Control method, system, storage medium and the computer equipment of intelligent home device
CN107947947A (en) * 2017-11-20 2018-04-20 浪潮金融信息技术有限公司 Limit switch control method and device, computer-readable storage medium and terminal
CN113172372A (en) * 2021-04-25 2021-07-27 中铁十四局集团有限公司 Intelligent cutting data and welding data processing system

Similar Documents

Publication Publication Date Title
CN108447480B (en) Intelligent household equipment control method, intelligent voice terminal and network equipment
CN111930082B (en) Method and device for replacing intelligent household equipment
CN105847099B (en) Internet of things implementation system and method based on artificial intelligence
EP3279750A1 (en) Smart home system and product thereof
CN208094766U (en) Intelligent sound box
CN108683574A (en) A kind of apparatus control method, server and intelligent domestic system
CN109188927A (en) Appliance control method, device, gateway and storage medium
CN106452997A (en) Household electrical appliance and control system thereof
CN108702313A (en) Intelligent home voice control method, device, equipment and system
CN105118257A (en) Intelligent control system and method
CN105847067A (en) Method and device for upgrading Zigbee equipment
CN113330724A (en) Intelligent home scheduling method, device, system, server and storage medium
CN106647311A (en) Intelligent central control system and equipment, server and intelligent equipment control method
CN108965077A (en) Smart home interactive control method and system
JP6715283B2 (en) Network system and information processing method
CN112468595B (en) Equipment control method, device and system based on gateway
CN111367188B (en) Control method and device for intelligent home, electronic equipment and computer storage medium
EP3896689A1 (en) Voice control method, cloud server and terminal device
CN110618614A (en) Control method and device for smart home, storage medium and robot
KR20190026518A (en) Method for operating voice recognition apparatus
EP3896688A1 (en) Voice control method, cloud server and terminal device
CN111915870A (en) Method and device for adding remote controller code value through voice, television and storage medium
CN107025120A (en) Software upgrading processing method, device and terminal
CN110632854A (en) Voice control method and device, voice control node and system and storage medium
CN116193413B (en) Bluetooth connection method, system, storage medium and device

Legal Events

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