Intelligent middle-screen sound box account zero configuration method based on bandwidth network, storage medium and equipment
By automatically identifying the broadband environment through IP tracing, the smart central screen speaker can achieve seamless account activation, solving the problems of time-consuming manual configuration and inaccurate identification, thus improving installation and maintenance efficiency and user experience.
Patent Information
- Application Number
- CN202511539382.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-27
- Publication Date
- 2026-02-17
AI Technical Summary
The initial installation and activation of the smart central screen speaker is cumbersome and time-consuming, resulting in low efficiency and an inability to achieve "power on and use immediately". Furthermore, it is inaccurate in recognizing traditional broadband environments and cannot adapt to rapid network changes.
By using IP tracing methods and utilizing the client's source IP and source port attributes, the broadband environment is automatically identified, enabling seamless account activation for the smart central screen speaker. The system uses zero-configuration HTTP ports and the broadband service management platform to query broadband accounts, automatically matching and distributing service accounts.
It improves the installation and maintenance efficiency of smart central screen speakers, shortens activation time by more than 80%, avoids manual input errors, and enhances user experience and security.
Smart Images

Figure CN121547313A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of zero-account configuration technology, specifically to a method, storage medium, and device for zero-account configuration of a smart mid-screen speaker based on a bandwidth network. Background Technology
[0002] As a new generation of smart home interactive terminals, smart central screen speakers integrate voice control, touch display, and AI skill assistant functions, and have been widely used in home scenarios. However, during the initial installation and activation of smart central screen speakers, the current process still relies on installation and maintenance personnel manually entering the user's desktop account and business account information based on the work order. This manual operation is cumbersome, time-consuming, and prone to errors; the activation process is complex, requiring users to wait for installation and maintenance personnel to complete the configuration, making it impossible to achieve "power on and use" immediately; in large-scale installation scenarios, the low efficiency of manual configuration has become a bottleneck for the promotion of smart central screen speakers.
[0003] Zero-configuration account is a smart device account binding technology that allows users to use new smart mid-screen speakers without manually entering account passwords or going through complicated activation processes. The smart mid-screen speaker uses automated technologies such as biometrics, inter-device collaboration, and cloud authentication to achieve seamless automatic account matching and login, greatly reducing the operational threshold.
[0004] During the zero-configuration process of the smart central screen speaker account, automatic bandwidth environment identification is required. Traditional automatic broadband environment identification uses specific network protocols, such as TR069, to communicate with the upper-level gateway to obtain gateway configuration information, such as the gateway MAC address and the broadband account configured on the gateway. Then, the specific broadband account is queried in the network management system backend using the obtained gateway configuration information to complete the broadband environment identification process. If the smart central screen speaker only supports specific network protocols, it may not be compatible with all network environments. At the same time, specific network protocols may not fully reflect the actual network bandwidth, resulting in inaccurate bandwidth environment identification and an inability to adapt to rapid changes in the network environment. Summary of the Invention
[0005] To address the problems existing in the prior art, this invention provides a method, storage medium, and device for zero-configuration of smart central screen speaker accounts based on bandwidth networks. By using IP tracing to automatically identify the bandwidth environment, it achieves a seamless activation process for smart central screen speaker accounts, significantly improving the installation and maintenance efficiency of smart central screen speakers.
[0006] To achieve the above technical objectives, the present invention adopts the following technical solution: A method for zero-configuration of smart mid-screen speaker accounts based on bandwidth networks includes the following steps: Step S1: Use the smart central screen speaker to call the zero-configuration HTTP port of the cloud server, parse the header of the zero-configuration HTTP message, obtain the client source IP and client source port attributes, and query the corresponding broadband account on the broadband service management platform based on the obtained client source IP and client source port attributes. Step S2: The found broadband account is sent to the service management platform of the smart central screen speaker. The service management platform of the smart central screen speaker matches the corresponding service account according to the broadband account and sends the service account to the corresponding smart central screen speaker.
[0007] Further, step S1 includes the following sub-steps: Step S1.1: The smart speaker calls the cloud server's zero-configuration HTTP port to initiate a zero-configuration HTTP request packet. At the client's egress gateway, the client's source port and client's source IP are written into the TCP packet. At the Web Application Firewall, the client's source IP and corresponding client source port information in the TCP packet are parsed and put into the header of the zero-configuration HTTP packet. Step S1.2: After receiving the zero-configuration HTTP request packet, the zero-configuration HTTP port of the cloud server parses the header of the zero-configuration HTTP message to obtain the client source IP and client source port attributes; Step S1.3: Based on the obtained client source IP and client source port attributes, perform a source tracing query on the broadband service management platform to find the client's broadband account.
[0008] Further, the process of obtaining the client source IP is as follows: The `x-forwarded-for` attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the value of the `x-forwarded-for` attribute is used as the client source IP. Otherwise, the `Proxy-Client-IP` attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the value of the `Proxy-Client-IP` attribute is used as the client source IP. Otherwise, the `X-Forwarded-For` attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the value of the `X-Forwarded-For` attribute is used as the client source IP. The `rded-For` attribute value is used as the client's source IP; otherwise, the `WL-Proxy-Client-IP` attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the value of the `WL-Proxy-Client-IP` attribute is used as the client's source IP; otherwise, the `X-Real-IP` attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the value of the `X-Real-IP` attribute is used as the client's source IP; otherwise, the `request.getRemoteAddr()` method is called to query the client's source IP from the header of the zero-configuration HTTP message.
[0009] Furthermore, when the application APP in the smart central screen speaker is opened, the business account of the smart central screen speaker is returned to the application APP to realize single sign-on verification of the application APP.
[0010] Furthermore, step S2 also includes: the business management platform of the smart central screen speaker binds and stores the business account with the unique device identifier of the corresponding smart central screen speaker.
[0011] Furthermore, when the application APP in the smart central screen speaker is opened, it requests the business management platform of the smart central screen speaker to query the bound business account based on the unique device identifier of the smart central screen speaker, and returns the business account to the application APP.
[0012] Furthermore, the present invention also provides a computer-readable storage medium storing a computer program that causes a computer to execute the aforementioned method for zero-configuration of smart mid-screen speaker accounts based on a bandwidth network.
[0013] Furthermore, the present invention also provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the aforementioned method for zero-configuration of accounts for a smart mid-screen speaker based on a bandwidth network.
[0014] Compared with the prior art, the present invention has the following beneficial effects: (1) The method for zero-configuration of smart mid-screen speaker accounts based on bandwidth network of the present invention utilizes broadband environment identification technology based on client source IP and client source port, which is more universal and flexible than broadband environment identification based on specific network protocols. (2) The present invention provides a method for zero-configuration of smart mid-screen speaker accounts based on broadband network. The method matches the corresponding business account with the broadband account and automatically distributes the business account to the smart mid-screen speaker through the business management platform of the smart mid-screen speaker. Users do not need to manually enter the business account. The method constructs a unified identity identifier through broadband account automatic traceability technology, compresses the traditional account registration and binding process to be completed at the moment of power-on, realizes zero-configuration of business accounts for smart mid-screen speakers, and improves the installation and maintenance efficiency of smart mid-screen speakers. Attached Figure Description
[0015] Figure 1 This is a flowchart of the method for zero-configuration account for a smart mid-screen speaker based on a bandwidth network according to the present invention. Figure 2 This is a schematic diagram illustrating the principle of bandwidth account identification in this invention. Figure 3 This is a flowchart illustrating the automatic distribution process of business accounts for the smart central screen speaker in this invention. Detailed Implementation
[0016] The technical solution of the present invention will be further explained and described below with reference to the accompanying drawings.
[0017] like Figure 1 This is a flowchart of the zero-configuration method for smart mid-screen speaker accounts based on bandwidth networks according to the present invention. The zero-configuration method for smart mid-screen speaker accounts includes the following steps: Step S1: After the user's home gateway connects to the egress gateway, the egress gateway automatically assigns a fixed port segment to the user. Each time the user accesses the public network, the port is within this segment. The mapping relationship between the port segment and the user's broadband account is then reported to the broadband service management platform. The broadband service management platform can then uniquely identify the user's broadband account based on the source IP and source port. Therefore, when the smart mid-screen speaker is first powered on, it calls the zero-configuration HTTP port of the cloud server, parses the header of the zero-configuration HTTP message, obtains the client's source IP and client's source port attributes, and queries the corresponding broadband account on the broadband service management platform based on the obtained client's source IP and client's source port attributes. This invention utilizes broadband environment identification technology based on client source IP and client source port. Compared to broadband environment identification based on specific network protocols, it does not require the use of specific network protocols. The smart mid-screen speaker does not need to integrate support for specific network protocols, nor does it require the upper-level gateway to support specific network protocols, making it more universal and flexible. Specifically, as shown... Figure 2 The process includes the following sub-steps: Step S1.1: The smart central screen speaker calls the zero-configuration HTTP port of the cloud server to initiate a zero-configuration HTTP request packet. At the client's egress gateway, the client source port and client source IP are written into the TCP packet. At the Web application firewall, the client source IP and corresponding client source port information of the TCP packet are parsed and put into the header of the zero-configuration HTTP packet. Step S1.2: After receiving the zero-configuration HTTP request packet, the zero-configuration HTTP port of the cloud server parses the header of the zero-configuration HTTP message to obtain the client source IP and client source port attributes; Step S1.3: Based on the obtained client source IP and client source port attributes, perform a source tracing query on the broadband service management platform to find the client's broadband account.
[0018] Step S2: The found broadband account is sent to the business management platform of the smart central screen speaker. The activation interface of the business management platform is called to activate the smart central screen speaker device. The business management platform of the smart central screen speaker matches the corresponding business account according to the broadband account and automatically sends the business account to the corresponding smart central screen speaker. There is no need for the user to manually enter the business account. A unified identity is constructed through broadband account automatic traceability technology, and the traditional account registration and binding process is compressed to be completed at the moment of power-on. This realizes zero configuration of the business account of the smart central screen speaker and improves the installation and maintenance efficiency of the smart central screen speaker.
[0019] In one technical solution of the present invention, the process of obtaining the client source IP is as follows: The x-forwarded-for attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the x-forwarded-for attribute value is used as the client source IP; otherwise, the Proxy-Client-IP attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the Proxy-Client-IP attribute value is used as the client source IP; otherwise, the X-Forwarded-For attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the X-Forwarded-For attribute value is used as the client source IP. The `rewarded-For` attribute value is used as the client's source IP; otherwise, the `WL-Proxy-Client-IP` attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the value of the `WL-Proxy-Client-IP` attribute is used as the client's source IP; otherwise, the `X-Real-IP` attribute is searched in the header of the zero-configuration HTTP message. If it is not empty, the value of the `X-Real-IP` attribute is used as the client's source IP; otherwise, the `request.getRemoteAddr()` method is called to query the client's source IP from the header of the zero-configuration HTTP message.
[0020] In one technical solution of the present invention, the process of obtaining the client source port is as follows: search for the client source port attribute in the header of the zero-configuration HTTP message, and assign the client source port attribute value to the client source port.
[0021] In one technical solution of this invention, when the application APP in the smart central screen speaker is opened, the business account of the smart central screen speaker is returned to the application APP, realizing single sign-on verification for the application APP. Specifically, the business management platform of the smart central screen speaker binds and stores the business account with the unique device identifier of the corresponding smart central screen speaker. When the application APP in the smart central screen speaker is opened, it requests the business management platform of the smart central screen speaker to query the bound business account based on the unique device identifier of the smart central screen speaker, and returns the business account to the application APP. This eliminates the process of manually entering the account password, improves the user experience, and at the same time ensures the accuracy and security of the application APP's single sign-on.
[0022] This invention provides a zero-configuration method for smart central screen speakers based on bandwidth networks. Through automation technology, it activates the business accounts of smart central screen speakers, eliminating the manual input of business accounts. This reduces the activation time of a single smart central screen speaker by more than 80%, significantly improving installation and maintenance efficiency. Because it involves zero configuration of the smart central screen speaker account, the error rate of business account activation is zero, avoiding the problem of errors caused by manual input of business accounts.
[0023] In one technical solution of the present invention, a computer-readable storage medium is also provided, storing a computer program, the computer program enabling the computer to implement the zero-configuration method for smart mid-screen speakers based on bandwidth networks of the present invention.
[0024] In one technical solution of the present invention, an electronic device is also provided, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the zero-configuration method for smart mid-screen speakers based on bandwidth networks according to the present invention.
[0025] In the embodiments disclosed in this application, a computer storage medium may be a tangible medium that may contain or store programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of computer storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0026] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0027] The above are merely preferred embodiments of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should be considered within the scope of protection of the present invention.
Claims
1. A bandwidth network-based smart center screen sound box account zero-configuration method, characterized in that, Comprising the following steps: Step S1: calling the zero-configuration HTTP port of the cloud server by the smart middle screen sound box, parsing the message header of the zero-configuration HTTP message, obtaining the client source IP and client source port attributes, and querying the corresponding broadband account from the broadband service management platform according to the obtained client source IP and client source port attributes; Step S2: the broadband account found is sent to the service management platform of the smart middle screen sound box, and the service management platform of the smart middle screen sound box matches the corresponding service account according to the broadband account, and sends the service account to the corresponding smart middle screen sound box. 2.The bandwidth network-based smart center screen audio system account zero-configuration method of claim 1, wherein, Step S1 includes the following sub-steps: Step S1.1: the smart middle screen sound box initiates a zero-configuration HTTP request package by calling the zero-configuration HTTP port of the cloud server, and writes the client source port and client source IP into the TCP message at the exit gateway of the client; At the Web application firewall, the client source IP and the corresponding client source port information of the TCP message are parsed and put into the message header of the zero-configuration HTTP message; Step S1.2: after the zero-configuration HTTP port of the cloud server receives the zero-configuration HTTP request package, the message header of the zero-configuration HTTP message is parsed, and the client source IP and client source port attributes are obtained; Step S1.3: according to the obtained client source IP and client source port attributes, the broadband service management platform is traced back to find the broadband account of the client. 3.The bandwidth network-based smart center screen audio system account zero-configuration method of claim 2, wherein, The process of obtaining the client source IP is as follows: find the x-forwarded-for attribute in the message header of the zero-configuration HTTP message, if not empty, take the x-forwarded-for attribute value as the client source IP, otherwise, find the Proxy-Client-IP attribute in the message header of the zero-configuration HTTP message, if not empty, take the Proxy-Client-IP attribute value as the client source IP; Otherwise, find the X-Forwarded-For attribute in the message header of the zero-configuration HTTP message, if not empty, take the X-Forwarded-For attribute value as the client source IP; Otherwise, find the WL-Proxy-Client-IP attribute in the message header of the zero-configuration HTTP message, if not empty, take the WL-Proxy-Client-IP attribute value as the client source IP; Otherwise, find the X-Real-IP attribute in the message header of the zero-configuration HTTP message, if not empty, take the X-Real-IP attribute value as the client source IP; Otherwise, call the request.getRemoteAddr() method to query the client source IP from the message header of the zero-configuration HTTP message.
4. The bandwidth network-based smart center screen audio box account zero-configuration method of claim 1, wherein, When the application APP in the smart middle screen sound box is opened, the service account of the smart middle screen sound box is returned to the application APP, and the single sign-on verification of the application APP is realized.
5. The bandwidth network-based smart center screen audio box account zero-configuration method of claim 4, wherein, Step S2 further includes: the service management platform of the smart middle screen sound box binds and stores the service account and the unique device identifier of the corresponding smart middle screen sound box.
6. The bandwidth network-based smart center screen audio box account zero-configuration method of claim 5, wherein, When an application APP in the smart center screen sound box is opened, a business management platform of the smart center screen sound box is requested to query a bound business account according to a unique identification of the smart center screen sound box, and the business account is returned to the application APP.
7. A computer readable storage medium storing a computer program, wherein the computer program comprises program instructions configured to cause a processor to perform the method according to any one of claims 1 to 6. The computer program enables a computer to execute the bandwidth network-based smart center screen sound box account zero-configuration method according to any one of claims 1-6.
8. An electronic device, comprising: The computer program product comprises: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the bandwidth network-based smart center screen sound box account zero-configuration method according to any one of claims 1-6.