WO2023134153A1 - Linkage control configuration method, linkage control method and linkage control system - Google Patents

Linkage control configuration method, linkage control method and linkage control system Download PDF

Info

Publication number
WO2023134153A1
WO2023134153A1 PCT/CN2022/110214 CN2022110214W WO2023134153A1 WO 2023134153 A1 WO2023134153 A1 WO 2023134153A1 CN 2022110214 W CN2022110214 W CN 2022110214W WO 2023134153 A1 WO2023134153 A1 WO 2023134153A1
Authority
WO
WIPO (PCT)
Prior art keywords
scene
control
program
linkage
identifier
Prior art date
Application number
PCT/CN2022/110214
Other languages
French (fr)
Chinese (zh)
Inventor
张文伟
Original Assignee
青岛海尔科技有限公司
海尔智家股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔科技有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔科技有限公司
Publication of WO2023134153A1 publication Critical patent/WO2023134153A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present application relates to the field of control technologies, and in particular to a linkage control configuration method, a linkage control method, and a linkage control system.
  • Smart application scenarios often use multiple basic functions of a single device, or intelligent linkage between multiple devices. If users want to use these scenarios, they need to set them one by one, which has a large interaction cost.
  • the current multiple functions of a single device or the intelligent linkage between multiple devices is to open the device control application, find the relevant settings corresponding to the usage scenario in the application, and select to trigger execution.
  • the operation process is complicated, resulting in multiple user operations to trigger execution, resulting in low user interaction experience.
  • the present application provides a linkage control configuration method, linkage control method and linkage control system, which are used to solve the defect of high interaction cost caused by complicated operation process in the prior art.
  • This application provides a linkage control configuration method, including:
  • the scene configuration information is transmitted to the control server;
  • the transmission of scene configuration information to the control server based on the device control program also includes:
  • the scene configuration information is determined in response to a user's scene configuration operation based on the device to be configured and the function to be configured of the device to be configured.
  • writing the scene identifier and the program identifier corresponding to the device control program into the electronic tag includes:
  • the application also provides a linkage control method, including:
  • Tag information stored in the electronic tag where the tag information includes at least a scene ID and a program ID;
  • the scene ID is transmitted to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
  • the scene identification is transmitted to the control server based on the device control program, and then further includes:
  • the device execution status is the execution status returned by the device in the control list corresponding to the scene ID received by the control server.
  • the reading of the tag information stored in the electronic tag further includes:
  • the scene identifier and the program identifier are extracted from the tag information.
  • the present application also provides a linkage control configuration device, including:
  • the sending configuration module is used to transmit the scene configuration information to the control server based on the device control program
  • a receiving identification module configured to receive the scene identification corresponding to the scene configuration information returned by the control server
  • the storage label module is used to write the scene identification and the program identification corresponding to the device control program into the electronic label.
  • the present application also provides a linkage control device, including:
  • the reading module is used to read the tag information stored in the electronic tag, and the tag information includes at least a scene ID and a program ID;
  • a startup module configured to start the device control program corresponding to the program identifier
  • a transmission module configured to transmit the scene ID to a control server based on the device control program, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
  • the application also provides a linkage control system, including:
  • the receiving module is used to receive the scene identification sent by the terminal, the scene identification is sent by the terminal based on the device control program after reading it from the electronic tag, and the device control program is based on the information obtained from the electronic tag by the terminal.
  • the read program ID is started;
  • a linkage module configured to linkage control the devices in the control list corresponding to the scene identifier.
  • the present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • the processor executes the program, the linkage control configuration described in any of the above is realized.
  • the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored.
  • a computer program When the computer program is executed by a processor, the steps of any one of the linkage control configuration methods described above are realized or the steps of any one of the above-mentioned linkage control configuration methods are realized. Steps of the linkage control method.
  • the present application also provides a computer program product, including a computer program.
  • the computer program When the computer program is executed by a processor, it realizes the steps of any one of the linkage control configuration methods described above or realizes the steps of any linkage control method described above. step.
  • the linkage control configuration method, linkage control method, and linkage control system provided by this application by writing the scene ID and the program ID into the electronic tag, can read the tag information stored in the electronic tag that contains at least the scene ID and the program ID Afterwards, the application program corresponding to the program identification is automatically started, and the application program automatically sends the scene identification to the control server for linkage operation. Based on one interactive step of reading the electronic tag, the multi-function or multi-device linkage operation of a single device is realized, which reduces the operation steps for the user to trigger the linkage operation, thereby reducing the interaction cost and improving the user's interactive experience.
  • FIG. 1 is a schematic flow diagram of the linkage control configuration method provided by the present application.
  • FIG. 2 is a schematic flowchart of a method for generating scene configuration information provided by the present application
  • Fig. 3 is a schematic flow chart of the electronic tag recording linkage operation information method provided by the present application.
  • Fig. 4 is a schematic flow chart of the linkage control method provided by the present application.
  • FIG. 5 is a sequence diagram of the linkage control method provided by the present application.
  • Fig. 6 is a schematic structural diagram of the linkage control configuration device provided by the present application.
  • Fig. 7 is a schematic structural diagram of the linkage control device provided by the present application.
  • Fig. 8 is a schematic structural diagram of the linkage control system provided by the present application.
  • FIG. 9 is a schematic diagram of a physical structure of an electronic device provided by the present application.
  • the common operation method is that the user opens the device control App (Application, application) on the device, and then in the App Click to trigger the execution of the desired operation scenario.
  • this method of operation requires multiple operations by the user to trigger the execution, and if there are many operation scenarios stored in the device control app, the search and selection of the operation scenarios will also require the user to spend a lot of energy, which greatly reduces the user's effort. Interactive experience.
  • FIG. 1 is a schematic flowchart of a linkage control configuration method provided by the present application.
  • a linkage control configuration method provided by the embodiment of the present application may be executed by a user terminal, such as a mobile phone, a smart bracelet, etc.
  • the method includes:
  • Step 110 based on the device control program, transmit the scene configuration information to the control server;
  • the embodiment of this application performs scene configuration in the device control program.
  • the scene configuration information is sent to the control server through the device control program.
  • the control server will send the scene identification generated according to the scene configuration information to the terminal, and the scene configuration information can be stored for query when a subsequent linkage control request is made.
  • Step 120 receiving the scene identification corresponding to the scene configuration information returned by the control server;
  • Step 130 write the scene identifier and the program identifier corresponding to the device control program into the electronic tag.
  • the scene ID and the program ID can be written into the electronic tag separately, for example, it can be written into different sectors in the electronic tag, and the scene ID and the program ID can also be combined into one field, and then written into the electronic tag.
  • This application implements Examples are not limited to this.
  • the scene configuration information can be obtained from the control server to write a new electronic tag or update the original electronic tag when the user replaces the terminal device. , and can also be shared among multiple terminal devices, so that multiple devices can trigger the scene linkage control. Therefore, receiving the scene identification corresponding to the scene configuration information returned by the control server is to generate the scene identification corresponding to the scene configuration information after the control server receives the scene configuration information, and store the corresponding relationship between the two in the database corresponding to the control server The scene ID returned later.
  • the linkage control configuration method provided by this application writes the scene ID and the program ID into the electronic tag, so that after reading the tag information stored in the electronic tag that contains at least the scene ID and the program ID, the corresponding program ID can be automatically started.
  • the application program which automatically sends the scene identification to the control server for linkage operation. Based on one interactive step of reading the electronic tag, the multi-function or multi-device linkage operation of a single device is realized, which reduces the operation steps for the user to trigger the linkage operation, thereby reducing the interaction cost and improving the user's interactive experience.
  • FIG. 2 is a schematic flowchart of a method for generating scene configuration information provided by the present application. As shown in Figure 2, before step 110, it also includes:
  • Step 210 displaying the device to be configured and the functions to be configured of the device to be configured;
  • the embodiment of the present application configures the information of the linkage control scene in a visualized manner.
  • the device to be configured and the functions to be configured in the device to be configured are displayed on the terminal screen through the device control program.
  • the function to be configured may be one or more functions of the corresponding device to be configured.
  • multiple devices to be configured can be selected, and multiple functions to be configured corresponding to each device to be configured can also be selected.
  • the device to be configured and its corresponding function to be configured can be obtained by the device control program through the configuration pre-stored in the terminal, or obtained by the device control program by requesting the control server, which is not limited in this embodiment of the present application.
  • Step 220 Determine the scene configuration information in response to the user's scene configuration operation based on the device to be configured and the function to be configured of the device to be configured.
  • the front-end interface receives the device to be configured and the function to be configured of the device to be configured selected and determined according to the user operation, and determines the scene configuration information according to the device to be configured and the function to be configured of the device to be configured.
  • the storage format of the scene configuration information may be in the JSON format or in the dictionary format, which is not limited in this embodiment of the present application.
  • the scene configuration information may include execution steps of devices or device functions in the scene, and may also include an operation sequence of devices in the scene, which is not limited in the present application.
  • FIG. 3 is a schematic flowchart of a method for recording linkage operation information with an electronic tag provided in the present application.
  • step 130 includes:
  • Step 131 construct tag information based on the scene ID and the program ID;
  • Step 132 write the tag information into the electronic tag.
  • the embodiment of the present application constructs the scene identification and the program identification into a field, and writes the field into in the electronic label.
  • the label information constructed from the scene ID and the program ID can be constructed in JSON format, and then the data in the JSON format can be converted into a string, or the URL string can be composed of the scene ID and the program ID, where the A special segmentation symbol may be included between the scene identifier and the program identifier, which is not limited in this embodiment of the present application.
  • Fig. 4 is a schematic flowchart of the linkage control method provided by the present application.
  • a linkage control method provided by the embodiment of the present application can be executed by a user terminal, such as a mobile phone, a smart bracelet, etc.
  • the method includes:
  • Step 410 read the tag information stored in the electronic tag, the tag information includes at least a scene ID and a program ID;
  • Step 420 start the device control program corresponding to the program identification
  • Step 430 based on the device control program, transmit the scene ID to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
  • the current Internet of Things devices can support the read and write operations of electronic tags.
  • the current mainstream operating systems can start the application program according to the identification of the application program, such as: the application program path in the windows system, the package name (Package Name) in the android system, and the URL in the IOS system.
  • the device control program is started and the execution of the linked control operation scene is triggered by reading the electronic tag stored with the program identification and the scene identification.
  • the tag information stored in the electronic tag first read the tag information stored in the electronic tag, and identify the tag information, at least identify the scene ID and program ID, and also identify the scene information, such as: scene name or equipment list, etc. This is not limited. Then start its corresponding equipment control program according to the program identification, and finally the equipment control program automatically sends the scene identification to the control server, and the control server controls the equipment in the scene corresponding to the scene identification according to the scene identification.
  • the scene ID may be passed in as a startup parameter of the device control program, or may be acquired by the device controller by actively reading the electronic tag before sending the scene ID, which is not limited in this embodiment of the present application.
  • the electronic tag can be a contact electronic tag, such as a chip tag, or a non-contact electronic tag, such as: NFC tag (Near Field Communication, short-range wireless communication) or RFID tag (Radio Frequency Identification , radio frequency identification), which is not limited in this embodiment of the present application.
  • NFC tag Near Field Communication, short-range wireless communication
  • RFID tag Radio Frequency Identification , radio frequency identification
  • the content stored in the electronic tag can be read from two sectors separately, one of which stores the scene ID, and the other sector stores the program ID, or it can be a single
  • the sector stores a string in JSON format of the scene ID and the program ID, or a URL string with separators added between the scene ID and the program ID, which is not limited in this embodiment of the present application.
  • the control server can store the scene identifier and the mapping relationship of the equipment in the corresponding scene, or the control server can obtain the mapping relationship by requesting other servers.
  • the mapping relationship can be generated and saved in the control server configuration, or can be configured by the terminal After the device configuration is generated, it is sent to the control server for storage, which is not limited in this embodiment of the present application.
  • control server in this embodiment of the application records the above execution operation logic or steps through the scene configuration information, and then executes operations according to the operation logic or steps in the scene configuration information during linkage control.
  • the specific operation for the control server to deliver the control command to the device in the control list corresponding to the scene identifier may be to send the control command to the corresponding device according to the device operation logic or steps in the scene configuration.
  • the scene configuration information corresponding to the scene ID may be obtained by reading the corresponding relationship data between the local scene ID and the scene configuration information, or may be obtained by requesting other servers, which is not limited in this embodiment of the present application.
  • the device operation logic may be parallel processing logic or serial processing logic.
  • the control server will send control commands to the devices in the scene configuration in parallel, that is, it does not need to wait for the control command of the previous device to return and directly sends the control command of the next device; under the serial processing logic, it will Wait for the control command of the previous device to return before sending the control command of the next device.
  • the scene configuration can also store the scene execution steps, and send the control commands of the device serially according to the execution steps.
  • the scene configuration can also store an identifier for obtaining the current state of the device. If the state is identified as requiring the current state of the device to be obtained, the current operating state of the device will be obtained before sending the control command of the device.
  • the embodiment of the present application does not limit the above operations. Among them, a corresponding relationship is established between the control instruction and the device that needs to execute the control instruction, and is recorded in the scene configuration.
  • the linkage control method provided by the embodiment of the present application automatically starts the application corresponding to the program identifier by reading the scene identifier and the program identifier stored in the electronic tag, and the application program automatically sends the scenario identifier to the control server for linkage operation. Based on the interaction step of reading the electronic tag, the multi-function or multi-device linkage operation of a single device is realized, which reduces the operation steps for the user to trigger the linkage operation, thereby reducing the interaction cost and improving the user's interaction experience.
  • step 430 it also includes:
  • the execution state of the device is the execution state returned by the device in the control list corresponding to the scenario ID received by the control server.
  • the linkage control method reads the scene ID and program ID stored in the electronic tag, automatically starts the application program corresponding to the program ID, and the application program automatically sends the scene ID to the control server for linkage operation. Based on an interactive step of reading electronic tags, it can complete multi-functional or multi-device linkage operations on a single device, reducing the operation steps for users to trigger linkage operations, thereby reducing interaction costs and improving users' interaction experience. Through real-time The execution status of each device in the returned scene is displayed on the terminal, so that the user can know the current scene execution status in real time, further improving the user's interactive experience.
  • step 410 it also includes:
  • the scene ID and the program ID are extracted from the tag information.
  • the storage structure of the label information is read from two sectors separately, one of which stores the scene ID, and the other sector stores the program ID, or a single sector stores the scene ID and the program
  • the identifier is a string in JSON format, or a URL string with a delimiter added between the scene identifier and the program identifier, which is not limited in this embodiment of the present application.
  • Fig. 5 is a sequence diagram of the linkage control method provided by the present application. As shown in FIG. 5 , the embodiment of the present application also provides a linkage control method, which includes a configuration part and an execution part.
  • the electronic tag is specifically an NFC tag
  • the terminal is a smart phone to be read and written by NFC
  • the scene ID is the unique ID of the scene
  • the program ID is the unique ID of the App itself
  • the devices in the scene are smart devices.
  • Step 511 the App sets scene configuration information of smart devices and functions of the smart devices required by the scene according to the scene configuration input by the user.
  • step 512 the App initiates a request to the control server to save scene configuration information.
  • Step 513 After receiving the scene configuration information, the control server saves the scene configuration information, and generates a unique scene identifier id according to the scene configuration information.
  • Step 514 the control server returns the saving result and the generated scene unique identifier id to the App.
  • Step 515 the App receives the information returned by the server, and combines the unique identifier id of the scene and the unique identifier of the App itself into a URL string.
  • Step 516 the App will initiate a write NFC request, prompting the user to put the NFC tag close to the NFC reading area of the mobile phone.
  • Step 517 after the mobile phone detects the NFC tag, write the URL string generated in step 815 into the NFC tag.
  • Step 518 after the writing is successful, the App prompts the user that the writing is successful; at this time, the NFC tag is placed close to the reading area of the mobile phone, and the tag content can be read.
  • Step 521 put the NFC tag written in the scene close to the NFC reading area of the mobile phone, the mobile phone system reads the URL of the tag content, and after recognizing the unique identifier of the device control App, automatically starts the App and passes the URL to the App.
  • step 522 the App parses the transmitted URL, identifies the unique ID of the scene in the URL, and automatically invokes the function of the relevant module of scene control.
  • step 523 the scene control related module invokes the network interface, and transmits the scene unique identifier id to the control server.
  • step 524 the control server queries related scene configuration information according to the received scene unique identifier id.
  • Step 525 the control server judges the execution state of the current scene, and sends an operation instruction to the smart device.
  • Step 526 the smart device automatically executes after receiving the operation instruction, and runs related functions.
  • Step 527 the smart device feeds back the current operating status to the control server and App in real time.
  • step 528 after the control server receives the real-time running status of the smart device, it loops through step 526 again until all content of the scene configuration information is executed.
  • linkage control device and the linkage control system provided in the present application are described below, and the linkage control device and linkage control system described below and the linkage control method described above can be referred to in correspondence.
  • FIG. 6 is a schematic structural diagram of a linkage control configuration device provided by the present application.
  • the linkage control configuration device includes: a sending configuration module 610, a receiving identification module 620 and a storage tag module 630;
  • the sending configuration module 610 is used to transmit the scene configuration information to the control server based on the device control program;
  • the receiving identification module 620 is configured to receive the scene identification corresponding to the scene configuration information returned by the control server;
  • the storage label module 630 is configured to write the scene identification and the program identification corresponding to the device control program into the electronic label.
  • the sending configuration module 610 is used to transmit the scene configuration information to the control server based on the device control program;
  • the receiving identification module 620 is used to receive the scene identification corresponding to the scene configuration information returned by the control server;
  • the tag module 630 is configured to write the scene ID and the program ID corresponding to the device control program into the electronic tag, so that the program can be automatically started after reading the tag information stored in the electronic tag that contains at least the scene ID and the program ID
  • the corresponding application program is identified, and the application program automatically sends the scene identification to the control server for linkage operation. Based on one interactive step of reading the electronic tag, the multi-function or multi-device linkage operation of a single device is realized, which reduces the operation steps for the user to trigger the linkage operation, thereby reducing the interaction cost and improving the user's interactive experience.
  • the sending configuration module 610 includes:
  • the display configuration function sub-module is used to display the device to be configured and the function to be configured of the device to be configured;
  • the configuration information determining submodule is configured to determine the scene configuration information in response to the user's scene configuration operation based on the device to be configured and the function to be configured of the device to be configured.
  • the storage tag module 630 includes:
  • Write label sub-module used to write label information into the electronic label.
  • Fig. 7 is a schematic structural diagram of the linkage control device provided by the present application. As shown in FIG. 7 , the linkage control device includes: a reading module 710 , a starting module 720 and a transmission module 730 .
  • the reading module 710 is used to read the tag information stored in the electronic tag, and the tag information includes at least a scene identification and a program identification;
  • the startup module 720 is configured to start the device control program corresponding to the program identifier
  • the transmission module 730 is configured to transmit the scene ID to the control server based on the device control program, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
  • the reading module 710 is used to read the tag information stored in the electronic tag, and the tag information includes at least a scene ID and a program ID; the startup module 720 is used to start the device control program corresponding to the program ID; The transmission module 730 is used to transmit the scene identification to the control server based on the device control program, so that the control server can issue control instructions to the devices in the control list corresponding to the scene identification, and realize the interactive step based on reading the electronic tag.
  • the operation steps for the user to trigger the linkage operation are reduced, thereby reducing the interaction cost and improving the user's interactive experience.
  • the transmission module 730 includes:
  • the receiving execution status sub-module is used to receive the device execution status returned by the control server after the device control program transmits the scene identifier to the control server;
  • the execution state of the device is the execution state returned by the device in the control list corresponding to the scenario ID received by the control server.
  • the reading module 710 includes:
  • the identification extraction sub-module is used to extract the scene identification and the program identification from the label information based on the storage structure of the label information after reading the label information stored in the electronic label.
  • FIG. 8 is a schematic structural diagram of a linkage control system provided by the present application. As shown in FIG. 8 , the linkage control system includes: a receiving module 810 and a linkage module 820 .
  • the receiving module 810 is configured to receive the scene identification sent by the terminal, the scene identification is sent by the terminal based on the device control program after reading from the electronic tag, and the device control program is started by the terminal based on the program identification read from the electronic tag;
  • the linkage module 820 is used for linkage control scene identification corresponding to the equipment in the control list.
  • the receiving module 810 is used to receive the scene ID sent by the terminal.
  • the scene ID is sent based on the device control program after the terminal reads the electronic tag.
  • the device control program is based on the terminal reading from the electronic tag.
  • the linkage module 820 is used for linkage control of the equipment in the corresponding control list of the scene identification, and realizes the multi-function or multi-equipment linkage operation of a single equipment based on an interactive step of reading the electronic tag, reducing the The user triggers the operation steps of the linkage operation, thereby reducing the interaction cost and improving the user's interaction experience.
  • FIG. 9 illustrates a schematic diagram of the physical structure of an electronic device.
  • the electronic device may include: a processor (processor) 910, a communication interface (Communications Interface) 920, a memory (memory) 930 and a communication bus 940, Wherein, the processor 910 , the communication interface 920 , and the memory 930 communicate with each other through the communication bus 940 .
  • the processor 910 can call the logic instructions in the memory 930 to execute the linkage control configuration method or the linkage control method.
  • the linkage control configuration method includes: based on the device control program, transmitting the scene configuration information to the control server; receiving the scene configuration information returned by the control server The scene identification corresponding to the configuration information; writing the scene identification and the program identification corresponding to the equipment control program into the electronic tag; the linkage control method includes: reading the tag information stored in the electronic tag, and the tag information includes at least the scene identification and the program identification; Start the device control program corresponding to the program identifier; based on the device control program, transmit the scene identifier to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene identifier.
  • the above-mentioned logic instructions in the memory 930 may be implemented in the form of software function units and be stored in a computer-readable storage medium when sold or used as an independent product.
  • the technical solution 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, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
  • the present application also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can Executing the linkage control configuration method or linkage control method provided by the above methods, the linkage control configuration method includes: based on the device control program, transmitting the scene configuration information to the control server; receiving the scene identification corresponding to the scene configuration information returned by the control server; Write the scene identification and the program identification corresponding to the device control program into the electronic tag; the linkage control method includes: reading the tag information stored in the electronic tag, the tag information includes at least the scene identification and the program identification; starting the device control corresponding to the program identification program; based on the device control program, the scene ID is transmitted to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
  • the linkage control configuration method includes: based on the device control program, transmitting the scene configuration information to the control server; receiving the
  • the present application 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 linkage control configuration method or the linkage control method provided by the above-mentioned methods
  • the linkage control configuration method includes: based on the device control program, transmitting the scene configuration information to the control server; receiving the scene identification corresponding to the scene configuration information returned by the control server; writing the scene identification and the program identification corresponding to the equipment control program into the electronic tag; the linkage control method includes: reading tag information stored in the electronic tag, where the tag information includes at least a scene ID and a program ID; starting a device control program corresponding to the program ID; based on the device control program, transmitting the scene ID to the control server, It is used for the control server to issue control commands to the devices in the control list corresponding to the scene ID.
  • the device embodiments described above are only illustrative, and 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 it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative effort.
  • each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware.
  • the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

Abstract

The present application provides a linkage control configuration method, a linkage control method and a linkage control system, wherein the linkage control configuration method comprises: on the basis of a device control program, transmitting scenario configuration information to a control server; receiving a scenario identifier corresponding to the scenario configuration information returned by the control server; and writing the scenario identifier, and a program identifier corresponding to the device control program into an electronic tag. According to the method, the linkage control device and the linkage control system provided by the present application, the scenario identifier, and the program identifier corresponding to the device control program can be written into the electronic tag, such that the scenario identifier and the program identifier in the electronic tag are read and the device control program can be automatically started, and by means of the device control program, the scenario identifier is sent to the control server so as to be linked with the control server, so that the operation steps of triggering the execution of the single-device multifunctional or multi-device linkage operation by the user are decreased, thereby reducing the interaction cost and improving the user interaction experience.

Description

联动控制配置方法、联动控制方法及联动控制系统Linkage control configuration method, linkage control method and linkage control system
相关申请的交叉引用Cross References to Related Applications
本申请要求于2022年1月12日提交的申请号为202210032203.3,名称为“联动控制配置方法、联动控制方法及联动控制系统”的中国专利申请的优先权,其通过引用方式全部并入本文。This application claims the priority of the Chinese patent application with application number 202210032203.3 and titled "Linkage Control Configuration Method, Linkage Control Method, and Linkage Control System" filed on January 12, 2022, which is incorporated herein by reference in its entirety.
技术领域technical field
本申请涉及控制技术领域,尤其涉及一种联动控制配置方法、联动控制方法及联动控制系统。The present application relates to the field of control technologies, and in particular to a linkage control configuration method, a linkage control method, and a linkage control system.
背景技术Background technique
随着智能家居的概念出现,人们对设备的智能性要求越来越高,相应的,各种智能应用场景也渐渐被发掘和实现。智能应用场景往往使用到单个设备的多个基础功能,或者多个设备间的智能联动,用户想使用这些场景,需要一一设置,有着较大的交互成本。With the emergence of the concept of smart home, people have higher and higher requirements for the intelligence of equipment. Correspondingly, various smart application scenarios are gradually being discovered and realized. Smart application scenarios often use multiple basic functions of a single device, or intelligent linkage between multiple devices. If users want to use these scenarios, they need to set them one by one, which has a large interaction cost.
随着物联网的发展,目前单个设备的多个功能或者多个设备间的智能联动,是通过打开设备控制应用程序,在该应用程序中找到对应使用场景的相关设置并选择触发执行。但操作过程复杂,导致用户操作多次才能触发执行,进而导致用户交互体验感低。With the development of the Internet of Things, the current multiple functions of a single device or the intelligent linkage between multiple devices is to open the device control application, find the relevant settings corresponding to the usage scenario in the application, and select to trigger execution. However, the operation process is complicated, resulting in multiple user operations to trigger execution, resulting in low user interaction experience.
发明内容Contents of the invention
本申请提供一种联动控制配置方法、联动控制方法及联动控制系统,用以解决现有技术中操作过程复杂导致的交互成本高的缺陷。The present application provides a linkage control configuration method, linkage control method and linkage control system, which are used to solve the defect of high interaction cost caused by complicated operation process in the prior art.
本申请提供一种联动控制配置方法,包括:This application provides a linkage control configuration method, including:
基于设备控制程序,将场景配置信息传输至控制服务器;Based on the device control program, the scene configuration information is transmitted to the control server;
接收所述控制服务器返回的所述场景配置信息对应的场景标识;receiving the scene identifier corresponding to the scene configuration information returned by the control server;
将所述场景标识,以及所述设备控制程序对应的程序标识写入电子标签。Write the scene identifier and the program identifier corresponding to the device control program into the electronic tag.
根据本申请提供的一种联动控制配置方法,所述基于设备控制程序,将场景配置信息传输至控制服务器,之前还包括:According to a linkage control configuration method provided by the present application, the transmission of scene configuration information to the control server based on the device control program also includes:
展示待配置设备,以及所述待配置设备的待配置功能;displaying the device to be configured and the functions to be configured of the device to be configured;
响应于用户基于所述待配置设备和所述待配置设备的待配置功能的场景配置操作,确定所述场景配置信息。The scene configuration information is determined in response to a user's scene configuration operation based on the device to be configured and the function to be configured of the device to be configured.
根据本申请提供的一种联动控制配置方法,所述将所述场景标识,以及所述设备控制程序对应的程序标识写入电子标签,包括:According to a linkage control configuration method provided by the present application, writing the scene identifier and the program identifier corresponding to the device control program into the electronic tag includes:
基于所述场景标识和所述程序标识,构建标签信息;Construct tag information based on the scene identifier and the program identifier;
将所述标签信息写入所述电子标签。Write the tag information into the electronic tag.
本申请还提供的一种联动控制方法,包括:The application also provides a linkage control method, including:
读取电子标签内存储的标签信息,所述标签信息至少包括场景标识和程序标识;Read the tag information stored in the electronic tag, where the tag information includes at least a scene ID and a program ID;
启动所述程序标识对应的设备控制程序;Start the device control program corresponding to the program identifier;
基于所述设备控制程序,将所述场景标识传输至控制服务器,以供所述控制服务器下发控制指令至所述场景标识对应控制列表中的设备。Based on the device control program, the scene ID is transmitted to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
根据本申请提供的一种联动控制方法,所述基于所述设备控制程序,将所述场景标识传输至控制服务器,之后还包括:According to a linkage control method provided by the present application, the scene identification is transmitted to the control server based on the device control program, and then further includes:
接收所述控制服务器返回的设备执行状态;receiving the device execution status returned by the control server;
所述设备执行状态是所述控制服务器接收的所述场景标识对应控制列表中的设备返回的执行状态。The device execution status is the execution status returned by the device in the control list corresponding to the scene ID received by the control server.
根据本申请提供的一种联动控制方法,所述读取电子标签内存储的标签信息,之后还包括:According to a linkage control method provided by the present application, the reading of the tag information stored in the electronic tag further includes:
基于所述标签信息的存储结构,从所述标签信息中提取所述场景标识和所述程序标识。Based on the storage structure of the tag information, the scene identifier and the program identifier are extracted from the tag information.
本申请还提供一种联动控制配置设备,包括:The present application also provides a linkage control configuration device, including:
发送配置模块,用于基于设备控制程序,将场景配置信息传输至控制服务器;The sending configuration module is used to transmit the scene configuration information to the control server based on the device control program;
接收标识模块,用于接收所述控制服务器返回的所述场景配置信息对应的场景标识;A receiving identification module, configured to receive the scene identification corresponding to the scene configuration information returned by the control server;
存储标签模块,用于将所述场景标识,以及所述设备控制程序对应的程序标识写入电子标签。The storage label module is used to write the scene identification and the program identification corresponding to the device control program into the electronic label.
本申请还提供一种联动控制设备,包括:The present application also provides a linkage control device, including:
读取模块,用于读取电子标签内存储的标签信息,所述标签信息至少包括场景标识和程序标识;The reading module is used to read the tag information stored in the electronic tag, and the tag information includes at least a scene ID and a program ID;
启动模块,用于启动所述程序标识对应的设备控制程序;A startup module, configured to start the device control program corresponding to the program identifier;
传输模块,用于基于所述设备控制程序,将所述场景标识传输至控制服务器,以供所述控制服务器下发控制指令至所述场景标识对应控制列表中的设备。A transmission module, configured to transmit the scene ID to a control server based on the device control program, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
本申请还提供一种联动控制系统,包括:The application also provides a linkage control system, including:
接收模块,用于接收终端发送的场景标识,所述场景标识是所述终端从电子标签中读取后基于设备控制程序发送的,所述设备控制程序是所述终端基于从所述电子标签中读取的程序标识启动的;The receiving module is used to receive the scene identification sent by the terminal, the scene identification is sent by the terminal based on the device control program after reading it from the electronic tag, and the device control program is based on the information obtained from the electronic tag by the terminal. The read program ID is started;
联动模块,用于联动控制所述场景标识对应控制列表中的设备。A linkage module, configured to linkage control the devices in the control list corresponding to the scene identifier.
本申请还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述联动控制配置方法的步骤或者实现如上述任一种所述联动控制方法的步骤。The present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the linkage control configuration described in any of the above is realized. The steps of the method or the steps of realizing any linkage control method described above.
本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述联动控制配置方法的步骤或者实现如上述任一种所述联动控制方法的步骤。The present application 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 steps of any one of the linkage control configuration methods described above are realized or the steps of any one of the above-mentioned linkage control configuration methods are realized. Steps of the linkage control method.
本申请还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述联动控制配置方法的步骤或者实现如上述任一种所述联动控制方法的步骤。The present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, it realizes the steps of any one of the linkage control configuration methods described above or realizes the steps of any linkage control method described above. step.
本申请提供的联动控制配置方法、联动控制方法及联动控制系统,通过将场景标识和程序标识写入电子标签,使得可以在读取电子标签内存储的至少包含有场景标识和程序标识的标签信息之后,自动启动该程序标识对应的应用程序,该应用程序自动发送场景标识至控制服务器供其进行联动操作。实现了能基于读取电子标签一个交互步骤,完成对单设备多功能或者多设备联动操作,减少了用户触发联动操作的操作步骤,进而减少了交互成本,提高了用户的交互体验感。The linkage control configuration method, linkage control method, and linkage control system provided by this application, by writing the scene ID and the program ID into the electronic tag, can read the tag information stored in the electronic tag that contains at least the scene ID and the program ID Afterwards, the application program corresponding to the program identification is automatically started, and the application program automatically sends the scene identification to the control server for linkage operation. Based on one interactive step of reading the electronic tag, the multi-function or multi-device linkage operation of a single device is realized, which reduces the operation steps for the user to trigger the linkage operation, thereby reducing the interaction cost and improving the user's interactive experience.
附图说明Description of drawings
为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例 或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in this application or the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present For some embodiments of the application, those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本申请提供的联动控制配置方法的流程示意图;FIG. 1 is a schematic flow diagram of the linkage control configuration method provided by the present application;
图2是本申请提供的场景配置信息生成方法的流程示意图;FIG. 2 is a schematic flowchart of a method for generating scene configuration information provided by the present application;
图3是本申请提供的电子标签记录联动操作信息方法的流程示意图;Fig. 3 is a schematic flow chart of the electronic tag recording linkage operation information method provided by the present application;
图4是本申请提供的联动控制方法的流程示意图;Fig. 4 is a schematic flow chart of the linkage control method provided by the present application;
图5是本申请提供的联动控制方法的时序图;FIG. 5 is a sequence diagram of the linkage control method provided by the present application;
图6是本申请提供的联动控制配置设备的结构示意图;Fig. 6 is a schematic structural diagram of the linkage control configuration device provided by the present application;
图7是本申请提供的联动控制设备的结构示意图;Fig. 7 is a schematic structural diagram of the linkage control device provided by the present application;
图8是本申请提供的联动控制系统的结构示意图;Fig. 8 is a schematic structural diagram of the linkage control system provided by the present application;
图9是本申请提供一种电子设备的实体结构示意图。FIG. 9 is a schematic diagram of a physical structure of an electronic device provided by the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in this application. Obviously, the described embodiments are part of the embodiments of this application , but not all examples. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
在如今物联网中单个设备的多功能或者多个设备之间的智能联动的使用场景下,常见的操作方法是,用户在设备上打开设备控制App(Application,应用程序),然后在该App中点击触发执行想要执行的操作场景。但这种操作方法,导致用户操作多次才能触发执行,并且如果设备控制App中存放有很多操作场景,那么对操作场景的查找和选择也需要花费用户较大的精力,进而大大降低了用户的交互体验感。In today's usage scenarios of multiple functions of a single device or intelligent linkage between multiple devices in the Internet of Things, the common operation method is that the user opens the device control App (Application, application) on the device, and then in the App Click to trigger the execution of the desired operation scenario. However, this method of operation requires multiple operations by the user to trigger the execution, and if there are many operation scenarios stored in the device control app, the search and selection of the operation scenarios will also require the user to spend a lot of energy, which greatly reduces the user's effort. Interactive experience.
因此,如何减少触发执行操作场景的步骤是本领域亟待解决的问题。Therefore, how to reduce the steps of triggering the execution of the operation scenario is an urgent problem to be solved in this field.
图1是本申请提供的联动控制配置方法的流程示意图。如图1所示,本申请实施例提供的一种联动控制配置方法,其执行主体可以是用户终端,例如手机、智能手环等,该方法包括:FIG. 1 is a schematic flowchart of a linkage control configuration method provided by the present application. As shown in Figure 1, a linkage control configuration method provided by the embodiment of the present application may be executed by a user terminal, such as a mobile phone, a smart bracelet, etc. The method includes:
步骤110,基于设备控制程序,将场景配置信息传输至控制服务器; Step 110, based on the device control program, transmit the scene configuration information to the control server;
考虑到联动控制一般都是用户进行自行定制,因此,本申请实施例在 设备控制程序中进行场景配置。Considering that the linkage control is generally customized by the user, the embodiment of this application performs scene configuration in the device control program.
具体地,通过设备控制程序将场景配置信息发送到控制服务器。其中,控制服务器会发送根据场景配置信息生成场景标识至终端,并且可以对场景配置信息进行存储以供后续联动控制请求时查询。Specifically, the scene configuration information is sent to the control server through the device control program. Wherein, the control server will send the scene identification generated according to the scene configuration information to the terminal, and the scene configuration information can be stored for query when a subsequent linkage control request is made.
步骤120,接收控制服务器返回的场景配置信息对应的场景标识; Step 120, receiving the scene identification corresponding to the scene configuration information returned by the control server;
步骤130,将场景标识,以及设备控制程序对应的程序标识写入电子标签。 Step 130, write the scene identifier and the program identifier corresponding to the device control program into the electronic tag.
具体地,在接收到控制服务器返回的场景配置信息对应的场景标识之后,将该场景标识和设备控制程序所对应的程序标识写入到电子标签中。其中,场景标识和程序标识可以分别写入电子标签,例如,可以写入电子标签中不同的扇区,还可以将场景标识和程序标识组合成一个字段,然后再写入电子标签,本申请实施例对此不作限制。Specifically, after receiving the scene identification corresponding to the scene configuration information returned by the control server, write the scene identification and the program identification corresponding to the device control program into the electronic tag. Wherein, the scene ID and the program ID can be written into the electronic tag separately, for example, it can be written into different sectors in the electronic tag, and the scene ID and the program ID can also be combined into one field, and then written into the electronic tag. This application implements Examples are not limited to this.
需要说明的是,场景标识和场景配置信息只一一对应的关系。考虑到将场景配置信息存储在控制服务器,则该场景配置信息可以在用户更换终端设备时,可以从控制服务器获取该场景配置信息进行新的电子标签的写入或者对原来的电子标签进行信息更新,还可以在多个终端设备进行共享,使得多个设备都能触发该场景联动控制。因此,接收控制服务器返回的场景配置信息对应的场景标识是在控制服务器在接收到场景配置信息后,生成与该场景配置信息对应的场景标识,将两者的对应关系存储到控制服务器对应的数据库后返回的场景标识。It should be noted that there is only a one-to-one correspondence between the scene ID and the scene configuration information. Considering that the scene configuration information is stored in the control server, the scene configuration information can be obtained from the control server to write a new electronic tag or update the original electronic tag when the user replaces the terminal device. , and can also be shared among multiple terminal devices, so that multiple devices can trigger the scene linkage control. Therefore, receiving the scene identification corresponding to the scene configuration information returned by the control server is to generate the scene identification corresponding to the scene configuration information after the control server receives the scene configuration information, and store the corresponding relationship between the two in the database corresponding to the control server The scene ID returned later.
本申请提供的联动控制配置方法,通过将场景标识和程序标识写入电子标签,使得可以在读取电子标签内存储的至少包含有场景标识和程序标识的标签信息之后,自动启动该程序标识对应的应用程序,该应用程序自动发送场景标识至控制服务器供其进行联动操作。实现了能基于读取电子标签一个交互步骤,完成对单设备多功能或者多设备联动操作,减少了用户触发联动操作的操作步骤,进而减少了交互成本,提高了用户的交互体验感。The linkage control configuration method provided by this application writes the scene ID and the program ID into the electronic tag, so that after reading the tag information stored in the electronic tag that contains at least the scene ID and the program ID, the corresponding program ID can be automatically started. The application program, which automatically sends the scene identification to the control server for linkage operation. Based on one interactive step of reading the electronic tag, the multi-function or multi-device linkage operation of a single device is realized, which reduces the operation steps for the user to trigger the linkage operation, thereby reducing the interaction cost and improving the user's interactive experience.
基于上述实施例,图2是本申请提供的场景配置信息生成方法的流程示意图。如图2所示,步骤110之前还包括:Based on the above embodiments, FIG. 2 is a schematic flowchart of a method for generating scene configuration information provided by the present application. As shown in Figure 2, before step 110, it also includes:
步骤210,展示待配置设备,以及待配置设备的待配置功能; Step 210, displaying the device to be configured and the functions to be configured of the device to be configured;
考虑到可视化的操作方式,可以提升用户的交互体验感,因此,本申请实施例通过可视化的方式对联动控制场景的信息进行配置。Considering that the visualized operation mode can improve the user's interactive experience, the embodiment of the present application configures the information of the linkage control scene in a visualized manner.
具体地,通过设备控制程序在终端屏幕上展示待配置设备和待配置设备中的待配置功能。需要说明的是待配置设备可以是一个或者多个,待配置功能可以是其对应的待配置设备的一个或者多个功能。其中,可以选择多个待配置设备,以及每一个待配置设备对应的待配置功能也可以选择多个。此处待配置设备以及其对应的待配置功能,可以是设备控制程序通过预存于终端中的配置得到,也可以是设备控制程序通过请求控制服务器得到,本申请实施例对此不作限制。Specifically, the device to be configured and the functions to be configured in the device to be configured are displayed on the terminal screen through the device control program. It should be noted that there may be one or more devices to be configured, and the function to be configured may be one or more functions of the corresponding device to be configured. Wherein, multiple devices to be configured can be selected, and multiple functions to be configured corresponding to each device to be configured can also be selected. Here, the device to be configured and its corresponding function to be configured can be obtained by the device control program through the configuration pre-stored in the terminal, or obtained by the device control program by requesting the control server, which is not limited in this embodiment of the present application.
步骤220,响应于用户基于待配置设备和待配置设备的待配置功能的场景配置操作,确定场景配置信息。Step 220: Determine the scene configuration information in response to the user's scene configuration operation based on the device to be configured and the function to be configured of the device to be configured.
具体地,接收前端界面根据用户操作选择后确定的待配置设备和待配置设备的待配置功能,并根据待配置设备和待配置设备的待配置功能确定场景配置信息。需要说明的是场景配置信息的存储格式可以是JSON格式,也可以是字典格式,本申请实施例对此不作限制。其中,场景配置信息可以包括场景中设备或者设备功能的执行步骤、还可以包括场景中设备的操作顺序,本申请对此不作限制。Specifically, the front-end interface receives the device to be configured and the function to be configured of the device to be configured selected and determined according to the user operation, and determines the scene configuration information according to the device to be configured and the function to be configured of the device to be configured. It should be noted that the storage format of the scene configuration information may be in the JSON format or in the dictionary format, which is not limited in this embodiment of the present application. Wherein, the scene configuration information may include execution steps of devices or device functions in the scene, and may also include an operation sequence of devices in the scene, which is not limited in the present application.
基于上述实施例,图3是本申请提供的电子标签记录联动操作信息方法的流程示意图。如图3所示,步骤130包括:Based on the above embodiments, FIG. 3 is a schematic flowchart of a method for recording linkage operation information with an electronic tag provided in the present application. As shown in Figure 3, step 130 includes:
步骤131,基于场景标识和程序标识,构建标签信息; Step 131, construct tag information based on the scene ID and the program ID;
步骤132,将标签信息写入电子标签。 Step 132, write the tag information into the electronic tag.
考虑到一些电子标签只能读写一个扇区,如NFC标签,为了提高本申请实施例的通用性,因此,本申请实施例将场景标识和程序标识构建成一个字段,并将该字段写入电子标签中。Considering that some electronic tags can only read and write one sector, such as NFC tags, in order to improve the versatility of the embodiment of the present application, the embodiment of the present application constructs the scene identification and the program identification into a field, and writes the field into in the electronic label.
需要说明的是由场景标识和程序标识构建标签信息可以使用JSON格式来进行构建,然后将JSON格式数据转成字符串,也可以是场景标识和程序标识组成URL字符串,其中URL字符串中的场景标识和程序标识之间可以包含特殊分割符号,本申请实施例对此不作限制。It should be noted that the label information constructed from the scene ID and the program ID can be constructed in JSON format, and then the data in the JSON format can be converted into a string, or the URL string can be composed of the scene ID and the program ID, where the A special segmentation symbol may be included between the scene identifier and the program identifier, which is not limited in this embodiment of the present application.
图4是本申请提供的联动控制方法的流程示意图。如图4所示,本申请实施例提供的一种联动控制方法,其执行主体可以是用户终端,例如手 机、智能手环等,该方法包括:Fig. 4 is a schematic flowchart of the linkage control method provided by the present application. As shown in Figure 4, a linkage control method provided by the embodiment of the present application can be executed by a user terminal, such as a mobile phone, a smart bracelet, etc. The method includes:
步骤410,读取电子标签内存储的标签信息,标签信息至少包括场景标识和程序标识; Step 410, read the tag information stored in the electronic tag, the tag information includes at least a scene ID and a program ID;
步骤420,启动程序标识对应的设备控制程序; Step 420, start the device control program corresponding to the program identification;
步骤430,基于设备控制程序,将场景标识传输至控制服务器,以供控制服务器下发控制指令至场景标识对应控制列表中的设备。 Step 430, based on the device control program, transmit the scene ID to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
考虑到目前物联网的设备都能够支持电子标签的读写操作。同时考虑到目前主流的操作系统都可以根据应用程序的标识来启动应用程序,例如:windows系统中的应用程序路径、android系统中的包名(Package Name)以及IOS系统中的URL等。Considering that the current Internet of Things devices can support the read and write operations of electronic tags. At the same time, it is considered that the current mainstream operating systems can start the application program according to the identification of the application program, such as: the application program path in the windows system, the package name (Package Name) in the android system, and the URL in the IOS system.
因此,本申请实施例通过读取内存储有程序标识和场景标识的电子标签,以启动设备控制程序并触发执行联动控制操作场景。Therefore, in the embodiment of the present application, the device control program is started and the execution of the linked control operation scene is triggered by reading the electronic tag stored with the program identification and the scene identification.
具体地,首先读取电子标签内存储的标签信息,并对该标签信息进行识别,至少识别得到场景标识和程序标识,还可以识别得到场景信息,例如:场景名称或者设备列表等,本申请对此不作限制。然后根据程序标识启动其对应的设备控制程序,最后设备控制程序自动将该场景标识发送到控制服务器,控制服务器根据该场景标识联动控制该场景标识对应场景下的设备。其中,场景标识可以作为设备控制程序的启动参数传入,也可以由设备控制器在发送场景标识之前,通过主动读取电子标签获取,本申请实施例对此不作限制。Specifically, first read the tag information stored in the electronic tag, and identify the tag information, at least identify the scene ID and program ID, and also identify the scene information, such as: scene name or equipment list, etc. This is not limited. Then start its corresponding equipment control program according to the program identification, and finally the equipment control program automatically sends the scene identification to the control server, and the control server controls the equipment in the scene corresponding to the scene identification according to the scene identification. Wherein, the scene ID may be passed in as a startup parameter of the device control program, or may be acquired by the device controller by actively reading the electronic tag before sending the scene ID, which is not limited in this embodiment of the present application.
需要说明的是,电子标签可以是接触式的电子标签,例如:芯片标签,还可以是非接触式的电子标签,例如:NFC标签(Near Field Communication,近距离无线通信)或者RFID标签(Radio Frequency Identification,射频识别),本申请实施例对此不作限制。以仅存储场景标识和程序标识为例,电子标签内存储的内容可以是从两个扇区分别读取,其中一个扇区保存有场景标识,另一个扇区保存有程序标识,还可以是单扇区存储有场景标识和程序标识的JSON格式的字符串,或者是场景标识和程序标识之间增加了分隔符的URL字符串,本申请实施例对此不作限制。控制服务器中可以存储有场景标识以及其对应场景下的设备的映射关系,还可以是控制服务器通过请求其它服务器获取该映射关系,该映射关系可以是在控制服务 器配置生成并保存,也可以由终端设备配置生成后发送至控制服务器,由控制服务器进行存储,本申请实施例对此不作限制。It should be noted that the electronic tag can be a contact electronic tag, such as a chip tag, or a non-contact electronic tag, such as: NFC tag (Near Field Communication, short-range wireless communication) or RFID tag (Radio Frequency Identification , radio frequency identification), which is not limited in this embodiment of the present application. Taking only the storage of the scene ID and the program ID as an example, the content stored in the electronic tag can be read from two sectors separately, one of which stores the scene ID, and the other sector stores the program ID, or it can be a single The sector stores a string in JSON format of the scene ID and the program ID, or a URL string with separators added between the scene ID and the program ID, which is not limited in this embodiment of the present application. The control server can store the scene identifier and the mapping relationship of the equipment in the corresponding scene, or the control server can obtain the mapping relationship by requesting other servers. The mapping relationship can be generated and saved in the control server configuration, or can be configured by the terminal After the device configuration is generated, it is sent to the control server for storage, which is not limited in this embodiment of the present application.
考虑到联动控制场景中的一些设备的操作需要一些前置设备的操作结果状态来确定是否执行,或者该设备需要根据当前其运行的状态来确实是否执行当前操作。因此,本申请实施例控制服务器通过场景配置信息来记录以上的执行操作逻辑或者步骤,然后在联动控制的时候,根据该场景配置信息中的操作逻辑或者步骤等执行操作。Considering that the operation of some devices in the linkage control scenario requires the operation result status of some front-end devices to determine whether to execute, or the device needs to determine whether to execute the current operation according to its current running state. Therefore, the control server in this embodiment of the application records the above execution operation logic or steps through the scene configuration information, and then executes operations according to the operation logic or steps in the scene configuration information during linkage control.
控制服务器下发控制指令至场景标识对应控制列表中的设备具体的操作可以是根据该场景配置中的设备操作逻辑或者步骤向对应的设备发送控制指令。其中,场景标识对应的场景配置信息可以是读取本地的场景标识和场景配置信息的对应关系数据获得,还可以是通过请求其它服务器获得,本申请实施例对此不作限制。The specific operation for the control server to deliver the control command to the device in the control list corresponding to the scene identifier may be to send the control command to the corresponding device according to the device operation logic or steps in the scene configuration. The scene configuration information corresponding to the scene ID may be obtained by reading the corresponding relationship data between the local scene ID and the scene configuration information, or may be obtained by requesting other servers, which is not limited in this embodiment of the present application.
需要说明的是,设备操作逻辑可以是并行的处理逻辑,还可以是串行的处理逻辑。在并行的处理逻辑下,控制服务器会向场景配置中的设备并行发送控制指令,即不需要等待前一个设备的控制指令返回直接发送下一个设备的控制指令;在串行的处理逻辑下则会等待前一个设备的控制指令返回后,才会发送下一个设备的控制指令,此处场景配置中还可以存储场景执行步骤,依据执行步骤串行的发送设备的控制指令。此外,场景配置中还可以存储获取设备当前状态的标识,若此状态标识为需要获取设备的当前状态,则会在发送设备的控制指令之前获取该设备的当前运行状态。本申请实施例对以上的操作均不作限制。其中,控制指令与需要执行的控制指令的设备建立对应关系,并记录于场景配置中。It should be noted that the device operation logic may be parallel processing logic or serial processing logic. Under the parallel processing logic, the control server will send control commands to the devices in the scene configuration in parallel, that is, it does not need to wait for the control command of the previous device to return and directly sends the control command of the next device; under the serial processing logic, it will Wait for the control command of the previous device to return before sending the control command of the next device. Here, the scene configuration can also store the scene execution steps, and send the control commands of the device serially according to the execution steps. In addition, the scene configuration can also store an identifier for obtaining the current state of the device. If the state is identified as requiring the current state of the device to be obtained, the current operating state of the device will be obtained before sending the control command of the device. The embodiment of the present application does not limit the above operations. Among them, a corresponding relationship is established between the control instruction and the device that needs to execute the control instruction, and is recorded in the scene configuration.
本申请实施例提供的联动控制方法,通过读取电子标签内存储的场景标识和程序标识,自动启动该程序标识对应的应用程序,该应用程序自动发送场景标识至控制服务器供其进行联动操作。实现了能基于读取电子标签这一个交互步骤,完成对单设备多功能或者多设备联动操作,减少了用户触发联动操作的操作步骤,进而减少了交互成本,提高了用户的交互体验感。The linkage control method provided by the embodiment of the present application automatically starts the application corresponding to the program identifier by reading the scene identifier and the program identifier stored in the electronic tag, and the application program automatically sends the scenario identifier to the control server for linkage operation. Based on the interaction step of reading the electronic tag, the multi-function or multi-device linkage operation of a single device is realized, which reduces the operation steps for the user to trigger the linkage operation, thereby reducing the interaction cost and improving the user's interaction experience.
基于上述实施例,步骤430之后还包括:Based on the above-mentioned embodiment, after step 430, it also includes:
接收控制服务器返回的设备执行状态;Receive the device execution status returned by the control server;
设备执行状态是控制服务器接收的场景标识对应控制列表中的设备返回的执行状态。The execution state of the device is the execution state returned by the device in the control list corresponding to the scenario ID received by the control server.
考虑到用户希望能够实时知道其触发执行的联动操作场景中各设备的执行状态。因此,本申请实施例在向设备发送控制指令之后,会接收来自设备执行该控制指令后所返回的执行状态,并将该执行状态返回触发执行该场景的终端,再由该终端中的设备控制程序进行界面显示。Considering that users want to be able to know the execution status of each device in the linked operation scenario triggered by them in real time. Therefore, in the embodiment of the present application, after sending a control command to the device, it will receive the execution status returned from the device after executing the control command, and return the execution status to the terminal that triggered the execution of the scene, and then the device in the terminal will control the execution status. The program displays the interface.
本申请实施例提供的联动控制方法,通过读取电子标签内存储的场景标识和程序标识,自动启动该程序标识对应的应用程序,该应用程序自动发送场景标识至控制服务器供其进行联动操作。实现了能基于读取电子标签一个交互步骤,完成对单设备多功能或者多设备联动操作,减少了用户触发联动操作的操作步骤,进而减少了交互成本,提高了用户的交互体验感,通过实时返回的场景中的各设备的执行状态,在终端进行显示,使得用户能够实时知道当前的场景执行状态,进一步提高了用户的交互体验感。The linkage control method provided by the embodiment of the present application reads the scene ID and program ID stored in the electronic tag, automatically starts the application program corresponding to the program ID, and the application program automatically sends the scene ID to the control server for linkage operation. Based on an interactive step of reading electronic tags, it can complete multi-functional or multi-device linkage operations on a single device, reducing the operation steps for users to trigger linkage operations, thereby reducing interaction costs and improving users' interaction experience. Through real-time The execution status of each device in the returned scene is displayed on the terminal, so that the user can know the current scene execution status in real time, further improving the user's interactive experience.
基于上述实施例,步骤410之后还包括:Based on the above-mentioned embodiment, after step 410, it also includes:
基于标签信息的存储结构,从标签信息中提取场景标识和程序标识。Based on the storage structure of the tag information, the scene ID and the program ID are extracted from the tag information.
需要说明的是,标签信息的存储结构是从两个扇区分别读取,其中一个扇区保存有场景标识,另一个扇区保存有程序标识,还可以是单扇区存储有场景标识和程序标识的JSON格式的字符串,或者是场景标识和程序标识之间增加了分隔符的URL字符串,本申请实施例对此不作限制。It should be noted that the storage structure of the label information is read from two sectors separately, one of which stores the scene ID, and the other sector stores the program ID, or a single sector stores the scene ID and the program The identifier is a string in JSON format, or a URL string with a delimiter added between the scene identifier and the program identifier, which is not limited in this embodiment of the present application.
图5是本申请提供的联动控制方法的时序图。如图5所示,本申请实施例还提供了一种联动控制方法,该方法包括配置部分和执行部分。Fig. 5 is a sequence diagram of the linkage control method provided by the present application. As shown in FIG. 5 , the embodiment of the present application also provides a linkage control method, which includes a configuration part and an execution part.
其中,电子标签具体为NFC标签,终端为待NFC读写功能的智能手机,场景标识为场景唯一标识id,程序标识为App自身的唯一标识,场景中的设备为智能设备。Among them, the electronic tag is specifically an NFC tag, the terminal is a smart phone to be read and written by NFC, the scene ID is the unique ID of the scene, the program ID is the unique ID of the App itself, and the devices in the scene are smart devices.
配置部分的步骤如下:The steps in the configuration section are as follows:
步骤511,App根据用户输入的场景配置,设置场景所需的智能设备和智能设备的功能的场景配置信息。Step 511 , the App sets scene configuration information of smart devices and functions of the smart devices required by the scene according to the scene configuration input by the user.
步骤512,App向控制服务器发起保存场景配置信息请求。In step 512, the App initiates a request to the control server to save scene configuration information.
步骤513,控制服务器收到场景配置信息后,将场景配置信息保存,并根据此场景配置信息生成场景唯一标识id。Step 513: After receiving the scene configuration information, the control server saves the scene configuration information, and generates a unique scene identifier id according to the scene configuration information.
步骤514,控制服务器将保存结果和生成的场景唯一标识id返回给App。Step 514, the control server returns the saving result and the generated scene unique identifier id to the App.
步骤515,App收到服务器返回的信息,将场景唯一标识id和App自身的唯一标识符组合成URL字符串。Step 515, the App receives the information returned by the server, and combines the unique identifier id of the scene and the unique identifier of the App itself into a URL string.
步骤516,App会发起写入NFC请求,提示用户将NFC标签贴近手机的NFC读取区。Step 516, the App will initiate a write NFC request, prompting the user to put the NFC tag close to the NFC reading area of the mobile phone.
步骤517,手机检测到NFC标签后,将步骤815生成的URL字符串写入到NFC标签中。Step 517, after the mobile phone detects the NFC tag, write the URL string generated in step 815 into the NFC tag.
步骤518,写入成功后,App提示用户,写入成功;此时再将NFC标签贴近手机读取区,可进行标签内容读取操作。Step 518, after the writing is successful, the App prompts the user that the writing is successful; at this time, the NFC tag is placed close to the reading area of the mobile phone, and the tag content can be read.
执行部分的步骤如下:The steps to execute the part are as follows:
步骤521,将已写入场景的NFC标签贴近手机NFC读取区,手机系统读取到标签内容URL,识别到设备控制App的唯一标识后,自动启动App,并将URL传递给App。Step 521, put the NFC tag written in the scene close to the NFC reading area of the mobile phone, the mobile phone system reads the URL of the tag content, and after recognizing the unique identifier of the device control App, automatically starts the App and passes the URL to the App.
步骤522,App解析传递过来的URL,识别出URL中场景唯一标识id,自动调用场景控制相关模块功能。In step 522, the App parses the transmitted URL, identifies the unique ID of the scene in the URL, and automatically invokes the function of the relevant module of scene control.
步骤523,场景控制相关模块调用网络接口,将场景唯一标识id传递给控制服务器。In step 523, the scene control related module invokes the network interface, and transmits the scene unique identifier id to the control server.
步骤524,控制服务器根据收到的场景唯一标识id查询出相关的场景配置信息。In step 524, the control server queries related scene configuration information according to the received scene unique identifier id.
步骤525,控制服务器判断当前场景的执行状态,下发操作指令给智能设备。Step 525, the control server judges the execution state of the current scene, and sends an operation instruction to the smart device.
步骤526,智能设备收到操作指令后自动执行,运行相关功能。Step 526, the smart device automatically executes after receiving the operation instruction, and runs related functions.
步骤527,智能设备将当前的运行状态实时反馈给控制服务器和App。Step 527, the smart device feeds back the current operating status to the control server and App in real time.
步骤528,控制服务器收到智能设备的实时运行状态后,再次循环执行步骤526,直到场景配置信息的内容全部执行完毕。In step 528, after the control server receives the real-time running status of the smart device, it loops through step 526 again until all content of the scene configuration information is executed.
下面对本申请提供的联动控制设备和联动控制系统进行描述,下文描述的联动控制设备和联动控制系统与上文描述的联动控制方法可相互对应参照。The linkage control device and the linkage control system provided in the present application are described below, and the linkage control device and linkage control system described below and the linkage control method described above can be referred to in correspondence.
图6是本申请提供的联动控制配置设备的结构示意图。如图6所示, 该联动控制配置设备包括:发送配置模块610、接收标识模块620和存储标签模块630;FIG. 6 is a schematic structural diagram of a linkage control configuration device provided by the present application. As shown in FIG. 6, the linkage control configuration device includes: a sending configuration module 610, a receiving identification module 620 and a storage tag module 630;
其中,in,
发送配置模块610,用于基于设备控制程序,将场景配置信息传输至控制服务器;The sending configuration module 610 is used to transmit the scene configuration information to the control server based on the device control program;
接收标识模块620,用于接收控制服务器返回的场景配置信息对应的场景标识;The receiving identification module 620 is configured to receive the scene identification corresponding to the scene configuration information returned by the control server;
存储标签模块630,用于将场景标识,以及设备控制程序对应的程序标识写入电子标签。The storage label module 630 is configured to write the scene identification and the program identification corresponding to the device control program into the electronic label.
在本申请实施例中,通过发送配置模块610,用于基于设备控制程序,将场景配置信息传输至控制服务器;接收标识模块620,用于接收控制服务器返回的场景配置信息对应的场景标识;存储标签模块630,用于将场景标识,以及设备控制程序对应的程序标识写入电子标签,使得可以在读取电子标签内存储的至少包含有场景标识和程序标识的标签信息后,自动启动该程序标识对应的应用程序,该应用程序自动发送场景标识至控制服务器供其进行联动操作。实现了能基于读取电子标签一个交互步骤,完成对单设备多功能或者多设备联动操作,减少了用户触发联动操作的操作步骤,进而减少了交互成本,提高了用户的交互体验感。In the embodiment of the present application, the sending configuration module 610 is used to transmit the scene configuration information to the control server based on the device control program; the receiving identification module 620 is used to receive the scene identification corresponding to the scene configuration information returned by the control server; The tag module 630 is configured to write the scene ID and the program ID corresponding to the device control program into the electronic tag, so that the program can be automatically started after reading the tag information stored in the electronic tag that contains at least the scene ID and the program ID The corresponding application program is identified, and the application program automatically sends the scene identification to the control server for linkage operation. Based on one interactive step of reading the electronic tag, the multi-function or multi-device linkage operation of a single device is realized, which reduces the operation steps for the user to trigger the linkage operation, thereby reducing the interaction cost and improving the user's interactive experience.
基于上述任一实施例,发送配置模块610包括:Based on any of the above embodiments, the sending configuration module 610 includes:
展示配置功能子模块,用于展示待配置设备,以及待配置设备的待配置功能;The display configuration function sub-module is used to display the device to be configured and the function to be configured of the device to be configured;
配置信息确定子模块,用于响应于用户基于待配置设备和待配置设备的待配置功能的场景配置操作,确定场景配置信息。The configuration information determining submodule is configured to determine the scene configuration information in response to the user's scene configuration operation based on the device to be configured and the function to be configured of the device to be configured.
基于上述任一实施例,存储标签模块630包括:Based on any of the above embodiments, the storage tag module 630 includes:
构建标签子模块,用于基于场景标识和程序标识,构建标签信息;Construct a label sub-module, which is used to construct label information based on scene identification and program identification;
写入标签子模块,用于将标签信息写入电子标签。Write label sub-module, used to write label information into the electronic label.
图7是本申请提供的联动控制设备的结构示意图。如图7所示,该联动控制设备包括:读取模块710、启动模块720和传输模块730。Fig. 7 is a schematic structural diagram of the linkage control device provided by the present application. As shown in FIG. 7 , the linkage control device includes: a reading module 710 , a starting module 720 and a transmission module 730 .
其中,in,
读取模块710,用于读取电子标签内存储的标签信息,标签信息至少 包括场景标识和程序标识;The reading module 710 is used to read the tag information stored in the electronic tag, and the tag information includes at least a scene identification and a program identification;
启动模块720,用于启动程序标识对应的设备控制程序;The startup module 720 is configured to start the device control program corresponding to the program identifier;
传输模块730,用于基于设备控制程序,将场景标识传输至控制服务器,以供控制服务器下发控制指令至场景标识对应控制列表中的设备。The transmission module 730 is configured to transmit the scene ID to the control server based on the device control program, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
在本申请实施例中,通过读取模块710,用于读取电子标签内存储的标签信息,标签信息至少包括场景标识和程序标识;启动模块720,用于启动程序标识对应的设备控制程序;传输模块730,用于基于设备控制程序,将场景标识传输至控制服务器,以供控制服务器下发控制指令至场景标识对应控制列表中的设备,实现了能基于读取电子标签一个交互步骤,完成对单设备多功能或者多设备联动操作,减少了用户触发联动操作的操作步骤,进而减少了交互成本,提高了用户的交互体验感。In the embodiment of the present application, the reading module 710 is used to read the tag information stored in the electronic tag, and the tag information includes at least a scene ID and a program ID; the startup module 720 is used to start the device control program corresponding to the program ID; The transmission module 730 is used to transmit the scene identification to the control server based on the device control program, so that the control server can issue control instructions to the devices in the control list corresponding to the scene identification, and realize the interactive step based on reading the electronic tag. For single-device multi-function or multi-device linkage operation, the operation steps for the user to trigger the linkage operation are reduced, thereby reducing the interaction cost and improving the user's interactive experience.
基于上述任一实施例,本申请提供的联动控制设备,传输模块730包括:Based on any of the above embodiments, in the linkage control device provided by this application, the transmission module 730 includes:
接收执行状态子模块,用于在设备控制程序,将场景标识传输至控制服务器之后,接收控制服务器返回的设备执行状态;The receiving execution status sub-module is used to receive the device execution status returned by the control server after the device control program transmits the scene identifier to the control server;
设备执行状态是控制服务器接收的场景标识对应控制列表中的设备返回的执行状态。The execution state of the device is the execution state returned by the device in the control list corresponding to the scenario ID received by the control server.
基于上述任一实施例,读取模块710包括:Based on any of the above embodiments, the reading module 710 includes:
标识提取子模块,用于在读取电子标签内存储的标签信息之后,基于标签信息的存储结构,从标签信息中提取场景标识和程序标识。The identification extraction sub-module is used to extract the scene identification and the program identification from the label information based on the storage structure of the label information after reading the label information stored in the electronic label.
图8为本申请提供的联动控制系统的结构示意图,如图8所示,该联动控制系统包括:接收模块810和联动模块820。FIG. 8 is a schematic structural diagram of a linkage control system provided by the present application. As shown in FIG. 8 , the linkage control system includes: a receiving module 810 and a linkage module 820 .
其中,in,
接收模块810,用于接收终端发送的场景标识,场景标识是终端从电子标签中读取后基于设备控制程序发送的,设备控制程序是终端基于从电子标签中读取的程序标识启动的;The receiving module 810 is configured to receive the scene identification sent by the terminal, the scene identification is sent by the terminal based on the device control program after reading from the electronic tag, and the device control program is started by the terminal based on the program identification read from the electronic tag;
联动模块820,用于联动控制场景标识对应控制列表中的设备。The linkage module 820 is used for linkage control scene identification corresponding to the equipment in the control list.
在本申请实施例中,通过接收模块810,用于接收终端发送的场景标识,场景标识是终端从电子标签中读取后基于设备控制程序发送的,设备控制程序是终端基于从电子标签中读取的程序标识启动的;联动模块820, 用于联动控制场景标识对应控制列表中的设备,实现了能基于读取电子标签一个交互步骤,完成对单设备多功能或者多设备联动操作,减少了用户触发联动操作的操作步骤,进而减少了交互成本,提高了用户的交互体验感。In this embodiment of the application, the receiving module 810 is used to receive the scene ID sent by the terminal. The scene ID is sent based on the device control program after the terminal reads the electronic tag. The device control program is based on the terminal reading from the electronic tag. Started by the program identification taken; the linkage module 820 is used for linkage control of the equipment in the corresponding control list of the scene identification, and realizes the multi-function or multi-equipment linkage operation of a single equipment based on an interactive step of reading the electronic tag, reducing the The user triggers the operation steps of the linkage operation, thereby reducing the interaction cost and improving the user's interaction experience.
图9示例了一种电子设备的实体结构示意图,如图9所示,该电子设备可以包括:处理器(processor)910、通信接口(Communications Interface)920、存储器(memory)930和通信总线940,其中,处理器910,通信接口920,存储器930通过通信总线940完成相互间的通信。处理器910可以调用存储器930中的逻辑指令,以执行联动控制配置方法或者联动控制方法,该联动控制配置方法包括:基于设备控制程序,将场景配置信息传输至控制服务器;接收控制服务器返回的场景配置信息对应的场景标识;将场景标识,以及设备控制程序对应的程序标识写入电子标签;该联动控制方法包括:读取电子标签内存储的标签信息,标签信息至少包括场景标识和程序标识;启动程序标识对应的设备控制程序;基于设备控制程序,将场景标识传输至控制服务器,以供控制服务器下发控制指令至场景标识对应控制列表中的设备。FIG. 9 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 9, the electronic device may include: a processor (processor) 910, a communication interface (Communications Interface) 920, a memory (memory) 930 and a communication bus 940, Wherein, the processor 910 , the communication interface 920 , and the memory 930 communicate with each other through the communication bus 940 . The processor 910 can call the logic instructions in the memory 930 to execute the linkage control configuration method or the linkage control method. The linkage control configuration method includes: based on the device control program, transmitting the scene configuration information to the control server; receiving the scene configuration information returned by the control server The scene identification corresponding to the configuration information; writing the scene identification and the program identification corresponding to the equipment control program into the electronic tag; the linkage control method includes: reading the tag information stored in the electronic tag, and the tag information includes at least the scene identification and the program identification; Start the device control program corresponding to the program identifier; based on the device control program, transmit the scene identifier to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene identifier.
此外,上述的存储器930中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the memory 930 may be implemented in the form of software function units and be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution 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, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
另一方面,本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的联动控制配置方法或者联动控制方法,该联动控制配置方法包括:基于设备控制程序,将场景配置信息传输至控制服务器;接收控制服务器返回的场景 配置信息对应的场景标识;将场景标识,以及设备控制程序对应的程序标识写入电子标签;该联动控制方法包括:读取电子标签内存储的标签信息,标签信息至少包括场景标识和程序标识;启动程序标识对应的设备控制程序;基于设备控制程序,将场景标识传输至控制服务器,以供控制服务器下发控制指令至场景标识对应控制列表中的设备。On the other hand, the present application also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can Executing the linkage control configuration method or linkage control method provided by the above methods, the linkage control configuration method includes: based on the device control program, transmitting the scene configuration information to the control server; receiving the scene identification corresponding to the scene configuration information returned by the control server; Write the scene identification and the program identification corresponding to the device control program into the electronic tag; the linkage control method includes: reading the tag information stored in the electronic tag, the tag information includes at least the scene identification and the program identification; starting the device control corresponding to the program identification program; based on the device control program, the scene ID is transmitted to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
又一方面,本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的联动控制配置方法或者联动控制方法,该联动控制配置方法包括:基于设备控制程序,将场景配置信息传输至控制服务器;接收控制服务器返回的场景配置信息对应的场景标识;将场景标识,以及设备控制程序对应的程序标识写入电子标签;该联动控制方法包括:读取电子标签内存储的标签信息,标签信息至少包括场景标识和程序标识;启动程序标识对应的设备控制程序;基于设备控制程序,将场景标识传输至控制服务器,以供控制服务器下发控制指令至场景标识对应控制列表中的设备。In yet another aspect, the present application 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 linkage control configuration method or the linkage control method provided by the above-mentioned methods The linkage control configuration method includes: based on the device control program, transmitting the scene configuration information to the control server; receiving the scene identification corresponding to the scene configuration information returned by the control server; writing the scene identification and the program identification corresponding to the equipment control program into the electronic tag; the linkage control method includes: reading tag information stored in the electronic tag, where the tag information includes at least a scene ID and a program ID; starting a device control program corresponding to the program ID; based on the device control program, transmitting the scene ID to the control server, It is used for the control server to issue control commands to the devices in the control list corresponding to the scene ID.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and 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 it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修 改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims (11)

  1. 一种联动控制配置方法,包括:A linkage control configuration method, comprising:
    基于设备控制程序,将场景配置信息传输至控制服务器;Based on the device control program, the scene configuration information is transmitted to the control server;
    接收所述控制服务器返回的所述场景配置信息对应的场景标识;receiving the scene identifier corresponding to the scene configuration information returned by the control server;
    将所述场景标识,以及所述设备控制程序对应的程序标识写入电子标签。Write the scene identifier and the program identifier corresponding to the device control program into the electronic tag.
  2. 根据权利要求1所述的联动控制配置方法,其中,所述基于设备控制程序,将场景配置信息传输至控制服务器,之前还包括:The linkage control configuration method according to claim 1, wherein the transmission of scene configuration information to the control server based on the device control program further includes:
    展示待配置设备,以及所述待配置设备的待配置功能;displaying the device to be configured and the functions to be configured of the device to be configured;
    响应于用户基于所述待配置设备和所述待配置设备的待配置功能的场景配置操作,确定所述场景配置信息。The scene configuration information is determined in response to a user's scene configuration operation based on the device to be configured and the function to be configured of the device to be configured.
  3. 根据权利要求1所述的联动控制配置方法,其中,所述将所述场景标识,以及所述设备控制程序对应的程序标识写入电子标签,包括:The linkage control configuration method according to claim 1, wherein writing the scene identifier and the program identifier corresponding to the device control program into the electronic tag includes:
    基于所述场景标识和所述程序标识,构建标签信息;Construct tag information based on the scene identifier and the program identifier;
    将所述标签信息写入所述电子标签。Write the tag information into the electronic tag.
  4. 一种联动控制方法,包括:A linkage control method, comprising:
    读取电子标签内存储的标签信息,所述标签信息至少包括场景标识和程序标识;Read the tag information stored in the electronic tag, where the tag information includes at least a scene ID and a program ID;
    启动所述程序标识对应的设备控制程序;Start the device control program corresponding to the program identifier;
    基于所述设备控制程序,将所述场景标识传输至控制服务器,以供所述控制服务器下发控制指令至所述场景标识对应控制列表中的设备。Based on the device control program, the scene ID is transmitted to the control server, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
  5. 根据权利要求4所述的联动控制方法,其中,所述基于所述设备控制程序,将所述场景标识传输至控制服务器,之后还包括:The linkage control method according to claim 4, wherein, based on the device control program, transmitting the scene identifier to the control server, and then further comprising:
    接收所述控制服务器返回的设备执行状态;receiving the device execution status returned by the control server;
    所述设备执行状态是所述控制服务器接收的所述场景标识对应控制列表中的设备返回的执行状态。The device execution status is the execution status returned by the device in the control list corresponding to the scene ID received by the control server.
  6. 根据权利要求4或5所述的联动控制方法,其中,所述读取电子标签内存储的标签信息,之后还包括:The linkage control method according to claim 4 or 5, wherein said reading the tag information stored in the electronic tag further includes:
    基于所述标签信息的存储结构,从所述标签信息中提取所述场景标识和所述程序标识。Based on the storage structure of the tag information, the scene identifier and the program identifier are extracted from the tag information.
  7. 一种联动控制配置设备,包括:A linkage control configuration device, comprising:
    发送配置模块,用于基于设备控制程序,将场景配置信息传输至控制服务器;The sending configuration module is used to transmit the scene configuration information to the control server based on the device control program;
    接收标识模块,用于接收所述控制服务器返回的所述场景配置信息对应的场景标识;A receiving identification module, configured to receive the scene identification corresponding to the scene configuration information returned by the control server;
    存储标签模块,用于将所述场景标识,以及所述设备控制程序对应的程序标识写入电子标签。The storage label module is used to write the scene identification and the program identification corresponding to the device control program into the electronic label.
  8. 一种联动控制设备,包括:A linkage control device, comprising:
    读取模块,用于读取电子标签内存储的标签信息,所述标签信息至少包括场景标识和程序标识;The reading module is used to read the tag information stored in the electronic tag, and the tag information includes at least a scene ID and a program ID;
    启动模块,用于启动所述程序标识对应的设备控制程序;A startup module, configured to start the device control program corresponding to the program identifier;
    传输模块,用于基于所述设备控制程序,将所述场景标识传输至控制服务器,以供所述控制服务器下发控制指令至所述场景标识对应控制列表中的设备。A transmission module, configured to transmit the scene ID to a control server based on the device control program, so that the control server can issue control instructions to the devices in the control list corresponding to the scene ID.
  9. 一种联动控制系统,包括:A linkage control system, comprising:
    接收模块,用于接收终端发送的场景标识,所述场景标识是所述终端从电子标签中读取后基于设备控制程序发送的,所述设备控制程序是所述终端基于从所述电子标签中读取的程序标识启动的;The receiving module is used to receive the scene identification sent by the terminal, the scene identification is sent by the terminal based on the device control program after reading it from the electronic tag, and the device control program is based on the information obtained from the electronic tag by the terminal. The read program ID is started;
    联动模块,用于联动控制所述场景标识对应控制列表中的设备。A linkage module, configured to linkage control the devices in the control list corresponding to the scene identifier.
  10. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1至3任一项所述联动控制配置方法的步骤或者实现如权利要求4至6任一项所述联动控制方法的步骤。An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the program, any one of claims 1 to 3 is implemented. The steps of the linkage control configuration method described in claim 1 or the steps of realizing the linkage control method described in any one of claims 4 to 6.
  11. 一种非暂态计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至3任一项所述联动控制配置方法的步骤或者实现如权利要求4至6任一项所述联动控制方法的步骤。A non-transitory computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the linkage control configuration method according to any one of claims 1 to 3 are realized or the steps as described in The steps of the linkage control method described in any one of claims 4 to 6.
PCT/CN2022/110214 2022-01-12 2022-08-04 Linkage control configuration method, linkage control method and linkage control system WO2023134153A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210032203.3 2022-01-12
CN202210032203.3A CN114500138A (en) 2022-01-12 2022-01-12 Linkage control configuration method, linkage control method and linkage control system

Publications (1)

Publication Number Publication Date
WO2023134153A1 true WO2023134153A1 (en) 2023-07-20

Family

ID=81511694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/110214 WO2023134153A1 (en) 2022-01-12 2022-08-04 Linkage control configuration method, linkage control method and linkage control system

Country Status (2)

Country Link
CN (1) CN114500138A (en)
WO (1) WO2023134153A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117420808A (en) * 2023-12-18 2024-01-19 中国科学院近代物理研究所 Modular control method and system, electronic equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500138A (en) * 2022-01-12 2022-05-13 青岛海尔科技有限公司 Linkage control configuration method, linkage control method and linkage control system
CN115268283A (en) * 2022-06-29 2022-11-01 青岛海尔科技有限公司 Edge scene execution method and device, storage medium and electronic device
CN116684219B (en) * 2023-08-01 2023-10-20 广东金朋科技有限公司 Scene triggering method, system, electronic equipment and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140085089A1 (en) * 2012-09-21 2014-03-27 Tyco Fire & Security Gmbh Mobile retail peripheral platform for handheld devices
CN108055293A (en) * 2017-11-10 2018-05-18 阿里巴巴集团控股有限公司 Business quick start method and device and electronic equipment in application program
CN111522251A (en) * 2020-06-28 2020-08-11 海尔优家智能科技(北京)有限公司 Linkage control method and device and computer readable storage medium
CN112990400A (en) * 2021-03-31 2021-06-18 建信金融科技有限责任公司 Scene service method, device and system based on NFC label
CN114500138A (en) * 2022-01-12 2022-05-13 青岛海尔科技有限公司 Linkage control configuration method, linkage control method and linkage control system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014049884A (en) * 2012-08-30 2014-03-17 Toshiba Corp Scene information output device, scene information output program, and scene information output method
CN110430558B (en) * 2019-06-26 2023-04-07 深圳绿米联创科技有限公司 Device control method, device, electronic device and storage medium
CN112230554A (en) * 2019-07-15 2021-01-15 广东美的制冷设备有限公司 Linkage control method and system, terminal, computer device and storage medium
CN112350907A (en) * 2020-11-05 2021-02-09 深圳Tcl新技术有限公司 Scene linkage control method, terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140085089A1 (en) * 2012-09-21 2014-03-27 Tyco Fire & Security Gmbh Mobile retail peripheral platform for handheld devices
CN108055293A (en) * 2017-11-10 2018-05-18 阿里巴巴集团控股有限公司 Business quick start method and device and electronic equipment in application program
CN111522251A (en) * 2020-06-28 2020-08-11 海尔优家智能科技(北京)有限公司 Linkage control method and device and computer readable storage medium
CN112990400A (en) * 2021-03-31 2021-06-18 建信金融科技有限责任公司 Scene service method, device and system based on NFC label
CN114500138A (en) * 2022-01-12 2022-05-13 青岛海尔科技有限公司 Linkage control configuration method, linkage control method and linkage control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117420808A (en) * 2023-12-18 2024-01-19 中国科学院近代物理研究所 Modular control method and system, electronic equipment and storage medium
CN117420808B (en) * 2023-12-18 2024-03-08 中国科学院近代物理研究所 Modular control method and system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114500138A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
WO2023134153A1 (en) Linkage control configuration method, linkage control method and linkage control system
US11086596B2 (en) Electronic device, server and control method thereof
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
US20130237152A1 (en) Methods and systems for hardware and software related to a near field communications task launcher
US20210398527A1 (en) Terminal screen projection control method and terminal
CN112423238A (en) Electronic device, control terminal, storage medium, and device connection method
EP3131303B1 (en) Method and device for transmitting data in intelligent terminal to television terminal
CN110235087A (en) A kind of method and terminal for realizing voice control
JP5275526B2 (en) Token for communicating with host device, and corresponding communication system and method
US20200260277A1 (en) Method for wireless access authentication
CN109725543B (en) Equipment control code configuration method and device, cloud server and network system
JP2017510112A (en) Method for supporting wireless access to storage device and mobile routing hotspot device
WO2017128182A1 (en) Near field communication payment method and terminal
EP4318239A1 (en) Methods and apparatuses for calling application program, storage medium, and electronic device
CN113552808A (en) Network distribution method for electronic home equipment, electronic home equipment and mobile terminal
CN111435318A (en) Dex optimization method of application program and terminal
CN112468536A (en) Method and system for controlling intelligent equipment
WO2023103918A1 (en) Speech control method and apparatus, and electronic device and storage medium
KR20140112149A (en) System for running application on mobiledevices using NFC tag
US20210334071A1 (en) Dialogue processing method and device
US20140085486A1 (en) Information processing terminal, information processing method, and apparatus control system
CN114860333A (en) Service arranging method and electronic equipment
CN115061785A (en) Information issuing method and device, storage medium and server
CN105760908A (en) Smart card identification method, smart card identification device, smart card identification data processing method and smart card identification data processing device
EP2624176A1 (en) Menu assembly method, menu assembly system and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22919790

Country of ref document: EP

Kind code of ref document: A1