CN115988045A - Voice control method, system and storage medium based on Internet of things - Google Patents

Voice control method, system and storage medium based on Internet of things Download PDF

Info

Publication number
CN115988045A
CN115988045A CN202211722236.7A CN202211722236A CN115988045A CN 115988045 A CN115988045 A CN 115988045A CN 202211722236 A CN202211722236 A CN 202211722236A CN 115988045 A CN115988045 A CN 115988045A
Authority
CN
China
Prior art keywords
voice control
internet
equipment
things
control instruction
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
CN202211722236.7A
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.)
Tianyi IoT Technology Co Ltd
Original Assignee
Tianyi IoT Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianyi IoT Technology Co Ltd filed Critical Tianyi IoT Technology Co Ltd
Priority to CN202211722236.7A priority Critical patent/CN115988045A/en
Publication of CN115988045A publication Critical patent/CN115988045A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the invention discloses a voice control method, a voice control system and a storage medium based on the Internet of things. The method belongs to the technical field of the Internet of things, and comprises the following steps: the Internet of things platform authorizes the voice control equipment to log in according to a login request sent by the voice control equipment; the voice control equipment sends an equipment query request to the Internet of things platform; the Internet of things platform inquires a terminal equipment list according to the equipment inquiry request and returns the terminal equipment list to the voice control equipment; the voice control equipment responds to a voice control instruction sent by the terminal equipment which needs to be controlled and selected from the terminal equipment list by the user, and sends the voice control instruction to the Internet of things platform; the Internet of things platform inquires terminal equipment corresponding to the voice control instruction according to the voice control instruction and sends the voice control instruction to the terminal equipment; and the terminal equipment executes corresponding operation according to the voice control instruction to obtain a response result. The embodiment of the application can realize the terminal equipment of the voice control Internet of things.

Description

Voice control method, system and storage medium based on Internet of things
Technical Field
The invention relates to the technical field of Internet of things, in particular to a voice control method, a voice control system and a storage medium based on the Internet of things.
Background
Currently, platform control equipment of the internet of things generally sends an instruction through a calling interface to control terminal equipment of the internet of things or directly controls the terminal equipment of the internet of things through a voice instruction. The mode of sending the instruction by calling the interface needs to open related software and then send the instruction, so that the use process is not convenient and fast, and compared with the mode of sending the interface instruction, the voice instruction control equipment can quickly realize that the instruction is sent to control the terminal equipment of the related Internet of things. However, not all internet of things platforms have the capabilities of voice analysis and voice translation, and because the voice control development difficulty of the internet of things is large and the maintenance cost is high, some small and medium-sized internet of things platforms do not have the voice control capability, the small and medium-sized internet of things platforms lack competitiveness in the voice control function and are not beneficial to the development of the small and medium-sized internet of things platforms.
Disclosure of Invention
The embodiment of the invention provides a voice control method, a voice control system and a storage medium based on the Internet of things, and aims to enable an Internet of things platform without a voice control function to realize voice control of terminal equipment of the Internet of things.
In a first aspect, an embodiment of the present invention provides a voice control method based on an internet of things, including:
the Internet of things platform authorizes the voice control equipment to log in according to a login request sent by the voice control equipment;
the voice control equipment sends an equipment query request to the Internet of things platform;
the Internet of things platform inquires a terminal equipment list according to the equipment inquiry request and returns the terminal equipment list to the voice control equipment;
the voice control equipment responds to a voice control instruction sent by terminal equipment needing to be controlled and selected from the terminal equipment list by a user, and sends the voice control instruction to the Internet of things platform;
the Internet of things platform inquires terminal equipment corresponding to the voice control instruction according to the voice control instruction and sends the voice control instruction to the terminal equipment;
and the terminal equipment executes corresponding operation according to the voice control instruction to obtain a response result.
In a second aspect, an embodiment of the present invention further provides a voice control system based on the internet of things, which includes: a first sending unit and a second sending unit which are arranged in the voice control equipment, an authorization login unit, a first query unit and a second query unit which are arranged in the platform of the Internet of things, and an execution unit which is arranged in the terminal equipment, wherein,
the authorized login unit is used for the Internet of things platform to perform authorized login on the voice control equipment according to a login request sent by the voice control equipment;
the first sending unit is used for the voice control equipment to send an equipment query request to the Internet of things platform;
the first query unit is used for the Internet of things platform to query a terminal equipment list according to the equipment query request and return the terminal equipment list to the voice control equipment;
the second sending unit is used for responding to a voice control instruction sent by a terminal device which needs to be controlled and selected from the terminal device list by a user through the voice control device, and sending the voice control instruction to the Internet of things platform;
the second query unit is used for the Internet of things platform to query the terminal equipment corresponding to the voice control instruction according to the voice control instruction and send the voice control instruction to the terminal equipment;
and the execution unit is used for the terminal equipment to execute corresponding operation according to the voice control instruction to obtain a response result.
In a third aspect, an embodiment of the present invention further provides an internet of things-based voice control system, which includes a voice control device, an internet of things platform, and a terminal device, where the voice control device, the internet of things platform, and the terminal device all include a memory and a processor, and the processors of the voice control device, the internet of things platform, and the terminal device implement the above method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the above method when being executed by a processor.
The embodiment of the invention provides a voice control method, a voice control system and a storage medium based on the Internet of things. Wherein the method comprises the following steps: the Internet of things platform authorizes the voice control equipment to log in according to a login request sent by the voice control equipment; the voice control equipment sends an equipment query request to the Internet of things platform; the Internet of things platform inquires a terminal equipment list according to the equipment inquiry request and returns the terminal equipment list to the voice control equipment; the voice control equipment responds to a voice control instruction sent by the terminal equipment which needs to be controlled and selected from the terminal equipment list by the user, and sends the voice control instruction to the Internet of things platform; the Internet of things platform inquires terminal equipment corresponding to the voice control instruction according to the voice control instruction and sends the voice control instruction to the terminal equipment; and the terminal equipment executes corresponding operation according to the voice control instruction to obtain a response result. According to the technical scheme of the embodiment of the invention, after the platform of the Internet of things successfully authorizes the voice control equipment to log in, the corresponding terminal equipment is inquired according to the voice control instruction sent by the voice control equipment, and the voice control instruction is sent to the terminal equipment to be executed, so that the terminal equipment of the Internet of things is controlled by the voice through the platform of the Internet of things without the voice control function.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a timing diagram of a voice control method based on the internet of things according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a voice control method based on the internet of things according to an embodiment of the present invention;
fig. 3 is a sub-flow diagram of a voice control method based on the internet of things according to an embodiment of the present invention;
fig. 4 is a schematic sub-flow diagram of a voice control method based on the internet of things according to an embodiment of the present invention;
fig. 5 is a sub-flow diagram of a voice control method based on the internet of things according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a voice control system based on the internet of things according to an embodiment of the present invention; and
fig. 7 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
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, 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.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Referring to fig. 1, fig. 1 is a timing diagram of a voice control system based on a physical network according to an embodiment of the present invention. The voice control system based on the physical network comprises voice control equipment 10, an internet of things platform 20 and terminal equipment 30. The voice control device includes, but is not limited to, a smart speaker, a tablet computer, and other smart devices having a voice input function. The terminal equipment comprises intelligent equipment with a communication function with the Internet of things, such as an intelligent lamp, a sweeping robot, an air conditioner and the like. In this embodiment, the voice control device 10 communicates with the internet of things platform 20 to send a login request to the internet of things platform 20 to obtain authorization, and send a voice control instruction to the internet of things platform 20; the internet of things platform 20 communicates with the terminal device 30 to send a voice control instruction to the terminal device 30 to control the terminal device 30 to operate.
Fig. 2 is a schematic flow chart of a voice control method based on the internet of things according to an embodiment of the present invention. The voice control method based on the Internet of things can be applied to a voice control system based on the Internet of things without voice analysis and voice translation capabilities, and the voice control system is formed by voice control equipment, an Internet of things platform and terminal equipment to realize the voice control method based on the Internet of things, so that the Internet of things platform realizes voice control of the terminal equipment. As shown in fig. 2, the method comprises the following steps S100-S150.
S100, the Internet of things platform authorizes the voice control equipment to log in according to a login request sent by the voice control equipment.
In the embodiment of the invention, the Internet of things platform comprises an account authorization module, a gateway module and a physical model module, wherein the account authorization module is used for performing account authorization on the voice control equipment. The gateway module comprises a gateway query module and a gateway control module, wherein the gateway query module is used for querying the terminal equipment bound with the Internet of things platform and returning a queried terminal equipment list to the voice control equipment; and the gateway control module is used for analyzing and converting the voice control instruction and sending the analyzed and converted voice control instruction to the terminal equipment so as to control the terminal equipment to operate. The object model module can configure attribute services of different terminal devices, so that the terminal devices corresponding to the voice control instructions can be quickly inquired when the terminal devices are inquired, and the voice control instructions can be quickly issued to the corresponding terminal devices to operate. The Internet of things platform and the voice control equipment need authorization before communication is achieved, namely the Internet of things platform authorizes the voice control equipment. Specifically, the voice control device sends a login request to the internet of things platform, the internet of things platform receives the login request and then calls an account authorization module to authorize the voice control device according to the login request, and after authorization is completed, the voice control device can access related services of the internet of things platform in subsequent communication. It should be noted that, in this embodiment, the voice control device has functions of voice parsing and voice translation, and can parse and convert a voice command sent by a user into a voice control command that can be received and recognized by the internet of things platform, so that the internet of things platform further sends the voice control command to a corresponding terminal device. It should be further noted that, in another embodiment, the voice control device may also be used as a voice input carrier, and after receiving a voice control instruction input by a user, the voice control instruction is sent to software with voice parsing and voice translation functions for voice parsing and translation, and then the voice control instruction after parsing and translation is sent to the internet of things platform, and finally the internet of things platform further sends the voice control instruction to a corresponding terminal device.
In some embodiments, such as the present embodiment, the step S100 may include steps S101-S103, as shown in fig. 3.
S101, receiving a login request sent by voice control equipment by an Internet of things platform, wherein the login request comprises a client ID and a client key;
s102, the Internet of things platform matches the client ID and the client secret key with a registration ID and a registration secret key respectively to obtain a matching result;
s103, the Internet of things platform authorizes the voice control device to log in according to the matching result.
In the embodiment of the invention, the Internet of things platform authorizes the voice control equipment to log in according to the matching result of the client ID and the client key in the login request and the registration ID and the registration key in the registered application. In practical application, the Client ID is a Client ID, and the Client secret key is a Client secret. Before authorizing the voice control equipment, the Internet of things platform needs to register application for the voice control equipment, and is used for acquiring necessary information during authorization of the voice control equipment. Further, the internet of things platform registers an application for the voice control device according to a registration instruction of a user to obtain a registration ID and a registration key of the registered application, where the registration ID and the registration key are the Client ID and the Client secret of the voice control device, and the registration ID and the registration key are stored. After the registration application of the platform of the internet of things is completed, the voice control equipment sends a login request to the platform of the internet of things to acquire the authorization of the platform of the internet of things, wherein the login request comprises a client ID and a client secret key of the voice control equipment. And after receiving the login request sent by the voice control equipment, the Internet of things platform extracts the client ID and the client secret key, matches the client ID and the client secret key with the registration ID and the registration secret key of the registration application, and authorizes the voice control equipment to log in according to the matching result.
In some embodiments, for example, in this embodiment, as shown in fig. 4, the step S103 may include steps S1031 to S1032.
S1031, if the matching result is that the matching is successful, the Internet of things platform sends an authorized login page to the voice control equipment;
s1032, the Internet of things platform verifies the account and the password input by the user through the authorized login page, and if the verification is passed, code information is sent to the voice control equipment;
s1033, the Internet of things platform receives the code information sent by the voice control equipment and sends token information to the voice control equipment so as to complete authorized login of the voice control equipment.
In the embodiment of the invention, the internet of things platform matches the client ID and the client key of the authorization request sent by the voice control equipment with the stored registration ID and the stored registration key, if the matching is successful, an authorization login page is sent to the voice control equipment, and the authorization login page can be displayed in a display device configured by the voice control equipment or displayed in an App corresponding to the voice control equipment so that a user can input an account and a password for logging in the internet of things platform on the authorization login page. And the user clicks a login button after inputting the account and the password of the Internet of things platform to login the Internet of things platform, the Internet of things platform verifies the account and the password input by the user through the authorized login page, and if the account and the password pass the verification, code information is sent to the voice control equipment. Specifically, an account authorization module of the internet of things platform verifies an input account and a password, and if the verification is passed, code information is sent to the voice control device, wherein the Code information includes an authorization Code generated when the verification of the account authorization module is passed. More specifically, the account authorization module returns the authorization Code to the callback address of the voice control device, and after receiving the authorization Code, the voice control device accesses the account authorization module by using the authorization Code, the client ID, and the client key to exchange token information access _ token. And the Internet of things platform receives the authorization Code, the client ID and the client secret key sent by the voice control equipment and then checks the authorization Code, the client ID and the client secret key, and if the authorization Code, the client ID and the client secret key pass the check, token information access _ token is sent to the voice control equipment so as to finish authorization login of the voice control equipment. The voice control equipment receives the token information access _ token and stores the token information access _ token, so that the token information access _ token can be accessed to relevant services of the Internet of things platform through the token information access _ token in communication of the Internet of things platform in the subsequent process.
S110, the voice control equipment sends an equipment query request to the Internet of things platform.
In the implementation of the invention, after the voice control device successfully logs in the platform of the internet of things, the voice control device sends a device query request to the platform of the internet of things so as to obtain a terminal device list supporting voice control in the platform of the internet of things.
And S120, the Internet of things platform inquires a terminal equipment list according to the equipment inquiry request and returns the terminal equipment list to the voice control equipment.
In the implementation of the present invention, after receiving the device query request sent by the voice control device, the gateway query module performs parsing and conversion on the device query request, and returns the queried terminal device list to the voice control device. Specifically, the internet of things platform calls an inquiry interface corresponding to the equipment inquiry request according to the equipment inquiry request to obtain an initial terminal equipment list, and the internet of things platform performs protocol conversion on the initial terminal equipment list to obtain a terminal equipment list and returns the terminal equipment list to the voice control equipment.
S130, the voice control equipment responds to a voice control instruction sent by the terminal equipment which needs to be controlled and is selected from the terminal equipment list by the user, and sends the voice control instruction to the Internet of things platform.
In the embodiment of the invention, after the voice control equipment receives the terminal equipment list returned by the platform of the internet of things, the terminal equipment list is stored in the corresponding database, and the terminal equipment list is displayed, so that a user can select terminal equipment to be controlled from the displayed terminal equipment list. Specifically, the terminal device list may be displayed on a display screen of the voice control device equipped with the display device, or displayed on an App display interface corresponding to the voice control device, so that a user can visually see the terminal device list supporting voice control, and the user can send a voice control instruction according to the displayed device name. For example, a user sees that an intelligent lamp is displayed in a terminal device list, the user speaks a voice instruction of turning on the lamp to a voice control device, and after the voice control device receives the voice instruction of turning on the lamp, the voice instruction of turning on the lamp is sent to an internet of things platform to control the intelligent lamp to be turned on.
S140, the Internet of things platform inquires the terminal equipment corresponding to the voice control instruction according to the voice control instruction and sends the voice control instruction to the terminal equipment.
In the embodiment of the invention, after receiving the voice control instruction sent by the voice control equipment, the platform of the internet of things analyzes and converts the voice control instruction, inquires corresponding terminal equipment according to the voice instruction after analysis and conversion, and sends the voice control instruction to the inquired terminal equipment so as to control the terminal equipment to operate. Specifically, the gateway control module analyzes and converts the voice control instruction to obtain a terminal control instruction, and queries the terminal device corresponding to the terminal control instruction according to the terminal control instruction and sends the terminal control instruction to the terminal device. Through the gateway control module can help the platform of the Internet of things to control the terminal equipment quickly and conveniently, and is strong in universality and suitable for all platforms of the Internet of things.
In some embodiments, such as this embodiment, as shown in FIG. 5, the step S140 may include steps S141-S142.
S141, the object model module detects whether the service corresponding to the voice control instruction exists in a pre-configured attribute service;
and S142, if the service corresponding to the voice control instruction exists in the pre-configured attribute service, the object model module inquires the terminal equipment corresponding to the voice control instruction and sends the voice control instruction to the terminal equipment.
In the embodiment of the invention, after the attribute service of the terminal equipment is configured by the object model module, the configured attribute service is in one-to-one correspondence with the service in the voice control instruction, so that the object model module can quickly detect whether the service corresponding to the voice control instruction exists in the preconfigured attribute service, if the service corresponding to the voice control instruction exists in the preconfigured attribute service, the object model module inquires the terminal equipment corresponding to the voice control instruction and sends the voice control instruction to the terminal equipment. For example, a user configures attribute services of 'turning on and turning off a lamp' of an intelligent lamp in a first module of an object model, configures attribute services of 'turning on a sleep mode' of an air conditioner in a second module, a voice control instruction sent by the user contains the services of 'turning on the sleep mode', the second module of the object model detects that the voice control instruction of the 'turning on the sleep mode' corresponds to the attribute services configured by the second module of the object model, queries air-conditioning equipment corresponding to the voice control instruction of the 'turning on the sleep mode' and sends the voice control instruction of the 'turning on the sleep mode' to the air-conditioning equipment, the attribute services of the rapid terminal equipment can be realized through configuration of the object model, the Internet of things platform can be adapted to various types of terminal equipment through one-time configuration, and the types of the terminal equipment capable of continuous voice control can be expanded. It should be noted that, in this embodiment, the object model modules may be configured with a certain number of object model modules according to user requirements, and the application is not limited in this respect.
And S150, the terminal equipment executes corresponding operation according to the voice control instruction to obtain a response result.
In the embodiment of the invention, after receiving the voice control instruction sent by the platform of the internet of things, the terminal equipment executes the corresponding action according to the voice control instruction, and returns the result of executing the corresponding operation as a response result to the platform of the internet of things. And after receiving the response result returned by the terminal equipment, the Internet of things platform returns the response result to the voice control equipment, and the voice control equipment performs voice conversion into corresponding voice output according to the response result so as to broadcast the execution result of the voice control instruction to the user.
Fig. 6 is a schematic block diagram of a voice system 200 based on the internet of things according to an embodiment of the present invention. As shown in fig. 6, the internet-of-things-based voice control system 200 includes a unit for executing the internet-of-things-based voice control method, corresponding to the internet-of-things-based voice control method applied to the voice control device 10, the internet-of-things platform 20, and the terminal device 30. Specifically, referring to fig. 6, the voice control system 200 based on the internet of things includes a first sending unit 101 and a second sending unit 102 configured in the voice control device 10, an authorization login unit 201, a first query unit 202 and a second query unit 203 configured in the platform 20 of the internet of things, and an execution unit 301 configured in the terminal device 30.
The authorized login unit 201 is configured to perform authorized login on the voice control device according to a login request sent by the voice control device; the first sending unit 101 is configured to send an equipment query request to the internet of things platform; the first query unit 202 is configured to query a terminal device list according to the device query request, and return the terminal device list to the voice control device; the second sending unit 102 is configured to respond to a voice control instruction sent by a terminal device selected by a user from the terminal device list and needing to be controlled, and send the voice control instruction to the internet of things platform; the second query unit 203 is configured to query, according to the voice control instruction, a terminal device corresponding to the voice control instruction, and send the voice control instruction to the terminal device; the execution unit 301 is configured to execute a corresponding operation according to the voice control instruction by the terminal device to obtain a response result.
In some embodiments, for example, in this embodiment, the authorization registration unit 201 includes a receiving unit, a matching unit, and a first authorization registration subunit.
The receiving unit is used for receiving a login request sent by voice control equipment, wherein the login request comprises a client ID and a client key; the matching unit is used for matching the client ID and the client key with a registration ID and a registration key respectively to obtain a matching result; and the first authorized login subunit is used for performing authorized login on the voice control equipment according to the matching result.
In some embodiments, for example, in this embodiment, the authorization registration subunit includes a third sending unit and a second authorization registration subunit.
The third sending unit is configured to send an authorized login page to the voice control device by the internet of things platform if the matching result is that the matching is successful; and the second authorized login subunit is used for performing authorized login on the voice control equipment according to the account and the password input by the user through the authorized login page.
In some embodiments, for example, in this embodiment, the second authorized login subunit includes an authentication unit and a fourth sending unit.
The verification unit is used for verifying an account and a password input by a user through the authorized login page, and if the account and the password pass the verification, code information is sent to the voice control equipment; the fourth sending unit is configured to receive the code information sent by the voice control device, and send token information to the voice control device, so as to complete authorized login of the voice control device.
In some embodiments, such as this embodiment, the first query unit 202 includes a call unit and a first conversion unit.
The calling unit is used for calling a query interface corresponding to the equipment query request according to the equipment query request to obtain an initial terminal equipment list; the first conversion unit is used for carrying out protocol conversion on the initial terminal equipment list to obtain a terminal equipment list and returning the terminal equipment list to the voice control equipment.
In some embodiments, such as this embodiment, the second query unit 203 includes a second conversion unit and a third query unit.
The second conversion unit is used for analyzing and converting the voice control instruction to obtain a terminal control instruction; the third query unit is used for querying the terminal equipment corresponding to the terminal control instruction according to the terminal control instruction and sending the terminal control instruction to the terminal equipment.
In some embodiments, such as this embodiment, the second query unit 203 includes a detection unit and a fourth query unit.
The detection unit is used for detecting whether services corresponding to the voice control instruction exist in pre-configured attribute services or not; and the fourth query unit is used for querying the terminal equipment corresponding to the voice control instruction and sending the voice control instruction to the terminal equipment if the service corresponding to the voice control instruction exists in the pre-configured attribute service.
It should be noted that, as can be clearly understood by those skilled in the art, for the specific implementation process of the voice control system 200 and each unit based on the internet of things, reference may be made to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The internet of things based voice control system described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 7.
Referring to fig. 7, fig. 7 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 900 is a voice control device, an internet of things platform, and a terminal device.
Referring to fig. 7, the computer device 900 includes a processor 902, a memory, and an interface 907 connected by a system bus 901, wherein the memory may include a storage medium 903 and an internal memory 904.
The storage medium 903 may store an operating system 9031 and a computer program 9032. The computer program 9032, when executed, may cause the processor 902 to perform a method for voice control over the internet of things.
The processor 902 is used to provide computing and control capabilities to support the operation of the overall computer device 900.
The internal memory 904 provides an environment for running a computer program 9032 in the storage medium 903, and the computer program 9032, when executed by the processor 902, may cause the processor 902 to perform a voice control method based on the internet of things.
The interface 905 is used to communicate with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing device 900 to which the disclosed aspects apply, as a particular computing device 900 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The respective processors 902 of the terminal, the access control device, and the management server are configured to run a computer program 9032 stored in a memory, so as to implement the following steps: the Internet of things platform authorizes the voice control equipment to log in according to a login request sent by the voice control equipment; the voice control equipment sends an equipment query request to the Internet of things platform; the Internet of things platform inquires a terminal equipment list according to the equipment inquiry request and returns the terminal equipment list to the voice control equipment; the voice control equipment responds to a voice control instruction sent by the terminal equipment which needs to be controlled and selected from the terminal equipment list by the user, and sends the voice control instruction to the Internet of things platform; the Internet of things platform inquires terminal equipment corresponding to the voice control instruction according to the voice control instruction and sends the voice control instruction to the terminal equipment; and the terminal equipment executes corresponding operation according to the voice control instruction to obtain a response result.
In some embodiments, for example, in this embodiment, when implementing the step of authorizing login of the internet of things platform to the voice control device according to the login request sent by the voice control device, the processor 902 specifically implements the following steps: the method comprises the steps that an Internet of things platform receives a login request sent by voice control equipment, wherein the login request comprises a client ID and a client key; the Internet of things platform respectively matches the client ID and the client key with a registration ID and a registration key to obtain a matching result; and the Internet of things platform authorizes the voice control equipment to log in according to the matching result.
In some embodiments, for example, in this embodiment, when implementing the step of performing authorized login on the voice control device by the internet of things platform according to the matching result, the processor 902 specifically implements the following steps: if the matching result is successful, the Internet of things platform sends an authorized login page to the voice control equipment; and the Internet of things platform authorizes the login of the voice control equipment according to the account and the password input by the user through the authorization login page.
In some embodiments, for example, in this embodiment, when implementing the step of authorizing the login of the voice control device by the internet of things platform according to the account and the password input by the user through the authorized login page, the processor 902 specifically implements the following steps: the Internet of things platform verifies an account and a password input by the user through the authorized login page, and if the account and the password pass the verification, code information is sent to the voice control equipment; and the Internet of things platform receives the code information sent by the voice control equipment and sends token information to the voice control equipment so as to finish authorized login of the voice control equipment.
In some embodiments, for example, in this embodiment, when implementing the step of querying, by the processor 902, a terminal device list according to the device query request and returning the terminal device list to the voice control device by using the internet of things platform, the following steps are specifically implemented: the Internet of things platform calls a query interface corresponding to the equipment query request according to the equipment query request to obtain an initial terminal equipment list; and the Internet of things platform performs protocol conversion on the initial terminal equipment list to obtain a terminal equipment list, and returns the terminal equipment list to the voice control equipment.
In some embodiments, for example, in this embodiment, when the processor 902 implements that the internet of things platform includes a gateway control module, the internet of things platform queries, according to the voice control instruction, a terminal device corresponding to the voice control instruction, and sends the voice control instruction to the terminal device, the following steps are specifically implemented: the gateway control module analyzes and converts the voice control instruction to obtain a terminal control instruction; and the gateway control module inquires the terminal equipment corresponding to the terminal control instruction according to the terminal control instruction and sends the terminal control instruction to the terminal equipment.
In some embodiments, for example, in this embodiment, when implementing that the internet of things platform includes an object model module, the internet of things platform queries, according to the voice control instruction, a terminal device corresponding to the voice control instruction, and sends the voice control instruction to the terminal device, the following steps are specifically implemented: the object model module detects whether the service corresponding to the voice control instruction exists in the pre-configured attribute service; and if the service corresponding to the voice control instruction exists in the pre-configured attribute service, the object model module inquires the terminal equipment corresponding to the voice control instruction and sends the voice control instruction to the terminal equipment.
It should be understood that, in the embodiment of the present application, the Processor 902 may be a Central Processing Unit (CPU), and the Processor 902 may also be other general-purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the wireless communication system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform any of the embodiments of the internet of things based voice control method described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, wireless communication software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present invention, it should be understood that the disclosed system and method may be implemented in other manners. For example, the system embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the system of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partly contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal wireless communication, a terminal, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A voice control method based on the Internet of things is characterized by comprising the following steps:
the Internet of things platform authorizes the voice control equipment to log in according to a login request sent by the voice control equipment;
the voice control equipment sends an equipment query request to the Internet of things platform;
the Internet of things platform inquires a terminal equipment list according to the equipment inquiry request and returns the terminal equipment list to the voice control equipment;
the voice control equipment responds to a voice control instruction sent by the terminal equipment which needs to be controlled and selected from the terminal equipment list by the user, and sends the voice control instruction to the Internet of things platform;
the Internet of things platform inquires terminal equipment corresponding to the voice control instruction according to the voice control instruction and sends the voice control instruction to the terminal equipment;
and the terminal equipment executes corresponding operation according to the voice control instruction to obtain a response result.
2. The voice control method based on the internet of things of claim 1, wherein the step of authorizing login of the voice control device by the platform of the internet of things according to a login request sent by the voice control device comprises:
the method comprises the steps that an Internet of things platform receives a login request sent by voice control equipment, wherein the login request comprises a client ID and a client key;
the Internet of things platform respectively matches the client ID and the client key with a registration ID and a registration key to obtain a matching result;
and the Internet of things platform authorizes the voice control equipment to log in according to the matching result.
3. The internet of things-based voice control method according to claim 2, wherein the step of authorizing login of the voice control device by the internet of things platform according to the matching result comprises:
if the matching result is that the matching is successful, the Internet of things platform sends an authorized login page to the voice control equipment;
and the Internet of things platform authorizes the login of the voice control equipment according to the account and the password input by the user through the authorization login page.
4. The internet of things-based voice control method according to claim 3, wherein the step of authorizing login of the voice control device by the internet of things platform according to the account and the password input by the user through the authorized login page comprises the following steps:
the Internet of things platform verifies an account and a password input by the user through the authorized login page, and if the account and the password pass the verification, code information is sent to the voice control equipment;
and the Internet of things platform receives the code information sent by the voice control equipment and sends token information to the voice control equipment so as to finish authorized login of the voice control equipment.
5. The voice control method based on the internet of things of claim 1, wherein the steps of querying a terminal device list according to the device query request and returning the terminal device list to the voice control device by the internet of things platform comprise:
the Internet of things platform calls a query interface corresponding to the equipment query request according to the equipment query request to obtain an initial terminal equipment list;
and the Internet of things platform performs protocol conversion on the initial terminal equipment list to obtain a terminal equipment list, and returns the terminal equipment list to the voice control equipment.
6. The voice control method based on the internet of things of claim 1, wherein the internet of things platform comprises a gateway control module, and the steps of querying the terminal device corresponding to the voice control instruction according to the voice control instruction and sending the voice control instruction to the terminal device by the internet of things platform comprise:
the gateway control module analyzes and converts the voice control instruction to obtain a terminal control instruction;
and the gateway control module inquires the terminal equipment corresponding to the terminal control instruction according to the terminal control instruction and sends the terminal control instruction to the terminal equipment.
7. The voice control method based on the internet of things of claim 1, wherein the internet of things platform comprises an object model module, and the steps of querying the terminal device corresponding to the voice control instruction according to the voice control instruction and sending the voice control instruction to the terminal device by the internet of things platform comprise:
the object model module detects whether the service corresponding to the voice control instruction exists in the pre-configured attribute service or not;
and if the service corresponding to the voice control instruction exists in the pre-configured attribute service, the object model module inquires the terminal equipment corresponding to the voice control instruction and sends the voice control instruction to the terminal equipment.
8. A voice control system based on the Internet of things is characterized by comprising: a first sending unit and a second sending unit which are arranged in the voice control equipment, an authorization login unit, a first query unit and a second query unit which are arranged in the platform of the Internet of things, and an execution unit which is arranged in the terminal equipment, wherein,
the authorized login unit is used for the Internet of things platform to perform authorized login on the voice control equipment according to a login request sent by the voice control equipment;
the first sending unit is used for sending an equipment query request to the Internet of things platform by the voice control equipment;
the first query unit is used for the Internet of things platform to query a terminal equipment list according to the equipment query request and return the terminal equipment list to the voice control equipment;
the second sending unit is used for responding to a voice control instruction sent by a terminal device which needs to be controlled and selected from the terminal device list by a user through the voice control device, and sending the voice control instruction to the Internet of things platform;
the second query unit is used for the Internet of things platform to query the terminal equipment corresponding to the voice control instruction according to the voice control instruction and send the voice control instruction to the terminal equipment;
and the execution unit is used for the terminal equipment to execute corresponding operation according to the voice control instruction to obtain a response result.
9. An internet-of-things-based voice control system comprises a voice control device, an internet-of-things platform and a terminal device, wherein the voice control device, the internet-of-things platform and the terminal device comprise a memory and a processor, a computer program is stored in the memory, and the processor of the voice control device, the internet-of-things platform and the terminal device realizes the method according to any one of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202211722236.7A 2022-12-30 2022-12-30 Voice control method, system and storage medium based on Internet of things Pending CN115988045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211722236.7A CN115988045A (en) 2022-12-30 2022-12-30 Voice control method, system and storage medium based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211722236.7A CN115988045A (en) 2022-12-30 2022-12-30 Voice control method, system and storage medium based on Internet of things

Publications (1)

Publication Number Publication Date
CN115988045A true CN115988045A (en) 2023-04-18

Family

ID=85975659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211722236.7A Pending CN115988045A (en) 2022-12-30 2022-12-30 Voice control method, system and storage medium based on Internet of things

Country Status (1)

Country Link
CN (1) CN115988045A (en)

Similar Documents

Publication Publication Date Title
CN107204185B (en) Vehicle-mounted voice interaction method and system and computer readable storage medium
US11380141B2 (en) Vehicle diagnosis method, user equipment, and server
CN113347242B (en) Cross-device resource access method and device, storage medium and electronic device
CN113615141B (en) Account association method, device, system, server and storage medium
WO2021142822A1 (en) Vehicle diagnosis method, vehicle diagnosis device and storage medium
CN110909330A (en) Vehicle networking platform authorization method, device, equipment and storage medium
CN107133516A (en) A kind of authority control method and system
CN111078424A (en) Information interaction method and device, computer equipment and storage medium
CN109948332A (en) A kind of physical machine login password remapping method and device
CN115988045A (en) Voice control method, system and storage medium based on Internet of things
CN111583929A (en) Control method and device using offline voice and readable equipment
JP2002229950A (en) Information registration device, information registration system, information registration method, information registration program and computer-readable recording medium with information registration program recorded thereon
CN111614600B (en) Method and system for realizing vehicle networking capability opening
CN109241728B (en) Method and device for acquiring password information, computer equipment and storage medium
CN110784551A (en) Data processing method, device, equipment and medium based on multiple tenants
KR20030014946A (en) Method For Integrated Authentication To Many Living Body Information Authentication Programs
CN117014226B (en) Service request authentication method, device, equipment, system and storage medium
CN111917575B (en) Gateway offline configuration method, system, terminal equipment and storage medium
KR102584171B1 (en) Single-Sign-On Service Providing Method by Using Biometric Recognition on Log-On Process
CN111935107B (en) Identity authentication method, device, system, electronic equipment and storage medium
CN112560076B (en) Program page display method and device, computer equipment and readable storage medium
CN111836207B (en) Telephone number registration method, system and related equipment
CN108574664A (en) A kind of method, relevant apparatus and system that account logs in
CN114329383A (en) Login-free access method, device, equipment and medium of third-party application system
US9124596B2 (en) Network device and method available for use under non-security mode

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