WO2021169585A1 - Method for arbitration between devices in local area network environment, electronic devices, and local area network system - Google Patents
Method for arbitration between devices in local area network environment, electronic devices, and local area network system Download PDFInfo
- Publication number
- WO2021169585A1 WO2021169585A1 PCT/CN2020/141610 CN2020141610W WO2021169585A1 WO 2021169585 A1 WO2021169585 A1 WO 2021169585A1 CN 2020141610 W CN2020141610 W CN 2020141610W WO 2021169585 A1 WO2021169585 A1 WO 2021169585A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- request
- broadcast information
- electronic device
- area network
- local area
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004364 calculation method Methods 0.000 claims description 49
- 230000004044 response Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 12
- 238000004590 computer program Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 5
- UFHFLCQGNIYNRP-UHFFFAOYSA-N Hydrogen Chemical compound [H][H] UFHFLCQGNIYNRP-UHFFFAOYSA-N 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001902 propagating effect Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1881—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with schedule organisation, e.g. priority, sequence management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Definitions
- the present disclosure relates to the technical field of local area networks, and in particular to an arbitration method between devices in a local area network environment, electronic equipment, and a local area network system.
- a local area network it usually includes multiple electronic devices (such as embedded devices).
- electronic devices such as embedded devices.
- the user issues a control command or performs a remote control multiple electronic devices will receive the same request at the same time, but usually the command is for one
- the command is for one
- the most suitable equipment should respond and deal with it.
- At least some of the embodiments of the present disclosure provide an arbitration method between devices in a local area network environment, electronic devices, and a local area network system. It does not need to introduce other server devices or set up cluster nodes, so as to reduce costs and improve applicability.
- an arbitration method between devices in a local area network environment including:
- the obtaining the first calculation value for the first request includes at least one of the following manners:
- the first request being in the form of voice, based on at least one of the volume and the intelligibility of the first request, and the distance between the first request and the first electronic device, it is determined that the The first calculated value of the first request;
- a first calculation value for the first request is determined.
- the receiving the second broadcast information broadcast by the second electronic device in the local area network includes:
- the determining whether to execute the first request based on a comparison result of the first broadcast information and the second broadcast information includes:
- the determining whether the received second broadcast information satisfies an arbitration condition based on the second time includes:
- the determining whether to execute the first request based on a comparison result of the second calculation value and the first calculation value in the second broadcast information that meets the arbitration condition includes:
- the first calculation value is greater than the second calculation value in all the second broadcast information, it is determined to execute the first request.
- an electronic device including:
- a receiving module configured to receive the first request and store the first time when the first request is received
- An obtaining module configured to obtain a first calculated value for the first request, where the first calculated value is related to the information attribute in the first request or the processing capability of the first electronic device;
- a broadcast module configured to broadcast first broadcast information, the first broadcast information including the first time when the first request is received, and the first calculated value;
- the execution module is configured to receive the second broadcast information broadcast by the second electronic device in the local area network, and determine whether to execute the first request based on the comparison result of the first broadcast information and the second broadcast information.
- the obtaining the first calculation value for the first request includes at least one of the following manners:
- the first request being in the form of voice, based on at least one of the volume and the intelligibility of the first request, and the distance between the first request and the first electronic device, it is determined that the The first calculated value of the first request;
- a first calculation value for the first request is determined.
- an electronic device including:
- Set as a memory for storing executable instructions of the processor
- the processor is configured to call instructions stored in the memory to execute the method described in any one of the first aspect.
- a local area network system including at least two electronic devices
- the first electronic device of the at least two electronic devices is configured to execute the above-mentioned arbitration method between devices in the local area network environment.
- the first calculated value can be calculated according to the received request, and the first calculated value and the first time when the request is received can be broadcast, and the calculated value broadcast by other electronic devices can also be received. And time (the second calculated value and the second time), by comparing the two broadcast messages, it is determined whether to execute the received request. In this way, there is no need to configure server equipment, and no need to select master node equipment, which is simple and convenient, saves costs, and has better applicability.
- Fig. 1 shows a flowchart of an arbitration method between devices in a local area network environment according to an embodiment of the present disclosure.
- Fig. 2 shows a flowchart of step S40 in a method for arbitrating between devices in a local area network environment according to an embodiment of the present disclosure.
- Fig. 3 shows a schematic diagram of an arbitration method between devices in a local area network environment according to an embodiment of the present disclosure.
- Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
- the embodiments of the present disclosure provide an arbitration method between devices in a local area network environment.
- the execution subject of the method is an electronic device in the local area network.
- the electronic device may be any household device or terminal device.
- the electronic device may be a user equipment ( User Equipment, UE), mobile devices, user terminals, terminals, cellular phones, cordless phones, personal digital assistants (PDAs), handheld devices, computing devices, in-vehicle devices, wearable devices, smart speakers, smart lights, Smart power strips, smart air conditioners, smart fans, etc.
- the method provided by the embodiments of the present disclosure may be implemented by a processor invoking a computer-readable instruction stored in a memory.
- Fig. 1 shows a flowchart of an arbitration method between devices in a local area network environment according to an embodiment of the present disclosure. As shown in Fig. 1, the arbitration method between devices in a local area network environment includes:
- S10 Receive the first request and store the first time when the first request is received
- S20 Obtain a first calculation value for the first request, where the first calculation value is related to the information attribute in the first request or the processing capability of the first electronic device;
- S30 Broadcast first broadcast information, where the first broadcast information includes the first time and the first calculated value;
- S40 Receive second broadcast information broadcast by a second electronic device in the local area network, and determine whether to execute the first request based on a comparison result of the first broadcast information and the second broadcast information.
- the method in the embodiment of the present disclosure can be applied to a local area network, and the local area network can include multiple electronic devices. All the electronic devices in the local area network can execute the method of the embodiment of the present disclosure.
- the requested electronic device The following uses the first electronic device as an example to describe the method for implementing the embodiments of the present disclosure.
- the first electronic device may receive a first request, and the first request may be a control command sent by a user to an electronic device in a local area network, or a control command sent to the electronic device through a control device such as a mobile phone.
- the user can send commands such as "turn on the light”, “turn off the light”, and "adjust temperature” by voice, or can also send control commands through the terminal device.
- the embodiment of the present disclosure does not specifically limit the content of the first request As long as the content used to interact with the electronic device is included in the embodiment of the present disclosure, and the embodiment of the present disclosure does not specifically limit the form of the first request, for example, it may be in the form of a voice or a control signal.
- the electronic device in the local area network When the electronic device in the local area network receives the first request, it can simultaneously obtain the time when the first request is received, that is, the first time, and can store the first time and the first request, for example, in a memory Cache, or it can be stored in a fixed storage address.
- the first calculated value for the first request may be obtained based on the first request.
- the first calculated value is a value related to the information attribute in the first request, or may also be related to the first request.
- the information attribute may include at least one of the following information: the volume value and clarity of the first request, the distance between the device making the first request or the user and the first electronic device, and the data processing capability of the first electronic device It can include values such as memory size and CPU usage.
- the embodiments of the present disclosure may be based on at least one of the volume and clarity of the first request, and the distance between the first request and the first electronic device One is to determine the first calculated value for the first request.
- the first electronic device may be provided with a volume detector, or may also be provided with other devices capable of determining the voice information of the first request, such as a sound wave sensor, and the first calculated value of the volume value for the first request can be obtained through the foregoing device.
- the first electronic device in the embodiment of the present disclosure may also determine the distance between the sender of the first request and the first electronic device according to the received sound signal of the first request.
- a neural network may be configured in the first electronic device, and the neural network can detect information such as the volume and clarity of the input first hydrogen gas, the distance between the user or the device making the first request, and so on to obtain the corresponding first hydrogen gas. Calculated.
- the embodiment of the present disclosure may also determine the first calculation value for the first request based on at least one of the memory and CPU occupancy rate of the first electronic device.
- at least one of the memory and CPU usage of the first electronic device may also be used to measure the data processing capability of the first electronic device.
- the memory or CPU usage may be determined as the first calculated value, This disclosure does not specifically limit this.
- first broadcast information may be generated, and the first broadcast information may include the first time when the first request is received, and the first calculated value corresponding to the first request.
- the first broadcast information can be transmitted in the local area network, and other electronic devices (collectively referred to as second electronic devices) in the local area network can receive the first broadcast information.
- the first electronic device may also receive the second broadcast information broadcast by the second electronic device in the local area network.
- the first broadcast information may be the second time based on the received request by the second electronic device and corresponding to the request. The second calculated value.
- the embodiments of the present disclosure may receive the second broadcast information broadcast by other electronic devices (second electronic devices) upon receiving the first request, or may receive the second broadcast information within a preset time after the first broadcast information is sent.
- the preset time can be 1 second, or other time values, which can be specifically set according to requirements.
- the first broadcast information and the second broadcast information may be compared, and whether to perform the first requested arbitration is determined according to the comparison result.
- Fig. 2 shows a flowchart of step S40 in an arbitration method between devices in a local area network environment according to an embodiment of the present disclosure. Based on the comparison result of the first broadcast information and the second broadcast information, it is determined whether to execute the The first request includes:
- S43 Determine whether to execute the first request based on a comparison result of the second calculation value and the first calculation value in the second broadcast information that meets the arbitration condition.
- the second time and the second calculated value of the second request may be read from the second broadcast information.
- the second electronic device is also The corresponding second calculation value can be generated when the request information (second request) is received, and the second broadcast information can be generated using the second time when the second request is received and the calculated second calculation value for the second request , And broadcast the second broadcast information in the local area network. Therefore, the second time and the second calculated value can be parsed in the second broadcast information.
- the embodiment of the present disclosure can first use the first time in the first broadcast information and the second time in the second broadcast information to determine the second time.
- the embodiment of the present disclosure may determine that the second broadcast information satisfies the arbitration condition when the interval between the first time and the second time is less than the time threshold. That is, when the time interval between the second time when the second electronic device receives the second request and the first time when the first electronic device receives the first request is less than the time threshold, the first request and the second request can be determined
- the request is the same request, and the time threshold may be 1s, or may be a value less than 5s, which is not specifically limited in the present disclosure.
- the present disclosure may determine the electronic device corresponding to the smallest calculated value as the electronic device that executes the first request.
- the electronic device corresponding to the largest calculated value may also be determined as the electronic device that executes the first request. Therefore, it is possible to compare the first calculation value with the second calculation value in the second broadcast information meeting the arbitration condition, and determine whether to perform the operation corresponding to the first request based on the comparison result.
- the electronic device with the highest volume and the best resolution may be determined as the electronic device that executes the first request That is, when the first calculated value is greater than the second calculated value in all the second broadcast information that meets the arbitration condition, it is determined that the first electronic device executes the first request.
- the electronic device with the smallest distance and the smallest CPU usage rate may be determined as the one that executes the first request.
- the electronic device may determine that the first electronic device executes the first request when the first calculation value is less than the second calculation value in the second broadcast information that all meets the arbitration condition.
- Fig. 3 shows a schematic diagram of an arbitration method between devices in a local area network environment according to an embodiment of the present disclosure.
- each electronic device in the local area network can receive the request, and the request time can be recorded at this time.
- the first calculated value such as at least one of volume value, distance value, clarity, and CPU memory.
- the electronic device can initiate a broadcast by the device, and the broadcast content is the received request time and the fast processing value (the first time and the first calculated value).
- the first electronic device can receive broadcasts (second broadcast information) from other devices.
- the request time (first time and second time) within 1 second, can be regarded as the same request.
- the first calculation value and the second calculation value are compared to determine the electronic device that executes the first request.
- the embodiments of the present disclosure can calculate the first calculation value based on the received request, and can broadcast the first calculation value and the first time when the request is received, and can also receive calculations broadcast by other electronic devices.
- the value and time (the second calculated value and the second time) are compared to determine whether to execute the received request by comparing two broadcast messages. In this way, there is no need to configure server equipment, and no need to select master node equipment, which is simple and convenient, saves costs, and has better applicability.
- the embodiments of the present disclosure adopt a lightweight arbitration algorithm, which can meet actual usage requirements, and has simpler logic, less resource occupation, and is more suitable for use by embedded devices.
- the writing order of the steps does not mean a strict execution order but constitutes any limitation on the implementation process.
- the specific execution order of each step should be based on its function and possibility.
- the inner logic is determined.
- the present disclosure also provides electronic devices, local area network systems, computer-readable storage media, and programs, all of which can be used to implement any arbitration method between devices in a local area network environment provided by the present disclosure.
- the corresponding technical solutions and descriptions and refer to the methods Part of the corresponding records will not be repeated here.
- Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present disclosure. As shown in Fig. 4, the electronic device includes:
- the receiving module 10 is configured to receive the first request and store the first time when the first request is received;
- the obtaining module 20 is configured to obtain a first calculated value for the first request, where the first calculated value is related to the information attribute in the first request or the processing capability of the first electronic device;
- the broadcast module 30 is configured to broadcast first broadcast information, the first broadcast information including the first time when the first request is received, and the first calculated value;
- the execution module 40 is configured to receive second broadcast information broadcast by a second electronic device in the local area network, and determine whether to execute the first request based on a comparison result of the first broadcast information and the second broadcast information.
- the functions or modules contained in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
- the functions or modules contained in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
- the embodiments of the present disclosure also provide a local area network system, which may include multiple electronic devices.
- the first electronic device among the plurality of electronic devices is configured to execute the above-mentioned arbitration method between devices in the local area network environment.
- the embodiments of the present disclosure also provide a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above-mentioned method when executed by a processor.
- the computer-readable storage medium may be a non-volatile computer-readable storage medium.
- An embodiment of the present disclosure also provides an electronic device, including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured as the above-mentioned method.
- a non-volatile computer-readable storage medium such as a memory including computer program instructions, which can be executed by a processor of an electronic device to complete the foregoing method.
- the present disclosure may be a system, method and/or computer program product.
- the computer program product may include a computer-readable storage medium loaded with computer-readable program instructions for enabling a processor to implement various aspects of the present disclosure.
- the computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device.
- the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- Computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a printer with instructions stored thereon
- RAM random access memory
- ROM read-only memory
- EPROM erasable programmable read-only memory
- flash memory flash memory
- SRAM static random access memory
- CD-ROM compact disk read-only memory
- DVD digital versatile disk
- memory stick floppy disk
- mechanical encoding device such as a printer with instructions stored thereon
- the computer-readable storage medium used here is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or through wires Transmission of electrical signals.
- the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
- the network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
- the network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
- the computer program instructions used to perform the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages.
- Source code or object code written in any combination, the programming language includes object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages.
- Computer-readable program instructions can be executed entirely on the user's computer, partly on the user's computer, executed as a stand-alone software package, partly on the user's computer and partly executed on a remote computer, or entirely on the remote computer or server implement.
- the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer) connect).
- LAN local area network
- WAN wide area network
- an electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by using the status information of the computer-readable program instructions.
- the computer-readable program instructions are executed to realize various aspects of the present disclosure.
- These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine that makes these instructions when executed by the processor of the computer or other programmable data processing device , A device that implements the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make computers, programmable data processing apparatuses, and/or other devices work in a specific manner, so that the computer-readable medium storing the instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
- each block in the flowchart or block diagram may represent a module, program segment, or part of an instruction, and the module, program segment, or part of an instruction contains one or more components for realizing the specified logical function.
- Executable instructions may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
Abstract
Description
Claims (10)
- 一种局域网环境下设备间的仲裁方法,应用在局域网内的第一电子设备中,包括:An arbitration method between devices in a local area network environment, applied to a first electronic device in a local area network, includes:接收第一请求并存储接收到所述第一请求的第一时间;Receiving the first request and storing the first time when the first request is received;获取针对所述第一请求的第一计算值,所述第一计算值与所述第一请求中的信息属性或者所述第一电子设备的处理能力相关;Acquiring a first calculation value for the first request, where the first calculation value is related to the information attribute in the first request or the processing capability of the first electronic device;广播第一广播信息,所述第一广播信息包括所述第一时间,以及所述第一计算值;Broadcasting first broadcast information, where the first broadcast information includes the first time and the first calculated value;接收局域网内的第二电子设备广播的第二广播信息,基于所述第一广播信息和第二广播信息的比较结果,确定是否执行所述第一请求。Receiving second broadcast information broadcast by a second electronic device in the local area network, and determining whether to execute the first request based on a comparison result of the first broadcast information and the second broadcast information.
- 根据权利要求1所述的方法,其中,所述获取针对所述第一请求的第一计算值,包括以下方式中的至少一种:The method according to claim 1, wherein said obtaining the first calculated value for the first request comprises at least one of the following ways:响应于所述第一请求为语音形式,基于所述第一请求的音量、清晰度,以及所述第一请求和所述第一电子设备之间的距离中的至少一种,确定针对所述第一请求的第一计算值;In response to the first request being in the form of voice, based on at least one of the volume and the intelligibility of the first request, and the distance between the first request and the first electronic device, it is determined that the The first calculated value of the first request;基于所述第一电子设备的内存和CPU占用率中的至少一种,确定针对所述第一请求的第一计算值。Based on at least one of the memory and CPU occupancy rate of the first electronic device, a first calculation value for the first request is determined.
- 根据权利要求1或2所述的方法,其中,所述接收局域网内的第二电子设备广播的第二广播信息,包括:The method according to claim 1 or 2, wherein the receiving the second broadcast information broadcast by the second electronic device in the local area network comprises:接收所述执行广播操作之后的预设时间内的第二电子设备广播的第二广播信息。Receiving the second broadcast information broadcast by the second electronic device within a preset time after the broadcast operation is performed.
- 根据权利要求3所述的方法,其中,所述基于所述第一广播信息和第二广播信息的比较结果,确定是否执行所述第一请求,包括:The method according to claim 3, wherein the determining whether to execute the first request based on a comparison result of the first broadcast information and the second broadcast information comprises:获取所述第二广播信息中的第二时间和针对第二请求的第二计算值;Acquiring the second time in the second broadcast information and the second calculated value for the second request;基于所述第二时间,确定接收到的所述第二广播信息是否满足仲裁条件;Based on the second time, determine whether the received second broadcast information satisfies an arbitration condition;基于满足所述仲裁条件的第二广播信息中的第二计算值和第一计算值的比较结果,确定是否执行所述第一请求。Based on a comparison result of the second calculation value and the first calculation value in the second broadcast information that satisfies the arbitration condition, it is determined whether to execute the first request.
- 根据权利要求4所述的方法,其中,所述基于所述第二时间,确定接收到的所述第二广播信息是否满足仲裁条件,包括:The method according to claim 4, wherein the determining whether the received second broadcast information satisfies an arbitration condition based on the second time comprises:响应于所述第一时间和所述第二广播信息中的所述第二时间之间的间隔小于时间阈值,确定所述第二广播信息满足仲裁条件。In response to the interval between the first time and the second time in the second broadcast information being less than a time threshold, it is determined that the second broadcast information satisfies an arbitration condition.
- 根据权利要求4或5所述的方法,其中,所述基于满足所述仲裁条件的第二广播信息中的第二计算值和第一计算值的比较结果,确定是否执行所述第一请求,包括:The method according to claim 4 or 5, wherein the determining whether to execute the first request based on the comparison result of the second calculation value and the first calculation value in the second broadcast information that satisfies the arbitration condition, include:在所述第一计算值小于全部第二广播信息中的第二计算值的情况下,确定执行所述第一请求;或者If the first calculation value is less than the second calculation value in all the second broadcast information, determine to execute the first request; or在所述第一计算值大于全部第二广播信息中的第二计算值的情况下,确定执行所述第一请求。In a case where the first calculation value is greater than the second calculation value in all the second broadcast information, it is determined to execute the first request.
- 一种电子设备,包括:An electronic device including:接收模块,设置为接收第一请求并存储接收到所述第一请求的第一时间;A receiving module, configured to receive the first request and store the first time when the first request is received;获取模块,设置为获取针对所述第一请求的第一计算值,所述第一计算值与所述第一请求中的信息属性或者所述第一电子设备的处理能力相关;An obtaining module, configured to obtain a first calculated value for the first request, where the first calculated value is related to the information attribute in the first request or the processing capability of the first electronic device;广播模块,设置为广播第一广播信息,所述第一广播信息包括接收到所述第一请求的所述第一时间,以及所述第一计算值;A broadcast module configured to broadcast first broadcast information, the first broadcast information including the first time when the first request is received, and the first calculated value;执行模块,设置为接收局域网内的第二电子设备广播的第二广播信息,基于所述第一广播信息和第二广播信息的比较结果,确定是否执行所述第一请求。The execution module is configured to receive second broadcast information broadcast by a second electronic device in the local area network, and determine whether to execute the first request based on a comparison result of the first broadcast information and the second broadcast information.
- 根据权利要求7所述的电子设备,其中,所述获取针对所述第一请求的第一计算值,包括以下方式中的至少一种:8. The electronic device according to claim 7, wherein said obtaining the first calculated value for the first request comprises at least one of the following ways:响应于所述第一请求为语音形式,基于所述第一请求的音量、清晰度,以及所述第一请求和所述第一电子设备之间的距离中的至少一种,确定针对所述第一请求的第一计算值;In response to the first request being in the form of voice, based on at least one of the volume and the intelligibility of the first request, and the distance between the first request and the first electronic device, it is determined that the The first calculated value of the first request;基于所述第一电子设备的内存和CPU占用率中的至少一种,确定针对所述第一请求的第一计算值。Based on at least one of the memory and CPU occupancy rate of the first electronic device, a first calculation value for the first request is determined.
- 一种电子设备,包括:An electronic device including:处理器;processor;设置为存储处理器可执行指令的存储器;Set as a memory for storing executable instructions of the processor;其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1-6中任意一项所述的方法。Wherein, the processor is configured to call instructions stored in the memory to execute the method according to any one of claims 1-6.
- 一种局域网系统,包括至少两个电子设备,A local area network system including at least two electronic devices,所述至少两个电子设备中的第一电子设备设置为执行如权利要求1-6中任意一项所述的局域网环境下设备间的仲裁方法。The first electronic device of the at least two electronic devices is configured to execute the arbitration method between devices in a local area network environment according to any one of claims 1-6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010121197.XA CN111342981A (en) | 2020-02-26 | 2020-02-26 | Arbitration method between devices in local area network environment, electronic device and local area network system |
CN202010121197.X | 2020-02-26 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021169585A1 true WO2021169585A1 (en) | 2021-09-02 |
Family
ID=71185572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/141610 WO2021169585A1 (en) | 2020-02-26 | 2020-12-30 | Method for arbitration between devices in local area network environment, electronic devices, and local area network system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111342981A (en) |
WO (1) | WO2021169585A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111342981A (en) * | 2020-02-26 | 2020-06-26 | 杭州涂鸦信息技术有限公司 | Arbitration method between devices in local area network environment, electronic device and local area network system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108933715A (en) * | 2017-06-06 | 2018-12-04 | 北京猎户星空科技有限公司 | A kind of exchange method, device and smart machine |
CN109450750A (en) * | 2018-11-30 | 2019-03-08 | 广东美的制冷设备有限公司 | Sound control method, device, mobile terminal and the household appliance of equipment |
US20190208024A1 (en) * | 2017-12-29 | 2019-07-04 | Dish Network L.L.C. | Internet of things (iot) device discovery platform |
CN110048863A (en) * | 2019-03-08 | 2019-07-23 | 佛山市云米电器科技有限公司 | A kind of smart home device response arbitration system and method |
CN111342981A (en) * | 2020-02-26 | 2020-06-26 | 杭州涂鸦信息技术有限公司 | Arbitration method between devices in local area network environment, electronic device and local area network system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547306B (en) * | 2018-12-06 | 2021-04-30 | 杭州涂鸦信息技术有限公司 | Intelligent household equipment management method and system, intelligent gateway and server |
-
2020
- 2020-02-26 CN CN202010121197.XA patent/CN111342981A/en active Pending
- 2020-12-30 WO PCT/CN2020/141610 patent/WO2021169585A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108933715A (en) * | 2017-06-06 | 2018-12-04 | 北京猎户星空科技有限公司 | A kind of exchange method, device and smart machine |
US20190208024A1 (en) * | 2017-12-29 | 2019-07-04 | Dish Network L.L.C. | Internet of things (iot) device discovery platform |
CN109450750A (en) * | 2018-11-30 | 2019-03-08 | 广东美的制冷设备有限公司 | Sound control method, device, mobile terminal and the household appliance of equipment |
CN110048863A (en) * | 2019-03-08 | 2019-07-23 | 佛山市云米电器科技有限公司 | A kind of smart home device response arbitration system and method |
CN111342981A (en) * | 2020-02-26 | 2020-06-26 | 杭州涂鸦信息技术有限公司 | Arbitration method between devices in local area network environment, electronic device and local area network system |
Also Published As
Publication number | Publication date |
---|---|
CN111342981A (en) | 2020-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10514888B1 (en) | User-adaptive volume selection | |
US8699723B2 (en) | Audio device volume manager using measured volume perceived at a first audio device to control volume generation by a second audio device | |
JP2019091005A (en) | Multi apparatus interactive method, device, apparatus and computer readable medium | |
US9311049B2 (en) | System to improve numereical conversions and associated methods | |
US20120020487A1 (en) | Audio device volume manager using measured distance between first and second audio devices to control volume generation by the second audio device | |
WO2018103405A1 (en) | Method for identifying access point and hotspot, and related product | |
US20170077744A1 (en) | Electronic device and method of wireless power transfer therefor | |
WO2021022710A1 (en) | Message queue processing method, device, electronic apparatus, and computer readable non-volatile storage medium | |
WO2020102928A1 (en) | Wireless signal transmission method, wireless signal transmission device and terminal device | |
US20120053937A1 (en) | Generalizing text content summary from speech content | |
WO2021169585A1 (en) | Method for arbitration between devices in local area network environment, electronic devices, and local area network system | |
CN110782884B (en) | Far-field pickup noise processing method, device, equipment and storage medium | |
US20130290495A1 (en) | Method of setting optimal ping interval and electronic device therefor | |
CN111435318A (en) | Dex optimization method of application program and terminal | |
CN111176744A (en) | Electronic equipment control method, device, terminal and storage medium | |
US20200341653A1 (en) | Method, network adapter and computer program product for processing data | |
US10375370B2 (en) | Audio capture on mobile client devices | |
CN111582456B (en) | Method, apparatus, device and medium for generating network model information | |
CN113342759A (en) | Content sharing method, device, equipment and storage medium | |
JP2020194988A (en) | Communication control method and communication system | |
US11431349B2 (en) | Method, electronic device and computer program product for processing data | |
US20140325152A1 (en) | Quadtree based data management for memory | |
CN112070163B (en) | Image segmentation model training and image segmentation method, device and equipment | |
KR102255339B1 (en) | Method for generating internet of media information and apparatus for the same | |
WO2021179998A1 (en) | Spatial information determination method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20921177 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20921177 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20921177 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 06/07/2023) |