CN107957687B - Method and device for controlling functions of interconnection equipment - Google Patents

Method and device for controlling functions of interconnection equipment Download PDF

Info

Publication number
CN107957687B
CN107957687B CN201711233592.1A CN201711233592A CN107957687B CN 107957687 B CN107957687 B CN 107957687B CN 201711233592 A CN201711233592 A CN 201711233592A CN 107957687 B CN107957687 B CN 107957687B
Authority
CN
China
Prior art keywords
same function
equipment
started
starting
functions
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.)
Active
Application number
CN201711233592.1A
Other languages
Chinese (zh)
Other versions
CN107957687A (en
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.)
Mobvoi Information Technology Co Ltd
Original Assignee
Mobvoi Information 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 Mobvoi Information Technology Co Ltd filed Critical Mobvoi Information Technology Co Ltd
Priority to CN201711233592.1A priority Critical patent/CN107957687B/en
Publication of CN107957687A publication Critical patent/CN107957687A/en
Application granted granted Critical
Publication of CN107957687B publication Critical patent/CN107957687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • 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/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and a device for controlling functions of interconnected equipment, relates to the technical field of Internet of things, and aims to solve the problems of disordered task execution and resource waste in the existing Internet of things. The method of the invention comprises the following steps: the method comprises the steps that a first device detects whether a second device with the same function as the first device exists in a preset Internet of things or not; and if so, the first equipment determines whether to start the same function or not according to a preset rule. The method is suitable for being applied to the process of the combined work of the multiple Internet of things devices.

Description

Method and device for controlling functions of interconnection equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method and a device for controlling functions of interconnected equipment.
Background
In the era of the internet of things, when a plurality of pieces of internet of things equipment with the same functions exist and are interconnected in a specific space at the same time, the same task is executed at the same time. For example, the smart watch has a voice awakening function, the vehicle-mounted device also has a voice awakening instruction function, when a user is in the vehicle, the smart watch and the vehicle-mounted device can receive a voice awakening word sent by the user, and when the smart watch and the vehicle-mounted device are awakened by the same voice awakening word, the smart watch and the vehicle-mounted device can simultaneously generate a corresponding instruction according to the voice awakening word, complete the operation on related devices in the vehicle according to the instruction, and simultaneously output the result. It can be seen that in the internet of things, some internet of things devices with the same function are provided, tasks required by users are executed simultaneously, no better cooperation exists between the internet of things devices, the repeated execution of the same task is caused, the task execution in the whole internet of things is disordered, and the waste of resources is caused.
Disclosure of Invention
In view of the above problems, the present invention provides a method and an apparatus for controlling functions of an internet device, so as to solve the problems of confusion of task execution and resource waste in the existing internet of things.
In order to solve the above technical problem, in a first aspect, the present invention provides a method for controlling functions of an interconnection device, where the method includes:
the method comprises the steps that a first device detects whether a second device with the same function as the first device exists in a preset Internet of things or not;
and if so, the first equipment determines whether to start the same function or not according to a preset rule.
In a second aspect, the present invention further provides an apparatus for controlling functions of interconnected devices, the apparatus comprising:
the detection unit is used for detecting whether second equipment with the same function as the first equipment exists in a preset Internet of things or not by the first equipment;
and the determining unit is used for determining whether to start the same function or not according to a preset rule by the first equipment if the same function exists.
In order to achieve the above object, according to a third aspect of the present invention, there is provided a storage medium including a stored program, wherein when the program runs, a control method for controlling a device in which the storage medium is located to execute the functions of the interconnected device described in the first aspect is provided.
In order to achieve the above object, according to a fourth aspect of the present invention, there is provided an electronic apparatus comprising:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method of controlling interconnected device functions as described in the above first aspect.
By means of the technical scheme, the method and the device for controlling the functions of the interconnected equipment can determine whether the equipment can start the same function or not through the preset rule when the equipment in the internet of things detects other equipment with the same function as the equipment, namely, which equipment in a plurality of equipment with the same function executes the same function can be determined through the preset rule, so that the chaotic phenomenon that the plurality of equipment execute the same function can be effectively avoided, and the waste of resources can be effectively reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for controlling functions of an interconnection device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another method for controlling functions of an interconnect device according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating an apparatus for controlling functions of interconnected devices according to an embodiment of the present invention;
fig. 4 is a block diagram of a control device for interconnecting device functions according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve the problems of task execution confusion and resource waste in the existing internet of things, an embodiment of the present invention provides a method for controlling functions of an interconnection device, as shown in fig. 1, the method includes:
101. the first equipment detects whether second equipment with the same function as the first equipment exists in the preset Internet of things or not.
The method in the embodiment is applied to first equipment, and the first equipment is any intelligent equipment in a preset Internet of things. All the intelligent devices in the preset internet of things are interconnected, all functions of each intelligent device can be known in advance and recorded in the internet of things, and the specific recording position can be any intelligent device in the preset internet of things or other management devices (such as a cloud end server and the like). Therefore, the first device can determine whether a second device with the same function as the first device exists in the preset Internet of things by detecting the devices recording the functions of all the intelligent devices. Since the first device may have more than one function, the same function may be one or more functions of the first device, and the second device may also be one or more smart devices in the preset internet of things.
102. And if so, the first equipment determines whether to start the same function or not according to a preset rule.
In practical applications, it is often not necessary for the smart devices having the same function to function simultaneously (i.e., start the same function simultaneously) in an internet of things, and therefore, if the first device and the second device both have the same function, in order to avoid confusion and resource waste caused by the same function being simultaneously started by a plurality of smart devices, the embodiment can determine which smart device starts the same function according to a preset rule, and further enable the first device to determine whether the first device is a smart device capable of starting the same function, i.e., determine whether the same function can be started. The preset rules are determined according to the performance characteristics of the intelligent devices corresponding to the same functions, and the preset rules are used for determining the intelligent devices which enable the same functions to be better realized in different application scenes.
As for the result determined in step 102, if the first device determines that the same function can be started, the same function of the first device is started; and if the same function cannot be started, the starting of the same function is forbidden.
The control method for the functions of the interconnected equipment, provided by the embodiment of the invention, can ensure that when the equipment in the Internet of things detects other equipment with the same function as the equipment, whether the equipment can start the same function is determined through the preset rule, namely, which equipment in a plurality of equipment with the same function executes the same function can be determined through the preset rule, so that the chaos phenomenon that the plurality of equipment execute the same function can be effectively avoided, and the waste of resources can be effectively reduced.
Further, as a refinement and an extension of the embodiment shown in fig. 1, the embodiment of the present invention further provides another method for controlling functions of an interconnection device, as shown in fig. 2.
201. The first equipment detects whether second equipment with the same function as the first equipment exists in the preset Internet of things or not.
The implementation of this step is the same as that of step 101 in fig. 1, and is not described here again.
202. And determining whether to start the same function of the first device according to a negotiation result in the negotiation instruction determined by the first device and the second device or according to the starting priority of the same function corresponding to the first device and the second device.
In the first case:
the implementation process of determining whether to start the same function of the first device according to the negotiation result in the negotiation instruction determined by the first device and the second device comprises the following steps:
first, a negotiation instruction determined by the first device and the second device based on the artificial intelligence negotiation mechanism is received.
The first device and the second device negotiate based on an artificial intelligence negotiation mechanism, determine a negotiation result, and generate a negotiation instruction according to the negotiation result. The specific negotiation process is as follows: the first device and the second device (or each second device if the second device is a plurality of devices) are respectively used as an agent of the agent, the agent of the agent has sociality and has the ability of cooperating with other agents, different agents can interact with other agents according to respective intentions so as to achieve the purpose of solving problems, and particularly, the interaction process can be carried out by adopting a communication language supporting knowledge transfer. In this step, the agent corresponding to the first device negotiates with the agent corresponding to the second device through the communication language supporting the knowledge transfer to determine a negotiation result, that is, to determine which one or more intelligent devices start the same function.
And secondly, the first equipment determines whether to start the same function or not according to the negotiation result in the negotiation instruction.
The first device and the second device negotiate to determine which intelligent device or intelligent devices can start the same function, so that the first device can determine whether the first device can start the same function according to the negotiation result.
In the second case:
determining whether to start the same function of the first device according to the start priorities of the same function corresponding to the first device and the second device, wherein the specific implementation process comprises the following steps:
first, the starting priority of the same function corresponding to the first device and the second device is obtained.
The starting priority can be set in advance according to requirements in practical application, and it should be noted that it is preset that the intelligent devices included in the internet of things may change dynamically, so that the number and/or types of the intelligent devices with the same function also change dynamically, and when the number and/or types of the intelligent devices with the same function change, the corresponding starting priority also needs to be set again.
In addition, the starting priority of the same function corresponding to the first device and the second device is obtained from a preset rule base, the preset rule base is stored in a certain device in the preset internet of things, the preset rule base comprises identifiers of the same function, combination conditions of a plurality of intelligent devices corresponding to the same function, and starting priority of each combination condition corresponding to the same function, and the identifiers, the combination conditions of the intelligent devices corresponding to the same function, and the starting priority of each combination condition corresponding to the same function are in mutual corresponding relation in the preset rule base. When the start priorities of the same functions corresponding to the first device and the second device need to be obtained, an obtaining request for obtaining the start priorities can be sent to the certain device, where the obtaining request includes an identifier of the same function corresponding to the start priority that is desired to be obtained and a combination condition (corresponding to the combination of the first device and the second device in this embodiment) of multiple intelligent devices corresponding to the same function, and after receiving the obtaining request, the certain device can find the start priorities of the corresponding first device and the corresponding second device in a preset rule base according to the obtaining request, and return the start priorities to the first device.
And secondly, determining whether to start the same function according to the starting priority of the same function corresponding to the first equipment and the second equipment.
Specifically, if the starting priority of the first device is higher than that of the second device, it is determined that the same function can be started;
and if the starting priority of the first equipment is lower than that of the second equipment, determining that the same function cannot be started.
It should be noted that the second device may be one device or a plurality of devices, and when the second device is a plurality of devices, the starting priority of the first device is higher than that of the second device, which means that the starting priority of the first device is higher than that of each second device; the starting priority of the first device is lower than that of the second device, namely the starting priority of the first device is at least lower than that of one of the second devices.
203. And if the same function is determined to be started, sending the started prompt information to the second equipment after the same function is started.
After the first device starts the same function, in order to prevent the second device from possibly starting the same function, the started prompt message may be sent to the second device, so as to ensure that the second device prohibits the starting of the same function.
In addition, if the first device determines that the same function cannot be started, the first device prohibits the starting of the same function.
Corresponding to the implementation of the method shown in fig. 1 and fig. 2, a specific example is given for explanation:
example 1:
if first equipment is intelligent wrist-watch, if the user is when getting on the bus and preparing to drive, certain intelligent mobile unit (second equipment) is detected to intelligent wrist-watch, and the same function that this intelligent mobile unit and intelligent wrist-watch all have includes, as shown in table 1: receiving voice input, and searching through voice; receiving gesture input; receiving touch input; displaying and outputting through a screen; output by voice announcement (TTS).
Table 1 also provides the characteristics of the same function of the intelligent vehicle-mounted device corresponding to the intelligent watch, for example, the characteristics of the function of receiving the voice input by the intelligent watch are weaker noise suppression and echo cancellation, and the characteristics of the function of receiving the voice input by the intelligent vehicle-mounted device are stronger noise suppression and echo cancellation; for another example, the smart watch is characterized by small-size screen display through screen display output, and the smart vehicle-mounted device is characterized by large-size screen display through screen display output; and so on. And will not be described in detail herein.
TABLE 1
Figure BDA0001488589720000071
After the intelligent watch detects the intelligent vehicle-mounted equipment, determining starting equipment corresponding to each same function through an artificial intelligence negotiation mechanism or according to starting rules corresponding to the same functions; in the present example, negotiation is performed through the artificial intelligence negotiation mechanism, and the rule for starting the same function is defined according to the features of the functions and the operating features of the smart watch and the vehicle-mounted device, and the finally determined device for starting the same function is usually the optimal device corresponding to the same function. Assuming a final determination, as shown in table 2: the equipment for receiving the voice input is intelligent vehicle-mounted equipment; the device for receiving the gesture input is an intelligent watch; the equipment for receiving Touch input is intelligent vehicle-mounted equipment (in practical application, the opening is avoided as far as possible for safety); the device for displaying and outputting through the screen is an intelligent vehicle-mounted device; the device for outputting (TTS) through voice broadcast is an intelligent vehicle-mounted device. According to the determined starting devices corresponding to each same function, the corresponding devices which cannot start the same function need to close the corresponding same function, namely, a gesture input receiving function of the intelligent watch is started, and the intelligent watch is forbidden to start functions of voice input receiving, Touch input receiving, screen display output outputting and voice broadcast output (TTS); starting functions of receiving voice input, receiving Touch input, displaying output through a screen and outputting (TTS) through voice broadcast of the intelligent vehicle-mounted equipment; and forbidding the function of receiving the gesture input of the intelligent vehicle-mounted equipment. In addition, in the case where the functions are not the same, the device having the function may be turned on. For example, the smart watch may vibrate the output, while the smart car device itself does not support the vibration output, and the vibration output is turned on by the smart watch, as shown in table 2.
TABLE 2
Figure BDA0001488589720000081
Example 2:
if first equipment is intelligent wrist-watch, when the user was at home, certain intelligent home equipment (second equipment) was detected to intelligent wrist-watch, and the same function that this intelligent home equipment and intelligent wrist-watch all had includes, as shown in table 1: receiving voice input, and searching through voice; output by voice announcement (TTS).
Table 1 also provides the same functional characteristics of the smart home device corresponding to the smart watch, for example, the smart watch has a voice input receiving function characterized by weak noise suppression and echo cancellation, and the smart home device has a voice input receiving function characterized by strong noise suppression and echo cancellation, and has 360 degrees of omnidirectional far-field sound pickup; for another example, the function of outputting (TTS) through voice broadcast by the smart watch is characterized by weak voice; and the like. And will not be described in detail herein.
After the smart watch detects the smart home device, determining a starting device corresponding to each same function through an artificial intelligence negotiation mechanism or according to a starting rule corresponding to the same function; in the present example, negotiation is performed through the artificial intelligence negotiation mechanism, and the rule for starting the same function is defined according to the features of the smart watch and the home device and the operating features, and the finally determined device for starting the same function is usually the optimal device corresponding to the same function. Assuming a final determination, as shown in table 2: the equipment for receiving the voice input is intelligent household equipment; the device for outputting (TTS) through voice broadcast is an intelligent household device. According to the determined starting equipment corresponding to each same function, the corresponding equipment which cannot start the same function needs to close the corresponding same function, namely, the functions of receiving voice input and outputting (TTS) through voice broadcast of the intelligent home equipment are started; disabling the smart watch from receiving voice input and enabling a function of outputting (TTS) via voice broadcast. In addition, in the case where the functions are not the same, the device having the function may be turned on. For example, the smart watch can receive a gesture input function, receive Touch input, display output through a screen, and vibrate the output function, but the smart home device does not have the gesture input function, Touch input, display output through a screen, and vibrate the output function, so that the smart watch starts the gesture input receiving function, Touch input receiving function, and vibration output function. Specifically as shown in table 2.
Further, as an implementation of the method shown in fig. 1 and fig. 2, another embodiment of the present invention further provides a device for controlling functions of an interconnection device, which is used to implement the method shown in fig. 1 and fig. 2. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 3, the apparatus includes: a detection unit 31 and a determination unit 32.
The detecting unit 31 is configured to detect, by a first device, whether a second device having the same function as the first device exists in a preset internet of things;
the device in this embodiment is located a first device side, and the first device is any intelligent device in a preset internet of things. All the intelligent devices in the preset internet of things are interconnected, all functions of each intelligent device can be known in advance and recorded in the internet of things, and the specific recording position can be any intelligent device in the preset internet of things or other management devices (such as a cloud end server and the like). Therefore, the first device can determine whether a second device with the same function as the first device exists in the preset Internet of things by detecting the devices recording the functions of all the intelligent devices. Since the first device may have more than one function, the same function may be one or more functions of the first device, and the second device may also be one or more smart devices in the preset internet of things.
A determining unit 32, configured to determine, if the function is activated, whether to activate the same function according to a preset rule by the first device.
In practical applications, it is often not necessary for the smart devices having the same function to function simultaneously (i.e., start the same function simultaneously) in an internet of things, and therefore, if the first device and the second device both have the same function, in order to avoid confusion and resource waste caused by the same function being simultaneously started by a plurality of smart devices, the embodiment can determine which smart device starts the same function according to a preset rule, and further enable the first device to determine whether the first device is a smart device capable of starting the same function, i.e., determine whether the same function can be started. The preset rules are determined according to the performance characteristics of the intelligent devices corresponding to the same functions, and the preset rules are used for determining the intelligent devices which enable the same functions to be better realized in different application scenes.
As for the result determined by the determining unit 32, if the first device determines that the same function can be started, the same function of the first device is started; and if the same function cannot be started, the starting of the same function is forbidden.
As shown in fig. 4, the determining unit 32 includes:
a receiving module 321, configured to receive a negotiation instruction determined based on an artificial intelligence negotiation mechanism and a second device;
the first device and the second device negotiate based on an artificial intelligence negotiation mechanism, determine a negotiation result, and generate a negotiation instruction according to the negotiation result. The specific negotiation process is as follows: the first device and the second device (or each second device if the second device is a plurality of devices) are respectively used as an agent of the agent, the agent of the agent has sociality and has the ability of cooperating with other agents, different agents can interact with other agents according to respective intentions so as to achieve the purpose of solving problems, and particularly, the interaction process can be carried out by adopting a communication language supporting knowledge transfer. In this step, the agent corresponding to the first device negotiates with the agent corresponding to the second device through the communication language supporting the knowledge transfer to determine a negotiation result, that is, to determine which one or more intelligent devices start the same function.
A first determining module 322, configured to determine whether to start the same function according to a negotiation result in the negotiation instruction.
The first device and the second device negotiate to determine which intelligent device or intelligent devices can start the same function, so that the first device can determine whether the first device can start the same function according to the negotiation result.
As shown in fig. 4, the determining unit 32 includes:
an obtaining module 323, configured to obtain start priorities of the same function corresponding to the first device and the second device;
the starting priority can be set in advance according to requirements in practical application, and it should be noted that it is preset that the intelligent devices included in the internet of things may change dynamically, so that the number and/or types of the intelligent devices with the same function also change dynamically, and when the number and/or types of the intelligent devices with the same function change, the corresponding starting priority also needs to be set again.
A second determining module 324, configured to determine whether to start the same function according to the start priorities of the same function corresponding to the first device and the second device.
The second determining module 324 is configured to:
if the starting priority of the first equipment is higher than that of the second equipment, determining that the same function can be started;
and if the starting priority of the first equipment is lower than that of the second equipment, determining that the same function cannot be started.
It should be noted that the second device may be one device or a plurality of devices, and when the second device is a plurality of devices, the starting priority of the first device is higher than that of the second device, which means that the starting priority of the first device is higher than that of each second device; the starting priority of the first device is lower than that of the second device, namely the starting priority of the first device is at least lower than that of one of the second devices.
The obtaining module 323 is configured to:
and acquiring the starting priorities of the same functions corresponding to the first device and the second device from a preset rule base, wherein the preset rule base comprises the starting priorities of all devices corresponding to the same functions.
The method comprises the steps that starting priorities of the same functions corresponding to a first device and a second device are obtained from a preset rule base, the preset rule base is stored in a certain device in a preset Internet of things, the preset rule base comprises identifiers of the same functions, combination conditions of a plurality of intelligent devices corresponding to the same functions, and starting priorities of the same functions under each combination condition, and the identifiers, the combination conditions of the intelligent devices corresponding to the same functions and the starting priorities of the same functions correspond to each other in the preset rule base. When the start priorities of the same functions corresponding to the first device and the second device need to be obtained, an obtaining request for obtaining the start priorities can be sent to the certain device, where the obtaining request includes an identifier of the same function corresponding to the start priority that is desired to be obtained and a combination condition (corresponding to the combination of the first device and the second device in this embodiment) of multiple intelligent devices corresponding to the same function, and after receiving the obtaining request, the certain device can find the start priorities of the corresponding first device and the corresponding second device in a preset rule base according to the obtaining request, and return the start priorities to the first device.
As shown in fig. 4, the method further comprises:
a sending unit 33, configured to send, if it is determined that the same function is started, started prompt information to the second device after the same function is started, so that the second device prohibits starting of the same function.
The control device for the function of the interconnected equipment, provided by the embodiment of the invention, can enable the equipment in the internet of things to determine whether the equipment can start the same function or not through the preset rule when detecting other equipment with the same function as the equipment, namely, can determine which equipment of a plurality of equipment with the same function executes the same function through the preset rule, so that the chaos phenomenon that the plurality of equipment execute the same function can be effectively avoided, and the waste of resources can be effectively reduced.
The control device of the functions of the interconnection equipment comprises a processor and a memory, the detection unit 31, the determination unit 32 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the accuracy of the analysis result required by the user is improved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium on which a program is stored, where the program, when executed by a processor, implements a control method for functions of the interconnection device.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute a control method of the function of the interconnection equipment.
The embodiment of the invention provides electronic equipment, which comprises one or more processors, a memory and one or more programs which are stored on the memory and can run on the processor, wherein the one or more processors realize the following steps when executing the programs: the method comprises the steps that a first device detects whether a second device with the same function as the first device exists in a preset Internet of things or not; and if so, the first equipment determines whether to start the same function or not according to a preset rule.
Further, the determining, by the first device, whether to start the same function according to a preset rule includes:
receiving a negotiation instruction determined by the artificial intelligence negotiation mechanism and the second equipment;
and determining whether to start the same function or not according to a negotiation result in the negotiation instruction.
Further, the determining, by the first device, whether to start the same function according to a preset rule includes:
acquiring starting priorities of the same functions corresponding to the first equipment and the second equipment;
and determining whether to start the same function according to the starting priorities of the same function corresponding to the first equipment and the second equipment.
Further, the determining whether to start the same function according to the start priorities of the same function corresponding to the first device and the second device includes:
if the starting priority of the first equipment is higher than that of the second equipment, determining that the same function can be started;
and if the starting priority of the first equipment is lower than that of the second equipment, determining that the same function cannot be started.
Further, the obtaining the starting priorities of the same function corresponding to the first device and the second device includes:
and acquiring the starting priorities of the same functions corresponding to the first device and the second device from a preset rule base, wherein the preset rule base comprises the starting priorities of all devices corresponding to the same functions.
Further, the method further comprises:
and if the same function is determined to be started, sending started prompt information to the second equipment after the same function is started so that the second equipment can prohibit the starting of the same function.
The device in the embodiment of the invention can be a server, a PC, a PAD, a mobile phone and the like.
An embodiment of the present invention further provides a computer program product, which, when executed on a data processing apparatus, is adapted to execute a program that initializes the following method steps: the method comprises the steps that a first device detects whether a second device with the same function as the first device exists in a preset Internet of things or not; and if so, the first equipment determines whether to start the same function or not according to a preset rule.
Further, the determining, by the first device, whether to start the same function according to a preset rule includes:
receiving a negotiation instruction determined by the artificial intelligence negotiation mechanism and the second equipment;
and determining whether to start the same function or not according to a negotiation result in the negotiation instruction.
Further, the determining, by the first device, whether to start the same function according to a preset rule includes:
acquiring starting priorities of the same functions corresponding to the first equipment and the second equipment;
and determining whether to start the same function according to the starting priorities of the same function corresponding to the first equipment and the second equipment.
Further, the determining whether to start the same function according to the start priorities of the same function corresponding to the first device and the second device includes:
if the starting priority of the first equipment is higher than that of the second equipment, determining that the same function can be started;
and if the starting priority of the first equipment is lower than that of the second equipment, determining that the same function cannot be started.
Further, the obtaining the starting priorities of the same function corresponding to the first device and the second device includes:
and acquiring the starting priorities of the same functions corresponding to the first device and the second device from a preset rule base, wherein the preset rule base comprises the starting priorities of all devices corresponding to the same functions.
Further, the method further comprises:
and if the same function is determined to be started, sending started prompt information to the second equipment after the same function is started so that the second equipment can prohibit the starting of the same function.
The invention discloses:
a1, a method for controlling functions of interconnected equipment, the method comprising:
the method comprises the steps that a first device detects whether a second device with the same function as the first device exists in a preset Internet of things or not;
and if so, the first equipment determines whether to start the same function or not according to a preset rule.
A2, the method as in A1, the first device determining whether to activate the same function according to preset rules, comprising:
receiving a negotiation instruction determined by the artificial intelligence negotiation mechanism and the second equipment;
and determining whether to start the same function or not according to a negotiation result in the negotiation instruction.
A3, the method as in A1, the first device determining whether to activate the same function according to preset rules, comprising:
acquiring starting priorities of the same functions corresponding to the first equipment and the second equipment;
and determining whether to start the same function according to the starting priorities of the same function corresponding to the first equipment and the second equipment.
A4, the method of A3, the determining whether to activate the same function according to the activation priorities of the same function corresponding to a first device and a second device, comprising:
if the starting priority of the first equipment is higher than that of the second equipment, determining that the same function can be started;
and if the starting priority of the first equipment is lower than that of the second equipment, determining that the same function cannot be started.
A5, the method as in A3, the obtaining the starting priority of the same function corresponding to the first device and the second device, comprising:
and acquiring the starting priorities of the same functions corresponding to the first device and the second device from a preset rule base, wherein the preset rule base comprises the starting priorities of all devices corresponding to the same functions.
A6, the method of a2 or A3, the method further comprising:
and if the same function is determined to be started, sending started prompt information to the second equipment after the same function is started so that the second equipment can prohibit the starting of the same function.
B7, an apparatus for controlling functions of interconnected devices, the apparatus comprising:
the detection unit is used for detecting whether second equipment with the same function as the first equipment exists in a preset Internet of things or not by the first equipment;
and the determining unit is used for determining whether to start the same function or not according to a preset rule by the first equipment if the same function exists.
B8, the apparatus as described in B7, the determining unit comprising:
the receiving module is used for receiving a negotiation instruction determined by the artificial intelligence negotiation mechanism and the second equipment;
and the first determining module is used for determining whether to start the same function according to a negotiation result in the negotiation instruction.
B9, the apparatus as described in B7, the determining unit comprising:
an obtaining module, configured to obtain start priorities of the same function corresponding to the first device and the second device;
and the second determining module is used for determining whether to start the same function according to the starting priorities of the same function corresponding to the first equipment and the second equipment.
B10, the method as in B9, the second determining module to:
if the starting priority of the first equipment is higher than that of the second equipment, determining that the same function can be started;
and if the starting priority of the first equipment is lower than that of the second equipment, determining that the same function cannot be started.
B11, the method as in B9, the obtaining module is used for:
and acquiring the starting priorities of the same functions corresponding to the first device and the second device from a preset rule base, wherein the preset rule base comprises the starting priorities of all devices corresponding to the same functions.
B12, the method of B8 or B9, further comprising:
and the sending unit is used for sending started prompt information to the second equipment after the same function is started if the same function is determined to be started, so that the second equipment prohibits the same function from being started.
C13, a storage medium including a stored program, wherein the program controls a device on which the storage medium is located to execute the control method of the function of the interconnection device described in any one of a1 to a6 when the program runs.
D14, an electronic device, the electronic device comprising:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method of controlling functions of the interconnected devices as described in any one of a1 through a 6.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (9)

1. A method for controlling functions of interconnected devices, the method comprising:
the method comprises the steps that a first device detects whether a second device with the same function as the first device exists in a preset Internet of things, specifically, the first device determines whether the second device with the same function as the first device exists in the preset Internet of things through detecting and recording devices with the functions of all intelligent devices;
if yes, the first equipment determines whether to start the same function or not according to a preset rule;
and if the same function is determined to be started, sending started prompt information to the second equipment after the same function is started so that the second equipment can prohibit the starting of the same function.
2. The method of claim 1, wherein the first device determines whether to activate the same function according to a preset rule, comprising:
receiving a negotiation instruction determined by the artificial intelligence negotiation mechanism and the second equipment;
and determining whether to start the same function or not according to a negotiation result in the negotiation instruction.
3. The method of claim 1, wherein the first device determines whether to activate the same function according to a preset rule, comprising:
acquiring starting priorities of the same functions corresponding to the first equipment and the second equipment;
and determining whether to start the same function according to the starting priorities of the same function corresponding to the first equipment and the second equipment.
4. The method according to claim 3, wherein the determining whether to activate the same function according to the activation priorities of the same function corresponding to the first device and the second device comprises:
if the starting priority of the first equipment is higher than that of the second equipment, determining that the same function can be started;
and if the starting priority of the first equipment is lower than that of the second equipment, determining that the same function cannot be started.
5. The method according to claim 3, wherein the obtaining the starting priority of the same function corresponding to the first device and the second device comprises:
and acquiring the starting priorities of the same functions corresponding to the first device and the second device from a preset rule base, wherein the preset rule base comprises the starting priorities of all devices corresponding to the same functions.
6. An apparatus for controlling functions of interconnected devices, the apparatus comprising:
the detection unit is used for detecting whether second equipment with the same function as the first equipment exists in the preset Internet of things by the first equipment, and specifically, the detection unit is used for determining whether second equipment with the same function as the first equipment exists in the preset Internet of things by the first equipment through detecting and recording the equipment with the function of all intelligent equipment;
the determining unit is used for determining whether the same function is started or not according to a preset rule by the first equipment if the same function exists;
and the sending unit is used for sending started prompt information to the second equipment after the same function is started if the same function is determined to be started, so that the second equipment prohibits the same function from being started.
7. The apparatus of claim 6, wherein the determining unit comprises:
the receiving module is used for receiving a negotiation instruction determined by the artificial intelligence negotiation mechanism and the second equipment;
and the first determining module is used for determining whether to start the same function according to a negotiation result in the negotiation instruction.
8. A storage medium comprising a stored program, wherein the program, when executed, controls a device on which the storage medium is located to perform the control method of the function of the interconnected device according to any one of claims 1 to 5.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method of controlling the functions of the interconnected device according to any one of claims 1 to 5.
CN201711233592.1A 2017-11-30 2017-11-30 Method and device for controlling functions of interconnection equipment Active CN107957687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711233592.1A CN107957687B (en) 2017-11-30 2017-11-30 Method and device for controlling functions of interconnection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711233592.1A CN107957687B (en) 2017-11-30 2017-11-30 Method and device for controlling functions of interconnection equipment

Publications (2)

Publication Number Publication Date
CN107957687A CN107957687A (en) 2018-04-24
CN107957687B true CN107957687B (en) 2021-07-09

Family

ID=61963096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711233592.1A Active CN107957687B (en) 2017-11-30 2017-11-30 Method and device for controlling functions of interconnection equipment

Country Status (1)

Country Link
CN (1) CN107957687B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032336A (en) * 2018-06-27 2018-12-18 努比亚技术有限公司 A kind of control method, terminal and storage medium
CN109712619B (en) * 2018-12-24 2020-12-11 出门问问信息科技有限公司 Method and device for decoupling dialog hypothesis and executing dialog hypothesis and voice interaction system
CN109600285B (en) * 2018-12-26 2020-05-01 北京蓦然认知科技有限公司 Method and device for dynamically constructing environment regulation rule list in smart home
CN113552938A (en) * 2020-04-26 2021-10-26 京东方科技集团股份有限公司 Action association method based on Internet of things, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62139977A (en) * 1985-12-11 1987-06-23 Toyota Motor Corp Device for controlling electrification to glow plug
JPS63185299A (en) * 1987-01-28 1988-07-30 Matsushita Electric Ind Co Ltd Remote control device
JPH076040A (en) * 1991-09-26 1995-01-10 Enshu Ltd Simultaneous processing method for interactive program
WO2001016936A1 (en) * 1999-08-31 2001-03-08 Accenture Llp Voice recognition for internet navigation
CN106873551A (en) * 2016-11-30 2017-06-20 芜湖美智空调设备有限公司 Interlock method and system between a kind of different household electrical appliances

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3932281B2 (en) * 2001-04-19 2007-06-20 秀樹 室屋 Device interconnection apparatus and method using wireless link, method of creating use scene table for device interconnection, and recording medium
KR100440999B1 (en) * 2001-11-08 2004-07-21 삼성전자주식회사 Starting control apparatus for home automation and therof method
CN103327384B (en) * 2013-06-03 2016-08-24 东莞宇龙通信科技有限公司 The mode control method of a kind of interacted system and interacted system
US10048665B2 (en) * 2013-09-26 2018-08-14 Kyocera Corporation Device controller, device control method, and control system
CN105527931A (en) * 2014-09-28 2016-04-27 丰唐物联技术(深圳)有限公司 Intelligent household device and control method
CN205721123U (en) * 2016-03-04 2016-11-23 橙朴(上海)智能科技有限公司 A kind of intelligent home control system of decentration
CN106970535B (en) * 2017-03-30 2021-05-18 联想(北京)有限公司 Control method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62139977A (en) * 1985-12-11 1987-06-23 Toyota Motor Corp Device for controlling electrification to glow plug
JPS63185299A (en) * 1987-01-28 1988-07-30 Matsushita Electric Ind Co Ltd Remote control device
JPH076040A (en) * 1991-09-26 1995-01-10 Enshu Ltd Simultaneous processing method for interactive program
WO2001016936A1 (en) * 1999-08-31 2001-03-08 Accenture Llp Voice recognition for internet navigation
CN106873551A (en) * 2016-11-30 2017-06-20 芜湖美智空调设备有限公司 Interlock method and system between a kind of different household electrical appliances

Also Published As

Publication number Publication date
CN107957687A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
CN107957687B (en) Method and device for controlling functions of interconnection equipment
US10943592B2 (en) System, method, and recording medium for controlling dialogue interruptions by a speech output device
CN108600219B (en) Voice control method and device
WO2019085642A1 (en) Method and device for implementing do-not-disturb mode
CN110032358B (en) Application program generation method, device, equipment and system
CN107729897B (en) Text operation method, device and terminal
CN107479868B (en) Interface loading method, device and equipment
US10755707B2 (en) Selectively blacklisting audio to improve digital assistant behavior
CN111246039A (en) Incoming call reminding method and device, communication equipment, storage medium and processor
CN111580769B (en) Display control system, method, device, storage medium and processor
CN108920211A (en) The starting method and device of Launcher application program, electronic equipment, storage medium
CN109144600B (en) Application program running method and device and computer readable medium
CN112637412A (en) Audio management method and device and computer storage medium
CN112114804A (en) Application program generation method, device and system
CN111459585A (en) Vehicle navigation system interface interaction method and system
WO2023179183A1 (en) Subprogram synchronization processing
CN106648913B (en) Data acquisition software identification method and device
CN108769152B (en) Service refresh policy registration method, service refresh request method, device and equipment
CN104391742B (en) Optimizing application method and apparatus
CN109558249B (en) Control method and device for concurrent operation
CN110968483A (en) Service data acquisition method and device and electronic equipment
JP6797293B2 (en) Methods and devices for implementing accessibility features in applications
CN113672784B (en) Vehicle information processing method, device and system based on block chain
CN108628615B (en) Method, device and equipment for detecting abandoned codes
CN110377272B (en) Method and device for realizing SDK based on TBOX

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
GR01 Patent grant
GR01 Patent grant