WO2022083005A1 - 运行设备基于控制终端的运行方法、电子设备、存储介质 - Google Patents

运行设备基于控制终端的运行方法、电子设备、存储介质 Download PDF

Info

Publication number
WO2022083005A1
WO2022083005A1 PCT/CN2020/141071 CN2020141071W WO2022083005A1 WO 2022083005 A1 WO2022083005 A1 WO 2022083005A1 CN 2020141071 W CN2020141071 W CN 2020141071W WO 2022083005 A1 WO2022083005 A1 WO 2022083005A1
Authority
WO
WIPO (PCT)
Prior art keywords
control terminal
information
server
terminal information
operating
Prior art date
Application number
PCT/CN2020/141071
Other languages
English (en)
French (fr)
Inventor
林羽帆
鲜志雄
Original Assignee
美的集团股份有限公司
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 美的集团股份有限公司 filed Critical 美的集团股份有限公司
Publication of WO2022083005A1 publication Critical patent/WO2022083005A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Definitions

  • the present application relates to the field of communication technologies, and in particular, to an operation method, an electronic device, and a storage medium of an operation device based on a control terminal.
  • a first aspect of the present application provides an operation method for an operation device based on a control terminal.
  • the operation method for an operation device based on a control terminal includes: the control terminal receives a terminal information request broadcast by the operation device; The server sends control terminal information, so that the server sends the control terminal information to the running device, so that the running device runs corresponding functions according to the acquired control terminal information.
  • the terminal information request includes first device information of the operating device; the operating method further includes: the control terminal sends the first device information to the server, and the server sends the first device information to the server according to the first device information. After the device information determines that the control terminal is associated with the operating device, an action of sending the control terminal information to the server is performed.
  • the server stores the second device information of the running device;
  • the control terminal sending the control terminal information to the server includes: the control terminal sending the control terminal information and the first device information to the server , so that the server determines the second device information according to the first device information, and encrypts the control terminal information by using the second device information.
  • the first device information is used to uniquely identify the running device, and includes at least one of the following: running device registration number, running device serial number, running device identity; and/or, the second device information is used for It is used for encryption and decryption, and includes at least one of the following: asymmetric key pair, preset command string.
  • the operating method further includes: determining, by the control terminal, a relative position with the operating device according to the received terminal information request; when the relative position satisfies a preset requirement, executing the first The act of sending device information to the server.
  • phase position between the control terminal and the operating device includes at least one of the following: distance and azimuth.
  • the operating device includes first device information and second device information, and the server stores the second device information; the operating method further includes: the operating device, according to the second device information
  • the control terminal information is decrypted to run corresponding functions according to the decrypted control terminal information; the control terminal information is encrypted by the server using the second device information.
  • the corresponding functions include at least one of the following: storing, switching working modes, adjusting working parameters, and enabling or disabling operation; and/or, the control terminal information includes at least one of the following: operation process, operation status, control terminal identification , Control the relative position of the terminal and the running equipment.
  • a third aspect of the present application provides an operation method for an operation device based on a control terminal.
  • the operation method for an operation device based on a control terminal includes: the operation device and the control terminal are both connected to a server, and the operation method includes: the operation method.
  • the server receives the control terminal information sent by the control terminal, and the control terminal information is sent by the control terminal after receiving the terminal information request broadcast by the operating device; the server sends the control terminal information to the Running the device, so that the running device runs the corresponding function according to the acquired control terminal information.
  • the terminal information request further includes first device information of the operating device
  • the method further includes: receiving, by the server, first device information sent by the control terminal; Verify whether the control terminal and the running device are associated, and send the verification result to the control terminal.
  • a fourth aspect of the present application provides an electronic device, the electronic device includes a mutually coupled memory and a processor, where the processor is configured to execute program instructions stored in the memory, so as to implement the operations described in the first aspect above
  • a fifth aspect of the present application provides a computer-readable storage medium on which program instructions are stored, and when the program instructions are executed by a processor, implement the operation method of the operation device based on the control terminal described in the first aspect above, or implement The operation method of the operation device based on the control terminal described in the second aspect above is implemented, or the operation method of the operation device based on the control terminal described in the third aspect is implemented.
  • Fig. 1 is a schematic diagram of an embodiment of the operating system of the present application based on a control terminal of the operating equipment;
  • FIG. 2 is a schematic diagram of the first embodiment of the operation method of the operation device of the present application based on the control terminal;
  • FIG. 3 is a schematic diagram of a second embodiment of the operating method of the operating device based on the control terminal of the present application;
  • FIG. 5 is a schematic diagram of a fourth embodiment of a method for operating equipment based on a control terminal of the present application
  • FIG. 6 is a schematic diagram of a framework of an embodiment of an electronic device of the present application.
  • FIG. 7 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application.
  • FIG. 1 is a schematic diagram of an embodiment of a control terminal-based operating system of the operating device of the present application.
  • the operating system 100 based on the control terminal includes several operating devices 10 , several control terminals 20 and a server 30 .
  • the operating device 10 and the control terminal 20 are controlled to be connected to the server 30, respectively.
  • the operating device 10 and the control terminal 20 can implement information exchange through a connection method with a clear connection object such as Bluetooth, wireless broadband, wireless network, etc., or through a broadcast and other methods with an unclear connection object, which are not specifically limited here.
  • control terminal 20 includes but is not limited to a mobile terminal with control functions such as a smart phone, a PC (Personal Computer), a PDA (Personal Digital Assistant, a personal digital assistant or a tablet computer), etc., and a mobile terminal that is worn on the limbs or embedded in clothing Wearable devices with control functions in , jewelry, accessories.
  • the control terminal 20 only needs to be able to control the device to run corresponding functions, and the device includes but is not limited to the running device 10 of the present application.
  • the operating device 10 includes, but is not limited to, electronic devices such as air conditioners, water dispensers, lamps, etc.
  • the operating device 10 can be controlled by other terminals, which is not specifically limited here.
  • Fig. 2 is a schematic diagram of the first embodiment of the operation method of the operation device based on the control terminal of the present application.
  • Step S21 the control terminal receives the terminal information request broadcast by the operating device.
  • both the operating device and the control terminal are connected to the server, and the specific connection methods include but are not limited to connection methods such as Bluetooth, wireless broadband, and wireless network.
  • the running device can send the terminal information request by broadcasting, and the number of control terminals that receive the terminal information request is not limited, so the terminal information request of the same running device can be received by several control terminals. There may be several operating devices, and there may also be several control terminals corresponding to each operating device.
  • the terminal information request is actively broadcast and sent by the running device to obtain the control terminal information of the control terminal.
  • Step S22 the control terminal sends the control terminal information to the server, so that the server sends the control terminal information to the running device, so that the running device runs the corresponding function according to the obtained control terminal information.
  • control terminal Since the control terminal is connected to the server, after receiving the terminal information request, the control terminal can send control terminal information to the server connected to the control terminal in response to the terminal information request. Since the server is respectively connected to the running device and the control terminal, the control terminal can send the control terminal information to the running device through the server.
  • the operating device does not directly acquire the control terminal information from the control terminal, but acquires the control terminal through the server, and can run corresponding functions according to the acquired control terminal information.
  • the control terminal information is generated by the control terminal, and the control terminal information includes but is not limited to the information required by the operation device to run the corresponding function, such as the operation process, the operation state, the control terminal identification, and the relative position of the control terminal and the operation device.
  • the running device can run the storage function and store the obtained control terminal information, so that the running device can obtain the control terminal information; the running device can also run any other functions that can be completed by itself according to the obtained control terminal information, For example, switching working modes, adjusting working parameters, turning on or off running functions, etc.
  • the operating device can only run the corresponding function according to one control terminal information, for example, according to the control terminal information of the control terminal with the best relative position between the control terminal and the operating device to realize the operation of the corresponding function; or determine the control terminal information according to the control terminal identifier. Priority, and run the corresponding function according to the control terminal information with higher priority; or select any one control terminal information to run the corresponding function according to the multiple control terminal information.
  • the running device may also run corresponding functions according to a plurality of control terminal information, for example, run different functions for different quantities of control terminal information. Therefore, the control terminal information can be customized according to the actual application, and correspondingly, the functions run by the operating device are not specifically limited.
  • the operating equipment broadcasts the terminal information request, so that the control terminal that can receive the terminal information request within the broadcast range can send the control terminal information to the server, so that all the obtained control terminal information is sent to the server through the server. to running equipment.
  • the control terminal occupies the communication channel of the running device, the control terminal and the running device can only transmit the control terminal information one-to-one, and the controlled running device can only transmit the information of the running device.
  • the running device in this embodiment can actively obtain the control terminal information required for the running function through the server by broadcasting the terminal information request, and the running device can obtain the information of several control terminals, reducing the damage caused by connecting different control terminals multiple times. reduce resource overhead, reduce time loss, and improve user experience. Since the terminal information request received by the control terminal is broadcast by the operating equipment, the control terminal does not need to establish a local connection with the operating equipment during the transmission of the terminal information request, and the terminal information request of the same operating equipment can be received by multiple control terminals. It is also possible to receive terminal information requests from multiple operating devices.
  • the control terminal sends the control terminal information to the running device through the server in response to the terminal information request, so that the control terminal does not need to establish a local connection with the running device during the transmission of the control terminal information. Therefore, the running device does not need to establish a local connection with the control terminal.
  • the control terminal information can be obtained under the following conditions. Compared to when the control terminal and the operating device transmit information by establishing a connection, the control terminal occupies the connection channel during the transmission process, the operating device passively receives the control terminal information, and cannot obtain the control terminal information of other control terminals, the same operating device in this embodiment. Control terminal information of several control terminals can be acquired at the same time. In addition, the running device can actively and continuously broadcast the terminal information request, so as to obtain the control terminal information in real time, and then update the function in real time.
  • the control terminal after receiving the terminal information request broadcast by the operating equipment, the control terminal sends the control terminal information to the server, so that the server sends the control terminal information to the operating equipment, so that the operating equipment runs corresponding functions according to the obtained control terminal information. . Since the terminal information request received by the control terminal is broadcast by the operating equipment, the control terminal does not need to establish a connection with the operating equipment, and the control terminal sends the control terminal information to the operating equipment through the server in response to the terminal information request, and the control terminal does not need to establish a connection with the operating equipment. Therefore, when the running device and the control terminal are not connected, the running device can actively obtain the control terminal information required to run the corresponding function, so as to realize the active intelligent control of the running device.
  • FIG. 3 is a schematic diagram of a second embodiment of a control terminal-based operation method for an operation device of the present application.
  • Step S31 the control terminal receives the terminal information request broadcast by the operating device.
  • the server is connected to the operating device and the control terminal. There is no actual connection relationship between the running device and the control terminal, but the running device enables the control terminal to receive the terminal information request through broadcasting.
  • Step S32 The control terminal determines the relative position with the running device according to the received terminal information request.
  • the relative positions of the control terminal and the operating equipment include, but are not limited to, distance and orientation, which are used to characterize the positional relationship.
  • Step S33 When the relative position meets the preset requirement, the control terminal sends the first device information to the server, so that the server determines whether the control terminal is associated with the running device according to the first device information.
  • the control terminal Since the terminal information request is transmitted by broadcasting, there is no authority restriction on the control terminal, so the control terminal receives the terminal information request, and sends the first device information to the server to verify the association between the running device and the control terminal.
  • the server often receives the first device information frequently. Therefore, in addition to filtering some control terminals by verifying the relationship between the running device and the control terminal, the number of control terminals that control the running device can also be limited by the relative position of the running device and the control terminal. .
  • the control terminal determines the relative position with the operating device according to the received terminal information request; if the relative position meets the preset requirements, it executes the action of sending the first device information to the server, so the control terminal sends the first device information to the server.
  • the control terminals whose relative positions do not meet the preset requirements are screened out.
  • the relative positions of the control terminal and the operating equipment include, but are not limited to, distance and orientation, which are used to characterize the positional relationship.
  • the control terminal may, but is not limited to, determine the relative position with the operating device through the signal strength of the terminal information request.
  • the preset requirements can be customized according to actual application needs. For example, in an application embodiment, the preset requirements are that the distance between the control terminal and the operating device is less than the preset distance, so that the control terminal requests the signal strength according to the received terminal information. The distance to the operating device is determined, and when the distance is less than the preset distance, the control terminal sends the first device information to the server.
  • the control terminal After receiving the terminal information request and before sending the control terminal information to the server, the control terminal can use the server to determine the association relationship between itself and the running device, and the control terminal will execute step S34 only when the control terminal is associated with the running device, thereby Only the control terminal associated with the running device can control the running device, avoiding the control terminal not associated with the running device from controlling the running device, and realizing the authentication of the identity authority of the control terminal.
  • Step S34 After the server determines that the control terminal is associated with the operating device according to the first device information, the control terminal sends the control terminal information and the first device information to the server, so that the server determines the second device information according to the first device information, and uses the second device information to determine the second device information.
  • the device information encrypts the control terminal information, and sends the encrypted control terminal information to the running device through the server, so that the running device runs corresponding functions according to the obtained control terminal information.
  • the running method based on the control terminal of the running device can also filter the control terminals that are not associated with the running device, that is, verify that the sending device is sent to the server.
  • the association relationship between the control terminal of the control terminal information and the running device is excluded, thereby excluding the control terminal that is not associated with the running device from controlling the running device.
  • the terminal information request may further include first device information of the operating device.
  • the first device information includes, but is not limited to, the registration number of the operating device, the serial number of the operating device, the operating device identity, and other information used to uniquely identify the operating device.
  • the control terminal After receiving the terminal information request including the first device information, the control terminal sends the first device information to the server in response to the terminal information request.
  • the action of sending the control terminal information therefore, after receiving the terminal information request and before sending the control terminal information to the server, the control terminal can use the server to determine the association relationship between itself and the operating equipment, only in the case that the control terminal is associated with the operating equipment, Only the control terminal sends the control terminal information to the server, so that the control terminal associated with the running device can control the running device, avoiding the control terminal not associated with the running device from controlling the running device, and realizing the identity verification of the control terminal.
  • the server When the control terminal is connected to the server, the server stores information for uniquely identifying the control terminal, so that the server can determine the unique identifier of the control terminal according to the source of the message. Since the first device information is sent by the control terminal to the server, the server can determine the unique identifier of the control terminal that sends the first device information, and the server can use the first device information to determine the unique identifier of the operating device, thereby determining the operating device and the control terminal. Whether it is associated, if yes, it means that the associated relationship between the operating device and the control terminal is legal, and the control terminal can send control terminal information to the server.
  • the control terminal information may also be encrypted.
  • the operating device includes first device information and second device information.
  • Second device information of the operating device is stored in the server.
  • the second device information includes, but is not limited to, an asymmetric key pair and a preset command string, and the second device information only needs to be able to implement information encryption and decryption, which is not specifically limited here.
  • the control terminal may also send the control terminal information and the first device information to the server, so that the server determines the second device information according to the first device information, and uses the second device information to compare the control terminal information. to encrypt.
  • Both the running device and the server include second device information
  • the server encrypts the control terminal information by using the second device information, and sends the encrypted control terminal information to the running device, so that the running device uses the second device information to encrypt the encrypted data.
  • the control terminal information is decrypted, and only the operating device that stores the second device information can decrypt the control terminal information, thereby improving the security of the control terminal information. Since the first device information is used to uniquely identify the running device, and the second device information is determined according to the first device information, the control terminal information encrypted with the second device information can only include the first device information and the second device information The operating equipment decrypts the information, so that the control terminal and the operating equipment can be uniquely identified.
  • Steps such as encrypting the control terminal information by the device information can be increased or decreased according to the actual application, which is not specifically limited here.
  • FIG. 4 is a schematic diagram of a third embodiment of a control terminal-based operation method for an operation device of the present application.
  • Step S41 The operating device broadcasts a terminal information request.
  • both the operating device and the control terminal are connected to the server, and specific connection methods include but are not limited to connection methods such as wireless broadband and wireless network.
  • connection methods such as wireless broadband and wireless network.
  • the control terminal occupies the communication channel of the running device, the control terminal and the running device can only transmit the control terminal information one-to-one, and the controlled running device can only transmit the information of the running device.
  • the operating device in this embodiment initiates a terminal information request by broadcasting, and can actively broadcast a terminal information request for obtaining control terminal information, and the broadcast terminal information request can be received by several control terminals, which can reduce the number of control terminals. Resource overhead caused by multiple connections to different control terminals, reduce time loss, and improve user experience.
  • Step S42 The operating device receives the control terminal information sent by the server.
  • the control terminal information is sent by the control terminal to the server after receiving the terminal information request.
  • the operating equipment broadcasts the terminal information request, so that the control terminal sends the control terminal information to the server after receiving the terminal information request, and the control terminal can forward the control terminal information to the operating equipment through the server, so that the operating equipment receives the control terminal information.
  • Step S43 The operating device operates a corresponding function according to the acquired control terminal information.
  • the control terminal information includes, but is not limited to, the information required by the operating device to run the corresponding function, such as the operation process, the operating state, the control terminal identification, the relative position of the control terminal and the operating device, and so on. Since the control terminal information can be customized according to the actual application scenario, the functions performed by the operating device according to the control terminal information are not specifically limited.
  • the running device can run a storage function to store the acquired control terminal information, and the running device can also run any other functions that it can perform according to the acquired control terminal information.
  • the running device may run a corresponding function only according to one control terminal information, or may run a corresponding function according to a plurality of control terminal information, and there is no specific limitation on the running device running a corresponding function.
  • the running device After the running device obtains the control terminal information, it can run the corresponding functions. Therefore, compared with the case where the control terminal actively sends the control terminal information to the running device, the control terminal occupies the communication channel of the running device, and the control terminal and the running device only communicate with each other.
  • the control terminal information can be transmitted one-to-one, and the controlled running device is completely in a passive state.
  • the running device can actively obtain the control terminal information required for the running function through the server by broadcasting the terminal information request, and run the device.
  • the device can obtain information of several control terminals, thereby reducing resource overhead caused by multiple connections to different control terminals, reducing time loss, and improving user experience.
  • the control terminal information encrypted with the second device information can only include the first device information and the second device information
  • the operating equipment decrypts the information, so that the control terminal and the operating equipment can be uniquely identified. Through the encryption and decryption of the second device information, the operating device can identify the control terminal in the surrounding environment.
  • the running device can actively and continuously broadcast the terminal information request, so as to obtain the control terminal information in real time, and then update the function in real time.
  • the operation method of the operation device based on the control terminal reference may be made to any of the foregoing embodiments of the operation method of the operation device based on the control terminal, which will not be repeated here.
  • the operating equipment broadcasts the terminal information request, and after the control terminal receives the terminal information request and sends the control terminal information to the server, the operating equipment can receive the control terminal information sent by the server, and run the operation according to the obtained control terminal information.
  • the operating device can actively obtain the control terminal information of the control terminal, and realize active function operation.
  • FIG. 5 is a schematic diagram of a fourth embodiment of an operation method of an operation device based on a control terminal of the present application.
  • Step S51 The server receives the control terminal information sent by the control terminal.
  • the server is connected to the operating device and the control terminal respectively, and the specific connection methods include but are not limited to connection methods such as wireless broadband and wireless network.
  • the control terminal information is sent by the control terminal after receiving the terminal information request broadcast by the running device.
  • the operating device initiates a terminal information request by broadcasting, and does not limit the number of control terminals that receive terminal information requests, so that several control terminals can send control terminal information to the server, so the server can receive the control terminals sent by several control terminals. information.
  • the terminal information request further includes the first device information of the running device, and the server may also The first device information sent by the control terminal is received, so that the server verifies whether the control terminal and the running device are associated according to the first device information, and sends the verification result to the control terminal. If the verification result indicates that the control terminal is associated with the operating device, the control terminal sends the control terminal information to the server, so that when the control terminal is associated with the operating device, the server receives the control terminal information sent by the control terminal to verify the control terminal.
  • Step S52 The server sends the control terminal information to the running device, so that the running device runs the corresponding function according to the acquired control terminal information.
  • the control terminal Since the terminal information request received by the control terminal is broadcast by the operating equipment, the control terminal does not need to establish a local connection with the operating equipment during the transmission of the terminal information request, and the server sends the control terminal information to the operating equipment after receiving the control terminal information sent by the control terminal. Therefore, in the transmission of control terminal information, the control terminal does not need to establish a local connection with the running device. Therefore, the control terminal information sent by the control terminal is not directly sent to the running device, but the control terminal information is forwarded through the server.
  • the operating device includes first device information and second device information, wherein the first device information includes but is not limited to the operating device registration number, the operating device serial number, and the operating device identity.
  • the second device information includes but is not limited to an asymmetric key pair, a preset command string, and the second device information can implement information encryption and decryption, which is not specifically limited here. .
  • the server After receiving the control terminal information and the first device information sent by the control terminal, the server can determine the second device information according to the first device information, and use the second device information to encrypt the control terminal information, so that the operating device can use the second device information to encrypt the control terminal information Decrypt the encrypted control terminal information, and run corresponding functions according to the decrypted control terminal information.
  • the server After receiving the control terminal information sent by the control terminal, the server sends the control terminal information to the running device, so that the running device runs the corresponding function according to the obtained control terminal information.
  • the operating device After the terminal information request broadcast by the operating device is sent, the operating device can actively obtain the control terminal information to realize intelligent operation.
  • the operating device is a water drinker
  • the first device information of the water drinker is a water drinker identifier
  • the second device information is an asymmetric key.
  • the control terminal is a wearable device. Both the drinking fountain and the wearable are connected to the server. The drinking fountain can run a temperature adjustment function, so as to adjust the drinking water of the drinking fountain to the temperature corresponding to the user according to the user corresponding to different wearable devices.
  • the water dispenser broadcasts a terminal information request
  • the wearable device A, wearable device B, wearable device C, and wearable device D can all receive the terminal information request broadcast by the water dispenser.
  • the wearable device can determine the relative position with the water dispenser according to the received terminal information request, and only when the relative position meets the preset requirements, the water dispenser identification is sent to the server, so that the server can determine the wearable device and the water dispenser. association relationship.
  • the relative position is the distance
  • the preset requirement is that the distance between the wearable device and the water dispenser is less than the preset distance, so that the wearable device A, the wearable device B, the wearable device C, and the wearable device D can
  • the signal strength of the terminal information request determines the distance from the drinking fountain. Only the distance between the wearable device B, the wearable device C, and the wearable device D and the drinking fountain is less than the preset distance. Wearable device A whose distance of the drinking fountain is greater than the preset distance controls the drinking fountain.
  • the server determines whether the wearable device B, the wearable device C, and the wearable device D are related to the water drinker according to the identifier of the water drinker. Association, only the wearable device B and the wearable device C are associated with the water drinker, so that the wearable device D that is not associated with the water drinker can be excluded. Although the relative position of the wearable device D and the drinking fountain meets the preset requirements, the wearable device D is not associated with the drinking fountain, so the drinking fountain cannot be controlled to adjust the temperature of drinking water.
  • the wearable device B and the wearable device C respectively send the control terminal information and the identification of the drinking fountain to the server, so that the server can make the server according to the drinking fountain.
  • the identification determines the asymmetric key, and uses the asymmetric key to encrypt the control terminal information.
  • the server sends the encrypted control terminal information to the drinking fountain corresponding to the identifier of the drinking fountain, so that the drinking fountain adjusts the drinking water of the drinking fountain to the temperature corresponding to the user according to any obtained control terminal information.
  • the control terminal information may also include the distance between the wearable device and the drinking fountain, so that in the case where both the wearable device B and the wearable device C send the control terminal information to the drinking fountain through the server, the drinking fountain adjusts the drinking water to be the same as the drinking water.
  • the drinking fountain can adjust the drinking water of the drinking fountain to the temperature corresponding to the user according to the users corresponding to different wearable devices by actively broadcasting the terminal information request.
  • the operating device can simultaneously operate corresponding functions based on information from multiple control terminals.
  • the operating device can be an air conditioner, and the air conditioner is receiving After several pieces of control terminal information are obtained, the air conditioner temperature is adjusted to different preset temperatures for different quantities of control terminal information.
  • FIG. 6 is a schematic diagram of a framework of an embodiment of an electronic device 60 of the present application.
  • the electronic device 60 includes a memory 61 and a processor 62 coupled to each other, and the processor 62 is configured to execute the program instructions stored in the memory 61 to implement the steps of any of the above-mentioned embodiments of the operation method of the operation device based on the control terminal.
  • the electronic device 60 may include, but is not limited to, a microcomputer and a server.
  • the electronic device 60 may also include mobile devices such as a notebook computer and a tablet computer, which are not limited herein.
  • the processor 62 is configured to control itself and the memory 61 to implement the steps of any of the above-mentioned embodiments of the operation method of the operation device based on the control terminal.
  • the processor 62 may also be referred to as a CPU (Central Processing Unit, central processing unit).
  • the processor 62 may be an integrated circuit chip with signal processing capability.
  • the processor 62 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field-Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the processor 62 may be jointly implemented by an integrated circuit chip.
  • FIG. 7 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium 70 of the present application.
  • the computer-readable storage medium 70 stores program instructions 701 that can be executed by the processor, and the program instructions 701 are used to implement the steps of any of the foregoing embodiments of the operation method for an operation device based on a control terminal.
  • the functions or modules included in the apparatuses provided in the embodiments of the present disclosure may be used to execute the methods described in the above method embodiments.
  • the disclosed method and apparatus may be implemented in other manners.
  • the device implementations described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other divisions.
  • units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

本申请公开了一种运行设备基于控制终端的运行方法、电子设备、存储介质,该运行设备基于控制终端的运行方法包括:控制终端接收运行设备广播的终端信息请求;控制终端向服务器发送控制终端信息,以通过服务器将控制终端信息发送至运行设备,使得运行设备根据所获取到的控制终端信息运行相应的功能。上述方案,运行设备能够主动获取控制终端的控制终端信息,主动的实现智能运行。

Description

运行设备基于控制终端的运行方法、电子设备、存储介质 【技术领域】
本申请涉及通信技术领域,特别是涉及一种运行设备基于控制终端的运行方法、电子设备、存储介质。
【背景技术】
一般地,电子设备往往需要接收人为控制来满足人们的功能需求,对人的依赖性极大。例如,对于空调、饮水器等电子设备,往往需要人为调整温度以满足不同的温度需求。随着通信技术的不断发展,越来越多的电子设备为了能够满足人们的智能控制需求,可以被控制终端控制,但通常是控制终端主动发送控制指令给被控制的电子设备,而被控制的电子设备完全处于被动状态。
【发明内容】
本申请提供一种运行设备基于控制终端的运行方法、电子设备、存储介质,可实现运行设备的主动智能运行。
本申请第一方面提供了运行设备基于控制终端的运行方法,所述运行设备基于控制终端的运行方法包括:所述控制终端接收所述运行设备广播的终端信息请求;所述控制终端向所述服务器发送控制终端信息,以通过所述服务器将所述控制终端信息发送至所述运行设备,使得所述运行设备根据所获取到的控制终端信息运行相应的功能。
其中,所述终端信息请求包括所述运行设备的第一设备信息;所述运行方法还包括:所述控制终端将所述第一设备信息发送至所述服务器,在所述服务器根据所述第一设备信息确定所述控制终端与所述运行设备关联后,执行向所述服务器发送控制终端信息的动作。
其中,所述服务器中存储有所述运行设备的第二设备信息;所述控制终端向所述服务器发送控制终端信息,包括:所述控制终端向所述服务器发送控制终端信息和第一设备信息,以使得所述服务器根据所述第一设备信息确定所述第二设备信息,并利用所述第二设备信息对所述控制终端信息进行加密。
其中,所述第一设备信息用于唯一标识所述运行设备,且包括以下至少一 种:运行设备注册号、运行设备序列号、运行设备身份标识;和/或,所述第二设备信息用于加密和解密,且包括以下至少一种:非对称密钥对、预设命令字符串。
其中,所述运行方法还包括:所述控制终端根据所接收到的终端信息请求确定与所述运行设备的相对位置;在所述相对位置满足预设要求的情况下,执行将所述第一设备信息发送至所述服务器的动作。
其中,所述控制终端与所述运行设备的相位位置包括以下至少一种:距离、方位。
其中,所述控制终端与所述运行设备的相位位置为距离;所述预设要求为所述控制终端与所述运行设备的距离小于预设距离;所述控制终端根据所接收到的终端信息请求确定与所述运行设备的相对位置包括:所述控制终端根据所接收到的终端信息请求的信号强度确定与所述运行设备的所述距离;在所述距离小于所述预设距离的情况下,执行将所述第一设备信息发送至所述服务器的动作。
本申请第二方面提供了一种运行设备基于控制终端的运行方法,运行设备基于控制终端的运行方法包括:所述运行设备广播终端信息请求;所述运行设备接收所述服务器发送的控制终端信息,所述控制终端信息由所述控制终端在接收到终端信息请求后向所述服务器发出的;所述运行设备根据所获取到的控制终端信息运行相应的功能。
其中,所述运行设备包括第一设备信息和第二设备信息,所述服务器存储有所述第二设备信息;所述运行方法还包括:所述运行设备根据所述第二设备信息对所述控制终端信息进行解密,以根据解密后的控制终端信息运行相应的功能;所述控制终端信息由所述服务器利用所述第二设备信息实现加密。
其中,所述相应的功能包括以下至少一种:存储、切换工作模式、调整工作参数、打开或关闭运行;和/或,控制终端信息包括以下至少一种:操作流程、操作状态、控制终端标识、控制终端与运行设备的相对位置。
本申请第三方面提供了一种运行设备基于控制终端的运行方法,运行设备基于控制终端的运行方法包括:所述运行设备和所述控制终端均连接于服务器,所述运行方法包括:所述服务器接收所述控制终端发送的控制终端信息,所述控制终端信息为所述控制终端在接收到所述运行设备广播的终端信息请求后发出;所述服务器将所述控制终端信息发送至所述运行设备,使得所述运行设备 根据所获取到的控制终端信息运行相应的功能。
其中,所述终端信息请求还包括所述运行设备的第一设备信息,所述方法还包括:所述服务器接收所述控制终端发送的第一设备信息;所述服务器根据所述第一设备信息验证所述控制终端和所述运行设备是否关联,并将验证结果发送至所述控制终端。
其中,所述服务器存储有所述第二设备信息;所述运行方法还包括:所述服务器接收所述控制终端发送的所述控制终端信息和第一设备信息;所述服务器根据所述第一设备信息确定所述第二设备信息,并利用所述第二设备信息对所述控制终端信息进行加密。
本申请第四方面提供了一种电子设备,该电子设备包括相互耦接的存储器和处理器,所述处理器用于执行所述存储器中存储的程序指令,以实现上述第一方面所述的运行设备基于控制终端的运行方法,或实现上述第二方面所述的运行设备基于控制终端的运行方法,或实现上述第三方面所述的运行设备基于控制终端的运行方法。
本申请第五方面提供了一种计算机可读存储介质,其上存储有程序指令,所述程序指令被处理器执行时实现上述第一方面所述的运行设备基于控制终端的运行方法,或实现上述第二方面所述的运行设备基于控制终端的运行方法,或实现上述第三方面所述的运行设备基于控制终端的运行方法。
上述方案中,控制终端接收所述运行设备广播的终端信息请求后,向所述服务器发送控制终端信息,以通过所述服务器将所述控制终端信息发送至所述运行设备,使得所述运行设备根据所获取到的控制终端信息运行相应的功能。由于控制终端接收的终端信息请求是运行设备广播的,控制终端无需与运行设备建立连接,并且控制终端响应于终端信息请求通过服务器将控制终端信息发送给运行设备,控制终端也无需与运行设备建立连接,因此在运行设备与控制终端非连接状态下,运行设备可主动获取到运行相应的功能所需的控制终端信息,实现运行设备的主动智能控制。
【附图说明】
图1是本申请运行设备基于控制终端的运行系统一实施例的示意图;
图2是本申请运行设备基于控制终端的运行方法第一实施例的示意图;
图3是本申请运行设备基于控制终端的运行方法第二实施例的示意图;
图4是本申请运行设备基于控制终端的运行方法第三实施例的示意图;
图5是本申请运行设备基于控制终端的运行方法第四实施例的示意图;
图6是本申请电子设备一实施例的框架示意图;
图7是本申请计算机可读存储介质一实施例的框架示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
【具体实施方式】
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。本文中术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。本文中“若干”表示一个或者多个,“多”表示两个或者多于两个。
请参阅图1,图1是本申请运行设备基于控制终端的运行系统一实施例的示意图。
运行设备基于控制终端的运行系统100包括若干个运行设备10、若干个控制终端20以及服务器30。运行设备10和控制终端20控制分别与服务器30连接。运行设备10与控制终端20可以通过蓝牙、无线宽带、无线网等连接对象明确的连接方式实现信息交互,也可以通过广播等连接对象不明确的方式实现信息交互,在此不作具体限定。其中,控制终端20包括但不限于智能手机、PC(Personal Computer,个人计算机)、PDA(Personal Digital Assistant,个人数字助理或平板电脑)等具有控制功能的移动终端,以及佩戴于肢体或者嵌入于衣物、首饰、配件中的具有控制功能的可穿戴设备。控制终端20能够控制设备运行相应功能即可,该设备包括但不限于本申请的运行设备10。运行设备10包括但不限于空调、饮水器、灯等电子设备,该运行设备10能够被其他终端控制即可,在此不作具体限定。
请参阅图2,图2是本申请运行设备基于控制终端的运行方法第一实施例的 示意图。
步骤S21:控制终端接收运行设备广播的终端信息请求。
本实施例中,运行设备和控制终端均连接于服务器,具体连接方式包括但不限于蓝牙、无线宽带、无线网等连接方式。
运行设备可以通过广播的方式将终端信息请求发出,并不限定接收终端信息请求的控制终端的数量,从而同一运行设备的终端信息请求可以被若干个控制终端接收。运行设备可以为若干个,且与每个运行设备对应的控制终端也可以为若干个。
终端信息请求由运行设备主动广播发出,用于获取控制终端的控制终端信息。
步骤S22:控制终端向服务器发送控制终端信息,以通过服务器将控制终端信息发送至运行设备,使得运行设备根据所获取到的控制终端信息运行相应的功能。
由于控制终端连接于服务器,因此控制终端接收到终端信息请求后,可以响应于终端信息请求,向与其连接的服务器发送控制终端信息。由于服务器分别连接于运行设备和控制终端,因此,控制终端可以通过服务器将控制终端信息发送至运行设备。运行设备并非直接从控制终端获取控制终端信息,而是通过服务器获取到控制终端,并且可以根据所获取到的控制终端信息运行相应的功能。
控制终端信息由控制终端生成,该控制终端信息包括但不限于操作流程、操作状态、控制终端标识、控制终端与运行设备的相对位置等运行设备运行相应的功能所需的信息。运行设备可以运行存储功能,将所获取到的控制终端信息进行存储,从而运行设备获取到控制终端信息即可;运行设备也可以根据所获取到的控制终端信息运行自身能够完成的其余任何功能,例如切换工作模式、调整工作参数、打开或关闭运行的功能等。运行设备可以仅根据一个控制终端信息运行相应的功能,例如,根据控制终端与运行设备的相对位置最佳的控制终端的控制终端信息实现相应功能的运行;或者根据控制终端标识确定控制终端信息的优先级,并根据优先级高的控制终端信息运行相应的功能;或者根据多个控制终端信息中选择任意一个控制终端信息运行相应的功能。运行设备也可以根据多个控制终端信息运行相应的功能,例如针对不同数量的控制终端信息运行不同的功能。因此控制终端信息可以根据实际应用进行自定义设置,相 应地,运行设备所运行的功能也不作具体限定。
为了能够主动获取到控制终端信息,运行设备广播终端信息请求,使得在广播范围内能够接收到终端信息请求的控制终端均可以向服务器发送控制终端信息,从而通过服务器将获取的所有控制终端信息发送给运行设备。相较于控制终端主动将控制终端信息发送给运行设备的情况下,控制终端占用运行设备的通信通道,控制终端与运行设备只能一对一进行控制终端信息的传输,并且被控制的运行设备完全处于被动状态,本实施例运行设备通过广播终端信息请求,可以主动通过服务器获取到运行功能所需的控制终端信息,并且运行设备可以获取若干个控制终端信息,减少多次连接不同控制终端造成的资源开销、减少时间损耗,提高用户体验。由于控制终端接收的终端信息请求是运行设备广播的,从而终端信息请求的传输中,控制终端无需与运行设备建立本地连接,同一运行设备的终端信息请求可以被多个控制终端接收,同一控制终端也可以接收多个运行设备的终端信息请求。控制终端响应于终端信息请求通过服务器将控制终端信息发送给运行设备,从而控制终端信息的传输中,控制终端也无需与运行设备建立本地连接,因此,运行设备无需与控制终端建立本地连接的情况下即可实现控制终端信息的获取。相较于控制终端与运行设备通过建立连接进行信息传输时,传输过程中控制终端占用连接通道,运行设备被动接收控制终端信息,且无法获取其他控制终端的控制终端信息,本实施例同一运行设备可以同时获取若干个控制终端的控制终端信息。另外,运行设备可以主动地、持续地广播终端信息请求,从而实时获取控制终端信息,进而实时更新功能。
上述方案中,控制终端接收运行设备广播的终端信息请求后,向服务器发送控制终端信息,以通过服务器将控制终端信息发送至运行设备,使得运行设备根据所获取到的控制终端信息运行相应的功能。由于控制终端接收的终端信息请求是运行设备广播的,控制终端无需与运行设备建立连接,并且控制终端响应于终端信息请求通过服务器将控制终端信息发送给运行设备,控制终端也无需与运行设备建立连接,因此在运行设备与控制终端非连接状态下,运行设备可主动获取到运行相应的功能所需的控制终端信息,实现运行设备的主动智能控制。
为了避免运行设备可以受到任意控制终端的控制而频繁进行功能运行,运行设备基于控制终端的运行方法还可以过滤与运行设备无关联的控制终端,或者为了提高控制终端信息在传输过程中的安全性,还可以对控制终端信息进行 加密。请参阅图3,图3是本申请运行设备基于控制终端的运行方法第二实施例的示意图。
步骤S31:控制终端接收运行设备广播的终端信息请求。
本实施例中,服务器与运行设备、控制终端相连。运行设备与控制终端并不存在实际连接关系,而是运行设备通过广播的方式使得控制终端接收到终端信息请求。
步骤S32:控制终端根据所接收到的终端信息请求确定与运行设备的相对位置。
控制终端与运行设备的相对位置包括但不限于距离、方位用于表征位置关系的信息。
步骤S33:在相对位置满足预设要求的情况下,控制终端将第一设备信息发送至服务器,以使服务器根据第一设备信息确定控制终端与运行设备是否关联。
由于终端信息请求是通过广播的方式传输的,并未对控制终端做任何权限限制,从而控制终端接收到终端信息请求,则将第一设备信息发送给服务器验证运行设备与控制终端的关联关系,服务器往往频繁接收到第一设备信息,因此,除了通过验证运行设备与控制终端的关联关系过滤部分控制终端外,还可以通过运行设备与控制终端的相对位置限制对运行设备进行控制的控制终端数量。具体地,控制终端根据所接收到的终端信息请求确定与运行设备的相对位置;在相对位置满足预设要求的情况下,执行将第一设备信息发送至服务器的动作,因此在控制终端将第一设备信息发送给服务器之前,筛除相对位置不满足预设要求的控制终端。控制终端与运行设备的相对位置包括但不限于距离、方位用于表征位置关系的信息。控制终端可以但不限于通过终端信息请求的信号强度确定与运行设备的相对位置。预设要求可以根据实际应用需要进行自定义设置,例如一应用实施例中,预设要求为控制终端与运行设备的距离小于预设距离,从而控制终端根据所接收到的终端信息请求的信号强度确定与运行设备的距离,在距离小于预设距离的情况下,控制终端将第一设备信息发送至服务器。
控制终端在接收终端信息请求之后、向服务器发送控制终端信息之前,可以利用服务器确定自身与运行设备的关联关系,仅在控制终端与运行设备关联的情况下,控制终端才会执行步骤S34,从而与运行设备存在关联的控制终端才能控制运行设备,避免与运行设备无关联的控制终端对运行设备进行控制,实 现控制终端的身份权限验证。
步骤S34:在服务器根据第一设备信息确定控制终端与运行设备关联后,控制终端向服务器发送控制终端信息和第一设备信息,以使得服务器根据第一设备信息确定第二设备信息,利用第二设备信息对控制终端信息进行加密,并通过服务器将加密后的控制终端信息发送至运行设备,使得运行设备根据所获取到的控制终端信息运行相应的功能。
在本实施例中,为了避免运行设备可以受到任意控制终端的控制而频繁进行功能运行,运行设备基于控制终端的运行方法还可以过滤与运行设备无关联的控制终端,也即是验证向服务器发送控制终端信息的控制终端与运行设备的关联关系,从而排除与运行设备无关联的控制终端对运行设备的控制。本实施例中,终端信息请求还可以包括运行设备的第一设备信息。第一设备信息包括但不限于运行设备注册号、运行设备序列号、运行设备身份标识等用于唯一标识运行设备的信息。
控制终端接收到包括第一设备信息的终端信息请求后,响应于终端信息请求,将第一设备信息发送至服务器,在服务器根据第一设备信息确定控制终端与运行设备关联后,则执行向服务器发送控制终端信息的动作,因此,控制终端在接收终端信息请求之后、向服务器发送控制终端信息之前,可以利用服务器确定自身与运行设备的关联关系,仅在控制终端与运行设备关联的情况下,控制终端才会将控制终端信息发送至服务器,从而与运行设备存在关联的控制终端才能控制运行设备,避免与运行设备无关联的控制终端对运行设备进行控制,实现控制终端的身份验证。在控制终端连接于服务器时,服务器存储有用于唯一标识控制终端的信息,从而服务器能够根据消息来源确定控制终端的唯一标识。由于第一设备信息是控制终端发送给服务器的,服务器能够确定发送第一设备信息的控制终端的唯一标识,并且服务器能够利用第一设备信息确定运行设备的唯一标识,从而判断运行设备与控制终端是否关联,若是,则表示运行设备与控制终端关联关系合法,控制终端可以向服务器发送控制终端信息。
为了提高控制终端信息在传输过程中的安全性,还可以对控制终端信息进行加密。本实施例中,运行设备包括第一设备信息和第二设备信息。服务器中存储有运行设备的第二设备信息。第二设备信息包括但不限于为非对称密钥对、预设命令字符串,该第二设备信息能够实现信息加密和解密即可,在此不作具体限定。控制终端向服务器发送控制终端信息时,控制终端还可以向服务器发 送控制终端信息和第一设备信息,以使得服务器根据第一设备信息确定第二设备信息,并利用第二设备信息对控制终端信息进行加密。运行设备和服务器均包括有第二设备信息,服务器利用第二设备信息对控制终端信息进行加密,并将加密后的控制终端信息发送至运行设备,从而运行设备利用第二设备信息对加密后的控制终端信息进行解密,仅存储有第二设备信息的运行设备能够解密控制终端信息,从而提高控制终端信息的安全性。由于第一设备信息用于唯一标识运行设备,并且第二设备信息是根据第一设备信息确定的,因此,利用第二设备信息加密的控制终端信息仅能够被包括第一设备信息和第二设备信息的运行设备解密,使得控制终端与运行设备能够唯一识别。
可以理解的,控制终端是否利用运行设备与控制终端的相对位置控制限制控制终端向服务器发送第一设备信息、是否通过服务器利用第一设备信息确定运行设备与控制终端的关联、是否通过服务器利用第二设备信息对控制终端信息进行加密等步骤,均可以根据实际应用增减,在此不作具体限定。
与上述执行本申请运行设备基于控制终端的运行方法的主体为控制终端不同,执行本申请运行设备基于控制终端的运行方法的主体还可以为运行设备。请参阅图4,图4是本申请运行设备基于控制终端的运行方法第三实施例的示意图。
步骤S41:运行设备广播终端信息请求。
本实施例中,运行设备和控制终端均连接于服务器,具体连接方式包括但不限于无线宽带、无线网等连接方式。相较于控制终端主动将控制终端信息发送给运行设备的情况下,控制终端占用运行设备的通信通道,控制终端与运行设备只能一对一进行控制终端信息的传输,并且被控制的运行设备完全处于被动状态,本实施例运行设备通过广播的方式发起终端信息请求,可以主动广播用于获取控制终端信息的终端信息请求,并且广播的终端信息请求可以被若干个控制终端所接收,可减少多次连接不同控制终端造成的资源开销、减少时间损耗,提高用户体验。
步骤S42:运行设备接收服务器发送的控制终端信息。
控制终端信息由控制终端在接收到终端信息请求后向服务器发出的。运行设备广播终端信息请求,以使控制终端接收到终端信息请求后向服务器发送控制终端信息,并且控制终端可以通过服务器转发控制终端信息至运行设备,从而运行设备接收到控制终端信息。
步骤S43:运行设备根据所获取到的控制终端信息运行相应的功能。
控制终端信息包括但不限于操作流程、操作状态、控制终端标识、控制终端与运行设备的相对位置等运行设备运行相应的功能所需的信息。由于控制终端信息可以根据实际应用场景进行自定义设置,因此运行设备根据控制终端信息所运行的功能不作具体限定。例如,运行设备可以运行存储功能,将所获取到的控制终端信息进行存储,运行设备也可以根据所获取到的控制终端信息运行自身能够完成的其余任何功能。运行设备可以仅根据一个控制终端信息运行相应的功能,也可以根据多个控制终端信息运行相应的功能,对运行设备运行相应的功能不作具体限定。
运行设备获取到控制终端信息后,即可运行相应的功能,因此相较于控制终端主动将控制终端信息发送给运行设备的情况下,控制终端占用运行设备的通信通道,控制终端与运行设备只能一对一进行控制终端信息的传输,并且被控制的运行设备完全处于被动状态,本实施例运行设备通过广播终端信息请求,可以主动通过服务器获取到运行功能所需的控制终端信息,并且运行设备可以获取若干个控制终端信息,减少多次连接不同控制终端造成的资源开销、减少时间损耗,提高用户体验。
为了提高控制终端信息在传输过程中的安全性,服务器可以对控制终端信息进行加密,而运行设备可以获取加密后的控制终端信息。本实施例中,服务器存储有第二设备信息,服务器可以利用第二设备信息加密控制终端信息。运行设备和服务器均包括有第二设备信息,服务器利用第二设备信息对控制终端信息进行加密,并将加密后的控制终端信息发送至运行设备,从而运行设备利用第二设备信息对加密后的控制终端信息进行解密,仅存储有第二设备信息的运行设备能够解密控制终端信息,从而提高控制终端信息的安全性。由于第一设备信息用于唯一标识运行设备,并且第二设备信息是根据第一设备信息确定的,因此,利用第二设备信息加密的控制终端信息仅能够被包括第一设备信息和第二设备信息的运行设备解密,使得控制终端与运行设备能够唯一识别。通过第二设备信息的加密和解密,使得运行设备可以识别周围环境中的控制终端。
运行设备可以主动地、持续地广播终端信息请求,从而实时获取控制终端信息,进而实时更新功能。其余有关运行设备基于控制终端的运行方法的描述可参阅上述任一运行设备基于控制终端的运行方法实施例,在此不再赘述。
通过上述方式,运行设备广播终端信息请求,在控制终端接收到终端信息 请求而向服务器发出控制终端信息后,运行设备即可接收服务器发送的控制终端信息,并根据所获取到的控制终端信息运行相应的功能,从而运行设备可以主动获取控制终端的控制终端信息,实现主动的功能运行。
与上述执行本申请运行设备基于控制终端的运行方法的主体为控制终端或运行设备不同,执行本申请运行设备基于控制终端的运行方法的主体还可以为服务器。请参阅图5,图5是本申请运行设备基于控制终端的运行方法第四实施例的示意图。
步骤S51:服务器接收控制终端发送的控制终端信息。
本实施例中,服务器分别与运行设备、控制终端连接,具体连接方式包括但不限于无线宽带、无线网等连接方式。
控制终端信息为控制终端在接收到运行设备广播的终端信息请求后发出。运行设备通过广播的方式发起终端信息请求,并不限制接收终端信息请求的控制终端的数量,从而若干个控制终端均可以向服务器发送控制终端信息,因此服务器可以接收若干个控制终端发送的控制终端信息。
在一实施例中,为了确定控制终端与运行设备之间的关联关系,排除与运行设备无关联的控制终端对运行设备的控制,终端信息请求还包括运行设备的第一设备信息,服务器还可以接收控制终端发送的第一设备信息,从而服务器根据第一设备信息验证控制终端和运行设备是否关联,并将验证结果发送至控制终端。若验证结果表征控制终端与运行设备关联,则控制终端发送控制终端信息至服务器,以便在控制终端和运行设备关联的情况下,服务器接收控制终端发送的控制终端信息,实现对控制终端的验证。
步骤S52:服务器将控制终端信息发送至运行设备,使得运行设备根据所获取到的控制终端信息运行相应的功能。
由于控制终端接收的终端信息请求是运行设备广播的,从而终端信息请求的传输中,控制终端无需与运行设备建立本地连接,并且服务器接收控制终端发送的控制终端信息后将控制终端信息发送给运行设备,从而控制终端信息的传输中,控制终端也无需与运行设备建立本地连接,因此,控制终端发出的控制终端信息并非直接发送至运行设备,而是通过服务器转发控制终端信息即可。为了提高控制终端信息在传输过程中的安全性,运行设备包括第一设备信息和第二设备信息,其中,第一设备信息包括但不限于运行设备注册号、运行设备序列号、运行设备身份标识等用于唯一标识运行设备的信息;第二设备信息包 括但不限于为非对称密钥对、预设命令字符串,该第二设备信息能够实现信息加密和解密即可,在此不作具体限定。服务器可以接收控制终端发送的控制终端信息和第一设备信息后,根据第一设备信息确定第二设备信息,并利用第二设备信息对控制终端信息进行加密,以使运行设备根据第二设备信息对加密后的控制终端信息进行解密,并根据解密后的控制终端信息运行相应的功能。
其余有关运行设备基于控制终端的运行方法的描述可参阅上述任一运行设备基于控制终端的运行方法实施例,在此不再赘述。
通过上述方式,服务器接收控制终端发送的控制终端信息后,将控制终端信息发送至运行设备,使得运行设备根据所获取到的控制终端信息运行相应的功能,由于控制终端信息为控制终端在接收到运行设备广播的终端信息请求后发出,因此运行设备可以主动获取到控制终端信息而实现智能运行。
为了便于理解本申请方案,下面结合一具体例子进行说明:
在一应用实施例中,运行设备为饮水器,且该饮水器的第一设备信息为饮水器标识,第二设备信息为非对称密钥。控制终端为可穿戴设备。饮水器和可穿戴设备均与服务器连接。饮水器可以运行温度调整功能,从而根据不同可穿戴设备对应的用户,将饮水器的饮用水调整为与用户对应的温度。
饮水器广播终端信息请求,可穿戴设备A、可穿戴设备B、可穿戴设备C、可穿戴设备D均可以接收到饮水器广播的终端信息请求。可穿戴设备可以根据所接收到的终端信息请求确定与饮水器的相对位置,且在相对位置满足预设要求的情况下,才将饮水器标识发送至服务器,以便服务器判断可穿戴设备与饮水器的关联关系。例如,相对位置为距离,预设要求为可穿戴设备与饮水器的距离小于预设距离,从而可穿戴设备A、可穿戴设备B、可穿戴设备C、可穿戴设备D可以根据所接收到的终端信息请求的信号强度确定与饮水器的距离,仅可穿戴设备B、可穿戴设备C、可穿戴设备D与饮水器的距离小于预设距离,将饮水器的标识发送至服务器,而排除与饮水器的距离大于预设距离的可穿戴设备A对饮水器的控制。
在可穿戴设备B、可穿戴设备C、可穿戴设备D将饮水器的标识发送至服务器后,服务器根据饮水器的标识确定可穿戴设备B、可穿戴设备C、可穿戴设备D是否与饮水器关联,仅可穿戴设备B、可穿戴设备C与饮水器关联,从而可将与饮水器无关联可穿戴设备D排除。虽然可穿戴设备D与饮水器的相对位置满足预设要求,但可穿戴设备D与饮水器无关联,因此无法控制饮水器调整 饮用水的温度。
通过饮水器的标识确定可穿戴设备B和可穿戴设备C与饮水器的关联后,可穿戴设备B和可穿戴设备C分别向服务器发送控制终端信息和饮水器的标识,以使得服务器根据饮水器标识确定非对称密钥,并利用非对称密钥对控制终端信息进行加密。服务器将加密后的控制终端信息发送给与饮水器的标识对应的饮水器,使得饮水器根据所获取到的任意一控制终端信息将饮水器的饮用水调整为与用户对应的温度。控制终端信息还可以包括可穿戴设备与饮水器的距离,从而在可穿戴设备B和可穿戴设备C均通过服务器将控制终端信息发送至饮水器的情况下,饮水器将饮用水调整为与饮水器距离较近的可穿戴设备用户所对应的温度。通过上述方式,饮水器通过主动广播终端信息请求,从而根据不同可穿戴设备对应的用户,将饮水器的饮用水调整为与用户对应的温度。
与饮水器仅根据一个控制终端信息运行温度调整功能不同,在另一应用实施例中,运行设备可以同时根据多个控制终端信息运行相应的功能,例如,运行设备可以为空调,且空调在接收到若干个控制终端信息后,针对控制终端信息的不同数量调整空调温度至不同预设温度。
请参阅图6,图6是本申请电子设备60一实施例的框架示意图。电子设备60包括相互耦接的存储器61和处理器62,处理器62用于执行存储器61中存储的程序指令,以实现上述任一运行设备基于控制终端的运行方法实施例的步骤。在一个具体的实施场景中,电子设备60可以包括但不限于:微型计算机、服务器,此外,电子设备60还可以包括笔记本电脑、平板电脑等移动设备,在此不做限定。
具体而言,处理器62用于控制其自身以及存储器61以实现上述任一运行设备基于控制终端的运行方法实施例的步骤。处理器62还可以称为CPU(Central Processing Unit,中央处理单元)。处理器62可能是一种集成电路芯片,具有信号的处理能力。处理器62还可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。另外,处理器62可以由集成电路芯片共同实现。
请参阅图7,图7是本申请计算机可读存储介质70一实施例的框架示意图。 计算机可读存储介质70存储有能够被处理器运行的程序指令701,程序指令701用于实现上述任一运行设备基于控制终端的运行方法实施例的步骤。
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。
上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性、机械或其它的形式。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上仅为本申请的实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (15)

  1. 一种运行设备基于控制终端的运行方法,所述运行设备和所述控制终端均连接于服务器,其中,所述运行方法包括:
    所述控制终端接收所述运行设备广播的终端信息请求;
    所述控制终端向所述服务器发送控制终端信息,以通过所述服务器将所述控制终端信息发送至所述运行设备,使得所述运行设备根据所获取到的控制终端信息运行相应的功能。
  2. 根据权利要求1所述的运行方法,其中,所述终端信息请求包括所述运行设备的第一设备信息;所述运行方法还包括:
    所述控制终端将所述第一设备信息发送至所述服务器,在所述服务器根据所述第一设备信息确定所述控制终端与所述运行设备关联后,执行向所述服务器发送控制终端信息的动作。
  3. 根据权利要求2所述的运行方法,其中,所述服务器中存储有所述运行设备的第二设备信息;所述控制终端向所述服务器发送控制终端信息,包括:
    所述控制终端向所述服务器发送控制终端信息和第一设备信息,以使得所述服务器根据所述第一设备信息确定所述第二设备信息,并利用所述第二设备信息对所述控制终端信息进行加密。
  4. 根据权利要求3所述的运行方法,其中,所述第一设备信息用于唯一标识所述运行设备,且包括以下至少一种:运行设备注册号、运行设备序列号、运行设备身份标识;
    和/或,所述第二设备信息用于加密和解密,且包括以下至少一种:非对称密钥对、预设命令字符串。
  5. 根据权利要求2所述的运行方法,其中,所述运行方法还包括:
    所述控制终端根据所接收到的终端信息请求确定与所述运行设备的相对位置;在所述相对位置满足预设要求的情况下,执行将所述第一设备信息发送至所述服务器的动作。
  6. 根据权利要求5所述的运行方法,其中,所述控制终端与所述运行设备的相位位置包括以下至少一种:距离、方位。
  7. 根据权利要求6所述的运行方法,其中,所述控制终端与所述运行设备的相位位置为距离;所述预设要求为所述控制终端与所述运行设备的距离小于预设距离;所述控制终端根据所接收到的终端信息请求确定与所述运行设备的 相对位置包括:
    所述控制终端根据所接收到的终端信息请求的信号强度确定与所述运行设备的所述距离;
    在所述距离小于所述预设距离的情况下,执行将所述第一设备信息发送至所述服务器的动作。
  8. 一种运行设备基于控制终端的运行方法,所述运行设备和所述控制终端均连接于服务器,其中,所述运行方法包括:
    所述运行设备广播终端信息请求;
    所述运行设备接收所述服务器发送的控制终端信息,所述控制终端信息由所述控制终端在接收到终端信息请求后向所述服务器发出的;
    所述运行设备根据所获取到的控制终端信息运行相应的功能。
  9. 根据权利要求8所述的运行方法,其中,所述运行设备包括第一设备信息和第二设备信息,所述服务器存储有所述第二设备信息;所述运行方法还包括:
    所述运行设备根据所述第二设备信息对所述控制终端信息进行解密,以根据解密后的控制终端信息运行相应的功能;所述控制终端信息由所述服务器利用所述第二设备信息实现加密。
  10. 根据权利要求8所述的运行方法,其中,所述相应的功能包括以下至少一种:存储、切换工作模式、调整工作参数、打开或关闭运行;
    和/或,控制终端信息包括以下至少一种:操作流程、操作状态、控制终端标识、控制终端与运行设备的相对位置。
  11. 一种运行设备基于控制终端的运行方法,所述运行设备和所述控制终端均连接于服务器,其中,所述运行方法包括:
    所述服务器接收所述控制终端发送的控制终端信息,所述控制终端信息为所述控制终端在接收到所述运行设备广播的终端信息请求后发出;
    所述服务器将所述控制终端信息发送至所述运行设备,使得所述运行设备根据所获取到的控制终端信息运行相应的功能。
  12. 根据权利要求11所述的运行方法,其中,所述终端信息请求还包括所述运行设备的第一设备信息,所述方法还包括:
    所述服务器接收所述控制终端发送的第一设备信息;
    所述服务器根据所述第一设备信息验证所述控制终端和所述运行设备是否 关联,并将验证结果发送至所述控制终端。
  13. 根据权利要求12所述的运行方法,其中,所述服务器存储有所述第二设备信息;所述运行方法还包括:
    所述服务器接收所述控制终端发送的所述控制终端信息和第一设备信息;
    所述服务器根据所述第一设备信息确定所述第二设备信息,并利用所述第二设备信息对所述控制终端信息进行加密。
  14. 一种电子设备,其中,包括相互耦接的存储器和处理器,所述处理器用于执行所述存储器中存储的程序指令,以实现权利要求1至7任一项所述的运行设备基于控制终端的运行方法,或实现权利要求8至10任一项所述的运行设备基于控制终端的运行方法,或实现权利要求11至13任一项所述的运行设备基于控制终端的运行方法。
  15. 一种计算机可读存储介质,其上存储有程序指令,其中,所述程序指令被处理器执行时实现权利要求1至7任一项所述的运行设备基于控制终端的运行方法,或实现权利要求8至10任一项所述的运行设备基于控制终端的运行方法,或实现权利要求11至13任一项所述的运行设备基于控制终端的运行方法。
PCT/CN2020/141071 2020-10-19 2020-12-29 运行设备基于控制终端的运行方法、电子设备、存储介质 WO2022083005A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011119641.0 2020-10-19
CN202011119641.0A CN114449020B (zh) 2020-10-19 2020-10-19 运行设备基于控制终端的运行方法、电子设备、存储介质

Publications (1)

Publication Number Publication Date
WO2022083005A1 true WO2022083005A1 (zh) 2022-04-28

Family

ID=81289667

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141071 WO2022083005A1 (zh) 2020-10-19 2020-12-29 运行设备基于控制终端的运行方法、电子设备、存储介质

Country Status (2)

Country Link
CN (1) CN114449020B (zh)
WO (1) WO2022083005A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375497A (zh) * 2014-12-15 2015-02-25 广东美的厨房电器制造有限公司 智能家居及其控制方法、控制系统和电子设备
CN105118257A (zh) * 2015-08-13 2015-12-02 深圳市云动创想科技有限公司 智能控制系统及方法
CN106657234A (zh) * 2016-10-09 2017-05-10 美的智慧家居科技有限公司 家用电器的配网方法、系统、家用电器和移动终端
CN109947031A (zh) * 2019-04-15 2019-06-28 美的集团股份有限公司 一种智能家居设备控制方法、介质、移动终端和装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242554B (zh) * 2015-09-28 2018-03-06 努比亚技术有限公司 终端控制方法及装置
CN105357262B (zh) * 2015-09-29 2019-07-23 小米科技有限责任公司 设备控制方法及装置
CN105610961B (zh) * 2016-01-15 2019-09-06 深圳街电科技有限公司 控制服务设备的方法及其智能终端
CN105933378B (zh) * 2016-04-01 2019-01-29 深圳蓝奥声科技有限公司 无线联动控制方法及系统
KR102360182B1 (ko) * 2017-09-05 2022-02-08 삼성전자주식회사 슬레이브 디바이스와 데이터 통신을 수행하는 디바이스 및 방법
WO2020001581A1 (zh) * 2018-06-28 2020-01-02 云丁网络技术(北京)有限公司 一种智能门锁控制方法、相关设备及系统
CN109240112A (zh) * 2018-10-17 2019-01-18 珠海格力电器股份有限公司 智能设备控制方法、系统、电子设备及可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375497A (zh) * 2014-12-15 2015-02-25 广东美的厨房电器制造有限公司 智能家居及其控制方法、控制系统和电子设备
CN105118257A (zh) * 2015-08-13 2015-12-02 深圳市云动创想科技有限公司 智能控制系统及方法
CN106657234A (zh) * 2016-10-09 2017-05-10 美的智慧家居科技有限公司 家用电器的配网方法、系统、家用电器和移动终端
CN109947031A (zh) * 2019-04-15 2019-06-28 美的集团股份有限公司 一种智能家居设备控制方法、介质、移动终端和装置

Also Published As

Publication number Publication date
CN114449020B (zh) 2023-11-10
CN114449020A (zh) 2022-05-06

Similar Documents

Publication Publication Date Title
CN110611905B (zh) 信息共享方法、终端设备、存储介质及计算机程序产品
US11558187B2 (en) Method and an apparatus for onboarding in an IoT network
US10412061B2 (en) Method and system for encrypted communications
CN113168445B (zh) 安全的空中固件升级
EP2938112B1 (en) Portable authorization device
US7689252B2 (en) Method and system for processing information
EP3308519B1 (en) System, apparatus and method for transferring ownership of a device from manufacturer to user using an embedded resource
CN105981352A (zh) 用于在控制器和附件之间通信的统一通信协议
US20060161774A1 (en) Authentication method and system between device with small computational resources and device using public key
CN111343613B (zh) 在过程控制系统中建立安全的低能量无线通信的方法和装置
CN110235424A (zh) 用于在通信系统中提供和管理安全信息的设备和方法
EP3777278B1 (en) Automatically connecting to a secured network
CN106162537B (zh) 一种安全认证连接的方法、无线通信设备及终端
US11863974B2 (en) Method for hearing system communication and related devices
EP3497611B1 (en) A programmable hearing assistive device
CN114238900A (zh) 一种数据传输方法及电子设备
CN109495885B (zh) 认证方法、移动终端、管理系统及蓝牙ic卡
JP2005322033A (ja) 情報配信システム、情報配信サーバ、端末機器、情報配信方法、情報受信方法、情報処理プログラム、及び記憶媒体
US10554431B2 (en) Method for device having WLAN function to access network and device for implementing method
US11985229B2 (en) Method, first device, first server, second server and system for accessing a private key
WO2022083005A1 (zh) 运行设备基于控制终端的运行方法、电子设备、存储介质
WO2018205328A1 (zh) 一种设备接入无线网络的系统及方法
US20210243599A1 (en) User authentication method through bluetooth device and device therefor
US9654449B2 (en) Geospatial cryptagraphy
WO2018076369A1 (zh) 通信安全等级切换的方法、系统、家电设备和移动终端

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.09.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20958578

Country of ref document: EP

Kind code of ref document: A1