WO2022156407A1 - Network device and method for executing service by same - Google Patents

Network device and method for executing service by same Download PDF

Info

Publication number
WO2022156407A1
WO2022156407A1 PCT/CN2021/136361 CN2021136361W WO2022156407A1 WO 2022156407 A1 WO2022156407 A1 WO 2022156407A1 CN 2021136361 W CN2021136361 W CN 2021136361W WO 2022156407 A1 WO2022156407 A1 WO 2022156407A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
network
video
audio
information
Prior art date
Application number
PCT/CN2021/136361
Other languages
French (fr)
Chinese (zh)
Inventor
周奎
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022156407A1 publication Critical patent/WO2022156407A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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
    • G10L2015/223Execution procedure of a spoken command

Definitions

  • the present application relates to the field of communications, and in particular, to network devices and methods for performing services.
  • the present application provides a network device and a method for executing a service, which can improve user experience.
  • a service execution method is provided, and the method can be executed by a first network device, and can also be executed by a chip or a system-on-chip deployed in the first network device.
  • the method includes: establishing a communication connection with a terminal device, wherein the first network device is used to access the terminal device to a wide area network, the terminal device is switched from the second network device to the first network device, the first network device and the second network device The network devices are deployed in different locations; when receiving the indication information from the second network device or the third network device, the target service is executed with the support of the audio and video module of the first network device.
  • the terminal device is usually carried by the user, and both the first network device and the second network device deployed in different locations have the function of connecting the terminal device to the wide area network. Therefore, when the terminal device is switched from the second network device to the first network device, it means that the location of the user is closer to the location of the first network device in space;
  • the target service is executed under the support of the audio and video module, so that the user can more efficiently exchange sound information and/or image information with the first network device, and the user experience is better.
  • the indication information includes the target audio and video and playback progress information
  • the playback progress information is used to indicate the playback progress of the target audio and video in the second network device.
  • the first network device may specifically control the audio and video modules included in the first network device to continue playing the target audio and video originally played by the second network device according to the playback progress description information. In this way, it is ensured that the user can continuously watch the video and/or listen to the audio, and the user experience is better.
  • the instruction information includes instruction information used to instruct the first network device as a control device of the household device.
  • the first network device may specifically collect the voice command issued by the user through the audio and video module included in the first network device, and control the home device according to the voice command.
  • the first network device acts as a home control device when receiving the instruction information containing the instruction information. Since the location of the user is closer to the first network device, the first network device, as the control device of the home device, specifically implements the information sent to the user by the first network device.
  • the first network device can better collect the voice command sent by the user, which is conducive to realizing accurate control of the furniture device based on the user's needs.
  • the indication information further includes status information, where the status information is used to indicate whether the smart home control service deployed in the second network device is in an awake state.
  • the first network device can also wake up the smart home control service deployed in the first network device, and use the awakened smart home control service. To specifically realize the control of home equipment according to voice commands.
  • the smart furniture control service deployed in the first network device does not need to be in an awake state, which can reduce the power consumption of the first network device;
  • the state information indicates that the smart furniture control service deployed in the second network device
  • the smart home control service is in the wake-up state, it indicates that the user may need to use the smart furniture, and the first network device actively wakes up the deployed smart furniture control service without the user issuing a wake-up word to wake up the smart furniture control service. , the user experience is better.
  • the first network device after the first network device is used as a control device of the furniture device, it can specifically control the home device associated with the first network device according to a voice command issued by the user. In this way, it is beneficial for the user to issue a shorter voice command, so that the first network device can specifically control the specific home device according to the home device control scheme expected by the user, and the user experience is better.
  • the first network device and the second network device belong to the same wireless local area network WLAN.
  • the first network device may also send a notification message to the second network device, where the notification message is used to indicate that the terminal device and the first network device establish a communication connection.
  • the second network device which is the primary access point, can discover the handover that occurs in the terminal device.
  • the first network device, the second network device and the third network device belong to the same wireless local area network WLAN.
  • the first network device may also send a notification message to the third network device, where the notification message is used to indicate that the terminal device and the first network device establish a communication connection.
  • the third network device which is the primary access point, can discover the handover that occurs in the terminal device.
  • the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of. It can be understood that, when the signal quality of the wireless signal of the first network device received by the terminal device is better than that of the wireless signal of the second network device received by the terminal device, relative to the location of the second network device, the terminal device The location is spatially closer to the location of the first network device, and the corresponding description indicates that the location of the user holding the terminal device is spatially closer to the location of the first network device.
  • a first network device in a second aspect, is provided, and reference may be made to the description in the first aspect for beneficial effects.
  • the first network device may include: a communication module for controlling the first network device to establish a communication connection with the terminal device, and connecting the terminal device to the wide area network; wherein the terminal device is switched from the second network device to the first network device , the first network device and the second network device are deployed in different locations; and, for receiving indication information from the second network device or the third network device.
  • the audio and video module is configured to support the first network device to execute the target service when the communication module receives the indication information.
  • the indication information includes the target audio and video and playback progress information, wherein the playback progress information is used to indicate the playback progress of the target audio and video in the second network device.
  • the audio and video module is specifically configured to continue playing the target audio and video according to the playback progress information.
  • the instruction information includes instruction information used to instruct the first network device as a control device of the household device.
  • the audio and video module is specifically used to collect the voice command issued by the user; the first network device further includes: a processing module, configured to control the household device according to the voice command.
  • the indication information further includes status information, wherein the status information is used to indicate whether the smart home control service deployed in the second network device is in an awake state.
  • the processing module is further configured to wake up the smart home control service deployed in the first network device when the status information indicates that the smart home control service deployed in the second network device is in an awake state.
  • the processing module is specifically configured to control the household device associated with the first network device according to the voice command.
  • the first network device and the second network device belong to the same wireless local area network WLAN.
  • the communication module is further configured to send a notification message to the second network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  • the first network device, the second network device and the third network device belong to the same wireless local area network WLAN.
  • the communication module is further configured to send a notification message to the third network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  • the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
  • a service execution method can be executed by a second network device, and can also be executed by a chip or a system-on-chip deployed in the second network device, and its beneficial effects can be referred to the description in the first aspect .
  • the method may include: determining that the terminal device has established a communication connection with the first network device, wherein the terminal device is switched from the second network device to the first network device, the first network device and the second network device are deployed in different locations, the terminal device The device accesses the wide area network through the second network device before switching to the first network device; and sends indication information to the first network device, where the indication information is used to instruct the first network device to execute the target service under the support of the audio and video module included in the device.
  • the method before determining that the terminal device has established a communication connection with the first network device, the method further includes: playing the target audio and video.
  • the indication information includes target audio and video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio and video in the second network device; the target service includes continuing to play the target audio and video according to the playback progress information.
  • the instruction information includes instruction information used to instruct the first network device as a control device of the household device.
  • the target business includes: collecting voice commands issued by users, and controlling home equipment according to the voice commands.
  • the indication information further includes state information, wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state, so that the first network device is in a state information indicating that the second network device is in an awake state.
  • the smart home control service deployed in the network device is in the wake-up state, the smart home control service deployed in the first network device is woken up.
  • the target service specifically includes: controlling a home device associated with the first network device according to a voice command.
  • the first network device and the second network device belong to the same wireless local area network WLAN.
  • the method further includes: receiving a notification message from the first network device, wherein the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  • the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
  • a second network device may include: a processing module configured to determine that the terminal device has established a communication connection with the first network device, wherein the terminal device is switched from the second network device to the first network device, the first network device and the second network device The devices are deployed in different locations, and the terminal device accesses the wide area network through the communication module of the second network device before switching to the first network device.
  • the communication module is further configured to send indication information to the first network device, where the indication information is used to instruct the first network device to execute the target service under the support of the audio and video module included in the communication module.
  • the second network device further includes: an audio and video module, configured to play the target audio and video.
  • the indication information includes the target audio and video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio and video in the second network device.
  • the target service includes continuing to play the target audio and video according to the playback progress information.
  • the instruction information includes instruction information used to instruct the first network device as a control device of the household device.
  • the target business includes: collecting voice commands issued by users, and controlling home equipment according to the voice commands.
  • the indication information further includes state information, wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state, so that the first network device is in a state information indicating that the second network device is in an awake state.
  • the smart home control service deployed in the network device is in the wake-up state, the smart home control service deployed in the first network device is woken up.
  • the target service specifically includes: controlling a home device associated with the first network device according to a voice command.
  • the first network device and the second network device belong to the same WLAN.
  • the communication module is further configured to receive a notification message from the first network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  • the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
  • a network device including a memory and a processor, a computer program is stored in the memory, and when the processor executes the computer program, the method of any one of the first aspect or the third aspect is implemented.
  • a communication system including a terminal, the first network device according to any one of the second aspects, and the second network device according to any one of the fourth aspects.
  • a chip including a processor, and when the processor executes a computer program stored in a memory, the method of any one of the first aspect or the third aspect is implemented.
  • a computer-readable storage medium for storing a computer program, and when the computer program is executed by a processor of a network device, the network device implements the method described in any one of the first aspect or the third aspect .
  • a computer program product includes a computer program, and when the computer program is run on a computer, the computer is made to execute any one of the first aspect or the third aspect above. method.
  • FIG. 1 is a schematic diagram of a business scenario to which the technical solution provided in the embodiment of the application is applicable;
  • FIG. 2 is a schematic structural diagram of a network device provided in an embodiment of the application.
  • FIG. 3 is one of the schematic diagrams of a process for performing a target service by a network device provided in an embodiment of the present application
  • FIG. 4 is the second schematic diagram of a process of executing a target service by a network device provided in an embodiment of the present application
  • FIG. 5 is a third schematic diagram of a process for performing a target service by a network device provided in an embodiment of the present application
  • FIG. 6 is a fourth schematic diagram of a process for performing a target service by a network device provided in an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of a first network device provided in an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of a second network device provided in an embodiment of the present application.
  • the term “and/or” is only used to describe the association relationship between associated objects, indicating that there can be three kinds of relationships; for example, “A and/or B” may mean that A exists alone, B exists alone, and both exist A and B these three cases.
  • the term “plurality” means two or more, and “several” means one or more, unless stated otherwise.
  • the terms “including”, “including”, “having” and variations thereof mean “including but not limited to” unless specifically emphasized otherwise.
  • the terms “first” and “second” are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the indicated technical features; thus, the terms “first” and “second” are defined as “first” and “second”.
  • a feature of a can expressly or implicitly include one or more of that feature.
  • FIG. 1 is a schematic diagram of a business scenario to which the technical solution provided in the embodiment of the application is applicable.
  • a home/hotel/office scenario usually includes multiple rooms.
  • the room 1, room 2, and room 3 are taken as an example.
  • Room 1 can set up a network device as access point 201, and the wireless signal of access point 201 can cover room 1;
  • room 2 can set up a network device as node 302, and the wireless signal of access point 203 can cover the room 2;
  • a network device as the access point 203 can be set in the room 3, and the wireless signal of the access point 203 can cover the room 3.
  • the configuration of the aforementioned access points includes: enabling the dynamic host configuration protocol (DHCP) and domain name system (DNS) services of the master access point (eg, access point 201 ) , close the DHCP and DNS services from the access points (such as access point 202 and access point 203); configure the access information of the aforementioned access points, such as configuring the service set identifiers (service set identifiers) of the aforementioned access points identifier, SSID) and key; and configure the channel and Internet Protocol (IP) address of each of the aforementioned access points.
  • DHCP dynamic host configuration protocol
  • DNS domain name system
  • the terminal device 10 may be a mobile phone, a tablet computer, a personal digital assistant (PDA), a laptop computer (laptop), an augmented reality (AR) device, a virtual reality (VR) device, an artificial Intelligent (artificial intelligence, AI) equipment, etc.
  • the terminal device 10 includes a memory, a processor and a communication module, and optionally further includes functional modules/units such as a display screen, a camera, an audio module, and a sensor module.
  • the terminal device 10 When the terminal device 10 moves in each room, it can switch between the access points according to the signal quality of the wireless signal from each access point, wherein the switching performed by the terminal device 10 between the access points can also be expressed as Automatic switching or roaming switching. For example, when the terminal device 10 is located in room 1, its location is closer to the location of the access point 201 in space, and the corresponding wireless signal from the access point 201 has the best signal quality, which can be passed through the access point 201.
  • the access information of the device establishes a communication connection with the access point 201, and the access point 201 connects the terminal device 10 to the wide area network (such as the Internet); when the terminal device 10 moves from room 1 to room 2, its location is closer in space Where the access point 202 is located, the signal quality of the wireless signal from the access point 202 is the best, a communication connection can be established with the access point 202 through the access information of the access point 202, and the access point 202 connects the terminal device 10 Access the wide area network to implement handover from the access point 201 to the access point 202 .
  • the wide area network such as the Internet
  • the terminal device 10 is switched from a second network device (eg, the network device serving as the access point 201 ) to the first network device (eg, the network device serving as the access point 202 )
  • the first network device that is closer to the user can execute the target service under the support of the audio and video module included in the first network device according to the handover of the terminal device 10, thereby improving the user experience.
  • the target service may include but is not limited to: continuing to play the target audio and video originally played by the second network device, and/or controlling the home device according to the voice command issued by the user.
  • FIG. 2 is a schematic structural diagram of a network device provided in an embodiment of the present application.
  • the network device includes a processor 301, a memory 302, a wireless communication module 303, an audio module 304, a microphone 304A, a speaker 304B and an antenna, and may also include a display screen 305, a sensor module 306, and buttons 307.
  • the wireless communication module 303 may include, but is not limited to, a Wi-Fi module and/or a bluetooth (BT) module;
  • the sensor module 306 may include, but is not limited to, a touch sensor;
  • the memory 302 may include high-speed random access memory and non-volatile Storage, for example, includes disk storage, flash memory, and universal flash storage (UFS).
  • the combination of the audio module 304, the microphone 304A, the speaker 304B and the display screen 305 may be referred to as an audio-video module.
  • the memory 302 is used to store computer programs and various data created during use of the network device.
  • the processor 301 is used for running the computer program in the memory 302 to realize various specific functions or data processing procedures of the network device.
  • the method for performing a service by a network device will be described in detail below with reference to the service scenario shown in FIG. 1 .
  • the following will mainly take the first network device as the network device as the slave access point 202 and the second network device as the network device as the master access point 201 to exemplarily describe the cooperation between the first network device and the second network device The process of executing the target business.
  • FIG. 3 is one of the schematic diagrams of a process of executing a target service by a network device according to an embodiment of the present application.
  • step 401 the second network device and the terminal device 10 establish a communication connection.
  • the terminal device 10 is located in the room 1. Due to the influence of the wall, the location of the terminal device 10 is closer to the location of the access point 201 in space.
  • the signal quality of the signal is better than the wireless signal from slave access point 202 and slave access point 203.
  • the terminal device 10 will establish a communication connection with the master access point 201 with the best signal quality, that is, establish a communication connection with the network device (second network device) as the master access point 201, and the network as the master access point 201 will establish a communication connection.
  • the device connects the terminal device 10 to the wide area network.
  • step 403 the first network device and the terminal device 10 establish a communication connection.
  • the location of the terminal device 10 is spatially closer to the location of the access point 202 due to the influence of the wall.
  • the signal quality of the wireless signal from the slave access point 202 is better than the wireless signals from the master access point 201 and the slave access point 203 .
  • the terminal device 10 will be switched from the master access point 201 to the slave access point 202 with the best signal quality; that is, the terminal device 10 will disconnect the communication connection with the network device serving as the master access point 201, and connect with the slave access point 201.
  • the network device (first network device) of the access point 202 re-establishes the communication connection, and the network device serving as the slave access point 202 connects the terminal device 10 to the wide area network.
  • step 405 the second network device determines that the terminal device 10 establishes a communication connection with the first network device.
  • the terminal device 10 when the terminal device 10 is switched from the second network device to the first network device, the terminal device 10 needs to disconnect the communication connection with the second network device, and the second network device may determine that the terminal device 10 is possible The network device on which the switchover occurred.
  • the first network device may send a notification message to the second network device, where the notification message is used to indicate that the terminal device 10 has established a communication connection with the first network device; specifically
  • the notification message may include the device identifiers of each terminal device (including at least the terminal device 10 ) that has established a communication connection with the first network device.
  • the second network device may determine, based on the notification message, that the terminal device 10 has established a communication connection with the first network device.
  • the second network device may also receive notification messages from other network devices other than the first network device in the WLAN, such as receiving notification messages from the network device serving as the slave access point 203 .
  • the second network device can detect whether the notification message contains the device identifier of the terminal device 10; if so, it means that the terminal device 10 has been switched from the second network device to the first device that sent the notification message. Network equipment.
  • the first network device and the second network device are network devices serving as slave access points in the WLAN
  • the third network device is the network device serving as the master access point in the WLAN.
  • the terminal device 10 switches from the second network device to the first network device
  • the terminal device 10 needs to disconnect the communication connection with the second network device, and the second network device can report the first access information (also referred to as the first access information) to the third network device.
  • the first access information includes the device identification of the terminal device 10 and the first access indication indicating that the terminal device 10 has disconnected the communication connection with the second network device.
  • the first network device may report a second access message (also referred to as a notification message) to the third network device, where the second access message includes the terminal device 10 and a second access indication indicating that the terminal device 10 has established a communication connection with the first network device.
  • the third network device can learn that the terminal device 10 is switched from the second network device to the first network device by matching the first access information and the second access information, and then send a notification message to the second network device, where the notification message can be
  • the device identification of the terminal device 10 and the device identification of the first network device are included, so that the notification message can be used to indicate that the terminal device 10 has established a communication connection with the first network device.
  • the second network device receives the notification message from the third network device, it can be determined that the terminal device 10 has established a communication connection with the first network device.
  • step 407 the second network device sends indication information to the first network device.
  • the indication information may also be provided by a third network device.
  • the first network device, the second network device and the third network device belong to the same WLAN, and the third network device belongs to the same WLAN.
  • the first network device executes step 409 in response to the indication information from the second network device or the third network device, and executes the target service under the support of the audio and video module included in the first network device.
  • the process of cooperation between the first network device and the second device may be different.
  • the following describes in detail with reference to FIG. 4 to FIG. specific examples.
  • FIG. 4 is the second schematic diagram of a process of executing a target service by a network device according to an embodiment of the present application.
  • the second network device may also perform: step 4021 , collect users through the audio and video module of the second network device The voice command sent out; Step 4023, control the connected home equipment according to the voice command.
  • the home device controlled by the second network device may specifically be a home device associated with the second network device, or a home device that has established a communication connection with any network device in the WLAN to which the second network device belongs.
  • Step 407 specifically includes step 4071, in which the second network device sends instruction information including instruction information to the first network device.
  • the instruction information is used to instruct the first network device as a control device of the household device.
  • the second network device when the second network device is not the network device serving as the primary access point in the WLAN to which it belongs, the second network device may not need to perform step 4071.
  • the first network device and the third network device serving as the primary access point in the WLAN to which the second network device belongs can learn that the terminal device 10 is switched from the second network device to the first network device, and learn that the terminal device 10 is switched from the second network device to the first network device. After switching from the second network device to the first network device, the device 10 sends the instruction information including the instruction information to the first network device.
  • the first network device executes step 409 in response to the instruction information included in the instruction information.
  • the step 409 may specifically include: step 4091, collecting the voice command sent by the user through the audio and video module of the first network device; step 4093, controlling the connected home device according to the voice command.
  • the home device controlled by the first network device may specifically be a home device associated with the first network device, or a home device that has established a communication connection with any network device in the WLAN to which the first network device belongs.
  • the smart home control service can be deployed in both the first network device and the second network device, and the indication information may also include status information, where the status information is used to indicate the smart home control service deployed in the second network device. Whether the smart home control service is awake.
  • the indication information includes instructions for indicating the first 2. Status information that the smart home control service deployed in the network device is in the awake state.
  • the first network device can wake up the smart home control service deployed in the first network device according to the indication of the state information.
  • the first network device may maintain the association relationship between several specific home devices and the first network device in advance through the smart home control service deployed by the first network device.
  • the user can issue a shorter voice command for controlling the home equipment, so that the first network device can control the home equipment associated with the first network device according to the association relationship, so as to realize the control of several specific smart homes and improve the user experience.
  • the network device that is the slave access point 202 is the first network device.
  • Room 2 is deployed with a number of household devices such as smart lamps and smart air conditioners.
  • the smart light/smart air conditioner is usually the smart light/smart air conditioner located in room 2.
  • the association relationship between the smart lamps and smart air conditioners deployed in the room 2 and the first network device is maintained in advance.
  • the smart home control service deployed in the first network device When the smart home control service deployed in the first network device is woken up and receives a specific and very short voice command (for example, turn on the lights or turn on the air conditioner), the smart home control service deployed in the first network device can The voice command and the association relationship control the home equipment associated with the first network device, such as turning on the smart lamps/smart air conditioners deployed in room 2, but not turning on the smart lamps/smart air conditioners deployed in room 1 or room 3 .
  • a specific and very short voice command for example, turn on the lights or turn on the air conditioner
  • the first network device can control the home device that has established a communication connection with any network device in the WLAN to which the first network device belongs, through the smart home control service deployed by the first network device.
  • the lamp/smart air conditioner in room 1 establishes a communication connection through the network device as the access point 201.
  • the user After the user enters room 2 with the terminal device 10 from room 1, he wishes to turn off the household equipment deployed in room 1. For example, it is desired to turn off smart lamps or smart air conditioners deployed in room 1.
  • the user issues a specific voice command in room 2 (for example, turn off the lamps/smart air conditioner in room 1), as the smart home control service deployed in the network device (first network device) of the access point 202, the The semantics of the voice command is parsed, and the smart lamps/smart air conditioners deployed in room 1 are turned off according to the results of the semantic analysis.
  • the second network device can also release the smart home control service deployed in the second network device after determining that the terminal device 10 establishes a communication connection with the first network device.
  • the smart home control service deployed in the second network device is put into a dormant state.
  • the terminal device 10 switches from the second network device to the first network device, if both the first network device and the second network device receive a specific voice command, the first network device will act as a home device.
  • the control device of the second network device responds to the voice command, and the second network device will not respond to the voice command incorrectly because the deployed smart home control service is in a dormant state.
  • FIG. 5 is a third schematic diagram of a process of executing a target service by a network device according to an embodiment of the present application.
  • the user can control the second network device to perform step 4025 to play the target sound video.
  • the target audio and video may specifically be audio or video.
  • step 406 is further performed to determine the playback progress of the target audio and video in the second network device.
  • Step 407 specifically includes step 4073, where the second network device sends indication information including target audio and video and playback progress information to the first network device.
  • the playback progress information is used to indicate the playback progress of the target audio and video in the second network device.
  • Step 409 specifically includes step 4095, in which the first network device continues to play the target audio and video through the audio and video module included in the first network device according to the playback progress information.
  • the indication information may further include playback status information, where the playback status information is used to indicate whether the second network device is playing the target audio and video.
  • the first network device performs the foregoing step 4095 according to the indication of the playing state.
  • the playing state indicates that the second network device pauses playing the target audio and video
  • the first network device does not directly execute step 4095, but executes step 4095 after receiving a control signal from the user; for example, the control signal may be
  • the voice instruction issued by the user causes the first network device to execute step 4095 according to the instruction of the voice instruction.
  • FIG. 6 is a fourth schematic diagram of a process of executing a target service by a network device according to an embodiment of the present application.
  • the target service to be executed by the first network device in addition to continuing to play the target audio and video originally played by the second network device, Also need to perform smart home control business.
  • the first network device may also perform the aforementioned steps 4021 and 4023; step 407 specifically includes step 4075, in which the second network device sends indication information to the first network device , the instruction information includes the instruction information described in step 4071 and part or all of the data in the instruction information described in step 4073, specifically including instruction information, target audio and video, and playback progress information; correspondingly, the first network device may also The aforementioned steps 4091 and 4093 are performed.
  • the relevant description of each step in the embodiment shown in FIG. 6 please refer to the content of the embodiment shown in FIG. 4 and the embodiment shown in FIG. 5 , and details are not repeated here.
  • the embodiments of the present application further provide a first network device.
  • the first network device may include: .
  • the communication module 701 is used to control the first network device to establish a communication connection with the terminal device, and connect the terminal device to the wide area network; wherein the terminal device is switched from the second network device to the first network device, the first network device and the first network device are The two network devices are deployed in different locations; and are used for receiving indication information from the second network device or the third network device.
  • the audio and video module 703 is configured to support the first network device to execute the target service when the communication module receives the indication information.
  • the indication information includes the target audio and video and playback progress information, wherein the playback progress information is used to indicate the playback progress of the target audio and video in the second network device.
  • the audio and video module 705 is specifically configured to continue playing the target audio and video according to the playback progress information.
  • the instruction information includes instruction information used to instruct the first network device as a control device of the household device.
  • the audio and video module 703 is specifically configured to collect the voice command issued by the user; the first network device further includes: a processing module 705, configured to control the household device according to the voice command.
  • the indication information further includes status information, wherein the status information is used to indicate whether the smart home control service deployed in the second network device is in an awake state.
  • the processing module 705 is further configured to wake up the smart home control service deployed in the first network device when the status information indicates that the smart home control service deployed in the second network device is in an awake state.
  • the processing module 705 is specifically configured to control the home device associated with the first network device according to the voice command.
  • the first network device and the second network device belong to the same wireless local area network WLAN.
  • the communication module 701 is further configured to send a notification message to the second network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  • the first network device, the second network device and the third network device belong to the same wireless local area network WLAN.
  • the communication module 701 is further configured to send a notification message to the third network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  • the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
  • the embodiments of the present application further provide a second network device.
  • the second network device may include: a processing module 801, configured to determine that the terminal device has established a communication connection with the first network device, wherein the terminal device is switched from the second network device to the first network device, and the first A network device and a second network device are deployed in different locations, and the terminal device accesses the wide area network through the communication module 803 of the second network device before switching to the first network device.
  • the communication module 803 is further configured to send indication information to the first network device, where the indication information is used to instruct the first network device to execute the target service under the support of the audio and video module included in the device.
  • the second network device further includes: an audio and video module 805, configured to play the target audio and video.
  • the indication information includes the target audio and video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio and video in the second network device.
  • the target service includes continuing to play the target audio and video according to the playback progress information.
  • the instruction information includes instruction information used to instruct the first network device as a control device of the household device.
  • the target business includes: collecting voice commands issued by users, and controlling home equipment according to the voice commands.
  • the indication information further includes state information, wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state, so that the first network device is in a state information indicating that the second network device is in an awake state.
  • the smart home control service deployed in the network device is in the wake-up state, the smart home control service deployed in the first network device is woken up.
  • the target service specifically includes: controlling a home device associated with the first network device according to a voice command.
  • the first network device and the second network device belong to the same WLAN.
  • the communication module 803 is further configured to receive a notification message from the first network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  • the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
  • the embodiments of the present application also provide a chip including a processor, the chip can be deployed in a network device, and the processor implements the present application when the processor executes the computer program stored in the memory A method performed by a first network device or a second network device provided in any one of the embodiments.
  • the embodiments of the present application also provide a computer-readable storage medium for storing computer program instructions/codes.
  • the network device is caused to implement the method performed by the first network device or the second network device provided in any embodiment of the present application.
  • the embodiments of the present application also provide a computer program product, the computer program product includes a computer program, and when the computer program runs on a computer, the computer is made to execute any of the tasks of the present application.
  • An embodiment of the present application further provides a communication system, including a terminal device, a first network device provided in any embodiment of the present application, and a second network device provided in any embodiment of the present application.
  • the size of the serial number of each method step does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute the implementation process of the embodiment of the present application. any restrictions.
  • processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • CPU central processing unit
  • DSP digital signal processors
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor may be a microprocessor or any conventional processor.
  • the method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs or known in the art in any other form of storage medium.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and storage medium may reside in an ASIC.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted over a computer-readable storage medium.
  • the computer instructions can be sent from one website site, computer, server, or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) , computer, server or data center.
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present application provides a network device and a method for executing a service by same. The method for executing a service by a first network device comprises: establishing a communication connection with a terminal device, wherein a first network device is configured to connect the terminal device to a wide area network, the terminal device is switched from a second network device to the first network device, and the first network device and the second network device are deployed at different positions; and in response to indication information from the second network device or a third network device, executing a target service under the support of an audio/video module of the first network device.

Description

网络设备及其执行业务的方法Network equipment and method for performing services
本申请要求于2021年1月25日提交中国国家知识产权局、申请号为2021100986059、申请名称为“网络设备及其执行业务的方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on January 25, 2021 with the State Intellectual Property Office of China, the application number is 2021100986059, and the application title is "Network Equipment and Method for Executing Services", the entire contents of which are incorporated by reference in in this application.
技术领域technical field
本申请涉及通信领域,尤其涉及网络设备及其执行业务的方法。The present application relates to the field of communications, and in particular, to network devices and methods for performing services.
背景技术Background technique
家庭、酒店以及办公场景中,可以在多个位置分别部署具有音视频模块的电子设备。当用户携带终端设备在家庭、酒店以及办公场景中移动时,可能期望位于用户所在位置附近的电子设备在音视频模块的支持下执行特定业务,比如播放音视频、根据用户发出的语音指令控制家居设备等。In home, hotel and office scenarios, electronic devices with audio and video modules can be deployed in multiple locations. When a user moves with terminal equipment in home, hotel and office scenarios, it may be expected that electronic equipment located near the user's location can perform specific services with the support of the audio and video module, such as playing audio and video, and controlling home equipment according to the user's voice commands. Wait.
通常的,可能因无法准确定位用户所在的位置,导致实际执行特定业务的电子设备与用户的距离较远而无法与用户较好的进行信息交互,影响用户体验。Generally, it may be impossible to accurately locate the location of the user, resulting in a long distance between the electronic device that actually executes a specific service and the user, and thus cannot perform information interaction with the user well, which affects the user experience.
发明内容SUMMARY OF THE INVENTION
本申请中提供了一种网络设备及其执行业务的方法,可提高用户体验。The present application provides a network device and a method for executing a service, which can improve user experience.
第一方面,提供了一种业务执行方法,该方法可以由第一网络设备执行,还可以由第一网络设备中部署的芯片或片上系统执行。该方法包括:与终端设备建立通信连接,其中第一网络设备用于将该终端设备接入广域网,该终端设备是从第二网络设备切换到第一网络设备的,第一网络设备和第二网络设备部署在不同位置;当接收到来自第二网络设备或第三网络设备的指示信息时,在第一网络设备的音视频模块的支持下执行目标业务。In a first aspect, a service execution method is provided, and the method can be executed by a first network device, and can also be executed by a chip or a system-on-chip deployed in the first network device. The method includes: establishing a communication connection with a terminal device, wherein the first network device is used to access the terminal device to a wide area network, the terminal device is switched from the second network device to the first network device, the first network device and the second network device The network devices are deployed in different locations; when receiving the indication information from the second network device or the third network device, the target service is executed with the support of the audio and video module of the first network device.
终端设备通常由用户随身携带,部署在不同位置的第一网络设备和第二网络设备均具有将终端设备接入广域网的功能。因此,终端设备由第二网络设备切换到第一网络设备时,说明用户所在的位置在空间上更加靠近第一网络设备所在的位置;此后通过距离用户更近的第一网络设备在其包括的音视频模块的支持下执行目标业务,使用户能够更加高效的与第一网络设备交互声音信息和/或图像信息,用户体验较好。The terminal device is usually carried by the user, and both the first network device and the second network device deployed in different locations have the function of connecting the terminal device to the wide area network. Therefore, when the terminal device is switched from the second network device to the first network device, it means that the location of the user is closer to the location of the first network device in space; The target service is executed under the support of the audio and video module, so that the user can more efficiently exchange sound information and/or image information with the first network device, and the user experience is better.
在一种可能的实施方式中,指示信息包括目标音视频和播放进度信息,播放进度信息用于指示目标音视频在第二网络设备中的播放进度。相应的,第一网络设备具体可以根据播放进度描述信息,调控其包括的音视频模块继续播放原本由第二网络设备播放的目标音视频。如此,确保用户能够连续的观看视频和/或收听音频,用户体验较好。In a possible implementation manner, the indication information includes the target audio and video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio and video in the second network device. Correspondingly, the first network device may specifically control the audio and video modules included in the first network device to continue playing the target audio and video originally played by the second network device according to the playback progress description information. In this way, it is ensured that the user can continuously watch the video and/or listen to the audio, and the user experience is better.
在一种可能的实施方式中,指示信息包括用于指示第一网络设备作为家居设备的控制设备的指令信息。相应的,第一网络设备具体可以通过其包括的音视频模块采集用户发出的语音指令,并根据该语音指令控制家居设备。如此,第一网络设备在接收到包含该指令信息的指示信息时作为家居控制设备,由于用户所在的位置更加靠近第一网络设备,第一网络设备作为家居设备的控制设备具体实施对用户发出的语音指令进行采集并响应时,第一网络设备能够更好的采集用户发出的语音指令,有利于实现基于用户需求对家具设备进行准确的控制。In a possible implementation manner, the instruction information includes instruction information used to instruct the first network device as a control device of the household device. Correspondingly, the first network device may specifically collect the voice command issued by the user through the audio and video module included in the first network device, and control the home device according to the voice command. In this way, the first network device acts as a home control device when receiving the instruction information containing the instruction information. Since the location of the user is closer to the first network device, the first network device, as the control device of the home device, specifically implements the information sent to the user by the first network device. When the voice command is collected and responded to, the first network device can better collect the voice command sent by the user, which is conducive to realizing accurate control of the furniture device based on the user's needs.
在一种可能的实施方式中,指示信息还包括状态信息,其中状态信息用于指示第二网络设备中部署的智能家居控制服务是否处于唤醒状态。相应的,状态信息指示了第二网络设备中部署的智能家居控制服务处于唤醒状态时,第一网络设备还可以唤醒第一网络设备中部署的智能家居控制服务,通过已唤醒的智能家具控制服务来具体实现根据语音指令控制家居设备。如此,第一网络设备未作为家具控制设备之前,第一网络设备中部署的智能家具控制服务无需处于唤醒状态,可降低第一网络设备的功耗;状态信息指示了第二网络设备中部署的智能家居控制服务处于唤醒状态时,说明用户可能存在使用智能家具的需求,第一网络设备在无需用户发出用于唤醒智能家具控制服务的唤醒词的情况下,主动唤醒其部署的智能家具控制服务,用户体验更好。In a possible implementation manner, the indication information further includes status information, where the status information is used to indicate whether the smart home control service deployed in the second network device is in an awake state. Correspondingly, when the status information indicates that the smart home control service deployed in the second network device is in an awake state, the first network device can also wake up the smart home control service deployed in the first network device, and use the awakened smart home control service. To specifically realize the control of home equipment according to voice commands. In this way, before the first network device is not used as a furniture control device, the smart furniture control service deployed in the first network device does not need to be in an awake state, which can reduce the power consumption of the first network device; the state information indicates that the smart furniture control service deployed in the second network device When the smart home control service is in the wake-up state, it indicates that the user may need to use the smart furniture, and the first network device actively wakes up the deployed smart furniture control service without the user issuing a wake-up word to wake up the smart furniture control service. , the user experience is better.
在一种可能的实施方式中,第一网络设备作为家具设备的控制设备后,具体可以根据用户发出的语音指令控制第一网络设备关联的家居设备。如此,有利于用户发出更短的语音指令,使第一网络设备按照用户期望的家居设备控制方案具体实施对特定家居设备的控制,用户体验更好。In a possible implementation manner, after the first network device is used as a control device of the furniture device, it can specifically control the home device associated with the first network device according to a voice command issued by the user. In this way, it is beneficial for the user to issue a shorter voice command, so that the first network device can specifically control the specific home device according to the home device control scheme expected by the user, and the user experience is better.
在一种可能的实施方式中,第一网络设备和第二网络设备属于同一个无线局域网WLAN。当第一网络设备与终端设备建立了通信连接后,第一网络设备还可以向第二网络设备发送通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。如此,使作为主接入点的第二网络设备能够发现终端设备发生的切换。In a possible implementation manner, the first network device and the second network device belong to the same wireless local area network WLAN. After the first network device establishes a communication connection with the terminal device, the first network device may also send a notification message to the second network device, where the notification message is used to indicate that the terminal device and the first network device establish a communication connection. In this way, the second network device, which is the primary access point, can discover the handover that occurs in the terminal device.
在一种可能的实施方式中,第一网络设备、第二网络设备和第三网络设备属于同一个无线局域网WLAN。当第一网络设备与终端设备建立了通信连接后,第一网络设备还可以向第三网络设备发送通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。如此,使作为主接入点的第三网络设备能够发现终端设备发生的切换。In a possible implementation manner, the first network device, the second network device and the third network device belong to the same wireless local area network WLAN. After the first network device establishes a communication connection with the terminal device, the first network device may also send a notification message to the third network device, where the notification message is used to indicate that the terminal device and the first network device establish a communication connection. In this way, the third network device, which is the primary access point, can discover the handover that occurs in the terminal device.
在一种可能的实施方式中,终端设备是根据其自身接收的第一网络设备的无线信号的信号质量、第二网络设备的无线信号的信号质量,从第二网络设备切换到第一网络设备的。其中可以理解的是,终端设备接收的第一网络设备的无线信号的信号质量,优于终端设备接收的第二网络设备的无线信号时,相对于第二网络设备所在的位置而言,终端设备所在的位置在空间上更加靠近第一网络设备所在的位置,相应的说明持有终端设备的用户所在的位置,在空间上更加靠近第一网络设备所在的位置。In a possible implementation manner, the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of. It can be understood that, when the signal quality of the wireless signal of the first network device received by the terminal device is better than that of the wireless signal of the second network device received by the terminal device, relative to the location of the second network device, the terminal device The location is spatially closer to the location of the first network device, and the corresponding description indicates that the location of the user holding the terminal device is spatially closer to the location of the first network device.
第二方面,提供了一种第一网络设备,有益效果可参考第一方面中的描述。该第一网络设备可以包括:通信模块,用于控制第一网络设备与终端设备建立通信连接,并将终端设备接入广域网;其中,终端设备是从第二网络设备切换到第一网络设备的,第一网络设备和第二网络设备部署在不同位置;以及,用于接收来自第二网络设备或第三网络设备的指示信息。音视频模块,用于在通信模块接收到指示信息时支持第一网络设备执行目标业务。In a second aspect, a first network device is provided, and reference may be made to the description in the first aspect for beneficial effects. The first network device may include: a communication module for controlling the first network device to establish a communication connection with the terminal device, and connecting the terminal device to the wide area network; wherein the terminal device is switched from the second network device to the first network device , the first network device and the second network device are deployed in different locations; and, for receiving indication information from the second network device or the third network device. The audio and video module is configured to support the first network device to execute the target service when the communication module receives the indication information.
在一种可能的实施方式中,指示信息包括目标音视频和播放进度信息,其中播放进度信息用于指示目标音视频在第二网络设备中的播放进度。相应的,音视频模块具体用于根据播放进度信息继续播放目标音视频。In a possible implementation manner, the indication information includes the target audio and video and playback progress information, wherein the playback progress information is used to indicate the playback progress of the target audio and video in the second network device. Correspondingly, the audio and video module is specifically configured to continue playing the target audio and video according to the playback progress information.
在一种可能的实施方式中,指示信息包括用于指示第一网络设备作为家居设备的控制设备的指令信息。相应的,音视频模块具体用于采集用户发出的语音指令;第一网络设备还包括:处理模块,用于根据语音指令控制家居设备。In a possible implementation manner, the instruction information includes instruction information used to instruct the first network device as a control device of the household device. Correspondingly, the audio and video module is specifically used to collect the voice command issued by the user; the first network device further includes: a processing module, configured to control the household device according to the voice command.
在一种可能的实施方式中,指示信息还包括状态信息,其中状态信息用于指示第二网络 设备中部署的智能家居控制服务是否处于唤醒状态。相应的,处理模块还用于在状态信息指示了第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒第一网络设备中部署的智能家居控制服务。In a possible implementation manner, the indication information further includes status information, wherein the status information is used to indicate whether the smart home control service deployed in the second network device is in an awake state. Correspondingly, the processing module is further configured to wake up the smart home control service deployed in the first network device when the status information indicates that the smart home control service deployed in the second network device is in an awake state.
在一种可能的实施方式中,处理模块具体用于根据语音指令控制第一网络设备关联的家居设备。In a possible implementation manner, the processing module is specifically configured to control the household device associated with the first network device according to the voice command.
在一种可能的实施方式中,第一网络设备和第二网络设备属于同一个无线局域网WLAN。相应的,通信模块还用于向第二网络设备发送通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。In a possible implementation manner, the first network device and the second network device belong to the same wireless local area network WLAN. Correspondingly, the communication module is further configured to send a notification message to the second network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
在一种可能的实施方式中,第一网络设备、第二网络设备和第三网络设备属于同一个无线局域网WLAN。相应的,通信模块还用于向第三网络设备发送通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。In a possible implementation manner, the first network device, the second network device and the third network device belong to the same wireless local area network WLAN. Correspondingly, the communication module is further configured to send a notification message to the third network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
在一种可能的实施方式中,终端设备是根据其自身接收的第一网络设备的无线信号的信号质量、第二网络设备的无线信号的信号质量,从第二网络设备切换到第一网络设备的。In a possible implementation manner, the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
第三方面,提供了一种业务执行方法,该方法可以由第二网络设备执行,还可以由第二网络设备中部署的芯片或片上系统执行,且其有益效果可参考第一方面中的描述。该方法可以包括:确定终端设备与第一网络设备建立了通信连接,其中终端设备是从第二网络设备切换到第一网络设备的,第一网络设备和第二网络设备部署在不同位置,终端设备切换到第一网络设备之前通过第二网络设备接入广域网;向第一网络设备发送指示信息,其中指示信息用于指示第一网络设备在其包括的音视频模块的支持下执行目标业务。In a third aspect, a service execution method is provided, the method can be executed by a second network device, and can also be executed by a chip or a system-on-chip deployed in the second network device, and its beneficial effects can be referred to the description in the first aspect . The method may include: determining that the terminal device has established a communication connection with the first network device, wherein the terminal device is switched from the second network device to the first network device, the first network device and the second network device are deployed in different locations, the terminal device The device accesses the wide area network through the second network device before switching to the first network device; and sends indication information to the first network device, where the indication information is used to instruct the first network device to execute the target service under the support of the audio and video module included in the device.
在一种可能的实施方式中,在确定终端设备与第一网络设备建立了通信连接之前,还包括:播放目标音视频。其中指示信息包括目标音视频和播放进度信息,播放进度信息用于指示目标音视频在第二网络设备中的播放进度;目标业务包括根据播放进度信息继续播放目标音视频。In a possible implementation manner, before determining that the terminal device has established a communication connection with the first network device, the method further includes: playing the target audio and video. The indication information includes target audio and video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio and video in the second network device; the target service includes continuing to play the target audio and video according to the playback progress information.
在一种可能的实施方式中,指示信息包括用于指示第一网络设备作为家居设备的控制设备的指令信息。目标业务包括:采集用户发出的语音指令,并根据语音指令控制家居设备。In a possible implementation manner, the instruction information includes instruction information used to instruct the first network device as a control device of the household device. The target business includes: collecting voice commands issued by users, and controlling home equipment according to the voice commands.
在一种可能的实施方式中,指示信息还包括状态信息,其中状态信息用于指示第二网络设备中部署的智能家居控制服务是否处于唤醒状态,使第一网络设备在状态信息指示了第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒第一网络设备中部署的智能家居控制服务。In a possible implementation manner, the indication information further includes state information, wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state, so that the first network device is in a state information indicating that the second network device is in an awake state. When the smart home control service deployed in the network device is in the wake-up state, the smart home control service deployed in the first network device is woken up.
在一种可能的实施方式中,目标业务具体包括:根据语音指令控制第一网络设备关联的家居设备。In a possible implementation manner, the target service specifically includes: controlling a home device associated with the first network device according to a voice command.
在一种可能的实施方式中,第一网络设备和第二网络设备属于同一个无线局域网WLAN。该方法还包括:接收来自第一网络设备的通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。In a possible implementation manner, the first network device and the second network device belong to the same wireless local area network WLAN. The method further includes: receiving a notification message from the first network device, wherein the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
在一种可能的实施方式中,终端设备是根据其自身接收的第一网络设备的无线信号的信号质量、第二网络设备的无线信号的信号质量,从第二网络设备切换到第一网络设备的。In a possible implementation manner, the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
第四方面,提供了一种第二网络设备,有益效果可参考第一方面中的描述。第二网络设备可以包括:处理模块,用于确定终端设备与第一网络设备建立了通信连接,其中终端设备 是从第二网络设备切换到第一网络设备的,第一网络设备和第二网络设备部署在不同位置,终端设备切换到第一网络设备之前通过第二网络设备的通信模块接入广域网。该通信模块,还用于向第一网络设备发送指示信息,其中指示信息用于指示第一网络设备在其包括的音视频模块的支持下执行目标业务。In a fourth aspect, a second network device is provided, and reference may be made to the description in the first aspect for beneficial effects. The second network device may include: a processing module configured to determine that the terminal device has established a communication connection with the first network device, wherein the terminal device is switched from the second network device to the first network device, the first network device and the second network device The devices are deployed in different locations, and the terminal device accesses the wide area network through the communication module of the second network device before switching to the first network device. The communication module is further configured to send indication information to the first network device, where the indication information is used to instruct the first network device to execute the target service under the support of the audio and video module included in the communication module.
在一种可能的实施方式中,第二网络设备还包括:音视频模块,用于播放目标音视频。其中指示信息包括目标音视频和播放进度信息,播放进度信息用于指示目标音视频在第二网络设备中的播放进度。目标业务包括根据播放进度信息继续播放目标音视频。In a possible implementation manner, the second network device further includes: an audio and video module, configured to play the target audio and video. The indication information includes the target audio and video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio and video in the second network device. The target service includes continuing to play the target audio and video according to the playback progress information.
在一种可能的实施方式中,指示信息包括用于指示第一网络设备作为家居设备的控制设备的指令信息。目标业务包括:采集用户发出的语音指令,并根据语音指令控制家居设备。In a possible implementation manner, the instruction information includes instruction information used to instruct the first network device as a control device of the household device. The target business includes: collecting voice commands issued by users, and controlling home equipment according to the voice commands.
在一种可能的实施方式中,指示信息还包括状态信息,其中状态信息用于指示第二网络设备中部署的智能家居控制服务是否处于唤醒状态,使第一网络设备在状态信息指示了第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒第一网络设备中部署的智能家居控制服务。In a possible implementation manner, the indication information further includes state information, wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state, so that the first network device is in a state information indicating that the second network device is in an awake state. When the smart home control service deployed in the network device is in the wake-up state, the smart home control service deployed in the first network device is woken up.
在一种可能的实施方式中,目标业务具体包括:根据语音指令控制第一网络设备关联的家居设备。In a possible implementation manner, the target service specifically includes: controlling a home device associated with the first network device according to a voice command.
在一种可能的实施方式中,第一网络设备和第二网络设备属于同一个WLAN。通信模块还用于接收来自第一网络设备的通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。In a possible implementation manner, the first network device and the second network device belong to the same WLAN. The communication module is further configured to receive a notification message from the first network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
在一种可能的实施方式中,终端设备是根据其自身接收的第一网络设备的无线信号的信号质量、第二网络设备的无线信号的信号质量,从第二网络设备切换到第一网络设备的。In a possible implementation manner, the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
第五方面,提供了一种网络设备,包括存储器和处理器,存储器中存储有计算机程序,处理器执行计算机程序时,实现第一方面或第三方面中任一项所述的方法。In a fifth aspect, a network device is provided, including a memory and a processor, a computer program is stored in the memory, and when the processor executes the computer program, the method of any one of the first aspect or the third aspect is implemented.
第六方面,提供了一种通信系统,包括终端、第二方面中任一项所述的第一网络设备,以及第四方面中任一项所述的第二网络设备。In a sixth aspect, a communication system is provided, including a terminal, the first network device according to any one of the second aspects, and the second network device according to any one of the fourth aspects.
第七方面,提供了一种芯片,包括处理器,所述处理器执行存储器中存储的计算机程序时,实现第一方面或第三方面中任一项所述的方法。According to a seventh aspect, a chip is provided, including a processor, and when the processor executes a computer program stored in a memory, the method of any one of the first aspect or the third aspect is implemented.
第八方面,提供了一种计算机可读存储介质,用于存储计算机程序,当计算机程序被网络设备的处理器执行时,网络设备实现第一方面或者第三方面中任一项所述的方法。In an eighth aspect, a computer-readable storage medium is provided for storing a computer program, and when the computer program is executed by a processor of a network device, the network device implements the method described in any one of the first aspect or the third aspect .
第九方面,提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,当所述计算机程序在计算机上运行时,使计算机执行上述第一方面或第三方面中任一项所述的方法。In a ninth aspect, a computer program product is provided, the computer program product includes a computer program, and when the computer program is run on a computer, the computer is made to execute any one of the first aspect or the third aspect above. method.
附图说明Description of drawings
下面对实施例或现有技术描述中所需使用的附图作简单地介绍。The following briefly introduces the accompanying drawings required in the description of the embodiments or the prior art.
图1为本申请实施例中提供的技术方案适用的一种业务场景的示意图;FIG. 1 is a schematic diagram of a business scenario to which the technical solution provided in the embodiment of the application is applicable;
图2为本申请实施例中提供的一种网络设备的结构示意图;FIG. 2 is a schematic structural diagram of a network device provided in an embodiment of the application;
图3为本申请实施例中提供的一种网络设备执行目标业务的过程示意图之一;FIG. 3 is one of the schematic diagrams of a process for performing a target service by a network device provided in an embodiment of the present application;
图4为本申请实施例中提供的一种网络设备执行目标业务的过程示意图之二;FIG. 4 is the second schematic diagram of a process of executing a target service by a network device provided in an embodiment of the present application;
图5为本申请实施例中提供的一种网络设备执行目标业务的过程示意图之三;FIG. 5 is a third schematic diagram of a process for performing a target service by a network device provided in an embodiment of the present application;
图6为本申请实施例中提供的一种网络设备执行目标业务的过程示意图之四;FIG. 6 is a fourth schematic diagram of a process for performing a target service by a network device provided in an embodiment of the present application;
图7为本申请实施例中提供的一种第一网络设备的结构示意图;FIG. 7 is a schematic structural diagram of a first network device provided in an embodiment of the application;
图8为本申请实施例中提供的一种第二网络设备的结构示意图。FIG. 8 is a schematic structural diagram of a second network device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
本申请实施例中,术语“和/或”仅仅用于描述关联对象的关联关系,表示可以存在三种关系;比如“A和/或B”可以表示:单独存在A,单独存在B,同时存在A和B这三种情况。术语“多个”的含义是指两个或两个以上,“若干”是指一个或多个,除非另有说明。术语“包括”、“包含”、“具有”及其变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征;由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者多个该特征。In this embodiment of the present application, the term "and/or" is only used to describe the association relationship between associated objects, indicating that there can be three kinds of relationships; for example, "A and/or B" may mean that A exists alone, B exists alone, and both exist A and B these three cases. The term "plurality" means two or more, and "several" means one or more, unless stated otherwise. The terms "including", "including", "having" and variations thereof mean "including but not limited to" unless specifically emphasized otherwise. The terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the indicated technical features; thus, the terms "first" and "second" are defined as "first" and "second". A feature of a can expressly or implicitly include one or more of that feature.
本申请实施例中,“示例性的”、“比如”或者“举例来说”等词语用于表示作例子、例证或说明,旨在以具体方式呈现相关概念。被描述为“示例性的”、“比如”或者“举例来说”的任何实施例或设计方案,不应被解释为比其它实施例或设计方案更优选或更具优势。In the embodiments of the present application, words such as "exemplary", "such as" or "for example" are used to represent examples, illustrations, or illustrations, and are intended to present related concepts in a specific manner. Any embodiment or design described as "exemplary," "such as," or "by way of example" should not be construed as preferred or advantageous over other embodiments or designs.
图1为本申请实施例中提供的技术方案适用的一种业务场景的示意图。如图1所示,家庭/酒店/办公场景中通常包括多个房间,这里具体以包括房间1、房间2和房间3为例。房间1中可设置一个作为接入点201的网络设备,接入点201的无线信号能够覆盖房间1;房间2中可设置一个作为节点302的网络设备,接入点203的无线信号能够覆盖房间2;房间3中可设置一个作为接入点203的网络设备,接入点203的无线信号能够覆盖房间3。FIG. 1 is a schematic diagram of a business scenario to which the technical solution provided in the embodiment of the application is applicable. As shown in FIG. 1 , a home/hotel/office scenario usually includes multiple rooms. Here, the room 1, room 2, and room 3 are taken as an example. Room 1 can set up a network device as access point 201, and the wireless signal of access point 201 can cover room 1; room 2 can set up a network device as node 302, and the wireless signal of access point 203 can cover the room 2; A network device as the access point 203 can be set in the room 3, and the wireless signal of the access point 203 can cover the room 3.
通过对前述各接入点进行配置,可形成包含前述各接入点的WLAN。举例来说,对前述各接入点的配置包括:开启主接入点(例如接入点201)的动态主机配置协议(dynamic host configuration protocol,DHCP)和域名系统(domain name system,DNS)服务,关闭从接入点(例如接入点202和接入点203)的DHCP和DNS服务;配置前述各接入点的接入信息,比如配置前述各接入点的服务集标识符(service set identifier,SSID)和密钥;以及配置前述各接入点的信道和网际互连协议(internet protocol,IP)地址。By configuring the aforementioned access points, a WLAN including the aforementioned access points can be formed. For example, the configuration of the aforementioned access points includes: enabling the dynamic host configuration protocol (DHCP) and domain name system (DNS) services of the master access point (eg, access point 201 ) , close the DHCP and DNS services from the access points (such as access point 202 and access point 203); configure the access information of the aforementioned access points, such as configuring the service set identifiers (service set identifiers) of the aforementioned access points identifier, SSID) and key; and configure the channel and Internet Protocol (IP) address of each of the aforementioned access points.
终端设备10可以是手机、平板电脑、个人数字助理(personal digital assistant,PDA)、膝上型计算机(laptop)、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、人工智能(artificial intelligence,AI)设备等。终端设备10包括存储器、处理器和通信模块,可选地还包括显示屏、摄像头、音频模块以及传感器模块等功能模块/单元。The terminal device 10 may be a mobile phone, a tablet computer, a personal digital assistant (PDA), a laptop computer (laptop), an augmented reality (AR) device, a virtual reality (VR) device, an artificial Intelligent (artificial intelligence, AI) equipment, etc. The terminal device 10 includes a memory, a processor and a communication module, and optionally further includes functional modules/units such as a display screen, a camera, an audio module, and a sensor module.
终端设备10在各房间中移动时,可以根据来自各接入点的无线信号的信号质量,在各接入点间进行切换,其中终端设备10在各接入点间进行的切换也可被表述为自动切换或者漫游切换。举例来说,终端设备10位于房间1时,其所在位置在空间上更加靠近接入点201所在的位置,相应的来自接入点201的无线信号的信号质量最好,可通过接入点201的接入信息与接入点201建立通信连接,由接入点201将终端设备10接入广域网(例如因特网);终端设备10从房间1移动至房间2时,其所在位置在空间上更加靠近接入点202所在的位置,来自接入点202的无线信号的信号质量最好,可通过接入点202的接入信息与接入点202建立通信连接,由接入点202将终端设备10接入广域网,实现从接入点201切换到接入点202。When the terminal device 10 moves in each room, it can switch between the access points according to the signal quality of the wireless signal from each access point, wherein the switching performed by the terminal device 10 between the access points can also be expressed as Automatic switching or roaming switching. For example, when the terminal device 10 is located in room 1, its location is closer to the location of the access point 201 in space, and the corresponding wireless signal from the access point 201 has the best signal quality, which can be passed through the access point 201. The access information of the device establishes a communication connection with the access point 201, and the access point 201 connects the terminal device 10 to the wide area network (such as the Internet); when the terminal device 10 moves from room 1 to room 2, its location is closer in space Where the access point 202 is located, the signal quality of the wireless signal from the access point 202 is the best, a communication connection can be established with the access point 202 through the access information of the access point 202, and the access point 202 connects the terminal device 10 Access the wide area network to implement handover from the access point 201 to the access point 202 .
本申请实施例中提供的技术方案,旨在实现:终端设备10从第二网络设备(例如作为接入点201的网络设备)切换到第一网络设备(例如作为接入点202的网络设备)时,距离用 户更近的第一网络设备能够根据终端设备10发生的切换,在第一网络设备包括的音视频模块的支持下执行目标业务,从而提高用户体验。其中,该目标业务可以包括但不限于:继续播放原本由第二网络设备播放的目标音视频,和/或,根据用户发出的语音指令调控家居设备。The technical solutions provided in the embodiments of the present application aim to realize: the terminal device 10 is switched from a second network device (eg, the network device serving as the access point 201 ) to the first network device (eg, the network device serving as the access point 202 ) At the time, the first network device that is closer to the user can execute the target service under the support of the audio and video module included in the first network device according to the handover of the terminal device 10, thereby improving the user experience. Wherein, the target service may include but is not limited to: continuing to play the target audio and video originally played by the second network device, and/or controlling the home device according to the voice command issued by the user.
图2为本申请实施例中提供的一种网络设备的结构示意图。如图2所示,网络设备包括处理器301、存储器302、无线通信模块303、音频模块304、麦克风304A、扬声器304B以及天线,还可以包括显示屏305、传感器模块306以及按键307等。无线通信模块303可以包括但不限于Wi-Fi模块和/或蓝牙(blue tooth,BT)模块;传感器模块306可以包括但不限于触摸传感器;存储器302可以包括高速随机存取存储器和非易失性存储器,比如包括磁盘存储器、闪存器以及通用闪存存储器(universal flash storage,UFS)等。其中,音频模块304、麦克风304A、扬声器304B和显示屏305的组合可以称为音视频模块。FIG. 2 is a schematic structural diagram of a network device provided in an embodiment of the present application. As shown in FIG. 2, the network device includes a processor 301, a memory 302, a wireless communication module 303, an audio module 304, a microphone 304A, a speaker 304B and an antenna, and may also include a display screen 305, a sensor module 306, and buttons 307. The wireless communication module 303 may include, but is not limited to, a Wi-Fi module and/or a bluetooth (BT) module; the sensor module 306 may include, but is not limited to, a touch sensor; the memory 302 may include high-speed random access memory and non-volatile Storage, for example, includes disk storage, flash memory, and universal flash storage (UFS). The combination of the audio module 304, the microphone 304A, the speaker 304B and the display screen 305 may be referred to as an audio-video module.
存储器302用于存储计算机程序、网络设备在使用过程中所创建的各种数据。The memory 302 is used to store computer programs and various data created during use of the network device.
处理器301用于运行存储器302中的计算机程序,实现网络设备的各种特定的功能或数据处理过程。The processor 301 is used for running the computer program in the memory 302 to realize various specific functions or data processing procedures of the network device.
下面结合图1所示的业务场景,对网络设备执行业务的方法进行详细描述。其中,以下将主要以第一网络设备是作为从接入点202的网络设备、第二网络设备是作为主接入点201的网络设备,示例性描述第一网络设备和第二网络设备相协作以执行目标业务的过程。The method for performing a service by a network device will be described in detail below with reference to the service scenario shown in FIG. 1 . Among them, the following will mainly take the first network device as the network device as the slave access point 202 and the second network device as the network device as the master access point 201 to exemplarily describe the cooperation between the first network device and the second network device The process of executing the target business.
图3为本申请实施例中提供的一种网络设备执行目标业务的过程示意图之一。FIG. 3 is one of the schematic diagrams of a process of executing a target service by a network device according to an embodiment of the present application.
首先,在步骤401,第二网络设备和终端设备10建立通信连接。First, in step 401, the second network device and the terminal device 10 establish a communication connection.
举例来说,终端设备10位于房间1中,受墙壁的影响,终端设备10所在的位置在空间上更加靠近接入点201所在的位置,终端设备10接收的并且来自主接入点201的无线信号的信号质量,优于来自从接入点202和从接入点203的无线信号。终端设备10将会和信号质量最好的主接入点201建立通信连接,即与作为主接入点201的网络设备(第二网络设备)建立通信连接,由作为主接入点201的网络设备将终端设备10接入广域网。For example, the terminal device 10 is located in the room 1. Due to the influence of the wall, the location of the terminal device 10 is closer to the location of the access point 201 in space. The signal quality of the signal is better than the wireless signal from slave access point 202 and slave access point 203. The terminal device 10 will establish a communication connection with the master access point 201 with the best signal quality, that is, establish a communication connection with the network device (second network device) as the master access point 201, and the network as the master access point 201 will establish a communication connection. The device connects the terminal device 10 to the wide area network.
接着,在步骤403,第一网络设备和终端设备10建立通信连接。Next, in step 403, the first network device and the terminal device 10 establish a communication connection.
举例来说,终端设备10在用户的携带下由房间1进入房间2中,受墙壁的影响,终端设备10所在的位置在空间上更加靠近从接入点202所在的位置,终端设备10接收的并且来自从接入点202的无线信号的信号质量,优于来自主接入点201和从接入点203的无线信号。终端设备10将会由主接入点201切换到信号质量最好的从接入点202;即终端设备10将会与作为主接入点201的网络设备断开通信连接,并且与作为从接入点202的网络设备(第一网络设备)重新建立通信连接,由作为从接入点202的网络设备将终端设备10接入广域网。For example, when the terminal device 10 is carried by the user from room 1 to room 2, the location of the terminal device 10 is spatially closer to the location of the access point 202 due to the influence of the wall. And the signal quality of the wireless signal from the slave access point 202 is better than the wireless signals from the master access point 201 and the slave access point 203 . The terminal device 10 will be switched from the master access point 201 to the slave access point 202 with the best signal quality; that is, the terminal device 10 will disconnect the communication connection with the network device serving as the master access point 201, and connect with the slave access point 201. The network device (first network device) of the access point 202 re-establishes the communication connection, and the network device serving as the slave access point 202 connects the terminal device 10 to the wide area network.
接着,在步骤405,第二网络设备确定终端设备10和第一网络设备建立通信连接。Next, in step 405, the second network device determines that the terminal device 10 establishes a communication connection with the first network device.
在一个较为具体的示例中,终端设备10从第二网络设备切换到第一网络设备时,终端设备10需要和第二网络设备断开通信连接,第二网络设备可将终端设备10确定为可能发生切换的网络设备。接着,终端设备10与第一网络设备建立通信连接后,第一网络设备可向第二网络设备发送通知消息,该通知消息用于指示终端设备10已经与第一网络设备建立通信连接;具体地说,该通知消息中可以包括已经与第一网络设备建立了通信连接的各个终端设备(至少包括终端设备10)的设备标识。接着,第二网络设备接收到来自第一网络设备的通知消息后,可以基于该通知消息确定终端设备10与第一网络设备建立了通信连接。In a specific example, when the terminal device 10 is switched from the second network device to the first network device, the terminal device 10 needs to disconnect the communication connection with the second network device, and the second network device may determine that the terminal device 10 is possible The network device on which the switchover occurred. Next, after the terminal device 10 establishes a communication connection with the first network device, the first network device may send a notification message to the second network device, where the notification message is used to indicate that the terminal device 10 has established a communication connection with the first network device; specifically In other words, the notification message may include the device identifiers of each terminal device (including at least the terminal device 10 ) that has established a communication connection with the first network device. Next, after receiving the notification message from the first network device, the second network device may determine, based on the notification message, that the terminal device 10 has established a communication connection with the first network device.
需要说明的是,第二网络设备还可能接收到WLAN中除第一网络设备以外的其它网络设备的通知消息,比如接收到来自作为从接入点203的网络设备的通知消息。对于任一条通知 消息,第二网络设备可检测该条通知消息中是否包含终端设备10的设备标识;如果是,则说明终端设备10已经由第二网络设备切换到发送该条通知消息的第一网络设备。It should be noted that the second network device may also receive notification messages from other network devices other than the first network device in the WLAN, such as receiving notification messages from the network device serving as the slave access point 203 . For any notification message, the second network device can detect whether the notification message contains the device identifier of the terminal device 10; if so, it means that the terminal device 10 has been switched from the second network device to the first device that sent the notification message. Network equipment.
在一个较为具体的示例中,第一网络设备和第二网络设备是WLAN中作为从接入点的网络设备,第三网络设备是WLAN中作为主接入点的网络设备。终端设备10从第二网络设备切换到第一网络设备时,终端设备10需要和第二网络设备断开通信连接,第二网络设备可以向第三网络设备上报第一接入信息(也可称为通知消息),第一接入信息包括终端设备10的设备标识以及表征终端设备10与第二网络设备断开了通信连接的第一接入指示。接着,当终端设备10与第一网络设备建立通信连接后,第一网络设备可以向第三网络设备上报第二接入消息(也可称为通知消息),第二接入消息包括终端设备10的设备标识以及表征终端设备10与第一网络设备建立了通信连接的第二接入指示。第三网络设备可以通过匹配第一接入信息和第二接入信息,获知终端设备10由第二网络设备切换到第一网络设备,然后向第二网络设备发送通知消息,其中该通知消息可以包含终端设备10的设备标识和第一网络设备的设备标识,使得该通知消息能够用于指示终端设备10与第一网络设备建立了通信连接。接着,第二网络设备接收到来自第三网络设备的该条通知消息时,即可确定终端设备10与第一网络设备建立了通信连接。In a specific example, the first network device and the second network device are network devices serving as slave access points in the WLAN, and the third network device is the network device serving as the master access point in the WLAN. When the terminal device 10 switches from the second network device to the first network device, the terminal device 10 needs to disconnect the communication connection with the second network device, and the second network device can report the first access information (also referred to as the first access information) to the third network device. For notification message), the first access information includes the device identification of the terminal device 10 and the first access indication indicating that the terminal device 10 has disconnected the communication connection with the second network device. Next, after the terminal device 10 establishes a communication connection with the first network device, the first network device may report a second access message (also referred to as a notification message) to the third network device, where the second access message includes the terminal device 10 and a second access indication indicating that the terminal device 10 has established a communication connection with the first network device. The third network device can learn that the terminal device 10 is switched from the second network device to the first network device by matching the first access information and the second access information, and then send a notification message to the second network device, where the notification message can be The device identification of the terminal device 10 and the device identification of the first network device are included, so that the notification message can be used to indicate that the terminal device 10 has established a communication connection with the first network device. Next, when the second network device receives the notification message from the third network device, it can be determined that the terminal device 10 has established a communication connection with the first network device.
接着,在步骤407,第二网络设备向第一网络设备发送指示信息。Next, in step 407, the second network device sends indication information to the first network device.
在一些实施例中,不同于如图3所示实施例的是,指示信息还可以由第三网络设备,第一网络设备、第二网络设备和第三网络设备属于相同的WLAN,且第三网络设备WLAN中作为主接入点的网络设备。In some embodiments, different from the embodiment shown in FIG. 3 , the indication information may also be provided by a third network device. The first network device, the second network device and the third network device belong to the same WLAN, and the third network device belongs to the same WLAN. A network device in a WLAN that acts as a primary access point.
接着,第一网络设备响应于来自第二网络设备或第三网络设备的指示信息,执行步骤409,在第一网络设备包括的音视频模块的支持下执行目标业务。Next, the first network device executes step 409 in response to the indication information from the second network device or the third network device, and executes the target service under the support of the audio and video module included in the first network device.
依赖于第一网络设备所需执行的目标业务的不同,第一网络设备和第二设备相协作的过程可能有所不同,下面具体结合图4至图6详细描述不同于如图3的多个具体实施例。Depending on the target service that the first network device needs to perform, the process of cooperation between the first network device and the second device may be different. The following describes in detail with reference to FIG. 4 to FIG. specific examples.
图4为本申请实施例中提供的一种网络设备执行目标业务的过程示意图之二。FIG. 4 is the second schematic diagram of a process of executing a target service by a network device according to an embodiment of the present application.
请参考图4,在一些实施例中,不同于如图3所示实施例的是,在步骤401之后,第二网络设备还可以执行:步骤4021,通过第二网络设备的音视频模块采集用户发出的语音指令;步骤4023,根据语音指令控制连接的家居设备。其中,受第二网络设备控制的家居设备具体可以是第二网络设备关联的家居设备,或者是与第二网络设备所属WLAN中的任一网络设备建立了通信连接的家居设备。Referring to FIG. 4 , in some embodiments, different from the embodiment shown in FIG. 3 , after step 401 , the second network device may also perform: step 4021 , collect users through the audio and video module of the second network device The voice command sent out; Step 4023, control the connected home equipment according to the voice command. The home device controlled by the second network device may specifically be a home device associated with the second network device, or a home device that has established a communication connection with any network device in the WLAN to which the second network device belongs.
步骤407具体包括步骤4071,第二网络设备向第一网络设备发送包括指令信息的指示信息。其中,该指令信息用于指示第一网络设备作为家居设备的控制设备。Step 407 specifically includes step 4071, in which the second network device sends instruction information including instruction information to the first network device. Wherein, the instruction information is used to instruct the first network device as a control device of the household device.
如前所述,当第二网络设备并非其所属WLAN中作为主接入点的网络设备时,第二网络设备可以无需执行步骤4071。与之相应的,第一网络设备和第二网络设备所属WLAN中作为主接入点的第三网络设备,可以获知终端设备10由第二网络设备切换到第一网络设备,并且在其获知终端设备10由第二网络设备切换到第一网络设备之后,向第一网络设备发送包含该指令信息的指示信息。As described above, when the second network device is not the network device serving as the primary access point in the WLAN to which it belongs, the second network device may not need to perform step 4071. Correspondingly, the first network device and the third network device serving as the primary access point in the WLAN to which the second network device belongs can learn that the terminal device 10 is switched from the second network device to the first network device, and learn that the terminal device 10 is switched from the second network device to the first network device. After switching from the second network device to the first network device, the device 10 sends the instruction information including the instruction information to the first network device.
第一网络设备响应于指示信息中包括的指令信息,执行步骤409。其中该步骤409具体可以包括:步骤4091,通过第一网络设备的音视频模块采集用户发出的语音指令;步骤4093,根据语音指令控制连接的家居设备。其中,受第一网络设备控制的家居设备具体可以是第一 网络设备关联的家居设备,或者是与第一网络设备所属WLAN中的任一网络设备建立了通信连接的家居设备。The first network device executes step 409 in response to the instruction information included in the instruction information. The step 409 may specifically include: step 4091, collecting the voice command sent by the user through the audio and video module of the first network device; step 4093, controlling the connected home device according to the voice command. Wherein, the home device controlled by the first network device may specifically be a home device associated with the first network device, or a home device that has established a communication connection with any network device in the WLAN to which the first network device belongs.
在一个更为具体的示例中,第一网络设备和第二网络设备中均可部署智能家居控制服务,该指示信息中还可以包括状态信息,该状态信息用于指示第二网络设备中部署的智能家居控制服务是否处于唤醒状态。示例性的,当第二网络设备中部署的智能家居控制服务处于唤醒状态时,即第二网络设备的处理器已经拉起智能家居控制服务对应的进程(Process),指示信息包括用于指示第二网络设备中部署的智能家居控制服务处于唤醒状态的状态信息。与之相应的,第一网络设备可以根据该状态信息的指示唤醒第一网络设备中部署的智能家居控制服务。如此,对于用户而言,其无需发出用于唤醒第一网络设备中部署的智能家居控制服务的语音指令,而是直接发出用于调控家居设备的语音指令,由第一网络设备中部署的并且已经被唤醒的智能家居控制服务,对用于调控家居设备的语音指令进行响应,根据用于调控家居设备的语音指令调控家居设备。In a more specific example, the smart home control service can be deployed in both the first network device and the second network device, and the indication information may also include status information, where the status information is used to indicate the smart home control service deployed in the second network device. Whether the smart home control service is awake. Exemplarily, when the smart home control service deployed in the second network device is in an awake state, that is, the processor of the second network device has started a process (Process) corresponding to the smart home control service, the indication information includes instructions for indicating the first 2. Status information that the smart home control service deployed in the network device is in the awake state. Correspondingly, the first network device can wake up the smart home control service deployed in the first network device according to the indication of the state information. In this way, for the user, it is not necessary to issue a voice command for waking up the smart home control service deployed in the first network device, but directly issue a voice command for regulating the home device, which is deployed in the first network device and The smart home control service that has been awakened responds to the voice command used to control the home device, and controls the home device according to the voice command used to control the home device.
在一个更为具体的示例中,第一网络设备可以通过其部署的智能家居控制服务,预先维护若干特定的家居设备与第一网络设备的关联关系。用户可以发出更短的用于控制家居设备的语音指令,使第一网络设备根据该关联关系调控第一网络设备关联的家居设备,实现对若干特定的智能家居进行调控,提高用户体验。In a more specific example, the first network device may maintain the association relationship between several specific home devices and the first network device in advance through the smart home control service deployed by the first network device. The user can issue a shorter voice command for controlling the home equipment, so that the first network device can control the home equipment associated with the first network device according to the association relationship, so as to realize the control of several specific smart homes and improve the user experience.
举例来说,作为从接入点202的网络设备是第一网络设备。房间2中部署了智能灯具、智能空调等多个家居设备,用户携带终端设备10由房间1和房间2时,其发出某个特定的语音指令(例如,开灯或者打开空调)时,期望开启的智能灯具/智能空调通常是位于房间2中的智能灯具/智能空调。此种情况下,通过第一网络设备中部署的智能家居控制服务,预先维护部署在房间2中的智能灯具、智能空调与第一网络设备的关联关系。当第一网络设备中部署的智能家居控制服务被唤醒并接收到某个特定并且极短的语音指令(例如,开灯或者打开空调)时,第一网络设备中部署的智能家居控制服务可根据该语音指令和关联关系,调控第一网络设备关联的家居设备,具体如开启部署在房间2中的智能灯具/智能空调,但是并不开启部署在房间1或者房间3中的智能灯具/智能空调。For example, the network device that is the slave access point 202 is the first network device. Room 2 is deployed with a number of household devices such as smart lamps and smart air conditioners. When the user carries the terminal device 10 from room 1 to room 2, when he sends a specific voice command (for example, turn on the lights or turn on the air conditioner), it is expected that the device will be turned on. The smart light/smart air conditioner is usually the smart light/smart air conditioner located in room 2. In this case, through the smart home control service deployed in the first network device, the association relationship between the smart lamps and smart air conditioners deployed in the room 2 and the first network device is maintained in advance. When the smart home control service deployed in the first network device is woken up and receives a specific and very short voice command (for example, turn on the lights or turn on the air conditioner), the smart home control service deployed in the first network device can The voice command and the association relationship control the home equipment associated with the first network device, such as turning on the smart lamps/smart air conditioners deployed in room 2, but not turning on the smart lamps/smart air conditioners deployed in room 1 or room 3 .
在一个更为具体的示例中,第一网络设备可以通过其部署的智能家居控制服务,调控已经与第一网络设备所属WLAN中的任一网络设备建立了通信连接的家居设备。In a more specific example, the first network device can control the home device that has established a communication connection with any network device in the WLAN to which the first network device belongs, through the smart home control service deployed by the first network device.
举例来说,房间1中的灯具/智能空调通过作为接入点201的网络设备建立了通信连接,用户携带终端设备10从房间1进入房间2之后,期望关闭部署在房间1中的家居设备,比如期望关闭部署在房间1中的智能灯具或者智能空调。用户在房间2中发出某个特定的语音指令(例如,关闭房间1中的灯具/智能空调)时,作为接入点202的网络设备(第一网络设备)中部署的智能家居控制服务,可对该语音指令的语义进行解析,并根据语义分析的结果关闭部署在房间1中的智能灯具/智能空调。For example, the lamp/smart air conditioner in room 1 establishes a communication connection through the network device as the access point 201. After the user enters room 2 with the terminal device 10 from room 1, he wishes to turn off the household equipment deployed in room 1. For example, it is desired to turn off smart lamps or smart air conditioners deployed in room 1. When the user issues a specific voice command in room 2 (for example, turn off the lamps/smart air conditioner in room 1), as the smart home control service deployed in the network device (first network device) of the access point 202, the The semantics of the voice command is parsed, and the smart lamps/smart air conditioners deployed in room 1 are turned off according to the results of the semantic analysis.
需要说明的是,当第二智能家居控制服务处于唤醒状态时,第二网络设备确定终端设备10与第一网络设备建立通信连接后,还可以释放第二网络设备中部署的智能家居控制服务,使第二网络设备中部署的智能家居控制服务进入休眠状态。换而言之,终端设备10从第二网络设备切换到第一网络设备之后,如果第一网络设备和第二网络设备均接收到某个特定的语音指令,第一网络设备将会作为家居设备的控制设备而对该语音指令进行响应,第二网络设备将会因其部署的智能家居控制服务处于休眠状态而并不会错误响应该语音指令。It should be noted that, when the second smart home control service is in an awake state, the second network device can also release the smart home control service deployed in the second network device after determining that the terminal device 10 establishes a communication connection with the first network device. The smart home control service deployed in the second network device is put into a dormant state. In other words, after the terminal device 10 switches from the second network device to the first network device, if both the first network device and the second network device receive a specific voice command, the first network device will act as a home device. The control device of the second network device responds to the voice command, and the second network device will not respond to the voice command incorrectly because the deployed smart home control service is in a dormant state.
图5为本申请实施例中提供的一种网络设备执行目标业务的过程示意图之三。FIG. 5 is a third schematic diagram of a process of executing a target service by a network device according to an embodiment of the present application.
请参考图5,在一些实施例中,不同于如图3所示实施例的是,第二网络设备与终端设备10建立通信连接后,用户可调控第二网络设备执行步骤4025,播放目标音视频。其中,目标音视频具体可以是音频或者视频。Referring to FIG. 5 , in some embodiments, different from the embodiment shown in FIG. 3 , after the second network device establishes a communication connection with the terminal device 10 , the user can control the second network device to perform step 4025 to play the target sound video. The target audio and video may specifically be audio or video.
第二网络设备确定终端设备10与第一网络设备建立通信连接后,进一步执行步骤406,确定目标音视频在第二网络设备中的播放进度。After the second network device determines that the terminal device 10 establishes a communication connection with the first network device, step 406 is further performed to determine the playback progress of the target audio and video in the second network device.
步骤407具体包括步骤4073,第二网络设备向第一网络设备发送包括目标音视频和播放进度信息的指示信息。其中播放进度信息用于指示目标音视频在第二网络设备中的播放进度。Step 407 specifically includes step 4073, where the second network device sends indication information including target audio and video and playback progress information to the first network device. The playback progress information is used to indicate the playback progress of the target audio and video in the second network device.
步骤409具体包括步骤4095,第一网络设备根据播放进度信息,通过其包括的音视频模块继续播放目标音视频。Step 409 specifically includes step 4095, in which the first network device continues to play the target audio and video through the audio and video module included in the first network device according to the playback progress information.
在一些实施例中,指示信息中还可以包括播放状态信息,该播放状态信息用于指示第二网络设备是否正在播放目标音视频。当播放状态指示了第二网络设备正在播放目标音视频时,第一网络设备根据该播放状态的指示执行前述步骤4095。当播放状态指示了第二网络设备暂停播放目标音视频时,第一网络设备并不直接执行步骤4095,而是在接收到来自用户的控制信号之后再执行步骤4095;比如,该控制信号可以是用户发出的语音指令(例如,继续播放音视频),使第一网络设备根据该语音指令的指示执行步骤4095。In some embodiments, the indication information may further include playback status information, where the playback status information is used to indicate whether the second network device is playing the target audio and video. When the playing state indicates that the second network device is playing the target audio and video, the first network device performs the foregoing step 4095 according to the indication of the playing state. When the playing state indicates that the second network device pauses playing the target audio and video, the first network device does not directly execute step 4095, but executes step 4095 after receiving a control signal from the user; for example, the control signal may be The voice instruction issued by the user (for example, continue to play audio and video) causes the first network device to execute step 4095 according to the instruction of the voice instruction.
图6为本申请实施例中提供的一种网络设备执行目标业务的过程示意图之四。FIG. 6 is a fourth schematic diagram of a process of executing a target service by a network device according to an embodiment of the present application.
请参考图6,在一些实施例中,不同于如图5所示实施例的是,第一网络设备所需执行的目标业务,除了继续播放原本由第二网络设备播放的目标音视频外,还需要执行智能家居控制业务。换而言之,在如图5所示实施例的基础上,第一网络设备还可以执行前述步骤4021和步骤4023;步骤407具体包括步骤4075,第二网络设备向第一网络设备发送指示信息,该指示信息包括步骤4071中所述指示信息和步骤4073中所述指示信息中的部分或全部数据,具体如包括指令信息、目标音视频和播放进度信息;相应的,第一网络设备还可以执行前述的步骤4091和步骤4093。其中,如图6所示实施例中各步骤的相关描述,请参考如图4所示实施例和如图5所示实施例的内容,这里不再赘述。Referring to FIG. 6, in some embodiments, different from the embodiment shown in FIG. 5, the target service to be executed by the first network device, in addition to continuing to play the target audio and video originally played by the second network device, Also need to perform smart home control business. In other words, on the basis of the embodiment shown in FIG. 5 , the first network device may also perform the aforementioned steps 4021 and 4023; step 407 specifically includes step 4075, in which the second network device sends indication information to the first network device , the instruction information includes the instruction information described in step 4071 and part or all of the data in the instruction information described in step 4073, specifically including instruction information, target audio and video, and playback progress information; correspondingly, the first network device may also The aforementioned steps 4091 and 4093 are performed. Wherein, for the relevant description of each step in the embodiment shown in FIG. 6 , please refer to the content of the embodiment shown in FIG. 4 and the embodiment shown in FIG. 5 , and details are not repeated here.
与前述方法实施例基于相同的构思,本申请实施例中还提供了一种第一网络设备。如图7所示,该第一网络设备可以包括:。通信模块701,用于控制第一网络设备与终端设备建立通信连接,并将终端设备接入广域网;其中,终端设备是从第二网络设备切换到第一网络设备的,第一网络设备和第二网络设备部署在不同位置;以及用于接收来自第二网络设备或第三网络设备的指示信息。音视频模块703,用于在通信模块接收到指示信息时支持第一网络设备执行目标业务。Based on the same concept as the foregoing method embodiments, the embodiments of the present application further provide a first network device. As shown in FIG. 7 , the first network device may include: . The communication module 701 is used to control the first network device to establish a communication connection with the terminal device, and connect the terminal device to the wide area network; wherein the terminal device is switched from the second network device to the first network device, the first network device and the first network device are The two network devices are deployed in different locations; and are used for receiving indication information from the second network device or the third network device. The audio and video module 703 is configured to support the first network device to execute the target service when the communication module receives the indication information.
在一种可能的实施方式中,指示信息包括目标音视频和播放进度信息,其中播放进度信息用于指示目标音视频在第二网络设备中的播放进度。相应的,音视频模块705具体用于根据播放进度信息继续播放目标音视频。In a possible implementation manner, the indication information includes the target audio and video and playback progress information, wherein the playback progress information is used to indicate the playback progress of the target audio and video in the second network device. Correspondingly, the audio and video module 705 is specifically configured to continue playing the target audio and video according to the playback progress information.
在一种可能的实施方式中,指示信息包括用于指示第一网络设备作为家居设备的控制设备的指令信息。相应的,音视频模块703具体用于采集用户发出的语音指令;第一网络设备还包括:处理模块705,用于根据语音指令控制家居设备。In a possible implementation manner, the instruction information includes instruction information used to instruct the first network device as a control device of the household device. Correspondingly, the audio and video module 703 is specifically configured to collect the voice command issued by the user; the first network device further includes: a processing module 705, configured to control the household device according to the voice command.
在一种可能的实施方式中,指示信息还包括状态信息,其中状态信息用于指示第二网络 设备中部署的智能家居控制服务是否处于唤醒状态。相应的,处理模块705还用于在状态信息指示了第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒第一网络设备中部署的智能家居控制服务。In a possible implementation manner, the indication information further includes status information, wherein the status information is used to indicate whether the smart home control service deployed in the second network device is in an awake state. Correspondingly, the processing module 705 is further configured to wake up the smart home control service deployed in the first network device when the status information indicates that the smart home control service deployed in the second network device is in an awake state.
在一种可能的实施方式中,处理模块705具体用于根据语音指令控制第一网络设备关联的家居设备。In a possible implementation manner, the processing module 705 is specifically configured to control the home device associated with the first network device according to the voice command.
在一种可能的实施方式中,第一网络设备和第二网络设备属于同一个无线局域网WLAN。相应的,通信模块701还用于向第二网络设备发送通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。In a possible implementation manner, the first network device and the second network device belong to the same wireless local area network WLAN. Correspondingly, the communication module 701 is further configured to send a notification message to the second network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
在一种可能的实施方式中,第一网络设备、第二网络设备和第三网络设备属于同一个无线局域网WLAN。相应的,通信模块701还用于向第三网络设备发送通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。In a possible implementation manner, the first network device, the second network device and the third network device belong to the same wireless local area network WLAN. Correspondingly, the communication module 701 is further configured to send a notification message to the third network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
在一种可能的实施方式中,终端设备是根据其自身接收的第一网络设备的无线信号的信号质量、第二网络设备的无线信号的信号质量,从第二网络设备切换到第一网络设备的。In a possible implementation manner, the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
与前述方法实施例基于相同的构思,本申请实施例中还提供了一种第二网络设备。如图8所示,第二网络设备可以包括:处理模块801,用于确定终端设备与第一网络设备建立了通信连接,其中终端设备是从第二网络设备切换到第一网络设备的,第一网络设备和第二网络设备部署在不同位置,终端设备切换到第一网络设备之前通过第二网络设备的通信模块803接入广域网。通信模块803,还用于向第一网络设备发送指示信息,其中指示信息用于指示第一网络设备在其包括的音视频模块的支持下执行目标业务。Based on the same concept as the foregoing method embodiments, the embodiments of the present application further provide a second network device. As shown in FIG. 8 , the second network device may include: a processing module 801, configured to determine that the terminal device has established a communication connection with the first network device, wherein the terminal device is switched from the second network device to the first network device, and the first A network device and a second network device are deployed in different locations, and the terminal device accesses the wide area network through the communication module 803 of the second network device before switching to the first network device. The communication module 803 is further configured to send indication information to the first network device, where the indication information is used to instruct the first network device to execute the target service under the support of the audio and video module included in the device.
在一种可能的实施方式中,第二网络设备还包括:音视频模块805,用于播放目标音视频。其中指示信息包括目标音视频和播放进度信息,播放进度信息用于指示目标音视频在第二网络设备中的播放进度。目标业务包括根据播放进度信息继续播放目标音视频。In a possible implementation manner, the second network device further includes: an audio and video module 805, configured to play the target audio and video. The indication information includes the target audio and video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio and video in the second network device. The target service includes continuing to play the target audio and video according to the playback progress information.
在一种可能的实施方式中,指示信息包括用于指示第一网络设备作为家居设备的控制设备的指令信息。目标业务包括:采集用户发出的语音指令,并根据语音指令控制家居设备。In a possible implementation manner, the instruction information includes instruction information used to instruct the first network device as a control device of the household device. The target business includes: collecting voice commands issued by users, and controlling home equipment according to the voice commands.
在一种可能的实施方式中,指示信息还包括状态信息,其中状态信息用于指示第二网络设备中部署的智能家居控制服务是否处于唤醒状态,使第一网络设备在状态信息指示了第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒第一网络设备中部署的智能家居控制服务。In a possible implementation manner, the indication information further includes state information, wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state, so that the first network device is in a state information indicating that the second network device is in an awake state. When the smart home control service deployed in the network device is in the wake-up state, the smart home control service deployed in the first network device is woken up.
在一种可能的实施方式中,目标业务具体包括:根据语音指令控制第一网络设备关联的家居设备。In a possible implementation manner, the target service specifically includes: controlling a home device associated with the first network device according to a voice command.
在一种可能的实施方式中,第一网络设备和第二网络设备属于同一个WLAN。通信模块803还用于接收来自第一网络设备的通知消息,其中通知消息用于指示终端设备和第一网络设备建立了通信连接。In a possible implementation manner, the first network device and the second network device belong to the same WLAN. The communication module 803 is further configured to receive a notification message from the first network device, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
在一种可能的实施方式中,终端设备是根据其自身接收的第一网络设备的无线信号的信号质量、第二网络设备的无线信号的信号质量,从第二网络设备切换到第一网络设备的。In a possible implementation manner, the terminal device switches from the second network device to the first network device according to the signal quality of the wireless signal of the first network device and the signal quality of the wireless signal of the second network device received by itself. of.
本领域技术人员可以清楚地了解到,为描述的方便和简洁,上述网络设备的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above network device, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.
与前述方法实施例基于相同的构思,本申请实施例中还提供了一种包括处理器的芯片,该芯片可部署在网络设备中,该处理器执行存储器中存储的计算机程序时,实现本申请任一个实施例中提供的由第一网络设备或者第二网络设备执行的方法。Based on the same concept as the foregoing method embodiments, the embodiments of the present application also provide a chip including a processor, the chip can be deployed in a network device, and the processor implements the present application when the processor executes the computer program stored in the memory A method performed by a first network device or a second network device provided in any one of the embodiments.
与前述方法实施例基于相同的构思,本申请实施例中还提供了一种计算机可读存储介质,用于存储计算机程序指令/代码,当计算机程序指令/代码被网络设备的处理器执行时,使得网络设备实现本申请任一个实施例中提供的由第一网络设备或者第二网络设备执行的方法。Based on the same concept as the foregoing method embodiments, the embodiments of the present application also provide a computer-readable storage medium for storing computer program instructions/codes. When the computer program instructions/codes are executed by the processor of the network device, The network device is caused to implement the method performed by the first network device or the second network device provided in any embodiment of the present application.
与前述方法实施例基于相同的构思,本申请实施例中还提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,当所述计算机程序在计算机上运行时,使计算机执行本申请任一个实施例中提供的由第一网络设备或者第二网络设备执行的方法。Based on the same concept as the foregoing method embodiments, the embodiments of the present application also provide a computer program product, the computer program product includes a computer program, and when the computer program runs on a computer, the computer is made to execute any of the tasks of the present application. A method performed by a first network device or a second network device provided in one embodiment.
本申请实施例中还提供了一种通信系统,包括终端设备、本申请任意一个实施例中提供的第一网络设备,以及本申请任意一个实施例中提供的第二网络设备。An embodiment of the present application further provides a communication system, including a terminal device, a first network device provided in any embodiment of the present application, and a second network device provided in any embodiment of the present application.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Experts may use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the embodiments of the present application.
本申请的任一实施例中,各方法步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In any embodiment of the present application, the size of the serial number of each method step does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute the implementation process of the embodiment of the present application. any restrictions.
最后需要说明的是,以上实施例仅用以说明本申请的技术方案,而未对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解,依然可以对前述各个实施例中所提供的技术方案进行修改,或者对其中部分技术特征进行等同替换,而这些修改或替换,并不使相应技术方案的本质脱离本申请各个实施例中所提供技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it is still possible to The technical solutions provided in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced, and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit of the technical solutions provided in the various embodiments of the present application and range.
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable rom,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。The method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs or known in the art in any other form of storage medium. An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium may reside in an ASIC.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无 线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions can be sent from one website site, computer, server, or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) , computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。It can be understood that, the various numbers and numbers involved in the embodiments of the present application are only for the convenience of description, and are not used to limit the scope of the embodiments of the present application.

Claims (33)

  1. 一种业务执行方法,其特征在于,应用于第一网络设备,包括:A service execution method, characterized in that, applied to a first network device, comprising:
    与终端设备建立通信连接;其中,所述第一网络设备用于将所述终端设备接入广域网,所述终端设备是从第二网络设备切换到所述第一网络设备的,所述第一网络设备和所述第二网络设备部署在不同位置;establishing a communication connection with a terminal device; wherein the first network device is used to connect the terminal device to a wide area network, the terminal device is switched from the second network device to the first network device, the first network device The network device and the second network device are deployed in different locations;
    响应于来自所述第二网络设备或第三网络设备的指示信息,在所述第一网络设备的音视频模块的支持下执行目标业务。In response to the indication information from the second network device or the third network device, the target service is executed with the support of the audio and video module of the first network device.
  2. 根据权利要求1所述的方法,其特征在于,所述指示信息包括目标音视频和播放进度信息;其中,所述播放进度信息用于指示所述目标音视频在所述第二网络设备中的播放进度;The method according to claim 1, wherein the indication information includes target audio and video and playback progress information; wherein, the playback progress information is used to indicate the target audio and video in the second network device. playback progress;
    在所述第一网络设备的音视频模块的支持下执行目标业务,包括:根据所述播放进度信息,通过所述音视频模块继续播放所述目标音视频。Executing the target service under the support of the audio and video module of the first network device includes: continuing to play the target audio and video through the audio and video module according to the playback progress information.
  3. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述指示信息包括用于指示所述第一网络设备作为家居设备的控制设备的指令信息;The instruction information includes instruction information used to instruct the first network device as a control device of a household device;
    所述在所述第一网络设备的音视频模块的支持下执行目标业务,包括:通过所述音视频模块采集用户发出的语音指令,并根据所述语音指令控制家居设备。The performing of the target service under the support of the audio and video module of the first network device includes: collecting a voice command issued by a user through the audio and video module, and controlling the home appliance according to the voice command.
  4. 根据权利要求3所述的方法,其特征在于,所述指示信息还包括状态信息;其中,所述状态信息用于指示所述第二网络设备中部署的智能家居控制服务是否处于唤醒状态;The method according to claim 3, wherein the indication information further comprises state information; wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state;
    还包括:当所述状态信息指示了所述第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒所述第一网络设备中部署的智能家居控制服务。The method also includes: when the state information indicates that the smart home control service deployed in the second network device is in an awake state, waking up the smart home control service deployed in the first network device.
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述语音指令控制家居设备,具体包括:根据所述语音指令控制所述第一网络设备关联的家居设备。The method according to claim 3, wherein the controlling the home device according to the voice command specifically comprises: controlling the home device associated with the first network device according to the voice command.
  6. 根据权利要求1至5中任一所述的方法,其特征在于,所述第一网络设备和所述第二网络设备属于同一个无线局域网WLAN;The method according to any one of claims 1 to 5, wherein the first network device and the second network device belong to the same wireless local area network WLAN;
    响应于来自所述第二网络设备或第三网络设备的指示信息,在所述第一网络设备的音视频模块的支持下执行目标业务之前,还包括:向所述第二网络设备发送通知消息;其中,所述通知消息用于指示所述终端设备和所述第一网络设备建立了通信连接。In response to the indication information from the second network device or the third network device, before executing the target service with the support of the audio and video module of the first network device, the method further includes: sending a notification message to the second network device ; wherein, the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  7. 根据权利要求1至5中任一所述的方法,其特征在于,所述第一网络设备、所述第二网络设备和所述第三网络设备属于同一个无线局域网WLAN;The method according to any one of claims 1 to 5, wherein the first network device, the second network device and the third network device belong to the same wireless local area network WLAN;
    响应于来自所述第二网络设备或第三网络设备的指示信息,在所述第一网络设备的音视频模块的支持下执行目标业务之前,还包括:向所述第三网络设备发送通知消息;其中,所述通知消息用于指示所述终端设备和所述第一网络设备建立了通信连接。In response to the indication information from the second network device or the third network device, before executing the target service with the support of the audio and video module of the first network device, the method further includes: sending a notification message to the third network device ; wherein, the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  8. 根据权利要求1至5中任一所述的方法,其特征在于,所述终端设备是根据其自身接收的所述第一网络设备的无线信号的信号质量、所述第二网络设备的无线信号的信号质量,从所述第二网络设备切换到所述第一网络设备的。The method according to any one of claims 1 to 5, wherein the terminal device is based on the signal quality of the wireless signal of the first network device and the wireless signal of the second network device received by itself. The signal quality is switched from the second network device to the first network device.
  9. 一种第一网络设备,其特征在于,包括:A first network device, comprising:
    通信模块,用于控制所述第一网络设备与终端设备建立通信连接,并将所述终端设备接入广域网;其中,所述终端设备是从第二网络设备切换到所述第一网络设备的,所述第一网络设备和所述第二网络设备部署在不同位置;以及,用于接收来自所述第二网络设备或第三 网络设备的指示信息;a communication module, configured to control the first network device to establish a communication connection with a terminal device, and connect the terminal device to a wide area network; wherein the terminal device is switched from the second network device to the first network device , the first network device and the second network device are deployed in different locations; and, for receiving indication information from the second network device or the third network device;
    音视频模块,用于在所述通信模块接收到所述指示信息时,支持所述第一网络设备执行目标业务。The audio and video module is configured to support the first network device to execute the target service when the communication module receives the indication information.
  10. 根据权利要求9所述的第一网络设备,其特征在于,The first network device according to claim 9, wherein,
    所述指示信息包括目标音视频和播放进度信息;其中,所述播放进度信息用于指示所述目标音视频在所述第二网络设备中的播放进度;The indication information includes target audio and video and playback progress information; wherein, the playback progress information is used to indicate the playback progress of the target audio and video in the second network device;
    所述音视频模块,具体用于根据所述播放进度信息继续播放所述目标音视频。The audio and video module is specifically configured to continue playing the target audio and video according to the playback progress information.
  11. 根据权利要求9所述的第一网络设备,其特征在于,The first network device according to claim 9, wherein,
    所述指示信息包括用于指示所述第一网络设备作为家居设备的控制设备的指令信息;The instruction information includes instruction information used to instruct the first network device as a control device of a household device;
    所述音视频模块,具体用于采集用户发出的语音指令;The audio and video module is specifically used to collect the voice commands sent by the user;
    所述第一网络设备还包括:处理模块,用于根据所述语音指令控制家居设备。The first network device further includes: a processing module configured to control the household device according to the voice command.
  12. 根据权利要求11所述的第一网络设备,其特征在于,The first network device according to claim 11, wherein,
    所述指示信息还包括状态信息;其中,所述状态信息用于指示所述第二网络设备中部署的智能家居控制服务是否处于唤醒状态;The indication information further includes state information; wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state;
    所述处理模块,还用于当所述状态信息指示了所述第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒所述第一网络设备中部署的智能家居控制服务。The processing module is further configured to wake up the smart home control service deployed in the first network device when the state information indicates that the smart home control service deployed in the second network device is in an awake state.
  13. 根据权利要求11所述的第一网络设备,其特征在于,所述处理模块,具体用于根据所述语音指令控制所述第一网络设备关联的家居设备。The first network device according to claim 11, wherein the processing module is specifically configured to control the home device associated with the first network device according to the voice command.
  14. 根据权利要求9至13中任一项所述的第一网络设备,其特征在于,所述第一网络设备和所述第二网络设备属于同一个无线局域网WLAN;The first network device according to any one of claims 9 to 13, wherein the first network device and the second network device belong to the same wireless local area network WLAN;
    所述通信模块,还用于向所述第二网络设备发送通知消息;其中,所述通知消息用于指示所述终端设备和所述第一网络设备建立了通信连接。The communication module is further configured to send a notification message to the second network device, wherein the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  15. 根据权利要求9至13中任一所述的第一网络设备,其特征在于,所述第一网络设备、所述第二网络设备和所述第三网络设备属于同一个无线局域网WLAN;The first network device according to any one of claims 9 to 13, wherein the first network device, the second network device and the third network device belong to the same wireless local area network WLAN;
    所述通信模块,还用于向所述第三网络设备发送通知消息;其中,所述通知消息用于指示所述终端设备和所述第一网络设备建立了通信连接。The communication module is further configured to send a notification message to the third network device, wherein the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  16. 根据权利要求9至13中任意所述的第一网络设备,其特征在于,所述终端设备是根据其自身接收的所述第一网络设备的无线信号的信号质量、所述第二网络设备的无线信号的信号质量,从所述第二网络设备切换到所述第一网络设备的。The first network device according to any one of claims 9 to 13, wherein the terminal device is based on the signal quality of the wireless signal of the first network device received by the terminal device, the signal quality of the second network device The signal quality of the wireless signal, which is switched from the second network device to the first network device.
  17. 一种业务执行方法,其特征在于,应用于第二网络设备,包括:A service execution method, characterized in that, applied to a second network device, comprising:
    确定终端设备与第一网络设备建立了通信连接;其中,所述终端设备是从所述第二网络设备切换到所述第一网络设备的,所述第一网络设备和所述第二网络设备部署在不同位置,所述终端设备切换到所述第一网络设备之前通过所述第二网络设备接入广域网;It is determined that the terminal device has established a communication connection with the first network device; wherein, the terminal device is switched from the second network device to the first network device, the first network device and the second network device Deployed in different locations, the terminal device accesses the wide area network through the second network device before switching to the first network device;
    向所述第一网络设备发送指示信息;其中,所述指示信息用于指示所述第一网络设备在其包括的音视频模块的支持下执行目标业务。Sending indication information to the first network device; wherein the indication information is used to instruct the first network device to execute the target service under the support of the audio and video module included in the device.
  18. 根据权利要求17所述的方法,其特征在于,The method of claim 17, wherein:
    在所述确定终端设备与第一网络设备建立了通信连接之前,还包括:播放目标音视频;Before the determining that the terminal device has established a communication connection with the first network device, the method further includes: playing the target audio and video;
    所述指示信息包括所述目标音视频和播放进度信息;其中,所述播放进度信息用于指示所述目标音视频在所述第二网络设备中的播放进度;The indication information includes the target audio and video and playback progress information; wherein, the playback progress information is used to indicate the playback progress of the target audio and video in the second network device;
    所述目标业务包括:根据所述播放进度信息继续播放所述目标音视频。The target service includes: continuing to play the target audio and video according to the playback progress information.
  19. 根据权利要求17所述的方法,其特征在于,所述指示信息包括用于指示所述第一网络设备作为家居设备的控制设备的指令信息;The method according to claim 17, wherein the instruction information comprises instruction information for instructing the first network device as a control device of a household device;
    所述目标业务包括:采集用户发出的语音指令,并根据所述语音指令控制家居设备。The target service includes: collecting voice commands sent by users, and controlling home appliances according to the voice commands.
  20. 根据权利要求17所述的方法,其特征在于,所述指示信息还包括状态信息;其中,所述状态信息用于指示所述第二网络设备中部署的智能家居控制服务是否处于唤醒状态,使所述第一网络设备在所述状态信息指示了所述第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒所述第一网络设备中部署的智能家居控制服务。The method according to claim 17, wherein the indication information further comprises state information; wherein the state information is used to indicate whether the smart home control service deployed in the second network device is in an awake state, so that the The first network device wakes up the smart home control service deployed in the first network device when the state information indicates that the smart home control service deployed in the second network device is in an awake state.
  21. 根据权利要求20所述的方法,其特征在于,所述目标业务具体包括:根据语音指令控制所述第一网络设备关联的家居设备。The method according to claim 20, wherein the target service specifically comprises: controlling a home device associated with the first network device according to a voice command.
  22. 根据权利要求17至21中任一项所述的方法,其特征在于,所述第一网络设备和所述第二网络设备属于同一个无线局域网WLAN;The method according to any one of claims 17 to 21, wherein the first network device and the second network device belong to the same wireless local area network WLAN;
    所述方法还包括:接收来自所述第一网络设备的通知消息;其中,所述通知消息用于指示所述终端设备和所述第一网络设备建立了通信连接。The method further includes: receiving a notification message from the first network device; wherein the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  23. 根据权利要求17至21中任一项所述的方法,其特征在于,所述终端设备是根据其自身接收的所述第一网络设备的无线信号的信号质量、所述第二网络设备的无线信号的信号质量,从所述第二网络设备切换到所述第一网络设备的。The method according to any one of claims 17 to 21, wherein the terminal device is based on the signal quality of the wireless signal of the first network device and the wireless signal of the second network device received by the terminal device itself. The signal quality of the signal, switched from the second network device to the first network device.
  24. 一种第二网络设备,其特征在于,包括:A second network device, comprising:
    处理模块,用于确定终端设备与第一网络设备建立了通信连接;其中,所述终端设备是从所述第二网络设备切换到所述第一网络设备的,所述第一网络设备和所述第二网络设备部署在不同位置,所述终端设备切换到所述第一网络设备之前通过所述第二网络设备的通信模块接入广域网;a processing module, configured to determine that a terminal device has established a communication connection with a first network device; wherein, the terminal device is switched from the second network device to the first network device, the first network device and the first network device The second network device is deployed in different locations, and the terminal device accesses the wide area network through a communication module of the second network device before switching to the first network device;
    所述通信模块,还用于向所述第一网络设备发送指示信息;其中,所述指示信息用于指示所述第一网络设备在其包括的音视频模块的支持下执行目标业务。The communication module is further configured to send indication information to the first network device; wherein the indication information is used to instruct the first network device to execute the target service under the support of the audio and video module included in the communication module.
  25. 根据权利要求24所述的第二网络设备,其特征在于,还包括:音视频模块,用于播放目标音视频;The second network device according to claim 24, further comprising: an audio and video module for playing target audio and video;
    所述指示信息包括所述目标音视频和播放进度信息;其中,所述播放进度信息用于指示所述目标音视频在所述第二网络设备中的播放进度;The indication information includes the target audio and video and playback progress information; wherein, the playback progress information is used to indicate the playback progress of the target audio and video in the second network device;
    所述目标业务包括:根据所述播放进度信息继续播放所述目标音视频。The target service includes: continuing to play the target audio and video according to the playback progress information.
  26. 根据权利要求24所述的第二网络设备,其特征在于,所述指示信息包括用于指示所述第一网络设备作为家居设备的控制设备的指令信息;The second network device according to claim 24, wherein the instruction information comprises instruction information for instructing the first network device as a control device of a household device;
    所述目标业务包括:采集用户发出的语音指令,并根据所述语音指令控制家居设备。The target service includes: collecting voice commands sent by users, and controlling home appliances according to the voice commands.
  27. 根据权利要求24所述的第二网络设备,其特征在于,所述指示信息还包括状态信息;其中,所述状态信息用于指示所述第二网络设备中部署的智能家居控制服务是否处于唤醒状态,使所述第一网络设备在所述状态信息指示了所述第二网络设备中部署的智能家居控制服务处于唤醒状态时,唤醒所述第一网络设备中部署的智能家居控制服务。The second network device according to claim 24, wherein the indication information further comprises state information; wherein the state information is used to indicate whether the smart home control service deployed in the second network device is awake state, so that the first network device wakes up the smart home control service deployed in the first network device when the state information indicates that the smart home control service deployed in the second network device is in an awake state.
  28. 根据权利要求27所述的第二网络设备,其特征在于,所述目标业务具体包括:根据语音指令控制所述第一网络设备关联的家居设备。The second network device according to claim 27, wherein the target service specifically comprises: controlling a home device associated with the first network device according to a voice command.
  29. 根据权利要求24至28中任一项所述的第二网络设备,其特征在于,所述第一网络设备和所述第二网络设备属于同一个无线局域网WLAN;The second network device according to any one of claims 24 to 28, wherein the first network device and the second network device belong to the same wireless local area network WLAN;
    所述通信模块,还用于接收来自所述第一网络设备的通知消息;其中,所述通知消息用于指示所述终端设备和所述第一网络设备建立了通信连接。The communication module is further configured to receive a notification message from the first network device, wherein the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
  30. 根据权利要求24至29中任一项所述的第二网络设备,其特征在于,所述终端设备是根据其自身接收的所述第一网络设备的无线信号的信号质量、所述第二网络设备的无线信号的信号质量,从所述第二网络设备切换到所述第一网络设备的。The second network device according to any one of claims 24 to 29, wherein the terminal device is based on the signal quality of the wireless signal of the first network device received by itself, the second network The signal quality of the wireless signal of the device is switched from the second network device to that of the first network device.
  31. 一种网络设备,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器执行所述计算机程序时,实现权利要求1至8或权利要求17至23中任一项所述的方法。A network device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, any one of claims 1 to 8 or claims 17 to 23 is implemented. method.
  32. 一种计算机可读存储介质,用于存储计算机程序,当所述计算机程序被网络设备的处理器执行时,所述网络设备实现权利要求1至8或者权利要求17至23中任一项所述的方法。A computer-readable storage medium for storing a computer program, when the computer program is executed by a processor of a network device, the network device implements any one of claims 1 to 8 or claims 17 to 23. Methods.
  33. 一种通信系统,包括:终端设备、权利要求9至16中任一项所述的第一网络设备,以及权利要求24至30中任一项所述的第二网络设备。A communication system, comprising: a terminal device, the first network device according to any one of claims 9 to 16, and the second network device according to any one of claims 24 to 30.
PCT/CN2021/136361 2021-01-25 2021-12-08 Network device and method for executing service by same WO2022156407A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110098605.9A CN114793185A (en) 2021-01-25 2021-01-25 Network device and method for executing service thereof
CN202110098605.9 2021-01-25

Publications (1)

Publication Number Publication Date
WO2022156407A1 true WO2022156407A1 (en) 2022-07-28

Family

ID=82459235

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/136361 WO2022156407A1 (en) 2021-01-25 2021-12-08 Network device and method for executing service by same

Country Status (2)

Country Link
CN (1) CN114793185A (en)
WO (1) WO2022156407A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898814A (en) * 2016-06-20 2016-08-24 美的智慧家居科技有限公司 Network connection switching method and device
CN108471569A (en) * 2018-03-19 2018-08-31 苏州科技大学 A kind of multitone case device plays method and device
CN110380944A (en) * 2019-08-14 2019-10-25 Oppo广东移动通信有限公司 A kind of electronic equipment and its control method
CN110856086A (en) * 2019-10-30 2020-02-28 歌尔股份有限公司 Method and device for controlling sound system and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592517A (en) * 2016-02-17 2016-05-18 宇龙计算机通信科技(深圳)有限公司 Network connection processing method, network connection processing device, and network connection processing terminal
CN110166820B (en) * 2019-05-10 2021-04-09 华为技术有限公司 Audio and video playing method, terminal and device
CN112040520B (en) * 2020-08-20 2023-02-17 Oppo(重庆)智能科技有限公司 Network switching method, device, terminal equipment and computer storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898814A (en) * 2016-06-20 2016-08-24 美的智慧家居科技有限公司 Network connection switching method and device
CN108471569A (en) * 2018-03-19 2018-08-31 苏州科技大学 A kind of multitone case device plays method and device
CN110380944A (en) * 2019-08-14 2019-10-25 Oppo广东移动通信有限公司 A kind of electronic equipment and its control method
CN110856086A (en) * 2019-10-30 2020-02-28 歌尔股份有限公司 Method and device for controlling sound system and readable storage medium

Also Published As

Publication number Publication date
CN114793185A (en) 2022-07-26

Similar Documents

Publication Publication Date Title
US9525736B2 (en) Content continuation system and method
TWI814886B (en) Bluetooth Mesh network and its communication methods, devices and storage media
JP5260654B2 (en) Group power management for network devices
WO2018000134A1 (en) Bluetooth connection method and terminal
JP2019204103A (en) Wake-up method for voice smart device, wake-up apparatus therefor, smart device, and computer-readable storage medium
TW201947917A (en) Bluetooth mesh network and provisioning method, device and storage medium thereof capable of resolving problem of restricting coverage of Bluetooth mesh network
US9854033B2 (en) System for content continuation and handoff
WO2021057610A1 (en) Device connection method, system, platform and corresponding device
WO2022041602A1 (en) Method and apparatus for managing devices in internet of things
JP2009169732A (en) Communication terminal equipment and communication equipment connection control method
JP2016519449A (en) Automatic selection of adjustment functions in hybrid communication networks
CN110012527B (en) Awakening method and electronic equipment
CN108566706B (en) Flash lamp control method and device, terminal equipment and storage medium
WO2022257667A1 (en) Router control method, apparatus, and storage medium
CN112269842A (en) Information processing method and device, storage medium and computer equipment
WO2023231894A1 (en) Wake-up method, apparatus and system based on collaborative error correction, and medium and device
WO2024041189A1 (en) Wireless audio/video apparatus and wireless communication method
WO2022156407A1 (en) Network device and method for executing service by same
WO2023151423A1 (en) Device connection method and apparatus, device, and storage medium
WO2023124257A1 (en) Networking method of bluetooth device, terminal device and bluetooth device
US8478193B2 (en) Device-identifying system, device-identifying method, controlling device, and controlled device
WO2022143339A1 (en) Cross-network segment discovery method, routing device and system
WO2021239032A1 (en) Bluetooth protocol connection method and apparatus, storage medium, and related device
WO2019024173A1 (en) Batch management method for saving power of internet of things terminal devices, and relay device
CN113840164A (en) Voice control method, device, terminal equipment and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21920781

Country of ref document: EP

Kind code of ref document: A1