Control method and device of intelligent equipment, equipment and medium
The establishment of a connection between the smart device and the user terminal through short-distance wireless communication technology solves the control problem of the smart device in the network signal poor or signalless area, and achieves the normal operation of the device and the improvement of user experience.
Patent Information
- Application Number
- CN202311593817.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-05-27
AI Technical Summary
Smart devices are prone to offline, unresponsive operation, and untimely display of control programs when network signals are poor or no signal areas, which affects the normal use of users.
Connect the user terminal and the smart device through short-range wireless communication technology (such as Bluetooth), and send device information to the user terminal to determine whether there is a device function data packet. If it does not exist, the device function data packet will be sent, and the user terminal controls the smart device based on the data packet.
It realizes that the smart device can still control normally when the network signal is poor or no signal, avoiding the problem of the device being offline or unresponsive, and improving the user experience.
Smart Images

Figure CN120050632A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of intelligent appliances, and particularly relates to a control method, device, equipment, and medium for intelligent devices. Background Art
[0002] With the rapid development of technology, intelligent devices are favored by more and more users. Intelligent devices can clarify the usage requirements of users based on some feedback from users, and then generate a control program accordingly to control the operation of the intelligent devices.
[0003] In the existing intelligent devices, usually, users place an order and pay on the Internet, and the Internet platform outputs the location of idle intelligent devices to the users. After the users pay for the device usage fee order and start the device, the Internet platform controls the intelligent devices to perform corresponding operations.
[0004] However, when the network signal in the area where the intelligent device is located is poor or even there is no signal, problems such as the device going offline, no response to operations, and untimely display of the control program will occur, affecting the normal use of users. Summary of the Invention
[0005] To solve the above problems in the prior art, that is, to avoid the intelligent devices in areas with poor network signals from going offline, unresponsive, etc., resulting in users being unable to use the intelligent devices normally or know the control programs supported by the devices, this application provides a control method, device, equipment, and medium for intelligent devices.
[0006] In a first aspect, this application provides a control method for an intelligent device, which is applied to the intelligent device. The control method includes:
[0007] After the intelligent device is connected to the user terminal through short-range wireless communication technology, send the device information of the intelligent device to the user terminal, so that the user terminal determines whether the device function data packet corresponding to the device information is included in the data cache library. The device information includes the device model and / or software version number;
[0008] Receive the data acquisition request sent by the user terminal, where the data acquisition request is used to indicate that the device function data packet is not stored in the data cache library of the user terminal;
[0009] Send the device function data packet of the intelligent device to the user terminal, so that the user terminal controls the intelligent device according to the device function data packet.
[0010] In a possible implementation manner, after sending the device function data packet of the intelligent device to the user terminal, the method further includes:
[0011] Determine the payment of the user terminal for the fee order, where the fee order is generated by the user terminal after parsing the device function data packet, obtaining and displaying the control program, and the user selects the target control program;
[0012] After the fee payment is successful, receive the control instruction sent by the user terminal, and perform a response operation according to the control instruction, where the control instruction includes the target control program.
[0013] In a possible implementation manner, the short-range wireless communication technology is Bluetooth, and the smart device connects to the user terminal through the short-range wireless communication technology, including:
[0014] Receive the Bluetooth connection request sent by the user terminal;
[0015] Send a Bluetooth connection response to the user terminal, where the Bluetooth connection response carries an encryption password to establish a password connection between the smart device and the user terminal, and the encryption password is used to encrypt the control instruction sent by the user terminal to the smart device.
[0016] In a possible implementation manner, before sending the Bluetooth connection response to the user terminal, the method further includes:
[0017] Obtain occupancy information, where the occupancy information is used to indicate the occupied period and idle period of the smart device;
[0018] Judge whether the current period of the smart device is an idle period according to the occupancy information;
[0019] If so, determine to send a Bluetooth connection response to the user terminal;
[0020] If not, reject the Bluetooth connection request of the user terminal.
[0021] In a possible implementation manner, the determination of the payment of the user terminal for the fee order includes:
[0022] Obtain the payment of the user terminal for the fee order through a dual-offline payment method, where both the user terminal and the smart device are built-in with digital wallet chips for offline payment.
[0023] In a possible implementation manner, after performing the corresponding operation according to the control instruction, the method further includes:
[0024] Receive the duration acquisition request sent by the user terminal;
[0025] Feedback duration information to the user terminal, where the duration information includes the running duration of the current operation of the intelligent device, so that the user terminal starts a countdown based on the running duration and outputs a prompt message when the remaining time is a preset duration.
[0026] In a second aspect, the present application provides a control method for an intelligent device, which is applied to a user terminal. The control method includes:
[0027] After the user terminal connects to the intelligent device through short - range wireless communication technology, it receives the device information sent by the intelligent device, where the device information includes the device model and / or software version number;
[0028] Judge whether the device function data packet corresponding to the device information is included in the data cache library, where different device function data packets corresponding to different device information are stored in the data cache library;
[0029] If so, obtain the device function data packet from the data cache library and control the intelligent device according to the device function data packet;
[0030] If not, obtain the device function data packet from the intelligent device and control the intelligent device according to the device function data packet.
[0031] In a possible implementation manner, the controlling the intelligent device according to the device function data packet includes:
[0032] Parse the device function data packet to obtain and display the control programs included in the intelligent device;
[0033] Obtain the selection operation of the user on the control program to obtain the target control program;
[0034] Generate a cost order according to the target control program, and based on the cost order, make a cost payment to the intelligent device;
[0035] After the cost payment is successful, send a control instruction to the intelligent device to control the intelligent device to perform corresponding operations, where the control instruction includes the target control program.
[0036] In a possible implementation manner, the short - range wireless communication technology is Bluetooth. The user terminal connects to the intelligent device through the short - range wireless communication technology, including:
[0037] Control the Bluetooth of the user terminal to be turned on and search for the intelligent device through Bluetooth;
[0038] The user terminal reads an encrypted password from the intelligent device to establish a password connection, and the encrypted password is used to encrypt the control instructions sent by the user terminal to the intelligent device.
[0039] In a possible implementation manner, the user terminal reads an encrypted password from the intelligent device to establish a password connection, including:
[0040] After searching for the intelligent device through Bluetooth, obtain the occupancy information of the intelligent device, where the occupancy information is used to indicate the occupied period and idle period of the intelligent device;
[0041] Judge whether the current period of the intelligent device is an idle period according to the occupancy information;
[0042] If so, read the encrypted password from the intelligent device to establish a password connection;
[0043] If not, continue to search for a new intelligent device through Bluetooth.
[0044] In a possible implementation manner, the making a payment to the intelligent device based on the expense order includes:
[0045] In response to the user's confirmation operation on the expense order, the user terminal makes a payment to the intelligent device through a dual-offline payment method, where both the user terminal and the intelligent device are built-in with digital wallet chips for offline payment.
[0046] In a possible implementation manner, after sending a control instruction to the intelligent device to control the intelligent device to perform a corresponding operation, the method further includes:
[0047] Obtain the running duration of the current operation sent by the intelligent device;
[0048] Start a countdown based on the running duration, and output a prompt message when the remaining time is a preset duration.
[0049] In a third aspect, the present application provides a control device for an intelligent device, which is applied to the intelligent device, and the control device includes:
[0050] A sending module, configured to send the device information of the intelligent device to the user terminal after the intelligent device is connected to the user terminal through a short-range wireless communication technology, so that the user terminal determines whether the device function data packet corresponding to the device information is included in the data cache library, where the device information includes a device model and / or a software version number;
[0051] A receiving module, configured to receive a data acquisition request sent by the user terminal, where the data acquisition request is used to indicate that the device function data packet is not stored in the data cache library of the user terminal;
[0052] A processing module, configured to send a device function data packet of the intelligent device to the user terminal, so that the user terminal controls the intelligent device according to the device function data packet.
[0053] In a third aspect, the present application provides a control device for an intelligent device, including: at least one processor and a memory;
[0054] The memory stores computer-executable instructions;
[0055] At least one processor executes the computer-executable instructions stored in the memory, so that at least one processor executes the control method of the intelligent device as described above.
[0056] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the control method of the intelligent device as described above are implemented.
[0057] For the control method, device, device and medium of the intelligent device provided by the present application, after the intelligent device is connected to the user terminal through short-range wireless communication technology, the device information of the intelligent device is sent to the user terminal, so that the user terminal determines whether the device function data packet corresponding to the device information is included in the data cache library, where the device information includes a device model and / or a software version number; receive a data acquisition request sent by the user terminal, where the data acquisition request is used to indicate that the device function data packet is not stored in the data cache library of the user terminal; send the device function data packet of the intelligent device to the user terminal, so that the user terminal controls the intelligent device according to the device function data packet.
[0058] In the above method, the communication connection between the user terminal and the intelligent device is realized through short - range wireless communication technology. After the connection, the intelligent device sends device information to the user terminal, so that the user terminal can determine whether the device function data packet corresponding to the device information is included in the data cache library according to the device information of the intelligent device. If the data acquisition request sent by the user terminal is not received, it means that the device information is included in the data cache library, that is, the user terminal and the intelligent device are not connected for the first time. At this time, the device function data packet in the data cache library can be directly used; if the data acquisition request sent by the user terminal is received, it means that the device information is not included in the data cache library, that is, the user terminal and the intelligent device are connected for the first time. At this time, the intelligent device directly sends the device function data packet to the user terminal, so that the user terminal can control the intelligent device according to the device function data packet. In this way, the rapid acquisition of the device function data packet can be realized, and the operation time can be saved. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings herein are incorporated into and form a part of this specification, showing embodiments consistent with the present application and, together with the specification, are used to explain the principles of the present application.
[0060] Figure 1 FIG. is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0061] Figure 2 FIG. is a flowchart of a control method for an intelligent device provided by an embodiment of the present application Figure 1 ;
[0062] Figure 3 FIG. is a flowchart of a control method for an intelligent device provided by an embodiment of the present application Figure 2 ;
[0063] Figure 4 FIG. is a flowchart of a control method for an intelligent device provided by an embodiment of the present application Figure 3 ;
[0064] Figure 5 FIG. is a schematic structural diagram of a control device for an intelligent device provided by an embodiment of the present invention;
[0065] Figure 6 FIG. is a schematic hardware diagram of a control device for an intelligent device provided by an embodiment of the present invention.
[0066] Through the above - mentioned accompanying drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and the textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0067] To make the objectives, technical solutions, and advantages of this application more clear, the following will clearly and completely describe the technical solutions in this application in combination with the accompanying drawings in this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.
[0068] In the description of the present invention and the claims, as well as in the above-mentioned accompanying drawings, terms such as "first", "second", "third", "fourth", etc. (if any) are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0069] In the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in this application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0070] With the development of technology and the improvement of people's living efficiency, people's frequency of using smart devices is also increasing. Users only need to place an order and pay for the order through the network to use these smart devices.
[0071] However, in the case where the smart device has a network disconnection or the network is unresponsive, the user cannot timely obtain the relevant information of the smart device from the Internet platform and cannot use these smart devices.
[0072] Therefore, this application proposes a method for controlling a smart device. Taking the smart device as the execution entity, a communication connection between the user terminal and the smart device is established through a short-range wireless communication technology such as Bluetooth. After the smart device successfully connects to the user terminal, it sends the device information of the smart device to the user terminal so that the user terminal can determine whether there is a device function data packet corresponding to the device information in the data cache library, that is, whether the user terminal and the smart device are connected for the first time. If it exists, it means that the user terminal and the target smart device are not connected for the first time, and the user terminal can directly control the smart device according to the device function data packet in the data cache library; if it does not exist, it means that the user terminal and the smart device are connected for the first time. At this time, the smart device will receive a data acquisition request from the user terminal. In response to this data acquisition request, it sends the device function data packet of the smart device to the user terminal, enabling the user terminal to control the smart device according to the device function data packet.
[0073] The following will describe the application scenarios of the present application in conjunction with Figure 1 to illustrate the application scenarios of the present application.
[0074] Figure 1 FIG. is a schematic diagram of an application scenario provided by an embodiment of the present application. As Figure 1 shown, this scenario includes an intelligent device 101 (exemplified by a washing and care device) and a user terminal 102. The intelligent device 101 in this embodiment may also be devices such as a water heater, a dryer, and a shared bicycle.
[0075] The intelligent device 101 is a device that can be connected to the user terminal 102 through short-range wireless communication technology. After successfully establishing a connection, it can also send its device information to the user terminal 102. When the device function data packet corresponding to the device information is not stored in the data cache library of the user terminal 102, the intelligent device 101 can also send the device function data packet to the user terminal 102 so that the user terminal 102 can control the operation of the intelligent device 101 based on the device function data packet. In this embodiment, the short-range wireless communication technology may be technologies such as Bluetooth, ZigBee, and NFC.
[0076] The user terminal 102 is a device that can be connected to the intelligent device 101 through short-range wireless communication technology. Exemplarily, a mobile phone is a type of user terminal 102. After successfully establishing a connection, the user terminal 102 can also receive the device information sent by the intelligent device 101 and search for the device function data packet corresponding to the device information in the data cache library.
[0077] If the device function data packet corresponding to the device information is found in the data cache library, the operation of the intelligent device 101 is directly controlled according to the device function data packet.
[0078] If the device function data packet corresponding to the device information is not found in the data cache library, a data acquisition request is sent to the intelligent device 101 so that the intelligent device 101 sends the device function data packet to the user terminal 102, enabling the user terminal to also control the operation of the intelligent device 101 accordingly.
[0079] Through the mutual cooperation of the above components, not only can the communication connection between the user terminal and the intelligent device be realized, but also the device disconnection or non-response caused by poor network signals of the intelligent device can be avoided.
[0080] The following will describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems with specific embodiments. These specific embodiments below can be implemented independently or in combination with each other. For the same or similar concepts or processes, they may not be repeated in some embodiments.
[0081] Figure 2Flow chart of a control method for an intelligent device provided by an embodiment of the present application Figure 1 As Figure 2 shown, the control method includes:
[0082] S201. The intelligent device connects to the user terminal through short - range wireless communication technology.
[0083] S202. The intelligent device sends device information of the intelligent device to the user terminal.
[0084] In the above solution, the intelligent device communicates with the user terminal through short - range wireless communication technology. After successfully establishing communication, the user terminal receives the device information sent by the intelligent device. The device information includes the device model and / or software version number, so that the user can know the specific information of the device, which is convenient for subsequent operations.
[0085] S203. The user terminal determines whether the device function data packet corresponding to the device information is included in the data cache library.
[0086] In this step, after successfully receiving the device information, the user terminal searches for the device function data packet corresponding to the device information in the data cache library according to the specific information of the device, so as to know whether there is a device function data packet of the intelligent device in the user terminal, that is, whether the user terminal has established a communication connection with the intelligent device corresponding to the device information before.
[0087] S204. If so, obtain the device function data packet from the data cache library and control the intelligent device according to the device function data packet.
[0088] In the above solution, the fact that the device function data packet corresponding to the device information is included in the data cache library indicates that the user terminal and the intelligent device are not establishing a connection for the first time. The data cache library stores relevant data of the intelligent device. At this time, the device function data packet that can control the operation of the intelligent device can be directly obtained from the data cache library.
[0089] S205. If not, generate a data acquisition request, which is used to indicate that the device function data packet is not stored in the data cache library.
[0090] S206. The user terminal sends the data acquisition request to the intelligent device.
[0091] In this step, the fact that the device function data packet corresponding to the device information is not included in the data cache library indicates that the user terminal and the intelligent device are establishing a connection for the first time. At this time, the user terminal needs to send a data acquisition request to the intelligent device to pull the device function data packet.
[0092] S207. The intelligent device sends the device function data packet to the user terminal.
[0093] S208. The user terminal controls the intelligent device according to the device function data packet.
[0094] In the above solution, after the intelligent device receives the data acquisition request sent by the user terminal, the intelligent device knows that the device function data packet is not included in the data cache library of the user terminal. In response to the data acquisition request, the intelligent device sends the device function data packet to the user terminal, so that the user terminal controls the operation of the intelligent device accordingly. In the embodiment of the present application, the communication connection between the intelligent device and the user terminal is realized through the short-distance wireless communication technology. The user terminal determines whether the device function data packet corresponding to the device information is included in the data cache library according to the device information sent by the intelligent device. If it is included, the user terminal directly controls the intelligent device according to the device function data packet in the data cache library; if it is not included, the user terminal sends a data acquisition request to the intelligent device, and then the intelligent device responds to the data acquisition request and sends its device function data packet to the user terminal, so that the user terminal can control the operation of the intelligent device according to the device function data packet, which can realize the rapid acquisition of the device function data packet and save the operation time.
[0095] The following Figure 3 and specific embodiments are used to illustrate the implementation process of paying fees to the intelligent device to control the operation of the intelligent device in the control method of the intelligent device of the present application.
[0096] Figure 3 is the flow of a control method for an intelligent device provided by an embodiment of the present application Figure 2 . As Figure 3 shown, the method includes:
[0097] S301. Obtain the payment of the user terminal for the fee order through the dual-offline payment method, where both the user terminal and the intelligent device are built-in with digital wallet chips for offline payment. The fee order is generated by the user terminal after parsing the device function data packet, obtaining and displaying the control program, and then the user selects the target control program.
[0098] In this step, to realize the operation control of the intelligent device by the user terminal, it is necessary to know the control programs included in the intelligent device, and these control programs can be parsed from the device function data packet of the intelligent device. After parsing the control programs from the device function data packet, the user can perform selection operations on these control programs on the user terminal, and based on these operations, the target control program that best reflects the user's usage intention can be obtained. After determining the target control program, the user terminal needs to pay fees to the intelligent device that has established communication in order to successfully start the intelligent device for corresponding operations.
[0099] Since the user terminal and the intelligent device in this application are connected through short - range wireless communication technology, the expense order can adopt offline payment. Exemplarily, the user terminal makes an expense payment to the intelligent device through the dual - offline payment method. Of course, after the payment is completed, the payment information can be stored in the digital wallet chip for future use.
[0100] S302. After the expense payment is successful, receive the control instruction sent by the user terminal and perform corresponding operations according to the control instruction. The control instruction includes the target control program.
[0101] In the above - mentioned solution, after the user terminal finishes the payment, it is necessary to send the target control program to the intelligent device in the form of a control instruction so that the intelligent device can operate according to the target control program.
[0102] In the specific implementation process, in order to facilitate the user to perform subsequent operations in a timely manner, the user can be reminded in advance. Exemplarily, after performing corresponding operations according to the control instruction, receive the duration acquisition request sent by the user terminal; feedback the duration information to the user terminal. The duration information includes the running duration of the current operation of the intelligent device, so that the user terminal starts a countdown based on the running duration and outputs a prompt message when the remaining time is the preset duration.
[0103] In the embodiment of this application, the control program is parsed from the device function data packet, and the control program will be displayed on the user terminal for the user to perform a selection operation. After the user finishes the operation, the target control program can be obtained, and then an expense order is generated accordingly. After the intelligent device determines that the user terminal has paid the expense order, receive the control instruction containing the target control program sent by the user terminal, and the intelligent device performs corresponding operations accordingly.
[0104] The following combines Figure 4 and specific embodiments to illustrate the implementation process of the control method of the intelligent device in this application where the user terminal is connected to the intelligent device through short - range wireless communication technology.
[0105] Figure 4 is the flow of a control method for an intelligent device provided by an embodiment of this application Figure 3 . In this embodiment, the short - range wireless communication technology is Bluetooth. As Figure 4 shown, the method includes:
[0106] S401. Receive the Bluetooth connection request sent by the user terminal.
[0107] In the above - mentioned solution, after the user turns on the Bluetooth of the user terminal, it will search for intelligent devices within the search range through Bluetooth and send a connection request to the intelligent devices within the search range.
[0108] S402. Obtain occupancy information, which is used to indicate the occupied period and idle period of the intelligent device.
[0109] In this step, after the intelligent device is searched, it is necessary to determine the operating state of the intelligent device. At this time, it is necessary to obtain the occupied period and idle period of the intelligent device to determine whether the intelligent device can operate according to the control instruction sent by the user terminal in the current period.
[0110] S403. Determine whether the current period of the intelligent device is an idle period according to the occupancy information.
[0111] In the above solution, after obtaining the occupied period and idle period of the intelligent device, it is necessary to determine whether the current period of the intelligent device is distributed in the occupied period or the idle period, so as to determine whether the intelligent device can execute the control instruction sent by the user terminal in the current period.
[0112] S404. If so, determine to send a Bluetooth connection response to the user terminal. The Bluetooth connection response carries an encryption password to establish a password connection between the intelligent device and the user terminal. The encryption password is used to encrypt the control instruction sent by the user terminal to the intelligent device.
[0113] In this step, if the intelligent device is in the idle period in the current period, it means that the intelligent device can execute the control instruction of the user terminal in the current period. At this time, the intelligent device can send a Bluetooth connection response to the user terminal to establish a password connection between the two and avoid interference from other intelligent devices.
[0114] S405. If not, reject the Bluetooth connection request of the user terminal.
[0115] In the above solution, if the intelligent device is in the occupied period in the current period, it means that the intelligent device cannot execute the control instruction of the user terminal in the current period. At this time, the Bluetooth connection request of the user terminal can only be rejected.
[0116] In the embodiment of the present application, the user terminal searches for the intelligent device via Bluetooth. After the intelligent device is searched, a Bluetooth connection request will be sent to the intelligent device. At this time, the intelligent device will judge the current period to determine whether the current period of the intelligent device is within the range of the idle period. If it is within the range of the idle period, the intelligent device will send a Bluetooth connection response to the user terminal to establish a password connection between the two. If it is not within the range of the idle period, the intelligent device will reject the connection request sent by the user terminal.
[0117] In summary of the above embodiments, the control method of the intelligent device provided by the embodiments of the present application takes the intelligent device as the execution subject, establishes a communication connection between the user terminal and the intelligent device through a short-range wireless communication technology such as Bluetooth, and after the intelligent device successfully connects to the user terminal, sends the device information of the intelligent device to the user terminal, so that the user terminal can judge whether there is a device function data packet corresponding to the device information in the data cache library, that is, whether the user terminal and the intelligent device are connected for the first time. If it exists, it means that the user terminal and the target intelligent device are not connected for the first time, and the user terminal can directly control the intelligent device according to the device function data packet in the data cache library; if it does not exist, it means that the user terminal and the intelligent device are connected for the first time. At this time, the intelligent device will receive a data acquisition request from the user terminal. In response to the data acquisition request, the intelligent device sends the device function data packet of the intelligent device to the user terminal, so that the user terminal can control the intelligent device according to the device function data packet.
[0118] Figure 5 FIG. is a schematic structural diagram of a control device for an intelligent device provided by an embodiment of the present invention, as Figure 5 shown, the control device of the intelligent device may include various functional modules for implementing the foregoing control method of the intelligent device, and any functional module may be implemented in a software / or hardware manner.
[0119] For example, the control device of the intelligent device is applied to the intelligent device, and the control device may include: a sending module 501, a receiving module 502, and a processing module 503;
[0120] The sending module 501 is configured to send the device information of the intelligent device to the user terminal after the intelligent device connects to the user terminal through a short-range wireless communication technology, so that the user terminal can judge whether the data cache library contains a device function data packet corresponding to the device information, and the device information includes a device model and / or a software version number;
[0121] The receiving module 502 is configured to receive a data acquisition request sent by the user terminal, and the data acquisition request is used to indicate that the device function data packet is not stored in the data cache library of the user terminal;
[0122] The processing module 503 is configured to send the device function data packet of the intelligent device to the user terminal, so that the user terminal can control the intelligent device according to the device function data packet.
[0123] Optionally, the sending module 501 may further be configured to receive a Bluetooth connection request sent by the user terminal; send a Bluetooth connection response to the user terminal, and the Bluetooth connection response carries an encryption password to establish a password connection between the intelligent device and the user terminal, and the encryption password is used to encrypt a control instruction sent by the user terminal to the intelligent device.
[0124] Optionally, the sending module 501 may further be specifically configured to: obtain occupancy information, where the occupancy information is used to indicate the occupied time period and the idle time period of the intelligent device; determine whether the current time period of the intelligent device is an idle time period according to the occupancy information; if so, determine to send a Bluetooth connection response to the user terminal; if not, reject the Bluetooth connection request of the user terminal.
[0125] Optionally, the processing module 503 may also be used to determine the payment of the expense order by the user terminal, where the expense order is an expense order generated by the user terminal after parsing the device function data packet, obtaining and presenting the control program, and the user selects the target control program; after the expense payment is successful, receive the control instruction sent by the user terminal, and perform corresponding operations according to the control instruction, where the control instruction includes the target control program.
[0126] Optionally, the processing module 503 may also be specifically configured to: obtain the payment of the expense order by the user terminal through a dual-offline payment method, where both the user terminal and the intelligent device are built-in with digital wallet chips for offline payment.
[0127] Optionally, the processing module 503 may also be used to receive the duration acquisition request sent by the user terminal; feedback duration information to the user terminal, where the duration information includes the running duration of the current operation of the intelligent device, so that the user terminal starts a countdown based on the running duration, and outputs a prompt message when the remaining time is a preset duration.
[0128] This application also provides a control device for an intelligent device, including: at least one processor and a memory;
[0129] The memory stores computer-executable instructions;
[0130] At least one processor executes the computer-executable instructions stored in the memory, so that at least one processor executes the control method of the intelligent device.
[0131] Figure 6 It is a hardware schematic diagram of the control device for the intelligent device provided by the embodiment of the present invention. As Figure 6 shown, the control device 60 for the intelligent device provided in this embodiment includes: at least one processor 601 and a memory 602. The device 60 also includes a communication component 603. Among them, the processor 601, the memory 602, and the communication component 703 are connected through a bus 604.
[0132] In a specific implementation process, at least one processor 601 executes the computer-executable instructions stored in the memory 602, so that at least one processor 601 executes the control method of the intelligent device as described above.
[0133] For the specific implementation process of the processor 601, reference may be made to the foregoing method embodiments. Their implementation principles and technical effects are similar, and will not be elaborated herein.
[0134] In the foregoing Figure 6 illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU for short), or may also be other general-purpose processors, digital signal processors (DSP for short), application specific integrated circuits (ASIC for short), etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the invention may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
[0135] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0136] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the buses in the drawings of this application are not limited to only one bus or one type of bus.
[0137] This application also provides a computer-readable storage medium storing computer-executable instructions. When the processor executes the computer-executable instructions, the control method of the intelligent device as described above is implemented.
[0138] For the foregoing computer-readable storage medium, the readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk or an optical disc. The readable storage medium may be any available medium accessible by a general-purpose or special-purpose computer.
[0139] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an Application Specific Integrated Circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in a device.
[0140] The division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the couplings or direct couplings or communication connections shown or discussed among each other can be indirect couplings or communication connections through some interfaces, and the couplings or communication connections of devices or units can be in electrical, mechanical, or other forms.
[0141] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0142] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0143] If the described functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0144] Those of ordinary skill in the art will understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments; and the aforementioned storage medium includes: various media such as ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0145] So far, the technical solutions of the present application have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A control method for an intelligent device, characterized in that, applied to the intelligent device, the control method includes: After the intelligent device is connected to the user terminal through short - range wireless communication technology, send the device information of the intelligent device to the user terminal, so that the user terminal determines whether the device function data packet corresponding to the device information is included in the data cache library, and the device information includes device model and / or software version number; Receive the data acquisition request sent by the user terminal, and the data acquisition request is used to indicate that the device function data packet is not stored in the data cache library of the user terminal; Send the device function data packet of the intelligent device to the user terminal, so that the user terminal controls the intelligent device according to the device function data packet.
2. The method according to claim 1, characterized in that, After sending the device function data packet of the intelligent device to the user terminal, the method further includes: Determine the payment of the user terminal for the expense order, where the expense order is an expense order generated by the user terminal after the user terminal parses the device function data packet, obtains and displays the control program, and the user selects the target control program; After the expense payment is successful, receive the control instruction sent by the user terminal, and perform corresponding operations according to the control instruction, and the control instruction includes the target control program.
3. The method according to claim 1, characterized in that, The short - range wireless communication technology is Bluetooth. The intelligent device is connected to the user terminal through short - range wireless communication technology, including: Receive the Bluetooth connection request sent by the user terminal; Send a Bluetooth connection response to the user terminal, and the Bluetooth connection response carries an encryption password to establish a password connection between the intelligent device and the user terminal, and the encryption password is used to encrypt the control instruction sent by the user terminal to the intelligent device.
4. The method according to claim 3, characterized in that, Before sending the Bluetooth connection response to the user terminal, the method further includes: Obtain occupancy information, and the occupancy information is used to indicate the occupied period and idle period of the intelligent device; Judge whether the current period of the intelligent device is an idle period according to the occupancy information; If so, determine to send a Bluetooth connection response to the user terminal; If not, reject the Bluetooth connection request of the user terminal.
5. The method according to claim 2, characterized in that, The determination of the payment of the user terminal for the expense order includes: Obtain the payment of the user terminal for the expense order through a dual - offline payment method, where both the user terminal and the intelligent device are built - in with digital wallet chips for offline payment.
6. The method according to claim 2, characterized in that, After performing corresponding operations according to the control instruction, the method further includes: Receive the duration acquisition request sent by the user terminal; Feedback duration information to the user terminal, where the duration information includes the running duration of the current operation of the intelligent device, so that the user terminal starts a countdown based on the running duration and outputs a prompt message when the remaining time is a preset duration.
7. A control method for an intelligent device, characterized in that, applied to a user terminal, the control method includes: After the user terminal connects to the intelligent device through short-range wireless communication technology, it receives device information sent by the intelligent device, where the device information includes a device model and / or a software version number; Judge whether the device function data packet corresponding to the device information is included in the data cache library, where different device information corresponding device function data packets are stored in the data cache library; If so, obtain the device function data packet from the data cache library and control the intelligent device according to the device function data packet; If not, obtain the device function data packet from the intelligent device and control the intelligent device according to the device function data packet.
8. The method according to claim 7, characterized in that, Controlling the intelligent device according to the device function data packet includes: Parse the device function data packet to obtain and display the control program included in the intelligent device; Obtain the user's selection operation on the control program to obtain a target control program; Generate a cost order according to the target control program, and based on the cost order, make a cost payment to the intelligent device; After the cost payment is successful, send a control instruction to the intelligent device to control the intelligent device to perform corresponding operations, and the control instruction includes the target control program.
9. The method according to claim 8, characterized in that, The short-range wireless communication technology is Bluetooth, and the user terminal connects to the intelligent device through Bluetooth, including: Control the Bluetooth of the user terminal to turn on and search for the intelligent device through Bluetooth; The user terminal reads the encryption password from the intelligent device to establish a password connection, and the encryption password is used to encrypt the control instruction sent by the user terminal to the intelligent device.
10. The method according to claim 9, characterized in that, The user terminal reads the encryption password from the intelligent device to establish a password connection, including: After searching for the intelligent device through Bluetooth, obtain the occupancy information of the intelligent device, where the occupancy information is used to indicate the occupied period and idle period of the intelligent device; Judge whether the current period of the intelligent device is an idle period according to the occupancy information; If so, read the encryption password from the intelligent device to establish a password connection; If not, continue to search for a new intelligent device through Bluetooth.
11. The method according to claim 8, characterized in that, Making a cost payment to the intelligent device based on the cost order includes: In response to the user's confirmation operation on the cost order, the user terminal makes a cost payment to the intelligent device through a dual-offline payment method, where both the user terminal and the intelligent device are built-in with digital wallet chips for offline payment.
12. The method according to claim 11, wherein, after sending a control instruction to the intelligent device to control the intelligent device to perform a corresponding operation, the method further includes: obtaining the running duration of the current operation sent by the intelligent device; starting a countdown based on the running duration, and outputting a prompt message when the remaining time is a preset duration.
13. A control device for an intelligent device, wherein, applied to the intelligent device, the control device includes: a sending module, configured to send device information of the intelligent device to the user terminal after the intelligent device is connected to the user terminal through short-range wireless communication technology, so that the user terminal determines whether a device function data packet corresponding to the device information is included in the data cache library, and the device information includes a device model and / or a software version number; a receiving module, configured to receive a data acquisition request sent by the user terminal, where the data acquisition request is used to indicate that the device function data packet is not stored in the data cache library of the user terminal; a processing module, configured to send the device function data packet of the intelligent device to the user terminal, so that the user terminal controls the intelligent device according to the device function data packet.
14. A control device for an intelligent device, wherein, includes: at least one processor and a memory; the memory stores computer execution instructions; the at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the control method for the intelligent device according to any one of claims 1 to 12.
15. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the control method for the intelligent device according to any one of claims 1 to 12 are implemented.