CN115208859B - Information interaction method, device, equipment and storage medium - Google Patents

Information interaction method, device, equipment and storage medium Download PDF

Info

Publication number
CN115208859B
CN115208859B CN202210732173.7A CN202210732173A CN115208859B CN 115208859 B CN115208859 B CN 115208859B CN 202210732173 A CN202210732173 A CN 202210732173A CN 115208859 B CN115208859 B CN 115208859B
Authority
CN
China
Prior art keywords
control instruction
session identifier
control
response result
execution result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210732173.7A
Other languages
Chinese (zh)
Other versions
CN115208859A (en
Inventor
陆明亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Apollo Zhilian Beijing 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 Apollo Zhilian Beijing Technology Co Ltd filed Critical Apollo Zhilian Beijing Technology Co Ltd
Priority to CN202210732173.7A priority Critical patent/CN115208859B/en
Publication of CN115208859A publication Critical patent/CN115208859A/en
Application granted granted Critical
Publication of CN115208859B publication Critical patent/CN115208859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment

Abstract

The disclosure provides an information interaction method, an information interaction device, information interaction equipment and a storage medium, and relates to the technical field of computers, in particular to the technical field of equipment communication. The specific implementation scheme is as follows: receiving a first control instruction from the electronic device, the first control instruction including a session identifier, the session identifier being used to uniquely identify the first control instruction; executing a first control instruction and obtaining an execution result, wherein the execution result comprises a session identifier corresponding to the first control instruction; and broadcasting the execution result to the electronic equipment. The information interaction method, the information interaction device, the information interaction equipment and the storage medium can avoid control conflict and execution result receiving conflict in the information interaction process.

Description

Information interaction method, device, equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular relates to an information interaction method, an information interaction device and a storage medium in the technical field of equipment communication.
Background
In an intelligent vehicle system, a user can use an operation device of a vehicle to complete control operation on vehicle-mounted devices such as doors, windows, lamps and air conditioners of a vehicle, and a process of controlling and operating the vehicle-mounted devices through the operation device of the vehicle in the prior art generally comprises: the control method comprises the steps that an operation device of a vehicle connected with the vehicle sends a control instruction to a control center of the vehicle; the control center receives and executes the control instruction and broadcasts the execution result; and the operation equipment of the vehicle-mounted system receives the execution result broadcasted by the control center. The operation device of the vehicle can be a mobile terminal of a user, such as: the mobile phone, PAD (tablet personal computer) can also be a vehicle-mounted central control device and the like.
In an intelligent home system, a user can use an operation device connected to an intelligent home network to complete control operation on intelligent home appliances such as televisions, air conditioners, refrigerators, curtains and the like, and a process of controlling and operating the intelligent home appliances through the operation device in the prior art generally comprises the following steps: the operation equipment sends a control instruction to a control center of the intelligent home system; the control center receives and executes the control instruction and broadcasts the execution result; the operation device receives the execution result broadcast by the control center. The operation device accessed to the intelligent home network may be a mobile terminal of a user, for example: the mobile phone and the PAD can also be central control client equipment of the intelligent home system.
Disclosure of Invention
The disclosure provides an information interaction method, device, equipment and storage medium for preventing instruction conflict.
According to an aspect of the present disclosure, there is provided an information interaction method, including: receiving a first control instruction from an electronic device, the first control instruction comprising a session identifier, the session identifier being used to uniquely identify the first control instruction; executing the first control instruction and obtaining an execution result, wherein the execution result comprises a session identifier corresponding to the first control instruction; and broadcasting the execution result to the electronic equipment.
According to another aspect of the present disclosure, there is provided an information interaction method, including: generating a first control instruction, the first control instruction comprising a session identifier, the session identifier being used to uniquely identify the first control instruction; transmitting the first control instruction to a control device; receiving an execution result broadcasted by the control equipment; and identifying whether the execution result is the execution result corresponding to the first control instruction according to the session identifier carried in the execution result.
According to another aspect of the present disclosure, there is provided an information interaction apparatus including: a first receiving module, configured to receive a first control instruction from an electronic device, where the first control instruction includes a session identifier, where the session identifier is used to uniquely identify the first control instruction; the execution module is used for executing the first control instruction and obtaining an execution result, wherein the execution result comprises a session identifier corresponding to the first control instruction; and the broadcasting module is used for broadcasting the execution result to the electronic equipment.
According to another aspect of the present disclosure, there is provided an information interaction apparatus including: the generation module is used for generating a first control instruction, wherein the first control instruction comprises a session identifier, and the session identifier is used for uniquely identifying the first control instruction; the sending module is used for sending the first control instruction to the control equipment; the second receiving module is used for receiving the execution result broadcasted by the control equipment; and the identification module is used for identifying whether the execution result is the execution result corresponding to the first control instruction according to the session identifier carried in the execution result.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform an information interaction method as described in the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform an information interaction method of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements an information interaction method as described in the present disclosure.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a flow chart of an information interaction method according to a first embodiment of the present disclosure;
FIG. 2 is a flow chart of an information interaction method according to a fourth embodiment of the present disclosure;
FIG. 3 is a flow chart of an information interaction method according to a fifth embodiment of the present disclosure;
FIG. 4 is a first application scenario diagram of an information interaction method according to the present disclosure;
FIG. 5 is a second application scenario diagram of an information interaction method according to the present disclosure;
fig. 6 is a schematic structural view of an information interaction device according to a ninth embodiment of the present disclosure;
fig. 7 is a schematic structural view of an information interaction device according to a tenth embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device for implementing an information interaction method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Whether in the intelligent car machine system, the process of controlling and operating the vehicle-mounted equipment through the operation equipment of the car allies oneself with, or in the intelligent home system, accomplish the control operation to the intelligent home appliances through the operation equipment of intelligent home network, when there are a plurality of Applications (APP) in the operation equipment to control the vehicle-mounted equipment or the intelligent home appliances simultaneously, there are the following problems: 1. control conflict: for example, in an intelligent vehicle-mounted system, an operation device can trigger control instructions through a plurality of APP simultaneously, and if an APP1 triggers an instruction for opening a window and APP2 triggers an instruction for closing the window, control conflict can easily occur; 2. performing result receiving conflict: because the control center broadcasts the execution result, the operation device cannot determine which APP triggered control instruction the received execution result is successfully executed and generates, for example, after the operation device sends the APP1 triggered control instruction to the control center, the operation device receives that the execution result broadcast by the control center is generated for the APP2 triggered control instruction, but not for the APP1 triggered control instruction, but cannot identify and determine.
Fig. 1 is a flow chart of an information interaction method according to a first embodiment of the disclosure, and as shown in fig. 1, the method mainly includes:
step S101, receiving a first control instruction from an electronic device, where the first control instruction includes a session identifier, where the session identifier is used to uniquely identify the first control instruction.
In this embodiment, a first control instruction from the electronic device is received by the control device, the first control instruction including a session identifier for uniquely identifying the first control instruction. Specifically, the control device is a device for executing the first control instruction, for example, in the intelligent vehicle-to-machine system, the control device may be a vehicle control center; in the smart home system, the control device may be a home control center. In the intelligent vehicle-mounted system, the first control instruction can be used for instructing the vehicle control center to control vehicle-mounted equipment, such as controlling the opening of an air conditioner in a vehicle, the closing of a window, the playing of music by vehicle lights and a player, and the like; in the smart home system, the first control instruction may be used to instruct the home control center to control the smart home appliance, for example, to control the television to turn on, the lamp to turn off, and the window curtain to be opened.
In an embodiment, the electronic device may be various operation devices, and the user may trigger the first control instruction through the operation device, for example, in the intelligent vehicle machine system, the operation device may be a mobile phone, a PAD, or a vehicle-mounted central control device, the vehicle-mounted central control device is a vehicle-mounted central control screen or a vehicle-mounted central control instrument in a vehicle, and is an entrance for the user to interact with a vehicle control center, and in an actual application process, no matter which operation device is, multiple application software may be installed to control the vehicle-mounted device; in the intelligent home system, the operation device can be a mobile phone, a PAD, a central control client device of the intelligent home system or the like, and in the same way, various application software can be installed to control the intelligent furniture home appliance no matter which operation device.
In an embodiment, the session identifier (session) may be randomly generated by various application software in the electronic device, the session identifier having a uniqueness, and thus may be used to uniquely identify the first control instruction.
Step S102, executing a first control instruction and obtaining an execution result, wherein the execution result comprises a session identifier corresponding to the first control instruction.
In this embodiment, after receiving the first control instruction, the control device needs to execute the first control instruction, so as to obtain an execution result, where the execution result includes a session identifier corresponding to the first control instruction. Specifically, in the intelligent vehicle-mounted system, executing a first control instruction to control an in-vehicle air conditioner to open, a vehicle window to close, vehicle light, a player to play music and the like; in the intelligent home system, a first control instruction is executed to control the television to be turned on, the lamp to be turned off, the curtain to be pulled open and the like.
In an embodiment, the control device generates an execution result after the execution of the first control instruction from the electronic device is completed, where the execution result may include whether the execution is successful or not, execution time, execution device, and the like, and the execution result needs to carry a session identifier corresponding to the first control instruction, so that the electronic device is convenient to determine which APP triggered control instruction the execution result is generated for successful execution.
Step S103, broadcasting the execution result to the electronic device.
In this embodiment, after obtaining the execution result, the control device needs to send the execution result to the electronic device in the form of a broadcast. Specifically, the control apparatus does not know where the first control instruction comes from after receiving the first control instruction, and therefore needs to broadcast the execution result.
In one embodiment, the control device may broadcast the execution result via a data bus or a specific application programming interface (API, application Programming Interface). For example:
in the intelligent vehicle-mounted system, a user can install various application software in vehicle-mounted central control equipment (electronic equipment) according to the need for controlling the vehicle-mounted equipment, and the vehicle-mounted central control equipment can communicate with a vehicle control center (control equipment) through a data bus through the application software; after the vehicle control center obtains the execution result, the execution result can be broadcast to the vehicle-mounted central control equipment through the data bus. Alternatively, the user may install application software on a mobile phone (electronic device) for controlling the in-vehicle device, and the mobile phone may communicate with a vehicle control center (control device) through the application software; after the vehicle control center obtains the execution result, the vehicle control center can call an API (application program interface) on the mobile phone for monitoring the execution result to broadcast the execution result to the mobile phone.
Similarly, in the smart home system, a user can install various application software in a central control client device (electronic device) according to the need for controlling the smart home appliance, and the central control client device can communicate with a home control center (control device) through a data bus by using the application software; after the home control center obtains the execution result, the execution result can be broadcast to the central control client device through the data bus. The user can also install application software on the mobile phone or PAD (electronic device) according to the requirement for controlling the intelligent household appliances, and the mobile phone or PAD can communicate with a household control center (control device) through the application software; after the home control center obtains the execution result, the home control center can call an API (application program interface) on the software for monitoring the execution result to broadcast the execution result to the mobile phone or the PAD.
In a first embodiment of the present disclosure, a control device receives a first control instruction from an electronic device, then executes the first control instruction to obtain an execution result, where the execution result includes a session identifier corresponding to the first control instruction, and finally broadcasts the execution result to the electronic device. The first embodiment of the disclosure carries the session identifier in the first control instruction and the execution result, and is used for the electronic device to judge whether the execution result is generated by the successful execution of the first control instruction sent by the electronic device, so that the execution result receiving conflict generated in the interaction process of the control instruction and the execution result can be avoided, the normal operation of the control interaction flow is ensured, and the user experience is improved.
In a second embodiment of the present disclosure, after step S101, the method further includes: and when the second control instruction is determined to be executed, broadcasting a first response result aiming at the first control instruction to the electronic equipment, wherein the first response result is used for indicating that the execution of the first control instruction is refused, and the first response result comprises a session identifier corresponding to the first control instruction.
In this embodiment, after receiving the first control instruction, the control device needs to determine whether there is a second control instruction being executed, and if there is a second control instruction being executed, then the electronic device needs to be notified of the second control instruction being executed at this time by the first response result, so that execution of the first control instruction is refused. Specifically, the control device still sends the first response result to the electronic device in a broadcast manner, and the broadcast method is similar to step S103, which is not described herein.
In an embodiment, after receiving all the control instructions, the control device determines whether the session list is empty, if the session list is empty, writes the session identifier corresponding to the control instruction into the session list, executes the control instruction at the same time, and clears the corresponding session identifier from the session list according to the actual situation after the execution is finished. Therefore, whether the session list is empty or not can be used for judging whether the second control instruction is executed or not, that is, the control device can judge whether the session list is empty or not after receiving the first control instruction, if the session list is not empty, the second control instruction is executed or not; if the session list is empty, it indicates that there is no second control instruction being executed.
In a third embodiment of the present disclosure, after step S101, the method further includes: and when no second control instruction is executed, broadcasting a second response result aiming at the first control instruction to the electronic equipment, wherein the second response result is used for indicating that the first control instruction is successfully received, and the second response result comprises a session identifier corresponding to the first control instruction.
In this embodiment, after receiving the first control instruction, the control device determines that there is no second control instruction being executed, and then needs to notify the electronic device of the second response result that there is no second control instruction being executed at this time, that is, the first control instruction is successfully received, so that the first control instruction can be successfully executed. Specifically, the second response result is still sent to the electronic device in a broadcast manner, and the broadcast method is similar to step S103, and will not be described herein.
In an embodiment, only the session identifier of the executing control instruction is stored in the session list, and in order to avoid control conflict, the session identifier in the session list is at most one, after receiving the first control instruction, the control device may determine whether the session list is empty, if the session list is empty, there is no executing second control instruction, and at this time, the session identifier corresponding to the first control instruction may be written into the session list, and at the same time, the first control instruction is executed.
In the second and third embodiments of the present disclosure, after receiving the first control instruction, the control device determines whether there is a second control instruction being executed, and if there is a second control instruction being executed, broadcasts a first response result; and if the second control instruction is not being executed, broadcasting a second response result. The second and third embodiments of the present disclosure facilitate refusing to execute the first control instruction from the electronic device when there is a second control instruction being executed, thereby avoiding control conflicts.
Fig. 2 is a flowchart of an information interaction method according to a fourth embodiment of the present disclosure, as shown in fig. 2, in which the first control instruction further includes a timeout period, and after step S103, the method further includes:
step S104, when receiving a return message of the electronic equipment aiming at the execution result within the timeout period, deleting the session identifier corresponding to the first control instruction locally; and when the timeout time is reached and a return message of the electronic equipment for the execution result is not received, the session identifier corresponding to the first control instruction is also deleted locally.
In this embodiment, if a return message of the electronic device for the execution result is received within the timeout period, the control device deletes the session identifier corresponding to the first control instruction from the session list; if the timeout period is reached and the return message of the electronic device for the execution result is not received, the control device also deletes the session identifier corresponding to the first control instruction from the session list.
In an embodiment, after receiving the broadcasted execution result, the electronic device sends a return message to the control device, where the return message is used to indicate that the electronic device has received the execution result corresponding to the first control instruction; therefore, after receiving the return message from the electronic device, the control device proves that the first control instruction is already executed, and the session identifier corresponding to the first control instruction needs to be cleared from the session list to receive the next control instruction.
In one embodiment, the session identifier is cleared from the session list if the control device has not received a return message from the electronic device within a period of time after the execution result is sent, and the period of time has exceeded the timeout period. Specifically, the timeout may be a self-set time, which may take on a value of 200 to 300 milliseconds.
In the fourth embodiment of the present disclosure, after receiving the return data sent from the electronic device, or when the return data sent by the electronic device has not been received yet after reaching the timeout, the session identifier is cleared from the session list, so that it can be ensured that the next control instruction can be successfully executed, and the problem that the session list is not always empty, and the control device cannot execute the control instruction all the time does not exist.
Fig. 3 is a flow chart of an information interaction method according to a fifth embodiment of the disclosure, as shown in fig. 3, the method specifically includes:
in step S301, a first control instruction is generated, where the first control instruction includes a session identifier, and the session identifier is used to uniquely identify the first control instruction.
In this embodiment, the first control instruction is generated by the electronic device, the first control instruction including a session identifier for uniquely identifying the first control instruction. In the intelligent vehicle-mounted system, the first control instruction can be used for instructing the vehicle control center to control vehicle-mounted equipment, such as controlling the opening of an air conditioner in a vehicle, the closing of a window, the playing of music by vehicle lights and a player, and the like; in the smart home system, the first control instruction may be used to instruct the home control center to control the smart home appliance, for example, to control the television to turn on, the lamp to turn off, and the window curtain to be opened.
In an embodiment, the session identifier may be randomly generated by various application software in the electronic device, and the session identifier has a uniqueness and may thus be used to uniquely identify the first control instruction.
In an embodiment, the session identifier may be generated by application software in the electronic device, for example, a session identifier with a three-segment structure, which is a software name, a timestamp for generating the session identifier, and a random number, respectively.
In an embodiment, the user may trigger to generate the first control instruction by operating application software in the electronic device, or may directly trigger the electronic device to generate the first control instruction by voice. For example, in the intelligent vehicle-mounted system, a user can operate the vehicle control software on the vehicle-mounted central control device to trigger generation of a first control instruction, for example, the user clicks a button on the vehicle control software for opening the air conditioner in the vehicle to trigger generation of the first control instruction for opening the air conditioner in the vehicle; in the intelligent home system, a user can directly trigger the electronic equipment to generate a first control instruction by voice, for example, the user sends out a voice instruction of turning on a television and an air conditioner, at the moment, the electronic equipment can analyze the voice instruction into words, then uses a natural language identification interface to analyze the voice instruction into the intentions of turning on the television and turning on the air conditioner, and finally generates a first control instruction for turning on the television and a first control instruction for turning on the air conditioner respectively. Of course, the intelligent vehicle-mounted system can also directly trigger the electronic device to generate the first control instruction by using voice, and the method for triggering to generate the first control instruction is not limited in the disclosure.
Step S302, a first control instruction is sent to a control device.
In this embodiment, after the first control instruction is generated, the electronic device needs to send the first control instruction to the control device, so that the control device executes the first control instruction.
In an embodiment, the electronic device may send the first control instruction to the control device through an interface corresponding to the control device, or may send the first control instruction through bluetooth or the like. For example, in the intelligent vehicle-mounted system, the first control instruction may be sent to an interface corresponding to the vehicle control center, or the vehicle control center may be connected with the electronic device bluetooth, and the first control instruction is sent to the vehicle control center through bluetooth; similarly, in the smart home system, the first control instruction may also be sent to the home control center through an interface of the home control center or bluetooth, a wireless communication technology WiFi, or the like.
Step S303, receiving an execution result broadcasted by the control device.
In this embodiment, after the electronic device sends the first control instruction to the control device, the control device executes the first control instruction when there is no second control instruction being executed, and broadcasts the execution result to the electronic device connected to the electronic device, so that the electronic device also needs to receive the execution result broadcast by the control device, where the execution result includes the session identifier corresponding to the first control instruction.
Step S304, according to the session identifier carried in the execution result, whether the execution result is the execution result corresponding to the first control instruction is identified.
In this embodiment, the electronic device further needs to identify, according to the session identifier carried in the execution result, whether the execution result is an execution result corresponding to the first control instruction sent by the electronic device.
In an embodiment, the control device sends out the execution result in a broadcast manner, so that the received execution result may not be generated due to successful execution of the first control instruction sent by the electronic device, and therefore, the session identifier corresponding to the first control instruction is carried in the execution result generated by the control device; after the electronic device receives the execution result, it is further required to determine whether the session identifier in the execution result is consistent with the session identifier in the generated first control instruction, if so, it indicates that the execution result received by the electronic device is the execution result corresponding to the first control instruction sent by the electronic device.
In a fifth embodiment of the present disclosure, an electronic device generates a first control instruction, sends the first control instruction to a control device, then receives an execution result broadcasted by the control device, and identifies whether the execution result is an execution result corresponding to the first control instruction according to a session identifier carried in the execution result. According to the fifth embodiment of the disclosure, the session identifier is added to the generated first control instruction, and whether the first control instruction is the execution result corresponding to the first control instruction or not is identified according to the session identifier in the received execution result, so that control conflict and execution result receiving conflict can be avoided.
In a sixth embodiment of the present disclosure, after step S302, the method further includes: receiving a response result, which is broadcasted by the control equipment and is specific to the received control instruction, and identifying whether the response result is a response result corresponding to the first control instruction according to a session identifier carried in the response result; after receiving the first control instruction, the control device determines that a second control instruction is being executed, and broadcasts a first response result aiming at the first control instruction, wherein the first response result is used for indicating that the first control instruction is refused to be executed, and the first response result comprises a session identifier corresponding to the first control instruction; after receiving the first control instruction, the control equipment determines that a second control instruction which is not being executed is not executed, and broadcasts a second response result aiming at the first control instruction, wherein the second response result is used for indicating that the first control instruction is successfully sent, and the second response result comprises a session identifier corresponding to the first control instruction;
correspondingly, when the session identifier carried in the response result is identified as a first response result corresponding to the first control instruction, executing a preset processing strategy corresponding to the first response result; when the second response result corresponding to the first control instruction is identified, waiting for receiving an execution result returned by the control equipment; and discarding the received response result when the response result is identified as the response result which does not correspond to the first control instruction.
In this embodiment, after the electronic device sends the first control instruction to the control device, the electronic device needs to receive a response result for the received control instruction, where the response result includes a first response result and a second response result, and the first response result is used to indicate that there is a second control instruction being executed, and the control device refuses to execute the first control instruction; the second response result is used for indicating that the second control instruction is not being executed, the control equipment successfully receives the first control instruction, and the first control instruction is executed.
In an embodiment, the electronic device further needs to identify whether the response result is a response result corresponding to the first control instruction according to the session identifier carried in the response result, and discard the received response result if the response result is identified as a response result not corresponding to the first control instruction.
In an embodiment, if the electronic device receives the first response result, executing a preset processing policy corresponding to the first response result, where the preset processing policy may be a processing manner set in advance for the control device to refuse to execute the first control instruction, for example, the preset processing policy may be to prompt the user to request failure or wait for a certain time and then send the control instruction again; if the second response instruction is received, the execution result returned by the control equipment is waited to be received, and the user can be prompted to perform the next operation and the like.
In the sixth embodiment of the present disclosure, an electronic device receives a response result for a control instruction, which is broadcast by a control device, and identifies whether the response result is a response result corresponding to a first control instruction according to a session identifier carried in the response result, so that a conflict in receiving the response result can be avoided, and different processing strategies are executed for different response results, so that smoothness of information interaction can be ensured, and user experience is improved.
In a seventh embodiment of the present disclosure, after step S304, the method further includes: when the session identifier carried in the execution result is determined to be the session identifier corresponding to the first control instruction, identifying the execution result as the execution result corresponding to the first control instruction, and sending a return message aiming at the execution result to the control equipment; otherwise, the execution result is ignored.
In this embodiment, the electronic device needs to determine whether the session identifier carried in the received execution result is equal to the session identifier corresponding to the first control instruction, if so, it indicates that the received execution result is the execution result corresponding to the first control instruction, and at this time, sends a return message for the execution result to the control device; if the received execution result is not equal to the first control instruction, the received execution result is ignored.
According to the seventh embodiment of the disclosure, when the execution result is determined to be the execution result corresponding to the first control instruction, the electronic device sends the return message for the execution result to the control device, so that the execution result receiving conflict can be avoided, and the electronic device can accurately send the return message corresponding to the execution result to the control device.
In an eighth embodiment of the present disclosure, the first control instruction further includes a timeout time for the control device to identify whether the return message for the execution result is timeout.
According to the eighth embodiment of the disclosure, the timeout time can ensure that the control device can successfully execute the next control instruction, and the problem that the control device cannot execute the control instruction all the time because the second instruction which is being executed all the time is avoided.
The interaction process between the control device and the electronic device in the present disclosure is:
the electronic equipment generates a first control instruction, wherein the first control instruction comprises a session identifier and a timeout time, and the session identifier is used for uniquely identifying the first control instruction; the control equipment receives the first control instruction and judges whether a second control instruction is being executed or not; if a second control instruction is executed, broadcasting a first response result to the electronic equipment; if the second control instruction is not executed, broadcasting a second response result to the electronic equipment, executing the first control instruction to obtain an execution result, wherein the execution result comprises a session identifier, and broadcasting the execution result to the electronic equipment; the electronic equipment receives a first response result or a second response result sent by the control equipment, and receives an execution result broadcasted by the control equipment when the request is successful; the electronic equipment identifies the execution result as the execution result corresponding to the first control instruction according to the session identifier in the execution result, and sends a return message aiming at the execution result to the control equipment, otherwise, ignores the execution result; after receiving the return message, the control device clears the session identifier from the local; if the control device does not receive the return message sent by the electronic device after the timeout is reached, the session identifier is cleared locally.
The information interaction method of the embodiment of the disclosure is further elaborated below in combination with an application scenario of the intelligent vehicle-to-machine system. Fig. 4 is a first application scenario diagram of an information interaction method according to the present disclosure, as shown in fig. 4, an intelligent vehicle-mounted system according to an embodiment of the present disclosure mainly includes: the vehicle-mounted central control device is connected with the vehicle control center, and the vehicle control center is connected with various vehicle-mounted devices. It should be emphasized that in the practical application scenario, the vehicle-mounted device may be extended according to the actual requirement, and the present disclosure does not limit the types and the number of the vehicle-mounted devices.
The application implementation process of the information interaction method in the embodiment of the disclosure in the intelligent vehicle-mounted system mainly comprises the following steps: the user generally triggers the first control instruction by operating the vehicle-mounted central control device (electronic device), the vehicle-mounted central control device sends the first control instruction to the vehicle control center (control device), and then the vehicle control center controls various vehicle-mounted devices such as an in-vehicle air conditioner, a vehicle window, a vehicle lamp and the like according to the first control instruction, so that the interaction process of the vehicle-mounted central control device and the vehicle control center is as follows: the vehicle-mounted central control equipment generates a first control instruction, wherein the first control instruction comprises a session identifier and a timeout time, and sends the first control instruction to a vehicle control center; after receiving the first control instruction, the vehicle control center judges whether a second control instruction is being executed or not; if a second control instruction is executed, broadcasting a first response result to the vehicle-mounted central control equipment; if the second control instruction is not executed, broadcasting a second response result to the vehicle-mounted central control equipment, executing the first control instruction to control the opening of the air conditioner in the vehicle, the closing of the window, the opening of the vehicle lamp and the like, obtaining an execution result, wherein the execution result comprises a session identifier, and broadcasting the execution result to the vehicle-mounted central control equipment; the vehicle-mounted central control equipment receives a first response result or a second response result sent by the vehicle control center, receives an execution result broadcasted by the vehicle control center when the request is successful, and then recognizes that the execution result is the execution result corresponding to the first control instruction according to the session identifier in the execution result, and sends a return message aiming at the execution result to the vehicle control center, otherwise, ignores the execution result; after receiving the return message, the vehicle control center clears the session identifier from the local, and if the vehicle control center still does not receive the return message sent by the vehicle-mounted central control device after reaching the timeout period, the session identifier is cleared from the local.
The information interaction method of the embodiment of the disclosure is further elaborated below in combination with an application scenario of the smart home system. Fig. 5 is a second application scenario diagram of an information interaction method according to the present disclosure, and as shown in fig. 5, an intelligent home system according to an embodiment of the present disclosure mainly includes: the system comprises a central control client device, a home control center and various intelligent furniture home appliances, such as televisions, lamps, curtains and the like, wherein the central control client device is connected with the home control center, and the home control center is connected with the various intelligent furniture home appliances. It should be emphasized that in the practical application scenario, the intelligent furniture home appliances can be extended according to actual needs, and the present disclosure does not limit the types and the number of the intelligent furniture home appliances.
The application implementation process of the information interaction method in the embodiment of the disclosure in the intelligent home system mainly comprises the following steps: the user usually triggers the first control instruction by operating the central control client device (electronic device), the central control client device sends the first control instruction to the home control center (control device), and then the home control center controls various intelligent furniture home appliances, such as televisions, lamps and lanterns, curtains and the like, according to the first control instruction, and then the interaction process between the central control client device and the home control center is as follows: the method comprises the steps that a first control instruction is generated by a central control client device, the first control instruction comprises a session identifier and a timeout time, and the first control instruction is sent to a home control center; after receiving the first control instruction, the home control center judges whether a second control instruction is executed or not; if a second control instruction is executed, broadcasting a first response result to the central control client equipment; if the second control instruction is not executed, broadcasting a second response result to the central control client device, executing the first control instruction to control the television to be turned on, the lamp to be turned off, the curtain to be opened and the like, obtaining an execution result, wherein the execution result comprises a session identifier, and broadcasting the execution result to the central control client device; the central control client device receives a first response result or a second response result sent by the home control center, receives an execution result broadcasted by the home control center when the request is successful, and then recognizes that the execution result is the execution result corresponding to the first control instruction according to the session identifier in the execution result, and sends a return message aiming at the execution result to the home control center, otherwise, ignores the execution result; after receiving the return message, the home control center clears the session identifier from the local, and if the home control center still does not receive the return message sent by the central control client device after reaching the timeout time, the home control center clears the session identifier from the local.
The above only enumerates several applicable scenarios of the embodiments of the present disclosure, and certainly, the embodiments of the present disclosure are not limited to the scenarios of intelligent vehicle systems, intelligent home systems, and the like, but may also be applied to the scenarios of intelligent internet of things, intelligent classrooms, intelligent offices, and the like, and the present disclosure does not limit the application scenarios of the information interaction method and apparatus, and in practical application, any application scenario applying the method and apparatus of the present disclosure should belong to the protection scope of the present disclosure.
Fig. 6 is a schematic structural diagram of an information interaction device according to a ninth embodiment of the present disclosure, as shown in fig. 6, the device specifically includes: a first receiving module 60, configured to receive a first control instruction from an electronic device, where the first control instruction includes a session identifier, and the session identifier is configured to uniquely identify the first control instruction; an execution module 61, configured to execute the first control instruction and obtain an execution result, where the execution result includes a session identifier corresponding to the first control instruction; the first broadcasting module 62 is configured to broadcast the execution result to the electronic device.
In one embodiment, the apparatus further comprises: and the second broadcasting module is configured to, after the first receiving module 60 receives the first control instruction from the electronic device, broadcast a first response result for the first control instruction to the electronic device when it is determined that there is a second control instruction being executed, where the first response result is used to indicate that execution of the first control instruction is refused, and the first response result includes a session identifier corresponding to the first control instruction.
In one embodiment, the apparatus further comprises: and a third broadcasting module, configured to, after the first receiving module 60 receives the first control instruction from the electronic device, broadcast a second response result for the first control instruction to the electronic device when it is determined that there is no second control instruction being executed, where the second response result is used to indicate that the first control instruction is received successfully, and the second response result includes a session identifier corresponding to the first control instruction.
In one embodiment, the apparatus further comprises: the deleting module is used for locally deleting the session identifier corresponding to the first control instruction when receiving a return message of the electronic equipment aiming at the execution result within the timeout time; and when the timeout time is reached and a return message of the electronic equipment for the execution result is not received, the session identifier corresponding to the first control instruction is also deleted locally.
Fig. 7 is a schematic structural diagram of an information interaction device according to a tenth embodiment of the present disclosure, and as shown in fig. 7, the device specifically includes: a generating module 70, configured to generate a first control instruction, where the first control instruction includes a session identifier, and the session identifier is used to uniquely identify the first control instruction; a transmitting module 71 for transmitting the first control instruction to the control device; a second receiving module 72, configured to receive an execution result broadcasted by the control device; the identifying module 73 is configured to identify whether the execution result is the execution result corresponding to the first control instruction according to the session identifier carried in the execution result.
In one embodiment, the apparatus further comprises: the third receiving module is used for receiving a response result, which is broadcasted by the control equipment and is specific to the received control instruction, and identifying whether the response result is a response result corresponding to the first control instruction according to the session identifier carried in the response result; after receiving the first control instruction, the control device determines that a second control instruction is being executed, and broadcasts a first response result aiming at the first control instruction, wherein the first response result is used for indicating that the first control instruction is refused to be executed, and the first response result comprises a session identifier corresponding to the first control instruction; after receiving the first control instruction, the control equipment determines that a second control instruction which is not being executed is not executed, and broadcasts a second response result aiming at the first control instruction, wherein the second response result is used for indicating that the first control instruction is successfully sent, and the second response result comprises a session identifier corresponding to the first control instruction; correspondingly, when the session identifier carried in the response result is identified as a first response result corresponding to the first control instruction, executing a preset processing strategy corresponding to the first response result; when the second response result corresponding to the second control instruction is identified, waiting for receiving an execution result returned by the control equipment; and discarding the received response result when the response result is identified as the response result which does not correspond to the first control instruction.
In an embodiment, when the identification module 73 determines that the session identifier carried in the execution result is the session identifier corresponding to the first control instruction and identifies that the session identifier is the execution result corresponding to the first control instruction, the sending module 71 is further configured to send a return message for the execution result to the control device; otherwise, the execution result is ignored.
In an embodiment, the first control instruction further includes a timeout time for the control device to identify whether the return message for the execution result is timeout.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 8 illustrates a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
Various components in device 800 are connected to I/O interface 805, including: an input unit 806 such as a keyboard, mouse, etc.; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, or the like. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 801 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as an information interaction method. For example, in some embodiments, an information interaction method may be implemented as a computer software program tangibly embodied on a machine-readable medium, e.g., storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 800 via ROM 802 and/or communication unit 809. When a computer program is loaded into RAM 803 and executed by computing unit 801, one or more steps of one information interaction method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform an information interaction method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (11)

1. An information interaction method, comprising:
receiving a first control instruction from an electronic device, the first control instruction comprising a session identifier, the session identifier being used to uniquely identify the first control instruction;
executing the first control instruction and obtaining an execution result, wherein the execution result comprises a session identifier corresponding to the first control instruction;
broadcasting the execution result to the electronic equipment;
Wherein, after receiving the first control instruction from the electronic device, the method further comprises:
when determining that a second control instruction is being executed, broadcasting a first response result aiming at the first control instruction to the electronic equipment, wherein the first response result is used for indicating that the execution of the first control instruction is refused, and the first response result comprises a session identifier corresponding to the first control instruction;
and when no second control instruction is executed, broadcasting a second response result aiming at the first control instruction to the electronic equipment, wherein the second response result is used for indicating that the first control instruction is successfully received, and the second response result comprises a session identifier corresponding to the first control instruction.
2. The method of claim 1, wherein the first control instruction further comprises a timeout time, after the broadcasting the execution result to the electronic device, the method further comprising:
when receiving a return message of the electronic equipment aiming at the execution result within the timeout time, deleting the session identifier corresponding to the first control instruction locally;
and when the timeout time is reached and a return message of the electronic equipment for the execution result is not received, the session identifier corresponding to the first control instruction is also deleted locally.
3. An information interaction method, comprising:
generating a first control instruction, the first control instruction comprising a session identifier, the session identifier being used to uniquely identify the first control instruction;
transmitting the first control instruction to a control device;
receiving an execution result broadcasted by the control equipment;
identifying whether the execution result is the execution result corresponding to the first control instruction according to the session identifier carried in the execution result;
wherein, after the first control instruction is sent to the control device, the method further comprises:
receiving a response result, which is broadcasted by the control equipment and is specific to the received control instruction, and identifying whether the response result is the response result corresponding to the first control instruction according to a session identifier carried in the response result;
when the control device determines that a second control instruction is executed after receiving the first control instruction, broadcasting a first response result aiming at the first control instruction, wherein the first response result is used for indicating that the first control instruction is refused to be executed, and the first response result comprises a session identifier corresponding to the first control instruction; after the control equipment receives the first control instruction, when no second control instruction is executed, broadcasting a second response result aiming at the first control instruction, wherein the second response result is used for indicating that the first control instruction is successfully sent, and the second response result comprises a session identifier corresponding to the first control instruction;
Correspondingly, when the session identifier carried in the response result is identified as a first response result corresponding to the first control instruction, executing a preset processing strategy corresponding to the first response result; when the second response result corresponding to the first control instruction is identified, waiting for receiving an execution result returned by the control equipment; and discarding the received response result when the response result is identified as not corresponding to the first control instruction.
4. A method according to claim 3, wherein after identifying whether the session identifier is an execution result corresponding to the first control instruction according to the session identifier carried in the execution result, the method includes:
when the session identifier carried in the execution result is determined to be the session identifier corresponding to the first control instruction, identifying the session identifier as the execution result corresponding to the first control instruction, and sending a return message aiming at the execution result to the control equipment; otherwise, the execution result is ignored.
5. The method of claim 4, wherein the first control instruction further comprises a timeout time for the control device to identify whether a return message for the execution result is timeout.
6. An information interaction device, comprising:
a first receiving module, configured to receive a first control instruction from an electronic device, where the first control instruction includes a session identifier, where the session identifier is used to uniquely identify the first control instruction;
the execution module is used for executing the first control instruction and obtaining an execution result, wherein the execution result comprises a session identifier corresponding to the first control instruction;
the first broadcasting module is used for broadcasting the execution result to the electronic equipment;
the second broadcasting module is used for broadcasting a first response result aiming at the first control instruction to the electronic equipment when the second control instruction is determined to be executed, wherein the first response result is used for indicating that the first control instruction is refused to be executed, and the first response result comprises a session identifier corresponding to the first control instruction;
and the third broadcasting module is used for broadcasting a second response result aiming at the first control instruction to the electronic equipment when no second control instruction is executed, wherein the second response result is used for indicating that the first control instruction is successfully received, and the second response result comprises a session identifier corresponding to the first control instruction.
7. An information interaction device, comprising:
the generation module is used for generating a first control instruction, wherein the first control instruction comprises a session identifier, and the session identifier is used for uniquely identifying the first control instruction;
the sending module is used for sending the first control instruction to the control equipment;
the second receiving module is used for receiving the execution result broadcasted by the control equipment;
the identification module is used for identifying whether the first control instruction is an execution result corresponding to the first control instruction according to the session identifier carried in the execution result;
the third receiving module is used for receiving a response result, which is broadcasted by the control equipment and is specific to the received control instruction, and identifying whether the response result is corresponding to the first control instruction or not according to the session identifier carried in the response result;
when the control device determines that a second control instruction is executed after receiving the first control instruction, broadcasting a first response result aiming at the first control instruction, wherein the first response result is used for indicating that the first control instruction is refused to be executed, and the first response result comprises a session identifier corresponding to the first control instruction; after the control equipment receives the first control instruction, when no second control instruction is executed, broadcasting a second response result aiming at the first control instruction, wherein the second response result is used for indicating that the first control instruction is successfully sent, and the second response result comprises a session identifier corresponding to the first control instruction;
Correspondingly, when the session identifier carried in the response result is identified as a first response result corresponding to the first control instruction, executing a preset processing strategy corresponding to the first response result; when the second response result corresponding to the first control instruction is identified, waiting for receiving an execution result returned by the control equipment; and discarding the received response result when the response result is identified as not corresponding to the first control instruction.
8. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-2.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 3-5.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-2.
11. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 3-5.
CN202210732173.7A 2022-06-23 2022-06-23 Information interaction method, device, equipment and storage medium Active CN115208859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210732173.7A CN115208859B (en) 2022-06-23 2022-06-23 Information interaction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210732173.7A CN115208859B (en) 2022-06-23 2022-06-23 Information interaction method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115208859A CN115208859A (en) 2022-10-18
CN115208859B true CN115208859B (en) 2023-12-15

Family

ID=83577875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210732173.7A Active CN115208859B (en) 2022-06-23 2022-06-23 Information interaction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115208859B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109088723A (en) * 2018-10-26 2018-12-25 四川长虹电器股份有限公司 A kind of long-range control method based on MQTT agreement
CN112099968A (en) * 2020-08-26 2020-12-18 珠海格力电器股份有限公司 Equipment control method, device, system, storage medium and electronic device
CN113012695A (en) * 2021-02-18 2021-06-22 北京百度网讯科技有限公司 Intelligent control method and device, electronic equipment and computer readable storage medium
CN113299285A (en) * 2020-02-22 2021-08-24 北京声智科技有限公司 Device control method, device, electronic device and computer-readable storage medium
CN113950803A (en) * 2019-10-18 2022-01-18 Oppo广东移动通信有限公司 Device authority control method, device and storage medium
CN114114933A (en) * 2020-08-31 2022-03-01 Oppo广东移动通信有限公司 Control method, device and equipment of Internet of things equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101850203B1 (en) * 2016-04-11 2018-04-18 라인 가부시키가이샤 Method and system for interworking applications between devices
CN107517238A (en) * 2016-06-17 2017-12-26 阿里巴巴集团控股有限公司 A kind of smart machine control method, device and equipment for Internet of Things
KR102592769B1 (en) * 2018-07-20 2023-10-24 삼성전자주식회사 Electronic device and operating method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109088723A (en) * 2018-10-26 2018-12-25 四川长虹电器股份有限公司 A kind of long-range control method based on MQTT agreement
CN113950803A (en) * 2019-10-18 2022-01-18 Oppo广东移动通信有限公司 Device authority control method, device and storage medium
CN113299285A (en) * 2020-02-22 2021-08-24 北京声智科技有限公司 Device control method, device, electronic device and computer-readable storage medium
CN112099968A (en) * 2020-08-26 2020-12-18 珠海格力电器股份有限公司 Equipment control method, device, system, storage medium and electronic device
CN114114933A (en) * 2020-08-31 2022-03-01 Oppo广东移动通信有限公司 Control method, device and equipment of Internet of things equipment and storage medium
CN113012695A (en) * 2021-02-18 2021-06-22 北京百度网讯科技有限公司 Intelligent control method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN115208859A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN107276864B (en) Method, device and system for controlling household appliances by intelligent voice equipment
US11310730B2 (en) Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
US11417331B2 (en) Method and device for controlling terminal, and computer readable storage medium
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
CN108683574A (en) A kind of apparatus control method, server and intelligent domestic system
WO2017165105A1 (en) Universal internet of things (iot) smart translator
US20150055622A1 (en) Communication method and apparatus for electronic device in mobile communication system
US11792865B2 (en) Device binding method and apparatus, and electronic device
EP3561643A1 (en) Method and terminal for implementing voice control
WO2020168568A1 (en) Data processing method and apparatus, electronic device and readable storage medium
CN112332997A (en) Network distribution method of terminal equipment, terminal equipment and computer readable storage medium
CN112751734A (en) Household appliance control method based on cleaning robot, cleaning robot and chip
CN109412908B (en) Method and equipment for voice display of controllable equipment
CN113012695B (en) Intelligent control method and device, electronic equipment and computer readable storage medium
CN115208859B (en) Information interaction method, device, equipment and storage medium
CN111812987A (en) Terminal device and execution method thereof, and smart home device and execution method thereof
JP2021121564A (en) Elevator control method, device, electronic apparatus, storage medium, and system
WO2023051315A1 (en) Application control method and apparatus, electronic device, and storage medium
WO2020228033A1 (en) Sdk plug-in loading method and apparatus, and mobile terminal and storage medium
CN115309062A (en) Device control method, device, storage medium, and electronic apparatus
CN109426572B (en) Task processing method and device and electronic equipment
CN114006902B (en) Cloud mobile phone restarting method, device, equipment and storage medium
CN114756271B (en) Interface updating method and device and electronic equipment
US20230092759A1 (en) Disable control of a lighting device by a light control device in a query 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
GR01 Patent grant
GR01 Patent grant