WO2023040678A1 - Information transmission method and apparatus, and electronic device, chip, storage medium, program and program product - Google Patents

Information transmission method and apparatus, and electronic device, chip, storage medium, program and program product Download PDF

Info

Publication number
WO2023040678A1
WO2023040678A1 PCT/CN2022/116750 CN2022116750W WO2023040678A1 WO 2023040678 A1 WO2023040678 A1 WO 2023040678A1 CN 2022116750 W CN2022116750 W CN 2022116750W WO 2023040678 A1 WO2023040678 A1 WO 2023040678A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
message
transmission path
information
response
Prior art date
Application number
PCT/CN2022/116750
Other languages
French (fr)
Chinese (zh)
Inventor
薛中波
向肖
唐成戬
唐银
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023040678A1 publication Critical patent/WO2023040678A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery

Definitions

  • the present application relates to the field of communication technology, and in particular to an information transmission method, device, electronic equipment, chip, storage medium, program and program product.
  • voice interaction operations can support voice interaction operations with users.
  • voice interaction operations need to be performed across multiple devices.
  • execution delay of voice commands across devices is relatively high.
  • Embodiments of the present application provide an information transmission method, device, electronic equipment, chip, storage medium, program, and program product.
  • An embodiment of the present application provides an information transmission method, which is applied to a first electronic device, and the method includes:
  • the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device;
  • An embodiment of the present application also provides an information transmission method, which is applied to a second electronic device, and the method includes:
  • the first message is generated by the first electronic device based on a first voice instruction and a first transmission path, the first voice instruction is used to instruct the second electronic device to perform a first operation, the The first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is transmitted by the second electronic device located in the first transmission path.
  • the electronic device of the previous hop of the device sends to the second electronic device;
  • the first operation is performed.
  • An embodiment of the present application also provides an information transmission method, which is applied to a third electronic device, and the method includes:
  • the first message is generated by the first electronic device based on a first voice instruction and a first transmission path, the first voice instruction is used to instruct the second electronic device to perform a first operation, the
  • the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is transmitted by the third electronic device located in the first transmission path.
  • the electronic device of the last hop of the device sends to the third electronic device;
  • An embodiment of the present application also provides an information transmission device applied to a first electronic device, including:
  • a first processing unit configured to determine a network topology map in response to a first voice instruction, the first voice instruction being used to instruct the second electronic device to perform a first operation;
  • a second processing unit configured to determine a first transmission path based on the network topology map; the first transmission path represents a message from the first electronic device to the second electronic device via at least one third electronic device transmission path;
  • a first generating unit configured to generate a first message based on the first voice instruction and the first transmission path
  • the first sending unit is configured to send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
  • An embodiment of the present application also provides an information transmission device applied to a second electronic device, including:
  • the first receiving unit is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, and the first voice instruction is used to instruct the second electronic device to
  • the device performs a first operation, the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, the first message is transmitted by the first electronic device sending to the second electronic device by an electronic device located at the last hop of the second electronic device in the path;
  • a third processing unit configured to execute the first operation in response to the first message.
  • An embodiment of the present application also provides an information transmission device applied to a third electronic device, including:
  • the second receiving unit is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, and the first voice instruction is used to instruct the second electronic device to
  • the device performs a first operation, the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, the first message is transmitted by the first electronic device sending to the third electronic device by an electronic device located at the last hop of the third electronic device in the path;
  • the second sending unit is configured to send the first message to an electronic device next hop to the third electronic device in the first transmission path.
  • An embodiment of the present application also provides an information transmission system, the system includes a first electronic device, at least one third electronic device and a second electronic device, wherein,
  • the first electronic device is configured to determine a network topology map in response to a first voice instruction; determine a first transmission path based on the network topology map; and generate a first transmission path based on the first voice instruction and the first transmission path. message; and sending the first message to a third electronic device located at the next hop of the first electronic device in the first transmission path; the first voice instruction is used to instruct the second electronic device to perform the first Operation; the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device;
  • Each third electronic device in the at least one third electronic device is configured to receive the first message, and send the first message to an electronic device that is next hop to the corresponding third electronic device in the first transmission path The first message; the first message is sent to the corresponding third electronic device by an electronic device that is a hop above the corresponding third electronic device in the first transmission path;
  • the second electronic device is configured to receive the first message and perform the first operation in response to the first message;
  • the last hop electronic device of the electronic device sends to the second electronic device.
  • the embodiment of the present application also provides an electronic device, including: a processor and a memory for storing a computer program that can run on the processor,
  • the processor when configured to run the computer program, it executes the steps of the above information transmission method.
  • the chip provided in the embodiment of the present application is configured to implement the above information transmission method.
  • the chip includes: a processor, which is configured to call and run a computer program from the memory, so that the device installed with the chip executes the steps of the above information transmission method.
  • the embodiment of the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above information transmission method are realized.
  • the computer program product provided by the embodiments of the present application includes computer program instructions, and the computer program instructions cause a computer to execute the steps of the above information transmission method.
  • the computer program provided in the embodiment of the present application when running on a computer, enables the computer to execute the steps of the above information transmission method.
  • FIG. 1 is a schematic diagram of a network topology provided by an application embodiment of the present application
  • FIG. 2 is an example diagram of the implementation process of the information transmission method provided by the embodiment of the present application.
  • FIG. 3 is a schematic diagram of information collection provided by the embodiment of the present application.
  • FIG. 4A is a first schematic diagram of the implementation flow of the information transmission method provided by the embodiment of the present application.
  • FIG. 4B is a second schematic diagram of the implementation flow of the information transmission method provided by the embodiment of the present application.
  • FIG. 5 is a schematic diagram of an implementation flow of an information transmission method provided in another embodiment of the present application.
  • FIG. 6 is a schematic diagram of an implementation flow of an information transmission method provided by another embodiment of the present application.
  • FIG. 7 is a schematic diagram of an implementation flow of an information transmission method provided in yet another embodiment of the present application.
  • FIG. 8 is a schematic diagram of a near-field cross-device execution scenario provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an implementation flow of an information transmission method provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a directed graph provided by an application embodiment of the present application.
  • FIG. 11 is a schematic diagram of a transmission path provided by an application embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an information transmission structure provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an information transmission structure provided by another embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of an information transmission structure provided by another embodiment of the present application.
  • FIG. 15 is a schematic diagram of a hardware composition structure of an electronic device provided by an embodiment of the present application.
  • FIG. 16 is a schematic diagram of a chip structure provided by an embodiment of the present application.
  • voice assistants can support user voice interaction operations, such as intelligent dialogue or instant question-and-answer voice interaction operations.
  • voice commands are executed in heterogeneous networks.
  • mobile phones have Wi-Fi communication capabilities and Bluetooth communication capabilities
  • watches have Bluetooth communication capabilities
  • TVs have Wi-Fi communication capability.
  • cloud communication solutions are usually used to realize device interconnection. Voice commands between electronic devices need to be transferred through the cloud to achieve cross-device execution, resulting in high delays in the execution of voice commands across devices. Latency is prominent.
  • each electronic device needs to be able to access the cloud, which requires high performance of electronic devices.
  • the first electronic device determines the network topology map in response to the first voice instruction, and determines the first transmission path based on the network topology map; generates the second transmission path based on the first voice instruction and the first transmission path.
  • the first voice command is used to instruct the second electronic device to perform a first operation;
  • the first transmission path represents A message transmission path from the first electronic device to the second electronic device via at least one third electronic device; each third electronic device in the at least one third electronic device receives the first message, and transmits the message to the corresponding location in the first transmission path
  • the electronic device next hop of the third electronic device sends the first message; the first message is sent to the corresponding third electronic device by the electronic device located at the previous hop of the corresponding third electronic device in the first transmission path;
  • the second electronic device receives the first message, and executes the first operation in response to the first message; the first message is sent to the second electronic device by a third electronic device that is a hop above the second electronic device in the first transmission path.
  • multiple devices support interconnection and intercommunication based on short-distance wireless communication methods such as Bluetooth and Wi-Fi or other wireless communication methods, and each device has A voice assistant is installed to support the user to input voice commands, and to support the transmission of corresponding operation instructions based on voice commands across devices.
  • the wake-up device is the device that receives the voice command
  • the target device is the device that executes the voice command.
  • watch A receives the voice command "turn up the air conditioner by 1 degree”
  • the wake-up device corresponding to the voice command is watch A
  • the corresponding target device is air conditioner D.
  • a corresponding message transmission process that occurs is a transmission process of a request message about the voice command, and the corresponding message transmission direction is from the wake-up device to the target device.
  • another message transmission process may also occur, that is, the transmission process of the response message about the voice command.
  • the corresponding message transmission direction is from the target device to the A wake-up device is used to feed back the execution result of the target device to the operation to the wake-up device.
  • the above-mentioned first message transmission process will inevitably occur, and the above-mentioned second message transmission process may or may not occur.
  • the request message about “turn up the air conditioner by 1 degree” is transmitted from watch A to air conditioner D, after the operation of raising the temperature by 1 degree is performed , the air conditioner D can also choose to generate a response message indicating that the relevant operation has been performed, and transmit the response message from the air conditioner D to the watch A, so that the corresponding "air conditioner has been turned up by 1 degree” will be given on the watch A Voice prompt or text prompt.
  • FIG. 2 is a schematic diagram of an implementation process of the information transmission method provided by the embodiment of the present application, wherein the execution subject of the process includes but is not limited to electronic devices such as mobile phones, tablets, smart watches, and smart home appliances.
  • the information transmission method shown in Figure 2 is applied to electronic device A, including:
  • Step 201 Determine electronic device B based on the first transmission path corresponding to the first voice instruction.
  • the first message generated based on the first voice command includes operation request information or operation response information about the first voice command
  • the first transmission path represents the wake-up device (that is, the source device) from the first voice command , a message transmission path from at least one intermediate device to the target device (that is, the execution device).
  • the source device of the first voice command is described as the wake-up device
  • the execution device of the first voice command is described as the target device.
  • Electronic device A can be understood as any electronic device on the first transmission path, including but not limited to: the wake-up device, the target device, and the electronic device between the wake-up device and the target device on the first transmission path.
  • the electronic device B represents the electronic device located at the next hop of the electronic device A in the transmission direction of the first message in the first transmission path, wherein, for the operation request information about the first voice instruction, the corresponding The message transmission direction is the transmission path direction from the wake-up device to the target device, and for the operation response information about the first voice command, the corresponding message transmission direction is the transmission path direction from the target device to the wake-up device.
  • the first voice instruction is used to instruct the target device, that is, the target device to perform a first operation. For example, in the network topology shown in Figure 1, watch A receives the voice command "turn up the air conditioner by 1 degree", then the wake-up device corresponding to the voice command is watch A, and the corresponding target device is air conditioner D.
  • the first transmission path is carried in the first message and may be represented by a field in the first message.
  • the field value of the corresponding field can be "[A, B, D]", here, "A", "B” and "D” used to identify the corresponding electronic device can also be characterized as the corresponding electronic device ID (ID, Identity document).
  • Step 202 Send a first message to electronic device B.
  • next-hop electronic device is determined based on the first transmission path carried in the first message, and the first message is sent to the determined electronic device.
  • voice The transmission of instruction-related operation requests and operation responses between the wake-up device and the target device greatly reduces the delay in cross-device execution of voice commands and improves the execution efficiency of cross-device execution.
  • the first transmission path represents a transmission path formed by at least three electronic devices.
  • the communication modes supported by the wake-up device and the target device may be the same or different.
  • the first transmission path represents a message transmission path formed by at least three electronic devices; wherein, the communication modes supported by the wake-up device and the target device may be the same or different. same.
  • the first transmission path "watch A-mobile phone B-air conditioner D" is represented as a transmission path composed of three electronic devices, wherein the watch A only has Bluetooth communication capabilities, mobile phone B has Wi-Fi communication capabilities and Bluetooth communication capabilities, and air conditioner D has Wi-Fi communication capabilities.
  • the communication methods supported by the corresponding wake-up device and the target device are different.
  • the information transmission between the watch A and the mobile phone B is based on the Bluetooth communication capability
  • the information transmission between the mobile phone B and the air conditioner D is based on the Wi-Fi communication capability, so as to realize cross-device execution in a heterogeneous network.
  • the information transmission in the heterogeneous network is realized.
  • the wake-up device and the target device do not support mutual communication
  • cross-device execution can still be realized without going through the cloud. In this way, It is no longer required that every electronic device in the heterogeneous network has the ability to go to the cloud, which reduces the software and hardware requirements for electronic devices.
  • the The method before the electronic device B is determined, the The method also includes:
  • the type of the first message includes a request message about the first operation or a response message about the first operation.
  • the type of the first message may be a request message about the first operation, and the transmission direction of the first message is from the source device to the target device.
  • the type of the first message may be a response message about the first operation, and the transmission direction of the first message is from the target device to the source device.
  • electronic device A is looking forward to the first transmission path, so as to determine electronic device B.
  • electronic device A reversely searches the first transmission path, so as to determine electronic device B.
  • the first transmission path is characterized as [A, B, D].
  • electronic device A namely electronic device B
  • the first transmission path [A, B, D]
  • electronic device B is searching for the first transmission path [A, B, D]
  • electronic device A ie, electronic device B
  • bidirectional search for a transmission path between the wake-up device and the target device can be realized.
  • the message type may be identified in a relevant field of the first message, so as to facilitate the electronic device to determine the message transmission direction. Based on this, in an embodiment, before the determining the transmission direction of the first message, the method further includes:
  • the first field characterizes the type of the first message.
  • the first message carries at least one first field representing the type of the first message
  • the electronic device determines that the type of the first message is a request message about the first operation or a message about the first operation based on reading the first field. Respond to the message, so as to determine the transmission direction of the first message.
  • the form of the first field includes but is not limited to the following forms:
  • Characterize the field of the first message type for example, 0 is a request message, 1 is a response message;
  • the electronic device may also determine the type of the first message by analyzing the first voice instruction carried in the message content carried in the first message.
  • the first message carries the message content related to the first voice instruction, and the message content of different types of first messages is different.
  • the format of the request message is uncertain, while the response message is "executed", " The text content of settings such as “opened” or the determined format such as "the washing machine has performed the washing task” and "the TV has performed the downloading task”.
  • the message content can be considered as a first field.
  • the method further includes:
  • the first message is used to request the target device to perform the first operation.
  • the voice of the user is collected by a voice collection module such as a microphone, so as to receive the first voice instruction, and the first transmission is determined based on the first voice instruction indicating the target device performing the first operation and the set network topology map. path, and constructing the first message based at least on the first voice instruction and the first transmission path.
  • a voice collection module such as a microphone
  • the set network topology graph represents the network topology graph of the network where electronic device A is located, and may also be called a network topology snapshot.
  • the network topology map can reflect whether communication is supported between nodes.
  • the first message at least carries the first voice instruction and the first transmission path.
  • Table 1 shows an example format of the first message.
  • target device ID Source Device ID Transaction ID first transmission path Message content
  • the target device ID characterizes the electronic device ID of the node to which the first message is to be sent
  • the source device ID characterizes the electronic device ID of the node that generated the first message
  • the transaction ID is used to uniquely identify the request message and the corresponding response message. For example, if the transaction ID of the request message is 1, the transaction ID of the corresponding response message is also 1;
  • the first transmission path represents a transmission path formed by at least two electronic devices
  • the message content is used to carry request content or response content related to the first voice instruction.
  • electronic device A determines the first transmission path corresponding to the first voice instruction, and constructs a request message for the first voice instruction based at least on the basis of the first transmission path, so that electronic device A determines according to the corresponding first transmission path
  • the next-hop electronic device B correspondingly sends the first message to the electronic device B, thereby realizing message transmission.
  • one voice command may correspond to more than two target devices.
  • the wake-up device determines based on at least two target devices corresponding to the first voice command and the set network topology map. At least two first transmission paths; constructing a first message based at least on the first voice instruction and the at least two first transmission paths.
  • this solution is also applicable when one voice command corresponds to more than two target devices.
  • the mobile phone receives the voice command "Turn off all electrical appliances in the bedroom".
  • the target devices include two electronic devices, the TV and the air conditioner.
  • the two first transmission paths from the mobile phone to the TV and from the mobile phone to the air conditioner are correspondingly determined.
  • a first message is correspondingly generated, and the first message is sent to the next-hop electronic device B of the two first transmission paths, thereby completing cross-device multi-device execution.
  • the method further includes:
  • the first message represents an execution response to the first operation.
  • the target device after receiving the request message corresponding to the first voice command, execute the first operation indicated by the first voice command, obtain the execution result of the first operation, and at least based on the execution result of the first operation and the first Transmission path, constructing the first message.
  • the first transmission path may be the transmission path information extracted from the request message, or the transmission path information after reverse processing. , each electronic device is searching for the first transmission path forward.
  • electronic device A constructs the first message representing the execution response of the first operation at least based on the first transmission path, so that electronic device A determines the next-hop electronic device B according to the corresponding first transmission path, and sends electronic device B Correspondingly sending the first message, so as to realize the transmission of the message.
  • the method in an embodiment, in the determination of the electronic device Before B, the method also includes:
  • the first message is sent by an electronic device located one hop above the electronic device A in the transmission direction of the first message in the first transmission path.
  • the electronic device A is an intermediate device serving as an intermediate node of information transmission, and receives the first message sent from the electronic device at the last hop in the message transmission direction in the first transmission path.
  • the electronic device A receives the first message from watch A.
  • the determination of electronic device B includes:
  • electronic device A judges whether the target device of the first message is electronic device A on the first transmission path, and if the judgment result indicates that the target device of the first message is not electronic device A, electronic device A needs to forward the message , determining a next-hop electronic device B based on the first transmission path.
  • the judgment result indicates that the target device of the first message is electronic device A
  • electronic device A if the first message represents a request message about the first voice command, then electronic device A, as the target device corresponding to the first voice command, executes The first operation indicated by the request message; if the first message represents a response message about the first voice command, then after receiving the response message, electronic device A gives a corresponding voice prompt or text prompt based on the response message, and ends the first operation.
  • the execution process related to the voice command is if the first message represents a request message about the first voice command, then electronic device A, as the target device corresponding to the first voice command, executes The first operation indicated by the request message; if the first message represents a response message about the first voice command, then after receiving the response message, electronic device A gives a corresponding voice prompt or text prompt based on the response message, and ends the first operation.
  • the execution process related to the voice command if the first message represents a request message about the first voice command, then electronic device A, as the target device
  • the first transmission path is generated based on the target device corresponding to the first voice command and the set network topology map.
  • a method for generating a network topology map is also provided. The following describes the network topology The method of generating the graph is explained:
  • the method before the determination of the electronic device B, the method further includes:
  • the first request is used to request each electronic device C in at least one electronic device C to report a neighbor electronic device list; the electronic device C represents the neighbor electronic device of the electronic device A;
  • the neighbor electronic device list reported by each electronic device C in the at least one electronic device C includes information for describing the neighbor electronic device of the corresponding electronic device C and the corresponding electronic device C.
  • the list of neighboring electronic devices received by device C is not limited to
  • electronic device A and at least one electronic device C support at least one same communication mode.
  • each electronic device in the network topology broadcasts the first request, and the electronic device that receives the first request reports its corresponding neighbor electronic device list to the electronic device that broadcasts the first request.
  • the reported neighbor electronic device list includes information describing the neighbor electronic device of the electronic device and the neighbor electronic device list received by the electronic device itself, wherein the neighbor electronic device can be understood as an electronic device that supports the same communication capability as the electronic device .
  • the first request is issued layer by layer from one electronic device, and finally each electronic device in the network topology receives the first request, and based on the first request collects its corresponding neighbor electronic device list, and then each The neighbor electronic device list collected by the electronic device is reported layer by layer, and finally passed back to the electronic device that initiated the first request, and the electronic device that initiated the first request synthesizes all the neighbor electronic device lists, and establishes on this basis Start the network topology diagram.
  • the broadcasting the first request includes:
  • the second voice instruction is used to instruct to acquire the network topology map.
  • the second voice instruction is used to instruct electronic device A to obtain the network topology map, and the electronic device used to initiate the creation process of the network topology map initiates the corresponding creation process after receiving the first voice instruction.
  • the second voice command may also be the first voice command.
  • the wake-up device when the wake-up device receives the first voice command for instructing the target device to perform an operation, it first broadcasts the first request to Acquire the network topology map, and then determine the first transmission path corresponding to the first voice instruction based on the network topology map.
  • device A broadcasts a first request to two neighboring electronic devices B and C in order to wake up the device after receiving the first voice command.
  • the device B of the neighboring electronic device B broadcasts the first request to the neighboring electronic device D upon receiving the first request.
  • the device C of the neighboring electronic device C broadcasts the first request to the neighboring electronic device D upon receiving the first request.
  • the device D of the neighboring electronic device D reports the information D of the neighboring electronic device of the device D to the two neighboring electronic devices B and C based on the received two first requests of the device B and the device C: [B, C], characterized
  • the neighbor electronic devices of device D are device B and device C.
  • device B Based on the received first request from device A, device B reports to neighbor electronic device A the information B: [A, D] of device B's neighbor electronic devices and the received neighbor electronic device list D: [B, C].
  • device C Based on the received first request from device A, device C reports to neighbor electronic device A the information C: [A, D] of device C's neighbor electronic devices and the received neighbor electronic device list D: [B, C].
  • the method also includes:
  • electronic device A summarizes the neighbor electronic device lists reported layer by layer, and then generates the network topology map.
  • the corresponding initiator directly or indirectly transmits the generated network topology map to electronic device A for storage through other electronic devices, so that electronic device A receives
  • at least one transmission path from the electronic device A to the target device can be planned as the first transmission path according to the corresponding target device and the saved network topology map.
  • a shortest transmission path from the wake-up device to the target device can be selected from the planned paths as the first transmission path.
  • the wake-up device, intermediate device and target device in the cross-device execution scenario are respectively used as the execution subject to implement the information transmission method of the embodiment of the application.
  • the method is described in further detail, and the implementation process may refer to the description of the above-mentioned related embodiments.
  • FIG. 4A is a schematic diagram of an implementation flow of an information transmission method provided by an embodiment of the present application, which is applied to a first electronic device, wherein the first electronic device is characterized as a wake-up device in a cross-device execution scenario.
  • the information transmission method shown in Figure 4A includes:
  • Step 401 Determine a network topology map in response to a first voice command, where the first voice command is used to instruct a second electronic device to perform a first operation.
  • the first electronic device determines the network topology map in response to the first voice instruction.
  • the method for determining the network topology map is not limited, the electronic device for determining the network topology map is not limited, and the collection method for determining the network topology map is not limited.
  • Step 402 Determine a first transmission path based on the network topology map; the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device.
  • step 402 can refer to the relevant description of step 201, the first electronic device is characterized by the case that electronic device A is the wake-up device (source device), and details are not repeated here.
  • the first transmission path represents the first electronic device (that is, the source device, the wake-up device) of the first voice command, through at least one third electronic device (that is, the intermediate device) to the second electronic device (that is, the target device, execution device) message transmission path.
  • Step 403 Generate a first message based on the first voice instruction and the first transmission path.
  • step 401 for the implementation process of step 401, reference may be made to the relevant description of step 201.
  • the generated first message may include operation request information of the first voice instruction.
  • Step 404 Send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
  • step 404 for the implementation process of step 404, reference may be made to the related description of step 202, which will not be repeated here.
  • the third electronic device located at the next hop of the first electronic device is determined based on the first transmission path, and the first message is sent to the determined third electronic device.
  • the method also includes:
  • the second message is sent by an electronic device located at the next hop of the first electronic device in the first transmission path, and the second message is based on the second electronic device's
  • the execution result of the operation is generated by the first transfer path.
  • the first electronic device receives the second message generated by the second electronic device based on the execution result of the first operation and the first transmission path, and obtains the operation response information corresponding to the first voice instruction. In this way, the wake-up device can receive the operation response information about the first operation.
  • the method before determining the network topology map in response to the first voice instruction, the method further includes:
  • broadcast first request information In response to the first voice instruction, broadcast first request information; the first request information is used to request the electronic device that receives the first request information to collect a neighbor electronic device list and broadcast the first request information;
  • the at least one fourth electronic device represents the electronic device that received the first request information, and the first response information includes the The neighbor electronic device list collected by the at least one fourth electronic device and the neighbor electronic device list received by the at least one fourth electronic device;
  • the fourth electronic device may represent the electronic device that received the first request information sent by the first electronic device, that is, the fourth electronic device is a neighbor electronic device of the first electronic device.
  • the fourth electronic device is a neighbor electronic device of the first electronic device.
  • device A is the first electronic device
  • device B and device C are fourth electronic devices.
  • FIG. 4B shows a second implementation flow diagram of the information transmission method described in FIG. 4A above.
  • the first electronic device receives a first voice instruction, and the first voice instruction may be issued by a user. Then, the first electronic device determines the network topology map in response to the first voice instruction, and generates a directed graph based on the network topology map.
  • the method of generating the directed graph is not limited.
  • the first electronic device calculates the first transmission path based on the network topology graph and the directed graph, and sends the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path. In this way, a two-way transmission path between the wake-up device and the target device can be realized, thereby reducing the delay in executing voice commands across devices.
  • FIG. 5 is a schematic diagram of an implementation flow of an information transmission method provided by an embodiment of the present application, which is applied to a second electronic device, wherein the second electronic device is characterized as a target device in a cross-device execution scenario.
  • the information transmission method shown in Figure 5 includes:
  • Step 501 Receive a first message, the first message is generated by the first electronic device based on a first voice instruction and a first transmission path, and the first voice instruction is used to instruct the second electronic device to perform a first operation , the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is sent from the first transmission path located in the The last hop electronic device of the second electronic device sends to the second electronic device.
  • Step 502 Execute the first operation in response to the first message.
  • the method also includes:
  • the method before receiving the first message, the method further includes:
  • the fifth electronic device may represent the electronic device that sent the first request information to the second electronic device, that is, the fifth electronic device is a neighbor electronic device of the second electronic device.
  • device A is the first electronic device
  • device B and device C are fourth electronic devices.
  • device C since both device A and device D will send the first request information to device C, and the first request information sent by device A is earlier than the first request information sent by device D, device C will usually receive the first request information from device A first. Request information, so device C can selectively ignore the first request information sent by device D according to the time sequence of receiving the first request information, so as to ensure that the neighbor electronic device list received by the first electronic device will not have too many repetitions .
  • FIG. 6 is a schematic diagram of an implementation flow of an information transmission method provided by an embodiment of the present application, which is applied to a third electronic device, wherein the third electronic device is characterized as an intermediate device in a cross-device execution scenario.
  • the information transmission method shown in Figure 6 includes:
  • Step 601 Receive a first message, the first message is generated by the first electronic device based on a first voice command and a first transmission path, and the first voice command is used to instruct the second electronic device to perform a first operation , the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is sent from the first transmission path located in the The last hop electronic device of the third electronic device sends to the third electronic device.
  • Step 602 Send the first message to an electronic device that is a next hop of the third electronic device in the first transmission path.
  • the method also includes:
  • the first message and the second message also carry a first field, and the first field indicates that the corresponding message is the first message or the second message; the method further includes:
  • the first message and the second message carry at least one first field representing the type of the first message
  • the third electronic device determines that the type of the first message is a request message for the first operation or With regard to the response message of the first operation, it is determined to send the received message to the electronic device located at the previous hop or the next hop of the third electronic device in the first transmission path.
  • the message type may be identified in the relevant fields of the first message and the second message, so as to facilitate the electronic device to determine the direction of message transmission.
  • the form of the first field includes but is not limited to the following forms:
  • a field that characterizes the message type for example, 0 is a request message, 1 is a response message;
  • the method before the receiving the first message, the method further includes:
  • first request information broadcast by the first electronic device or at least one sixth electronic device where the first request information is used to request the electronic device that receives the first request information to collect a neighbor electronic device list and broadcast the first request information;
  • the third response information In response to the first request information, return third response information to the electronic device broadcasting the first request information; the third response information carries the neighbor electronic device list collected by the third electronic device and the first The list of neighbor electronic devices received by the three electronic devices.
  • FIG. 7 is a schematic diagram of an implementation flow of the information transmission method provided by the embodiment of the present application. As shown in Figure 7, the information transmission method includes:
  • Step 701 The first electronic device determines a network topology map in response to a first voice command, and determines a first transmission path based on the network topology map; generates a first message based on the first voice command and the first transmission path.
  • the first voice instruction is used to instruct the second electronic device to perform a first operation; the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device .
  • Step 702 Send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
  • Step 703 Each third electronic device in the at least one third electronic device receives the first message.
  • the first message is sent to the corresponding third electronic device by an electronic device located at a previous hop of the corresponding third electronic device in the first transmission path.
  • Step 704 Send the first message to an electronic device that is a next hop of the corresponding third electronic device in the first transmission path.
  • Step 705 The second electronic device receives the first message, and executes the first operation in response to the first message;
  • the third electronic device in the last hop of the electronic device sends the message to the second electronic device.
  • the method also includes:
  • the second electronic device generates a second message, and sends the second message to a third electronic device that is located on a previous hop of the second electronic device in the first transmission path; the second message carries the an execution result of the first operation and the first transmission path;
  • Each third electronic device in the at least one third electronic device receives a second message sent by an electronic device that is next hop to the corresponding third electronic device in the first transmission path, and transmits a second message to the first transmission path. sending the second message by an electronic device located in the last hop of the corresponding third electronic device in the path;
  • the first electronic device receives the second message sent by the third electronic device located in the next hop of the first electronic device in the first transmission path.
  • Fig. 8 shows a schematic diagram of the near-field cross-device execution scenario provided by the application embodiment of the present application.
  • Device A and device B deployed with voice assistants are provided with a coordinated instruction transmission module and a coordinated wake-up module.
  • the coordinated wake-up of device A When the module receives the wake-up command, the wake-up device A receives the voice command through the cooperative command transmission module, and realizes the voice command transmission between the near-field communication devices through the networking among multiple electronic devices, specifically including, carrying the voice command through the message .
  • the coordinated command transmission module is responsible for the coordinated command transmission between near-field devices, which solves the problems of the networking between multiple devices, the transmission of voice commands needs a small delay, and the transmission nodes are as few as possible during the coordinated command transmission.
  • the present application Taking the cross-device execution of mobile phones, watches, and TVs as a scenario, the present application will be further described in detail in combination with application embodiments.
  • the method of the application embodiment of the present application is implemented by the cooperative instruction transmission module.
  • Step 901 Information collection.
  • Information collection realizes networking among multiple electronic devices in a heterogeneous network by discovering neighboring electronic devices.
  • a voice command is received, a network topology graph characterized as a network topology snapshot is generated based on information collection results, and a directed graph is generated based on the network topology snapshot.
  • the initiator device A that receives the voice command broadcasts a request message to all neighboring electronic devices B and C through each communication capability it has, and the request message uses To request the electronic device that has received the first request information to collect the neighbor electronic device list and broadcast the first request information, after receiving the request message, device B and device C, taking device B as an example, determine its neighbor electronic device list B : [A, D], and forward the request message to its neighbor electronic device D respectively, device B receives the neighbor electronic device list D: [B, C] sent by device D based on the forwarded request message, and sends its The neighbor electronic device list B: [A, D] and the received neighbor electronic device list D: [B, C] are sent to the initiator device.
  • the initiator device A is based on the received neighbor electronic device list B: [A, D], C: [A, D], D: [B, C] and the neighbor electronic device information A of the electronic device: [B , C], generate a network topology snapshot as shown in Figure 1, and generate a directed graph as shown in Figure 10 based on the network topology snapshot.
  • the device of each node maintains a routing table of the neighboring electronic device corresponding to the device, and Table 2 shows an example format of a routing table.
  • the device as a neighbor electronic device When the device as a neighbor electronic device receives the request message, it can forward the request message to the corresponding neighbor electronic device based on the routing table of the neighbor electronic device, and determine the neighbor electronic device list of the device.
  • Table 3 shows an example format of a neighbor electronic device list.
  • This device ID [Neighbor Electronic Device ID List]
  • Step 902 Command transmission path.
  • the shortest transmission path from the wake-up device to the target device is calculated by a shortest path algorithm, such as the Floyd algorithm, as the first transmission path.
  • a shortest path algorithm such as the Floyd algorithm
  • message routing includes request message addressing and response message addressing.
  • the addressing of the request message indicates that the device queries the successor node of the node where the device ID is located from front to back through the routing module in the first transmission path, uses the successor node as the next hop node, and sends the request message correspondingly.
  • the response message addressing means that the device queries the successor node of the node where the device ID is located from the back to the front through the routing module in the first transmission path, and uses the successor node as the next hop node to send the request message correspondingly.
  • each electronic device When each electronic device receives the message, if the target device ID in the message is the same as its own device ID, it means that the message is delivered to the target device ID; if the target device ID in the message is not the same as its own device ID, Routing and forwarding is then performed according to the first transmission path.
  • the initiator device A determines the target device D based on the received voice command, and determines the first transmission path [A, B based on the target device D and the directed graph. , D]. Based on the target device ID, the initiator device ID (source device ID), the transaction ID, the first transmission path [A, B, D] and the content of the voice command, the request message is generated according to the format example of the above message.
  • the transaction ID can use the snowflake algorithm SnowFlake to generate a unique identifier
  • the first transmission path can be characterized as a list of device IDs [device ID 1 , device ID 2 , ..., device ID X ], and device ID 1 is the initiator device ID, device ID X is the target device ID.
  • the initiating device A sends a request message, and based on the first transmission path [A, B, D] in the request message, finds that the successor node of the node where the device ID is located is device B, and uses device B as the next hop node.
  • device B judges the conclusion that the request message needs to be forwarded based on the target device ID, and then determines the ID of the device by forward searching the first transmission path [A, B, D].
  • the successor node finds device D as the next hop node.
  • Device D receives the message, finds out through the target device that it is a request message sent to the device, and executes the operation corresponding to the request message, with device A as the target device, device D as the source device, the transaction ID in the request message and the first transmission path , generate a response message following the format example of the message above.
  • Device D sends a response message. Based on the first transmission path [A, B, D] in the response message, it reversely finds that the successor node of the node where the device ID is located is device B, and uses device B as the next hop node. Send a request message to device B.
  • device B After receiving the request message, device B judges the conclusion that the request message needs to be forwarded based on the target device ID, and then finds the first transmission path [A, B, D] in reverse to determine the ID of the device. The successor node finds device A as the next hop node. Device A receives the message, and discovers through the target device that it is a response message sent to the device. At this point, the interaction between a request message and a response message is completed.
  • a network topology snapshot is constructed by broadcasting during the communication capability collection stage, and Generate a directed graph to obtain a dynamic network topology and realize the shortest transmission path. And by using the way of transmission path addressing, the routing problem of the instruction is solved.
  • the forwarding electronic device can realize the routing of voice commands between the source device and the target device based on the routing addressing carried in the first message, and at least achieve the following effects: collect node communication capabilities through broadcasting, and determine a snapshot of the network topology , corresponding to the way of generating a directed graph, to solve the networking problem among multiple electronic devices. And, based on the first transmission path in the first message, determine the next-hop electronic device, and send the first message to the determined electronic device, so that the two-way transmission path between the wake-up device and the target device can be realized, Thereby reducing the delay in the execution of voice commands across devices. At the same time, based on the planned shortest transmission path from the source device to the target device, the number of electronic devices involved in information transmission can be reduced, and the reliability of the transmission path can be improved.
  • the embodiment of the present application also provides an information transmission device, as shown in Figure 12, the information transmission device is applied to the first electronic device, including:
  • the first processing unit 1201 is configured to determine a network topology map in response to a first voice command, where the first voice command is used to instruct the second electronic device to perform a first operation;
  • the second processing unit 1202 is configured to determine a first transmission path based on the network topology map; the first transmission path represents a transmission from the first electronic device to the second electronic device via at least one third electronic device Message transmission path;
  • the first generating unit 1203 is configured to generate a first message based on the first voice instruction and the first transmission path;
  • the first sending unit 1204 is configured to send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
  • the information transmission device further includes:
  • the third receiving unit is configured to receive a second message, the second message is sent by the electronic device next to the first electronic device in the first transmission path, the second message is the second Generated by the electronic device based on the execution result of the first operation and the first transmission path.
  • the information transmission device further includes:
  • the third sending unit is configured to broadcast first request information in response to the first voice instruction; the first request information is used to request the electronic device that receives the first request information to collect a neighbor electronic device list and broadcast it the first request information;
  • a fourth receiving unit configured to receive first response information returned by at least one fourth electronic device based on the first request information; the at least one fourth electronic device represents the electronic device that received the first request information, The first response information includes a neighbor electronic device list collected by the at least one fourth electronic device and a neighbor electronic device list received by the at least one fourth electronic device;
  • the second generating unit is configured to generate the network topology map based on the first response information.
  • the first sending unit 1204, the third receiving unit, the third sending unit, and the fourth receiving unit may be realized by a communication interface based on an information transmission device, and the first processing unit 1201 , the second processing unit 1202, the first generating unit 1203, and the second generating unit may be implemented by a processor in an information-based transmission device.
  • the information transmission device provided in the above-mentioned embodiment transmits information
  • the information transmission device and the information transmission method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
  • the embodiment of the present application also provides an information transmission device, as shown in Figure 13, the information transmission device is applied to the second electronic device, including:
  • the first receiving unit 1301 is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, the first voice instruction is used to instruct the second
  • the electronic device performs a first operation, the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, the first message is transmitted by the first electronic device sending to the second electronic device by an electronic device located at the previous hop of the second electronic device in the transmission path;
  • the third processing unit 1302 is configured to execute the first operation in response to the first message.
  • the information transmission device further includes:
  • a third generating unit configured to generate an execution result of executing the first operation
  • a fourth generating unit configured to generate a second message based on an execution result of the first operation and the first transmission path
  • the fourth sending unit is configured to send the second message to a third electronic device that is a hop above the second electronic device in the first transmission path.
  • the information transmission device further includes:
  • the fifth receiving unit is configured to receive first request information broadcast by at least one fifth electronic device, where the first request information is used to request the electronic device that receives the first request information to collect a list of neighbor electronic devices and broadcast the list of neighboring electronic devices. the first request information;
  • the fifth sending unit is configured to send second response information to the at least one fifth electronic device in response to the first request information, the second response information carrying at least the neighbors collected by the second electronic device List of electronic equipment.
  • the first receiving unit 1301, the fourth sending unit, the fifth receiving unit, and the fifth sending unit may be realized by a communication interface based on an information transmission device
  • the third processing unit 1302 , the third generating unit, and the fourth generating unit may be implemented by a processor in an information-based transmission device.
  • the information transmission device provided in the above-mentioned embodiment transmits information
  • the information transmission device and the information transmission method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
  • the embodiment of the present application also provides an information transmission device, as shown in Figure 14, the information transmission device is applied to the third electronic device, including:
  • the second receiving unit 1401 is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, the first voice instruction is used to instruct the second
  • the electronic device performs a first operation, the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, the first message is transmitted by the first electronic device sending to the third electronic device by an electronic device located at the last hop of the third electronic device in the transmission path;
  • the second sending unit 1402 is configured to send the first message to an electronic device that is a next hop of the third electronic device in the first transmission path.
  • the information transmission device further includes:
  • the fourth processing unit is configured to, based on the field value of the first field in the received message, determine to send and receive the message to the electronic device located at the previous hop or the next hop of the third electronic device in the first transmission path received news.
  • the information transmission device further includes:
  • the sixth receiving unit is configured to receive the first request information broadcast by the first electronic device or at least one sixth electronic device, the first request information is used to request the electronic device that has received the first request information to collect neighbor electronic information device list and broadcast the first request information;
  • the sixth sending unit is configured to, in response to the first request information, return third response information to the electronic device broadcasting the first request information; the third response information carries the information collected by the third electronic device A neighbor electronic device list and the neighbor electronic device list received by the third electronic device.
  • the second receiving unit 1401, the second sending unit 1402, the sixth receiving unit, and the sixth sending unit may be realized by a communication interface based on an information transmission device, and the fourth processing unit It can be implemented by a processor in the information transmission device.
  • the information transmission device provided in the above-mentioned embodiment transmits information
  • the information transmission device and the information transmission method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
  • An embodiment of the present application also provides an information transmission system, the system includes a first electronic device, at least one third electronic device and a second electronic device, wherein,
  • the first electronic device is configured to determine a network topology map in response to a first voice instruction; determine a first transmission path based on the network topology map; and generate a first transmission path based on the first voice instruction and the first transmission path. message; and sending the first message to a third electronic device located at the next hop of the first electronic device in the first transmission path; the first voice instruction is used to instruct the second electronic device to perform the first Operation; the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device;
  • Each third electronic device in the at least one third electronic device is configured to receive the first message, and transmit the message to the next-hop electronic device of the corresponding third electronic device in the first transmission path sending the first message; the first message is sent to the corresponding third electronic device by an electronic device that is a hop above the corresponding third electronic device in the first transmission path;
  • the second electronic device is configured to receive the first message, and execute the first operation in response to the first message; the first message is sent by the first message located in the first transmission path
  • the last hop electronic device of the second electronic device sends the message to the second electronic device.
  • first electronic device, the second electronic device, and the third electronic device in the information transmission system provided by the above embodiments belong to the same concept as the information transmission method embodiment, and the specific implementation process is detailed in the method embodiment, and will not be repeated here. .
  • FIG. 15 is a schematic diagram of the hardware composition structure of the electronic device in the embodiment of the present application.
  • the electronic device includes:
  • Communication interface 1 which can exchange information with other devices such as network devices;
  • the processor 2 is connected to the communication interface 1 to implement information interaction with other devices, and is used to execute the information transmission method provided by one or more of the above technical solutions when running a computer program. Instead, the computer program is stored on the memory 3 .
  • bus system 4 is used to realize connection and communication between these components.
  • the bus system 4 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled as bus system 4 in FIG. 15 .
  • the memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on an electronic device.
  • the memory 3 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.
  • the non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface storage can be disk storage or tape storage.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • RAM Random Access Memory
  • many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory ).
  • the memory 2 described in the embodiment of the present application is intended to include but not limited to these and any other suitable types of memory.
  • Processor 2 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 2 or instructions in the form of software.
  • the aforementioned processor 2 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the processor 2 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application 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 can be located in the storage medium, and the storage medium is located in the memory 3, and the processor 2 reads the program in the memory 3, and completes the steps of the foregoing method in combination with its hardware.
  • FIG. 16 is a schematic structural diagram of a chip according to an embodiment of the present application.
  • the chip 1600 shown in FIG. 16 includes a processor 1601, and the processor 1601 can call and run a computer program from a memory, so as to implement the method in the embodiment of the present application.
  • the chip 1600 may further include a memory 1602 .
  • the processor 1601 can call and run a computer program from the memory 1602, so as to implement the method in the embodiment of the present application.
  • the memory 1602 may be an independent device independent of the processor 1601 , or may be integrated in the processor 1601 .
  • the chip 1600 may also include an input interface 1603 .
  • the processor 1601 may control the input interface 1603 to communicate with other devices or chips, specifically including obtaining information or data sent by other devices or chips.
  • the chip 1600 may also include an output interface 1604 .
  • the processor 1601 may control the output interface 1604 to communicate with other devices or chips, specifically including, outputting information or data to other devices or chips.
  • the chip can be applied to the first electronic device, the second electronic device, or the third electronic device in the embodiments of the present application, and the chip can implement the methods performed by the first electronic device, the second electronic device in the embodiments of the present application.
  • the corresponding process implemented by the second electronic device or the third electronic device will not be repeated here.
  • the chip mentioned in the embodiment of the present application may also be called a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip.
  • the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically including a computer-readable storage medium, for example, including a memory 3 storing a computer program, and the above-mentioned computer program can be executed by the processor 2, To complete the steps described in the aforementioned method.
  • the computer-readable storage medium can be memories such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
  • the computer-readable storage medium can be applied to the first electronic device, the second electronic device, or the third electronic device in the embodiments of the present application, and the computer program enables the computer to execute the electronic device in the embodiments of the present application.
  • the corresponding processes implemented by the first electronic device, the second electronic device, or the third electronic device in each method are not repeated here.
  • the embodiment of the present application also provides a computer program product, including computer program instructions.
  • the computer program product can be applied to the first electronic device, the second electronic device, or the third electronic device in the embodiments of the present application, and the computer program instructions cause the computer to execute the electronic device of the embodiments of the present application.
  • the corresponding processes implemented by the first electronic device, the second electronic device, or the third electronic device in each method will not be repeated here.
  • the embodiment of the present application also provides a computer program.
  • the computer program can be applied to the first electronic device, the second electronic device or the third electronic device in the embodiments of the present application, and when the computer program is run on the computer, the computer executes the
  • the computer program executes the
  • the corresponding processes implemented by the first electronic device, the second electronic device, or the third electronic device in each method of the embodiment of the application are not repeated here.
  • the disclosed device, terminal and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration
  • the unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
  • the above-mentioned integrated units of the present application are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and includes several instructions for Make an electronic device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: various media capable of storing program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.

Abstract

An information transmission method and apparatus, and an electronic device, a chip, a storage medium, a program and a program product. The method comprises: a first electronic device determining a network topology graph in response to a first speech instruction, determining a first transmission path on the basis of the network topology graph, and generating a first message on the basis of the first speech instruction and the first transmission path (701); sending the first message to a third electronic device, which is located at the next hop of the first electronic device, in the first transmission path (702), wherein the first speech instruction is used for instructing a second electronic device to execute a first operation, and the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device; each third electronic device receiving the first message (703); sending the first message to an electronic device, which is located at the next hop of the corresponding third electronic device, in the first transmission path (704); and the second electronic device receiving the first message, and executing the first operation in response to the first message (705).

Description

信息传输方法、装置、电子设备、芯片、存储介质、程序及程序产品Information transmission method, device, electronic device, chip, storage medium, program and program product
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111089262.6、申请日为2021年09月16日、发明名称为“信息传输方法、装置、电子设备及存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number 202111089262.6, the filing date is September 16, 2021, and the title of the invention is "information transmission method, device, electronic equipment and storage medium", and claims the priority of the Chinese patent application, The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种信息传输方法、装置、电子设备、芯片、存储介质、程序及程序产品。The present application relates to the field of communication technology, and in particular to an information transmission method, device, electronic equipment, chip, storage medium, program and program product.
背景技术Background technique
目前,部署有语音助手的电子设备能够支持与用户的语音交互操作。实际应用时,存在语音交互操作需要跨多个设备进行操作的场景。相关技术中,语音指令跨设备执行延迟较高。Currently, electronic devices deployed with voice assistants can support voice interaction operations with users. In practical applications, there are scenarios where voice interaction operations need to be performed across multiple devices. In related technologies, the execution delay of voice commands across devices is relatively high.
发明内容Contents of the invention
本申请实施例提供一种信息传输方法、装置、电子设备、芯片、存储介质、程序及程序产品。Embodiments of the present application provide an information transmission method, device, electronic equipment, chip, storage medium, program, and program product.
本申请实施例的技术方案是这样实现的:The technical scheme of the embodiment of the application is realized in this way:
本申请实施例提供了一种信息传输方法,应用于第一电子设备,所述方法包括:An embodiment of the present application provides an information transmission method, which is applied to a first electronic device, and the method includes:
响应于第一语音指令确定网络拓扑图,所述第一语音指令用于指示第二电子设备执行第一操作;determining a network topology map in response to a first voice command, the first voice command being used to instruct the second electronic device to perform a first operation;
基于所述网络拓扑图确定第一传输路径;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;determining a first transmission path based on the network topology; the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device;
基于所述第一语音指令和所述第一传输路径生成第一消息;generating a first message based on the first voice instruction and the first transmission path;
向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息。sending the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
本申请实施例还提供了一种信息传输方法,应用于第二电子设备,所述方法包括:An embodiment of the present application also provides an information transmission method, which is applied to a second electronic device, and the method includes:
接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的电子设备发送至所述第二电子设备;receiving a first message, the first message is generated by the first electronic device based on a first voice instruction and a first transmission path, the first voice instruction is used to instruct the second electronic device to perform a first operation, the The first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is transmitted by the second electronic device located in the first transmission path. The electronic device of the previous hop of the device sends to the second electronic device;
响应于所述第一消息,执行所述第一操作。In response to the first message, the first operation is performed.
本申请实施例还提供了一种信息传输方法,应用于第三电子设备,所述方法包括:An embodiment of the present application also provides an information transmission method, which is applied to a third electronic device, and the method includes:
接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第三电子设备的上一跳的电子设备发送至所述第三电子设备;receiving a first message, the first message is generated by the first electronic device based on a first voice instruction and a first transmission path, the first voice instruction is used to instruct the second electronic device to perform a first operation, the The first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is transmitted by the third electronic device located in the first transmission path. The electronic device of the last hop of the device sends to the third electronic device;
向所述第一传输路径中位于所述第三电子设备的下一跳的电子设备发送所述第一消息。sending the first message to an electronic device that is a next hop of the third electronic device in the first transmission path.
本申请实施例还提供了一种信息传输装置,应用于第一电子设备,包括:An embodiment of the present application also provides an information transmission device applied to a first electronic device, including:
第一处理单元,被配置为响应于第一语音指令确定网络拓扑图,所述第一语音指令用于指示第二电子设备执行第一操作;A first processing unit configured to determine a network topology map in response to a first voice instruction, the first voice instruction being used to instruct the second electronic device to perform a first operation;
第二处理单元,被配置为基于所述网络拓扑图确定第一传输路径;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;A second processing unit configured to determine a first transmission path based on the network topology map; the first transmission path represents a message from the first electronic device to the second electronic device via at least one third electronic device transmission path;
第一生成单元,被配置为基于所述第一语音指令和所述第一传输路径生成第一消息;a first generating unit configured to generate a first message based on the first voice instruction and the first transmission path;
第一发送单元,被配置为向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息。The first sending unit is configured to send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
本申请实施例还提供了一种信息传输装置,应用于第二电子设备,包括:An embodiment of the present application also provides an information transmission device applied to a second electronic device, including:
第一接收单元,被配置为接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传 输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的电子设备发送至所述第二电子设备;The first receiving unit is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, and the first voice instruction is used to instruct the second electronic device to The device performs a first operation, the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, the first message is transmitted by the first electronic device sending to the second electronic device by an electronic device located at the last hop of the second electronic device in the path;
第三处理单元,被配置为响应于所述第一消息,执行所述第一操作。A third processing unit configured to execute the first operation in response to the first message.
本申请实施例还提供了一种信息传输装置,应用于第三电子设备,包括:An embodiment of the present application also provides an information transmission device applied to a third electronic device, including:
第二接收单元,被配置为接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第三电子设备的上一跳的电子设备发送至所述第三电子设备;The second receiving unit is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, and the first voice instruction is used to instruct the second electronic device to The device performs a first operation, the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, the first message is transmitted by the first electronic device sending to the third electronic device by an electronic device located at the last hop of the third electronic device in the path;
第二发送单元,被配置为向所述第一传输路径中位于所述第三电子设备的下一跳的电子设备发送所述第一消息。The second sending unit is configured to send the first message to an electronic device next hop to the third electronic device in the first transmission path.
本申请实施例还提供了一种信息传输系统,所述系统包括第一电子设备,至少一个第三电子设备和第二电子设备,其中,An embodiment of the present application also provides an information transmission system, the system includes a first electronic device, at least one third electronic device and a second electronic device, wherein,
所述第一电子设备,被配置为响应于第一语音指令确定网络拓扑图;基于所述网络拓扑图确定第一传输路径;基于所述第一语音指令和所述第一传输路径生成第一消息;以及向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息;所述第一语音指令用于指示第二电子设备执行第一操作;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;The first electronic device is configured to determine a network topology map in response to a first voice instruction; determine a first transmission path based on the network topology map; and generate a first transmission path based on the first voice instruction and the first transmission path. message; and sending the first message to a third electronic device located at the next hop of the first electronic device in the first transmission path; the first voice instruction is used to instruct the second electronic device to perform the first Operation; the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device;
所述至少一个第三电子设备中的每个第三电子设备被配置为接收所述第一消息,并向所述第一传输路径中位于对应的第三电子设备的下一跳的电子设备发送所述第一消息;所述第一消息由所述第一传输路径中位于对应的第三电子设备的上一跳的电子设备发送至对应的第三电子设备;Each third electronic device in the at least one third electronic device is configured to receive the first message, and send the first message to an electronic device that is next hop to the corresponding third electronic device in the first transmission path The first message; the first message is sent to the corresponding third electronic device by an electronic device that is a hop above the corresponding third electronic device in the first transmission path;
所述第二电子设备被配置为接收所述第一消息,并响应于所述第一消息,执行所述第一操作;所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的电子设备发送至所述第二电子设备。The second electronic device is configured to receive the first message and perform the first operation in response to the first message; The last hop electronic device of the electronic device sends to the second electronic device.
本申请实施例还提供了一种电子设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,The embodiment of the present application also provides an electronic device, including: a processor and a memory for storing a computer program that can run on the processor,
其中,所述处理器用于运行所述计算机程序时,执行上述信息传输方法的步骤。Wherein, when the processor is configured to run the computer program, it executes the steps of the above information transmission method.
本申请实施例提供的芯片,被配置为实现上述信息传输方法。The chip provided in the embodiment of the present application is configured to implement the above information transmission method.
该芯片包括:处理器,备配置为从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行上述信息传输方法的步骤。The chip includes: a processor, which is configured to call and run a computer program from the memory, so that the device installed with the chip executes the steps of the above information transmission method.
本申请实施例还提供了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述信息传输方法的步骤。The embodiment of the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above information transmission method are realized.
本申请实施例提供的计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行上述信息传输方法的步骤。The computer program product provided by the embodiments of the present application includes computer program instructions, and the computer program instructions cause a computer to execute the steps of the above information transmission method.
本申请实施例提供的计算机程序,当其在计算机上运行时,使得计算机执行上述信息传输方法的步骤。The computer program provided in the embodiment of the present application, when running on a computer, enables the computer to execute the steps of the above information transmission method.
附图说明Description of drawings
图1为本申请应用实施例提供的网络拓扑示意图;FIG. 1 is a schematic diagram of a network topology provided by an application embodiment of the present application;
图2为本申请实施例提供的信息传输方法的实现流程示例图;FIG. 2 is an example diagram of the implementation process of the information transmission method provided by the embodiment of the present application;
图3为本申请实施例提供的信息采集示意图;FIG. 3 is a schematic diagram of information collection provided by the embodiment of the present application;
图4A为本申请实施例提供的信息传输方法的实现流程示意图一;FIG. 4A is a first schematic diagram of the implementation flow of the information transmission method provided by the embodiment of the present application;
图4B为本申请实施例提供的信息传输方法的实现流程示意图二;FIG. 4B is a second schematic diagram of the implementation flow of the information transmission method provided by the embodiment of the present application;
图5为本申请又一实施例提供的信息传输方法的实现流程示意图;FIG. 5 is a schematic diagram of an implementation flow of an information transmission method provided in another embodiment of the present application;
图6为本申请另一实施例提供的信息传输方法的实现流程示意图;FIG. 6 is a schematic diagram of an implementation flow of an information transmission method provided by another embodiment of the present application;
图7为本申请再一实施例提供的信息传输方法的实现流程示意图;FIG. 7 is a schematic diagram of an implementation flow of an information transmission method provided in yet another embodiment of the present application;
图8为本申请实施例提供的近场跨设备执行场景的示意图;FIG. 8 is a schematic diagram of a near-field cross-device execution scenario provided by an embodiment of the present application;
图9为本申请实施例提供的信息传输方法的实现流程示意图;FIG. 9 is a schematic diagram of an implementation flow of an information transmission method provided by an embodiment of the present application;
图10为本申请应用实施例提供的有向图的示意图;FIG. 10 is a schematic diagram of a directed graph provided by an application embodiment of the present application;
图11为本申请应用实施例提供的传输路径示意图;FIG. 11 is a schematic diagram of a transmission path provided by an application embodiment of the present application;
图12为本申请实施例提供的信息传输结构的结构示意图;FIG. 12 is a schematic structural diagram of an information transmission structure provided by an embodiment of the present application;
图13为本申请另一实施例提供的信息传输结构的结构示意图;FIG. 13 is a schematic structural diagram of an information transmission structure provided by another embodiment of the present application;
图14为本申请又一实施例提供的信息传输结构的结构示意图;FIG. 14 is a schematic structural diagram of an information transmission structure provided by another embodiment of the present application;
图15为本申请实施例提供的电子设备的硬件组成结构示意图;FIG. 15 is a schematic diagram of a hardware composition structure of an electronic device provided by an embodiment of the present application;
图16为本申请实施例提供的一种芯片结构组成示意图。FIG. 16 is a schematic diagram of a chip structure provided by an embodiment of the present application.
具体实施方式Detailed ways
目前,部署有语音助手的电子设备能够支持用户语音交互操作,比如:智能对话或即时问答语音交互操作。Currently, electronic devices deployed with voice assistants can support user voice interaction operations, such as intelligent dialogue or instant question-and-answer voice interaction operations.
实际应用时,存在语音交互操作需要跨多个设备进行操作的场景。相关技术中,语音指令跨设备执行延迟较高。In practical applications, there are scenarios where voice interaction operations need to be performed across multiple devices. In related technologies, the execution delay of voice commands across devices is relatively high.
另外,依据不同电子设备所支持的网路特性和网络部署情况,存在语音指令在异构网络中执行的情况,比如手机具有Wi-Fi通信能力和蓝牙通信能力,手表具有蓝牙通信能力,电视具有Wi-Fi通信能力。在语音指令跨异构网络传输的情况下,通常采用云端通信方案来实现设备互联,电子设备之间的语音指令需要通过云端中转才能实现跨设备执行,导致语音指令跨设备执行的延迟较高,延迟现象突出。在语音指令跨异构网络传输的情况下,每个电子设备都需要具备上云的能力,对电子设备的性能要求高。In addition, according to the network characteristics and network deployment conditions supported by different electronic devices, there are cases where voice commands are executed in heterogeneous networks. For example, mobile phones have Wi-Fi communication capabilities and Bluetooth communication capabilities, watches have Bluetooth communication capabilities, and TVs have Wi-Fi communication capability. In the case of transmission of voice commands across heterogeneous networks, cloud communication solutions are usually used to realize device interconnection. Voice commands between electronic devices need to be transferred through the cloud to achieve cross-device execution, resulting in high delays in the execution of voice commands across devices. Latency is prominent. In the case of transmission of voice commands across heterogeneous networks, each electronic device needs to be able to access the cloud, which requires high performance of electronic devices.
基于此,在本申请的各种实施例中,第一电子设备响应于第一语音指令确定网络拓扑图,基于网络拓扑图确定第一传输路径;基于第一语音指令和第一传输路径生成第一消息;以及向第一传输路径中位于第一电子设备的下一跳的第三电子设备发送第一消息;第一语音指令用于指示第二电子设备执行第一操作;第一传输路径表征从第一电子设备经至少一个第三电子设备到第二电子设备的消息传输路径;至少一个第三电子设备中的每个第三电子设备接收第一消息,并向第一传输路径中位于对应的第三电子设备的下一跳的电子设备发送第一消息;第一消息由第一传输路径中位于对应的第三电子设备的上一跳的电子设备发送至对应的第三电子设备;第二电子设备接收第一消息,并响应于第一消息,执行第一操作;第一消息由第一传输路径中位于第二电子设备的上一跳的第三电子设备发送至第二电子设备。这样,能够在跨设备执行场景下,实现语音指令相关的操作请求和操作响应在唤醒设备和目标设备之间的传输,在很大程度上减少了语音指令跨设备执行的延迟,提高了跨设备执行的执行效率。Based on this, in various embodiments of the present application, the first electronic device determines the network topology map in response to the first voice instruction, and determines the first transmission path based on the network topology map; generates the second transmission path based on the first voice instruction and the first transmission path. A message; and sending a first message to a third electronic device located at the next hop of the first electronic device in the first transmission path; the first voice command is used to instruct the second electronic device to perform a first operation; the first transmission path represents A message transmission path from the first electronic device to the second electronic device via at least one third electronic device; each third electronic device in the at least one third electronic device receives the first message, and transmits the message to the corresponding location in the first transmission path The electronic device next hop of the third electronic device sends the first message; the first message is sent to the corresponding third electronic device by the electronic device located at the previous hop of the corresponding third electronic device in the first transmission path; The second electronic device receives the first message, and executes the first operation in response to the first message; the first message is sent to the second electronic device by a third electronic device that is a hop above the second electronic device in the first transmission path. In this way, in the cross-device execution scenario, the transmission of voice command-related operation requests and operation responses between the wake-up device and the target device can be realized, which greatly reduces the delay of voice command cross-device execution and improves cross-device Execution efficiency.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
首先,对跨设备执行场景进行相关说明:First, a description of the cross-device execution scenario:
结合图1示出的多设备组成的网络拓扑示意图,其中,多个设备之间支持基于蓝牙、Wi-Fi等短距离无线通信方式或者其他无线通信方式实现互联互通,并且,每个设备中均安装有语音助手,用于支持用户输入语音指令,以及支持基于语音指令跨设备传输对应的操作指示。在跨设备执行场景下,唤醒设备为接收到语音指令的设备,目标设备为执行语音指令的设备。例如,图1中手表A接收到语音指令“将空调调高1度”,那么该语音指令对应的唤醒设备为手表A,对应的目标设备为空调D。Combining with the schematic diagram of network topology composed of multiple devices shown in Figure 1, multiple devices support interconnection and intercommunication based on short-distance wireless communication methods such as Bluetooth and Wi-Fi or other wireless communication methods, and each device has A voice assistant is installed to support the user to input voice commands, and to support the transmission of corresponding operation instructions based on voice commands across devices. In the cross-device execution scenario, the wake-up device is the device that receives the voice command, and the target device is the device that executes the voice command. For example, in Figure 1, watch A receives the voice command "turn up the air conditioner by 1 degree", then the wake-up device corresponding to the voice command is watch A, and the corresponding target device is air conditioner D.
通常,在下发语音指令后,会对应发生的一个消息传输过程为关于语音指令的请求消息的传输过程,对应的消息传输方向为从唤醒设备至目标设备。在目标设备接收到对应的请求消息并执行了语音指令指示的操作之后,还可能会发生另一个消息传输过程,即关于语音指令的响应消息的传输过程,对应的消息传输方向为从目标设备至唤醒设备,用于将目标设备对操作的执行结果反馈给唤醒设备。在实际应用时,上述第一个消息传输过程必然会发生,上述第二个消息传输过程可能发生也可能不发生。例如,结合上文语音指令“将空调调高1度”的示例,关于“将空调调高1度”的请求消息由手表A传输至空调D,在执行了将温度调高1度的操作之后,空调D还可以选择生成用于表明已执行了相关操作的响应消息,并将该响应消息由空调D传输给手表A,从而在手表A上会对应给出“空调已调高1度”的语音提示或文字提示。Usually, after the voice command is issued, a corresponding message transmission process that occurs is a transmission process of a request message about the voice command, and the corresponding message transmission direction is from the wake-up device to the target device. After the target device receives the corresponding request message and performs the operation indicated by the voice command, another message transmission process may also occur, that is, the transmission process of the response message about the voice command. The corresponding message transmission direction is from the target device to the A wake-up device is used to feed back the execution result of the target device to the operation to the wake-up device. In actual application, the above-mentioned first message transmission process will inevitably occur, and the above-mentioned second message transmission process may or may not occur. For example, in combination with the above example of the voice command "turn up the air conditioner by 1 degree", the request message about "turn up the air conditioner by 1 degree" is transmitted from watch A to air conditioner D, after the operation of raising the temperature by 1 degree is performed , the air conditioner D can also choose to generate a response message indicating that the relevant operation has been performed, and transmit the response message from the air conditioner D to the watch A, so that the corresponding "air conditioner has been turned up by 1 degree" will be given on the watch A Voice prompt or text prompt.
接下来,结合上文提供的跨设备执行场景,对跨设备执行过程中的信息传输方法进行详细说明:Next, combined with the cross-device execution scenario provided above, the information transmission method in the cross-device execution process is described in detail:
图2为本申请实施例提供的信息传输方法的实现流程示意图,其中,流程的执行主体包括但不限于手机、平板、智能手表、智能家电等电子设备。如图2示出的信息传输方法,应用于电子设备甲,包括:FIG. 2 is a schematic diagram of an implementation process of the information transmission method provided by the embodiment of the present application, wherein the execution subject of the process includes but is not limited to electronic devices such as mobile phones, tablets, smart watches, and smart home appliances. The information transmission method shown in Figure 2 is applied to electronic device A, including:
步骤201:基于第一语音指令对应的第一传输路径,确定电子设备乙。Step 201: Determine electronic device B based on the first transmission path corresponding to the first voice instruction.
其中,基于所述第一语音指令生成的第一消息包括了关于第一语音指令的操作请求信息或者操作响应信息,第一传输路径表征从第一语音指令的唤醒设备(也即是源设备),经至少一个中间设备到目标设备(也即是执行设备)的消息传输路径。以下为了方便理解,将第一语音指令的源设备描述为唤醒设备,将第一语音指令的执行设备描述为目标设备。电子设备甲可以理解为作为第一传输路径上任一节点的电子设备,包括但不限于:唤醒设备,目标设备,以及第一传输路径上位于唤醒设备和目标设备之间的电子设备。电子设备乙表征所述第一传输路径中在所述第一消息的传输方向上位于电子设备甲的下一跳的电子设备,其中,对关于第一语音指令的操作请求信息来说,对应的消息传输方向为由唤醒设备到 目标设备的传输路径方向,对关于第一语音指令的操作响应信息来说,对应的消息传输方向为由目标设备到唤醒设备的传输路径方向。所述第一语音指令用于指示所述目标设备,即目标设备执行第一操作。例如,在图1所示的网络拓扑中,手表A接收到语音指令“将空调调高1度”,那么该语音指令对应的唤醒设备为手表A,对应的目标设备为空调D。Wherein, the first message generated based on the first voice command includes operation request information or operation response information about the first voice command, and the first transmission path represents the wake-up device (that is, the source device) from the first voice command , a message transmission path from at least one intermediate device to the target device (that is, the execution device). For the convenience of understanding, the source device of the first voice command is described as the wake-up device, and the execution device of the first voice command is described as the target device. Electronic device A can be understood as any electronic device on the first transmission path, including but not limited to: the wake-up device, the target device, and the electronic device between the wake-up device and the target device on the first transmission path. The electronic device B represents the electronic device located at the next hop of the electronic device A in the transmission direction of the first message in the first transmission path, wherein, for the operation request information about the first voice instruction, the corresponding The message transmission direction is the transmission path direction from the wake-up device to the target device, and for the operation response information about the first voice command, the corresponding message transmission direction is the transmission path direction from the target device to the wake-up device. The first voice instruction is used to instruct the target device, that is, the target device to perform a first operation. For example, in the network topology shown in Figure 1, watch A receives the voice command "turn up the air conditioner by 1 degree", then the wake-up device corresponding to the voice command is watch A, and the corresponding target device is air conditioner D.
实际应用时,第一传输路径携带在第一消息中,可以由第一消息中的一个字段表征。在实际应用中,基于图1示出的多设备组成的网络拓扑示例图,以第一传输路径为“手表A-手机B-空调D”为例,对应字段的字段值可以为“[A,B,D]”,这里,用于标识对应电子设备的“A”、“B”“D”也可以表征为对应电子设备身份标识号(ID,Identity document)。In practical applications, the first transmission path is carried in the first message and may be represented by a field in the first message. In practical applications, based on the network topology example diagram composed of multiple devices shown in Figure 1, taking the first transmission path as "watch A-mobile phone B-air conditioner D" as an example, the field value of the corresponding field can be "[A, B, D]", here, "A", "B" and "D" used to identify the corresponding electronic device can also be characterized as the corresponding electronic device ID (ID, Identity document).
步骤202:向电子设备乙发送第一消息。Step 202: Send a first message to electronic device B.
在本实施例中,基于第一消息中携带的第一传输路径确定出下一跳的电子设备,并向确定出的电子设备发送第一消息,这样,能够在跨设备执行场景下,实现语音指令相关的操作请求和操作响应在唤醒设备和目标设备之间的传输,在很大程度上减少了语音指令跨设备执行的延迟,提高了跨设备执行的执行效率。In this embodiment, the next-hop electronic device is determined based on the first transmission path carried in the first message, and the first message is sent to the determined electronic device. In this way, in the cross-device execution scenario, voice The transmission of instruction-related operation requests and operation responses between the wake-up device and the target device greatly reduces the delay in cross-device execution of voice commands and improves the execution efficiency of cross-device execution.
其中,在一实施例中,所述第一传输路径表征由至少三个电子设备构成的传输路径。唤醒设备和所述目标设备支持的通信方式可以相同或者不相同。Wherein, in an embodiment, the first transmission path represents a transmission path formed by at least three electronic devices. The communication modes supported by the wake-up device and the target device may be the same or different.
实际应用时,在异构网络的情况下,所述第一传输路径表征由至少三个电子设备构成的消息传输路径;其中,所述唤醒设备和所述目标设备支持的通信方式可以相同或者不相同。在一个实施例中,结合图1示出的多设备组成的网络拓扑示例图,第一传输路径“手表A-手机B-空调D”表征为由三个电子设备构成的传输路径,其中,手表A仅具有蓝牙通信能力,手机B具有Wi-Fi通信能力和蓝牙通信能力,空调D具有Wi-Fi通信能力,对应的唤醒设备和目标设备所支持的通信方式不相同,那么在第一传输路径上,手表A与手机B之间基于蓝牙通信能力进行信息传输,手机B与空调D之间基于Wi-Fi通信能力进行信息传输,从而实现异构网络中的跨设备执行。基于第一消息携带的第一传输路径,实现在异构网络中的信息传输,在唤醒设备与目标设备之间不支持相互通信的情况下,不需要通过云端仍然能实现跨设备执行,这样,不再要求异构网络中的每个电子设备都具备上云的能力,降低了对电子设备的软硬件要求。In practical applications, in the case of a heterogeneous network, the first transmission path represents a message transmission path formed by at least three electronic devices; wherein, the communication modes supported by the wake-up device and the target device may be the same or different. same. In one embodiment, with reference to the network topology example diagram composed of multiple devices shown in Figure 1, the first transmission path "watch A-mobile phone B-air conditioner D" is represented as a transmission path composed of three electronic devices, wherein the watch A only has Bluetooth communication capabilities, mobile phone B has Wi-Fi communication capabilities and Bluetooth communication capabilities, and air conditioner D has Wi-Fi communication capabilities. The communication methods supported by the corresponding wake-up device and the target device are different. In the above, the information transmission between the watch A and the mobile phone B is based on the Bluetooth communication capability, and the information transmission between the mobile phone B and the air conditioner D is based on the Wi-Fi communication capability, so as to realize cross-device execution in a heterogeneous network. Based on the first transmission path carried by the first message, the information transmission in the heterogeneous network is realized. When the wake-up device and the target device do not support mutual communication, cross-device execution can still be realized without going through the cloud. In this way, It is no longer required that every electronic device in the heterogeneous network has the ability to go to the cloud, which reduces the software and hardware requirements for electronic devices.
前文提及,对应到关于第一语音指令的请求消息和响应消息,在第一传输路径中分别对应不同的消息传输方向,因此,在一实施例中,在所述确定电子设备乙之前,所述方法还包括:As mentioned above, the request message and the response message corresponding to the first voice command correspond to different message transmission directions in the first transmission path. Therefore, in an embodiment, before the electronic device B is determined, the The method also includes:
基于所述第一消息的类型,确定所述第一消息的传输方向;其中,Based on the type of the first message, determine the transmission direction of the first message; wherein,
所述第一消息的类型包括关于所述第一操作的请求消息或关于所述第一操作的响应消息。The type of the first message includes a request message about the first operation or a response message about the first operation.
这里,第一消息的类型可以为关于第一操作的请求消息,第一消息的传输方向为由源设备向目标设备传输。第一消息的类型可以为关于第一操作的响应消息,第一消息的传输方向为由目标设备向源设备传输。对于请求消息,电子设备甲正向查找第一传输路径,从而确定电子设备乙。对于响应消息,电子设备甲反向查找第一传输路径,从而确定电子设备乙。Here, the type of the first message may be a request message about the first operation, and the transmission direction of the first message is from the source device to the target device. The type of the first message may be a response message about the first operation, and the transmission direction of the first message is from the target device to the source device. For the request message, electronic device A is looking forward to the first transmission path, so as to determine electronic device B. For the response message, electronic device A reversely searches the first transmission path, so as to determine electronic device B.
例如,第一传输路径表征为[A,B,D]。在第一消息的类型为请求消息的情况下,电子设备甲(即电子设备B)正向查找第一传输路径[A,B,D],确定电子设备乙为D。在第一消息的类型为响应消息的情况下,电子设备甲(即电子设备B)反向查找第一传输路径[A,B,D],确定电子设备乙为A。For example, the first transmission path is characterized as [A, B, D]. When the type of the first message is a request message, electronic device A (namely electronic device B) is searching for the first transmission path [A, B, D], and determines that electronic device B is D. In the case that the type of the first message is a response message, electronic device A (ie, electronic device B) reversely searches the first transmission path [A, B, D], and determines that electronic device B is A.
这样,基于携带第一传输路径的第一消息的消息类型,可以实现唤醒设备与目标设备之间的双向查找传输路径。In this way, based on the message type of the first message carrying the first transmission path, bidirectional search for a transmission path between the wake-up device and the target device can be realized.
实际应用时,可以在第一消息的相关字段中对消息类型进行标识,以方便电子设备确定消息传输方向。基于此,在一实施例中,在所述确定所述第一消息的传输方向之前,所述方法还包括:In practical applications, the message type may be identified in a relevant field of the first message, so as to facilitate the electronic device to determine the message transmission direction. Based on this, in an embodiment, before the determining the transmission direction of the first message, the method further includes:
基于所述第一消息中携带的第一字段,确定所述第一消息的传输方向;其中,Determine the transmission direction of the first message based on the first field carried in the first message; wherein,
所述第一字段表征所述第一消息的类型。The first field characterizes the type of the first message.
这里,第一消息中携带有至少一个表征第一消息的类型的第一字段,电子设备基于读取第一字段,确定第一消息的类型为关于第一操作的请求消息或关于第一操作的响应消息,从而确定第一消息的传输方向。Here, the first message carries at least one first field representing the type of the first message, and the electronic device determines that the type of the first message is a request message about the first operation or a message about the first operation based on reading the first field. Respond to the message, so as to determine the transmission direction of the first message.
这里,第一字段的形式,包括但不限于以下几种形式:Here, the form of the first field includes but is not limited to the following forms:
表征第一消息类型的字段;例如,0为请求消息,1为响应消息;Characterize the field of the first message type; for example, 0 is a request message, 1 is a response message;
表征第一消息的源设备的标识字段和/或第一消息的目标设备的标识字段;例如,源设备A的ID,基于源设备A的ID作为标识字段和第一传输路径[A,B,D],能够确定为第一消息为请求消息。Characterize the identification field of the source device of the first message and/or the identification field of the destination device of the first message; for example, the ID of the source device A, based on the ID of the source device A as the identification field and the first transmission path [A, B, D], it can be determined that the first message is a request message.
在实际应用中,电子设备也可以通过解析第一消息携带的消息内容中负载的第一语音指令,确定第一消息的类型。具体包括,第一消息携带有第一语音指令相关的消息内容,不同类型的第一消息的消息内容存在区别,例如,请求消息的格式是不确定的,而响应消息是“已执行”、“已开启”等设定的文本内容或“洗衣机已执行洗涤任务”、“电视已执行下载任务”等确定的格式。此时,消息内容可以认 为是一种第一字段。In practical applications, the electronic device may also determine the type of the first message by analyzing the first voice instruction carried in the message content carried in the first message. Specifically, the first message carries the message content related to the first voice instruction, and the message content of different types of first messages is different. For example, the format of the request message is uncertain, while the response message is "executed", " The text content of settings such as "opened" or the determined format such as "the washing machine has performed the washing task" and "the TV has performed the downloading task". At this point, the message content can be considered as a first field.
接下来,分别针对电子设备甲为唤醒设备、目标设备或者第一传输路径上位于唤醒设备和目标设备之间的中间电子设备的情况,对本方案进行进一步说明:Next, this scheme is further described for the case where electronic device A is the wake-up device, the target device, or an intermediate electronic device located between the wake-up device and the target device on the first transmission path:
首先,针对电子设备甲为唤醒设备的情况,也即电子设备甲为第一语音指令的源设备的情况,在对应的实施例中,在所述确定电子设备乙之前,所述方法还包括:First, for the case where electronic device A is the wake-up device, that is, the case where electronic device A is the source device of the first voice command, in a corresponding embodiment, before determining electronic device B, the method further includes:
接收所述第一语音指令;receiving the first voice instruction;
基于所述第一语音指令对应的目标设备和设定的网络拓扑图,确定所述第一传输路径;determining the first transmission path based on the target device corresponding to the first voice command and the set network topology;
至少基于所述第一语音指令和所述第一传输路径,构建所述第一消息;其中,Constructing the first message based at least on the first voice instruction and the first transmission path; wherein,
所述第一消息用于请求所述目标设备执行所述第一操作。The first message is used to request the target device to perform the first operation.
这里,对于唤醒设备,通过语音采集模块如麦克风,采集用户的语音,从而接收到第一语音指令,基于第一语音指令指示执行第一操作的目标设备和设定的网络拓扑图确定第一传输路径,并至少基于第一语音指令和第一传输路径构建第一消息。Here, for the wake-up device, the voice of the user is collected by a voice collection module such as a microphone, so as to receive the first voice instruction, and the first transmission is determined based on the first voice instruction indicating the target device performing the first operation and the set network topology map. path, and constructing the first message based at least on the first voice instruction and the first transmission path.
这里,设定的网络拓扑图表征电子设备甲所在的网络的网络拓扑图,也可以称为网络拓扑快照。在异构网络中,网络拓扑图能够体现出各节点之间是否支持通信。Here, the set network topology graph represents the network topology graph of the network where electronic device A is located, and may also be called a network topology snapshot. In a heterogeneous network, the network topology map can reflect whether communication is supported between nodes.
这里,第一消息至少携带有第一语音指令和第一传输路径。表1示出了一种第一消息的格式示例。Here, the first message at least carries the first voice instruction and the first transmission path. Table 1 shows an example format of the first message.
表1Table 1
目标设备IDtarget device ID 源设备IDSource Device ID 事务IDTransaction ID 第一传输路径first transmission path 消息内容Message content
其中,in,
目标设备ID表征第一消息要发送到的节点的电子设备ID;The target device ID characterizes the electronic device ID of the node to which the first message is to be sent;
源设备ID表征产生第一消息的节点的电子设备ID;The source device ID characterizes the electronic device ID of the node that generated the first message;
事务ID用于唯一标示请求消息和对应的响应消息,例如,请求消息的事务ID为1,则对应的响应消息的事务ID也为1;The transaction ID is used to uniquely identify the request message and the corresponding response message. For example, if the transaction ID of the request message is 1, the transaction ID of the corresponding response message is also 1;
第一传输路径表征至少两个电子设备构成的传输路径;The first transmission path represents a transmission path formed by at least two electronic devices;
消息内容用于承载第一语音指令相关的请求内容或者响应内容。The message content is used to carry request content or response content related to the first voice instruction.
这里,电子设备甲确定出第一语音指令对应的第一传输路径,并至少基于第一传输路径构建用于关于第一语音指令的请求消息,这样,电子设备甲根据对应的第一传输路径确定下一跳的电子设备乙,向电子设备乙对应发送第一消息,从而实现消息的传输。Here, electronic device A determines the first transmission path corresponding to the first voice instruction, and constructs a request message for the first voice instruction based at least on the basis of the first transmission path, so that electronic device A determines according to the corresponding first transmission path The next-hop electronic device B correspondingly sends the first message to the electronic device B, thereby realizing message transmission.
在一些应用场景中,一条语音指令可能对应两个以上的目标设备,基于此,在一实施例中,唤醒设备基于第一语音指令对应的至少两个目标设备和设定的网络拓扑图,确定至少两个第一传输路径;至少基于第一语音指令和至少两个第一传输路径,构建第一消息。In some application scenarios, one voice command may correspond to more than two target devices. Based on this, in one embodiment, the wake-up device determines based on at least two target devices corresponding to the first voice command and the set network topology map. At least two first transmission paths; constructing a first message based at least on the first voice instruction and the at least two first transmission paths.
也就是说,在一条语音指令对应两个以上的目标设备的情况下,本方案同样适用。That is to say, this solution is also applicable when one voice command corresponds to more than two target devices.
例如,手机接收到语音指令“关闭卧室所有电器”,此时,目标设备包括电视、空调这两个电子设备,那么对应确定出由手机到电视以及由手机到空调这两个第一传输路径,进而对应生成一条第一消息,向两个第一传输路径的下一跳的电子设备乙发送第一消息,从而完成跨设备多设备执行。For example, the mobile phone receives the voice command "Turn off all electrical appliances in the bedroom". At this time, the target devices include two electronic devices, the TV and the air conditioner. Then, the two first transmission paths from the mobile phone to the TV and from the mobile phone to the air conditioner are correspondingly determined. Then, a first message is correspondingly generated, and the first message is sent to the next-hop electronic device B of the two first transmission paths, thereby completing cross-device multi-device execution.
其次,针对电子设备甲为目标设备的情况,也即电子设备甲为第一语音指令的目标设备的情况,在一实施例中,在所述确定电子设备乙之前,所述方法还包括:Secondly, for the case where electronic device A is the target device, that is, the case where electronic device A is the target device of the first voice instruction, in an embodiment, before the electronic device B is determined, the method further includes:
至少基于对所述第一操作的执行结果和所述第一传输路径,构建所述第一消息;其中,Constructing the first message based at least on the execution result of the first operation and the first transmission path; wherein,
所述第一消息表征对所述第一操作的执行响应。The first message represents an execution response to the first operation.
这里,对于目标设备,在接收到第一语音指令对应的请求消息后,执行第一语音指令指示的第一操作,得到第一操作的执行结果,并至少基于第一操作的执行结果和第一传输路径,构建第一消息。这里,第一传输路径可以是从请求消息中提取出的传输路径信息,也可以是反向处理后的传输路径信息,在传输路径信息经过反向处理的情况下,在发送响应消息的过程中,各电子设备正向查找第一传输路径。Here, for the target device, after receiving the request message corresponding to the first voice command, execute the first operation indicated by the first voice command, obtain the execution result of the first operation, and at least based on the execution result of the first operation and the first Transmission path, constructing the first message. Here, the first transmission path may be the transmission path information extracted from the request message, or the transmission path information after reverse processing. , each electronic device is searching for the first transmission path forward.
这里,电子设备甲至少基于第一传输路径,构建表征第一操作的执行响应的第一消息,这样,电子设备甲根据对应的第一传输路径确定下一跳的电子设备乙,向电子设备乙对应发送第一消息,从而实现消息的传输。Here, electronic device A constructs the first message representing the execution response of the first operation at least based on the first transmission path, so that electronic device A determines the next-hop electronic device B according to the corresponding first transmission path, and sends electronic device B Correspondingly sending the first message, so as to realize the transmission of the message.
再次,针对电子设备甲为中间设备的情况,也即电子设备甲为第一传输路径上位于唤醒设备和目标设备之间的中间电子设备的情况,在一实施例中,在所述确定电子设备乙之前,所述方法还包括:Again, for the case that electronic device A is an intermediate device, that is, the electronic device A is an intermediate electronic device located between the wake-up device and the target device on the first transmission path, in an embodiment, in the determination of the electronic device Before B, the method also includes:
接收所述第一消息;其中,receiving the first message; wherein,
所述第一消息由所述第一传输路径中在所述第一消息的传输方向上位于所述电子设备甲上一跳的电子设备发送。The first message is sent by an electronic device located one hop above the electronic device A in the transmission direction of the first message in the first transmission path.
这里,电子设备甲作为信息传输的中间节点的中间设备,接收来自第一传输路径中消息传输方向上的上一跳的电子设备发送的第一消息。例如,基于图1示出的多设备组成的网络拓扑示例图,以第一传输路径为“手表A-手机B-空调D”为例,手机B接收到来自手表A的第一消息。Here, the electronic device A is an intermediate device serving as an intermediate node of information transmission, and receives the first message sent from the electronic device at the last hop in the message transmission direction in the first transmission path. For example, based on the network topology example diagram composed of multiple devices shown in FIG. 1 , taking the first transmission path as "watch A-mobile phone B-air conditioner D" as an example, mobile phone B receives the first message from watch A.
在本申请的一实施例中,所述确定电子设备乙,包括:In an embodiment of the present application, the determination of electronic device B includes:
确定所述第一消息的目标设备是否为所述电子设备甲;determining whether the target device of the first message is the electronic device A;
在所述第一消息的目标设备不为所述电子设备甲的情况下,确定所述电子设备乙。If the target device of the first message is not the electronic device A, determine the electronic device B.
这里,电子设备甲基于第一传输路径,判断第一消息的目标设备是否为电子设备甲,在判断结果表征第一消息的目标设备不为电子设备甲的情况下,电子设备甲需要转发消息,基于第一传输路径确定下一跳的电子设备乙。Here, electronic device A judges whether the target device of the first message is electronic device A on the first transmission path, and if the judgment result indicates that the target device of the first message is not electronic device A, electronic device A needs to forward the message , determining a next-hop electronic device B based on the first transmission path.
这里,在判断结果表征第一消息的目标设备为电子设备甲的情况下,若第一消息表征关于第一语音指令的请求消息,那么电子设备甲则作为第一语音指令对应的目标设备,执行请求消息指示的第一操作;若第一消息表征关于第一语音指令的响应消息,那么电子设备甲在收到响应消息之后,基于响应消息给出对应的语音提示或文字提示,并结束第一语音指令相关的执行过程。Here, in the case where the judgment result indicates that the target device of the first message is electronic device A, if the first message represents a request message about the first voice command, then electronic device A, as the target device corresponding to the first voice command, executes The first operation indicated by the request message; if the first message represents a response message about the first voice command, then after receiving the response message, electronic device A gives a corresponding voice prompt or text prompt based on the response message, and ends the first operation. The execution process related to the voice command.
前文提及第一传输路径基于所述第一语音指令对应的目标设备和设定的网络拓扑图生成,在本申请实施例中,还提供了一种网络拓扑图的生成方法,以下对网络拓扑图的生成方法进行说明:As mentioned above, the first transmission path is generated based on the target device corresponding to the first voice command and the set network topology map. In the embodiment of the present application, a method for generating a network topology map is also provided. The following describes the network topology The method of generating the graph is explained:
在一实施例中,在所述确定电子设备乙之前,所述方法还包括:In an embodiment, before the determination of the electronic device B, the method further includes:
广播第一请求;所述第一请求用于请求至少一个电子设备丙中的每个电子设备丙上报邻居电子设备列表;所述电子设备丙表征所述电子设备甲的邻居电子设备;Broadcasting a first request; the first request is used to request each electronic device C in at least one electronic device C to report a neighbor electronic device list; the electronic device C represents the neighbor electronic device of the electronic device A;
接收所述至少一个电子设备丙中的每个电子设备丙上报的邻居电子设备列表;电子设备丙上报的邻居电子设备列表包括用于描述对应的电子设备丙的邻居电子设备的信息以及对应的电子设备丙接收到的邻居电子设备列表。Receive the neighbor electronic device list reported by each electronic device C in the at least one electronic device C; the neighbor electronic device list reported by the electronic device C includes information for describing the neighbor electronic device of the corresponding electronic device C and the corresponding electronic device C. The list of neighboring electronic devices received by device C.
这里,电子设备甲和至少一个电子设备丙支持至少一种相同的通信方式。Here, electronic device A and at least one electronic device C support at least one same communication mode.
实际应用时,可以理解为,网络拓扑中的每个电子设备均广播第一请求,接收到第一请求的电子设备向广播第一请求的电子设备上报各自对应的邻居电子设备列表。这里,上报的邻居电子设备列表包括用于描述电子设备的邻居电子设备的信息以及电子设备自身接收到的邻居电子设备列表,其中,邻居电子设备可以理解为与电子设备支持相同通信能力的电子设备。这样,第一请求从一个电子设备开始层层下发,最终使得网络拓扑中的每个电子设备都接收到第一请求,并基于第一请求采集各自对应的邻居电子设备列表,而后,每个电子设备采集到的邻居电子设备列表又通过层层上报的方式,最终传递回发起第一请求的电子设备处,由发起第一请求的电子设备综合所有的邻居电子设备列表,在此基础上建立起网络拓扑图。In practical application, it can be understood that each electronic device in the network topology broadcasts the first request, and the electronic device that receives the first request reports its corresponding neighbor electronic device list to the electronic device that broadcasts the first request. Here, the reported neighbor electronic device list includes information describing the neighbor electronic device of the electronic device and the neighbor electronic device list received by the electronic device itself, wherein the neighbor electronic device can be understood as an electronic device that supports the same communication capability as the electronic device . In this way, the first request is issued layer by layer from one electronic device, and finally each electronic device in the network topology receives the first request, and based on the first request collects its corresponding neighbor electronic device list, and then each The neighbor electronic device list collected by the electronic device is reported layer by layer, and finally passed back to the electronic device that initiated the first request, and the electronic device that initiated the first request synthesizes all the neighbor electronic device lists, and establishes on this basis Start the network topology diagram.
在一实施例中,所述广播第一请求,包括:In an embodiment, the broadcasting the first request includes:
在接收到第二语音指令的情况下广播所述第一请求;和/或,broadcasting said first request upon receipt of a second voice command; and/or,
在接收到所述第一请求的情况下广播所述第一请求;其中,broadcasting the first request if the first request is received; wherein,
所述第二语音指令用于指示获取网络拓扑图。The second voice instruction is used to instruct to acquire the network topology map.
这里,第二语音指令用于指示电子设备甲获取网络拓扑图,用于发起网络拓扑图的创建过程的电子设备在接收到第一语音指令的情况下发起对应的创建过程。在某些情况下,第二语音指令也可以是第一语音指令,换句话说,唤醒设备在接收到用于指示目标设备执行操作的第一语音指令的情况下,先通过广播第一请求以获取网络拓扑图,再基于网络拓扑图确定第一语音指令对应的第一传输路径。Here, the second voice instruction is used to instruct electronic device A to obtain the network topology map, and the electronic device used to initiate the creation process of the network topology map initiates the corresponding creation process after receiving the first voice instruction. In some cases, the second voice command may also be the first voice command. In other words, when the wake-up device receives the first voice command for instructing the target device to perform an operation, it first broadcasts the first request to Acquire the network topology map, and then determine the first transmission path corresponding to the first voice instruction based on the network topology map.
而在第一请求层层下发的过程中,其他电子设备是在接收到邻居电子设备广播的第一请求之后,启动对邻居电子设备列表的采集过程。In the process of sending the first request layer by layer, other electronic devices start the process of collecting the neighbor electronic device list after receiving the first request broadcast by the neighbor electronic device.
在实际应用中,如图3示出的信息采集示意图,设备A为唤醒设备在接收到第一语音指令的情况下,向两个邻居电子设备B、C广播第一请求。邻居电子设备B的设备B在接收到第一请求的情况下,向邻居电子设备D广播第一请求。邻居电子设备C的设备C在接收到第一请求的情况下,向邻居电子设备D广播第一请求。邻居电子设备D的设备D基于接收到的设备B和设备C的两个第一请求,向两个邻居电子设备B、C上报设备D的邻居电子设备的信息D:[B,C],表征设备D的邻居电子设备为设备B和设备C。设备B基于接收到的设备A的第一请求,向邻居电子设备A上报设备B的邻居电子设备的信息B:[A,D]和接收到的邻居电子设备列表D:[B,C]。设备C基于接收到的设备A的第一请求,向邻居电子设备A上报设备C的邻居电子设备的信息C:[A,D]和接收到的邻居电子设备列表D:[B,C]。In practical applications, as shown in the schematic diagram of information collection in FIG. 3 , device A broadcasts a first request to two neighboring electronic devices B and C in order to wake up the device after receiving the first voice command. The device B of the neighboring electronic device B broadcasts the first request to the neighboring electronic device D upon receiving the first request. The device C of the neighboring electronic device C broadcasts the first request to the neighboring electronic device D upon receiving the first request. The device D of the neighboring electronic device D reports the information D of the neighboring electronic device of the device D to the two neighboring electronic devices B and C based on the received two first requests of the device B and the device C: [B, C], characterized The neighbor electronic devices of device D are device B and device C. Based on the received first request from device A, device B reports to neighbor electronic device A the information B: [A, D] of device B's neighbor electronic devices and the received neighbor electronic device list D: [B, C]. Based on the received first request from device A, device C reports to neighbor electronic device A the information C: [A, D] of device C's neighbor electronic devices and the received neighbor electronic device list D: [B, C].
在一实施例中,所述方法还包括:In one embodiment, the method also includes:
基于接收到的邻居电子设备列表,生成所述网络拓扑图;或,generating the network topology map based on the received neighbor electronic device list; or,
获取所述电子设备丙发送的所述网络拓扑图。Obtain the network topology map sent by the electronic device C.
这里,在电子设备甲为获取网络拓扑图的发起方的情况下,电子设备甲基于层层上报的邻居电子设备列表进行汇总,进而生成网络拓扑图。在电子设备甲不为获取网络拓扑图的发起方的情况下,对应的发起方直接或间接通过其他电子设备将生成的网络拓扑图传输至电子设备甲进行保存,这样,电子设备甲在接收到第一语音指令后,便可以根据对应的目标设备和保存的网络拓扑图,规划出至少一条从电子设备甲到目标设备的传输路径以作为第一传输路径。在实际应用中,为了传输路径的高可靠性,可以从 规划出的路径中选择一条从唤醒设备到目标设备的最短传输路径以作为第一传输路径。Here, in the case that electronic device A is the initiator of obtaining the network topology map, electronic device A summarizes the neighbor electronic device lists reported layer by layer, and then generates the network topology map. In the case that electronic device A is not the initiator of obtaining the network topology map, the corresponding initiator directly or indirectly transmits the generated network topology map to electronic device A for storage through other electronic devices, so that electronic device A receives After the first voice instruction, at least one transmission path from the electronic device A to the target device can be planned as the first transmission path according to the corresponding target device and the saved network topology map. In practical applications, in order to ensure high reliability of the transmission path, a shortest transmission path from the wake-up device to the target device can be selected from the planned paths as the first transmission path.
为进一步描述本申请实施例中各电子设备实现信息传输方法,以下结合图4到图6,分别以跨设备执行场景下的唤醒设备、中间设备和目标设备为执行主体,对本申请实施例信息传输方法进行进一步详细说明,实现过程请参照上述相关实施例的描述。In order to further describe the information transmission method implemented by each electronic device in the embodiment of the present application, in combination with Figure 4 to Figure 6, the wake-up device, intermediate device and target device in the cross-device execution scenario are respectively used as the execution subject to implement the information transmission method of the embodiment of the application. The method is described in further detail, and the implementation process may refer to the description of the above-mentioned related embodiments.
图4A为本申请实施例提供的信息传输方法的实现流程示意图一,应用于第一电子设备,其中,所述第一电子设备表征为跨设备执行场景下的唤醒设备。如图4A示出的信息传输方法,包括:FIG. 4A is a schematic diagram of an implementation flow of an information transmission method provided by an embodiment of the present application, which is applied to a first electronic device, wherein the first electronic device is characterized as a wake-up device in a cross-device execution scenario. The information transmission method shown in Figure 4A includes:
步骤401:响应于第一语音指令确定网络拓扑图,所述第一语音指令用于指示第二电子设备执行第一操作。Step 401: Determine a network topology map in response to a first voice command, where the first voice command is used to instruct a second electronic device to perform a first operation.
第一电子设备响应于第一语音指令,确定网络拓扑图。这里,并不限定确定网络拓扑图的方法,不限定确定网络拓扑图的电子设备,也不限定确定网络拓扑图的采集方式。The first electronic device determines the network topology map in response to the first voice instruction. Here, the method for determining the network topology map is not limited, the electronic device for determining the network topology map is not limited, and the collection method for determining the network topology map is not limited.
步骤402:基于所述网络拓扑图确定第一传输路径;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径。Step 402: Determine a first transmission path based on the network topology map; the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device.
其中,步骤402的实现过程可以参照步骤201的相关描述,第一电子设备表征为电子设备甲为唤醒设备(源设备)的情况,此处不再赘述。Wherein, the implementation process of step 402 can refer to the relevant description of step 201, the first electronic device is characterized by the case that electronic device A is the wake-up device (source device), and details are not repeated here.
第一传输路径表征从第一语音指令的第一电子设备(也即是源设备,唤醒设备),经至少一个第三电子设备(也即是中间设备)到第二电子设备(也即是目标设备、执行设备)的消息传输路径。The first transmission path represents the first electronic device (that is, the source device, the wake-up device) of the first voice command, through at least one third electronic device (that is, the intermediate device) to the second electronic device (that is, the target device, execution device) message transmission path.
步骤403:基于所述第一语音指令和所述第一传输路径生成第一消息。Step 403: Generate a first message based on the first voice instruction and the first transmission path.
其中,步骤401的实现过程可以参照步骤201的相关描述.。Wherein, for the implementation process of step 401, reference may be made to the relevant description of step 201.
这里,生成的第一消息可以包括第一语音指令的操作请求信息。Here, the generated first message may include operation request information of the first voice instruction.
步骤404:向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息。Step 404: Send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
其中,步骤404的实现过程可以参照步骤202的相关描述,此处不再赘述。Wherein, for the implementation process of step 404, reference may be made to the related description of step 202, which will not be repeated here.
在本实施例中,基于第一传输路径确定出位于第一电子设备下一跳的第三电子设备,并向确定出的第三电子设备发送第一消息,这样,能够在跨设备执行场景下,实现语音指令相关的操作请求和操作响应在唤醒设备和目标设备之间的传输,在很大程度上减少了语音指令跨设备执行的延迟,提高了跨设备执行的执行效率。In this embodiment, the third electronic device located at the next hop of the first electronic device is determined based on the first transmission path, and the first message is sent to the determined third electronic device. In this way, in the cross-device execution scenario, , to realize the transmission of operation requests and operation responses related to voice commands between the wake-up device and the target device, which greatly reduces the delay of cross-device execution of voice commands and improves the execution efficiency of cross-device execution.
其中,在一实施例中,所述方法还包括:Wherein, in an embodiment, the method also includes:
接收第二消息,所述第二消息由所述第一传输路径中位于所述第一电子设备的下一跳的电子设备发送,所述第二消息是第二电子设备基于对所述第一操作的执行结果和所述第一传输路径生成的。receiving a second message, the second message is sent by an electronic device located at the next hop of the first electronic device in the first transmission path, and the second message is based on the second electronic device's The execution result of the operation is generated by the first transfer path.
第一电子设备接收到第二电子设备基于对第一操作的执行结果和第一传输路径生成的第二消息,得到第一语音指令对应的操作响应信息。这样,唤醒设备能够接收到关于第一操作的操作响应信息。The first electronic device receives the second message generated by the second electronic device based on the execution result of the first operation and the first transmission path, and obtains the operation response information corresponding to the first voice instruction. In this way, the wake-up device can receive the operation response information about the first operation.
在一实施例中,在所述响应于第一语音指令确定网络拓扑图之前,所述方法还包括:In an embodiment, before determining the network topology map in response to the first voice instruction, the method further includes:
响应于所述第一语音指令,广播第一请求信息;所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;In response to the first voice instruction, broadcast first request information; the first request information is used to request the electronic device that receives the first request information to collect a neighbor electronic device list and broadcast the first request information;
接收至少一个第四电子设备基于所述第一请求信息返回的第一响应信息;所述至少一个第四电子设备表征接收到所述第一请求信息的电子设备,所述第一响应信息包括所述至少一个第四电子设备采集的邻居电子设备列表及所述至少一个第四电子设备接收到的邻居电子设备列表;receiving first response information returned by at least one fourth electronic device based on the first request information; the at least one fourth electronic device represents the electronic device that received the first request information, and the first response information includes the The neighbor electronic device list collected by the at least one fourth electronic device and the neighbor electronic device list received by the at least one fourth electronic device;
基于所述第一响应信息,生成所述网络拓扑图。Based on the first response information, generate the network topology map.
在本实施例中,第四电子设备可以表征接收到第一电子设备发送的第一请求信息的电子设备,也就是说,第四电子设备是第一电子设备的邻居电子设备。在实际应用中,基于图3示出的信息采集示意图,设备A为第一电子设备,设备B和设备C为第四电子设备。In this embodiment, the fourth electronic device may represent the electronic device that received the first request information sent by the first electronic device, that is, the fourth electronic device is a neighbor electronic device of the first electronic device. In practical applications, based on the schematic diagram of information collection shown in FIG. 3 , device A is the first electronic device, and device B and device C are fourth electronic devices.
在本申请一实施例中,图4B示出了上述图4A所述的信息传输方法的实现流程示意图二。如图4B所示,在实际应用场景中,第一电子设备接收第一语音指令,所述第一语音指令可以是用户发出的。然后,第一电子设备响应于第一语音指令确定网络拓扑图,并基于网络拓扑图生成有向图。这里,并不限定生成有向图的方法。第一电子设备基于网络拓扑图和有向图计算第一传输路径,并向第一传输路径中位于第一电子设备的下一跳的第三电子设备发送第一消息。如此,能够实现唤醒设备与目标设备之间的双向传输路径,从而降低语音指令跨设备执行的延迟。In an embodiment of the present application, FIG. 4B shows a second implementation flow diagram of the information transmission method described in FIG. 4A above. As shown in FIG. 4B , in an actual application scenario, the first electronic device receives a first voice instruction, and the first voice instruction may be issued by a user. Then, the first electronic device determines the network topology map in response to the first voice instruction, and generates a directed graph based on the network topology map. Here, the method of generating the directed graph is not limited. The first electronic device calculates the first transmission path based on the network topology graph and the directed graph, and sends the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path. In this way, a two-way transmission path between the wake-up device and the target device can be realized, thereby reducing the delay in executing voice commands across devices.
图5为本申请实施例提供的信息传输方法的实现流程示意图,应用于第二电子设备,其中,所述第二电子设备表征为跨设备执行场景下的目标设备。如图5示出的信息传输方法,包括:FIG. 5 is a schematic diagram of an implementation flow of an information transmission method provided by an embodiment of the present application, which is applied to a second electronic device, wherein the second electronic device is characterized as a target device in a cross-device execution scenario. The information transmission method shown in Figure 5 includes:
步骤501:接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的电子设备发送至所述第二电子设备。Step 501: Receive a first message, the first message is generated by the first electronic device based on a first voice instruction and a first transmission path, and the first voice instruction is used to instruct the second electronic device to perform a first operation , the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is sent from the first transmission path located in the The last hop electronic device of the second electronic device sends to the second electronic device.
步骤502:响应于所述第一消息,执行所述第一操作。Step 502: Execute the first operation in response to the first message.
其中,在一实施例中,所述方法还包括:Wherein, in an embodiment, the method also includes:
生成执行所述第一操作的执行结果,generating an execution result of executing the first operation,
基于所述第一操作的执行结果和所述第一传输路径生成第二消息;generating a second message based on an execution result of the first operation and the first transmission path;
向所述第一传输路径中位于所述第二电子设备的上一跳的第三电子设备发送所述第二消息。sending the second message to a third electronic device that is a hop above the second electronic device in the first transmission path.
在一实施例中,所述接收第一消息之前,所述方法还包括:In an embodiment, before receiving the first message, the method further includes:
接收至少一个第五电子设备广播的第一请求信息,所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;receiving first request information broadcast by at least one fifth electronic device, where the first request information is used to request the electronic device that has received the first request information to collect a list of neighboring electronic devices and broadcast the first request information;
响应于所述第一请求信息,向所述至少一个第五电子设备发送第二响应信息,所述第二响应信息至少携带有所述第二电子设备采集的邻居电子设备列表。In response to the first request information, send second response information to the at least one fifth electronic device, where the second response information at least carries a neighbor electronic device list collected by the second electronic device.
在本实施例中,第五电子设备可以表征向第二电子设备发送的第一请求信息的电子设备,也就是说,第五电子设备是第二电子设备的邻居电子设备。In this embodiment, the fifth electronic device may represent the electronic device that sent the first request information to the second electronic device, that is, the fifth electronic device is a neighbor electronic device of the second electronic device.
在实际应用中,基于图3示出的信息采集示意图,设备A为第一电子设备,设备B和设备C为第四电子设备。In practical applications, based on the schematic diagram of information collection shown in FIG. 3 , device A is the first electronic device, and device B and device C are fourth electronic devices.
这里,由于设备A和设备D都会向设备C发送第一请求信息,设备A发出的第一请求信息比设备D发出的第一请求信息更早,设备C通常会先接收到设备A的第一请求信息,所以设备C可以根据接收到第一请求信息的时间顺序,选择性忽略设备D发出的第一请求信息,以保证第一电子设备接收到的邻居电子设备列表不会有过多的重复。Here, since both device A and device D will send the first request information to device C, and the first request information sent by device A is earlier than the first request information sent by device D, device C will usually receive the first request information from device A first. Request information, so device C can selectively ignore the first request information sent by device D according to the time sequence of receiving the first request information, so as to ensure that the neighbor electronic device list received by the first electronic device will not have too many repetitions .
图6为本申请实施例提供的信息传输方法的实现流程示意图,应用于第三电子设备,其中,所述第三电子设备表征为跨设备执行场景下的中间设备。如图6示出的信息传输方法,包括:FIG. 6 is a schematic diagram of an implementation flow of an information transmission method provided by an embodiment of the present application, which is applied to a third electronic device, wherein the third electronic device is characterized as an intermediate device in a cross-device execution scenario. The information transmission method shown in Figure 6 includes:
步骤601:接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第三电子设备的上一跳的电子设备发送至所述第三电子设备。Step 601: Receive a first message, the first message is generated by the first electronic device based on a first voice command and a first transmission path, and the first voice command is used to instruct the second electronic device to perform a first operation , the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is sent from the first transmission path located in the The last hop electronic device of the third electronic device sends to the third electronic device.
步骤602:向所述第一传输路径中位于所述第三电子设备的下一跳的电子设备发送所述第一消息。Step 602: Send the first message to an electronic device that is a next hop of the third electronic device in the first transmission path.
在一实施例中,所述方法还包括:In one embodiment, the method also includes:
接收所述第一传输路径中位于所述第三电子设备的下一跳的电子设备发送第二消息;receiving a second message sent by an electronic device located at the next hop of the third electronic device in the first transmission path;
向所述第一传输路径中位于所述第三电子设备的上一跳的电子设备发送所述第二消息,其中,所述第二消息是所述第二电子设备基于所述第一操作的执行结果和所述第一传输路径生成的。sending the second message to an electronic device that is a hop above the third electronic device in the first transmission path, where the second message is the second electronic device based on the first operation Execution results and generated by the first transfer path.
在一实施例中,所述第一消息和所述第二消息还携带第一字段,所述第一字段表征对应的消息为第一消息或第二消息;所述方法还包括:In an embodiment, the first message and the second message also carry a first field, and the first field indicates that the corresponding message is the first message or the second message; the method further includes:
基于接收到的消息中第一字段的字段值,确定向所述第一传输路径中位于所述第三电子设备的上一跳或下一跳的电子设备发送接收到的消息。Based on the field value of the first field in the received message, determine to send the received message to an electronic device located in the first hop or next hop of the third electronic device in the first transmission path.
这里,第一消息和第二消息中携带有至少一个表征第一消息的类型的第一字段,第三电子设备基于读取第一字段,确定第一消息的类型为第一操作的请求消息或关于第一操作的响应消息,从而确定向第一传输路径中位于第三电子设备的上一跳或下一跳的电子设备发送接收到的消息。Here, the first message and the second message carry at least one first field representing the type of the first message, and the third electronic device determines that the type of the first message is a request message for the first operation or With regard to the response message of the first operation, it is determined to send the received message to the electronic device located at the previous hop or the next hop of the third electronic device in the first transmission path.
实际应用时,可以在第一消息和第二消息的相关字段中,对消息类型进行标识,以方便电子设备确定消息传输方向。In practical application, the message type may be identified in the relevant fields of the first message and the second message, so as to facilitate the electronic device to determine the direction of message transmission.
这里,第一字段的形式,包括但不限于以下几种形式:Here, the form of the first field includes but is not limited to the following forms:
表征消息类型的字段;例如,0为请求消息,1为响应消息;A field that characterizes the message type; for example, 0 is a request message, 1 is a response message;
表征消息的源设备的标识字段和/或第一消息的目标设备的标识字段;例如,源设备A的ID,基于源设备A的ID作为标识字段和第一传输路径[A,B,D],能够确定为消息为请求消息。Characterize the identification field of the source device of the message and/or the identification field of the destination device of the first message; for example, the ID of source device A, based on the ID of source device A as the identification field and the first transmission path [A, B, D] , it can be determined that the message is a request message.
在一实施例中,在所述接收第一消息之前,所述方法还包括:In an embodiment, before the receiving the first message, the method further includes:
接收第一电子设备或至少一个第六电子设备广播的第一请求信息,所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;receiving first request information broadcast by the first electronic device or at least one sixth electronic device, where the first request information is used to request the electronic device that receives the first request information to collect a neighbor electronic device list and broadcast the first request information;
响应于所述第一请求信息,向广播所述第一请求信息的电子设备返回第三响应信息;所述第三响应信息携带有所述第三电子设备采集的邻居电子设备列表以及所述第三电子设备接收到的邻居电子设备列表。In response to the first request information, return third response information to the electronic device broadcasting the first request information; the third response information carries the neighbor electronic device list collected by the third electronic device and the first The list of neighbor electronic devices received by the three electronic devices.
图7为本申请实施例提供的信息传输方法的实现流程示意图。如图7示出的,信息传输方法,包括:FIG. 7 is a schematic diagram of an implementation flow of the information transmission method provided by the embodiment of the present application. As shown in Figure 7, the information transmission method includes:
步骤701:第一电子设备响应于第一语音指令确定网络拓扑图,基于网络拓扑图确定第一传输路径;基于所述第一语音指令和所述第一传输路径生成第一消息。Step 701: The first electronic device determines a network topology map in response to a first voice command, and determines a first transmission path based on the network topology map; generates a first message based on the first voice command and the first transmission path.
所述第一语音指令用于指示第二电子设备执行第一操作;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径。The first voice instruction is used to instruct the second electronic device to perform a first operation; the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device .
步骤702:向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息。Step 702: Send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
步骤703:所述至少一个第三电子设备中的每个第三电子设备接收所述第一消息。Step 703: Each third electronic device in the at least one third electronic device receives the first message.
所述第一消息由所述第一传输路径中位于对应的第三电子设备的上一跳的电子设备发送至对应的第三电子设备。The first message is sent to the corresponding third electronic device by an electronic device located at a previous hop of the corresponding third electronic device in the first transmission path.
步骤704:向所述第一传输路径中位于对应的第三电子设备的下一跳的电子设备发送所述第一消息。Step 704: Send the first message to an electronic device that is a next hop of the corresponding third electronic device in the first transmission path.
步骤705:所述第二电子设备接收所述第一消息,并响应于所述第一消息,执行所述第一操作;所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的第三电子设备发送至所述第二电子设备。Step 705: The second electronic device receives the first message, and executes the first operation in response to the first message; The third electronic device in the last hop of the electronic device sends the message to the second electronic device.
在一实施例中,所述方法还包括:In one embodiment, the method also includes:
所述第二电子设备生成第二消息,向所述第一传输路径中位于所述第二电子设备的上一跳的第三电子设备发送所述第二消息;所述第二消息携带所述第一操作的执行结果和所述第一传输路径;The second electronic device generates a second message, and sends the second message to a third electronic device that is located on a previous hop of the second electronic device in the first transmission path; the second message carries the an execution result of the first operation and the first transmission path;
所述至少一个第三电子设备中的每个第三电子设备接收所述第一传输路径中位于对应的第三电子设备的下一跳的电子设备发送第二消息,并向所述第一传输路径中位于对应的第三电子设备的上一跳的电子设备发送所述第二消息;Each third electronic device in the at least one third electronic device receives a second message sent by an electronic device that is next hop to the corresponding third electronic device in the first transmission path, and transmits a second message to the first transmission path. sending the second message by an electronic device located in the last hop of the corresponding third electronic device in the path;
所述第一电子设备接收所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送第二消息。The first electronic device receives the second message sent by the third electronic device located in the next hop of the first electronic device in the first transmission path.
以下结合应用实施例对本申请实施例进行进一步说明:The embodiments of the present application are further described below in conjunction with the application examples:
图8示出了本申请应用实施例提供的近场跨设备执行场景的示意图,在部署有语音助手的设备A和设备B上设置有协同指令传输模块、协同唤醒模块,在设备A的协同唤醒模块接收到唤醒指令时,唤醒设备A通过协同指令传输模块接收语音指令,通过多个电子设备间的组网,实现近场通信设备间的语音指令传输,具体包括,通过消息的方式负载语音指令。协同指令传输模块负责近场设备间的协同指令传输,解决了协同指令传输时,多设备间的组网,语音指令的传输需较小延迟,和传递节点尽量少的问题。Fig. 8 shows a schematic diagram of the near-field cross-device execution scenario provided by the application embodiment of the present application. Device A and device B deployed with voice assistants are provided with a coordinated instruction transmission module and a coordinated wake-up module. The coordinated wake-up of device A When the module receives the wake-up command, the wake-up device A receives the voice command through the cooperative command transmission module, and realizes the voice command transmission between the near-field communication devices through the networking among multiple electronic devices, specifically including, carrying the voice command through the message . The coordinated command transmission module is responsible for the coordinated command transmission between near-field devices, which solves the problems of the networking between multiple devices, the transmission of voice commands needs a small delay, and the transmission nodes are as few as possible during the coordinated command transmission.
下面以手机、手表、电视的跨设备执行为场景,结合应用实施例对本申请再作进一步详细的描述。作为本申请的一个应用实施例,由协同指令传输模块实现本申请应用实施例的方法。Taking the cross-device execution of mobile phones, watches, and TVs as a scenario, the present application will be further described in detail in combination with application embodiments. As an application embodiment of the present application, the method of the application embodiment of the present application is implemented by the cooperative instruction transmission module.
作为本申请的一个应用实施例,以图9示出的信息传输方法的实现流程示意图一为例,包括以下步骤:As an application embodiment of the present application, taking the implementation flow diagram 1 of the information transmission method shown in FIG. 9 as an example, the following steps are included:
步骤901:信息采集。Step 901: Information collection.
在设备检测语音输入的情况下,开始信息采集过程。信息采集通过发现邻居电子设备的方式,从而实现异构网络中多个电子设备之间的组网。In the event that the device detects voice input, the information collection process begins. Information collection realizes networking among multiple electronic devices in a heterogeneous network by discovering neighboring electronic devices.
接收语音指令,基于信息采集结果生成表征为网络拓扑快照的网络拓扑图,并基于网络拓扑快照生成有向图。A voice command is received, a network topology graph characterized as a network topology snapshot is generated based on information collection results, and a directed graph is generated based on the network topology snapshot.
本申请实施例中,结合图3示出的信息采集示意图,接收语音指令的发起端设备A通过具有的每一种通信能力,向所有邻居电子设备设备B和设备C广播请求消息,请求消息用于请求接收到第一请求信息的电子设备采集邻居电子设备列表并广播第一请求信息,设备B和设备C在各自接收到请求消息后,以设备B为例,确定它的邻居电子设备列表B:[A,D],并分别向它的邻居电子设备D转发请求消息,设备B接收到设备D基于转发的请求消息对应发送的邻居电子设备列表D:[B,C],并将它的邻居电子设备列表B:[A,D]和接收到的邻居电子设备列表D:[B,C]发送至发起端设备。这样,发起端设备A基于接收到的邻居电子设备列表B:[A,D]、C:[A,D]、D:[B,C]和本电子设备的邻居电子设备信息A:[B,C],生成如图1示出的网络拓扑快照,并基于网络拓扑快照生成如图10示出的有向图。In the embodiment of the present application, combined with the schematic diagram of information collection shown in FIG. 3 , the initiator device A that receives the voice command broadcasts a request message to all neighboring electronic devices B and C through each communication capability it has, and the request message uses To request the electronic device that has received the first request information to collect the neighbor electronic device list and broadcast the first request information, after receiving the request message, device B and device C, taking device B as an example, determine its neighbor electronic device list B : [A, D], and forward the request message to its neighbor electronic device D respectively, device B receives the neighbor electronic device list D: [B, C] sent by device D based on the forwarded request message, and sends its The neighbor electronic device list B: [A, D] and the received neighbor electronic device list D: [B, C] are sent to the initiator device. In this way, the initiator device A is based on the received neighbor electronic device list B: [A, D], C: [A, D], D: [B, C] and the neighbor electronic device information A of the electronic device: [B , C], generate a network topology snapshot as shown in Figure 1, and generate a directed graph as shown in Figure 10 based on the network topology snapshot.
这里,每个节点的设备会维护一份设备对应的邻居电子设备的路由表,表2示出了一种路由表的格式示例。Here, the device of each node maintains a routing table of the neighboring electronic device corresponding to the device, and Table 2 shows an example format of a routing table.
表2Table 2
目标设备IDtarget device ID 网络接口Network Interface
在设备作为邻居电子设备接收到请求消息时,能够基于邻居电子设备的路由表向对应的邻居电子设备转发请求消息,并确定出本设备的邻居电子设备列表。When the device as a neighbor electronic device receives the request message, it can forward the request message to the corresponding neighbor electronic device based on the routing table of the neighbor electronic device, and determine the neighbor electronic device list of the device.
表3示出了一种邻居电子设备列表的格式示例。Table 3 shows an example format of a neighbor electronic device list.
表3table 3
本设备IDThis device ID [邻居电子设备ID列表][Neighbor Electronic Device ID List]
步骤902:指令传输路径。Step 902: Command transmission path.
通过最短路径算法,例如弗洛伊德算法,计算出从唤醒设备到目标设备的最短传输路径以作为第一传输路径。在发送携带有表征最短传输路径的第一传输路径的请求消息时,基于请求消息中的第一传输路径进行消息寻址,确定出下一跳的电子设备,并向确定出的电子设备发送请求消息。The shortest transmission path from the wake-up device to the target device is calculated by a shortest path algorithm, such as the Floyd algorithm, as the first transmission path. When sending a request message carrying the first transmission path representing the shortest transmission path, perform message addressing based on the first transmission path in the request message, determine the next-hop electronic device, and send a request to the determined electronic device information.
在发送请求消息或响应消息时,基于消息中的携带第一传输路径进行消息寻址,确定出下一跳的电子设备,并向确定出的电子设备发送请求消息或响应消息。这里,消息的路由包括请求消息寻址和响应 消息寻址。请求消息寻址表征设备通过路由模块在第一传输路径中从前往后查询本设备ID所在节点的后继节点,将后继节点作为下一跳节点,对应发送请求消息。响应消息寻址表征设备通过路由模块在第一传输路径中从后向前查询本设备ID所在节点的后继节点,将后继节点作为下一跳节点,对应发送请求消息。每个电子设备接收到消息时,在消息中的目标设备ID与本设备ID相同的情况下,说明消息传递到目标设备ID,在消息中的目标设备ID与本设备ID不相同的情况下,再根据第一传输路径进行路由转发。When sending a request message or a response message, perform message addressing based on the first transmission path carried in the message, determine a next-hop electronic device, and send the request message or response message to the determined electronic device. Here, message routing includes request message addressing and response message addressing. The addressing of the request message indicates that the device queries the successor node of the node where the device ID is located from front to back through the routing module in the first transmission path, uses the successor node as the next hop node, and sends the request message correspondingly. The response message addressing means that the device queries the successor node of the node where the device ID is located from the back to the front through the routing module in the first transmission path, and uses the successor node as the next hop node to send the request message correspondingly. When each electronic device receives the message, if the target device ID in the message is the same as its own device ID, it means that the message is delivered to the target device ID; if the target device ID in the message is not the same as its own device ID, Routing and forwarding is then performed according to the first transmission path.
本申请实施例中,结合图11示出的路径传输示意图,发起端设备A基于接收到的语音指令确定目标设备D,并基于目标设备D和有向图,确定第一传输路径[A,B,D]。基于目标设备ID、发起端设备ID(源设备ID)、事务ID、第一传输路径[A,B,D]和语音指令的内容,按照上述消息的格式示例生成请求消息。这里,事务ID可以采用雪花算法SnowFlake生成唯一标识、第一传输路径可以表征为设备ID列表[设备ID 1,设备ID 2,.....,设备ID X],设备ID 1为发起端设备ID,设备ID X为目标设备ID。 In the embodiment of the present application, referring to the schematic diagram of path transmission shown in FIG. 11, the initiator device A determines the target device D based on the received voice command, and determines the first transmission path [A, B based on the target device D and the directed graph. , D]. Based on the target device ID, the initiator device ID (source device ID), the transaction ID, the first transmission path [A, B, D] and the content of the voice command, the request message is generated according to the format example of the above message. Here, the transaction ID can use the snowflake algorithm SnowFlake to generate a unique identifier, the first transmission path can be characterized as a list of device IDs [device ID 1 , device ID 2 , ..., device ID X ], and device ID 1 is the initiator device ID, device ID X is the target device ID.
发起端设备A发送请求消息,基于请求消息中的第一传输路径[A,B,D]正向查找到本设备ID所在节点的后继节点为设备B,以设备B作为下一跳节点。向设备B发送请求消息,设备B收到请求消息后,通过目标设备ID判断得出需要转发请求消息的结论,再通过正向查找第一传输路径[A,B,D]确定本设备ID的后继节点,找到设备D作为下一跳节点。设备D收到消息,通过目标设备发现是发送给本设备的请求消息,执行请求消息对应的操作,以设备A为目标设备、设备D为源设备、请求消息中的事务ID和第一传输路径,按照上述消息的格式示例生成响应消息。设备D发送响应消息,基于响应消息中的第一传输路径[A,B,D]反向查找到本设备ID所在节点的后继节点为设备B,以设备B作为下一跳节点。向设备B发送请求消息,设备B收到请求消息后,通过目标设备ID判断得出需要转发请求消息的结论,再通过反向查找第一传输路径[A,B,D]确定本设备ID的后继节点,找到设备A作为下一跳节点。设备A收到消息,通过目标设备发现是发送给本设备的响应消息。到此完成一次请求消息与响应消息的交互。The initiating device A sends a request message, and based on the first transmission path [A, B, D] in the request message, finds that the successor node of the node where the device ID is located is device B, and uses device B as the next hop node. Send a request message to device B. After receiving the request message, device B judges the conclusion that the request message needs to be forwarded based on the target device ID, and then determines the ID of the device by forward searching the first transmission path [A, B, D]. The successor node finds device D as the next hop node. Device D receives the message, finds out through the target device that it is a request message sent to the device, and executes the operation corresponding to the request message, with device A as the target device, device D as the source device, the transaction ID in the request message and the first transmission path , generate a response message following the format example of the message above. Device D sends a response message. Based on the first transmission path [A, B, D] in the response message, it reversely finds that the successor node of the node where the device ID is located is device B, and uses device B as the next hop node. Send a request message to device B. After receiving the request message, device B judges the conclusion that the request message needs to be forwarded based on the target device ID, and then finds the first transmission path [A, B, D] in reverse to determine the ID of the device. The successor node finds device A as the next hop node. Device A receives the message, and discovers through the target device that it is a response message sent to the device. At this point, the interaction between a request message and a response message is completed.
在本申请应用实施例中,为解决语音助手在近场多设备间的路由和跨设备语音指令执行的实时性以及准确性问题,在通信能力采集阶段通过广播的方式来建设网络拓扑快照,并生成有向图,从而获取动态网络拓扑,实现最短传输路径。并利用传输路径寻址的方式,解决了指令的路由问题。In the application embodiment of this application, in order to solve the real-time and accuracy problems of voice assistant routing among multiple devices in the near field and the execution of cross-device voice commands, a network topology snapshot is constructed by broadcasting during the communication capability collection stage, and Generate a directed graph to obtain a dynamic network topology and realize the shortest transmission path. And by using the way of transmission path addressing, the routing problem of the instruction is solved.
转发的电子设备能够基于第一消息中携带的路由寻址,实现在源设备和目标设备之间的语音指令的路由,并至少取得以下效果:通过广播的方式采集节点通信能力,确定网络拓扑快照,对应生成有向图的方式,解决多个电子设备间的组网问题。并且,基于第一消息中的第一传输路径,确定出下一跳的电子设备,并向确定出的电子设备发送第一消息,这样,能够实现唤醒设备与目标设备之间的双向传输路径,从而降低语音指令跨设备执行的延迟。同时,基于规划出的从源设备到目标设备的最短传输路径,能够减少参与信息传输的电子设备的数量,提高传输路径的可靠性。The forwarding electronic device can realize the routing of voice commands between the source device and the target device based on the routing addressing carried in the first message, and at least achieve the following effects: collect node communication capabilities through broadcasting, and determine a snapshot of the network topology , corresponding to the way of generating a directed graph, to solve the networking problem among multiple electronic devices. And, based on the first transmission path in the first message, determine the next-hop electronic device, and send the first message to the determined electronic device, so that the two-way transmission path between the wake-up device and the target device can be realized, Thereby reducing the delay in the execution of voice commands across devices. At the same time, based on the planned shortest transmission path from the source device to the target device, the number of electronic devices involved in information transmission can be reduced, and the reliability of the transmission path can be improved.
这样,在智能语音多端融合项目实际运用中,面对由手机、手表、电视等组成的多设备场景,在小规模的组网(5-6个设备)中,能做到百毫秒级别的端到端延迟传递语音指令。满足在家庭近场多设备间的智能语音使用场景下,语音指令执行的实时性以及准确性要求。In this way, in the actual application of intelligent voice multi-terminal fusion projects, in the face of multi-device scenarios composed of mobile phones, watches, TVs, etc., in a small-scale network (5-6 devices), it is possible to achieve hundreds of milliseconds Voice commands are delivered with end-to-end delay. Meet the real-time and accuracy requirements of voice command execution in the smart voice usage scenario between multiple near-field devices in the home.
为实现本申请实施例的方法,本申请实施例还提供了一种信息传输装置,如图12所示,该信息传输装置,应用于第一电子设备,包括:In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, as shown in Figure 12, the information transmission device is applied to the first electronic device, including:
第一处理单元1201,被配置为响应于第一语音指令确定网络拓扑图,所述第一语音指令用于指示第二电子设备执行第一操作;The first processing unit 1201 is configured to determine a network topology map in response to a first voice command, where the first voice command is used to instruct the second electronic device to perform a first operation;
第二处理单元1202,被配置为基于所述网络拓扑图确定第一传输路径;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;The second processing unit 1202 is configured to determine a first transmission path based on the network topology map; the first transmission path represents a transmission from the first electronic device to the second electronic device via at least one third electronic device Message transmission path;
第一生成单元1203,被配置为基于所述第一语音指令和所述第一传输路径生成第一消息;The first generating unit 1203 is configured to generate a first message based on the first voice instruction and the first transmission path;
第一发送单元1204,被配置为向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息。The first sending unit 1204 is configured to send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
其中,在一个实施例中,所述信息传输装置还包括:Wherein, in one embodiment, the information transmission device further includes:
第三接收单元,被配置为接收第二消息,所述第二消息由所述第一传输路径中位于所述第一电子设备的下一跳的电子设备发送,所述第二消息是第二电子设备基于对所述第一操作的执行结果和所述第一传输路径生成的。The third receiving unit is configured to receive a second message, the second message is sent by the electronic device next to the first electronic device in the first transmission path, the second message is the second Generated by the electronic device based on the execution result of the first operation and the first transmission path.
在一个实施例中,所述信息传输装置还包括:In one embodiment, the information transmission device further includes:
第三发送单元,被配置为响应于所述第一语音指令,广播第一请求信息;所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;The third sending unit is configured to broadcast first request information in response to the first voice instruction; the first request information is used to request the electronic device that receives the first request information to collect a neighbor electronic device list and broadcast it the first request information;
第四接收单元,被配置为接收至少一个第四电子设备基于所述第一请求信息返回的第一响应信息;所述至少一个第四电子设备表征接收到所述第一请求信息的电子设备,所述第一响应信息包括所述至少一个第四电子设备采集的邻居电子设备列表及所述至少一个第四电子设备接收到的邻居电子设备列表;A fourth receiving unit configured to receive first response information returned by at least one fourth electronic device based on the first request information; the at least one fourth electronic device represents the electronic device that received the first request information, The first response information includes a neighbor electronic device list collected by the at least one fourth electronic device and a neighbor electronic device list received by the at least one fourth electronic device;
第二生成单元,被配置为基于所述第一响应信息,生成所述网络拓扑图。The second generating unit is configured to generate the network topology map based on the first response information.
实际应用时,所述第一发送单元1204、所述第三接收单元、所述第三发送单元、所述第四接收单元 可由基于信息传输装置中的通信接口实现,所述第一处理单元1201、所述第二处理单元1202、所述第一生成单元1203、所述、所述第二生成单元可由基于信息传输装置中的处理器实现。In actual application, the first sending unit 1204, the third receiving unit, the third sending unit, and the fourth receiving unit may be realized by a communication interface based on an information transmission device, and the first processing unit 1201 , the second processing unit 1202, the first generating unit 1203, and the second generating unit may be implemented by a processor in an information-based transmission device.
需要说明的是:上述实施例提供的信息传输装置在进行信息传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的信息传输装置与信息传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the information transmission device provided in the above-mentioned embodiment transmits information, it only uses the division of the above-mentioned program modules for illustration. That is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information transmission device and the information transmission method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
为实现本申请实施例的方法,本申请实施例还提供了一种信息传输装置,如图13所示,该信息传输装置,应用于第二电子设备,包括:In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, as shown in Figure 13, the information transmission device is applied to the second electronic device, including:
第一接收单元1301,被配置为接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的电子设备发送至所述第二电子设备;The first receiving unit 1301 is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, the first voice instruction is used to instruct the second The electronic device performs a first operation, the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, the first message is transmitted by the first electronic device sending to the second electronic device by an electronic device located at the previous hop of the second electronic device in the transmission path;
第三处理单元1302,被配置为响应于所述第一消息,执行所述第一操作。The third processing unit 1302 is configured to execute the first operation in response to the first message.
其中,在一个实施例中,所述信息传输装置还包括:Wherein, in one embodiment, the information transmission device further includes:
第三生成单元,被配置为生成执行所述第一操作的执行结果,a third generating unit configured to generate an execution result of executing the first operation,
第四生成单元,被配置为基于所述第一操作的执行结果和所述第一传输路径生成第二消息;a fourth generating unit configured to generate a second message based on an execution result of the first operation and the first transmission path;
第四发送单元,被配置为向所述第一传输路径中位于所述第二电子设备的上一跳的第三电子设备发送所述第二消息。The fourth sending unit is configured to send the second message to a third electronic device that is a hop above the second electronic device in the first transmission path.
在一个实施例中,所述信息传输装置还包括:In one embodiment, the information transmission device further includes:
第五接收单元,被配置为接收至少一个第五电子设备广播的第一请求信息,所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;The fifth receiving unit is configured to receive first request information broadcast by at least one fifth electronic device, where the first request information is used to request the electronic device that receives the first request information to collect a list of neighbor electronic devices and broadcast the list of neighboring electronic devices. the first request information;
第五发送单元,被配置为响应于所述第一请求信息,向所述至少一个第五电子设备发送第二响应信息,所述第二响应信息至少携带有所述第二电子设备采集的邻居电子设备列表。The fifth sending unit is configured to send second response information to the at least one fifth electronic device in response to the first request information, the second response information carrying at least the neighbors collected by the second electronic device List of electronic equipment.
实际应用时,所述第一接收单元1301、所述第四发送单元、所述第五接收单元、所述第五发送单元可由基于信息传输装置中的通信接口实现,所述第三处理单元1302、所述第三生成单元、所述第四生成单元可由基于信息传输装置中的处理器实现。In actual application, the first receiving unit 1301, the fourth sending unit, the fifth receiving unit, and the fifth sending unit may be realized by a communication interface based on an information transmission device, and the third processing unit 1302 , the third generating unit, and the fourth generating unit may be implemented by a processor in an information-based transmission device.
需要说明的是:上述实施例提供的信息传输装置在进行信息传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的信息传输装置与信息传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the information transmission device provided in the above-mentioned embodiment transmits information, it only uses the division of the above-mentioned program modules for illustration. That is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information transmission device and the information transmission method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
为实现本申请实施例的方法,本申请实施例还提供了一种信息传输装置,如图14所示,该信息传输装置,应用于第三电子设备,包括:In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an information transmission device, as shown in Figure 14, the information transmission device is applied to the third electronic device, including:
第二接收单元1401,被配置为接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第三电子设备的上一跳的电子设备发送至所述第三电子设备;The second receiving unit 1401 is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, the first voice instruction is used to instruct the second The electronic device performs a first operation, the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, the first message is transmitted by the first electronic device sending to the third electronic device by an electronic device located at the last hop of the third electronic device in the transmission path;
第二发送单元1402,被配置为向所述第一传输路径中位于所述第三电子设备的下一跳的电子设备发送所述第一消息。The second sending unit 1402 is configured to send the first message to an electronic device that is a next hop of the third electronic device in the first transmission path.
其中,在一个实施例中,所述信息传输装置还包括:Wherein, in one embodiment, the information transmission device further includes:
第四处理单元,被配置为基于接收到的消息中第一字段的字段值,确定向所述第一传输路径中位于所述第三电子设备的上一跳或下一跳的电子设备发送接收到的消息。The fourth processing unit is configured to, based on the field value of the first field in the received message, determine to send and receive the message to the electronic device located at the previous hop or the next hop of the third electronic device in the first transmission path received news.
在一个实施例中,所述信息传输装置还包括:In one embodiment, the information transmission device further includes:
第六接收单元,被配置为接收第一电子设备或至少一个第六电子设备广播的第一请求信息,所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;The sixth receiving unit is configured to receive the first request information broadcast by the first electronic device or at least one sixth electronic device, the first request information is used to request the electronic device that has received the first request information to collect neighbor electronic information device list and broadcast the first request information;
第六发送单元,被配置为响应于所述第一请求信息,向广播所述第一请求信息的电子设备返回第三响应信息;所述第三响应信息携带有所述第三电子设备采集的邻居电子设备列表以及所述第三电子设备接收到的邻居电子设备列表。The sixth sending unit is configured to, in response to the first request information, return third response information to the electronic device broadcasting the first request information; the third response information carries the information collected by the third electronic device A neighbor electronic device list and the neighbor electronic device list received by the third electronic device.
实际应用时,所述第二接收单元1401、所述第二发送单元1402、所述第六接收单元、所述第六发送单元可由基于信息传输装置中的通信接口实现,所述第四处理单元可由基于信息传输装置中的处理器实现。In actual application, the second receiving unit 1401, the second sending unit 1402, the sixth receiving unit, and the sixth sending unit may be realized by a communication interface based on an information transmission device, and the fourth processing unit It can be implemented by a processor in the information transmission device.
需要说明的是:上述实施例提供的信息传输装置在进行信息传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结 构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的信息传输装置与信息传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the information transmission device provided in the above-mentioned embodiment transmits information, it only uses the division of the above-mentioned program modules for illustration. That is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information transmission device and the information transmission method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
本申请实施例还提供了一种信息传输系统,所述系统包括第一电子设备,至少一个第三电子设备和第二电子设备,其中,An embodiment of the present application also provides an information transmission system, the system includes a first electronic device, at least one third electronic device and a second electronic device, wherein,
所述第一电子设备,被配置为响应于第一语音指令确定网络拓扑图;基于所述网络拓扑图确定第一传输路径;基于所述第一语音指令和所述第一传输路径生成第一消息;以及向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息;所述第一语音指令用于指示第二电子设备执行第一操作;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;The first electronic device is configured to determine a network topology map in response to a first voice instruction; determine a first transmission path based on the network topology map; and generate a first transmission path based on the first voice instruction and the first transmission path. message; and sending the first message to a third electronic device located at the next hop of the first electronic device in the first transmission path; the first voice instruction is used to instruct the second electronic device to perform the first Operation; the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device;
所述至少一个第三电子设备中的每个第三电子设备,被配置为接收所述第一消息,并向所述第一传输路径中位于对应的第三电子设备的下一跳的电子设备发送所述第一消息;所述第一消息由所述第一传输路径中位于对应的第三电子设备的上一跳的电子设备发送至对应的第三电子设备;Each third electronic device in the at least one third electronic device is configured to receive the first message, and transmit the message to the next-hop electronic device of the corresponding third electronic device in the first transmission path sending the first message; the first message is sent to the corresponding third electronic device by an electronic device that is a hop above the corresponding third electronic device in the first transmission path;
所述第二电子设备,被配置为接收所述第一消息,并响应于所述第一消息,执行所述第一操作;所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的电子设备发送至所述第二电子设备。The second electronic device is configured to receive the first message, and execute the first operation in response to the first message; the first message is sent by the first message located in the first transmission path The last hop electronic device of the second electronic device sends the message to the second electronic device.
另外,上述实施例提供的信息传输系统中的第一电子设备、第二电子设备和第三电子设备与信息传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。In addition, the first electronic device, the second electronic device, and the third electronic device in the information transmission system provided by the above embodiments belong to the same concept as the information transmission method embodiment, and the specific implementation process is detailed in the method embodiment, and will not be repeated here. .
基于上述程序模块的硬件实现,且为了实现本申请实施例的方法,本申请实施例还提供了一种电子设备。图15为本申请实施例电子设备的硬件组成结构示意图,如图15所示,电子设备包括:Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an electronic device. FIG. 15 is a schematic diagram of the hardware composition structure of the electronic device in the embodiment of the present application. As shown in FIG. 15, the electronic device includes:
通信接口1,能够与其它设备比如网络设备等进行信息交互; Communication interface 1, which can exchange information with other devices such as network devices;
处理器2,与通信接口1连接,以实现与其它设备进行信息交互,用于运行计算机程序时,执行上述一个或多个技术方案提供的信息传输方法。而所述计算机程序存储在存储器3上。The processor 2 is connected to the communication interface 1 to implement information interaction with other devices, and is used to execute the information transmission method provided by one or more of the above technical solutions when running a computer program. Instead, the computer program is stored on the memory 3 .
当然,实际应用时,电子设备中的各个组件通过总线系统4耦合在一起。可理解,总线系统4用于实现这些组件之间的连接通信。总线系统4除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图15中将各种总线都标为总线系统4。Of course, in actual application, various components in the electronic device are coupled together through the bus system 4 . It can be understood that the bus system 4 is used to realize connection and communication between these components. In addition to the data bus, the bus system 4 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the various buses are labeled as bus system 4 in FIG. 15 .
本申请实施例中的存储器3用于存储各种类型的数据以支持电子设备的操作。这些数据的示例包括:用于在电子设备上操作的任何计算机程序。The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on an electronic device.
可以理解,存储器3可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器2旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 3 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface storage can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory ). The memory 2 described in the embodiment of the present application is intended to include but not limited to these and any other suitable types of memory.
上述本申请实施例揭示的方法可以应用于处理器2中,或者由处理器2实现。处理器2可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器2中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器2可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器2可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器3,处理器2读取存储器3中的程序,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present application may be applied to the processor 2 or implemented by the processor 2 . Processor 2 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 2 or instructions in the form of software. The aforementioned processor 2 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 2 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application 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 can be located in the storage medium, and the storage medium is located in the memory 3, and the processor 2 reads the program in the memory 3, and completes the steps of the foregoing method in combination with its hardware.
处理器2执行所述程序时实现本申请实施例的各个方法中的相应流程,为了简洁,在此不再赘述。When the processor 2 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented, and details are not repeated here for the sake of brevity.
图16是本申请实施例的芯片的示意性结构图。图16所示的芯片1600包括处理器1601,处理器1601可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 16 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 1600 shown in FIG. 16 includes a processor 1601, and the processor 1601 can call and run a computer program from a memory, so as to implement the method in the embodiment of the present application.
可选地,如图16所示,芯片1600还可以包括存储器1602。其中,处理器1601可以从存储器1602中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 16 , the chip 1600 may further include a memory 1602 . Wherein, the processor 1601 can call and run a computer program from the memory 1602, so as to implement the method in the embodiment of the present application.
其中,存储器1602可以是独立于处理器1601的一个单独的器件,也可以集成在处理器1601中。Wherein, the memory 1602 may be an independent device independent of the processor 1601 , or may be integrated in the processor 1601 .
可选地,该芯片1600还可以包括输入接口1603。其中,处理器1601可以控制该输入接口1603与其他设备或芯片进行通信,具体包括,可以获取其他设备或芯片发送的信息或数据。Optionally, the chip 1600 may also include an input interface 1603 . Wherein, the processor 1601 may control the input interface 1603 to communicate with other devices or chips, specifically including obtaining information or data sent by other devices or chips.
可选地,该芯片1600还可以包括输出接口1604。其中,处理器1601可以控制该输出接口1604与其他设备或芯片进行通信,具体包括,可以向其他设备或芯片输出信息或数据。Optionally, the chip 1600 may also include an output interface 1604 . Wherein, the processor 1601 may control the output interface 1604 to communicate with other devices or chips, specifically including, outputting information or data to other devices or chips.
可选地,该芯片可应用于本申请实施例中的第一电子设备、第二电子设备或者第三电子设备,并且该芯片可以实现本申请实施例的各个方法中由第一电子设备、第二电子设备或者第三电子设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the first electronic device, the second electronic device, or the third electronic device in the embodiments of the present application, and the chip can implement the methods performed by the first electronic device, the second electronic device in the embodiments of the present application. For the sake of brevity, the corresponding process implemented by the second electronic device or the third electronic device will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiment of the present application may also be called a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip.
在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体包括计算机可读存储介质,例如包括存储计算机程序的存储器3,上述计算机程序可由处理器2执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically including a computer-readable storage medium, for example, including a memory 3 storing a computer program, and the above-mentioned computer program can be executed by the processor 2, To complete the steps described in the aforementioned method. The computer-readable storage medium can be memories such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
在本申请的一些实施例中,该计算机可读存储介质可应用于本申请实施例中的第一电子设备、第二电子设备或者第三电子设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由第一电子设备、第二电子设备或者第三电子设备实现的相应流程,为了简洁,在此不再赘述。In some embodiments of the present application, the computer-readable storage medium can be applied to the first electronic device, the second electronic device, or the third electronic device in the embodiments of the present application, and the computer program enables the computer to execute the electronic device in the embodiments of the present application. For the sake of brevity, the corresponding processes implemented by the first electronic device, the second electronic device, or the third electronic device in each method are not repeated here.
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。The embodiment of the present application also provides a computer program product, including computer program instructions.
在本申请的一些实施例中,该计算机程序产品可应用于本申请实施例中的第一电子设备、第二电子设备或者第三电子设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由第一电子设备、第二电子设备或者第三电子设备实现的相应流程,为了简洁,在此不再赘述。In some embodiments of the present application, the computer program product can be applied to the first electronic device, the second electronic device, or the third electronic device in the embodiments of the present application, and the computer program instructions cause the computer to execute the electronic device of the embodiments of the present application. For the sake of brevity, the corresponding processes implemented by the first electronic device, the second electronic device, or the third electronic device in each method will not be repeated here.
本申请实施例还提供了一种计算机程序。The embodiment of the present application also provides a computer program.
在本申请的一些实施例中,该计算机程序可应用于本申请实施例中的第一电子设备、第二电子设备或者第三电子设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由第一电子设备、第二电子设备或者第三电子设备实现的相应流程,为了简洁,在此不再赘述。In some embodiments of the present application, the computer program can be applied to the first electronic device, the second electronic device or the third electronic device in the embodiments of the present application, and when the computer program is run on the computer, the computer executes the For the sake of brevity, the corresponding processes implemented by the first electronic device, the second electronic device, or the third electronic device in each method of the embodiment of the application are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置、终端和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed device, terminal and method may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: various media that can store program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present application are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for Make an electronic device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media capable of storing program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一个”表示多个中的任意一个或多个中的至少两个的任意组合,例如,包括A、B、C中的至少一个,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, and C, may mean including from A, B, and C Any one or more elements selected from the set formed.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。 因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (21)

  1. 一种信息传输方法,应用于第一电子设备,所述方法包括:An information transmission method applied to a first electronic device, the method comprising:
    响应于第一语音指令确定网络拓扑图,所述第一语音指令用于指示第二电子设备执行第一操作;determining a network topology map in response to a first voice command, the first voice command being used to instruct the second electronic device to perform a first operation;
    基于所述网络拓扑图确定第一传输路径;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;determining a first transmission path based on the network topology; the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device;
    基于所述第一语音指令和所述第一传输路径生成第一消息;generating a first message based on the first voice instruction and the first transmission path;
    向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息。sending the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    接收第二消息,所述第二消息由所述第一传输路径中位于所述第一电子设备的下一跳的电子设备发送,所述第二消息是第二电子设备基于对所述第一操作的执行结果和所述第一传输路径生成的。receiving a second message, the second message is sent by an electronic device located at the next hop of the first electronic device in the first transmission path, and the second message is based on the second electronic device's The execution result of the operation is generated by the first transfer path.
  3. 根据权利要求1或2所述的方法,其中,在所述响应于第一语音指令确定网络拓扑图之前,所述方法还包括:The method according to claim 1 or 2, wherein, before determining the network topology map in response to the first voice instruction, the method further comprises:
    响应于所述第一语音指令,广播第一请求信息;所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;In response to the first voice instruction, broadcast first request information; the first request information is used to request the electronic device that receives the first request information to collect a neighbor electronic device list and broadcast the first request information;
    接收第一响应信息;所述第一响应消息是至少一个第四电子设备基于所述第一请求信息返回的;所述至少一个第四电子设备表征接收到所述第一请求信息的电子设备,所述第一响应信息包括所述至少一个第四电子设备采集的邻居电子设备列表及所述至少一个第四电子设备接收到的邻居电子设备列表;receiving first response information; the first response message is returned by at least one fourth electronic device based on the first request information; the at least one fourth electronic device represents the electronic device that received the first request information, The first response information includes a neighbor electronic device list collected by the at least one fourth electronic device and a neighbor electronic device list received by the at least one fourth electronic device;
    基于所述第一响应信息,生成所述网络拓扑图。Based on the first response information, generate the network topology map.
  4. 一种信息传输方法,应用于第二电子设备,所述方法包括:An information transmission method applied to a second electronic device, the method comprising:
    接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示所述第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的电子设备发送至所述第二电子设备;receiving a first message, the first message is generated by the first electronic device based on a first voice instruction and a first transmission path, the first voice instruction is used to instruct the second electronic device to perform a first operation, the The first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is transmitted by the second electronic device located in the first transmission path. The electronic device of the previous hop of the device sends to the second electronic device;
    响应于所述第一消息,执行所述第一操作。In response to the first message, the first operation is performed.
  5. 根据权利要求4所述的方法,其中,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    生成执行所述第一操作的执行结果;generating an execution result of executing the first operation;
    基于所述第一操作的执行结果和所述第一传输路径,生成第二消息;generating a second message based on an execution result of the first operation and the first transmission path;
    向所述第一传输路径中位于所述第二电子设备的上一跳的第三电子设备发送所述第二消息。sending the second message to a third electronic device that is a hop above the second electronic device in the first transmission path.
  6. 根据权利要求4或5所述的方法,其中,在所述接收第一消息之前,所述方法还包括:The method according to claim 4 or 5, wherein, before said receiving the first message, said method further comprises:
    接收至少一个第五电子设备广播的第一请求信息,所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;receiving first request information broadcast by at least one fifth electronic device, where the first request information is used to request the electronic device that has received the first request information to collect a list of neighboring electronic devices and broadcast the first request information;
    响应于所述第一请求信息向所述至少一个第五电子设备发送第二响应信息,所述第二响应信息至少携带有所述第二电子设备采集的邻居电子设备列表。Sending second response information to the at least one fifth electronic device in response to the first request information, where the second response information at least carries a neighbor electronic device list collected by the second electronic device.
  7. 一种信息传输方法,应用于第三电子设备,所述方法包括:An information transmission method applied to a third electronic device, the method comprising:
    接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第三电子设备的上一跳的电子设备发送至所述第三电子设备;receiving a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, the first voice instruction is used to instruct the second electronic device to perform a first operation, the first The transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is transmitted by the third electronic device located in the first transmission path The last electronic device sends the message to the third electronic device;
    向所述第一传输路径中位于所述第三电子设备的下一跳的电子设备发送所述第一消息。sending the first message to an electronic device that is a next hop of the third electronic device in the first transmission path.
  8. 根据权利要求7所述的方法,其中,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    接收所述第一传输路径中位于所述第三电子设备的下一跳的电子设备发送的第二消息;receiving a second message sent by an electronic device located next to the third electronic device in the first transmission path;
    向所述第一传输路径中位于所述第三电子设备的上一跳的电子设备发送所述第二消息,其中,所述第二消息是所述第二电子设备基于所述第一操作的执行结果和所述第一传输路径生成的。sending the second message to an electronic device that is a hop above the third electronic device in the first transmission path, where the second message is the second electronic device based on the first operation Execution results and generated by the first transfer path.
  9. 根据权利要求7或8所述的方法,其中,所述第一消息和所述第二消息还携带第一字段,所述第一字段表征对应的消息为第一消息或第二消息;所述方法还包括:The method according to claim 7 or 8, wherein the first message and the second message also carry a first field, and the first field indicates that the corresponding message is a first message or a second message; the Methods also include:
    基于接收到的消息中第一字段的字段值,确定向所述第一传输路径中位于所述第三电子设备的上一跳或下一跳的电子设备发送接收到的消息。Based on the field value of the first field in the received message, determine to send the received message to an electronic device located in the first hop or next hop of the third electronic device in the first transmission path.
  10. 根据权利要求7至9任一项所述的方法,其中,在所述接收第一消息之前,所述方法还包括:The method according to any one of claims 7 to 9, wherein, before the receiving the first message, the method further comprises:
    接收第一电子设备或至少一个第六电子设备广播的第一请求信息,所述第一请求信息用于请求接收到所述第一请求信息的电子设备采集邻居电子设备列表并广播所述第一请求信息;receiving first request information broadcast by the first electronic device or at least one sixth electronic device, where the first request information is used to request the electronic device that receives the first request information to collect a neighbor electronic device list and broadcast the first request information;
    响应于所述第一请求信息,向广播所述第一请求信息的电子设备返回第三响应信息;所述第三响 应信息携带有所述第三电子设备采集的邻居电子设备列表以及所述第三电子设备接收到的邻居电子设备列表。In response to the first request information, return third response information to the electronic device broadcasting the first request information; the third response information carries the neighbor electronic device list collected by the third electronic device and the first The list of neighbor electronic devices received by the three electronic devices.
  11. 一种信息传输方法,所述方法包括:An information transmission method, the method comprising:
    第一电子设备响应于第一语音指令确定网络拓扑图,基于网络拓扑图确定第一传输路径;基于所述第一语音指令和所述第一传输路径生成第一消息;以及向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息;所述第一语音指令用于指示第二电子设备执行第一操作;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;The first electronic device determines a network topology map in response to the first voice instruction, determines a first transmission path based on the network topology map; generates a first message based on the first voice instruction and the first transmission path; and sends the first message to the first electronic device. The third electronic device located at the next hop of the first electronic device in the transmission path sends the first message; the first voice command is used to instruct the second electronic device to perform a first operation; the first transmission path characterizing a message transmission path from said first electronic device to said second electronic device via at least one third electronic device;
    所述至少一个第三电子设备中的每个第三电子设备接收所述第一消息,并向所述第一传输路径中位于对应的第三电子设备的下一跳的电子设备发送所述第一消息;所述第一消息由所述第一传输路径中位于对应的第三电子设备的上一跳的电子设备发送至对应的第三电子设备;Each third electronic device in the at least one third electronic device receives the first message, and sends the first message to an electronic device that is next hop to the corresponding third electronic device in the first transmission path. A message; the first message is sent to the corresponding third electronic device by an electronic device located one hop above the corresponding third electronic device in the first transmission path;
    所述第二电子设备接收所述第一消息,并响应于所述第一消息,执行所述第一操作;所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的第三电子设备发送至所述第二电子设备。The second electronic device receives the first message, and executes the first operation in response to the first message; the first message is transmitted by the second electronic device located in the first transmission path The third electronic device in the previous hop sends the message to the second electronic device.
  12. 根据权利要求11所述的方法,其中,所述方法还包括:The method according to claim 11, wherein the method further comprises:
    所述第二电子设备生成第二消息,向所述第一传输路径中位于所述第二电子设备的上一跳的第三电子设备发送所述第二消息;所述第二消息携带所述第一操作的执行结果和所述第一传输路径;The second electronic device generates a second message, and sends the second message to a third electronic device that is located on a previous hop of the second electronic device in the first transmission path; the second message carries the an execution result of the first operation and the first transmission path;
    所述至少一个第三电子设备中的每个第三电子设备接收所述第一传输路径中位于对应的第三电子设备的下一跳的电子设备发送的第二消息,并向所述第一传输路径中位于对应的第三电子设备的上一跳的电子设备发送所述第二消息;Each third electronic device of the at least one third electronic device receives a second message sent by an electronic device next hop to the corresponding third electronic device in the first transmission path, and sends the second message to the first sending the second message by an electronic device located at the last hop of the corresponding third electronic device in the transmission path;
    所述第一电子设备接收所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送的第二消息。The first electronic device receives the second message sent by the third electronic device that is a next hop of the first electronic device in the first transmission path.
  13. 一种信息传输装置,包括:An information transmission device, comprising:
    第一处理单元,被配置为响应于第一语音指令确定网络拓扑图,所述第一语音指令用于指示第二电子设备执行第一操作;A first processing unit configured to determine a network topology map in response to a first voice instruction, the first voice instruction being used to instruct the second electronic device to perform a first operation;
    第二处理单元,被配置为基于所述网络拓扑图确定第一传输路径;所述第一传输路径表征从第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;A second processing unit configured to determine a first transmission path based on the network topology map; the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device ;
    第一生成单元,被配置为基于所述第一语音指令和所述第一传输路径生成第一消息;a first generating unit configured to generate a first message based on the first voice instruction and the first transmission path;
    第一发送单元,被配置为向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息。The first sending unit is configured to send the first message to a third electronic device that is a next hop of the first electronic device in the first transmission path.
  14. 一种信息传输装置,包括:An information transmission device, comprising:
    第一接收单元,被配置为接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的第三电子设备发送至所述第二电子设备;The first receiving unit is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, and the first voice instruction is used to instruct the second electronic device to execute In the first operation, the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is sent from the first transmission path sending to the second electronic device by a third electronic device located at the previous hop of the second electronic device;
    第三处理单元,被配置为响应于所述第一消息,执行所述第一操作。A third processing unit configured to execute the first operation in response to the first message.
  15. 一种信息传输装置,包括:An information transmission device, comprising:
    第二接收单元,被配置为接收第一消息,所述第一消息是第一电子设备基于第一语音指令和第一传输路径生成的,所述第一语音指令用于指示第二电子设备执行第一操作,所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径,所述第一消息由所述第一传输路径中位于所述第三电子设备的上一跳的电子设备发送至所述第三电子设备;The second receiving unit is configured to receive a first message, the first message is generated by the first electronic device based on the first voice instruction and the first transmission path, and the first voice instruction is used to instruct the second electronic device to execute In the first operation, the first transmission path represents a message transmission path from the first electronic device to the second electronic device via at least one third electronic device, and the first message is sent from the first transmission path The electronic device located at the last hop of the third electronic device sends to the third electronic device;
    第二发送单元,被配置为向所述第一传输路径中位于所述第三电子设备的下一跳的电子设备发送所述第一消息。The second sending unit is configured to send the first message to an electronic device next hop to the third electronic device in the first transmission path.
  16. 一种信息传输系统,所述系统包括第一电子设备,至少一个第三电子设备和第二电子设备,其中,An information transmission system, said system comprising a first electronic device, at least one third electronic device and a second electronic device, wherein,
    所述第一电子设备,被配置为响应于第一语音指令确定网络拓扑图;基于所述网络拓扑图确定第一传输路径;基于所述第一语音指令和所述第一传输路径生成第一消息;以及向所述第一传输路径中位于所述第一电子设备的下一跳的第三电子设备发送所述第一消息;所述第一语音指令用于指示第二电子设备执行第一操作;所述第一传输路径表征从所述第一电子设备经至少一个第三电子设备到所述第二电子设备的消息传输路径;The first electronic device is configured to determine a network topology map in response to a first voice instruction; determine a first transmission path based on the network topology map; and generate a first transmission path based on the first voice instruction and the first transmission path. message; and sending the first message to a third electronic device located at the next hop of the first electronic device in the first transmission path; the first voice instruction is used to instruct the second electronic device to perform the first Operation; the first transmission path characterizes a message transmission path from the first electronic device to the second electronic device via at least one third electronic device;
    所述至少一个第三电子设备中的每个第三电子设备,被配置为接收所述第一消息,并向所述第一传输路径中位于对应的第三电子设备的下一跳的电子设备发送所述第一消息;所述第一消息由所述第一传输路径中位于对应的第三电子设备的上一跳的电子设备发送至对应的第三电子设备;Each third electronic device in the at least one third electronic device is configured to receive the first message, and transmit the message to the next-hop electronic device of the corresponding third electronic device in the first transmission path sending the first message; the first message is sent to the corresponding third electronic device by an electronic device that is a hop above the corresponding third electronic device in the first transmission path;
    所述第二电子设备,被配置为接收所述第一消息,并响应于所述第一消息,执行所述第一操作; 所述第一消息由所述第一传输路径中位于所述第二电子设备的上一跳的电子设备发送至所述第二电子设备。The second electronic device is configured to receive the first message, and execute the first operation in response to the first message; the first message is transmitted by the first message located in the first transmission path The last hop electronic device of the second electronic device sends the message to the second electronic device.
  17. 一种电子设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,An electronic device comprising: a processor and a memory for storing a computer program capable of running on the processor,
    其中,所述处理器被配置为运行所述计算机程序时,执行如权利要求1至12任一项所述的信息传输方法的步骤。Wherein, the processor is configured to execute the steps of the information transmission method according to any one of claims 1 to 12 when running the computer program.
  18. 一种芯片,包括:处理器,被配置为从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至12中任一项所述的方法。A chip, comprising: a processor configured to call and run a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 1 to 12.
  19. 一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至12任一项所述的信息传输方法的步骤。A storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the information transmission method according to any one of claims 1 to 12 are realized.
  20. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至12中任一项所述的方法。A computer program product comprising computer program instructions for causing a computer to perform the method as claimed in any one of claims 1 to 12.
  21. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1至12中任一项所述的方法。A computer program that causes a computer to perform the method as claimed in any one of claims 1 to 12.
PCT/CN2022/116750 2021-09-16 2022-09-02 Information transmission method and apparatus, and electronic device, chip, storage medium, program and program product WO2023040678A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111089262.6A CN113838463A (en) 2021-09-16 2021-09-16 Information transmission method and device, electronic equipment and storage medium
CN202111089262.6 2021-09-16

Publications (1)

Publication Number Publication Date
WO2023040678A1 true WO2023040678A1 (en) 2023-03-23

Family

ID=78959614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/116750 WO2023040678A1 (en) 2021-09-16 2022-09-02 Information transmission method and apparatus, and electronic device, chip, storage medium, program and program product

Country Status (2)

Country Link
CN (1) CN113838463A (en)
WO (1) WO2023040678A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113838463A (en) * 2021-09-16 2021-12-24 Oppo广东移动通信有限公司 Information transmission method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702685A (en) * 2009-11-12 2010-05-05 北京东方网力科技有限公司 Method, device and system for selecting route
CN102255780A (en) * 2010-05-20 2011-11-23 株式会社曙飞电子 Home network system and control method
CN102332204A (en) * 2011-06-15 2012-01-25 上海理工大学 Wireless voice domestic barrier-free environment control system
US20150187209A1 (en) * 2006-01-31 2015-07-02 Sigma Designs, Inc. Method and system for synchronization and remote control of controlling units
CN107770009A (en) * 2017-09-29 2018-03-06 珠海格力电器股份有限公司 A kind of control device, method, storage medium and equipment
CN112071320A (en) * 2020-09-01 2020-12-11 合肥飞尔智能科技有限公司 Intelligent equipment voice control system and method
CN113838463A (en) * 2021-09-16 2021-12-24 Oppo广东移动通信有限公司 Information transmission method and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9495326B2 (en) * 2011-09-12 2016-11-15 Qualcomm Incorporated Providing communication path information in a hybrid communication network
US20160081005A1 (en) * 2014-09-17 2016-03-17 Qualcomm Incorporated Route formation and message transmission in a data link group over multiple channels
US10261830B2 (en) * 2016-06-14 2019-04-16 Microsoft Technology Licensing, Llc Cross-device task execution
CN110798860B (en) * 2018-08-01 2023-06-20 华为技术有限公司 Data processing method, device and system
CN109377987B (en) * 2018-08-31 2020-07-28 百度在线网络技术(北京)有限公司 Interaction method, device, equipment and storage medium between intelligent voice equipment
CN112770338B (en) * 2019-10-21 2022-11-04 华为技术有限公司 Communication method and communication device
CN113127609A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Voice control method, device, server, terminal equipment and storage medium
CN113890773A (en) * 2020-07-01 2022-01-04 华为技术有限公司 Cross-device control method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150187209A1 (en) * 2006-01-31 2015-07-02 Sigma Designs, Inc. Method and system for synchronization and remote control of controlling units
CN101702685A (en) * 2009-11-12 2010-05-05 北京东方网力科技有限公司 Method, device and system for selecting route
CN102255780A (en) * 2010-05-20 2011-11-23 株式会社曙飞电子 Home network system and control method
CN102332204A (en) * 2011-06-15 2012-01-25 上海理工大学 Wireless voice domestic barrier-free environment control system
CN107770009A (en) * 2017-09-29 2018-03-06 珠海格力电器股份有限公司 A kind of control device, method, storage medium and equipment
CN112071320A (en) * 2020-09-01 2020-12-11 合肥飞尔智能科技有限公司 Intelligent equipment voice control system and method
CN113838463A (en) * 2021-09-16 2021-12-24 Oppo广东移动通信有限公司 Information transmission method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113838463A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
EP3651485B1 (en) Bluetooth cluster online upgrade method and apparatus
US8825873B2 (en) Using a service discovery request to find available devices
US20100232408A1 (en) Method of connecting wireless communication devices and wireless communication device using the same
WO2018024121A1 (en) Network function (nf) management method and nf management device
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
US20120258664A1 (en) Resolving an application service change in a system using bluetooth
US20160241635A1 (en) M2m data querying and invoking methods, querying and invoking devices, and system
WO2023040678A1 (en) Information transmission method and apparatus, and electronic device, chip, storage medium, program and program product
CN113543277B (en) Distribution network processing method and device and electronic equipment
US20230179980A1 (en) Communication method employing bluetooth network, and node and communication system applying same
US20070236727A1 (en) Transport medium selection to optimize device operation
WO2017219519A1 (en) Method, apparatus, and system for controlling device
US7801097B2 (en) Setting up of a wireless network by determining and utilizing local topology information
CN102349279B (en) For finding the method and apparatus of peer-to-peer overlay network
CN113132958B (en) Fusion networking method, device, system and computer readable storage medium
WO2017219653A1 (en) Device control method, apparatus and system, and file sending method and apparatus
WO2017113302A1 (en) Media service proxy method, device and system thereof
CN111935651B (en) Cluster service implementation method, device, medium, base station and system
CN114126000A (en) Networking method and device for intelligent equipment
WO2021031738A1 (en) Location acquisition method and apparatus, hss, udm device and storage medium
WO2021134252A1 (en) Inter-device communication method and apparatus, and storage medium
JP3566127B2 (en) Communication address management device and communication address control method
US11223557B1 (en) Multicast traffic disruption prevention system
CN113765904B (en) Authentication method and device
WO2024011367A1 (en) Device discovery methods and apparatuses, and device, storage medium and program product

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: 22869049

Country of ref document: EP

Kind code of ref document: A1