Network device and method for performing services
The communication connection is established with the terminal device through the first network device and the target service is performed using the audio and video module, which solves the problem of the distance between the device and the user when the user is moved and improves the user experience.
Patent Information
- Application Number
- CN202110098605.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-25
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2041-01-25
AI Technical Summary
In home, hotel and office scenarios, when a user moves the terminal device, he cannot accurately locate the user's location, resulting in the electronic device that actually performs a specific business being far away from the user, affecting the user experience.
The communication connection is established with the terminal device through the first network device, the terminal device is connected to the wide area network, and upon receiving the instruction information from the second or third network device, the audio and video module of the first network device performs the target service to ensure that the information interaction between the user and the device is more efficient.
Through the advantage of being closer to users in the first network device, the information interaction efficiency between users and devices is improved, ensuring the improvement of user experience, especially in scenarios such as playing audio and video and controlling home equipment.
Smart Images

Figure CN114793185B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communications, and in particular, to network devices and methods for performing services thereof. Background Art
[0002] In home, hotel, and office scenarios, electronic devices with audio and video modules can be deployed at multiple locations respectively. When a user moves a terminal device in home, hotel, and office scenarios, it may be desired that an electronic device located near the user's location performs a specific service with the support of the audio and video module, such as playing audio and video, controlling home devices according to voice commands issued by the user, and so on.
[0003] Generally, due to the inability to accurately locate the user's location, the electronic device actually performing the specific service may be far from the user, resulting in poor information interaction with the user and affecting the user experience. Summary of the Invention
[0004] Embodiments of the present application provide a network device and a method for performing services thereof, which can improve the user experience.
[0005] In a first aspect, a service execution method is provided. This method can be executed by a first network device, or can also be executed by a chip or system-on-chip deployed in the first network device. The method includes: establishing a communication connection with a terminal device, where the first network device is used to connect the terminal device to a wide area network, and the terminal device switches from a second network device to the first network device, and the first network device and the second network device are deployed at different locations; when receiving indication information from the second network device or the third network device, performing a target service with the support of the audio and video module of the first network device.
[0006] The terminal device is usually carried by the user. Both the first network device and the second network device deployed at different locations have the function of connecting the terminal device to the wide area network. Therefore, when the terminal device switches from the second network device to the first network device, it indicates that the user's location is spatially closer to the location of the first network device; thereafter, the first network device closer to the user performs the target service with the support of the audio and video module included therein, enabling the user to more efficiently interact with the first network device for voice information and / or image information, and the user experience is better.
[0007] In a possible implementation, the indication information includes the target audio-visual content and the playback progress information, where the playback progress information is used to indicate the playback progress of the target audio-visual content in the second network device. Accordingly, the first network device can specifically adjust the audio-visual module included therein to continue playing the target audio-visual content that was 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 videos and / or listen to audio, providing a better user experience.
[0008] In a possible implementation, the indication information includes instruction information for indicating that the first network device is a control device of a home device. Accordingly, the first network device can specifically collect voice instructions issued by the user through the audio-visual module included therein and control the home device according to the voice instructions. In this way, when the first network device receives the indication information containing the instruction information and acts as a home control device, since the user is closer to the first network device, when the first network device acts as a control device of the home device and specifically collects and responds to the voice instructions issued by the user, the first network device can better collect the voice instructions issued by the user, which is beneficial to accurately controlling the home device based on the user's needs.
[0009] In a possible implementation, 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 a wake-up state. Accordingly, when the status information indicates that the smart home control service deployed in the second network device is in a wake-up state, the first network device can also wake up the smart home control service deployed in the first network device and specifically implement controlling the home device according to the voice instructions through the awakened smart home control service. In this way, before the first network device acts as a home control device, the smart home control service deployed in the first network device does not need to be in a wake-up state, which can reduce the power consumption of the first network device; when the status information indicates that the smart home control service deployed in the second network device is in a wake-up state, it means that the user may have a need to use smart home devices. Without the user having to issue a wake-up word to wake up the smart home control service, the first network device actively wakes up the smart home control service deployed therein, providing a better user experience.
[0010] In a possible implementation, after the first network device acts as a control device of a home device, it can specifically control the home device associated with the first network device according to the voice instructions issued by the user. In this way, it is beneficial for the user to issue shorter voice instructions, enabling the first network device to specifically implement the control of a specific home device according to the home device control solution expected by the user, providing a better user experience.
[0011] In a possible implementation, 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 further 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. In this way, the second network device acting as the primary access point can discover the handover occurred by the terminal device.
[0012] In a possible implementation, 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 further 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 this way, the third network device acting as the primary access point can discover the handover occurred by the terminal device.
[0013] In a possible implementation, 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 received by itself and the signal quality of the wireless signal of the second network device. 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 the wireless signal of the second network device received by the terminal device, relative to the position of the second network device, the position of the terminal device is closer to the position of the first network device in space, correspondingly indicating that the position of the user holding the terminal device is closer to the position of the first network device in space.
[0014] In a second aspect, a first network device is provided, and the beneficial effects can be referred to the description in the first aspect. The first network device may include: a communication module, configured 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; where the terminal device switches from the second network device to the first network device, and the first network device and the second network device are deployed at different positions; and, configured to receive indication information from the second network device or the third network device. An audio-video module, configured to support the first network device to execute a target service when the communication module receives the indication information.
[0015] In a possible implementation, the indication information includes a target audio-video and playback progress information, where the playback progress information is used to indicate the playback progress of the target audio-video in the second network device. Correspondingly, the audio-video module is specifically configured to continue playing the target audio-video according to the playback progress information.
[0016] In a possible implementation, the indication information includes instruction information for indicating that the first network device is a control device of a home device. Correspondingly, the audio-video module is specifically configured to collect a voice instruction issued by a user; the first network device further includes: a processing module, configured to control the home device according to the voice instruction.
[0017] In a possible implementation, 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 a wake-up 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 a wake-up state.
[0018] In a possible implementation, the processing module is specifically configured to control the home device associated with the first network device according to the voice instruction.
[0019] In a possible implementation, 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 a communication connection is established between the terminal device and the first network device.
[0020] In a possible implementation, 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 a communication connection is established between the terminal device and the first network device.
[0021] In a possible implementation, 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 received by itself and the signal quality of the wireless signal of the second network device.
[0022] In a third aspect, a service execution method is provided. This method can be executed by the second network device, or can 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 a communication connection is established between the terminal device and the first network device, where the terminal device switches from the second network device to the first network device, the first network device and the second network device are deployed at different locations, and 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, where the indication information is used to indicate that the first network device executes a target service with the support of the audio-video module included therein.
[0023] In a possible implementation, before determining that the terminal device has established a communication connection with the first network device, it further includes: playing a target audio-video. The indication information includes the target audio-video and the playback progress information, where the playback progress information is used to indicate the playback progress of the target audio-video in the second network device; the target service includes continuing to play the target audio-video according to the playback progress information.
[0024] In a possible implementation, the indication information includes instruction information for indicating the first network device as a control device of a home device. The target service includes: collecting a voice instruction issued by a user and controlling the home device according to the voice instruction.
[0025] In a possible implementation, 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 a wake-up state, so that when the status information indicates that the smart home control service deployed in the second network device is in a wake-up state, the smart home control service deployed in the first network device is woken up.
[0026] In a possible implementation, the target service specifically includes: controlling the home device associated with the first network device according to the voice instruction.
[0027] In a possible implementation, 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, where the notification message is used to indicate that the terminal device and the first network device have established a communication connection.
[0028] In a possible implementation, 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 received by itself and the signal quality of the wireless signal of the second network device.
[0029] In a fourth aspect, a second network device is provided, and the beneficial effects can be referred to the description in the first aspect. 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, where the terminal device switches from the second network device to the first network device, the first network device and the second network device are deployed at 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 indicate that the first network device executes a target service with the support of the audio-video module included therein.
[0030] In a possible implementation, the second network device further includes: an audio-video module for playing a target audio-video. The indication information includes the target audio-video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio-video in the second network device. The target service includes continuing to play the target audio-video according to the playback progress information.
[0031] In a possible implementation, the indication information includes instruction information for instructing the first network device to be a control device of a home device. The target service includes: collecting a voice command issued by a user and controlling the home device according to the voice command.
[0032] In a possible implementation, 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 a wake-up state, so that when the status information indicates that the smart home control service deployed in the second network device is in a wake-up state, the smart home control service deployed in the first network device is woken up.
[0033] In a possible implementation, the target service specifically includes: controlling the home device associated with the first network device according to the voice command.
[0034] In a possible implementation, 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 a communication connection is established between the terminal device and the first network device.
[0035] In a possible implementation, 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 received by itself and the signal quality of the wireless signal of the second network device.
[0036] In a fifth aspect, a network device is provided, including a memory and a processor. When the processor executes a computer program stored in the memory, the method described in any one of the first aspect or the third aspect is implemented.
[0037] In a sixth aspect, a communication system is provided, including a terminal, the first network device described in any one of the second aspect, and the second network device described in any one of the fourth aspect.
[0038] In a seventh aspect, a chip is provided, including a processor. When the processor executes a computer program stored in the memory, the method described in any one of the first aspect or the third aspect is implemented.
[0039] In an eighth aspect, a computer-readable storage medium is provided for storing a computer program, which, when executed by a processor of a network device, enables the network device to implement the method described in any one of the first aspect or the third aspect.
[0040] In a ninth aspect, a computer program product is provided, which includes a computer program that, when running on a computer, causes the computer to execute the method described in any one of the first aspect or the third aspect above. Description of the Drawings
[0041] The following briefly introduces the drawings required for the description of the embodiments or the prior art.
[0042] Figure 1 A schematic diagram of a service scenario applicable to the technical solution provided in the embodiments of the present application;
[0043] Figure 2 A schematic diagram of the structure of a network device provided in the embodiments of the present application;
[0044] Figure 3 A schematic diagram of one of the processes of a network device executing a target service provided in the embodiments of the present application;
[0045] Figure 4 A schematic diagram of another process of a network device executing a target service provided in the embodiments of the present application;
[0046] Figure 5 A schematic diagram of yet another process of a network device executing a target service provided in the embodiments of the present application;
[0047] Figure 6 A schematic diagram of still another process of a network device executing a target service provided in the embodiments of the present application;
[0048] Figure 7 A schematic diagram of the structure of a first network device provided in the embodiments of the present application;
[0049] Figure 8 A schematic diagram of the structure of a second network device provided in the embodiments of the present application. Detailed Embodiments
[0050] The following will describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application.
[0051] In the embodiments of the present application, the term "and / or" is only used to describe the association relationship of associated objects, indicating that there can be three relationships; for example, "A and / or B" can mean: A exists alone, B exists alone, and both A and B exist simultaneously. The meaning of the term "plural" refers to two or more, and "several" refers to one or more, unless otherwise specified. The terms "include", "comprise", "have" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the technical features indicated; thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.
[0052] In the embodiments of the present application, words such as "exemplary", "for example" or "for instance" are used to give examples, illustrations or explanations, aiming to present relevant concepts in a specific way. Any embodiment or design solution described as "exemplary", "for example" or "for instance" should not be construed as being more preferred or having more advantages than other embodiments or design solutions.
[0053] Figure 1 It is a schematic diagram of a service scenario applicable to the technical solution provided in the embodiments of the present application. As Figure 1 shown, a home / hotel / office scenario usually includes multiple rooms. Here, it is specifically exemplified by including Room 1, Room 2, and Room 3. A network device serving as an access point 201 can be set in Room 1, and the wireless signal of the access point 201 can cover Room 1; a network device serving as an access point 202 can be set in Room 2, and the wireless signal of the access point 202 can cover Room 2; a network device serving as an access point 203 can be set in Room 3, and the wireless signal of the access point 203 can cover Room 3.
[0054] By configuring the foregoing access points, a WLAN including the foregoing access points can be formed. For example, the configuration of the foregoing access points includes: enabling the dynamic host configuration protocol (DHCP) and domain name system (DNS) services of the primary access point (such as access point 201), and disabling the DHCP and DNS services of the secondary access points (such as access point 202 and access point 203); configuring the access information of the foregoing access points, such as configuring the service set identifier (SSID) and key of the foregoing access points; and configuring the channels and internet protocol (IP) addresses of the foregoing access points.
[0055] The terminal device 10 can be a mobile phone, a tablet computer, a personal digital assistant (PDA), a laptop, an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, etc. The terminal device 10 includes a memory, a processor, and a communication module, and optionally also includes functional modules / units such as a display screen, a camera, an audio module, and a sensor module.
[0056] When the terminal device 10 moves in each room, it can switch between each access point according to the signal quality of the wireless signals from each access point. The switching performed by the terminal device 10 between each access point 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 in space to the location where the access point 201 is located. Correspondingly, the signal quality of the wireless signal from the access point 201 is the best. It can establish a communication connection with the access point 201 through the access information of 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 to the location where the access point 202 is located. The signal quality of the wireless signal from the access point 202 is the best. It can establish a communication connection with the access point 202 through the access information of the access point 202, and the access point 202 connects the terminal device 10 to the wide area network, realizing the switch from the access point 201 to the access point 202.
[0057] The technical solution provided in the embodiment of the present application aims to achieve that when the terminal device 10 switches from the second network device (such as the network device serving as the access point 201) to the first network device (such as the network device serving as the access point 202), the first network device closer to the user can execute the target service according to the switch occurring in the terminal device 10, with the support of the audio and video module included in the first network device, thereby improving the user experience. Among them, 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.
[0058] Figure 2 It is a schematic structural diagram of a network device provided in the embodiment of the present application. As Figure 2As shown in the figure, 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. It may also include a display screen 305, a sensor module 306, buttons 307, etc. 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 a high-speed random access memory and a non-volatile memory, such as a disk memory, a flash memory, and a universal flash storage (UFS), etc. Among them, 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.
[0059] The memory 302 is used to store computer programs and various data created during the use of the network device.
[0060] The processor 301 is used to run the computer programs in the memory 302 to implement various specific functions or data processing processes of the network device.
[0061] Next, in combination with Figure 1 the service scenario shown in the figure, the method for the network device to execute services will be described in detail. Among them, the following will mainly use the first network device as the network device of the slave access point 202 and the second network device as the network device of the master access point 201 to exemplarily describe the process of the first network device and the second network device cooperating to execute the target service.
[0062] Figure 3 This is one of the schematic diagrams of the process for a network device to execute a target service provided in the embodiments of the present application.
[0063] First, in step 401, the second network device establishes a communication connection with the terminal device 10.
[0064] For example, the terminal device 10 is located in Room 1. Affected by the wall, the location where the terminal device 10 is located is closer to the location of the access point 201 in space. The signal quality of the wireless signal received by the terminal device 10 and coming from the master access point 201 is better than that of the wireless signals from the slave access points 202 and 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 (the second network device) acting as the master access point 201, and the network device acting as the master access point 201 will connect the terminal device 10 to the wide area network.
[0065] Next, in step 403, the first network device establishes a communication connection with the terminal device 10.
[0066] For example, the terminal device 10 is carried by the user and enters room 2 from room 1. Affected by the wall, the position where the terminal device 10 is located is closer in space to the position where the slave access point 202 is located. The signal quality of the wireless signal received by the terminal device 10 and coming from the slave access point 202 is better than that of the wireless signals from the master access point 201 and the slave access point 203. The terminal device 10 will switch 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 acting as the master access point 201 and re - establish a communication connection with the network device acting as the slave access point 202 (the first network device). The terminal device 10 will be connected to the wide - area network by the network device acting as the slave access point 202.
[0067] Next, in step 405, the second network device determines that the terminal device 10 and the first network device establish a communication connection.
[0068] In a more specific example, 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. The second network device can determine the terminal device 10 as a network device that may undergo a handover. Next, after the terminal device 10 establishes a communication connection with the first network device, the first network device can send a notification message to the second network device. This 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 (at least including 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 can determine that the terminal device 10 has established a communication connection with the first network device based on this notification message.
[0069] It should be noted that the second network device may also receive notification messages from other network devices in the WLAN except the first network device. For example, it may receive a notification message from the network device acting as the slave access point 203. For any notification message, the second network device can detect whether the device identifier of the terminal device 10 is included in this notification message; if so, it means that the terminal device 10 has switched from the second network device to the first network device that sent this notification message.
[0070] In a more specific example, the first network device and the second network device are network devices serving as slave access points in a WLAN, and the third network device is a network device serving as a 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. The second network device can report first access information (also referred to as a notification message) to the third network device. The first access information includes the device identifier of the terminal device 10 and a first access indication indicating that the terminal device 10 has disconnected the communication connection with the second network device. Then, after the terminal device 10 establishes a communication connection with the first network device, the first network device can report a second access message (also referred to as a notification message) to the third network device. The second access message includes the device identifier of 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 match the first access information and the second access information to learn that the terminal device 10 has switched from the second network device to the first network device, and then send a notification message to the second network device. The notification message may include the device identifier of the terminal device 10 and the device identifier of the first network device, 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. Then, when the second network device receives this notification message from the third network device, it can determine that the terminal device 10 has established a communication connection with the first network device.
[0071] Then, in step 407, the second network device sends indication information to the first network device.
[0072] In some embodiments, different from the Figure 3 embodiment shown, the indication information may also be sent by the 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 is a network device serving as a master access point in the WLAN.
[0073] Then, in response to the indication information from the second network device or the third network device, the first network device executes step 409 and executes the target service with the support of the audio and video module included in the first network device.
[0074] Depending on the different target services that the first network device needs to execute, the cooperation process between the first network device and the second device may be different. The following specifically describes Figures 4 to 6 in detail multiple specific embodiments different from the Figure 3 shown.
[0075] Figure 4 This is the second schematic diagram of the process for a network device to execute a target service provided in the embodiments of the present application.
[0076] Please refer toFigure 4 , in some embodiments, different from Figure 3 In the illustrated embodiment, after step 401, the second network device may further perform: step 4021, collecting the voice command issued by the user through the audio and video module of the second network device; step 4023, controlling the connected home appliance according to the voice command. The home appliance controlled by the second network device may be a home appliance associated with the second network device, or a home appliance that has established a communication connection with any network device in the WLAN to which the second network device belongs.
[0077] Step 407 specifically includes step 4071, 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 to serve as a control device of the home device.
[0078] As described above, when the second network device is not a network device that serves as a primary access point in the WLAN to which it belongs, the second network device may not need to perform step 4071. Correspondingly, the third network device that serves as a primary access point in the WLAN to which the first network device and the second network device belong may learn that the terminal device 10 is switched from the second network device to the first network device, and after learning that the terminal device 10 is switched from the second network device to the first network device, it may send indication information containing the instruction information to the first network device.
[0079] The first network device responds to the instruction information included in the indication information and executes step 409. The step 409 may specifically include: step 4091, collecting the voice instruction issued by the user through the audio and video module of the first network device; step 4093, controlling the connected home appliance according to the voice instruction. The home appliance controlled by the first network device may specifically be a home appliance associated with the first network device, or a home appliance that has established a communication connection with any network device in the WLAN to which the first network device belongs.
[0080] In a more specific example, a smart home control service can be deployed in both the first network device and the second network device. The indication information may further include status information, which is used to indicate whether the smart home control service deployed in the second network device is in a wake-up state. Exemplarily, when the smart home control service deployed in the second network device is in a wake-up state, that is, the processor of the second network device has launched the process corresponding to the smart home control service, the indication information includes status information for indicating that the smart home control service deployed in the second network device is in a wake-up 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 status information. In this way, for the user, instead of issuing a voice command to wake up the smart home control service deployed in the first network device, the user can directly issue a voice command for regulating home devices, and the smart home control service deployed in and already woken up in the first network device responds to the voice command for regulating home devices and regulates the home devices according to the voice command for regulating home devices.
[0081] In a more specific example, the first network device can, through the smart home control service it deploys, pre-maintain the association relationships between a number of specific home devices and the first network device. The user can issue a shorter voice command for controlling home devices, enabling the first network device to regulate the home devices associated with the first network device according to the association relationships, thereby realizing the regulation of a number of specific smart homes and improving the user experience.
[0082] For example, the network device serving as the access point 202 is the first network device. Multiple home devices such as smart lamps and smart air conditioners are deployed in Room 2. When the user carries the terminal device 10 from Room 1 to Room 2 and issues a certain specific voice command (for example, turn on the light or turn on the air conditioner), the smart lamp / smart air conditioner that the user expects to turn on is usually the smart lamp / smart air conditioner located in Room 2. In this case, through the smart home control service deployed in the first network device, the association relationships between the smart lamps and smart air conditioners deployed in Room 2 and the first network device are pre-maintained. When the smart home control service deployed in the first network device is woken up and receives a certain specific and extremely short voice command (for example, turn on the light or turn on the air conditioner), the smart home control service deployed in the first network device can regulate the home devices associated with the first network device according to the voice command and the association relationships. Specifically, it can turn on the smart lamp / smart air conditioner deployed in Room 2, but does not turn on the smart lamp / smart air conditioner deployed in Room 1 or Room 3.
[0083] In a more specific example, the first network device can, through the smart home control service it deploys, regulate home devices that have established communication connections with any network device in the WLAN to which the first network device belongs.
[0084] For example, the lamps / smart air conditioners in Room 1 have established communication connections through the network device serving as Access Point 201. After the user enters Room 2 from Room 1 while carrying the terminal device 10, the user expects to turn off the home devices deployed in Room 1, such as the smart lamps or smart air conditioners deployed in Room 1. When the user issues a specific voice command in Room 2 (e.g., turn off the lamps / smart air conditioner in Room 1), the smart home control service deployed in the network device (the first network device) serving as Access Point 202 can parse the semantics of the voice command and turn off the smart lamps / smart air conditioners deployed in Room 1 according to the result of the semantic analysis.
[0085] It should be noted that when the second smart home control service is in the wake-up state, after the second network device determines that the terminal device 10 has established a communication connection with the first network device, it can also release the smart home control service deployed in the second network device, causing the smart home control service deployed in the second network device to enter the sleep 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 respond to the voice command as the control device of the home device, and the second network device will not erroneously respond to the voice command because the smart home control service it deploys is in the sleep state.
[0086] Figure 5 This is the third schematic diagram of the process for a network device to execute a target service provided in the embodiments of this application.
[0087] Please refer to Figure 5 , in some embodiments, different from the embodiments shown in Figure 3 , after the second network device establishes a communication connection with the terminal device 10, the user can regulate the second network device to execute step 4025 to play the target audio / video. The target audio / video can specifically be audio or video.
[0088] After the second network device determines that the terminal device 10 has established a communication connection with the first network device, it further executes step 406 to determine the playing progress of the target audio / video in the second network device.
[0089] Step 407 specifically includes step 4073, where the second network device sends indication information including the target audio / video and playing progress information to the first network device. The playing progress information is used to indicate the playing progress of the target audio / video in the second network device.
[0090] Step 409 specifically includes step 4095, where the first network device continues to play the target audio and video through the audio and video module included therein according to the playback progress information.
[0091] In some embodiments, the indication information may further include playback status information, which is used to indicate whether the second network device is playing the target audio and video. When the playback status indicates that the second network device is playing the target audio and video, the first network device executes the foregoing step 4095 according to the indication of the playback status. When the playback status 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 a voice command issued by the user (for example, continue playing the audio and video), so that the first network device executes step 4095 according to the indication of the voice command.
[0092] Figure 6 This is the fourth schematic diagram of the process for a network device to execute a target service provided in the embodiments of the present application.
[0093] Please refer to Figure 6 , in some embodiments, different from the embodiments shown in Figure 5 , the target service that the first network device needs to execute, in addition to continuing to play the target audio and video originally played by the second network device, also needs to execute a smart home control service. In other words, on the basis of the embodiments shown in Figure 5 , the first network device may further execute the foregoing steps 4021 and 4023; step 407 specifically includes step 4075, where the second network device sends indication information to the first network device, and the indication information includes some or all of the data in the indication information described in step 4071 and the indication information described in step 4073, specifically including instruction information, target audio and video, and playback progress information; correspondingly, the first network device may further execute the foregoing steps 4091 and 4093. Among them, for the relevant descriptions of each step in the embodiments shown in Figure 6 , please refer to the content of the embodiments shown in Figure 4 and the embodiments shown in Figure 5 , which will not be elaborated here.
[0094] Based on the same concept as the foregoing method embodiments, a first network device is further provided in the embodiments of the present application. As shown in Figure 7As shown in the figure, the first network device may include: a communication module 701, 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 a second network device to the first network device, and the first network device and the second network device are deployed at different locations; and is configured to receive indication information from the second network device or the third network device. An audio-video module 703, configured to support the first network device to execute a target service when the communication module receives the indication information.
[0095] In a possible implementation manner, the indication information includes a target audio-video and playback progress information, where the playback progress information is used to indicate the playback progress of the target audio-video in the second network device. Correspondingly, the audio-video module 705 is specifically configured to continue playing the target audio-video according to the playback progress information.
[0096] In a possible implementation manner, the indication information includes instruction information for indicating the first network device as a control device of a home device. Correspondingly, the audio-video module 703 is specifically configured to collect a voice instruction issued by a user; the first network device further includes: a processing module 705, configured to control the home device according to the voice instruction.
[0097] 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 a wake-up 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 a wake-up state.
[0098] 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 instruction.
[0099] 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.
[0100] 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.
[0101] In a possible implementation, 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 received by itself and the signal quality of the wireless signal of the second network device.
[0102] Based on the same concept as the foregoing method embodiments, the present application embodiments also provide a second network device. As Figure 8 shown, 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, where the terminal device switches from the second network device to the first network device, the first network device and the second network device are deployed at 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 a target service with the support of the audio-video module included therein.
[0103] In a possible implementation, the second network device further includes: an audio-video module 805, configured to play a target audio-video. The indication information includes the target audio-video and playback progress information, and the playback progress information is used to indicate the playback progress of the target audio-video in the second network device. The target service includes continuing to play the target audio-video according to the playback progress information.
[0104] In a possible implementation, the indication information includes instruction information for instructing the first network device to be a control device of a home device. The target service includes: collecting a voice command issued by a user and controlling the home device according to the voice command.
[0105] In a possible implementation, 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 a wake-up state, so that when the status information indicates that the smart home control service deployed in the second network device is in a wake-up state, the smart home control service deployed in the first network device is woken up.
[0106] In a possible implementation, the target service specifically includes: controlling the home device associated with the first network device according to the voice command.
[0107] In a possible implementation, 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.
[0108] In a possible implementation, the terminal device switches from the second network device to the first network device based on the signal quality of the wireless signal of the first network device received by itself and the signal quality of the wireless signal of the second network device.
[0109] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working process of the above network device can refer to the corresponding process in the foregoing method embodiments, and will not be elaborated herein.
[0110] Based on the same concept as the foregoing method embodiments, an embodiment of the present application further provides a chip including a processor. The chip can be deployed in a network device. When the processor executes a computer program stored in a memory, the method executed by the first network device or the second network device provided in any embodiment of the present application is implemented.
[0111] Based on the same concept as the foregoing method embodiments, an embodiment of the present application further provides a computer-readable storage medium for storing computer program instructions / codes. When the computer program instructions / codes are executed by a processor of a network device, the network device is enabled to implement the method executed by the first network device or the second network device provided in any embodiment of the present application.
[0112] Based on the same concept as the foregoing method embodiments, an embodiment of the present application further provides a computer program product. The computer program product includes a computer program. When the computer program runs on a computer, the computer is enabled to execute the method executed by the first network device or the second network device provided in any embodiment of the present application.
[0113] An embodiment of the present application further provides a communication system, including a terminal device, the first network device provided in any embodiment of the present application, and the second network device provided in any embodiment of the present application.
[0114] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
[0115] In any embodiment of the present application, the magnitudes of the serial numbers of the method steps do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended 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 the technical solutions provided in the foregoing various embodiments can still be modified, or some of the technical features can be equivalently replaced, and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions provided in the various embodiments of the present application.
Claims
1. A service execution method, characterized in that, applied to a first network device, the first network device is located in a service scenario, the service scenario includes multiple rooms, a network device is set in each room and the wireless signal of the network device covers the room, and the network devices in different rooms belong to the same wireless local area network. The method includes: 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 a second network device to the first network device, and the first network device and the second network device are deployed in different rooms; Sending a notification message to the second network device or 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; In response to the indication information from the second network device or the third network device, executing a target service with the support of the audio and video module of the first network device; the third network device is the main access point in the same wireless local area network; the indication information is determined by the second network device or the third network device according to the notification message; 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; executing the target service with 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.
2. The method according to claim 1, characterized in that, 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 received by itself and the signal quality of the wireless signal of the second network device.
3. A service execution method, characterized in that, applied to a first network device, the first network device is located in a service scenario, the service scenario includes multiple rooms, a network device is set in each room and the wireless signal of the network device covers the room, and the network devices in different rooms belong to the same wireless local area network. The method includes: 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 a second network device to the first network device, and the first network device and the second network device are deployed in different rooms; Sending a notification message to the second network device or 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; In response to the indication information from the second network device or the third network device, executing a target service with the support of the audio and video module of the first network device; the third network device is the main access point in the same wireless local area network; the indication information is determined by the second network device or the third network device according to the notification message; Wherein, the indication information includes instruction information for indicating that the first network device is a control device of a home device; the execution of the target service with the support of the audio-video module of the first network device includes: collecting a voice command issued by a user through the audio-video module, and controlling the home device according to the voice command.
4. The method according to claim 3, wherein, 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 a wake-up state; further includes: when the status information indicates that the smart home control service deployed in the second network device is in a wake-up state, waking up the smart home control service deployed in the first network device.
5. The method according to claim 3, wherein, the controlling the home device according to the voice command specifically includes: controlling the home device associated with the first network device according to the voice command.
6. The method according to any one of claims 3 to 5, wherein, 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 received by itself and the signal quality of the wireless signal of the second network device.
7. A first network device, wherein, the first network device can be applied to a service scenario, the service scenario includes multiple rooms, a network device is set in each room and the wireless signal of the network device covers the room, and the network devices in different rooms belong to the same wireless local area network, including: 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 switches from a second network device to the first network device, and the first network device and the second network device are deployed in different rooms; sending a notification message to the second network device or a 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; and, for receiving indication information from the second network device or the third network device; the third network device is the main access point in the same wireless local area network; the indication information is determined by the second network device or the third network device according to the notification message; an audio-video module, configured to support the first network device to execute a target service when the communication module receives the indication information; wherein, the indication information includes target audio-video and playback progress information; wherein, the playback progress information is used to indicate the playback progress of the target audio-video in the second network device; the audio-video module is specifically configured to continue playing the target audio-video according to the playback progress information.
8. The first network device according to claim 7, wherein, 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 received by itself and the signal quality of the wireless signal of the second network device.
9. A first network device, characterized in that the first network device can be applied to a service scenario, where the service scenario includes multiple rooms, a network device is set in each room and the wireless signal of the network device covers the room, and the network devices in different rooms belong to the same wireless local area network, including: 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 switches from a second network device to the first network device, and the first network device and the second network device are deployed in different rooms; send a notification message to the second network device or a 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; and, configured to receive indication information from the second network device or the third network device; the third network device is the main access point in the same wireless local area network; the indication information is determined by the second network device or the third network device according to the notification message; an audio-video module, configured to support the first network device to execute a target service when the communication module receives the indication information; wherein, the indication information includes instruction information for indicating the first network device as a control device of a home device; the audio-video module is specifically configured to collect a voice instruction issued by a user; a processing module, configured to control a home device according to the voice instruction.
10. The first network device according to claim 9, characterized in that 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 a wake-up 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 a wake-up state.
11. The first network device according to claim 9, characterized in that the processing module is specifically configured to control the home device associated with the first network device according to the voice instruction.
12. The first network device according to any one of claims 9 to 11, characterized in that 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 received by itself and the signal quality of the wireless signal of the second network device.
13. A service execution method, characterized in that applied to a second network device, the second network device is located in a service scenario, the service scenario includes multiple rooms, a network device is set in each room and the wireless signal of the network device covers the room, and the network devices in different rooms belong to the same wireless local area network, the method includes: It is determined that a communication connection is established between the terminal device and the first network device; wherein, the terminal device switches from the second network device to the first network device, the first network device and the second network device are deployed in different rooms, and the terminal device accesses the wide area network through the second network device before switching to the first network device; Receive a notification message from the first network device; wherein, the notification message is used to indicate that a communication connection is established between the terminal device and the first network device; Send indication information to the first network device; wherein, the indication information is used to instruct the first network device to execute a target service with the support of the audio-video module included therein; the indication information is determined by the second network device according to the notification message; Wherein, before determining that a communication connection is established between the terminal device and the first network device, it further includes: playing a target audio-video; the indication information includes the target audio-video and playing progress information; wherein, the playing progress information is used to indicate the playing progress of the target audio-video in the second network device; The target service includes: continuing to play the target audio-video according to the playing progress information.
14. The method according to claim 13, wherein, 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 received by itself and the signal quality of the wireless signal of the second network device.
15. A service execution method, wherein, Applied to a second network device, the second network device is located in a service scenario, the service scenario includes multiple rooms, a network device is set in each room and the wireless signal of the network device covers the room, and the network devices in different rooms belong to the same wireless local area network. The method includes: It is determined that a communication connection is established between the terminal device and the first network device; wherein, the terminal device switches from the second network device to the first network device, the first network device and the second network device are deployed in different positions, and the terminal device accesses the wide area network through the second network device before switching to the first network device; Receive a notification message from the first network device; wherein, the notification message is used to indicate that a communication connection is established between the terminal device and the first network device; Send indication information to the first network device; wherein, the indication information is used to instruct the first network device to execute a target service with the support of the audio-video module included therein; the indication information is determined by the second network device according to the notification message; Wherein, the indication information includes instruction information for instructing the first network device to be a control device of a home device; the target service includes: collecting a voice command issued by a user and controlling the home device according to the voice command.
16. The method according to claim 15, wherein, 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 a wake-up state, so that when the status information indicates that the smart home control service deployed in the second network device is in a wake-up state, the first network device wakes up the smart home control service deployed in the first network device.
17. The method according to claim 16, wherein, the target service specifically includes: controlling the home devices associated with the first network device according to voice instructions.
18. The method according to any one of claims 15 to 17, wherein, 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 received by itself and the signal quality of the wireless signal of the second network device.
19. A second network device, wherein, the second network device is located in a service scenario, the service scenario includes multiple rooms, a network device is set in each room and the wireless signal of the network device covers the room, and the network devices in different rooms belong to the same wireless local area network, including: a processing module, configured to determine that the terminal device has established a communication connection with the first network device; wherein, the terminal device switches from the second network device to the first network device, the first network device and the second network device are deployed in different rooms, 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 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; and send indication information to the first network device; wherein, the indication information is used to indicate that the first network device executes a target service with the support of the audio-video module included therein; the indication information is determined by the second network device according to the notification message; an audio-video module, configured to play a target audio-video; the indication information includes the target audio-video and playback progress information; wherein, the playback progress information is used to indicate the playback progress of the target audio-video in the second network device; the target service includes: continuing to play the target audio-video according to the playback progress information.
20. The second network device according to claim 19, wherein, 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 received by itself and the signal quality of the wireless signal of the second network device.
21. A second network device, wherein, the second network device is located in a service scenario, the service scenario includes multiple rooms, a network device is set in each room and the wireless signal of the network device covers the room, and the network devices in different rooms belong to the same wireless local area network, including: A processing module, configured to determine that a communication connection is established between a terminal device and a first network device; wherein, the terminal device switches from the second network device to the first network device, the first network device and the second network device are deployed in different rooms, 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 receive a notification message from the first network device; wherein, the notification message is used to indicate that a communication connection is established between the terminal device and the first network device; and send indication information to the first network device; wherein, the indication information is used to instruct the first network device to execute a target service with the support of an audio-video module included therein; the indication information is determined by the second network device according to the notification message; Wherein, the indication information includes instruction information for instructing the first network device to be a control device of a home device; the target service includes: collecting a voice command issued by a user and controlling the home device according to the voice command.
22. The second network device according to claim 21, wherein, 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 a wake-up state, so that when the status information indicates that the smart home control service deployed in the second network device is in a wake-up state, the smart home control service deployed in the first network device is woken up.
23. The second network device according to claim 22, wherein, The target service specifically includes: controlling the home device associated with the first network device according to a voice command.
24. The second network device according to any one of claims 21 to 23, wherein, 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 received by itself and the signal quality of the wireless signal of the second network device.
25. A network device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method according to any one of claims 1 to 6 or claims 13 to 18 is implemented.
26. A computer-readable storage medium, configured to store a computer program, and when the computer program is executed by a processor of a network device, the network device implements the method according to any one of claims 1 to 6 or claims 13 to 18.
27. A communication system, including: A terminal device, the first network device according to any one of claims 7 to 12, and the second network device according to any one of claims 19 to 24.
Citation Information
Patent Citations
Audio and video playing method, terminal and device
CN110166820A
Electronic equipment and control method thereof
CN110380944A
Sound system control method and device and readable storage medium
CN110856086A