CN116483002A - Object interconnection method and electronic equipment - Google Patents

Object interconnection method and electronic equipment Download PDF

Info

Publication number
CN116483002A
CN116483002A CN202310270845.1A CN202310270845A CN116483002A CN 116483002 A CN116483002 A CN 116483002A CN 202310270845 A CN202310270845 A CN 202310270845A CN 116483002 A CN116483002 A CN 116483002A
Authority
CN
China
Prior art keywords
target
user
input
identification
electronic device
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310270845.1A
Other languages
Chinese (zh)
Inventor
徐凤丽
张莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Melecheng Iot Technology Co ltd
Original Assignee
Beijing Melecheng Iot Technology Co ltd
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 Beijing Melecheng Iot Technology Co ltd filed Critical Beijing Melecheng Iot Technology Co ltd
Publication of CN116483002A publication Critical patent/CN116483002A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The object interconnection method and the electronic device relate to the field of computers and the Internet, and can solve the problem that an existing programming interface is difficult for users without programming knowledge to establish an object interconnection relationship. The method can be executed by electronic equipment, the electronic equipment provides a programming interface, and the identification of an input object and the identification of an output object are displayed; receiving the operation of the user on the identification of the target input object and/or the identification of the target output object; receiving a linkage relation between the running states of a target input object and a target output object input by a user; and sending the linkage relation to the control equipment so that the control equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object, or controlling the running state of the target output object according to the linkage relation and the running state of the target input object by the electronic equipment. The method and the device are applied to programming application environments such as industrial control, intelligent home, electronic equipment and the like.

Description

Object interconnection method and electronic equipment
The present application claims priority from the chinese patent application filed at 18, 03, 2022, filed with the national intellectual property agency, application number 202210268935.2, application name "method of object interconnection and electronic device", the entire contents of which are incorporated herein by reference.
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method for object interconnection and an electronic device.
Background
Programmable logic controllers (programmable logic controller, PLCs) are digital operation electronic systems designed specifically for use in industrial environments. It adopts a programmable memory, in its interior is stored the instruction for executing logic operation, sequence control, timing, counting and arithmetic operation, etc. and utilizes digital or analog input and output to control various mechanical equipments or production processes.
The PLC can be used for realizing equipment interconnection in the industrial automation process. The PLC is used as control equipment and connected with the controlled equipment in a wireless or wired mode, a user writes program codes by using programming software provided by manufacturers, and the PLC is used for running the program codes to control the equipment connected with the PLC. However, the existing programming software has a complex programming interface and requires a certain programming basis for users to operate, so that the existing programming software cannot be widely popularized. For example, fig. 1 is a schematic diagram of a programming interface of a conventional programming software, and a user needs to input the serial numbers (i.e. 0.1, Q0.1 in fig. 1, etc.) of pins of a PLC connected by a device during the programming process of the interface, which requires the user to learn the pin naming rules of the PLC and learn the roles of various programming symbols provided by the programming software in advance. For users without programming knowledge, programming cannot be achieved and thus cannot be widely popularized.
Disclosure of Invention
The embodiment of the application provides an object interconnection method and electronic equipment, which can realize the establishment of an interconnection relationship between objects under the condition that a user does not have a programming basis, reduce the professional requirements on the user and widen the application range.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, a method for object interconnection is provided, applied to an electronic device, where the electronic device is provided with a programming interface, and the programming interface displays an identifier of at least one input object and an identifier of at least one output object.
Wherein the input object comprises one or more of a virtual input device, a physical input device and a functional module; the output object comprises one or more of virtual output equipment, physical output equipment and a functional module; the virtual input device and the virtual output device are modules or applications realized by software programs; the functional module includes functionality provided by an application in the electronic device.
The physical input device may be, for example, a temperature and humidity sensor, a human body sensor, a door and window sensor, etc. The virtual input device may be, for example, a timer, a counter, etc. The physical output device may be, for example, an electric lamp, a door or window, a refrigerator, etc. The virtual output device may be, for example, an actuator, a register, an application, or the like. The virtual input device and the virtual output device are modules or applications implemented by software programs.
The functional module may be a function provided by an Application (APP) installed in the electronic device. For example: a function of sending messages provided by the social application A; a function of regularly publishing information provided by the social application B; the positioning function provided by the map application A and the navigation function provided by the map application B. The functional modules may also be general-purpose functions provided by the electronic device, without limiting the specific application. For example: positioning function, video playing function, social function, etc. Then no matter which APP the electronic device is through, it is only able to provide that function. Such as: the positioning function can correspond to a plurality of APP such as a hundred-degree map, a high-altitude map and the like, and the video playing function can correspond to a plurality of APP such as a Tencel video, a mango video, an Aiqi art, a you cool and the like.
The method for interconnecting the objects comprises the following steps: the electronic device receives an operation of a user identifying a target input object in the at least one input object and/or a user identifying a target output object in the at least one output object. Then, the electronic device receives a linkage relation between the running states of the target input object and the target output object input by the user. Then, in one possible implementation, the electronic device sends the linkage relationship to a control device to cause the control device to control an operational state of the target output object according to the linkage relationship and the operational state of the target input object. In another possible implementation, the electronic device controls the operational state of the target output object according to the linkage relationship and the operational state of the target input object.
In a possible implementation manner of the first aspect, the operation of identifying a target input object in the at least one input object by the user and/or identifying a target output object in the at least one output object by the user includes: a first operation by a user of the identification of a target input object of the at least one input object and a second operation by a user of the identification of a target output object of the at least one output object.
Optionally, the first operation is an operation of clicking on the identifier of the target input object; the second operation is an operation of clicking the identification of the target output object. For example: the programming interface comprises a first area and a second area; the first area is used for displaying an identifier serving as an input object; the second area is used for displaying the identification of the output object. Accordingly, the first operation may be an operation of clicking on the identification of the target input object in the first region. The second operation may be an operation of clicking on the identification of the target input object in the second area.
Optionally, the first operation is an operation of adding the identifier of the target input object to a preset area and clicking the identifier of the target input object, or an operation of adding the identifier of the target input object to the preset area and then performing logic arrangement; the second operation is an operation of clicking the identification of the target output object after the identification of the target output object is added to the preset area, or an operation of performing logic arrangement after the identification of the target output object is added to the preset area.
Optionally, the operation of identifying the target input object in the at least one input object by the user and/or identifying the target output object in the at least one output object by the user includes: and dragging the identification of the target input object to the identification of the target output object by a user.
In the method for interconnecting objects provided by the embodiment of the application, when the interconnection relationship between the objects is established, an easy-to-understand programming interface is provided for a user, and the user does not need to face programming symbols in the programming interface, but faces easy-to-understand identifications (such as icons of the programming objects). And the user only needs to execute simple operations, such as clicking operation or dragging operation and clicking operation, on the identifications of the input objects and the output objects, and the user can complete the establishment of the interconnection relationship between the controlled devices without memorizing pin numbers, programming symbols and the like, namely without having a programming basis according to the interconnection relationship to be established by prompting input. Therefore, the method has lower professional requirements on users and wider application range.
In a possible implementation manner of the first aspect, before the electronic device receives the linkage relation between the operation states of the target input object and the target output object input by the user, the method further includes: the electronic device prompts a user to input a linkage relationship between the operational states of the target input object and the target output object.
In a possible implementation manner of the first aspect, the electronic device prompts a user to input a linkage relation between the target input object and the running state of the target output object, including: the electronic device displays at least one selectable item in response to the operation, one of the selectable items representing one possible linkage relationship between the operational states of the target input object and the target output object. Correspondingly, the electronic device receiving the linkage relation between the running states of the target input object and the target output object input by the user comprises the following steps: the electronic device receives an operation of selecting a target option from the at least one selectable option by a user, wherein the target option is used for representing a linkage relation between the running states of the target input object and the target output object which are input by the user.
In a possible implementation manner of the first aspect, the identification includes an icon and/or a name; the method further comprises the steps of: receiving user-defined operation of a user on a name corresponding to the input object and/or a name corresponding to the output object; and/or receiving user-defined operation of the icon corresponding to the input object and/or the icon corresponding to the output object by the user.
In a possible implementation manner of the first aspect, the target input object is an input object with a first attribute value; the target output object is an output object having a second attribute value. The first attribute value may represent an operational state of the target input object. The second attribute value may represent an operational state of the target output object.
Then, the electronic device receives an operation of a user identifying a target input object in the at least one input object and/or a user identifying a target output object in the at least one output object; the electronic device receiving a linkage relation between the target input object and the running state of the target output object, which are input by a user, comprises:
the electronic device receives a click operation of a user on the identification of the target input object and the identification of the target output object. The electronic equipment establishes a linkage relation between a target input object and a target output object according to a first attribute value of the target input object and a second attribute value of the target output object; the linkage relation indicates that when the operation state of the target input object is the operation state indicated by the first attribute value, the operation state of the target output object is the operation state indicated by the second attribute value.
In this implementation, since the target input object and the target output object have attribute values, the linkage relationship between the target input object and the target output object can be automatically established by clicking the target input object and the target output object. The running states of the target input object and the target output object are not required to be input any more.
In a possible implementation manner of the first aspect, the target input object is an input object having a first attribute value.
Then, the electronic device receives an operation of a user identifying a target input object in the at least one input object and/or a user identifying a target output object in the at least one output object; the electronic device receiving a linkage relation between an operation state of a target input object and a target output object input by a user, comprising:
the electronic equipment receives the operation of setting a second attribute value of the target output object by a user; the electronic device receives a click operation of a user on the identification of the target input object and the identification of the target output object. The electronic device establishes a linkage relation between the target input object and the target output object according to the first attribute value of the target input object and the second attribute value of the target output object. The linkage relation indicates that the operation state of the target output object is the operation state indicated by the second attribute value when the operation state of the target input object is the operation state indicated by the first attribute value.
In a possible implementation manner of the first aspect, the target output object is an output object with a second attribute value. Correspondingly, the electronic equipment receives the operation of the user on the identification of the target input object in the at least one input object and/or the operation of the user on the identification of the target output object in the at least one output object; the electronic device receiving a linkage relation between the target input object and the running state of the target output object, which are input by a user, comprises: the electronic equipment receives an operation of setting a first attribute value of the target input object by a user; the electronic equipment receives click operation of a user on the identification of the target input object and the identification of the target output object; the electronic equipment establishes a linkage relation between the target input object and the target output object according to the first attribute value of the target input object and the second attribute value of the target output object; the linkage relation indicates that when the running state of the target input object is the running state indicated by the first attribute value, the running state of the target output object is the running state indicated by the second attribute value.
In one possible implementation of the first aspect, the programming interface includes a first region, a second region, and a third region. The first area displays the identifiers of all objects; the object includes an input object and an output object. The second area is used for displaying the identification of the object as the target input object. The third area is used for displaying the identification of the object as the target output object.
The electronic device receiving operation of user identification of a target input object in the at least one input object and/or user identification of a target output object in the at least one output object, comprising: the electronic device receives an operation that a user adds an identification of a target input object from the first area to the second area and an identification of a target output object from the first area to the third area.
Accordingly, the electronic device receiving the interconnection relationship between the operation states of the target input object and the target output object input by the user includes: the electronic device receives an operation that a user sets a first attribute value of the target input object and a second attribute value of the target output object. And the electronic equipment establishes an interconnection relation between the target input object and the target output object according to the first attribute value and the second attribute value, wherein the interconnection relation represents that when the running state of the target input object is the running state indicated by the first attribute value, the running state of the target output object is the running state indicated by the second attribute value.
In a possible implementation manner of the first aspect, the electronic device receives an operation of a user identification of a target input object in at least one input object and/or a user identification of a target output object in the at least one output object, including: the electronic equipment receives the operation of the user on the identification of the target object, wherein the target object is a target input object or a target output object. The electronic device receiving a linkage relation between the target input object and the running state of the target output object, which are input by a user, comprises: the electronic equipment receives operation of selecting a target linkage relation from a plurality of selectable linkage relations by a user, wherein each selectable linkage relation represents one linkage relation associated with the target object; the target linkage relationship is used for indicating the linkage relationship between the target object and other objects; or the electronic equipment receives the target linkage relation input by the user.
Optionally, before the electronic device sends the linkage relation to the control device, the method further includes: and the electronic equipment determines the other objects according to the target linkage relation.
In this implementation, the user performs only the operation on the target object, which may be part or all of the input object and/or the output object, after which the electronic device prompts the user for a plurality of interconnected operations associated with the target object. After the user selects a certain interconnection relationship, the electronic device may determine other objects except the target object according to the interconnection relationship.
In a second aspect, the present application provides a method of object interconnection, the method being applied to an electronic device provided with a programming interface displaying an identification of at least one input object and an identification of at least one output object.
The input object includes at least one physical input device, such as a temperature and humidity sensor, a human body sensor, a door and window sensor, and the like, and may further include a virtual input device, such as a timer, a counter, and the like. The output objects include at least one physical output device, such as lights, doors, windows, refrigerators, etc., and may also include virtual output devices, such as actuators, registers, applications, etc. The virtual input device and the virtual output device are modules or applications implemented by software programs.
The method for interconnecting the objects comprises the following steps: the electronic device receives a first operation of a user identifying a target input object of the at least one input object. Thereafter, the electronic device prompts the user to input the operational state of the target input object (the prompting step is an optional step), and then receives the first operational state of the target input object input by the user. Through the steps, the electronic equipment obtains a first running state of a target input object input by a user. Illustratively, the first operation is an operation of clicking on an identification of a target input image, and is used for indicating that the target input object is selected.
Similarly, the electronic equipment receives a second operation of the user on the identification of the target output object in the at least one output object; then, the electronic device prompts the user to input the running state of the target output object (the prompting step is an optional step); then, a second operational state of the target output object is received as input by the user. Through the steps, the electronic equipment obtains a second running state of the target input object input by the user. Illustratively, the second operation is an operation of clicking on the identity of the target output object, and is used for indicating that the target output object is selected.
And then, the electronic equipment generates a linkage relation between the target input object and the target output object according to the first running state and the second running state, wherein the linkage relation is used for controlling the target output object to be in the second running state when the target input object is in the first running state input by a user.
Finally, in one possible implementation, the electronic device sends the generated linkage relationship to the control device to cause the control device to control the operational state of the target output object according to the linkage relationship and the operational state of the target input object. Alternatively, in one possible implementation, the electronic device controls the operational state of the target output object according to the generated linkage relationship and the operational state of the target input object.
The method for interconnecting the objects provides an easy-to-understand programming interface for a user when establishing the interconnection relationship between the objects, wherein the user does not need to face programming symbols but faces easy-to-understand identifications (such as icons of the programming objects). And the user only needs to execute simple operation on the identification of the input object to select the input object, and inputs the running state of the selected input object according to the prompt. Similarly, an output object is selected and the running state of the selected output object is input. Then, the interconnection relationship between the input object and the output object is generated by taking the operation state of the input object as a condition and the operation state of the output object as an execution action. Thus, the user can complete the establishment of the interconnection relationship between the input object and the output object without memorizing pin numbers, programming symbols and the like, namely without having a programming basis. Therefore, the method has lower professional requirements on users and wider application range.
In a possible implementation manner of the second aspect, the electronic device prompts a user to input an operation state of the target input object, including: the electronic device displays at least one selectable item in response to the first operation, one of the selectable items representing one possible operational state of the target input object. Accordingly, the electronic device receives a first running state of the target input object input by a user, including: the electronic device receives a user selection of a target option from at least one selectable option, the target option being used to represent a first operational state of the target input object entered by the user.
In a possible implementation manner of the second aspect, the electronic device prompts a user to input an operation state of the target output object, including: the electronic device displays at least one selectable item in response to the second operation, one of the selectable items representing one possible operational state of the target output object. Correspondingly, the electronic equipment receives a second running state of the target output object input by the user, and the second running state comprises: the electronic device receives an operation of selecting a target option from the at least one selectable option by a user, wherein the target option is used for representing a second running state of the target output object input by the user.
In a possible implementation manner of the first aspect or the second aspect, the method of the first aspect or the second aspect is applied to an interconnection system, where the interconnection system includes the electronic device, the control device, and the controlled device; the controlled device comprises an input device and an output device; the input object includes the at least one input device and the output object includes the at least one output device.
Optionally, the electronic device, the control device and the controlled device are independent devices respectively. The electronic device is a mobile phone, a tablet and other devices, the controlled device is a switch, a sensor, an electric lamp, an air conditioner, a curtain and other intelligent household devices, the switch and the sensor are input devices, and the electric lamp, the air conditioner, the curtain and the like are output devices.
Optionally, the electronic device and the control device are integrally configured as one device, and the controlled device is a stand-alone device.
Optionally, the control device and one of the controlled devices are integrally configured as one device, and the electronic device is a stand-alone device.
Optionally, the electronic device, the control device and one of the controlled devices are integrally configured as one device.
In a possible implementation manner of the first aspect or the second aspect, the controlled device establishes a connection with the control device in a wired manner; the identification of the at least one input device in the programming interface is sequentially arranged according to the number of the input port connected with the control device by each input device, and the identification of the at least one output device is sequentially arranged according to the number of the output port connected with the control device by each output device.
In a possible implementation manner of the first aspect or the second aspect, the controlled device establishes a connection with the control device in a wireless manner; the identification of the at least one input device in the programming interface is sequentially arranged according to the number of the virtual input port connected with the control device by each input device, and the identification of the at least one output device is sequentially arranged according to the number of the virtual output port connected with the control device by each output device.
In a third aspect, a method for interconnecting objects is provided, and the method is applied to an electronic device, wherein the electronic device is provided with a programming interface, and the programming interface displays identifiers of a plurality of functional modules; the functional module includes functionality provided by an application in the electronic device.
The method comprises the following steps: the electronic equipment receives the operation of the user on the identification of at least two functional modules in the plurality of functional modules; receiving the linkage relation of at least two functional modules input by a user; and the electronic equipment controls the running state of the functional module associated with the linkage relation according to the linkage relation.
In a possible implementation manner of the third aspect, the programming interface includes a first area and a second area, and the first area displays identifiers of the plurality of functional modules.
The electronic device receiving operation of user identification of at least two function modules in the plurality of function modules, comprising: the electronic device receives an operation that a user selects identifications of at least two function modules from a plurality of function modules in the first area, and adds the identifications of the at least two function modules to a second area.
In a fourth aspect, there is provided a graphical user interface (graphical user interface, GUI) stored in an electronic device comprising a touch screen, a memory, one or more processors to execute one or more computer programs stored in the memory, the graphical user interface comprising:
And the first interface is used for displaying the identification of at least one input object and the identification of at least one output object.
And the second interface is used for prompting the user to input the linkage relation between the running states of the target input object and the target output object in response to the operation of the user in the first interface, wherein the operation is the operation of the user on the identification of the target input object in the at least one input object and/or the operation of the user on the identification of the target output object in the at least one output object.
And a third interface, wherein the third interface is used for receiving the linkage relation between the running states of the target input object and the target output object input by a user.
Wherein the second interface is an optional interface.
In a fifth aspect, there is provided a GUI stored in an electronic device comprising a touch screen, a memory, one or more processors for executing one or more computer programs stored in the memory, the graphical user interface comprising:
and a first interface displaying an identification of at least one input object and an identification of at least one output device.
And the second interface is used for prompting the user to input the running state of the target input object in response to the first operation of the user on the identification of the target input object in the first interface.
And the third interface is used for prompting the user to input the running state of the target output object in response to the second operation of the user on the identification of the target output object in the first interface.
In a sixth aspect, there is provided a GUI stored in an electronic device comprising a touch screen, a memory, one or more processors for executing one or more computer programs stored in the memory, the graphical user interface comprising:
the first interface is used for displaying the identifiers of the plurality of functional modules; the functional module includes functionality provided by an application in the electronic device.
And the second interface is used for responding to the operation of the user in the first interface and receiving the operation of the linkage relation of the at least two functional modules input by the user.
In a seventh aspect, there is provided an electronic device comprising: the electronic device comprises a display screen, a processor and a memory, wherein the display screen, the memory and the processor are coupled, the memory is used for storing computer instructions, and when the processor reads the computer instructions from the memory, the electronic device is enabled to execute the method for interconnecting objects according to any implementation manner of the first aspect or the first aspect, or is enabled to execute the method for interconnecting objects according to any implementation manner of the second aspect or the second aspect, or is enabled to execute the method for interconnecting objects according to any implementation manner of the third aspect and the third aspect.
An eighth aspect provides an interconnection system comprising the electronic device of the seventh aspect, a control device and a controlled device, the control device being connected to the electronic device and the controlled device, respectively, the controlled device comprising at least one input device and at least one output device; the electronic device is provided with a programming interface, the programming interface displays at least one identification of an input object and at least one identification of an output object, the input object comprises the at least one input device, and the output object comprises the at least one output device; the electronic device is configured to perform the method for object interconnection described in the first aspect and any one of the possible implementation manners of the first aspect or the method for object interconnection described in the second aspect and any one of the possible implementation manners of the second aspect; the control device is used for receiving the linkage relation sent by the electronic device and controlling the running state of the target output object according to the linkage relation and the running state of the target input object.
In a ninth aspect, an embodiment of the present application provides an electronic device, where the electronic device has a function of implementing the method for object interconnection as described in the first aspect and any one of possible implementation manners of the first aspect. Alternatively, the electronic device has the functionality to implement the object interconnection method as described in the second aspect and any one of the possible implementations. Alternatively, the electronic device has the functionality to implement the object interconnection method as described in the third aspect and any one of the possible implementations. The functions may be implemented by hardware, or by corresponding software executed by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a tenth aspect, a computer readable storage medium is provided. The computer readable storage medium stores a computer program (which may also be referred to as instructions or code) which, when executed by an electronic device, causes the electronic device to perform the method of the first aspect or any implementation manner of the first aspect, or causes the electronic device to perform the method of object interconnection of the second aspect and any implementation manner of the second aspect, or causes the electronic device to perform the method of object interconnection of the third aspect and any implementation manner of the third aspect.
In an eleventh aspect, embodiments of the present application provide a computer program product, which when executed on an electronic device, causes the electronic device to perform the method of any one of the implementations of the first aspect, or causes the electronic device to perform the method of object interconnection of any one of the implementations of the second aspect and the second aspect, or causes the electronic device to perform the method of object interconnection of any one of the implementations of the third aspect and the third aspect.
In a twelfth aspect, an embodiment of the present application provides a circuit system, where the circuit system includes a processing circuit configured to perform the method of the first aspect or any implementation manner of the first aspect, or cause the electronic device to perform the method of object interconnection in the second aspect and any implementation manner of the second aspect, or cause the electronic device to perform the method of object interconnection in the third aspect and any implementation manner of the third aspect.
In a thirteenth aspect, an embodiment of the present application provides a chip system, including at least one processor and at least one interface circuit, where the at least one interface circuit is configured to perform a transceiver function and send an instruction to the at least one processor, where the at least one processor executes the instruction, and the at least one processor executes the method of the first aspect or any implementation manner of the first aspect, or causes the electronic device to execute the method of object interconnection in the second aspect and any implementation manner of the second aspect, or causes the electronic device to execute the method of object interconnection in the fourth aspect and any implementation manner of the fourth aspect.
The technical effects caused by any one of the design manners of the third aspect to the thirteenth aspect may be referred to the technical effects caused by the different design manners of the first aspect or the second aspect or the third aspect, and are not described herein.
Drawings
FIG. 1 is a schematic diagram of a programming interface of programming software in the prior art;
fig. 2 is a schematic structural diagram of an interconnection system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIGS. 4A, 4B, 4C, 4D, and 4E are schematic diagrams of an initialization programming interface provided by embodiments of the present application;
FIG. 5 is a flowchart of an object interconnection method according to an embodiment of the present application;
FIGS. 6-1 and 6-2 are schematic diagrams illustrating an interface of an object interconnection method according to an embodiment of the present application;
FIGS. 7-1 and 7-2 are schematic interface diagrams illustrating another method for interconnecting objects according to an embodiment of the present application;
fig. 7-3 are schematic interface diagrams of another method for interconnecting objects according to an embodiment of the present application;
FIGS. 8-1 and 8-2 are schematic diagrams illustrating an interface of another method for interconnecting objects according to an embodiment of the present application;
FIG. 9 is a flowchart of another method for interconnecting objects according to an embodiment of the present disclosure;
fig. 9-1 and fig. 9-2 are schematic interface diagrams of another object interconnection method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The method for interconnecting the objects and the electronic equipment provided by the embodiment of the application can be applied to an industrial automation scene, wherein the industrial automation scene refers to that an automatic control and automatic adjustment device is widely adopted in industrial production, and the automatic control and automatic adjustment device controls machine equipment to process and produce. The automatic control and automatic adjustment device is often integrated with a PLC, and automatic control is realized by running a program written by a user through the PLC. Therefore, in this scenario, the control program needs to be written in advance, as described in the background art, the existing program interface for writing the control program is relatively professional, and the user needs to have a certain programming basis to complete programming, so that the application range of the control program is relatively small.
The method for interconnecting objects and the electronic equipment provided by the embodiment of the application can also be applied to an intelligent home scene, wherein the intelligent home scene is to connect various devices (such as audio and video equipment, a lighting system, curtain control, air conditioner control, a security system, a digital cinema system, network household appliances, three-meter copying and the like) in home together through the technology of the internet of things, and provide various functions and means such as household appliance control, lighting control, curtain control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, heating and ventilation control, infrared forwarding, programmable timing control and the like. In the current technical scheme for realizing intelligent home, some of the intelligent home can only realize simple linkage between devices, and complex linkage cannot be customized according to the requirements of users; some operations are complex, and the practical capability can be achieved only through professional training and learning. According to the method for interconnecting the objects and the electronic equipment, the electronic equipment (such as a mobile phone) can provide a programming interface which is easy to understand for a user, the user can define linkage relations among running states of various equipment in the programming interface, and the linkage relations are realized through the control equipment, so that interconnection and intercommunication among the equipment are realized.
The method for interconnecting the objects, which is provided by the embodiment of the application, can also be applied to other scenes in which the interconnection and the intercommunication between the devices or the objects are required to be realized.
As shown in fig. 2, an embodiment of the present application provides an interconnection system, where the interconnection system 100 includes an electronic device 110, a control device 120, and a controlled device 130. The control device 120 is connected to the electronic device 110 and the controlled device 130, respectively, and the connection mode may be a wired connection or a wireless connection.
The electronic device 110 may be a user device such as a mobile phone, a computer, a wearable device, etc. A programming interface may be provided on the electronic device. The electronic device is illustratively provided with a preset programming software or a preset applet loaded with the preset programming software or the preset applet for providing a programming interface displaying identifications of various input objects and output objects. Specifically, the controlled device may be divided into an input device and an output device, so that the input object includes at least one input device, such as a temperature and humidity sensor, a body sensor, a door and window sensor, and the like, and may further include a virtual input device, such as a timer, a counter, and the like. The output object comprises at least one output device, such as a lamp, a door, a window, a refrigerator, etc., and may further comprise a virtual output device, such as an actuator, a register, etc. It should be noted that the virtual output device may be located in the control device and implemented in software.
In addition, the input object and the output object referred to in the embodiments of the present application are broad concepts, and any input object and/or output object may be understood as an input object or an output object if it further includes a "sub-object". Thus, the input object and/or output object comprises specific units or modules in the device in addition to the device as described above. For example, the air conditioner may be an output object, and the air conditioner may include a humidity sensor and a temperature sensor, which are sub-objects of the output object of the air conditioner, and may also be input objects. For another example, the intelligent aquarium may be an output object or an input object as a whole. The intelligent fish tank may comprise a heater, an oxygen generator, a temperature sensor, a timer and the like. The heater and the oxygen generator can be used as a sub-object of the intelligent fish tank, namely the output object, and can also be used as a separate sub-object, and the temperature sensor and the timer can be correspondingly used as separate input objects.
In addition, the input object referred to in the embodiment of the present application may also be an input object that itself has a certain attribute value. Similarly, the output object referred to in the embodiment of the present application may also be an output object having a certain attribute value. For example: the lamp is an output object, which has two attribute values of on and off, and the lamp in the on state and the lamp in the off state can be two different output objects.
The user can establish an interconnection relationship between various input objects and output objects in the programming interface, which can be understood as a "programming" process, and thus the interface is described as a programming interface. It will be appreciated that the programming interface may be other descriptions. The electronic device 110 may send the interconnection relationship completed by the user "programming" to the control device 120, and the control device 120 executes the interconnection relationship to implement interconnection between the controlled devices 130.
In the embodiment of the application, the linkage relation, the interconnection relation, the interaction relation, the logic relation and the like all express the interaction relation among the running states of different objects. That is, these descriptions are common in the embodiments of the present application, and are collectively described herein, which are not repeated herein.
The control device 120 is integrated with a PLC, which may be a stand-alone device or may be integrated with a gateway or other device. The control device may provide a plurality of physical ports for wired connection with the controlled device.
The controlled device 130 includes various devices that need to be interconnected, for example, in an industrial automation scenario, the controlled device may be a machine in a factory, etc., and in an intelligent home scenario, the controlled device may be various home devices, such as an intelligent air conditioner, a curtain, a switch, a sensor, etc. The controlled devices are divided into input devices and output devices, and a state change of the input devices causes a state change of the output devices. The input device may be a switch, a sensor, etc., and the output device may be an air conditioner, a curtain, etc.
In some embodiments of the present application, the electronic device, the control device, and the controlled device are each independent devices. For example: the electronic equipment is a mobile phone, the control equipment is a gateway integrated with a PLC and the like, and the controlled equipment is various household equipment and the like. In other embodiments of the present application, the electronic device and the control device are integrally configured as one device, and the controlled device is a stand-alone device. For example: the electronic equipment and the control equipment are mobile phones, and the controlled equipment is various household equipment and the like. In still other embodiments of the present application, the control device and one of the controlled devices are integrally configured as one device, and the electronic device is a stand-alone device. For example: the electronic equipment is a mobile phone, the intelligent refrigerator in the household equipment can be used as a control device or a controlled device, and the rest household equipment is the controlled device. In still other embodiments of the present application, the electronic device, the control device, and one of the controlled devices are integrally provided as one device. For example: the intelligent television can be used as electronic equipment to provide a programming interface for a user, can also be used as control equipment, and can also be used as controlled equipment to be linked with other equipment under certain conditions. The embodiments of the present application are not limited to specific forms of the electronic device, the control device, and the controlled device.
As shown in fig. 3, the electronic device 110 may include a processor 210, an internal memory 220, a universal serial bus (universal serial bus, USB) interface 230, a charging management module 240, a power management module 241, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, a display 270, and the like.
It should be understood that the structures illustrated in the embodiments of the present application do not constitute a particular limitation of the electronic device 110. In other embodiments of the present application, electronic device 110 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units such as, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 110, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 210 is reduced, thereby improving the efficiency of the system.
The charge management module 240 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger.
The power management module 241 is used for connecting the charge management module 240 and the processor 210. The power management module 241 receives inputs from the charge management module 240 and provides power to the processor 210, the internal memory 220, the display 270, the wireless communication module 260, and the like.
The wireless communication function of the electronic device 110 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The mobile communication module 250 may provide a solution for wireless communication, including 2G/3G/4G/5G, as applied on the electronic device 110. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc.
The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the electronic device 110.
The electronic device 110 implements display functions via a GPU, a display screen 270, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 270 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
The display 270 is used to display images, videos, and the like.
The internal memory 220 may be used to store computer executable program code including instructions. The internal memory 220 may include a storage program area and a storage data area. The internal memory 220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 210 performs various functional applications of the electronic device 110 and data processing by executing instructions stored in the internal memory 220 and/or instructions stored in a memory provided in the processor.
After communication is established among the electronic equipment, the control equipment and the controlled equipment are connected in a wired mode, the control equipment can send the port number of the controlled equipment connected with the control equipment to the electronic equipment, and the electronic equipment further distinguishes whether the controlled equipment is an input equipment or an output equipment according to the port number. Similarly, for the control device and the controlled device to be connected in a wireless manner, the control device can send the virtual port number of the controlled device connected with the control device to the electronic device, and the electronic device can distinguish whether the controlled device is an input device or an output device according to the virtual port. After a user opens preset programming software or loads a preset applet through the electronic device, the electronic device may provide an initialized programming interface, where the initialized programming interface displays an identifier of an input object and an identifier of an output object according to a certain rule.
The identifiers of the input object and the output object may be icons, characters, symbols, or the like, or may be existing icons, characters, symbols, or the like. Alternatively, the text or symbol may represent the name of the input object or the output object.
One possible schematic of the initialization programming interface is shown in FIG. 4A. In the initialization interface, one area (described as a first area in the embodiment of the present application) is used to display an icon and/or a name of an input object, and the other area (described as a second area in the embodiment of the present application) is used to display an icon and/or a name of an output object.
In one possible implementation manner, if the input device and the control device establish a connection in a wired manner, icons of the at least one input device in the first area of the programming interface are sequentially arranged according to a number of an input port to which each input device is connected. For example: the input port numbers are ports 1, 2, 3, 4 and 5, the switches 1, 2 and 3, and the sensors 1 and 2 are respectively connected with the ports 1, 2, 3, 4 and 5 in sequence as input devices, and then icons and/or names of the devices are sequentially displayed according to the sequence of the switches 1, 2, 3 and the sensors 1 and 2. If the input devices are connected with the control device in a wireless mode, icons of the at least one input device in the first area of the programming interface are sequentially arranged according to numbers of virtual input ports, connected with the control device, of each input device. If a part of input devices are connected with the control device in a wired manner and a part of input devices are connected with the control device in a wireless manner, the serial numbers of the input ports connected with the control device by each input device in wired connection can be sequentially arranged in the first area, and then the serial numbers of the virtual input ports connected with the control device by each input device in wireless connection can be sequentially arranged. Of course, the serial numbers of the virtual input ports connected to the control device by each input device connected to the control device by wireless may be sequentially arranged, and then the serial numbers of the input ports connected to the control device by each input device connected to the control device by wired connection may be sequentially arranged.
Similarly, if the output devices and the control device establish connection in a wired manner, icons of the at least one output device in the second area are sequentially arranged according to numbers of output ports, connected with the control device, of each output device. And if the output equipment and the control equipment are connected in a wireless mode, arranging the icons of the at least one output equipment in a second area according to the serial numbers of the virtual output ports connected with the control equipment by each output equipment. If a part of the output devices are connected with the control device in a wired manner and a part of the output devices are connected with the control device in a wireless manner, the output ports connected with the control device in the second area can be sequentially arranged according to the serial numbers of the output ports connected with the control device in each wired connection, and then sequentially arranged according to the serial numbers of the virtual output ports connected with the control device in each wireless connection. Of course, the serial numbers of the virtual output ports connected to the control device by each output device connected to the control device by wireless may be sequentially arranged, and then the serial numbers of the output ports connected to the control device by each output device connected to the control device by wired connection may be sequentially arranged.
For the input objects being virtual input devices, such as timers, counters, etc., the identifiers of the virtual input devices may be sequentially displayed after the identifiers of the input devices or before the identifiers of the input devices according to a certain number. For example: icons of input devices such as switches and sensors are displayed in the first area, and icons such as counters and timers are displayed in the rear area. Similarly, for the output object being a virtual output device, the identifiers of the virtual output devices may be sequentially displayed before or after the identifiers of the output devices according to a certain number.
In the programming interface, the name displayed during initial display is usually a port number or a serial number, which is inconvenient for the user to correspond to the actual controlled device, so the electronic device may also receive the user's custom operation on the name corresponding to the icon of the input object and/or the name corresponding to the icon of the output object, and implement custom naming on the controlled device.
For example, when there are multiple controlled devices of the same type, since the control devices can only distinguish the control devices by the port number, the port number may have a greater memory difficulty for the user, and the user may customize the name of the controlled device in the programming interface after confirming the correspondence between the controlled device and the port number, for example, the switch 1 may be named as a living room switch, and the switch 2 may be named as a bedroom switch.
In addition, the electronic device may further receive a user-defined operation of the icon corresponding to the input object and/or the icon corresponding to the output object. I.e. the user may modify or edit the icons corresponding to the input objects and/or the output objects.
Another possible schematic of the initialization programming interface is shown in fig. 4B. In the initialized programming interface, one area (described as a first area in the embodiment of the present application) is used for displaying icons and/or names of input objects, another area (described as a second area in the embodiment of the present application) is used for displaying icons and/or names of output objects, and another area (described as a third area in the embodiment of the present application) is used for establishing interconnection relationship between the input objects and the output objects. The arrangement of the icons in the first area and the second area may be described above, and will not be described herein. In comparison to the initialization interface shown in fig. 4A, in the initialization interface shown in fig. 4B, the user may drag the input object and the output object, which need to establish the interconnection relationship, from the first area and the second area to the third area, respectively, and then establish the interconnection relationship between the input object and the output object in the third area. In the interface shown in fig. 4B, the input object may be displayed in the first region in a classified manner, for example, a switch, a sensor, a timer, and a counter may be displayed as one type. Similarly, the output objects may be displayed in the second region in a classified manner.
As indicated above, if an input object further includes sub-objects, these sub-objects may also be considered as one. Input objects, and similarly, if an output object further includes sub-objects, those sub-objects may also be considered output objects. Illustratively, as shown in fig. 4C, the refrigerator 1 is an output object, which includes two sub-objects of a humidity sensor and a temperature sensor, which are also output objects. It will be appreciated that fig. 4C is merely exemplary and shows an interface diagram between an output object and its corresponding sub-object, and that the correspondence between an output object and its sub-object may be expressed in other forms; the embodiments of the present application do not limit the representation between an output object and its sub-objects, an input object and its sub-objects.
As described above, the input object and/or the output object may also be objects that themselves have attribute values that may represent an operational state. Illustratively, as shown in fig. 4D, the switch 1 is an input object, which includes two states of on and off. Therefore, in the first area, two icons of the input object corresponding to the switch 1, that is, the switch 1 in the on state and the switch 1 in the off state are displayed. Similarly, the lamp 1 is an output object, which contains both on and off attribute values. Accordingly, in the second area, icons of two output objects corresponding to the electric lamp 1, that is, the electric lamp 1 in the on state and the electric lamp 1 in the off state, are displayed.
The first region, the second region, and the third region shown in fig. 4A and fig. 4B are only one exemplary layout manner, and in practical applications, the initialization interface may be presented in other manners, for example, the first region is located above the interface, the second region is located below the interface, and so on.
In other embodiments of the present application, in the initial interface, the identifiers of both the input object and the output object are located in the same area, that is, the identifiers of all objects are located in the same area (for convenience of description, the area is described as the first area in the embodiments of the present application). Thereafter, if the user wants to establish an interconnection relationship between different objects, the identification of a certain object as an input object may be added to one specific area (for convenience of description, the present embodiment describes the area as a second area), and the identification of a certain object as an output object may be added to another specific area (for convenience of description, the present embodiment describes the area as a third area). In this way, as long as the user adds the identification of a different object to a different region, the object can be automatically distinguished as an input object or an output object.
Illustratively, in the interface shown in fig. 4E, the interface includes a first region, a second region, and a third region. Wherein the first area contains identifications of all objects. Initially, neither the second region nor the third region contains any identification of the object.
The method for interconnecting objects provided in the embodiments of the present application is described below in conjunction with the control system and the programming interface described above. As shown in fig. 5, the object interconnection method includes the steps of:
s501, the electronic equipment receives an operation of identifying a target input object in the at least one input object by a user and/or identifying a target output object in the at least one output object by the user.
Alternatively, in one implementation of S501, the following steps 1 and 2 may be implemented:
step 1, the electronic equipment receives a first operation of a user on an icon of a target input object in the at least one input object.
And 2, the electronic equipment receives a second operation of a user on the icon of the target output object in the at least one output object.
In one possible implementation manner of step 1 and step 2, the first operation is an operation of clicking on an icon of the target input object; the second operation is an operation of clicking an icon of the target output object.
For example, when the initialization programming interface is the interface shown in fig. 4A, the target input object is switch 1, and the target output object is lamp 1, the first operation is a click operation of clicking the icon of switch 1, and the second operation is a click operation of clicking the icon of lamp 1.
In another possible implementation manner of step 1 and step 2, the first operation is an operation of clicking an icon of the target input object after adding the target input object to a preset area or an operation of performing logic arrangement after adding an identifier of the target input object to the preset area; the second operation is an operation of clicking an icon of the target output object after the target output object is added to a preset area or an operation of logically arranging after the identification of the target output object is added to the preset area.
The logic arrangement refers to an arrangement of parallel connection relation or series connection relation for a plurality of target input objects. Specifically, the parallel relationship refers to a relationship that the running states of the plurality of target input objects are "or", and the running state of any one target input object may affect the execution of the corresponding interconnection relationship. The tandem relation refers to a relation that the running states of a plurality of target input objects are 'and', and the execution of the corresponding interconnection relation is triggered only when the plurality of target input objects are in a certain running state.
For example, the initialization interface is the interface shown in fig. 4B, the target input object is the switch 1, the target output object is the lamp 1, the first operation is an operation of dragging the switch 1 and the lamp 1 from the first area and the second area to the third area, respectively, and then clicking the switch 1, and the second operation is an operation of dragging the switch 1 and the lamp 1 from the first area and the second area to the third area, respectively, and then clicking the lamp 1. Of course, if there are a plurality of objects that need to establish the interconnection, it may be that after dragging the plurality of objects to the third area, the target input object and the target output object that need to establish the interconnection are respectively clicked in the third area.
As another example, the initialization interface is the interface shown in fig. 4B, the target input object is the switch 1, and the target output object is the lamp 1. The first operation is an operation of clicking the switch 1 after dragging the switch 1 from the first area to the third area and the second operation is an operation of clicking the lamp 2 after dragging the lamp 1 from the second area to the third area.
As another example, the initialization interface is the interface shown in fig. 4B, the target input objects are the switch 1 and the sensor 1, and the target output objects are the lamp 1 and the fan 1. The first operation is an operation of logically arranging the positions of the switch 1 and the sensor 1 after dragging the switch 1 and the sensor 1 from the first area to the third area. Similarly, the second operation is an operation of logically arranging the lamp 1 and the fan 1 after dragging the lamp 1 and the fan 1 from the second area to the third area. The logical arrangement may be operated to adjust the display position of the identity of the different target input objects such that the different target input objects have the parallel or serial relationship as described above. For example: the icon of the electric lamp 1 and the icon of the fan 1 are positioned on the same horizontal line, and are in a series relationship. Another example is: the icon of the lamp 1 and the icon of the fan 1 are displayed in parallel, and are in parallel relation.
As another example, the initialization interface is the interface shown in fig. 4B, the target input object is the switch 1, and the target output objects are the lamp 1 and the fan 1. The first operation is an operation of clicking the switch 1 after dragging the switch 1 from the first area to the third area, and the second operation is an operation of logically arranging the lamp 1 and the fan 1 after dragging the lamp 1 and the fan 1 from the second area to the third area.
In yet another possible implementation manner of step 1 and step 2, the first operation is to add the identification of the target input object to the first preset area, and the second operation is to add the identification of the target output object to the second preset area.
For example, the initialization interface is the interface shown in fig. 4E, where the first area includes the identifiers of all objects, and if the user wants to establish the interconnection relationship between the switch 1 and the lamp 1, that is, the target input object is the switch 1 and the target output object is the lamp 1. The first operation is an operation of adding the identification of the switch 1 from the first area to the second area and the second operation is an operation of adding the identification of the lamp 1 from the first area to the third area.
In other implementations of S501, the user 'S operation on the icon of the target input object in the at least one input object and/or the user' S operation on the icon of the target output object in the at least one output object may also be other operations, for example: clicking the target input object and dragging an icon of the target input object to the mark of the target output object; another example is: clicking the target input object, displaying a 'connection' or 'adding' symbol, selecting the symbol, and clicking the target output object. And the following steps: multi-click operations (e.g., double-click) on the target input object and the target output object, etc. Embodiments of the present application are not limited to a specific implementation manner of the operation, and the purpose of the operation is to establish a connection between a target input object and a target output object, and trigger the electronic device to execute a subsequent step.
S502, the electronic equipment responds to the operation, and prompts a user to input the linkage relation between the running states of the target input object and the target output object.
S503, the electronic equipment receives the linkage relation between the running states of the target input object and the target output object input by a user.
Wherein, S502 is an optional step. That is, after the electronic device receives the user identification of the target input object in the at least one input object and/or the user operation of the user identification of the target output object in the at least one output object, the user can also input the linkage relationship between the running states of the target input object and the target output object without prompting the user. Further, the electronic device receives the linkage relationship. In other words, after the electronic apparatus performs S501, S503 may be directly performed.
For example, still taking the target input object as the switch 1 and the target output object as the lamp 1 as an example, after the user clicks the switch 1 and the lamp 1, a connection line can be established between the switch 1 and the lamp 1, and the user double clicks the connection line, so that the linkage relationship between the switch 1 and the lamp 1 can be input.
Optionally, the electronic device performs S502 and S503, and in one possible implementation of S502 and S503, S502 may be implemented as: the electronic device displays at least one selectable item, one of which is used to represent one possible linkage relationship between the operational states of the target input object and the target output object, in response to the operation described in step S501. Accordingly, S503 may be implemented as: the electronic device receives an operation of selecting a target option from the at least one selectable option by a user, wherein the target option is used for representing a linkage relation between the running states of the target input object and the target output object which are input by the user.
It should be noted that, the linkage relationships provided by the selectable items are associated with the target input object and the target output object, and the linkage relationships provided by the selectable items between different target input objects and different target output objects may be different.
For example: when the target input object is switch 1 and the target output object is lamp 1, the displayed selectable items may include the following 3 possible linkages: 1. the switch 1 is turned on and the lamp 1 is reversed. 2. The switch 1 is turned off and the lamp 1 state is reversed. 3. Switch 1 is off, lamp 1 is on, delay s, lamp 1 is off. When the target input object is the human body sensor 1 and the target output object is the electric lamp 1, the displayed selectable items may include the following 2 possible linkage relations: 1. the body sensor 1 detects the presence of a person and the electric lamp 1 is switched on. 2. The body sensor 1 continuously s detects whether a person is present, and if so, the lamp 1 is turned on. The user can customize the duration at s according to the actual requirement.
It should be noted that the target input object and the target output object may be plural, that is, an interconnection relationship between plural objects may be established. For example: if the user wants to establish that the switch 1 is turned on and the body sensor 1 detects a person, the electric lamp 1 is turned on in such an interconnection, the user can click on the icons of the switch 1, the body sensor 1, and the electric lamp 1, respectively, and then establish the interconnection according to the possible provided interconnection. Of course, generally, the user needs to complete the operations on the target input object and the target output object within a certain time, for example: the operation of selecting all the target input objects and target output objects is completed within 20s, and then the operation can be considered as triggering the establishment of the interconnection relationship between the target input objects and the target output objects.
As shown in fig. 6-1 and 6-2, the initializing programming interface displayed by the electronic device is the interface 601 shown in fig. 4A, receiving a click operation 610 of the switch 1 displayed in a first area in the interface 601 by the user and a click operation 611 of the lamp 1 displayed in a second area in the interface 601 by the user, the electronic device establishes a connection between the switch 1 and the lamp 1 as shown in the interface 602, and pops up at least one selectable item 612, each selectable item representing one possible linkage relationship between the switch 1 and the lamp 1. The user selects a certain selectable item from these selectable items as a linkage relationship between the switch 1 and the lamp 1 (in the figure, taking the two selectable items of "switch 1 is on," the state of the lamp 1 is inverted, "and" switch 1 is off, "which are illustrated by way of example, the state of the lamp 1 is inverted), and then a linkage relationship between the switch 1 and the lamp 1 is established as shown in an interface 603. Similarly, other linkage relationships between input objects and output objects may also be established, with interfaces for completing all linkage relationships being shown as interface 604.
As shown in fig. 7-1 and 7-2, the electronic device displays an initialized programming interface as the interface 701 shown in fig. 4B, receives an operation of dragging the switch 1 displayed in the first area to the third area in the interface 701 by a user, an operation of dragging the lamp 1 displayed in the second area to the third area in the interface 701 by a user, and a dragging operation of dragging other input and output objects to the third area, and the interface jumps to the interface 702. Thereafter, receiving clicking operations 710, 711 and 712 from the user clicking on switch 1, sensor 2 and lamp 1 in the third area, the electronic device establishes a connection between switch 1, sensor 2 and lamp 1 as shown in interface 703 and pops up at least one selectable item 713, each selectable item representing one possible linkage relationship between switch 1, sensor 2 and lamp 1. The user selects one of these selectable items as the linkage between switch 1, sensor 2, lamp 1, and then establishes the linkage between switch 1, sensor 2, and lamp 1 as shown in interface 704. Similarly, other linkage relationships between input objects and output objects may also be established, with interfaces for completing all linkage relationships being shown as interface 705.
Optionally, in the interface 702, the user may also logically arrange the icons in the interconnection editing area, for example, move the positions of the two icons of the switch 1 and the sensor 1, so that the two icons are located on the same horizontal line, that is, the switch 1 and the sensor 1 are in a serial connection relationship. Further, the linkage relationship of the switch 1, the sensor 1 and the lamp 1 is established, that is, the switch 1 is turned on and the sensor 1 detects that a person exists, the lamp 1 is turned on.
In the programming interfaces shown in FIGS. 6-1 and 6-2, a user can only establish a one-to-one interconnection between one input object and one output object, for example: the interconnection relationship between the switch 1 and the lamp 1, the interconnection relationship between the body sensor 1 and the lamp 1, and the series-parallel connection interconnection relationship between the three cannot be established. In contrast to fig. 6-1 and 6-2, in the programming interfaces shown in fig. 7-1 and 7-2, a user can establish an interconnection relationship between a plurality of objects in addition to a one-to-one interconnection relationship between one input object and one output object. For example: after the user drags the icons of the switch 1, the body sensor 1 and the lamp 1 to the third area, the user can click the icons of the three objects respectively, so as to establish a linkage relationship between the three objects, for example: the switch 1 is turned on and the human body sensor 1 detects the presence of a person, and the lamp 1 is turned on.
In addition, fig. 6-1, 6-2, 7-1, and 7-2 are merely illustrative examples of the target input object and the target output object as the input device and the output device, and if the target input object is a virtual input device and/or the target output object is a virtual output device, the control device implements the functions of the virtual input device and/or the virtual output device by running software when executing the interconnection relationship between the target input object and the target output object. Illustratively, the target input object is a switch 1 and a timer 1, the target output object is an electric lamp 1, and the interconnection relationship between the three is: when the switch 1 is turned on, the electric lamp 1 is turned on, and after the timer times for 3s, the electric lamp 1 is turned off, and then the control device controls the switch 1 and the electric lamp 1 according to the interconnection relation and realizes the function of timing for 3s through internal software to control the running states of the switch 1, the timer 1 and the electric lamp 1.
In practical applications, the electronic device may simultaneously provide the programming interfaces shown in fig. 6-1, fig. 6-2, fig. 7-1, and fig. 7-2, and the user may select the corresponding programming interfaces as required to complete the establishment of the interconnection relationship between the devices.
In another possible implementation of S502 and S503, a prompt message is directly displayed prompting the user to input a logical relationship between the target input object and the target output object.
In other possible implementations of S502 and S503, the electronic device may provide a new interface in a certain area of the display interface or the display interface for displaying a plurality of preset modules, where each preset module includes an interconnection relationship between an input object and an output object. The preset module may be preset, or may be generated after user definition, for example: the user newly builds an interconnection relation and stores the interconnection relation in the newly built module; alternatively, the user modifies the existing interconnection relationships and saves them in the existing module, etc. After the electronic device receives the operation of the user on the icons of the target input object and the target output object, a connection line is established between the target input object and the target output object. And then the electronic equipment detects that a user drags a certain preset module to the connection line, and then the interconnection relationship between the target input object and the target output object is established.
7-3, the interface 710 displayed by the electronic device includes an interconnection relationship management area including a plurality of preset modules 711, each preset module representing an interconnection relationship between an input object and an output object. After the user selects the switch 1 as a target input object and the lamp 1 as a target output object, a connection line is established between the switch 1 and the lamp 1. If the electronic device detects that the user turns on switch 1 in the "interconnection management area", the preset module of on lamp 1 is moved to the connection line between switch 1 and lamp 1, the electronic device displays an interface 712, and the interconnection of switch 1 and lamp 1 is established in the interface 712, namely "switch 1 on, lamp 1 on".
For the case where the input object and/or the output object includes a child object, a logical relationship between the child object and the other objects may be established, with reference to the process of establishing a logical relationship described above. For example: in connection with fig. 4C, any input object may establish a logical relationship with two sub-objects of a temperature sensor and/or a humidity sensor included in the refrigerator 1. For example, a logical relationship between the switch 1 and the humidity sensor contained in the refrigerator is established: when the switch 1 is opened, the humidity sensor adjusts the humidity to a fixed value.
For an input object and/or an output object that is an object that itself has an attribute value, a logical relationship between the object that has the attribute value and other objects may be established.
As illustrated in fig. 8-1, in connection with the initialization interface illustrated in fig. 4D, the user clicks an icon of the switch 1 in the off state in a first area and clicks an icon of the lamp 1 in the on state in a second area in the interface 810, and then the interconnection relationship between the switch 1 in the off state and the lamp 1 in the on state may be directly generated as follows: if the switch 1 is closed, the lamp 1 is ignited. As shown in interface 811, a connection is established between the switch 1 in the off-state and the lamp 1 in the on-state, indicating that an interconnection relationship as described above is created between these two objects.
Alternatively, in other implementations, if a part of the objects to be interconnected are objects with attribute values, the interconnected relationship between the objects may be established by setting attribute values of other objects. For example, after the target input object is the switch 1 in the closed state and the target output object is the lamp 1, after the two objects are respectively selected as the target input object and the target output object, by setting the attribute value of the lamp 1 (the setting method may, for example, pop up a setting option of "attribute" for clicking an icon of the lamp 1, and further set the attribute value thereof to be on, the method for setting the attribute value thereof is not limited in the embodiment of the present application), after the attribute value of the lamp 1 is set to be on, the interconnection relationship between the switch 1 and the lamp 1 is established: if the switch 1 is closed, the lamp 1 is ignited.
In this scenario, since the input object and the output object have attribute values, when the user selects the target input object and the target output object, the interconnection relationship between the target input object and the target output object can be established according to the attribute values.
In still another possible implementation manner of the embodiment of the present application, in the initial interface, all the identifiers of the objects are displayed in the same area, and the user may select the identifiers of the target input object and the target output object from the area, and add the identifier of the target input object to a specific area, and add the identifier of the target output object to another specific area. The electronic device distinguishes whether the object is an input object or an output object according to the area where the object is located. Then, the user can edit the attribute values of the target input object and the target output object, and further establish the interconnection relationship between the target input object and the target output object.
8-2, in connection with the initial interface shown in FIG. 4E, upon initialization, icons of all objects are located in a first region, as shown by interface 820. Thereafter, as shown in the interface 821, if the user adds the icon of the switch 2 in the first area to the second area, the icon of the lamp 2 in the first area is added to the third area. Then the electronic device automatically recognizes the switch 2 as a target input object and the lamp 2 as a target output object. Thereafter, the user may edit the properties of the switch 2 and the lamp 2, respectively, for example, set the property value of the switch 2 to off and set the property value of the lamp 2 to on. Then, as shown in interface 822, after the user editing is completed, the electronic device establishes a connection between switch 2 and lamp 2, which represents the interconnection relationship between switch 2 and lamp 2 as: the switch 2 is closed and the lamp 2 is ignited.
After the interconnection relationship between the input object and the output object is established through the steps, that is, after programming is completed, the user can click on the "compile" option in the interface 604, the interface 704, the interface 811 and the interface 822, and then the electronic device can send the interconnection relationship established by the user in the programming interface to the control device. And compiling by the control equipment according to the interconnection relation established by the user programming, and prompting the user of compiling success or compiling failure after compiling is completed. In the case of successful compiling, the user may further click on the "execute" option in the interfaces 604, 704, 811 and 822, and further send an instruction for executing the interconnection relationship to the control device, and the control device may control the running state of the controlled device according to the instruction and the interconnection relationship completed by the user programming. I.e., S504 described below is performed.
In one implementation of S501, the user performs some operation only on the identification of the target input object or the target output object (in this scenario, the target input object and the target output object are collectively described as a target object). In this case, the electronic device has not yet been able to determine other objects to establish the interconnection relationship.
Then, in one implementation of S502 and S503, the electronic device prompts the user for all possible selectable linkage relations associated with the target object in response to the user' S operation of the identification of the target object. Each selectable linkage represents a linkage associated with the target object. The other objects in these alternative linkages may be the same or different, i.e., the other objects may be arbitrary objects. Then, the electronic device receives an operation of selecting a target linkage relationship from a plurality of selectable linkage relationships by a user, the target linkage relationship being used for indicating the linkage relationship of the target object and other objects. Further, the electronic device may determine other objects according to the user-selected target linkage relationship. The electronic device then sends the linkage relationship to the control device.
By way of example, in connection with any of the initial interfaces shown in fig. 4A, 4B, 4C, 4D, and 4E, where the user has clicked only on switch 2, the electronic device may prompt the user for all of the linkage relationships associated with switch 2, such as: the switch 2 is turned on and the lamp 1 is turned off; the switch 2 is closed, the refrigerator 1 is opened, etc. The user can select one target linkage relation from the target linkage relations, and the electronic equipment can determine other objects to be linked with the objects according to the target linkage relations selected by the user. Then, the electronic device transmits the target linkage relationship to the control device.
Optionally, when the electronic device prompts the optional linkage relation of the user and the target object, the user can recommend a plurality of optional linkage relations possibly to be established by the user through acquiring life habits of the user, big data, artificial intelligence and other algorithms.
Of course, in another possible implementation, similar to the foregoing, if the user performs only some operation on the identification of the target input object, the electronic device may receive the target linkage relationship input by the user, determine the target output object from the target linkage relationship, and send the linkage relationship to the control device. For example: after the user clicks the switch 2, the target linkage relation which can be input is as follows: the switch 2 is opened and the refrigerator 1 is closed. The electronic device can determine that another object to be linked to the switch is a refrigerator. Then, the electronic device transmits the linkage relationship to the control device.
In some embodiments of the present application, the user may modify, delete, etc. the established interconnection relationship.
In some embodiments of the present application, during the process of establishing an interconnection relationship according to a user operation, the electronic device performs intelligent analysis on the interconnection relationship to be established, if it is considered that there may be an error in the interconnection relationship, prompts the user whether to establish the interconnection relationship, and if the user confirms that the interconnection relationship is to be continuously established, the electronic device executes S504 described below.
S504, the electronic equipment sends the linkage relation to the control equipment so that the control equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object.
Optionally, the control device and the electronic device may be integrated into one device, and then the electronic device directly controls the operation state of the target output object according to the linkage relationship and the operation state of the target input object. In this case, the electronic device does not need to send the interconnection relationship to the control device.
In other embodiments, the input objects in the programming interface provided by the electronic device may be software modules within the electronic device (described herein as virtual input objects) such as a virtual clock, and the output objects may be software modules within the electronic device (described herein as virtual output objects) such as calendar applications, punch cards applications, and the like. In this scenario, similar to the flow shown in fig. 5, the method of device interconnection includes the steps of:
1. the electronic device receives an operation of a user identifying a target input object in the at least one input object and/or a user identifying a target output object in the at least one output object.
2. And the electronic equipment responds to the operation and prompts the user to input the linkage relation between the running states of the target input object and the target output object.
3. The electronic device receives a linkage relationship between the target input object and the running state of the target output object, which are input by a user.
The specific implementation of step 1-3 may refer to the foregoing S501 to S503, and will not be repeated here.
4. And the electronic equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object.
In the step, the electronic equipment does not need to send linkage relations, but directly controls different software modules inside the electronic equipment to realize interconnection.
For example: if the function of setting the mobile phone to execute the automatic card punching application (application) at 8 o 'clock in the morning is realized, in this application scenario, the target input object is a virtual clock inside the mobile phone, the target output object is the card punching application inside the mobile phone, and the user can establish the association relationship between the two objects in the programming interface of the mobile phone as "when the virtual clock timing reaches 8 o' clock, the card punching application automatically punches cards". Thus, the mobile phone can reach 8 hours in the morning according to the interconnection relation, and the mobile phone controller controls the card punching APP to execute the card punching function.
In the method for interconnecting objects provided by the embodiment of the application, when the interconnection relation between the controlled devices is established, an easy-to-understand programming interface is provided for a user, and the user does not need to face programming symbols in the programming interface, but faces easy-to-understand marks (such as icons of programming objects). And the user only needs to execute simple operations, such as clicking operation or dragging operation and clicking operation, on the identifications of the target input object and the target output object, and the user can complete the establishment of the interconnection relationship between the target input object and the target output object without memorizing pin numbers, programming symbols and the like or having a programming basis according to the interconnection relationship to be established by the prompt input. Therefore, the method has lower professional requirements on users and wider application range.
The embodiment of the application also provides an object interconnection method which is applied to the electronic equipment, wherein the electronic equipment is provided with a programming interface, and the programming interface displays the identification of at least one input object and the identification of at least one output object. The input object includes at least one physical input device, such as a temperature and humidity sensor, a human body sensor, a door and window sensor, and the like, and may further include a virtual input device, such as a timer, a counter, and the like. The output objects include at least one physical output device, such as lights, doors, windows, refrigerators, etc., and may also include virtual output devices, such as actuators, registers, applications, etc. The virtual input device and the virtual output device are modules or applications implemented by software programs.
The method comprises the following steps:
step A, the electronic equipment receives a first operation of a user on the identification of a target input object in the at least one input object; and prompting a user to input the running state of the target input object in response to the first operation. A first operational state of the target input object is received as input by a user.
The first operation is, for example, an operation of clicking on the identity of the target input object.
In one possible implementation, the electronic device, in response to a first operation, prompts a user to input an operation state of the target input object, including: the electronic device displays at least one selectable item in response to the first operation, one of the selectable items representing one possible operational state of the target input object. Accordingly, the electronic device receives a first running state of a target input object input by a user, including: the electronic device receives a user selection of a target option from at least one selectable option, the target option representing a first operational state of the target input object entered by the user.
Illustratively, the switch is a target input object, and when the user clicks the identifier of the switch, at least one selectable item corresponding to the switch is displayed, for example: open, close, etc., each as one possible operational state of the input object of the switch, if the user selects the "open" selectable item, the first operational state of the switch indicating that the electronic device received user input is open.
Step B, the electronic equipment receives a second operation of the user on the identification of a target output object in at least one output object; responding to the second operation, and prompting the user to input the running state of the target output object; a second operational state of the target output object is received as input by the user.
The second operation is, for example, an operation of clicking on the identity of the target output object.
Similarly, in one possible implementation, the electronic device, in response to the second operation, prompts the user to input the running state of the target output object, including: the electronic device displays at least one selectable item in response to the second operation, one selectable item representing one possible operational state of the target output object.
Correspondingly, the electronic equipment receives a second running state of the target output object input by the user, and the second running state comprises: the electronic device receives a user selection of a target option from at least one selectable option, the target option being used to represent a second operational state of the target output object entered by the user.
Illustratively, the electric lamp is a target output object, and when the user clicks the identifier of the electric lamp, at least one selectable item corresponding to the electric lamp is displayed, for example: open, close after open_s (where_is used to prompt the user to enter numbers as desired). One selectable item is used to indicate one possible operating state of the electric lamp, and if the user selects the selectable item "on", it indicates that the second operating state of the electric lamp, which the electronic device receives user input, is on.
And C, the electronic equipment generates a linkage relation between the target input object and the target output object according to the first running state and the second running state, wherein the linkage relation is used for indicating that the target output object is controlled to be in the second running state when the target input object is in the first running state input by a user.
And B, after the first running state of the target input object and the second running state of the target output object input by the user are obtained through the step A and the step B, establishing the interconnection relation between the target input object and the target output object.
Still regard goal input object as the switch, goal output object is the electric light, the first operating condition of the switch is open, the second operating condition of the electric light is open as an example, can establish the interconnection relation between electric light and the switch as follows: the switch is turned on and the lamp is turned on.
Thus, an interconnection relationship between the target input object and the target output object may be established via step A, B, C described above. If other interconnection relations are required to be established, repeating the steps.
And D1, the electronic equipment sends the linkage relation to control equipment so that the control equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object.
Or alternatively, the process may be performed,
and D2, the electronic equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object.
The method for interconnecting the objects provides an easy-to-understand programming interface for a user when establishing the interconnection relationship between the objects, wherein the user does not need to face programming symbols but faces easy-to-understand identifications (such as icons of the programming objects). And the user only needs to execute simple operation on the identification of the input object to select the input object, and inputs the running state of the selected input object according to the prompt. Similarly, an output object is selected and the running state of the selected output object is input. Then, the interconnection relationship between the input object and the output object is generated by taking the operation state of the input object as a condition and the operation state of the output object as an execution action. Thus, the user can complete the establishment of the interconnection relationship between the input object and the output object without memorizing pin numbers, programming symbols and the like, namely without having a programming basis. Therefore, the method has lower professional requirements on users and wider application range.
In some embodiments of the present application, in order to expand functions that can be provided by an electronic device, as many as possible to meet user requirements, an input object and an output object described in the present application may be different functional modules inside the electronic device.
The functional module in the embodiment of the present application is used to represent functions that can be provided by the electronic device. Alternatively, the functional module may be a function provided by an Application (APP) that is self-contained or user-installed in the system in the electronic device. For example: a function of sending messages provided by the social application A; a function of regularly publishing information provided by the social application B; the positioning function provided by the map application A and the navigation function provided by the map application B. The functional modules may also be general-purpose functions provided by the electronic device, without limiting the specific application. For example: positioning function, video playing function, social function, etc. Then no matter which APP the electronic device is through, it is only able to provide that function. Such as: the positioning function can correspond to a plurality of APP such as map 1, map 2, etc., and the video playing function can correspond to a plurality of APP such as video A, video B, video C, video D, etc. It will be appreciated that as future technology evolves, other implementations of the functional module are possible. Alternatively, the functional module may be a function provided by hardware in the electronic device or may be a function provided by software. For example: the functional module includes a sound playing function provided by the speaker as hardware. The functions provided by the software include: a timed post information feature provided by a social application, etc.
In an embodiment of the application, the electronic device is provided with a programming interface, and the programming interface displays identifiers of a plurality of functional modules. The user can establish the interconnection relationship between a plurality of different functional modules based on the programming interface, that is, the user can customize the interconnection relationship of the different functional modules. Furthermore, when the running state of a certain functional module is known, the electronic device controls the running states of other functional modules according to the user-defined interconnection relation associated with the functional module.
Accordingly, as shown in fig. 9, an embodiment of the present application provides an object interconnection method including the following steps S901 to S903.
S901, the electronic equipment receives the operation of a user on at least two functional modules.
Optionally, the operation of selecting at least two function modules by the user may be inputting a voice command, performing interaction in a display interface provided by the electronic device, gesture, inputting shortcut operations such as a combination key, and the like. The embodiment of the application does not limit the specific operation of selecting the operation of at least two functional modules by the user, as long as the at least two functional modules which the user wants to establish the interconnection relationship can be determined.
Illustratively, a preset application is installed in the electronic device, which may provide an interface. The interface provided by the preset application can display the identifiers (such as icons) of various functional modules which can be provided by the electronic equipment, and a user can select the identifiers of a plurality of functional modules to establish the interconnection relationship between the functional modules.
Illustratively, the electronic device provides a voice assistant, and the user may instruct the electronic device to select at least two of the functional modules by invoking the voice assistant to input voice instructions. That is, the user selects the operation of at least two function modules as the operation of inputting the voice command. For example: the user may input a voice instruction of "please establish a functional interaction of the two applications, map and clock".
The number of user selected functional modules is at least two, for example two, three or more.
S902, the electronic equipment receives the interconnection relation of the at least two functional modules input by the user.
The user input in the embodiment of the present application is a broad concept, and includes that a user indicates the interconnection relationship between the at least two functional modules of the electronic device in any manner such as voice, gesture, combination key, touch display screen, and the like. The embodiment of the application does not limit the specific implementation manner of inputting the interconnection relationship by the user, as long as the electronic equipment can obtain the interconnection relationship indicated by the user.
S903, the electronic equipment controls the running state of the functional module associated with the interconnection relation according to the interconnection relation.
Optionally, in one possible implementation manner of steps S902 and S903, after the user selects at least two functional modules, at least one interconnection relationship is selected from a plurality of preset interconnection relationships provided in advance by the electronic device, so as to obtain an interconnection relationship between the at least two functional modules.
Wherein each preset interconnection relationship represents a possible interconnection relationship between the functional modules, and the preset interconnection relationship can be realized by a pre-packaged function package. The user selects one of the preset interconnection relationships, indicating that the user wants to establish the interconnection relationship between the plurality of functional modules. Optionally, the preset interconnection relationship may be a preset logic function block, or may be a preset plurality of options or other various forms. The preset interconnection relationship is provided for the user after the electronic equipment is edited in advance, and the user can edit the preset interconnection relationship provided by the electronic equipment, such as modifying, deleting, adding new interconnection relationship and the like.
The electronic device may provide a plurality of preset interconnection relationships, such as "the GPS positioning module is positioned in a direction in which the user approaches home, and after the distance between the user and home X (the value of" X "may be set by the user) is equal to or greater than the value of" the user ", the air conditioning control APP opens the air conditioner", "the GPS positioning module is positioned in a direction in which the user leaves home, and after the distance between the user and home X meters, the air conditioning control APP closes the air conditioner". The user can select one or more interconnection relations from the interconnection relations, for example, the user selects the interconnection relation that the GPS positioning module positions to the direction that the user approaches the home, after the user gets away from the home by X meters, the air conditioner control APP opens the air conditioner, and after a specific distance is set according to the needs (namely, the value of the X can be defined by the user), when the electronic equipment detects that the distance from the GPS positioning module to the home is the set distance, the electronic equipment controls the air conditioner control APP to open the air conditioner.
Optionally, in another possible implementation manner, after the user selects at least two functional modules, the interconnection relationship between the at least two functional modules is customized.
For example: after the user selects two functional modules, namely the clock and the media volume, an interconnection relationship is established, and when the time of the clock is between 22 and 7 points, the media volume is adjusted to 30 percent. And taking the newly-built preset interconnection relationship as the interconnection relationship between the two functional modules, namely the clock and the media volume. Optionally, the electronic device stores the newly created interconnection relationship.
Another example is: the user selects the audio playing function module and the Bluetooth function module, the user can edit the audio playing function module, set the attribute of the audio playing function module as ' playing audio ', edit the Bluetooth function module, and set the attribute of the Bluetooth function module as ' opening Bluetooth connection sound. Thus, as long as the electronic device plays audio (regardless of which audio/video APP is passed through), the electronic device will play through bluetooth sound.
Optionally, for a case that a certain functional module corresponds to a plurality of APPs, the user may specifically select one or more APPs therein. For example: after the user selects the two functional modules of audio playing and Bluetooth, the user can expand a plurality of corresponding APP (application) under the audio playing module, such as Tengmao video, mango TV, excellent video, loving art and the like, and the user can further select specific applications, such as Tengmao video and mango TV; similarly, if the bluetooth function module corresponds to a plurality of bluetooth devices, for example: bluetooth sound A, bluetooth sound B, bluetooth headset, the user also can further select specific bluetooth equipment. If the user selects two APP's of "Tencel video" and "mango TV" under the audio playing module and the Bluetooth equipment of "Bluetooth sound A" under the Bluetooth function module, the electronic equipment obtains that the interconnection relationship between the two function modules of "audio playing" and "Bluetooth" input by the user is that "the electronic equipment plays audio through the audio playing function module", then the electronic equipment plays audio through the Bluetooth sound after "the electronic equipment only plays audio through Tencel video and mango TV when the user plays audio through the Bluetooth sound A.
Alternatively, the interconnection relationship between the plurality of functional modules may be plural. For example: still take the example that the user selects two function modules of audio playing and Bluetooth, the user can select two APP of 'Tencent video' and 'mango TV' in the two function modules, and the interconnection relationship between the two APP and 'Bluetooth sound A' under the Bluetooth function module is established. The user can also select two APP's of' you ku video 'and' ai qi yi 'and' Bluetooth sound B 'under the Bluetooth function module, and establish the interconnection relationship between the two APP's and the Bluetooth sound B.
Of course, if one APP is used as a functional module, the user may directly select a plurality of APPs, and establish an interconnection relationship between the plurality of APPs. For example, the user selects two APP, namely mango TV and Tencel video, and establishes the interconnection relationship between the two APP and Bluetooth sound A. Or, the user selects two APP of 'you ku video' and 'ai qi yi', and establishes the interconnection relationship between the two APP and the Bluetooth sound B.
Alternatively, the number of functional modules may be plural.
Optionally, after the user selects a plurality of function modules, an instance may be established for one or more selected function modules, and further, an interconnection relationship between the instances may be established. For example: after the user selects two functional modules of GPS positioning and contact person, for the functional module of GPS positioning, the user can edit the functional module to generate two examples of 'GPS range 500 m' and 'GPS range 700 m'; for the contact, the user may edit the function to generate two instances of "contact 1" and "contact 2". When the user generates the two instances of the contact 1 and the contact 2, the embodiment of the application is not limited any more, and the user may select the existing contact or newly establish a new contact from the address book. Thereafter, the user may establish an interconnection between the GPS location function and the contact instance. For example: the interconnection relationship between the two examples of the GPS range of 500 meters and the contact 1 is established as follows: contact 1 is called when the user's range of motion exceeds the 500 meter range of GPS positioning. The interconnection relationship between the two examples of the GPS range of 700 meters and the contact 2 is established as follows: contact 2 is called when the user's range of motion is within 700 meters of GPS positioning.
For the case of corresponding multiple APPs under a certain general function module, these APPs can also be regarded as multiple instances under that function module.
In other possible implementations, after the electronic device performs steps S901 and S902, S903 is not performed, and the interconnection relationship is sent to other devices, so that the other electronic devices control the multiple functional modules to perform corresponding functions according to the interconnection relationship. For example: for electronic devices without display screens, the electronic devices may not interact with a user through an interface, so that the electronic devices can be connected with other electronic devices with display screens (such as mobile phones, computers, servers and the like), the user establishes interconnection relations among a plurality of functional modules in the electronic devices without display screens through other electronic devices with display screens, and sends the interconnection relations to the electronic devices without display screens, and then the electronic devices without display screens can control the functional modules according to the interconnection relations.
For a clearer description of the method shown in fig. 9, the following is exemplary in connection with a specific interface.
By way of example, as shown in fig. 9-1 and 9-2, icons of various functional modules are contained in a first region of an interface 910 displayed by the electronic device. Then, the user selects icons of two function modules, namely a location function module and a contact person function module from the first area, and adds the icons of the two function modules to the second area, so that the electronic device displays an interface 920. In addition, in interface 920, "incomplete" between the two functional modules of the location and address book indicates that the interconnection relationship between the two modules has not been established. Then, the user may edit the interconnection relationship between the two function modules in the second area, as shown in the interface 930 and the interface 940, the user may click on an icon for locating this function module, and establish an instance "locating range is 700 meters away from home" under this module, and similarly, the user may click on an icon for this function module, which is a contact, and establish an instance "contact 2" under this module. Finally, as shown in interface 950, the interconnection relationship between the two functional modules, namely, the obtained positioning module and the contact person, is established as follows: when the location module detects that the user is within 700 meters of home, contact 2 is called.
It will be appreciated that home and 700 meters are just examples, and in practical application, the user can set how many meters from which position according to the requirement.
In addition, reference may also be made to the specific implementation of the interfaces and methods illustrated in fig. 4A, 4B, 4C, 4D, 4E, 5, 6-1, 6-2, 7-1, 7-2, 7-3, 8-1, 8-2, etc. described above in establishing the interconnection relationship between different functional modules in the electronic device, where the "functional module" described herein may replace the "object" described above. The embodiments of the present application are not described in detail.
According to the method provided by the embodiment of the invention, the connection between the functions provided by the electronic equipment can be established according to the requirements of the user, and the functions provided by the electronic equipment are combined, so that the electronic equipment can provide more functions for the user, and further more requirements of the user are met.
In some aspects, various embodiments of the present application may be combined and the combined aspects implemented. Optionally, some operations in the flow of method embodiments are optionally combined, and/or the order of some operations is optionally changed. The order of execution of the steps in each flow is merely exemplary, and is not limited to the order of execution of the steps, and other orders of execution may be used between the steps. And is not intended to suggest that the order of execution is the only order in which the operations may be performed. Those of ordinary skill in the art will recognize a variety of ways to reorder the operations described herein. In addition, it should be noted that details of processes involved in a certain embodiment herein apply to other embodiments as well in a similar manner, or that different embodiments may be used in combination.
Moreover, some steps in method embodiments may be equivalently replaced with other possible steps. Alternatively, some steps in method embodiments may be optional and may be deleted in some usage scenarios. Alternatively, other possible steps may be added to the method embodiments.
Moreover, the method embodiments may be implemented alone or in combination.
The object interconnection method provided by the embodiment of the application is described in detail above. The following describes in detail the object interconnection device provided in the embodiment of the present application with reference to fig. 10.
In one possible design, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 10, an electronic apparatus 1000 as an object interconnection device may include: display unit 1001, transceiver unit 1002, and processing unit 1003. The electronic device 1000 may be used to implement the functionality of the electronic device referred to in the method embodiments described above.
Optionally, the display unit 1001 is configured to support the electronic device 1000 to display interface content, for example: the supporting electronic device performs steps S501, S503 in fig. 5. As another example, the supporting electronic device performs steps S901, S902, etc. in fig. 9.
Optionally, the transceiver unit 1002 is configured to support the electronic device 1000 to interact with other devices, as in step S504 in fig. 5.
Optionally, the processing unit 1003 is configured to support the electronic device 1000 to perform certain operations such as processing, calculating, controlling, etc., for example, support the electronic device to perform S502 in fig. 5, and for example, to perform S903 in fig. 9.
The transceiver unit may include a receiving unit and a transmitting unit, may be implemented by a transceiver or a transceiver related circuit component, and may be a transceiver or a transceiver module. The operations and/or functions of each unit in the electronic device 1000 are respectively for implementing the corresponding flow of the object interconnection method described in the above method embodiment, and all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional unit, which is not repeated herein for brevity.
Optionally, the electronic device 1000 shown in fig. 10 may further include a storage unit (not shown in fig. 10) in which a program or instructions are stored. When the display unit 1001, the transceiver unit 1002, and the processing unit 1003 execute the program or instructions, the electronic apparatus 1000 shown in fig. 10 is enabled to execute the object interconnection method described in the above-described method embodiment.
The technical effects of the electronic device 1000 shown in fig. 10 may refer to the technical effects of the object interconnection method described in the above method embodiment, and will not be described herein.
In addition to the form of the electronic device 1000, the technical solution provided in the present application may also be a functional unit or a chip in the electronic device, or a device used in cooperation with the electronic device.
The embodiment of the application also provides a chip system, which comprises: a processor coupled to a memory for storing programs or instructions which, when executed by the processor, cause the system-on-a-chip to implement the method of any of the method embodiments described above.
Alternatively, the processor in the system-on-chip may be one or more. The processor may be implemented in hardware or in software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory.
Alternatively, the memory in the system-on-chip may be one or more. The memory may be integrated with the processor or may be separate from the processor, and embodiments of the present application are not limited. For example, the memory may be a non-transitory processor, such as a ROM, which may be integrated on the same chip as the processor, or may be separately disposed on different chips, and the type of memory and the manner of disposing the memory and the processor in the embodiments of the present application are not specifically limited.
Illustratively, the chip system may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated chip (AP device plication specific integrated circuit, ASIC), a system on chip (SoC), a central processor (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD) or other integrated chip.
It should be understood that the steps in the above-described method embodiments may be accomplished by integrated logic circuitry in hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules in a processor.
The present application also provides a computer-readable storage medium having a computer program stored therein, which when run on a computer causes the computer to perform the above-mentioned related steps to implement the object interconnection method in the above-mentioned embodiments.
The present application also provides a computer program product, which when run on a computer, causes the computer to perform the above-mentioned related steps to implement the object interconnection method in the above-mentioned embodiments.
In addition, the embodiment of the application also provides a device. The apparatus may be a component or module in particular, and may comprise one or more processors and memory coupled. Wherein the memory is for storing a computer program. The computer program, when executed by one or more processors, causes an apparatus to perform the object interconnection method in the method embodiments described above.
Wherein an apparatus, a computer-readable storage medium, a computer program product, or a chip provided by embodiments of the present application are each configured to perform the corresponding method provided above. Therefore, the advantages achieved by the method can be referred to as the advantages in the corresponding method provided above, and will not be described herein.
The steps of a method or algorithm described in connection with the disclosure of the embodiments disclosed herein may be embodied in hardware, or may be embodied in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read Only Memory (ROM), erasable programmable read only memory (erasable programmable ROM), electrically Erasable Programmable Read Only Memory (EEPROM), registers, hard disk, a removable disk, a compact disc read only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (AP device plication specific integrated circuit, ASIC).
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that the foregoing functional block divisions are merely illustrative for convenience and brevity of description. In practical application, the above functions can be allocated by different functional modules according to the need; i.e. the internal structure of the device is divided into different functional modules to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
In the several embodiments provided in this application, it should be understood that the disclosed methods may be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules or units is only one logic function division, and other division modes can be adopted when the modules or units are actually implemented; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, module or unit indirect coupling or communication connection, which may be electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Computer readable storage media include, but are not limited to, any of the following: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (21)

1. A method for interconnecting objects, which is characterized by being applied to electronic equipment, wherein the electronic equipment is provided with a programming interface, and the programming interface displays at least one identification of an input object and at least one identification of an output object; the method comprises the following steps:
The electronic equipment receives the operation of the user on the identification of the target input object in the at least one input object and/or the operation of the user on the identification of the target output object in the at least one output object;
the electronic equipment receives a linkage relation between the running states of the target input object and the target output object input by a user;
the electronic equipment sends the linkage relation to control equipment so that the control equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object;
or the electronic equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object.
2. The method of object interconnection according to claim 1, wherein before the electronic device receives a linkage relationship between the target input object and the operational state of the target output object of user input, the method further comprises:
the electronic device prompts a user to input a linkage relation between the running states of the target input object and the target output object.
3. The method of object interconnection according to claim 2, wherein the electronic device prompting a user to input a linkage relationship between the operational states of the target input object and the target output object, comprises:
The electronic device displaying at least one selectable item in response to the user's identification of a target input object of the at least one input object and/or the user's identification of a target output object of the at least one output object, one of the selectable items representing one possible linkage relationship between the target input object and the operational state of the target output object;
the electronic device receiving a linkage relationship between the target input object and the running state of the target output object, which are input by the user, comprising:
the electronic device receives an operation of selecting a target option from the at least one selectable option by a user, wherein the target option is used for representing a linkage relation between the running states of the target input object and the target output object which are input by the user.
4. A method of interconnecting objects according to any one of claims 1 to 3, wherein the identification comprises an icon and/or a name; the method further comprises the steps of:
receiving user-defined operation of a user on a name corresponding to the input object and/or a name corresponding to the output object;
and/or
And receiving user-defined operation of the user on the icon corresponding to the input object and/or the icon corresponding to the output object.
5. The method according to any one of claims 1 to 4, wherein the operation of user identification of a target input object of the at least one input object and/or user identification of a target output object of the at least one output object comprises: a first operation of user identification of a target input object of the at least one input object and a second operation of user identification of a target output object of the at least one output object;
wherein the first operation is an operation of clicking the identification of the target input object; the second operation is an operation of clicking the identification of the target output object;
or the first operation is an operation of adding the identification of the target input object to a preset area and clicking the identification of the target input object, or an operation of adding the identification of the target input object to the preset area and then performing logic arrangement; the second operation is an operation of clicking the identification of the target output object after the identification of the target output object is added to the preset area, or an operation of performing logic arrangement after the identification of the target output object is added to the preset area.
6. The method according to any one of claim 1 to 4, wherein,
the operation of identifying a target input object in the at least one input object by a user and/or identifying a target output object in the at least one output object by a user comprises: and dragging the identification of the target input object to the identification of the target output object by a user.
7. The method of claim 1, wherein the target input object is an input object having a first attribute value; the target output object is an output object with a second attribute value;
the electronic equipment receives the operation of the user on the identification of the target input object in the at least one input object and/or the operation of the user on the identification of the target output object in the at least one output object; the electronic device receiving a linkage relation between the target input object and the running state of the target output object, which are input by a user, comprises:
the electronic equipment receives click operation of a user on the identification of the target input object and the identification of the target output object;
the electronic equipment establishes a linkage relation between the target input object and the target output object according to the first attribute value of the target input object and the second attribute value of the target output object; the linkage relation indicates that when the running state of the target input object is the running state indicated by the first attribute value, the running state of the target output object is the running state indicated by the second attribute value;
Or the target input object is an input object with a first attribute value;
the electronic equipment receives the operation of the user on the identification of the target input object in the at least one input object and/or the operation of the user on the identification of the target output object in the at least one output object; the electronic device receiving a linkage relation between the target input object and the running state of the target output object, which are input by a user, comprises:
the electronic equipment receives the operation of setting the second attribute value of the target output object by a user;
the electronic equipment receives click operation of a user on the identification of the target input object and the identification of the target output object;
the electronic equipment establishes a linkage relation between the target input object and the target output object according to the first attribute value of the target input object and the second attribute value of the target output object; the linkage relation indicates that when the running state of the target input object is the running state indicated by the first attribute value, the running state of the target output object is the running state indicated by the second attribute value;
or the target output object is an output object with a second attribute value;
The electronic equipment receives the operation of the user on the identification of the target input object in the at least one input object and/or the operation of the user on the identification of the target output object in the at least one output object; the electronic device receiving a linkage relation between the target input object and the running state of the target output object, which are input by a user, comprises:
the electronic equipment receives an operation of setting a first attribute value of the target input object by a user;
the electronic equipment receives click operation of a user on the identification of the target input object and the identification of the target output object;
the electronic equipment establishes a linkage relation between the target input object and the target output object according to the first attribute value of the target input object and the second attribute value of the target output object; the linkage relation indicates that when the running state of the target input object is the running state indicated by the first attribute value, the running state of the target output object is the running state indicated by the second attribute value.
8. The method of claim 5, wherein the programming interface comprises a first region, a second region, and a third region; displaying the identifications of all objects in the first area; the object comprises an input object and an output object; the second area is used for displaying the identification of the object serving as the target input object; the third area is used for displaying the identification of the object serving as the target output object;
The electronic device receiving operation of user identification of a target input object in the at least one input object and/or user identification of a target output object in the at least one output object, including:
the electronic device receives an operation that a user adds an identification of a target input object from the first region to the second region and an identification of a target output object from the first region to the third region;
the electronic device receiving an interconnection relationship between the target input object and the running state of the target output object, which are input by a user, comprises:
the electronic equipment receives the operation that a user sets a first attribute value of the target input object and a second attribute value of the target output object;
and the electronic equipment establishes an interconnection relation between the target input object and the target output object according to the first attribute value and the second attribute value, wherein the interconnection relation represents that when the running state of the target input object is the running state indicated by the first attribute value, the running state of the target output object is the running state indicated by the second attribute value.
9. The method of claim 5, wherein the programming interface comprises a first region and a second region; the first area is used for displaying an identifier serving as an input object; the second area is used for displaying the identification of the output object.
10. The method of claim 1, wherein the operation of the electronic device receiving the user identification of the target input object of the at least one input object and/or the user identification of the target output object of the at least one output object comprises:
the electronic equipment receives the operation of the user on the identification of a target object, wherein the target object is a target input object or a target output object;
the electronic device receiving a linkage relation between the target input object and the running state of the target output object, which are input by a user, comprises:
the electronic equipment receives operation of selecting a target linkage relation from a plurality of selectable linkage relations by a user, wherein each selectable linkage relation represents one linkage relation associated with the target object; the target linkage relationship is used for indicating the linkage relationship between the target object and other objects;
or the electronic equipment receives the target linkage relation input by the user.
11. The method of claim 10, wherein prior to the electronic device sending the linkage to a control device, the method further comprises:
and the electronic equipment determines the other objects according to the target linkage relation.
12. A method for interconnecting objects, which is characterized by being applied to electronic equipment, wherein the electronic equipment is provided with a programming interface, and the programming interface displays at least one identification of an input object and at least one identification of an output object; the method comprises the following steps:
the electronic equipment receives a first operation of a user on the identification of a target input object in the at least one input object;
the electronic equipment receives a first running state of the target input object input by a user;
the electronic equipment receives a second operation of the user on the identification of a target output object in the at least one output object;
the electronic equipment receives a second running state of the target output object input by a user;
the electronic equipment generates a linkage relation between the target input object and the target output object according to the first running state and the second running state, wherein the linkage relation is used for controlling the target output object to be in the second running state when the target input object is in the first running state input by a user;
The electronic equipment sends the linkage relation to control equipment so that the control equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object;
or the electronic equipment controls the running state of the target output object according to the linkage relation and the running state of the target input object.
13. The method of object interconnection of claim 12, wherein prior to the electronic device receiving a first operational state of the target input object entered by a user, the method further comprises:
the electronic equipment prompts a user to input the running state of the target input object;
and/or
Before the electronic device receives the second operating state of the target output object input by the user, the method further comprises:
the electronic device prompts a user to input the running state of the target output object.
14. The method of claim 13, wherein the electronic device prompting a user to input an operational state of the target input object comprises:
the electronic device displaying at least one selectable item in response to the first operation, one of the selectable items being indicative of one possible operational state of the target input object;
The electronic device receiving a first operational state of the target input object entered by a user, comprising:
the electronic device receives an operation of selecting a target option from the at least one selectable option by a user, wherein the target option is used for representing a first running state of the target input object input by the user.
15. The method of claim 13, wherein the electronic device prompting a user to input an operational state of the target output object, comprising:
the electronic device displaying at least one selectable item in response to the second operation, one of the selectable items representing one possible operational state of the target output object;
the electronic device receiving a second operational state of the target output object input by a user, comprising:
the electronic device receives an operation of selecting a target option from the at least one selectable option by a user, wherein the target option is used for representing a second running state of the target output object input by the user.
16. The method of any one of claims 1 to 15, wherein the input object comprises one or more of a virtual input device, a physical input device, a functional module; the output object comprises one or more of virtual output equipment, physical output equipment and a functional module; the virtual input device and the virtual output device are modules or applications realized by software programs; the functional module includes functionality provided by an application in the electronic device.
17. The method of object interconnection according to any one of claims 1 to 16, wherein the method is applied to an interconnection system comprising the electronic device, the control device and the controlled device; the controlled device comprises an input device and an output device; the input object includes the at least one input device, and the output object includes the at least one output device; the electronic equipment, the control equipment and the controlled equipment are independent equipment respectively, or the electronic equipment and the control equipment are integrally arranged as one equipment, and the controlled equipment is independent equipment; or the control device and one of the controlled devices are integrally arranged as one device, and the electronic device is an independent device; or the electronic device, the control device and one of the controlled devices are integrally arranged as one device.
18. The method for interconnecting the objects is characterized by being applied to electronic equipment, wherein the electronic equipment is provided with a programming interface, and the programming interface displays identifiers of a plurality of functional modules; the function module comprises functions provided by application programs in the electronic equipment; the method comprises the following steps:
The electronic equipment receives the operation of the user on the identification of at least two functional modules in the plurality of functional modules;
the electronic equipment receives the linkage relation of the at least two functional modules input by a user;
and the electronic equipment controls the running state of the functional module associated with the linkage relation according to the linkage relation.
19. The method of claim 18, wherein the programming interface includes a first region and a second region, the first region displaying identifiers of a plurality of functional modules;
the electronic device receiving user identification of at least two of the plurality of functional modules, comprising:
the electronic device receives an operation that a user selects identifications of at least two function modules from a plurality of function modules in the first area, and adds the identifications of the at least two function modules to a second area.
20. An electronic device, comprising: a display screen, a processor and a memory, the display screen, the memory being coupled to the processor, the memory being for storing computer instructions that, when read from the memory by the processor, cause the electronic device to perform the method of interconnecting objects of any one of claims 1 to 19.
21. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of interconnecting objects according to any of claims 1-19.
CN202310270845.1A 2022-03-18 2023-03-15 Object interconnection method and electronic equipment Pending CN116483002A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210268935.2A CN114690698A (en) 2022-03-18 2022-03-18 Object interconnection method and electronic equipment
CN2022102689352 2022-03-18

Publications (1)

Publication Number Publication Date
CN116483002A true CN116483002A (en) 2023-07-25

Family

ID=82139483

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210268935.2A Pending CN114690698A (en) 2022-03-18 2022-03-18 Object interconnection method and electronic equipment
CN202310270845.1A Pending CN116483002A (en) 2022-03-18 2023-03-15 Object interconnection method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202210268935.2A Pending CN114690698A (en) 2022-03-18 2022-03-18 Object interconnection method and electronic equipment

Country Status (1)

Country Link
CN (2) CN114690698A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117806620A (en) * 2024-01-09 2024-04-02 中科物栖(南京)科技有限公司 Method, apparatus, device and storage medium for graphically abstracting multifunctional device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117806620A (en) * 2024-01-09 2024-04-02 中科物栖(南京)科技有限公司 Method, apparatus, device and storage medium for graphically abstracting multifunctional device

Also Published As

Publication number Publication date
CN114690698A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US20220312618A1 (en) Method of Digital Labeling Control System Terminals That Enables Guided Wiring
EP2744152B1 (en) User terminal apparatus, network apparatus for enabling an intelligent communication, and control method thereof
KR20230038430A (en) Interaction method, storage medium, and electronic device for building interlocking scenarios of devices
US10678420B2 (en) Electronic device and UI providing method therefor
CN113885345B (en) Interaction method, device and equipment based on intelligent home simulation control system
CN104866250A (en) Household appliance, control system and method of household appliance, mobile terminal and cloud server
CN111897462B (en) Intelligent display control method and device in intelligent household APP
CN110688172B (en) Device function mutual exclusion logic configuration method and device, electronic device and storage medium
CN111198511A (en) Centralized control method, storage device and processor for smart home
CN109189295A (en) display control method, device and terminal device
CN116483002A (en) Object interconnection method and electronic equipment
CN107643949A (en) Application program switching system and method, storage medium and electronic equipment
US10962947B2 (en) Device for remotely controlling an appliance
CN108919658A (en) Smart machine control method and device
CN109240098A (en) Equipment configuration method, device, terminal device and storage medium
CN109783144B (en) Method and device for processing variable in interactive realization of virtual environment and storage medium
CN110794773A (en) Click-type scene creating method and device
CN114826805A (en) Computer readable storage medium, mobile terminal and intelligent home control method
TWI730530B (en) Internet of things device binding method and system
Bernardos et al. MECCANO: a mobile-enabled configuration framework to coordinate and augment networks of smart objects.
WO2023221995A1 (en) Intelligent device control method and electronic device
US11112762B2 (en) Universal programming station with orientable blocks
US20230410437A1 (en) Ar system for providing interactive experiences in smart spaces
CN117555272A (en) Intelligent device control method and device, electronic device and storage medium
KR20240062475A (en) Electronic device for displaying a user interface for use and management of a device included in household and an operating method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination