Device linkage system, method, module, device and medium

Through the device linkage system in the smart home system, the device data is used to generate command fields and command interfaces to realize intelligent adjustment of multi-device linkage, solving the problem that the smart home system cannot automatically linkage for users according to the current scenario, and improving the accuracy of user experience and scenario settings.

CN115883277BActive Publication Date: 2025-05-09GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211552066.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2025-05-09
Estimated Expiration
2042-12-05

AI Technical Summary

Technical Problem

The smart home system cannot automatically perform intelligent adjustment of device linkage for users according to the current scenario, resulting in users needing to manually set and manage multi-device linkage scenarios, increasing learning costs and operational complexity.

Method used

Through a device linkage system, including a first linkage end, a server, a client and a second linkage end, the device data generates instruction fields and instruction interfaces to realize intelligent adjustment of multi-device linkage. The server creates a linkage interface for multi-linked devices, and the client calls the interface content to realize intelligent adjustment of multi-linked devices.

Benefits of technology

The automatic equipment linkage adjustment of the smart home system is realized, which reduces the user's operational complexity and learning costs, and improves the accuracy and user experience of scene settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115883277B_ABST
    Figure CN115883277B_ABST
Patent Text Reader

Abstract

The present application relates to a device linkage system, method, module, device and medium, wherein the system includes: a first linkage terminal, used to send device data of a first linkage device to a server; a server, used to generate an instruction field and an instruction interface using the device data sent by the first linkage terminal, and send the instruction field to a client through the instruction interface; send the received instruction linkage table to a second linkage terminal; a client, used to receive the instruction field, and use preset linkage conditions to perform instruction mapping on the instruction field, generate an instruction linkage table, and return the instruction linkage table to the server; a second linkage terminal, used to receive and store the instruction linkage table sent by the server. By creating a linkage interface for multiple linkage devices through the server, and using the client to call the interface content, intelligent adjustment of multiple device linkage is achieved, which solves the problem that the home system cannot automatically perform intelligent adjustment of device linkage for users according to the current scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a device linkage system, method, module, device and medium. Background Art

[0002] The automation of scenes is one of the key points of smart home, and the linkage of multiple devices is one of the current research directions of smart home systems. The establishment of scenes requires certain prerequisites as a basis. When users first come into contact with smart home clients, they need to pay a certain learning cost before they can establish linkage scenes. For example, the current client's multi-device linkage usually requires users to first determine the linkage conditions, and then manually set the linkage conditions and the operations that the linkage devices need to perform. The linkage scene can only be activated after the linkage devices meet the conditions. The current home system cannot automatically perform intelligent adjustments for device linkage for users based on the current scene.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The present application provides a device linkage system, method, module, device and medium to solve the above-mentioned technical problem that "the home system cannot automatically perform intelligent adjustment of device linkage for the user according to the current scenario".

[0005] According to one aspect of an embodiment of the present application, the present application provides a device linkage system, including: a first linkage end, used to send device data of a first linkage device to a server; a server, connected to the first linkage end, used to generate an instruction field and an instruction interface using the device data when receiving the device data sent by the first linkage end, and send the instruction field to a client through the instruction interface; when receiving an instruction linkage table returned by the client, sending the instruction linkage table to a second linkage end; a client, connected to the server, used to map the instruction field to the instruction field using a preset linkage condition when receiving the instruction field, and generate an instruction linkage table, and return the instruction linkage table to the server through the instruction interface; a second linkage end, connected to the server, used to receive and store the instruction linkage table sent by the server.

[0006] According to one aspect of an embodiment of the present application, the present application provides a device linkage method, which is applied to a server, including: upon receiving device data sent by a first linkage end, generating an instruction field and an instruction interface using the device data; sending the instruction field to a client through the instruction interface; upon receiving an instruction linkage table returned by the client, sending the instruction linkage table to a second linkage end, so that when the second linkage end receives a linkage request, it controls the second linkage device to perform a target operation corresponding to the linkage request according to the instruction linkage table.

[0007] Optionally, using device data to generate instruction fields and instruction interfaces includes: using a link library to convert device data to obtain target device data; obtaining device startup data and device operation mode of the first linkage device from the target device data; generating an instruction field corresponding to the device startup data and the device operation mode, and generating an instruction interface corresponding to the first linkage device.

[0008] Optionally, sending the instruction linkage table to the second linkage end includes: performing data conversion on the instruction linkage table using a link library to obtain a converted instruction linkage table; and sending the converted instruction linkage table to the second linkage end.

[0009] According to one aspect of an embodiment of the present application, the present application provides a device linkage method, which is applied to a second linkage end, including: receiving and storing a command linkage table sent by a server, wherein the command linkage table is pre-generated by the server through a client; when a linkage request sent by the server is received, determining a target instruction corresponding to the linkage request in the command linkage table; and controlling the second linkage device to perform a target operation corresponding to the target instruction.

[0010] Optionally, determining the target instruction corresponding to the linkage request in the instruction linkage table includes: extracting the linkage instruction from the linkage request, wherein the linkage request carries the linkage instruction, and the linkage instruction is an operation instruction of the first linkage device; and determining the target instruction corresponding to the linkage instruction in the instruction linkage table.

[0011] According to another aspect of an embodiment of the present application, the present application provides a device linkage module, which is applied to a server, including: an instruction generation module, which is used to generate an instruction field and an instruction interface using the device data when receiving device data sent by a first linkage end; a first sending module, which is used to send the instruction field to the client through the instruction interface; a second sending module, which is used to send the instruction linkage table to the second linkage end when receiving the instruction linkage table returned by the client, so that the second linkage end, when receiving the linkage request, controls the second linkage device to perform the target operation corresponding to the linkage request according to the instruction linkage table.

[0012] According to another aspect of an embodiment of the present application, the present application provides a device linkage module, which is applied to a second device end, and includes: an instruction storage module, which is used to receive and store an instruction linkage table sent by a server, wherein the instruction linkage table is pre-generated by the server through a client; an instruction determination module, which is used to determine a target instruction corresponding to the linkage request in the instruction linkage table when a linkage request sent by the server is received; and a control module, which is used to control the second linkage device to perform a target operation corresponding to the target instruction.

[0013] According to another aspect of an embodiment of the present application, the present application provides an electronic device, including a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, the memory and the processor communicate through the communication bus and the communication interface, and the steps of the above method are implemented when the processor executes the computer program.

[0014] According to another aspect of an embodiment of the present application, the present application also provides a computer-readable medium having a non-volatile program code executable by a processor, and the program code enables the processor to execute the above method.

[0015] The above technical solution provided by the embodiment of the present application has the following advantages compared with the related art:

[0016] The present application adopts a device linkage system, including: a first linkage end, used to send the device data of the first linkage device to the server; the server, connected to the first linkage end, used to generate a command field and a command interface using the device data when receiving the device data sent by the first linkage end, and send the command field to the client through the command interface; when receiving the command linkage table returned by the client, the command linkage table is sent to the second linkage end; the client, connected to the server, used to map the command field using the preset linkage conditions when receiving the command field, and generate a command linkage table, and return the command linkage table to the server through the command interface; the second linkage end, connected to the server, is used to receive and store the command linkage table sent by the server. By creating a linkage interface for multiple linkage devices through the server, and using the client to call the interface content, the intelligent adjustment of multiple device linkage is realized, which solves the problem that the home system cannot automatically perform intelligent adjustment of device linkage for users according to the current scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] Figure 1 A schematic diagram of an optional device linkage system provided according to an embodiment of the present application;

[0020] Figure 2 A schematic diagram of another optional device linkage system provided according to an embodiment of the present application;

[0021] Figure 3 A flowchart of an optional device linkage method applied to a server according to an embodiment of the present application;

[0022] Figure 4 A flowchart of an optional device linkage method applied to a second server according to an embodiment of the present application;

[0023] Figure 5 A block diagram of an optional device linkage module applied to a server according to an embodiment of the present application;

[0024] Figure 6 A block diagram of an optional device linkage module applied to a second server according to an embodiment of the present application;

[0025] Figure 7 A schematic diagram of an optional electronic device structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0027] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.

[0028] The automation of scenes is one of the key points of smart home, and the linkage of multiple devices is one of the current research directions of smart home systems. The establishment of scenes requires certain prerequisites as a basis. When users first come into contact with smart home clients, they need to pay a certain learning cost before they can establish linkage scenes. For example, the current client's multi-device linkage usually requires users to first determine the linkage conditions, and then manually set the linkage conditions and the operations that the linkage devices need to perform. The linkage scene can only be activated after the linkage devices meet the conditions. The current home system cannot automatically perform intelligent adjustments for device linkage for users based on the current scene.

[0029] In order to solve the problems mentioned in the background technology, according to one aspect of the embodiment of the present application, a device linkage system is provided, such as Figure 1 As shown, including:

[0030] The first linkage terminal 102 is used to send device data of the first linkage device to the server;

[0031] The server 104 is connected to the first linkage terminal, and is used to generate a command field and a command interface using the device data when receiving the device data sent by the first linkage terminal, and send the command field to the client through the command interface; when receiving the command linkage table returned by the client, send the command linkage table to the second linkage terminal;

[0032] The client 106 is connected to the server and is used to perform instruction mapping on the instruction field using a preset linkage condition when receiving the instruction field, generate an instruction linkage table, and return the instruction linkage table to the server through the instruction interface;

[0033] The second linkage terminal 108 is connected to the server and is used to receive and store the instruction linkage table sent by the server.

[0034] This application is applied to the field of smart home, especially to the field of device linkage. The embodiment provided by this application for illustrating this solution is the intelligent linkage between a multi-split air conditioner and an air purifier. This application is that when the bound multi-split air conditioner turns on the heating mode, if the linked purifier is in the off state, the purifier is turned on to enter the smart and clean linkage, and the purification function of the air purifier is turned on when the air conditioner is turned on in the heating mode. At this time, the effect of air purification will be better; when the bound multi-split air conditioner exits the heating mode or is turned off, if the linked purifier is in the smart and clean linkage, the purifier returns to the off state.

[0035] The first linkage end includes a first linkage device and a first communication end. The first linkage device in the embodiment of the present application is a multi-split air conditioner, and the first communication end is used to exchange data with the server.

[0036] The server includes a link library, which is used to convert the format of the data sent and received by the server.

[0037] The second linkage end includes a second linkage device and a second communication end. In the embodiment of the present application, the second linkage device is an air purifier, and the second communication end is used for data exchange with the server.

[0038] The first linkage device and the second linkage device are devices that perform linkage. In the embodiment of the present application, the second linkage device performs linkage operation according to the operation of the first linkage device.

[0039] The command linkage table includes linkage commands and corresponding target commands, and is used to indicate the commands that the device currently linked to the second linkage end needs to execute.

[0040] Figure 2A schematic diagram of another device linkage system provided for this application. The server and SO library in the figure correspond to the server of this application, the WiFi and multi-link in the figure correspond to the first linkage end of this application, the WiFi and air purifier in the figure correspond to the second linkage end of this application, and the APP in the figure corresponds to the client of this application. During the configuration process of the device linkage system, the APP can create linkage by calling the interface.

[0041] The specific implementation path of this solution is that after the data of the multi-split air conditioner is transmitted to the server through the first communication terminal, the server provides an interface to the client that can create multiple linkages at one time. When the user turns on the linkage switch in the client settings page, the client realizes the linkage between the multi-split and air purifier by calling the interface. The specific linkage method is explained next.

[0042] According to another aspect of the embodiment of the present application, the present application provides a device linkage method, which is applied to a server, such as Figure 3 As shown, including:

[0043] Step 301, when receiving device data sent by the first linkage terminal, generating a command field and a command interface using the device data;

[0044] Step 303, sending the instruction field to the client through the instruction interface;

[0045] Step 305: upon receiving the command linkage table returned by the client, the command linkage table is sent to the second linkage terminal, so that upon receiving the linkage request, the second linkage terminal controls the second linkage device to perform the target operation corresponding to the linkage request according to the command linkage table.

[0046] The server is mainly used for data transfer between the first linkage terminal, the second linkage terminal and the client, as well as some data processing.

[0047] As an optional embodiment, generating an instruction field and an instruction interface using device data includes: using a link library to convert device data to obtain target device data; obtaining device startup data and a device operation mode of a first linkage device from the target device data; generating an instruction field corresponding to the device startup data and the device operation mode, and generating an instruction interface corresponding to the first linkage device.

[0048] Specifically, the device startup data represents whether the device is in a powered-on state (eg, powered-on and not powered-on), and the device operation mode represents the currently enabled operation mode (eg, heating mode and non-heating mode).

[0049] For example, the field name generated for the device startup data in this application is Pow. If the device is in the power-on state, the instruction field is Pow: 1, otherwise it is Pow: not 1; the field name generated for the device operation mode is Mod. If the device operation mode is heating mode, the instruction field is Mod: 1, otherwise it is Mod: not 1. The instruction field can be set according to the specific linkage device, and this application does not make specific limitations on this.

[0050] The server can generate a command interface for each first linkage end. If the number of multi-linked air conditioners or the coverage area is large, additional interfaces can be added. When the client calls the interface, the linkage device corresponding to the interface is started at the same time.

[0051] For example, the link library in this application can be an SO library, which is simply understood as a transit file library for data format conversion. For example, the client can only recognize data in json format, and the two linkage terminals only recognize data in hex format. Then, when the server interacts with the client and the linkage terminal, it needs to convert the data format through the SO library. Specifically, the hex format can be converted to the json format, or the json format can be converted to the hex format.

[0052] Preferably, after sending the instruction field to the client through the instruction interface, the client needs to set the linkage logic for the instruction field according to the linkage requirements.

[0053] For example, the client can use the server's command interface to create two linkages at one time, where linkage 1 precondition: the multi-split air conditioner status simultaneously satisfies the power-on and heating mode (e.g., the fields are Pow: 1, Mod: 1), and the action is executed at this time: the power-on and heating mode fields of the multi-split air conditioner are sent to the air purifier (e.g., AirPow: 1, AirMod: 1); when the multi-split is in the power-on state and in the heating mode, the state change of the multi-split is in a valid state for the operation of the air purifier. At this time, the state change of the multi-split can cause the state of the air purifier to follow the change, thereby realizing that when the multi-split is in the power-on state and in the heating mode, the air purifier is linked to turn on the purification mode.

[0054] At the same time, the server will set linkage 2 again. The prerequisite for linkage 2 is that the status of the multi-split air conditioner does not meet the power-on status and the heating mode at the same time (such as Pow: not 1, Mod: not 1). At this time, the action is executed: send the shutdown and invalid mode fields of the multi-split air conditioner to the air purifier (such as AirPow: 0, AirMod: 0xFFFF); this linkage is to meet the situation in the scene setting that other functional operations of the multi-split will not affect the status change of the purifier. When it is not powered on and in heating mode, the status change of the multi-split is invalid for the operation of the air purifier.

[0055] After setting up the linkage between the multi-split air conditioner and the air purifier, if the user turns on the linkage between the multi-split and air purifier in the APP, the APP can directly call the server's interface to create multiple linkages at one time, thereby achieving the result of the linkage taking effect. When the multi-split is turned on and the heating mode is turned on, the air purifier will be turned on, making the air purification effect better.

[0056] As an optional embodiment, sending the instruction linkage table to the second linkage end includes: using a link library to perform data conversion on the instruction linkage table to obtain a converted instruction linkage table; and sending the converted instruction linkage table to the second linkage end.

[0057] Specifically, the link library in the present application can be an SO library, which is a dynamic link database, which can be simply understood as a transit file library for data format conversion. In the embodiment of the present application, the second linkage end only recognizes data in hex format, so when the server interacts with the client and the linkage end, it needs to convert the data format through the SO library, and convert the json format to hex format.

[0058] According to another aspect of the embodiment of the present application, the present application provides a device linkage method, which is applied to a second linkage end, such as Figure 4 As shown, including:

[0059] Step 401, receiving and storing a command linkage table sent by a server, wherein the command linkage table is pre-generated by the server through a client;

[0060] Step 403, when receiving the linkage request sent by the server, determining the target instruction corresponding to the linkage request in the instruction linkage table;

[0061] Step 405: Control the second linkage device to execute the target operation corresponding to the target instruction.

[0062] In an embodiment of the present application, the second linkage device of the second linkage end is an air purifier.

[0063] After receiving the instruction linkage table sent by the server, the second linkage terminal saves the instruction linkage table, and can determine the target instruction according to the instruction linkage table during linkage.

[0064] As an optional embodiment, determining the target instruction corresponding to the linkage request in the instruction linkage table includes: extracting the linkage instruction from the linkage request, wherein the linkage request carries the linkage instruction, and the linkage instruction is an operation instruction of the first linkage device; determining the target instruction corresponding to the linkage instruction in the instruction linkage table.

[0065] Optionally, the linkage request may carry a linkage instruction, and the instruction linkage table may include a target instruction corresponding to each linkage instruction. Therefore, as long as the linkage instruction is extracted and the corresponding target instruction is found in the linkage instruction table, it is possible to know what operation the second linkage device needs to perform, and then send the target instruction to the second linkage device so that the second linkage device performs the corresponding target operation to complete the linkage.

[0066] This application can improve the user experience and achieve quick and easy scene establishment; improve the accuracy of scene setting by using the device status change as the condition for scene realization. When the condition is met, other devices will be automatically linked to enter the working mode. There is no need for users to make decisions. The system automatically makes decisions to realize the linkage of multiple devices.

[0067] The present application adopts a device linkage system, including: a first linkage end, used to send the device data of the first linkage device to the server; the server, connected to the first linkage end, used to generate a command field and a command interface using the device data when receiving the device data sent by the first linkage end, and send the command field to the client through the command interface; when receiving the command linkage table returned by the client, the command linkage table is sent to the second linkage end; the client, connected to the server, used to map the command field using the preset linkage conditions when receiving the command field, and generate a command linkage table, and return the command linkage table to the server through the command interface; the second linkage end, connected to the server, is used to receive and store the command linkage table sent by the server. By creating a linkage interface for multiple linkage devices through the server, and using the client to call the interface content, the intelligent adjustment of multiple device linkage is realized, which solves the problem that the home system cannot automatically perform intelligent adjustment of device linkage for users according to the current scene.

[0068] According to another aspect of the embodiment of the present application, the present application provides a device linkage module, which is applied to a server, such as Figure 5 As shown, including:

[0069] The instruction generation module 502 is used to generate an instruction field and an instruction interface by using the device data when receiving the device data sent by the first linkage terminal;

[0070] A first sending module 504, configured to send the instruction field to the client via the instruction interface;

[0071] The second sending module 506 is used to send the instruction linkage table to the second linkage end when receiving the instruction linkage table returned by the client, so that the second linkage end controls the second linkage device to perform the target operation corresponding to the linkage request according to the instruction linkage table when receiving the linkage request.

[0072] It should be noted that the instruction generation module 502 in this embodiment can be used to execute step 301 in the embodiment of the present application, the first sending module 504 in this embodiment can be used to execute step 303 in the embodiment of the present application, and the second sending module 506 in this embodiment can be used to execute step 305 in the embodiment of the present application.

[0073] Optionally, the instruction generation module 502 is also used to use the link library to convert the device data to obtain target device data; obtain the device startup data and device operation mode of the first linkage device from the target device data; generate an instruction field corresponding to the device startup data and the device operation mode, and generate a command interface corresponding to the first linkage device.

[0074] Optionally, the first sending module 504 is further configured to perform data conversion on the instruction linkage table by using a link library to obtain a converted instruction linkage table; and send the converted instruction linkage table to the second linkage terminal.

[0075] According to another aspect of the embodiment of the present application, the present application provides a device linkage module, which is applied to a second device end, such as Figure 6 As shown, including:

[0076] The instruction storage module 602 is used to receive and store the instruction linkage table sent by the server, wherein the instruction linkage table is pre-generated by the server through the client;

[0077] The instruction determination module 604 is used to determine the target instruction corresponding to the linkage request in the instruction linkage table when receiving the linkage request sent by the server;

[0078] The control module 606 is used to control the second linkage device to execute the target operation corresponding to the target instruction.

[0079] It should be noted that the instruction storage module 602 in this embodiment can be used to execute step 401 in the embodiment of the present application, the instruction determination module 604 in this embodiment can be used to execute step 403 in the embodiment of the present application, and the control module 606 in this embodiment can be used to execute step 405 in the embodiment of the present application.

[0080] Optionally, the instruction determination module 604 is further configured to extract a linkage instruction from a linkage request, wherein the linkage request carries a linkage instruction, and the linkage instruction is an operation instruction of the first linkage device; and determine a target instruction corresponding to the linkage instruction in the instruction linkage table.

[0081] It should be noted here that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments.

[0082] According to another aspect of the embodiments of the present application, the present application provides an electronic device, such as Figure 7 As shown, it includes a memory 701, a processor 703, a communication interface 705 and a communication bus 707. The memory 701 stores a computer program that can be run on the processor 703. The memory 701 and the processor 703 communicate through the communication interface 705 and the communication bus 707. When the processor 703 executes the computer program, the steps of the above method are implemented.

[0083] The memory and processor in the above electronic device communicate via a communication bus and a communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc.

[0084] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0085] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0086] According to another aspect of the embodiments of the present application, a computer-readable medium having a non-volatile program code executable by a processor is provided.

[0087] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0088] When the embodiments of the present application are specifically implemented, reference may be made to the above-mentioned embodiments, which have corresponding technical effects.

[0089] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0090] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0091] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0093] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0095] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0096] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk. It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such a process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0097] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A device linkage system, characterized in that: include: A first linkage terminal, used for sending device data of a first linkage device to a server; A server connected to the first linkage terminal, configured to generate an instruction field and an instruction interface using the device data when receiving the device data sent by the first linkage terminal, and send the instruction field to the client through the instruction interface; When receiving the instruction linkage table returned by the client, sending the instruction linkage table to the second linkage terminal; A client, connected to the server, for, upon receiving the instruction field, mapping the instruction field to an instruction using a preset linkage condition, generating the instruction linkage table, and returning the instruction linkage table to the server through the instruction interface; The second linkage terminal is connected to the server and is used to receive and store the instruction linkage table sent by the server.

2. A device linkage method, applied to a server, characterized in that: include: When receiving the device data sent by the first linkage terminal, generating a command field and a command interface using the device data; Sending the instruction field to the client through the instruction interface; When receiving the command linkage table returned by the client, the command linkage table is sent to the second linkage end, so that when the second linkage end receives the linkage request, it controls the second linkage device to perform the target operation corresponding to the linkage request according to the command linkage table.

3. The method according to claim 2, characterized in that The generating instruction field and instruction interface by using the device data comprises: Using the link library to perform data conversion on the device data to obtain target device data; Acquire device startup data and device operation mode of the first linkage device from the target device data; The instruction field corresponding to the device startup data and the device operation mode is generated, and the instruction interface corresponding to the first linkage device is generated.

4. The method according to claim 3, characterized in that The sending the instruction linkage table to the second linkage terminal comprises: Using the link library to perform data conversion on the instruction linkage table to obtain the converted instruction linkage table; The converted instruction linkage table is sent to the second linkage end.

5. A device linkage method, applied to the second linkage end in the device linkage system according to claim 1, characterized in that: include: Receiving and storing a command linkage table sent by a server, wherein the command linkage table is pre-generated by the server through a client; In the case of receiving the linkage request sent by the server, determining the target instruction corresponding to the linkage request in the instruction linkage table; The second linkage device is controlled to execute a target operation corresponding to the target instruction.

6. The method according to claim 5, characterized in that Determining the target instruction corresponding to the linkage request in the instruction linkage table includes: Extracting a linkage instruction from the linkage request, wherein the linkage request carries the linkage instruction, and the linkage instruction is an operation instruction of the first linkage device; The target instruction corresponding to the linkage instruction is determined in the instruction linkage table.

7. A device linkage module, applied to a server, characterized in that: include: An instruction generation module, configured to generate an instruction field and an instruction interface using the device data when receiving the device data sent by the first linkage terminal; A first sending module, used for sending the instruction field to the client through the instruction interface; The second sending module is used to send the instruction linkage table to the second linkage end when receiving the instruction linkage table returned by the client, so that the second linkage end controls the second linkage device to perform the target operation corresponding to the linkage request according to the instruction linkage table when receiving the linkage request.

8. A device linkage module, applied to the second linkage end in the device linkage system according to claim 1, characterized in that: include: An instruction storage module, used for receiving and storing an instruction linkage table sent by a server, wherein the instruction linkage table is pre-generated by the server through a client; an instruction determination module, configured to determine, in the instruction linkage table, a target instruction corresponding to the linkage request when receiving the linkage request sent by the server; The control module is used to control the second linkage device to execute a target operation corresponding to the target instruction.

9. An electronic device, comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, and the memory and the processor communicate through the communication bus and the communication interface, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 2 to 6 are implemented.

10. A computer readable medium having a non-volatile program code executable by a processor, characterized in that: The program code enables the processor to execute the method according to any one of claims 2 to 6.

Citation Information

Patent Citations

  • Linkage control method and device and computer readable storage medium

    CN111522251A