CN114051214A - Method, device and system for sharing terminal functions - Google Patents

Method, device and system for sharing terminal functions Download PDF

Info

Publication number
CN114051214A
CN114051214A CN202111350556.XA CN202111350556A CN114051214A CN 114051214 A CN114051214 A CN 114051214A CN 202111350556 A CN202111350556 A CN 202111350556A CN 114051214 A CN114051214 A CN 114051214A
Authority
CN
China
Prior art keywords
terminal
function
target
information
area network
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
CN202111350556.XA
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.)
Hangzhou Robam Appliances Co Ltd
Original Assignee
Hangzhou Robam Appliances 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 Hangzhou Robam Appliances Co Ltd filed Critical Hangzhou Robam Appliances Co Ltd
Priority to CN202111350556.XA priority Critical patent/CN114051214A/en
Publication of CN114051214A publication Critical patent/CN114051214A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Civil Engineering (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • Architecture (AREA)
  • Health & Medical Sciences (AREA)
  • Structural Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Medical Informatics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Automation & Control Theory (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a method, a device and a system for sharing terminal functions, which relate to the field of kitchen electrical equipment, wherein the method for sharing the terminal functions is applied to a first terminal accessed to a local area network; the local area network is preset with a shared multicast channel, and the method comprises the following steps: acquiring device information corresponding to a plurality of second terminals accessed in a local area network; the device information is information sent to the local area network by the second terminal through a shared multicast channel, and comprises function information of the terminal; dividing the plurality of second terminals based on the function information to determine a plurality of function groups; and inquiring a corresponding target second terminal in a corresponding function group according to the current function requirement, and calling the target second terminal when the target second terminal is idle so as to enable the first terminal and the target second terminal to perform function sharing, thereby improving the efficiency of function sharing of terminal equipment, reducing the possibility of congestion in a network, reducing communication delay and ensuring the real-time property of communication.

Description

Method, device and system for sharing terminal functions
Technical Field
The invention relates to the field of kitchen electrical equipment, in particular to a method, a device and a system for sharing terminal functions.
Background
At present, each terminal device of the internet of things is usually used independently, functions on a single device can only be used by the device, when functions are required to be shared among a plurality of devices, the same functions are required to be set on a plurality of different terminals, and the mode causes great waste of resources.
In the related art, there is a method for realizing the function sharing of the terminal device by a broadcasting method, however, the method for realizing the function sharing by performing communication in the network based on the broadcasting method has the problems of low communication efficiency, long communication delay and incapability of ensuring the real-time performance of communication.
Disclosure of Invention
The invention aims to provide a method, a device and a system for sharing terminal functions, which can improve the function sharing efficiency of terminal equipment and reduce the possibility of congestion in a network, thereby reducing communication delay and ensuring the real-time property of communication.
In a first aspect, the present invention provides a method for sharing terminal functions, which is applied to a first terminal accessing a local area network; the local area network is preset with a shared multicast channel, and the method comprises the following steps: acquiring device information corresponding to a plurality of second terminals accessed in a local area network; the device information is information sent to the local area network by the second terminal through a shared multicast channel, and comprises function information of the terminal; dividing the plurality of second terminals based on the function information to determine a plurality of function groups; and inquiring a corresponding target second terminal in the corresponding function group according to the current function requirement, and calling the target second terminal when the target second terminal is idle so as to enable the first terminal and the target second terminal to share functions.
In an optional embodiment, each second terminal accessing the local area network corresponds to a private multicast channel; the step of obtaining device information corresponding to a plurality of second terminals accessed in the local area network includes: broadcasting query information to a plurality of second terminals through a shared multicast channel; and receiving the equipment information corresponding to each second terminal accessed in the local area network based on the private multicast channel.
In an optional embodiment, after the plurality of second terminals are divided based on the function information and the plurality of function groups are determined, the method further includes: and storing the corresponding device information of the second terminal in the target storage position corresponding to the function group according to the division of the function group.
In an optional embodiment, the step of querying a corresponding target second terminal in a corresponding function group according to a current function requirement, and calling the target second terminal when the target second terminal is idle includes: determining a corresponding function group according to the current function requirement; the current functional requirements include at least one or more of the following requirements: a display requirement and a voice broadcast requirement; inquiring whether a second terminal in an idle state exists through a private multicast channel corresponding to the second terminal in the functional group; and determining the second terminal in the idle state as a target second terminal, and sending function calling information to the target second terminal so that the target second terminal executes the function calling information.
In an alternative embodiment, the target second terminal comprises one or more, and correspondingly, the determined corresponding function group comprises one or more; after querying whether there is a second terminal in an idle state through a private multicast channel corresponding to the second terminal in the functional group, the method further includes: if the target second terminal is one, sending inquiry or control information to the target second terminal through a private multicast channel of the target second terminal; and if the target second terminals are multiple, simultaneously joining the private multicast channels of the multiple target second terminals, and simultaneously sending inquiry or control information to the corresponding function group through the private multicast channel of each target second terminal.
In an alternative embodiment, the method further comprises: and when the second terminal is in an occupied state or an unavailable state, receiving unavailable information fed back by the second terminal.
In an alternative embodiment, the first terminal and the second terminal are kitchen appliances; the first terminal is a cigarette machine with a screen; the second terminal at least comprises a cooker, a pan, a refrigerator, a steam box and an oven which are integrated on the cooker with the smoke shielding machine; the function information at least comprises the equipment function, the display function and the voice broadcast function of the kitchen equipment; wherein the device function is used to characterize the functionality that the kitchen device has itself.
In an optional implementation manner, the first terminal and the plurality of second terminals are connected with the cloud end of the internet of things.
In a second aspect, the present invention provides a device for sharing terminal functions, where the device is applied to a first terminal accessing a local area network; the local area network is preset with a shared multicast channel, and the device comprises: the information acquisition module is used for acquiring equipment information corresponding to a plurality of second terminals accessed in the local area network; the device information is information sent to the local area network by the second terminal through a shared multicast channel, and comprises function information of the terminal; the function dividing module is used for dividing the plurality of second terminals based on the function information and determining a plurality of function groups; and the function sharing module is used for inquiring the corresponding target second terminal in the corresponding function group according to the current function requirement and calling the target second terminal when the target second terminal is idle so as to enable the first terminal and the target second terminal to carry out function sharing.
In a third aspect, the present invention provides a system for sharing terminal functions, where the system includes a first terminal and a plurality of second terminals accessing to a local area network, and the local area network is preset with a shared multicast channel; the first terminal is configured to execute the steps of the terminal function sharing method according to any one of the foregoing embodiments.
The embodiment of the invention provides a method, a device and a system for sharing terminal functions, wherein the method for sharing the terminal functions is applied to a first terminal accessed to a local area network; the method comprises the steps that a local area network is preset with a shared multicast channel, and equipment information corresponding to a plurality of second terminals accessed in the local area network is obtained firstly; the device information is information sent to the local area network by the second terminal through a shared multicast channel, the device information comprises function information of the terminal, then the plurality of second terminals are divided based on the function information, a plurality of function groups are determined, finally, corresponding target second terminals are inquired in the corresponding function groups according to current function requirements, and the target second terminals are called when the target second terminals are idle, so that the first terminal and the target second terminals can share functions.
The embodiment of the invention has the following beneficial effects: the data communication of the device function sharing is realized through the preset sharing multicast channel in the local area network, the function sharing efficiency of the terminal device can be improved, the possibility of congestion in the network is reduced, the communication delay is reduced, and the real-time performance of the communication is ensured.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a kitchen electrical appliance function sharing in the prior art according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for sharing terminal functions according to an embodiment of the present invention;
fig. 3 is an exemplary diagram of a specific terminal function sharing provided in an embodiment of the present invention;
fig. 4 is a structural diagram of a terminal function sharing apparatus according to an embodiment of the present invention;
fig. 5 is a structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, in the field of kitchen electrical equipment, the communication mode of the equipment is usually through physical point-to-point communication between the equipment and a server, however, the server is only a transfer station, and finally, the destination of data sent by the kitchen electrical equipment is another kitchen electrical equipment, namely the kitchen electrical equipment- > the server- > the kitchen electrical equipment. Each device is independently connected to the cloud end to become a client end of the cloud end, communication between the devices must be forwarded to a target device through the cloud end, the communication cost is high, the communication link is long, the communication efficiency is low, the device must depend on internet access and the configuration of a cloud end server, and direct connection and communication between the devices are not available, as shown in fig. 1. In addition, the device cannot sense and distinguish whether another device is in the same kitchen environment, and cannot be accurately positioned and controlled. Or the device broadcasts in the local area network through the local area network, which causes low communication efficiency and cannot well utilize the advantages of the internet.
Generally, in conventional kitchen electrical network communication, there are two ways, one is a "one-to-one" communication between two hosts, namely unicast, and the other is a communication between one host and all other hosts in the network, namely broadcast. Then, if it is necessary to send information from the source host to multiple target hosts in the network, either a broadcast mode is adopted, so that all hosts in the network receive the information, or a unicast mode is adopted, and the source host sends information to each different target host. It can be seen that in the broadcast mode, the information is sent to the hosts that do not need the information, thereby wasting bandwidth resources, even causing broadcast storms: in the unicast method, bandwidth resources are wasted due to multiple repetitions of packets, and the load of the source host is increased due to multiple data replications, so that unicast and broadcast have a disadvantage in the multicast problem.
Generally speaking, to realize the interconnection of everything, a one-to-one communication method needs to establish connection between every two devices, if N devices are provided, N × N (N-1)/2 pairs of connection are needed to meet the requirement, the requirement on the performance of the devices is high, and each device has a globally unique IP address, so that the cost is high. The broadcasting mode has the defects that the broadcasting can only be carried out in the local area network, the hidden danger of a broadcast storm exists, and the broadcasting mode cannot be applied to the field of the Internet of things in a large scale.
In the prior art, each terminal device of the internet of things is used independently, and functions on a single device can only be used by the device, so that the same functions are required to be set on a plurality of different terminals, and resource waste is caused. Or, there is a method for sharing the functions of the terminal devices in the prior art, but this method is based on a broadcast mode to perform communication in the network, and thus the communication efficiency is low, the communication delay is long, and the real-time performance of communication cannot be guaranteed. In addition, if the user has many sets of houses (kitchens), all carried on kitchen electric products in every set of houses (kitchens), then mechanism based on transmission in the high in the clouds can't distinguish which kitchen electric products are in the same kitchen, will probably cause: the cigarette screen machine of the kitchen A operates the oven of the kitchen B, so that the expectation of the user cannot be met.
In order to solve the above problems, in the related art, the kitchen environment is artificially distinguished by manually marking (alias name) the devices or manually grouping the devices, however, this method is not only error-prone, but also complex in operation and high in learning cost.
Based on the problems in the method for implementing device sharing in the prior art, the method, the device and the system for implementing terminal function sharing provided by the embodiments of the present invention can improve the efficiency of function sharing of terminal devices, and reduce the possibility of congestion in a network, thereby reducing communication delay and ensuring real-time performance of communication.
To facilitate understanding of this embodiment, first, a method for sharing a terminal function disclosed in this embodiment of the present invention is described in detail, where the method for sharing a terminal function provided in this embodiment of the present invention may be applied to a first terminal accessing a local area network, where the local area network is preset with a shared multicast channel, and the shared multicast channel is used for the first terminal to perform data communication with a plurality of second terminal devices in the local area network through the shared multicast channel, that is, the first terminal is in communication connection with the plurality of second terminals through the shared multicast channel, respectively.
In an embodiment, the first terminal and the second terminal may be kitchen equipment, wherein the first terminal is a cooker with a cigarette-shielding machine, and the second terminal at least includes a cooker, a pot, a refrigerator, a steam box and an oven integrated with the cigarette-shielding machine. Kitchen electric products such as a kitchen range, a cooker, an oven and a steam box are integrated in the terminal with the smoke shielding machine, so that the smoke shielding machine can be used for remotely controlling the products on a panel.
Referring to fig. 2, the method mainly includes the following steps S202 to S206:
step S202, acquiring device information corresponding to a plurality of second terminals accessed in a local area network; the device information is information sent to the local area network by the second terminal through a shared multicast channel, and the device information includes function information of the terminal.
After the first terminal accesses the local area network, the device information is continuously sent to the local area network through the shared multicast channel, so that other second terminals accessing the same local area network can sense the accessed first terminal, and meanwhile, the device information of other second terminals can be obtained from the shared multicast information.
And after the second terminal is accessed to the local area network, the second terminal continuously multicasts own equipment information to the local area network through the shared multicast channel.
The device information may further include information such as device model information and device IP address.
The function information at least comprises the equipment function, the display function and the voice broadcast function of the kitchen equipment; the device function is used for representing the functions of the kitchen device, such as the function information of the refrigerator can display the temperature of the refrigerator, the food category in the refrigerator, the storage time of the food and the like; the functional information of the pot may include displaying a temperature of the pot, a cooking state, a cooking time, etc.
Step S204, dividing the plurality of second terminals based on the function information, and determining a plurality of function groups.
After the first terminal acquires the device information of the plurality of second terminals, since the device information includes the function information of the second terminals, the first terminal may divide the plurality of second terminals into a plurality of function groups according to the function information of the second terminals.
It can be understood that, since the function information may also include device functions, display functions, voice broadcast functions, and the like, when performing division, the division may be performed based on any one of the functions, or corresponding division may be performed for each function, so as to determine a corresponding function group.
Step S206, inquiring a corresponding target second terminal in the corresponding function group according to the current function requirement, and calling the target second terminal when the target second terminal is idle so as to enable the first terminal and the target second terminal to share functions.
The current function requirement is also a requirement that the first terminal needs other second terminals to perform function implementation, for example, if the current function requirement is to know the type of food in the refrigerator, the current function requirement may display the type of food for the refrigerator. If the current refrigerator is displaying the temperature of the refrigerator, it is indicated that the display function of the current refrigerator is occupied, and then the idle second terminal (for example, a kitchen range with a screen) with the display function can be inquired in the function group corresponding to the display function, and the type of food in the refrigerator can be displayed through the kitchen range with the screen, so that the sharing of the display function is realized.
According to the terminal function sharing method provided by the embodiment of the invention, the data communication of the device function sharing is realized through the preset shared multicast channel in the local area network, the function sharing efficiency of the terminal device can be improved, and the possibility of congestion in the network is reduced, so that the communication delay is reduced, and the real-time performance of communication is ensured; the equipment in the internet of things is divided into different function groups according to the functions, so that the terminal in the network can simultaneously call different functions according to the function groups based on multicast, thereby effectively improving the communication efficiency and reducing the waste of resources. Since a point-to-multipoint network connection can be achieved between a sender (i.e., a first terminal) and each receiver (i.e., a second terminal) by setting up a shared multicast channel. If a sender transmits the same data to multiple receivers simultaneously, only one copy of the same data packet is needed. The method improves the data transmission efficiency and reduces the possibility of congestion of the backbone network. In addition, kitchen electrical equipment interconnection is realized through multicast of the local area network, so that the communication pressure of the cloud of the Internet of things can be reduced, and the problem that equipment is linked with different kitchen equipment can be avoided.
In an embodiment, each second terminal accessing the local area network corresponds to a private multicast channel, and when acquiring device information corresponding to a plurality of second terminals accessing the local area network, the first terminal may first broadcast query information to the plurality of second terminals through the shared multicast channel, and then receive the device information corresponding to each second terminal accessing the local area network based on the private multicast channel.
In a specific implementation, the first terminal may broadcast the query information to other second terminals in the network, and after the other second terminals receive the query information, the second terminal receives the information to the first terminal based on its corresponding private multicast channel.
In addition, the second terminal may also send information to the first terminal based on its corresponding private multicast channel.
In an optional embodiment, after the plurality of second terminals are divided based on the function information and the plurality of function groups are determined, the device information of the corresponding second terminal may be stored in the target storage location corresponding to the function group according to the division of the function groups. The target storage position is a preset storage position in the first terminal memory and is used for storing the function groups of the second terminal and the device information of the second terminal corresponding to each function group.
For each second terminal, the acquired device information of the other second terminals may be stored in its own memory.
The aforementioned querying a corresponding target second terminal in a corresponding function group according to the current function requirement, and when the target second terminal is called when the target second terminal is idle, may include the following steps 1 to 3:
step 1, determining a corresponding function group according to the current function requirement. Wherein the current functional requirements include at least one or more of the following requirements: display requirements and voice broadcast requirements. For example, if the temperature of the pot needs to be displayed currently, the current function group can be determined as the function group stored in the target storage position in the first terminal and related to the display function; if the remaining operation time of the voice broadcast oven is needed currently, the current function group can be determined to be the function group which is stored in the target storage position in the first terminal and is related to the voice broadcast function.
And 2, inquiring whether a second terminal in an idle state exists through a private multicast channel corresponding to the second terminal in the functional group. The private multicast channel corresponding to the second terminal may also be referred to as a state private multicast channel, and the first terminal queries, to the second terminal in the corresponding function group, whether there is a second terminal in an idle state through the state private channel corresponding to the second terminal, that is, whether the function of the second terminal can be invoked.
And 3, determining the second terminal in the idle state as a target second terminal, and sending function calling information to the target second terminal so that the target second terminal executes the function calling information. In one embodiment, after receiving the inquiry information of the first terminal, the second terminal in the corresponding function group judges whether the current function is allowed to be used, if so, the second terminal is determined to be in an idle state, and the second terminal is determined to be the target second terminal.
Optionally, when the function of the second terminal corresponding to the current function requirement is not occupied or is allowed to be used, the multicast channel corresponding to the function control is closed, so that the first terminal performs function call on the multicast channel.
In another embodiment, when the function of the second terminal corresponding to the current function requirement is in an occupied state or an unavailable state, the second terminal may feed back information that the function is unavailable to the first terminal, and the first terminal receives the unavailable information fed back by the second terminal.
Further, the target second terminal includes one or more, that is, there is a case where the first terminal needs to call a plurality of functions at the same time, and accordingly, the determined corresponding function group includes one or more. In one embodiment, after querying whether there is a second terminal in an idle state through a private multicast channel corresponding to the second terminal in the function group, if there is one target second terminal, sending query or control information to the target second terminal through the private multicast channel of the target second terminal; and if the target second terminals are multiple, simultaneously joining the private multicast channels of the multiple target second terminals, and simultaneously sending inquiry or control information to the corresponding function group through the private multicast channel of each target second terminal.
For example, if the function to be called is any one of a display function and a voice broadcast function, an idle target second terminal is directly determined in the corresponding function group, and inquiry or control information is sent to the target second terminal through a private multicast channel of the target second terminal; if the display function and the voice broadcasting function need to be called simultaneously, inquiry or control information can be simultaneously sent to a plurality of function groups in a mode of simultaneously adding a plurality of multicast channels.
Therefore, the first terminal can perform function monopolization (aiming at one target second terminal) or sharing (aiming at a plurality of target second terminals) on the second terminal through a point-to-point control method according to the characteristics of the required function.
Further, the second terminals can be mutually called, for example, a cooker with a screen obtains the temperature in real time through a private multicast channel of a pot, and the control of the temperature and the firepower is realized by combining the gear control of the cooker.
It can be understood that the query information is also the information for querying whether the second terminal is idle, and the control information is also the information for controlling the second terminal to display or broadcast in voice.
In one embodiment, the first terminal calls other second terminals according to the information whether the functions fed back by the other second terminals are available (or not, whether the functions are unoccupied). For example, the information characterizing the current functional requirement (i.e., the information required to use the function) may be sent to the selected second terminal (i.e., the target second terminal) via the first terminal, and the selected second terminal may perform the corresponding function using the information characterizing the current functional requirement.
For ease of understanding, the present embodiment provides an example of specific terminal function sharing, and referring to fig. 3, a refrigerator, a pot, and a screened cooker sense the presence of other devices through multicast and listening of a shared multicast channel, and store these devices and their function information in their own memory. The cooking appliance obtains which food materials are in the refrigerator through the private multicast channel of the refrigerator state, then recommends a menu corresponding to a user, and when the user prepares the food materials and starts to cook, the cooking appliance with the screen obtains the temperature in real time through the private multicast channel of the pot state, and the control of the temperature and the fire power is realized by combining the gear control of the cooking appliance. Meanwhile, the range hood can also acquire gear information through a state private multicast channel of the cooker to realize linkage of the cooker. The communication between the devices can be completely interconnected and intercommunicated in a local area network in a directional multicast mode without cloud forwarding or binding, mutual sensing is automatically realized, the communication efficiency is improved, and the interactive experience is also improved.
In summary, the method for sharing terminal functions provided in this embodiment may not need to acquire the IP addresses of the surrounding devices, and only needs to send information once on the private multicast channel of the joining device, the other devices joining the local area network may all receive the information, thereby improving communication efficiency; and because the cloud server is not required to be accessed during data communication, and the IP addresses of all the devices are not required to be known, the capabilities of automatic sensing, free association and automatic control are realized. In addition, the kitchen electrical equipment interconnection is realized through the multicast of the local area network, so that the communication pressure of the cloud of the Internet of things can be reduced, and the problem that the equipment is linked with different kitchen equipment can be avoided.
In addition, in order to guarantee the function of realizing everything interconnection between the terminals, the first terminal and the second terminals can be arranged to be connected with the cloud of the internet of things. For example, can be with taking screen cigarette machine, refrigerator, pan and cooking utensils to connect into thing networking high in the clouds separately to realize with APP's interdynamic, realized the function of everything interconnection.
Aiming at the terminal function sharing method, the embodiment of the invention provides a terminal function sharing device, which is applied to a first terminal accessed into a local area network; the local area network is preset with a shared multicast channel, and as shown in fig. 4, the apparatus mainly includes the following parts:
an information obtaining module 402, configured to obtain device information corresponding to multiple second terminals accessed in a local area network; the device information is information sent to the local area network by the second terminal through a shared multicast channel, and comprises function information of the terminal;
a function dividing module 404, configured to divide the plurality of second terminals based on the function information, and determine a plurality of function groups;
and the function sharing module 406 is configured to query the corresponding target second terminal in the corresponding function group according to the current function requirement, and call the target second terminal when the target second terminal is idle, so that the first terminal and the target second terminal perform function sharing.
The terminal function sharing device provided by the embodiment of the invention realizes the data communication of the device function sharing through the preset sharing multicast channel in the local area network, can improve the function sharing efficiency of the terminal device, and reduces the possibility of congestion in the network, thereby reducing the communication delay and ensuring the real-time property of communication.
In some embodiments, each second terminal accessing the local area network corresponds to a private multicast channel; the information obtaining module 402 is further configured to broadcast query information to a plurality of second terminals through a shared multicast channel; and receiving the equipment information corresponding to each second terminal accessed in the local area network based on the private multicast channel.
In some embodiments, after the plurality of second terminals are divided based on the function information and the plurality of function groups are determined, the apparatus further includes: and the storage module is used for storing the corresponding equipment information of the second terminal in the target storage position corresponding to the function group according to the division of the function group.
In some embodiments, the function sharing module 406 is further configured to determine a corresponding function group according to the current function requirement; the current functional requirements include at least one or more of the following requirements: a display requirement and a voice broadcast requirement; inquiring whether a second terminal in an idle state exists through a private multicast channel corresponding to the second terminal in the functional group; and determining the second terminal in the idle state as a target second terminal, and sending function calling information to the target second terminal so that the target second terminal executes the function calling information.
In some embodiments, the target second terminal comprises one or more, and the determined corresponding set of functions comprises one or more, respectively; after querying whether there is a second terminal in an idle state through a private multicast channel corresponding to the second terminal in the functional group, the apparatus further includes: a sending module, configured to send inquiry or control information to the target second terminal through a private multicast channel of the target second terminal if there is one target second terminal; and if the target second terminals are multiple, simultaneously joining the private multicast channels of the multiple target second terminals, and simultaneously sending inquiry or control information to the corresponding function group through the private multicast channel of each target second terminal.
In some embodiments, the above apparatus further comprises: and the receiving module is used for receiving the unavailable information fed back by the second terminal when the second terminal is in an occupied state or an unavailable state.
In some embodiments, the first terminal and the second terminal are kitchen appliances; the first terminal is a cigarette machine with a screen; the second terminal at least comprises a cooker, a pan, a refrigerator, a steam box and an oven which are integrated on the cooker with the smoke shielding machine; the function information at least comprises the equipment function, the display function and the voice broadcast function of the kitchen equipment; wherein the device function is used to characterize the functionality that the kitchen device has itself.
In some embodiments, the first terminal and the plurality of second terminals are connected with the internet of things cloud.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
The embodiment of the invention also provides a system for sharing the terminal function, which comprises a first terminal and a plurality of second terminals accessed into the local area network, wherein the local area network is preset with a shared multicast channel; wherein the first terminal is configured to perform the steps of the method for terminal function sharing in any of the foregoing embodiments.
The embodiment of the present invention provides a terminal device, specifically, the terminal device may be the first terminal or the second terminal, and the terminal device includes a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above embodiments. Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, where the terminal device 100 includes: the processor 50, the memory 51, the bus 52 and the communication interface 53, wherein the processor 50, the communication interface 53 and the memory 51 are connected through the bus 52; the processor 50 is arranged to execute executable modules, such as computer programs, stored in the memory 51.
The Memory 51 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 52 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The memory 51 is used for storing a program, and the processor 50 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 50, or implemented by the processor 50.
The processor 50 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 50. The Processor 50 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and completes the steps of the method in combination with the hardware thereof.
The method, apparatus, and computer program product of the system for sharing terminal functions provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "connected" and "connected" should be interpreted broadly, e.g., as being fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for sharing terminal function is characterized in that the method is applied to a first terminal accessed to a local area network; the local area network is preset with a shared multicast channel, and the method comprises the following steps:
acquiring device information corresponding to a plurality of second terminals accessed in the local area network; the device information is information sent to the local area network by the second terminal through the shared multicast channel, and the device information comprises function information of the terminal;
dividing the plurality of second terminals based on the function information to determine a plurality of function groups;
and inquiring a corresponding target second terminal in a corresponding function group according to the current function requirement, and calling the target second terminal when the target second terminal is idle so as to enable the first terminal and the target second terminal to share functions.
2. The method according to claim 1, wherein each second terminal accessing the local area network corresponds to a private multicast channel; the step of obtaining device information corresponding to a plurality of second terminals accessed in the local area network includes:
broadcasting query information to a plurality of the second terminals over the shared multicast channel;
and receiving the device information corresponding to each second terminal accessed in the local area network based on the private multicast channel.
3. The method of claim 1, wherein after dividing the plurality of second terminals based on the function information to determine a plurality of function groups, the method further comprises:
and storing the corresponding equipment information of the second terminal in a target storage position corresponding to the function group according to the division of the function group.
4. The method according to claim 1, wherein the step of querying a corresponding target second terminal in a corresponding function group according to a current function requirement and calling the target second terminal when the target second terminal is idle comprises:
determining a corresponding function group according to the current function requirement; the current functional requirements include at least one or more of the following requirements: a display requirement and a voice broadcast requirement;
inquiring whether a second terminal in an idle state exists through a private multicast channel corresponding to the second terminal in the function group;
and determining the second terminal in the idle state as the target second terminal, and sending function calling information to the target second terminal so that the target second terminal executes the function calling information.
5. The method according to claim 4, wherein the target second terminal comprises one or more, and accordingly, the determined corresponding set of functions comprises one or more; after querying whether there is a second terminal in an idle state through a private multicast channel corresponding to the second terminal in the functional group, the method further includes:
if the target second terminal is one, sending inquiry or control information to the target second terminal through a private multicast channel of the target second terminal;
and if the target second terminals are multiple, simultaneously joining the private multicast channels of the multiple target second terminals, and simultaneously sending inquiry or control information to the corresponding function group through the private multicast channel of each target second terminal.
6. The method of claim 4, further comprising:
and when the second terminal is in an occupied state or an unavailable state, receiving unavailable information fed back by the second terminal.
7. The method of claim 1, wherein the first and second terminals are kitchen appliances; the first terminal is a cigarette machine with a screen; the second terminal at least comprises a cooker, a pan, a refrigerator, a steam box and an oven which are integrated on the smoke shielding machine; the function information at least comprises the equipment function, the display function and the voice broadcast function of the kitchen equipment; wherein the device function is used to characterize a function that the kitchen device has itself.
8. The method of claim 1, wherein the first terminal and the plurality of second terminals are connected to a cloud of the internet of things.
9. The device for sharing the terminal function is characterized in that the device is applied to a first terminal accessed into a local area network; the local area network is preset with a shared multicast channel, and the device comprises:
the information acquisition module is used for acquiring the equipment information corresponding to the second terminals accessed in the local area network; the device information is information sent to the local area network by the second terminal through the shared multicast channel, and the device information comprises function information of the terminal;
a function dividing module, configured to divide the plurality of second terminals based on the function information, and determine a plurality of function groups;
and the function sharing module is used for inquiring a corresponding target second terminal in a corresponding function group according to the current function requirement and calling the target second terminal when the target second terminal is idle so as to enable the first terminal and the target second terminal to share functions.
10. A terminal function sharing system is characterized by comprising a first terminal and a plurality of second terminals which are accessed into a local area network, wherein the local area network is preset with a sharing multicast channel; wherein the first terminal is configured to perform the steps of the method for terminal function sharing according to any one of claims 1 to 8.
CN202111350556.XA 2021-11-15 2021-11-15 Method, device and system for sharing terminal functions Pending CN114051214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111350556.XA CN114051214A (en) 2021-11-15 2021-11-15 Method, device and system for sharing terminal functions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111350556.XA CN114051214A (en) 2021-11-15 2021-11-15 Method, device and system for sharing terminal functions

Publications (1)

Publication Number Publication Date
CN114051214A true CN114051214A (en) 2022-02-15

Family

ID=80209304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111350556.XA Pending CN114051214A (en) 2021-11-15 2021-11-15 Method, device and system for sharing terminal functions

Country Status (1)

Country Link
CN (1) CN114051214A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844849A (en) * 2022-03-31 2022-08-02 北京城市网邻信息技术有限公司 Data transmission method and device, electronic equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441604A (en) * 2002-02-27 2003-09-10 华为技术有限公司 Radio channel configuration selecting method in multicast service
CN1918852A (en) * 2004-02-12 2007-02-21 艾利森电话股份有限公司 Coexistence of multiple radio systems in unlicensed bands
CN1925442A (en) * 2006-08-01 2007-03-07 程伟明 Automatic network-building method for wireless communication terminal in intelligent environment
CN103118375A (en) * 2013-02-04 2013-05-22 京信通信***(中国)有限公司 Communication system, device and method based on indoor signal covering
CN103379107A (en) * 2012-04-26 2013-10-30 中兴通讯股份有限公司 Method and device for sharing network device capacity and network devices
US20150131525A1 (en) * 2012-05-11 2015-05-14 Zte Corporation Method, Device, and System for Implementing Function Sharing in Wireless Access Hotspot Device
CN106254407A (en) * 2015-06-15 2016-12-21 中兴通讯股份有限公司 The method and device that a kind of home network service is shared
CN107196983A (en) * 2016-03-15 2017-09-22 阿里巴巴集团控股有限公司 A kind of resource distribution method and device
CN107659898A (en) * 2016-07-25 2018-02-02 中兴通讯股份有限公司 A kind of visible ray wireless communications method, equipment and system
CN111865734A (en) * 2020-07-07 2020-10-30 深圳康佳电子科技有限公司 Control method for terminal function sharing, gateway, terminal and storage medium
CN112738774A (en) * 2020-12-31 2021-04-30 Oppo广东移动通信有限公司 Application sharing method and device, terminal and computer readable storage medium
CN113114763A (en) * 2021-04-12 2021-07-13 平安科技(深圳)有限公司 Device function sharing method, device, terminal and storage medium
CN113364754A (en) * 2021-05-31 2021-09-07 支付宝(杭州)信息技术有限公司 Data sharing method, device and equipment
CN113596798A (en) * 2021-08-04 2021-11-02 惠州Tcl云创科技有限公司 Resource sharing method and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441604A (en) * 2002-02-27 2003-09-10 华为技术有限公司 Radio channel configuration selecting method in multicast service
CN1918852A (en) * 2004-02-12 2007-02-21 艾利森电话股份有限公司 Coexistence of multiple radio systems in unlicensed bands
CN1925442A (en) * 2006-08-01 2007-03-07 程伟明 Automatic network-building method for wireless communication terminal in intelligent environment
CN103379107A (en) * 2012-04-26 2013-10-30 中兴通讯股份有限公司 Method and device for sharing network device capacity and network devices
US20150131525A1 (en) * 2012-05-11 2015-05-14 Zte Corporation Method, Device, and System for Implementing Function Sharing in Wireless Access Hotspot Device
CN103118375A (en) * 2013-02-04 2013-05-22 京信通信***(中国)有限公司 Communication system, device and method based on indoor signal covering
CN106254407A (en) * 2015-06-15 2016-12-21 中兴通讯股份有限公司 The method and device that a kind of home network service is shared
CN107196983A (en) * 2016-03-15 2017-09-22 阿里巴巴集团控股有限公司 A kind of resource distribution method and device
CN107659898A (en) * 2016-07-25 2018-02-02 中兴通讯股份有限公司 A kind of visible ray wireless communications method, equipment and system
CN111865734A (en) * 2020-07-07 2020-10-30 深圳康佳电子科技有限公司 Control method for terminal function sharing, gateway, terminal and storage medium
CN112738774A (en) * 2020-12-31 2021-04-30 Oppo广东移动通信有限公司 Application sharing method and device, terminal and computer readable storage medium
CN113114763A (en) * 2021-04-12 2021-07-13 平安科技(深圳)有限公司 Device function sharing method, device, terminal and storage medium
CN113364754A (en) * 2021-05-31 2021-09-07 支付宝(杭州)信息技术有限公司 Data sharing method, device and equipment
CN113596798A (en) * 2021-08-04 2021-11-02 惠州Tcl云创科技有限公司 Resource sharing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844849A (en) * 2022-03-31 2022-08-02 北京城市网邻信息技术有限公司 Data transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3876607A1 (en) Intelligent scheduling method, terminal device, edge node cluster and intelligent scheduling system
CN106850402B (en) Message transmission method and device
CN109521683B (en) Control method, remote controller and control terminal of household electrical appliance in local area network
US10116489B2 (en) Apparatus and method for managing network access device
US20170048148A1 (en) Method, apparatus, and system for load balancing of service chain
CN107979534B (en) Method implemented in a device connected to a user premises equipment and corresponding device
CN113625589B (en) Equipment control method and device, electronic equipment and storage medium
CN110312140B (en) Live broadcast data processing method, device and system and computer readable storage medium
WO2019062593A1 (en) Packet transmission method and device, and computer readable storage medium
CN105357116A (en) Method of multiple terminals for accessing server and intelligent terminal
CN114051214A (en) Method, device and system for sharing terminal functions
CN113572750B (en) Video data transmission method and device
CN112596406A (en) Control method and device of intelligent equipment, control panel and storage medium
CN108495333A (en) A kind of test system and method for the client terminal quantity of wireless access point
CN111970181A (en) Network distribution method and device for intelligent household equipment, electronic equipment and storage medium
US11339989B2 (en) Communication method and device for air conditioner, outdoor unit, indoor unit, and air conditioner
EP3089422A1 (en) Content distribution method, apparatus and system
CN113556618B (en) Data transmission method and device
TW201635760A (en) Home control gateway and home control method thereof
CN105050123A (en) Load control method for wireless network and terminal
US20170257323A1 (en) Mail Obtaining Method, Terminal, and System
CN109525417B (en) Household appliance access method based on internet access, household appliance controller and storage medium
EP3579502A1 (en) Outer multicast ip address allocation method and device
CN112311633A (en) Distribution network control method, distribution network control device, household appliance and storage medium
CN105721231A (en) Service quality sensing detection method and service quality sensing detection device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220215

RJ01 Rejection of invention patent application after publication