Equipment linkage method, device and system, electronic equipment and storage medium
By receiving linkage trigger requests from client devices, determining device linkage rules and sending control instructions, the problem that the device linkage mode cannot be triggered by users in the existing technology is solved, and the user actively triggers device linkage is realized, which improves the user's experience Accuracy of linkage with equipment.
Patent Information
- Application Number
- CN202310955770.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2043-07-31
AI Technical Summary
In the prior art, the device linkage mode cannot be triggered by users' active selection, which leads to the user experience and is greatly affected by the external environment, reducing the accuracy of device linkage.
By receiving the linkage trigger request sent by the client device, determine the device linkage rules to be triggered, and send control instructions to the corresponding device to realize the user's active triggering of device linkage. This method includes two triggering methods: near field communication and voice communication, ensuring that users can flexibly choose triggering methods in different scenarios.
It realizes that users actively choose to trigger device linkage, improves user experience, and improves the accuracy of device linkage, avoids misjudgment and misjudgment under the influence of external environment.
Smart Images

Figure CN119449833A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a device linkage method, device, system, electronic device and storage medium. Background Art
[0002] With the rapid development of Internet of Things technology, more and more smart devices are linked. Device linkage refers to triggering multiple devices to respond in a coordinated manner based on preset device linkage rules through conditional triggering, thus achieving device linkage and intelligent control. The device linkage process is very important for user experience, so it is necessary to optimize the device linkage method.
[0003] At present, device linkage is to control multiple devices to perform device linkage through the state changes of IoT sensors, or to control multiple devices to perform device linkage through changes in factors such as time and weather. However, the above methods are greatly affected by the external environment, and the triggering conditions may cause misjudgment and misjudgment, thereby reducing the accuracy of device linkage, and the user cannot actively choose to trigger it, which affects the user experience. Summary of the invention
[0004] The present invention provides a device linkage method, apparatus, system, electronic device and storage medium, which are used to solve the defect in the prior art that the device linkage mode cannot be triggered by the user's active selection, and realize the user's active triggering of the device linkage rules, thereby improving the user experience.
[0005] The present invention provides a device linkage method, which is applied to a first server device, and the method comprises:
[0006] Receiving a linkage trigger request sent by a second server device;
[0007] Based on the linkage trigger request, determining a device linkage rule to be triggered;
[0008] Based on the device linkage rule, determine at least one device to be controlled and a control instruction corresponding to each of the devices to be controlled, and any of the devices to be controlled corresponds to at least one of the control instructions;
[0009] Sending each of the control instructions to the corresponding device to be controlled respectively;
[0010] The linkage trigger request may be generated in at least one of the following ways:
[0011] The first client device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device;
[0012] The first server device stores the device linkage rule, and the linkage trigger request is generated by the second server device based on a second trigger request sent by the first client device, and the second trigger request is triggered based on a voice communication method between the first client device and the second server device.
[0013] The present invention also provides a device linkage method, which is applied to a second server device, and the method comprises:
[0014] receiving a trigger request, wherein the trigger request includes a first trigger request sent by a second client device or a second trigger request sent by a first client device;
[0015] Based on the trigger request, generating a linkage trigger request;
[0016] Sending the linkage trigger request to the first server device, so that the first server device determines the device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule;
[0017] Wherein, the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device;
[0018] The second trigger request is triggered based on a voice communication method between the first client device and the second server device.
[0019] The present invention also provides a device linkage method, which is applied to a first client device, and the method includes:
[0020] If a rule acquisition instruction sent by the second client device is obtained, the device linkage rule stored in the first client device is sent to the second client device, so that the second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device;
[0021] If the first client device and the second server device are in voice communication state, obtain a second trigger request and send the second trigger request to the second server device, so that the second server device generates a linkage trigger request based on the second trigger request and sends the linkage trigger request to the first server device.
[0022] The present invention also provides a device linkage method, which is applied to a second client device, and the method includes:
[0023] Receiving a device linkage rule sent by a first client device;
[0024] Based on the device linkage rule, generating a first trigger request, so that the first trigger request indicates the device linkage rule;
[0025] The first trigger request is sent to the second server device, so that the second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
[0026] The present invention also provides a device linkage device, which is deployed on a first server device, and the device includes:
[0027] A first receiving module, used to receive a linkage trigger request sent by a second server device;
[0028] A first determination module, configured to determine a device linkage rule to be triggered based on the linkage trigger request;
[0029] A second determination module is used to determine at least one device to be controlled and a control instruction corresponding to each of the devices to be controlled based on the device linkage rule, and any of the devices to be controlled corresponds to at least one of the control instructions;
[0030] A first sending module, used for sending each of the control instructions to the corresponding device to be controlled;
[0031] The linkage trigger request may be generated in at least one of the following ways:
[0032] The first client device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device;
[0033] The first server device stores the device linkage rule, and the linkage trigger request is generated by the second server device based on a second trigger request sent by the first client device, and the second trigger request is triggered based on a voice communication method between the first client device and the second server device.
[0034] The present invention also provides a device linkage device, which is deployed on a second server device, and the device includes:
[0035] A second receiving module, configured to receive a trigger request, wherein the trigger request includes a first trigger request sent by a second client device, or a second trigger request sent by a first client device;
[0036] A first generating module, configured to generate a linkage trigger request based on the trigger request;
[0037] A second sending module, used for sending the linkage trigger request to the first server device, so that the first server device determines the device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule;
[0038] Wherein, the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device;
[0039] The second trigger request is triggered based on a voice communication method between the first client device and the second server device.
[0040] The present invention also provides a device linkage device, which is deployed on a first client device, and the device includes:
[0041] A third sending module is used to send the device linkage rule stored in the first client device to the second client device if a rule acquisition instruction sent by the second client device is obtained, so that the second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device;
[0042] The fourth sending module is used to obtain a second trigger request if the first client device and the second server device are in a voice communication state, and send the second trigger request to the second server device, so that the second server device can generate a linkage trigger request based on the second trigger request, and send the linkage trigger request to the first server device.
[0043] The present invention also provides a device linkage device, which is deployed on a second client device, and the device includes:
[0044] A third receiving module, configured to receive a device linkage rule sent by a first client device;
[0045] A second generating module, configured to generate a first trigger request based on the device linkage rule, so that the first trigger request indicates the device linkage rule;
[0046] The fifth sending module is used to send the first trigger request to the second server device, so that the second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
[0047] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned device linkage methods is implemented.
[0048] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the device linkage method described in any one of the above is implemented.
[0049] The device linkage method, apparatus, system, electronic device and storage medium provided by the present invention, a first server-side device receives a linkage trigger request sent by a second server-side device, determines a device linkage rule to be triggered based on the linkage trigger request, and then determines at least one device to be controlled and a control instruction corresponding to each device to be controlled based on the device linkage rule, and then sends each control instruction to the corresponding device to be controlled, thereby realizing a device linkage triggering method that does not rely on a gateway device; and a first generation method of the linkage trigger request is that the second server-side device generates the linkage trigger request based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device, so that when the first client is close to the second client, that is, when near field communication is realized, the second client device can obtain the device linkage information stored in the first client device. The invention discloses a method for generating a linkage trigger request, and a method for triggering a local device linkage based on near field communication is provided, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the triggering method is not affected by the external environment, thereby improving the accuracy of the device linkage; and the second generation method of the linkage trigger request is generated by the second server device based on the second trigger request sent by the first client device, and the second trigger request is triggered based on the voice communication method between the first client device and the second server device, so that when the first client device and the second server device are in a voice communication state, the user can trigger the second trigger request on the first client device, thereby realizing the cloud-based trigger device linkage method based on voice communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the triggering method is not affected by the external environment, thereby improving the accuracy of the device linkage. In addition, through the two generation methods of the above-mentioned linkage trigger request, two triggering methods of device linkage can be realized, namely, the dual triggering methods of near field communication and voice communication, so that the device linkage can be realized flexibly and conveniently, and a more comprehensive and complete triggering method can be realized, thereby improving the user experience. In summary, the present invention can be triggered by the user to actively choose to trigger the device linkage, improve the user experience, and improve the accuracy of the device linkage. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 One of the flow charts of the device linkage method provided by the present invention;
[0052] Figure 2 The second flowchart of the device linkage method provided by the present invention;
[0053] Figure 3 The third flowchart of the device linkage method provided by the present invention;
[0054] Figure 4 The fourth flowchart of the device linkage method provided by the present invention;
[0055] Figure 5 The fifth flowchart of the device linkage method provided by the present invention;
[0056] Figure 6 The sixth flowchart of the device linkage method provided by the present invention;
[0057] Figure 7 The seventh flowchart of the device linkage method provided by the present invention;
[0058] Figure 8 One of the structural schematic diagrams of the equipment linkage device provided by the present invention;
[0059] Fig. 9 The second structural schematic diagram of the equipment linkage device provided by the present invention;
[0060] Fig.10 The third structural schematic diagram of the equipment linkage device provided by the present invention;
[0061] Fig.11 The fourth structural diagram of the equipment linkage device provided by the present invention;
[0062] Fig.12 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] With the rapid development of IoT technology, more and more smart devices are linked. For example, in smart home application scenarios, as smart home life continues to become intelligent, smart home devices in home scenarios are no longer separate individuals, but form a whole with the house as the carrier, that is, a set of equipment. With the development of user cognition and the advancement of IoT technology, users hope to have a smarter and more convenient way to control equipment. Therefore, through the centralized management and intelligent linkage of home smart devices, a more comfortable, safe and energy-saving family life can be achieved.
[0065] Among them, device linkage refers to triggering conditions and triggering the coordinated response of multiple devices based on preset device linkage rules to achieve device linkage and intelligent control. The device linkage process is very important for user experience, so it is necessary to optimize the device linkage method.
[0066] At present, device linkage is to control multiple devices to perform device linkage through the state changes of IoT sensors, or to control multiple devices to perform device linkage through changes in factors such as time and weather. However, the above methods are greatly affected by the external environment, and the triggering conditions may cause misjudgment and misjudgment, thereby reducing the accuracy of device linkage, and the user cannot actively choose to trigger, thereby affecting the user experience. In other words, in the prior art, IoT sensors provide users with device linkage services by performing device linkage based on situational awareness technology, or by reasoning linkage through IoT systems.
[0067] For example, the smart home device reports status data information, and the protocol device captures the status data information reported by the above device and converts it into parseable data to determine whether the trigger condition is met to trigger the device linkage, thereby realizing the intelligent linkage control of the device, as shown in CN113885348A-A smart linkage method for smart home devices. However, it sets the state change of the smart device as the trigger condition, and the overall device linkage can only be triggered by the state change of a single or multiple devices, which has strong limitations, and the device linkage mode cannot be triggered by the user's active selection.
[0068] For another example, by real-time monitoring of the environment of the application scenario, including time conditions and / or weather changes, etc., it is determined whether the environmental parameters meet the trigger conditions. If the trigger conditions are met, the corresponding application scenario is triggered and the device linkage is performed. For details, see CN111459043A-A method, device, and storage medium for triggering smart home application scenarios. However, it sets the time and weather status changes as trigger conditions. Due to the large changes affected by the external environment, the triggering of device linkage may cause misjudgment and misjudgment, and the user still cannot actively choose to trigger.
[0069] For another example, through the QR code data writing technology, the QR code is used to trigger the linkage of smart home appliances. Users can independently configure the corresponding linkage rules, generate the corresponding QR code, and realize the trigger mechanism of smart device linkage by scanning the QR code. For details, see CN107070759A-Method and system for triggering the linkage of smart home appliances. However, it can solve the problem of user active triggering by triggering the preset device linkage rules by scanning the QR code, but scanning the QR code and parsing the QR code cannot be separated from the support of APP (Application). Changing the mobile phone also requires re-downloading the APP, which is not flexible enough.
[0070] For another example, by storing linkage task trigger conditions and execution instructions through the server and gateway terminal, the smart home smart service can still be continued in the case of network disconnection, see CN114115069A-A cloud-local combined linkage method and system. However, its local triggering is forced to rely on the matching local gateway. If the user does not have the corresponding gateway device, the device linkage cannot be completed.
[0071] In view of the above problems, the present invention proposes the following embodiments. Figure 1 One of the flow charts of the device linkage method provided by the present invention is as follows: Figure 1 As shown, the device linkage method applied to the first server device includes:
[0072] Step 110: Receive a linkage trigger request sent by the second server device.
[0073] The linkage trigger request may be generated in at least one of the following ways:
[0074] The first client device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device;
[0075] The first server device stores the device linkage rule, and the linkage trigger request is generated by the second server device based on a second trigger request sent by the first client device, and the second trigger request is triggered based on a voice communication method between the first client device and the second server device.
[0076] Here, the first server device is a server of device linkage, and the first server device is a main service platform that carries the device linkage function, that is, a linkage control platform of each device to be controlled.
[0077] Here, the second server device is a device that interacts with the first client device and the second client device, and is used to forward the triggering request of the first client device and the second client device to the first server device.
[0078] Here, the first client device is a user terminal device, which may include but is not limited to: a smart phone, a tablet computer, etc. Further, the first client device is a device that the user can carry with him / her.
[0079] Here, the second client device is a device bound to the second server device, the second client device is used by the user, and the second client device is mainly used to trigger device linkage.
[0080] Here, the linkage trigger request is used to request the first server device to trigger device linkage. The first trigger request is used to request the first server device to trigger device linkage, but the first trigger request is not sent directly from the second client device to the first server device, but is forwarded and processed by the second server device. The second trigger request is used to request the first server device to trigger device linkage, but the second trigger request is not sent directly from the first client device to the first server device, but is forwarded and processed by the second server device.
[0081] Here, the device linkage rule is the linkage rule of each device to be controlled. For example, the device linkage rule is "turn on the living room light, set the room light brightness to 100, and turn on the air conditioner".
[0082] The first method of generating the linkage trigger request is as follows: for the second server device, before the above step 110, the second server device receives the first trigger request sent by the second client device, and generates a linkage trigger request based on the first trigger request.
[0083] The first trigger request is generated as follows: for the second client device, the second client device receives the device linkage rule sent by the first client device, and generates the first trigger request based on the device linkage rule, so that the first trigger request indicates that there is a device linkage rule.
[0084] For the first client device, if the first client device obtains the rule acquisition instruction sent by the second client device, the device linkage rule stored in the first client device is sent to the second client device. In other words, when the first client and the second client are close to each other, that is, when near field communication is realized, the second client device can obtain the device linkage rule stored in the first client device, thereby realizing the local trigger device linkage method based on near field communication.
[0085] The second way to generate the linkage trigger request is as follows: for the second server device, before the above step 110, the second server device receives the second trigger request sent by the first client device, and generates a linkage trigger request based on the second trigger request.
[0086] For the first client device, if the first client device and the second server device are in voice communication state, the first client device obtains the second trigger request and sends the second trigger request to the second server device. In other words, when the first client device and the second server device are in voice communication state, the user can trigger the second trigger request on the first client device, thereby realizing the cloud-triggered device linkage method based on voice communication.
[0087] It is understandable that through the two ways of generating the linkage trigger request, two triggering modes of device linkage can be realized, namely, the dual triggering mode of near field communication and voice communication, and then the user can actively choose to trigger, thereby improving the user experience, and can flexibly and conveniently realize device linkage, realize a more comprehensive and complete triggering mode, thereby improving the user experience. Moreover, the above two triggering modes are not affected by the external environment, thereby improving the accuracy of device linkage.
[0088] Step 120: Determine the device linkage rule to be triggered based on the linkage trigger request.
[0089] Specifically, when the linkage trigger request is generated based on the first trigger request, the device linkage rule indicated by the linkage trigger request is obtained. When the linkage trigger request is generated based on the second trigger request, the device linkage rule stored in the first server device is obtained based on the linkage trigger request.
[0090] Step 130: Determine at least one device to be controlled and a control instruction corresponding to each device to be controlled based on the device linkage rule.
[0091] Among them, any of the devices to be controlled corresponds to at least one of the control instructions.
[0092] Here, the device linkage rule includes information of each device to be controlled and control instruction information corresponding to each device to be controlled. For example, if the device linkage rule is "turn on the living room light, set the room light brightness to 100, and turn on the air conditioner", then the devices to be controlled include the living room light, the room light, and the air conditioner. The control instruction corresponding to the living room light is turn on, the control instruction corresponding to the room light is set the brightness to 100, and the control instruction corresponding to the air conditioner is turn on.
[0093] Step 140: Send each of the control instructions to the corresponding device to be controlled.
[0094] Exemplarily, the device linkage rule is "turn on the living room light, set the room light brightness to 100, and turn on the air conditioner". Then the control instructions corresponding to the living room light are sent to the living room light, the control instructions corresponding to the room light are sent to the room light, and the control instructions corresponding to the air conditioner are sent to the air conditioner.
[0095] In one embodiment, before the above step 140, each device to be controlled is connected to the first server device, that is, each device to be controlled is bound to the first server device, so that each device to be controlled maintains a long connection with the first server device, thereby ensuring the interaction between the two. Further, the first server device can manage each device to be controlled under the user name through a long connection.
[0096] In the device linkage method provided by the embodiment of the present invention, a first server device receives a linkage trigger request sent by a second server device, determines a device linkage rule to be triggered based on the linkage trigger request, and then determines at least one device to be controlled and a control instruction corresponding to each device to be controlled based on the device linkage rule, and then sends each control instruction to the corresponding device to be controlled, thereby realizing a device linkage triggering method that does not rely on a gateway device; and a first generation method of the linkage trigger request is that the second server device generates the linkage trigger request based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device, so that when the first client and the second client are close to each other, that is, when near field communication is realized, the second client device can obtain the device linkage rule stored in the first client device. Then realize the local trigger device linkage mode based on near field communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the trigger mode is not affected by the external environment, thereby improving the accuracy of device linkage; and the second generation mode of the linkage trigger request is generated by the second server device based on the second trigger request sent by the first client device, and the second trigger request is triggered based on the voice communication mode between the first client device and the second server device, so that the first client device and the second server device are in a voice communication state, and the user can trigger the second trigger request on the first client device, thereby realizing the cloud-based trigger device linkage mode based on voice communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the trigger mode is not affected by the external environment, thereby improving the accuracy of device linkage. In addition, through the two generation modes of the above-mentioned linkage trigger request, two trigger modes of device linkage can be realized, namely the dual trigger mode of near field communication and voice communication, so that the device linkage can be flexibly and conveniently realized, and a more comprehensive and complete trigger mode can be realized, thereby improving the user experience. In summary, the present invention can be triggered by the user to actively choose to trigger the device linkage, improve the user experience, and improve the accuracy of device linkage.
[0097] Based on any of the above embodiments, in the method, when the linkage trigger request is generated based on the second trigger request, the step 120 includes:
[0098] Based on the rule identification information indicated by the linkage trigger request, the device linkage rule stored in the first server device is obtained.
[0099] Here, the rule identification information is used to uniquely identify the device linkage rule, for example, it is an ID.
[0100] Specifically, the linkage trigger request indicates rule identification information, so as to determine the device linkage rule corresponding to the rule identification information from at least one linkage rule stored in the first server device.
[0101] In one embodiment, the device linkage rule may include rule identification information so as to obtain the device linkage rule corresponding to the rule identification information. In another embodiment, the device linkage rule does not include rule identification information so as to synchronously generate the rule identification information when the device linkage rule is stored in the first server device and form a mapping.
[0102] The device linkage method provided by the embodiment of the present invention accurately obtains the device linkage rule stored in the first server device based on the rule identification information indicated by the linkage trigger request, thereby further improving the accuracy of the device linkage.
[0103] Based on any of the above embodiments, the present invention further provides a device linkage method, which is applied to a second server device. Figure 2 The second flow chart of the device linkage method provided by the present invention is as follows: Figure 2 As shown, the method includes:
[0104] Step 210: receiving a trigger request, where the trigger request includes a first trigger request sent by a second client device, or a second trigger request sent by a first client device.
[0105] The first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; and the second trigger request is triggered based on the voice communication method between the first client device and the second server device.
[0106] In the case where the trigger request includes the first trigger request, for the second client device, before the above step 210, the second client device receives the device linkage rule sent by the first client device, and generates a first trigger request based on the device linkage rule, so that the first trigger request indicates that there is a device linkage rule.
[0107] For the first client device, if the first client device obtains the rule acquisition instruction sent by the second client device, the device linkage rule stored in the first client device is sent to the second client device. In other words, when the first client and the second client are close to each other, that is, when near field communication is realized, the second client device can obtain the device linkage rule stored in the first client device, thereby realizing the local trigger device linkage method based on near field communication.
[0108] In the case where the trigger request includes the second trigger request, for the first client device, if the first client device and the second server device are in voice communication, the first client device obtains the second trigger request and sends the second trigger request to the second server device. In other words, when the first client device and the second server device are in voice communication, the user can trigger the second trigger request on the first client device, thereby realizing the cloud-triggered device linkage method based on voice communication.
[0109] Step 220: Generate a linkage trigger request based on the trigger request.
[0110] In one embodiment, the trigger request is directly used as a linkage trigger request.
[0111] In another embodiment, the trigger request is further processed to obtain a linkage trigger request.
[0112] Step 230, sending the linkage trigger request to the first server device, so that the first server device determines the device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule;
[0113] For the first server device, after the above step 230, the first server device receives the linkage trigger request sent by the second server device, determines the device linkage rule to be triggered based on the linkage trigger request, determines at least one device to be controlled and the control instructions corresponding to each device to be controlled based on the device linkage rule, and sends each control instruction to the corresponding device to be controlled.
[0114] In the device linkage method provided by the embodiment of the present invention, the second server-side device receives the trigger request, generates a linkage trigger request based on the trigger request, and then sends the linkage trigger request to the first server-side device, so that the first server-side device determines the device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule, thereby realizing a device linkage triggering method that does not rely on the gateway device; and the trigger request includes a first trigger request sent by the second client device, or a second trigger request sent by the first client device, the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device, so that when the first client and the second client are close to each other, that is, when near field communication is realized, the second client device can obtain the first client device. The device linkage rules stored in the client device can realize the local triggering device linkage mode based on near field communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the triggering mode is not affected by the external environment, thereby improving the accuracy of the device linkage; and the second trigger request is triggered based on the voice communication mode between the first client device and the second server device, so that when the first client device and the second server device are in a voice communication state, the user can trigger the second trigger request on the first client device, thereby realizing the cloud-triggered device linkage mode based on voice communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the triggering mode is not affected by the external environment, thereby improving the accuracy of the device linkage. In addition, through the two triggering modes of the above-mentioned device linkage, namely the dual triggering mode of near field communication and voice communication, the device linkage can be realized flexibly and conveniently, and a more comprehensive and complete triggering mode can be realized, thereby improving the user experience. In summary, the present invention can be triggered by the user to actively choose to trigger the device linkage, improve the user experience, and improve the accuracy of the device linkage.
[0115] Based on any of the above embodiments, the first client device is installed with a super SIM card, the second client device is a near field communication NFC scanning device, and the second server device is a server device belonging to an operator.
[0116] Accordingly, in the case where the trigger request includes the first trigger request, the above step 210 includes:
[0117] Receive the first trigger request sent by the second client device.
[0118] The first trigger request is generated by the second client device based on the device linkage rule sent by the super SIM card, and the second client device obtains the device linkage rule stored in the super SIM card through an NFC scanning function.
[0119] Here, the super SIM card is the operator's SIM card. The super SIM card is a hardware carrier for the operator to authenticate the user's identity, and it provides more comprehensive security for the network access authentication on the terminal side. Furthermore, the super SIM card provides multiple application spaces for partners to develop third-party applications, and is a high-security, high-quality container for carrying various application scenarios. In one embodiment, the super SIM card is based on the NFC-USIM card security chip, which has the characteristics of high security and openness. It empowers thousands of industries through a "one-card solution".
[0120] It is understandable that due to the ease of use of the super SIM card, device linkage operations are safer and faster, and the threshold and learning cost for users to use smart devices are greatly reduced, making it easier to drive sales of smart devices in ordinary households. The convenient linkage capability further increases users' internal motivation to purchase smart devices as a set, thereby increasing the overall market share of smart devices.
[0121] Here, the NFC (Near Field Communication) scanning device has an NFC scanning function, so that the device linkage rules stored in the super SIM card are obtained through the NFC scanning function. It should be noted that NFC is an emerging technology. Devices using NFC technology can exchange data when they are close to each other, which has the advantages of fast speed and high security.
[0122] For the second client device, before receiving the first trigger request sent by the second client device, the second client device obtains the device linkage rule stored in the super SIM card through the NFC scanning function.
[0123] For the first client device, before receiving the first trigger request sent by the second client device, if the first client device obtains the rule acquisition instruction sent by the second client device, the first client device sends the device linkage rule stored in the super SIM card to the second client device.
[0124] In one embodiment, the super SIM card provides NFC interface capabilities for third-party applications. The third-party applications collaborate with the super SIM card through the SWP (Single Wire Protocol) interface to implement a near-field sensing card swiping function, so that the user can scan the first client device through the second client device to trigger device linkage.
[0125] Exemplarily, a third-party application is pre-loaded in the super SIM card. After the second client device scans the super SIM card, the second client device obtains the device linkage rule, and the second client device starts to send a first trigger request to the second server device.
[0126] In one embodiment, the second server device includes an operator TSM (Trusted Service Manager) platform, so that the second client device sends the first trigger request to the TSM platform. Among them, the TSM platform has both credibility and openness. It is an open platform for third-party applications and the basis for NFC to implement various card swiping applications. After applying for a third-party application in the TSM platform, the TSM platform can remotely call the third-party platform. In the present invention, after receiving the first trigger request, the TSM platform triggers the linkage behavior by calling the first server device.
[0127] For ease of understanding, a specific embodiment is used for illustration. Figure 3 As shown, the device linkage method includes:
[0128] Step 310: The second client device scans the super SIM card.
[0129] Step 320: The second client device obtains the device linkage rules stored locally on the super SIM card.
[0130] Step 330: The second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device.
[0131] Step 340: The second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
[0132] In the device linkage method provided by the embodiment of the present invention, the first trigger request is generated by the second client device based on the device linkage rule sent by the super SIM card, and the second client device obtains the device linkage rule stored in the super SIM card through the NFC scanning function, so that when the first client and the second client are close to each other, that is, when near field communication is realized, the second client device can obtain the device linkage rule stored in the super SIM card, thereby realizing a local trigger device linkage mode based on near field communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the trigger mode is not affected by the external environment, thereby improving the accuracy of device linkage. At the same time, the one-card solution of the super SIM card is used to provide basic capabilities for device linkage, so that in the scenario where the user has not installed a third-party APP, or in the scenario where the mobile phone is changed, the super SIM card can be directly used to migrate the device linkage capability, so as to realize a more convenient device linkage mode for the user, thereby further improving the user experience; in other words, the present invention can use the device linkage function without a specific APP, because the device linkage rule is stored in the file system of the super SIM card, once the device linkage rule is set, no specific APP needs to be involved, thereby improving the flexibility of device linkage. In addition, since the device linkage rules are stored in the super SIM card, they do not change with the change of the first client device. That is, when the SIM card is installed in the new first client device, the same device linkage function can be used immediately and completely, so that the replacement of the first client device does not affect the device linkage function, thereby further improving the user experience. In addition, the triggering method of the device linkage can also be used when the first client device has no network. In addition, the identity authentication capability of the super SIM card can be used to authenticate the legitimacy of the user, thereby improving the security of device linkage.
[0133] Based on any of the above embodiments, the second server device is a server device belonging to an operator. Accordingly, in the case where the trigger request includes the second trigger request, the above step 210 includes:
[0134] During the voice communication between the first client device and the second server device, the second trigger request sent by the first client device is received, where the second trigger request is triggered based on a shortcut triggering method of the dial pad.
[0135] It should be noted that the voice communication between the first client device and the second server device is implemented based on the operator's voice service, which is a traditional operator value-added service.
[0136] Exemplarily, the first client device establishes voice telephone communication with the second server device by dialing a pre-applied customer service hotline, so that the user can generate a second trigger request through a shortcut of a dial pad button on the first client device to send the second trigger request to the second server device.
[0137] In one embodiment, the second server device includes a voice platform, and the second trigger request is sent to the voice platform.
[0138] Furthermore, the second server device first verifies whether the user is legitimate, and if the user is legitimate, receives the second trigger request sent by the first client device. For example, the second server device verifies the legitimacy of the first client device with which it has voice communication.
[0139] For the first client device, before receiving the second trigger request sent by the first client device, a key shortcut instruction on the dial pad is obtained; and a second trigger request is generated based on the key shortcut instruction.
[0140] For ease of understanding, a specific embodiment is used for illustration. Figure 4 As shown, the device linkage method includes:
[0141] Step 410: The first client device dials a fixed voice phone to establish a voice communication connection with the second server device.
[0142] Step 420: The first client device sends a second trigger request to the second server device.
[0143] Step 430: The second server device generates a linkage trigger request based on the second trigger request, and sends the linkage trigger request to the first server device.
[0144] Step 440: The first server device searches for a device linkage rule stored in the first server device based on the linkage trigger request.
[0145] The device linkage method provided by the embodiment of the present invention receives a second trigger request sent by the first client device during voice communication between the first client device and the second server device. The second trigger request is triggered based on a quick trigger method of the dial pad, so that when the first client device and the second server device are in a voice communication state, the user can trigger the second trigger request on the first client device, thereby realizing a cloud-triggered device linkage method based on voice communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the trigger method is not affected by the external environment, thereby improving the accuracy of the device linkage. At the same time, in the scenario where the user has not installed a third-party APP, or has changed the mobile phone, a voice call can be made directly to realize a more convenient device linkage method for the user, thereby further improving the user experience; in other words, the present invention can use the device linkage function without a specific APP, because the device linkage rules are stored in the first server device, once the device linkage rules are set, no specific APP is required to participate, thereby improving the flexibility of the device linkage. In addition, since the device linkage rules are stored in the first server device, they do not change with the change of the first client device, thereby realizing that the replacement of the first client device does not affect the device linkage function, thereby further improving the user experience. In addition, when the first client device has no network, the triggering method of the device linkage can also be used.
[0146] Based on any of the above embodiments, the present invention further provides a device linkage method, which is applied to a first client device. Figure 5 The fifth flow chart of the device linkage method provided by the present invention is as follows: Figure 5 As shown, the method includes:
[0147] Step 510, if a rule acquisition instruction sent by the second client device is obtained, the device linkage rule stored in the first client device is sent to the second client device, so that the second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device.
[0148] For the second client device, before the above step 510, the second client device sends a rule acquisition instruction to the first client device.
[0149] Step 520, if the first client device and the second server device are in a voice communication state, obtain a second trigger request, and send the second trigger request to the second server device, so that the second server device generates a linkage trigger request based on the second trigger request, and sends the linkage trigger request to the first server device.
[0150] Here, the voice communication between the first client device and the second server device can be implemented based on the voice service of the operator, or based on other voice communication methods. The second trigger request can be triggered by the user on the first client device.
[0151] It is understandable that if the user is in a local scenario, the first device linkage triggering method related to step 510 can be used; if the user is not in a local scenario, the second device linkage triggering method related to step 520 can be used, that is, the cloud-based device linkage triggering method can be used. For example, in a local environment, the device linkage request is forwarded by the operator's TSM platform by scanning the super SIM card through NFC near field; in a cloud environment, the device linkage request is forwarded by the voice platform by making a voice call.
[0152] The device linkage method provided by the embodiment of the present invention, if a rule acquisition instruction sent by the second client device is obtained, the device linkage rule stored in the first client device is sent to the second client device; if the first client device and the second server device are in a voice communication state, a second trigger request is obtained, and the second trigger request is sent to the second server device, so as to realize a device linkage trigger mode that does not rely on a gateway device; and the second client device generates a first trigger request based on the device linkage rule, so that when the first client and the second client are close to each other, that is, when near field communication is realized, the second client device can obtain the device linkage rule stored in the first client device, thereby realizing a device linkage trigger mode based on near field communication. The local trigger device linkage mode can be selected by the user to trigger the device linkage, thereby improving the user experience, and the trigger mode is not affected by the external environment, thereby improving the accuracy of the device linkage; and the first client device obtains the second trigger request, and sends the second trigger request to the second server device, so that when the first client device and the second server device are in a voice communication state, the user can trigger the second trigger request on the first client device, thereby realizing the cloud-based trigger device linkage mode based on voice communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the trigger mode is not affected by the external environment, thereby improving the accuracy of the device linkage. In addition, through the two trigger modes of the above-mentioned device linkage, namely the dual trigger mode of near-field communication and voice communication, the device linkage can be realized flexibly and conveniently, and a more comprehensive and complete trigger mode can be realized, thereby improving the user experience. In summary, the present invention can be selected by the user to trigger the device linkage, thereby improving the user experience and improving the accuracy of the device linkage.
[0153] Based on any of the above embodiments, the first client device is installed with a super SIM card, the second client device is a near field communication NFC scanning device, and the second server device is a server device belonging to an operator. Accordingly, the above step 510 includes:
[0154] The device linkage rule stored in the super SIM card is sent to the second client device.
[0155] The rule acquisition instruction is triggered by an NFC scanning function of the second client device.
[0156] For the second client device, the second client device obtains the device linkage rule stored in the super SIM card through the NFC scanning function.
[0157] The device linkage method provided by the embodiment of the present invention sends the device linkage rules stored in the super SIM card to the second client device, and the rule acquisition instruction is triggered by the NFC scanning function of the second client device, so that when the first client and the second client are close to each other, that is, when near field communication is realized, the second client device can obtain the device linkage rules stored in the super SIM card, thereby realizing a local trigger device linkage method based on near field communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the triggering method is not affected by the external environment, thereby improving the accuracy of device linkage. At the same time, the one-card solution of the super SIM card is used to provide basic capabilities for device linkage, so that in the scenario where the user has not installed a third-party APP, or in the scenario where the mobile phone is changed, the super SIM card can be directly used to migrate the device linkage capability, so as to realize a more convenient device linkage method for the user, thereby further improving the user experience; in other words, the present invention can use the device linkage function without a specific APP. Since the device linkage rules are stored in the file system of the super SIM card, once the device linkage rules are set, no specific APP needs to be involved, thereby improving the flexibility of device linkage. In addition, since the device linkage rules are stored in the super SIM card, they do not change with the change of the first client device. That is, when the SIM card is installed in the new first client device, the same device linkage function can be used immediately and completely, so that the replacement of the first client device does not affect the device linkage function, thereby further improving the user experience. In addition, the triggering method of the device linkage can also be used when the first client device has no network. In addition, the identity authentication capability of the super SIM card can be used to authenticate the legitimacy of the user, thereby improving the security of device linkage.
[0158] Based on any of the above embodiments, the second server device is a server device of an operator. Accordingly, in the above step 520, obtaining the second trigger request includes:
[0159] Get the shortcuts for the buttons on the dial pad;
[0160] A second trigger request is generated based on the key shortcut instruction.
[0161] It should be noted that the voice communication between the first client device and the second server device is implemented based on the operator's voice service, which is a traditional operator value-added service.
[0162] Exemplarily, the first client device establishes voice telephone communication with the second server device by dialing a pre-applied customer service hotline, so that the user can generate a second trigger request through a key shortcut command on the dial pad of the first client device.
[0163] The device linkage method provided by the embodiment of the present invention obtains the key shortcut instruction on the dial pad, generates a second trigger request based on the key shortcut instruction, so that when the first client device and the second server device are in a voice communication state, the user can trigger the second trigger request on the first client device, thereby realizing the cloud-triggered device linkage mode based on voice communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the triggering mode is not affected by the external environment, thereby improving the accuracy of device linkage. At the same time, in the scenario where the user has not installed a third-party APP, or the scenario where the mobile phone is changed, a voice call can be made directly to realize a more convenient device linkage mode for the user, thereby further improving the user experience; in other words, the present invention can use the device linkage function without a specific APP, because the device linkage rules are stored in the first server device, once the device linkage rules are set, no specific APP is required to participate, thereby improving the flexibility of device linkage. In addition, since the device linkage rules are stored in the first server device, they do not change with the change of the first client device, thereby realizing that the replacement of the first client device does not affect the device linkage function, thereby further improving the user experience. In addition, the triggering mode of the device linkage can also be used when the first client device has no network.
[0164] Based on any of the above embodiments, before the above step 510, the method further includes:
[0165] Obtaining a rule editing instruction, and generating the device linkage rule based on the rule editing instruction;
[0166] The device linkage rule is stored in the first client device, and the device linkage rule is stored in the first server device.
[0167] Here, the rule editing instruction is triggered by the user. Exemplarily, the user uses a third-party proprietary service APP to edit the device linkage rule, so that the first client device generates a rule editing instruction.
[0168] Furthermore, the device linkage rules are stored in the super SIM card deployed in the first client device, so as to utilize the multi-application space capability provided by the super SIM card to store the user-defined device linkage rules.
[0169] In some embodiments, the device linkage rule includes two major elements: a user unique identifier userId and device linkage behaviors actions.
[0170] In one embodiment, the user unique identifier userId is the unique identifier of the user. 3GPP (3rd Generation Partnership Project) defines a general user authentication mechanism GBA (General Bootstrapping Architecture) to provide device identification to third parties in a consistent manner, so userId can be directly provided by the identity authentication service of the super SIM card.
[0171] In one embodiment, device linkage behavior actions is a collection of specific device linkage behaviors, which includes the device unique identifier deviceId, device control instructions controlParameter, such as switch switch, brightness brightness, mode mode, etc., device control values controlValue, such as on / off, brightness value 0-100, energy saving mode / automatic mode economic / auto, etc.
[0172] In one embodiment, while obtaining the rule editing instruction, a rule unique identifier ruleId corresponding to the device linkage rule is generated.
[0173] For example, the device linkage rules are as follows:
[0174]
[0175]
[0176] The device linkage method provided in the embodiment of the present invention generates a device linkage rule based on a rule editing instruction, so that the user can customize the device linkage rule, thereby improving the personalization level of the device linkage, thereby improving the user experience. In addition, the device linkage rule is stored in the first client device, and the device linkage rule is stored in the first server device, so that two device linkage triggering modes can be realized, namely, a dual triggering mode of near field communication and voice communication, so that the device linkage can be realized flexibly and conveniently, and a more comprehensive and complete triggering mode can be realized, thereby improving the user experience.
[0177] Based on any of the above embodiments, the present invention further provides a device linkage method, which is applied to a second client device. Figure 6 The sixth flow chart of the device linkage method provided by the present invention is as follows: Figure 6 As shown, the method includes:
[0178] Step 610: receiving a device linkage rule sent by a first client device.
[0179] For the first client device, before the above step 610, if the first client device obtains the rule acquisition instruction sent by the second client device, the device linkage rule stored in the first client device is sent to the second client device.
[0180] Step 620: Generate a first trigger request based on the device linkage rule, so that the first trigger request indicates the device linkage rule.
[0181] Step 630: Send the first trigger request to the second server device, so that the second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
[0182] Specifically, the second server device generates a linkage trigger request based on the first trigger request, so that the linkage trigger request indicates the device linkage rule.
[0183] The device linkage method provided by the embodiment of the present invention receives a device linkage rule sent by a first client device, generates a first trigger request based on the device linkage rule, so that the first trigger request indicates that there is a device linkage rule, and sends the first trigger request to the second server device, thereby realizing a device linkage triggering method that does not rely on a gateway device; the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device, so that when the first client and the second client are close to each other, that is, when near-field communication is realized, the second client device can obtain the device linkage rule stored in the first client device, thereby realizing a local triggering device linkage method based on near-field communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the triggering method is not affected by the external environment, thereby improving the accuracy of device linkage.
[0184] Based on any of the above embodiments, the first client device is installed with a super SIM card, the second client device is a near field communication NFC scanning device, and the second server device is a server device belonging to an operator. Accordingly, the above step 610 includes:
[0185] The device linkage rules stored in the super SIM card are obtained through the NFC scanning function.
[0186] For the super SIM card, if the super SIM card obtains the rule acquisition instruction sent by the second client device, the super SIM card sends the device linkage rule stored in the super SIM card to the second client device. In one embodiment, the device linkage rule is stored in the application space of the super SIM card.
[0187] The device linkage method provided in the embodiment of the present invention obtains the device linkage rules stored in the super SIM card through the NFC scanning function, so that when the first client and the second client are close to each other, that is, when near field communication is realized, the second client device can obtain the device linkage rules stored in the super SIM card, thereby realizing a local trigger device linkage method based on near field communication, so that the user can actively choose to trigger the device linkage, thereby improving the user experience, and the triggering method is not affected by the external environment, thereby improving the accuracy of device linkage. At the same time, the one-card solution of the super SIM card is used to provide basic capabilities for device linkage, so that in the scenario where the user has not installed a third-party APP, or in the scenario where the mobile phone is changed, the super SIM card can be directly used to migrate the device linkage capability, so as to realize a more convenient device linkage method for the user, thereby further improving the user experience; in other words, the present invention can use the device linkage function without a specific APP. Since the device linkage rules are stored in the file system of the super SIM card, once the device linkage rules are set, no specific APP needs to be involved, thereby improving the flexibility of device linkage. In addition, since the device linkage rules are stored in the super SIM card, they do not change with the change of the first client device. That is, when the SIM card is installed in the new first client device, the same device linkage function can be used immediately and completely, so that the replacement of the first client device does not affect the device linkage function, thereby further improving the user experience. In addition, the triggering method of the device linkage can also be used when the first client device has no network. In addition, the identity authentication capability of the super SIM card can be used to authenticate the legitimacy of the user, thereby improving the security of device linkage.
[0188] To facilitate understanding of the above embodiments, a specific embodiment is used for description. Figure 7 As shown, the device linkage method includes:
[0189] Step 710: Edit device linkage rules.
[0190] Step 720: The storage device linkage rule is stored in the super SIM card installed in the first client device, and the storage device linkage rule is synchronized to the first server device.
[0191] If near field communication is available, then step 730 is executed; otherwise, step 750 is executed.
[0192] Step 730: The second client device scans the super SIM card.
[0193] Step 740: The second client device sends a first trigger request to the second server device.
[0194] Step 750: The first client device makes a fixed voice call.
[0195] Step 760: The first client device sends a second trigger request to the second server device.
[0196] Step 770: The second server device sends a linkage trigger request to the first server device.
[0197] Step 780: The first server device sends a control instruction to each device to be controlled.
[0198] Based on the above embodiments, the present invention proposes a cloud-local combined device linkage triggering method. Further, it authenticates the legitimacy of the user through the identity authentication capability of the super SIM card, stores the device linkage rules through the file reading and writing capabilities of the SIM card, triggers the preset device linkage rules through the NFC capability of the super SIM card, and triggers the cloud scene through the SIM card's ability to make voice calls in scenarios where NFC cannot be used, which fully solves the problem of cloud-local combined linkage, so that users can easily trigger device linkage regardless of cloud or local.
[0199] The device linkage system provided by the present invention is described below. The device linkage system described below and the device linkage method described above can be referenced to each other. The device linkage system includes: a first server-side device, a second server-side device, a first client device, and a second client device. When the processor in the first server-side device executes a program, any of the device linkage methods applied to the first server-side device is implemented. When the processor in the second server-side device executes a program, any of the device linkage methods applied to the second server-side device is implemented. When the processor in the first client device executes a program, any of the device linkage methods applied to the first client device is implemented. When the processor in the second client device executes a program, any of the device linkage methods applied to the second client device is implemented.
[0200] The device linkage apparatus provided by the present invention is described below. The device linkage apparatus described below and the device linkage method described above can be referenced to each other.
[0201] Figure 8 One of the structural schematic diagrams of the equipment linkage device provided by the present invention is as follows: Figure 8 As shown, the device linkage device deployed on the first server device includes:
[0202] A first receiving module 810, configured to receive a linkage trigger request sent by a second server device;
[0203] A first determination module 820, configured to determine a device linkage rule to be triggered based on the linkage trigger request;
[0204] A second determination module 830 is used to determine at least one device to be controlled and a control instruction corresponding to each of the devices to be controlled based on the device linkage rule, and any of the devices to be controlled corresponds to at least one of the control instructions;
[0205] A first sending module 840, configured to send each of the control instructions to the corresponding device to be controlled;
[0206] The linkage trigger request may be generated in at least one of the following ways:
[0207] The first client device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device;
[0208] The first server device stores the device linkage rule, and the linkage trigger request is generated by the second server device based on a second trigger request sent by the first client device, and the second trigger request is triggered based on a voice communication method between the first client device and the second server device.
[0209] Fig. 9 The second structural diagram of the equipment linkage device provided by the present invention is as follows: Fig. 9 As shown, the device linkage device deployed on the second server device includes:
[0210] A second receiving module 910, configured to receive a trigger request, wherein the trigger request includes a first trigger request sent by a second client device, or a second trigger request sent by a first client device;
[0211] A first generating module 920, configured to generate a linkage trigger request based on the trigger request;
[0212] The second sending module 930 is used to send the linkage trigger request to the first server device, so that the first server device determines the device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule;
[0213] Wherein, the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device;
[0214] The second trigger request is triggered based on a voice communication method between the first client device and the second server device.
[0215] Fig.10The third structural diagram of the equipment linkage device provided by the present invention is as follows: Fig.10 As shown, the device linkage device deployed on the first client device includes:
[0216] The third sending module 1010 is used to send the device linkage rule stored in the first client device to the second client device if a rule acquisition instruction sent by the second client device is obtained, so that the second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device;
[0217] The fourth sending module 1020 is used to obtain a second trigger request if the first client device and the second server device are in a voice communication state, and send the second trigger request to the second server device, so that the second server device can generate a linkage trigger request based on the second trigger request and send the linkage trigger request to the first server device.
[0218] Fig.11 The fourth structural diagram of the equipment linkage device provided by the present invention is as follows: Fig.11 As shown, the device linkage device deployed on the second client device includes:
[0219] The third receiving module 1110 is used to receive the device linkage rule sent by the first client device;
[0220] A second generating module 1120, configured to generate a first trigger request based on the device linkage rule, so that the first trigger request indicates the device linkage rule;
[0221] The fifth sending module 1130 is used to send the first trigger request to the second server device, so that the second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
[0222] Fig.12 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.12As shown, the electronic device may include: a processor (processor) 1210, a communication interface (Communications Interface) 1220, a memory (memory) 1230 and a communication bus 1240, wherein the processor 1210, the communication interface 1220, and the memory 1230 communicate with each other through the communication bus 1240. The processor 1210 can call the logic instructions in the memory 1230 to execute the device linkage method applied to the first server device, the method comprising: receiving a linkage trigger request sent by the second server device; determining the device linkage rule to be triggered based on the linkage trigger request; determining at least one device to be controlled and the control instructions corresponding to each of the devices to be controlled based on the device linkage rule, and any of the devices to be controlled corresponds to at least one of the control instructions; sending each of the control instructions to the corresponding device to be controlled respectively; wherein the generation method of the linkage trigger request includes at least one of the following: the first client device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; the first server device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the second trigger request sent by the first client device, and the second trigger request is triggered based on the voice communication method between the first client device and the second server device. Or execute a device linkage method applied to a second server-side device, the method comprising: receiving a trigger request, the trigger request comprising a first trigger request sent by a second client device, or a second trigger request sent by a first client device; generating a linkage trigger request based on the trigger request; sending the linkage trigger request to the first server-side device, so that the first server-side device determines a device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule; wherein the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; and the second trigger request is triggered based on a voice communication method between the first client device and the second server-side device.Or executing a device linkage method applied to a first client device, the method comprising: if a rule acquisition instruction sent by a second client device is obtained, sending the device linkage rule stored in the first client device to the second client device, so that the second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device; if the first client device and the second server device are in a voice communication state, obtaining a second trigger request, and sending the second trigger request to the second server device, so that the second server device generates a linkage trigger request based on the second trigger request, and sends the linkage trigger request to the first server device. Or executing a device linkage method applied to a second client device, the method comprising: receiving a device linkage rule sent by a first client device; generating a first trigger request based on the device linkage rule, so that the first trigger request indicates the presence of the device linkage rule; sending the first trigger request to the second server device, so that the second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
[0223] In addition, the logic instructions in the above-mentioned memory 1230 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0224] On the other hand, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to execute the device linkage method applied to the first server device provided by the above methods, the method comprising: receiving a linkage trigger request sent by a second server device; determining a device linkage rule to be triggered based on the linkage trigger request; determining at least one device to be controlled and a control instruction corresponding to each of the devices to be controlled based on the device linkage rule, and any of the devices to be controlled corresponds to at least one of the control instructions; sending each of the control instructions to the corresponding device to be controlled respectively; wherein the generation method of the linkage trigger request includes at least one of the following: the first client device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; the first server device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the second trigger request sent by the first client device, and the second trigger request is triggered based on the voice communication method between the first client device and the second server device. Or the computer program is implemented when executed by the processor to execute the device linkage method provided by the above methods and applied to the second server-side device, the method comprising: receiving a trigger request, the trigger request comprising a first trigger request sent by the second client device, or a second trigger request sent by the first client device; generating a linkage trigger request based on the trigger request; sending the linkage trigger request to the first server-side device, so that the first server-side device determines the device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule; wherein the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; and the second trigger request is triggered based on the voice communication method between the first client device and the second server-side device. Or the computer program is implemented when executed by the processor to execute the device linkage method applied to the first client device provided by the above methods, the method comprising: if a rule acquisition instruction sent by the second client device is obtained, the device linkage rule stored in the first client device is sent to the second client device, so that the second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device; if the first client device and the second server device are in a voice communication state, obtain a second trigger request, and send the second trigger request to the second server device, so that the second server device generates a linkage trigger request based on the second trigger request, and sends the linkage trigger request to the first server device.Or the computer program is implemented when executed by the processor to execute the device linkage method provided by the above methods and applied to the second client device, the method comprising: receiving the device linkage rule sent by the first client device; generating a first trigger request based on the device linkage rule, so that the first trigger request indicates the device linkage rule; sending the first trigger request to the second server device, so that the second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
[0225] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0226] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0227] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A device linkage method, characterized in that: Applied to a first server device, the method includes: Receiving a linkage trigger request sent by a second server device; Based on the linkage trigger request, determining a device linkage rule to be triggered; Based on the device linkage rule, determine at least one device to be controlled and a control instruction corresponding to each of the devices to be controlled, and any of the devices to be controlled corresponds to at least one of the control instructions; Sending each of the control instructions to the corresponding device to be controlled respectively; The linkage trigger request may be generated in at least one of the following ways: The first client device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; The first server device stores the device linkage rule, and the linkage trigger request is generated by the second server device based on a second trigger request sent by the first client device, and the second trigger request is triggered based on a voice communication method between the first client device and the second server device.
2. A device linkage method, characterized in that: Applied to the second server device, the method includes: receiving a trigger request, wherein the trigger request includes a first trigger request sent by a second client device or a second trigger request sent by a first client device; Based on the trigger request, generating a linkage trigger request; Sending the linkage trigger request to the first server device, so that the first server device determines the device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule; Wherein, the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; The second trigger request is triggered based on a voice communication method between the first client device and the second server device.
3. The device linkage method according to claim 2, characterized in that: The first client device is installed with a super SIM card, the second client device is a near field communication NFC scanning device, and the second server device is a server device belonging to an operator; In a case where the trigger request includes the first trigger request, the receiving the trigger request includes: receiving the first trigger request sent by the second client device; The first trigger request is generated by the second client device based on the device linkage rule sent by the super SIM card, and the second client device obtains the device linkage rule stored in the super SIM card through an NFC scanning function.
4. A device linkage method, characterized in that: Applied to a first client device, the method comprises: If a rule acquisition instruction sent by the second client device is obtained, the device linkage rule stored in the first client device is sent to the second client device, so that the second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device; If the first client device and the second server device are in voice communication state, obtain a second trigger request and send the second trigger request to the second server device, so that the second server device generates a linkage trigger request based on the second trigger request and sends the linkage trigger request to the first server device.
5. The device linkage method according to claim 4, characterized in that: The second server device is a server device belonging to an operator; The obtaining of the second trigger request comprises: Get the shortcuts for the buttons on the dial pad; A second trigger request is generated based on the key shortcut instruction.
6. The device linkage method according to claim 4, characterized in that: If a rule acquisition instruction sent by the second client device is obtained, the device linkage rule stored in the first client device is sent to the second client device, which also includes: Obtaining a rule editing instruction, and generating the device linkage rule based on the rule editing instruction; The device linkage rule is stored in the first client device, and the device linkage rule is stored in the first server device.
7. A device linkage method, characterized in that: Applied to a second client device, the method comprises: Receiving a device linkage rule sent by a first client device; Based on the device linkage rule, generating a first trigger request, so that the first trigger request indicates the device linkage rule; The first trigger request is sent to the second server device, so that the second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
8. The device linkage method according to claim 7, characterized in that: The first client device is installed with a super SIM card, the second client device is a near field communication NFC scanning device, and the second server device is a server device belonging to an operator; The receiving the device linkage rule sent by the first client device includes: The device linkage rules stored in the super SIM card are obtained through the NFC scanning function.
9. A device linkage device, characterized in that: Deployed on a first server device, the device includes: A first receiving module, used to receive a linkage trigger request sent by a second server device; A first determination module, configured to determine a device linkage rule to be triggered based on the linkage trigger request; A second determination module is used to determine at least one device to be controlled and a control instruction corresponding to each of the devices to be controlled based on the device linkage rule, and any of the devices to be controlled corresponds to at least one of the control instructions; A first sending module, used for sending each of the control instructions to the corresponding device to be controlled; The linkage trigger request may be generated in at least one of the following ways: The first client device stores the device linkage rule, the linkage trigger request is generated by the second server device based on the first trigger request sent by the second client device, and the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; The first server device stores the device linkage rule, and the linkage trigger request is generated by the second server device based on a second trigger request sent by the first client device, and the second trigger request is triggered based on a voice communication method between the first client device and the second server device.
10. A device linkage device, characterized in that: Deployed on a second server device, the device includes: A second receiving module, configured to receive a trigger request, wherein the trigger request includes a first trigger request sent by a second client device, or a second trigger request sent by a first client device; A first generating module, configured to generate a linkage trigger request based on the trigger request; A second sending module, used for sending the linkage trigger request to the first server device, so that the first server device determines the device linkage rule to be triggered based on the linkage trigger request, and implements device linkage control based on the device linkage rule; Wherein, the first trigger request is generated by the second client device based on the device linkage rule sent by the first client device; The second trigger request is triggered based on a voice communication method between the first client device and the second server device.
11. A device linkage device, characterized in that: Deployed on a first client device, the apparatus comprises: A third sending module is used to send the device linkage rule stored in the first client device to the second client device if a rule acquisition instruction sent by the second client device is obtained, so that the second client device generates a first trigger request based on the device linkage rule, and sends the first trigger request to the second server device; The fourth sending module is used to obtain a second trigger request if the first client device and the second server device are in a voice communication state, and send the second trigger request to the second server device, so that the second server device can generate a linkage trigger request based on the second trigger request, and send the linkage trigger request to the first server device.
12. A device linkage device, characterized in that: Deployed on a second client device, the apparatus comprises: A third receiving module, used to receive the device linkage rule sent by the first client device; A second generating module, configured to generate a first trigger request based on the device linkage rule, so that the first trigger request indicates the device linkage rule; The fifth sending module is used to send the first trigger request to the second server device, so that the second server device generates a linkage trigger request based on the first trigger request, and sends the linkage trigger request to the first server device.
13. A device linkage system, characterized in that: include: A first server device, a second server device, a first client device, and a second client device; The processor in the first server device implements the device linkage method as claimed in claim 1 or 2 when executing the program; The processor in the second server device implements the device linkage method as claimed in any one of claims 3 to 5 when executing the program; The processor in the first client device implements the device linkage method according to any one of claims 6 to 9 when executing the program; When the processor in the second client device executes the program, the device linkage method as claimed in claim 10 or 11 is implemented.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the device linkage method according to any one of claims 1 to 8 is implemented.
15. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the device linkage method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Method and system for triggering linkage of household appliances of smart home
CN107070759A
Method for triggering smart home application scene, device and storage medium
CN111459043A
Intelligent linkage method for intelligent household equipment
CN113885348A
Cloud and local combined linkage method and system
CN114115069A
Linkage control method and device and computer readable storage medium
CN111522251A