Terminal device communication method and apparatus, device, medium, and program product
Patent Information
- Application Number
- PCT/CN2026/077898
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-21
- Filing Date
- 2026-02-09
- Publication Date
- 2026-08-27
Smart Images

Figure CN2026077898_27082026_PF_FP_ABST
Abstract
Description
Terminal equipment communication methods, devices, equipment, media and software products
[0001] This application claims priority to Chinese Patent Application No. 202510195963.X, filed with the Chinese Patent Office on February 21, 2025, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic technology, such as a terminal device communication method, apparatus, equipment, medium, and program product. Background Technology
[0003] In the field of smart sales, a large number of terminal devices need to be deployed in the smart sales environment, which requires consideration of the problem of insufficient number of terminal devices accessed by a single base station.
[0004] In order to enable base stations to cover a large number of terminal devices, related technologies usually involve increasing the deployment density of base stations or changing the base station operating mode, setting the number of terminal devices that a base station can access at the same time, and releasing network resources in a timely manner after a terminal device completes its service so that other terminal devices can access it.
[0005] Increasing the base station deployment density will increase the hardware and software costs of deployment, while changing the base station working mode requires manual configuration of the base station access conditions. The configuration process is cumbersome, and the testing and verification of the configuration information also requires additional manpower, which poses a great challenge to the system stability and robustness. Summary of the Invention
[0006] This application provides a terminal device communication method, apparatus, equipment, medium, and program product to solve the problem of high hardware and software costs when a base station connects to a large number of terminal devices in high-density scenarios.
[0007] According to one aspect of this application, a terminal device communication method is provided, applied to a base station, comprising:
[0008] Obtain the terminal device information of each terminal in the set of terminals to be communicated; the terminal device information includes narrowband communication parameters and broadband communication parameters;
[0009] Based on the narrowband communication parameters, the corresponding broadband communication parameters are sent to the terminals in the set of terminals to be communicated using narrowband communication.
[0010] In response to parameter confirmation messages from target terminals within different time windows, a communication connection request is sent to the target terminals based on the target broadband communication parameters corresponding to the target terminals, and service communication is established based on the connection confirmation messages from the target terminals.
[0011] According to another aspect of this application, a terminal device communication method is provided, applied to a terminal to be communicated, comprising:
[0012] In response to receiving the target broadband communication parameters, the broadband module is activated within a set time window, and after updating the communication mode and communication parameters of the broadband module according to the target broadband communication parameters, a parameter confirmation message is sent back to the base station.
[0013] In response to a communication connection request sent by a base station, the communication authorization information contained in the communication connection request is verified according to the target broadband communication parameters;
[0014] If the information verification is successful, a connection confirmation message is sent back to the base station to establish service communication. After the service communication is completed, the broadband module is turned off to instruct the base station to connect to the next terminal to be communicated.
[0015] According to another aspect of this application, a terminal device communication apparatus is provided, configured in a base station, comprising:
[0016] The device information acquisition module is configured to acquire terminal device information for each terminal in the set of terminals to be communicated; the terminal device information includes narrowband communication parameters and broadband communication parameters.
[0017] The broadband parameter sending module is configured to send the corresponding broadband communication parameters to the terminals in the set of terminals to be communicated in a narrowband communication manner based on the narrowband communication parameters.
[0018] The communication establishment module is configured to respond to parameter confirmation messages fed back by the target communication terminal within different time windows, send a communication connection request to the target communication terminal based on the target broadband communication parameters corresponding to the target communication terminal, and establish service communication based on the connection confirmation message fed back by the target communication terminal.
[0019] According to another aspect of this application, a terminal device communication apparatus is provided, configured on a terminal to be communicated, comprising:
[0020] The parameter confirmation module is configured to respond to receiving target broadband communication parameters, activate the broadband module within a set time window, and after updating the communication mode and communication parameters of the broadband module according to the target broadband communication parameters, send a parameter confirmation message back to the base station.
[0021] The information verification module is configured to, in response to a communication connection request sent by the base station, verify the communication authorization information contained in the communication connection request based on the target broadband communication parameters.
[0022] The broadband shutdown module is configured to send a connection confirmation message to the base station to establish service communication when the information verification is successful, and to shut down the broadband module after the service communication is completed, so as to instruct the base station to connect to the next terminal to be communicated.
[0023] According to another aspect of this application, an electronic device is provided, the electronic device comprising:
[0024] At least one processor; and
[0025] A memory communicatively connected to the at least one processor; wherein,
[0026] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the terminal device communication method described in any embodiment of this application.
[0027] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the terminal device communication method described in any embodiment of this application.
[0028] According to another aspect of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the terminal device communication method of any embodiment of this application. Attached Figure Description
[0029] Figure 1 is a flowchart of a terminal device communication method according to Embodiment 1 of this application;
[0030] Figure 2 is a flowchart of a terminal device communication method according to Embodiment 2 of this application;
[0031] Figure 3 is a schematic diagram of a terminal device communication device according to Embodiment 3 of this application;
[0032] Figure 4 is a schematic diagram of a terminal device communication device according to Embodiment 4 of this application;
[0033] Figure 5 is a schematic diagram of the structure of an electronic device that implements the terminal device communication method of the present application. Detailed Implementation
[0034] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. The described embodiments are merely some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present application.
[0035] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Such data may be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0036] Example 1
[0037] Figure 1 is a flowchart of a terminal device communication method provided in Embodiment 1 of this application. This embodiment can be applied to the situation where the base station establishes service communication with the terminal device in sequence. The method can be executed by the terminal device communication device, which can be implemented in hardware and / or software. The terminal device communication device can be configured in various general-purpose computing devices, for example, in a base station.
[0038] In this embodiment, a terminal device communication system can be constructed from an application server, a base station, and a terminal to be communicated with. In this system, the application server can send service data to the terminal to be communicated through the base station; similarly, the terminal to be communicated can also upload service data to the application server through the base station. As shown in Figure 1, the terminal device communication method, applied to a base station, includes:
[0039] S110. Obtain the terminal device information of each terminal in the set of terminals to be communicated; the terminal device information includes narrowband communication parameters and broadband communication parameters.
[0040] The set of terminals to be communicated includes multiple terminals that need to communicate with the application server via a base station. These terminals are Wireless Local Area Network (WLAN) terminals in the smart supermarket field; for example, they can be liquid-crystal display (LCD) electronic price tags, smart shopping carts, or cameras, etc.
[0041] The terminal to be communicated needs to establish communication with the application server through the base station. For example, LCD electronic price tags need to receive the price information of the products to be displayed from the application server through the base station; smart shopping carts need to receive the product price and promotional information from the application server through the base station and upload the user's shopping information to the application server through the base station; and cameras need to upload the video information they have collected to the application server through the base station.
[0042] In a smart supermarket environment, a large number of terminals need to be deployed to form a high-density communication scenario, which poses a challenge to the number of base stations and the concurrent processing capacity.
[0043] In this embodiment, before establishing service communication with a terminal to be communicated, the base station needs to obtain the terminal device information of each terminal in the set of terminals to be communicated associated with the communication environment. For example, the application server can package and send the terminal device information of each terminal in the set of terminals to be communicated to the base station.
[0044] The terminal equipment information includes the narrowband communication parameters, broadband communication parameters, and terminal service data of the terminal to be communicated with. The narrowband communication parameters are used to establish narrowband communication with the terminal to be communicated with, while the broadband communication parameters are used to establish broadband communication with the terminal to be communicated with.
[0045] In some embodiments, the broadband communication parameters include the operating mode of the terminal to be communicated, the service set identifier, the broadband communication authentication code, the media access control address of the base station, and the signature of the broadband communication parameters.
[0046] Among them, the service set identifier and broadband communication authentication code are randomly generated for each terminal to be communicated before each service communication is established.
[0047] In some embodiments, the broadband communication parameters also include the validity period of the broadband communication authentication code.
[0048] In some embodiments, specific content of broadband communication parameters is provided, including at least one of the following: the operating mode of the terminal to be communicated, such as client mode (Station mode) or access point mode (SoftAP mode); service set identifier; broadband communication authentication code; media access control (MAC) address of the base station; validity period of the broadband communication authentication code; and signature of the broadband communication parameters. The service set identifier and broadband communication authentication code are randomly generated for each terminal to be communicated before each service communication is established.
[0049] Before each business communication is established, the application server randomly generates a service set identifier and a broadband communication authentication code for each terminal to be communicated with. This ensures that the service set identifier and broadband communication authentication code are different for each terminal to be communicated with, and that the service set identifier and broadband communication authentication code are also different each time business communication is established. In some embodiments, a validity period is set for the broadband communication authentication code, which can ensure that successful authentication is only possible within the validity period, greatly improving communication security.
[0050] For example, the field names, character lengths, meanings, and examples of various broadband communication parameters are shown in Table 1.
[0051] Table 1
[0052]
[0053] S120. Based on narrowband communication parameters, send the corresponding broadband communication parameters to the terminals in the set of terminals to be communicated in a narrowband communication manner.
[0054] The terminals awaiting communication periodically enter and exit states, and typically, the activation and sleep cycles of a group of terminals are consistent. To establish service communication with these terminals, in this embodiment, the base station detects the active terminals within the set and obtains their narrowband communication parameters. Finally, based on the obtained narrowband communication parameters, the base station sends corresponding broadband communication parameters to the active terminals using narrowband communication.
[0055] In some embodiments, based on narrowband communication parameters, corresponding broadband communication parameters are sent to terminals in the set of terminals to be communicated using narrowband communication methods, including:
[0056] Based on narrowband communication parameters, a wake-up command is sent to the narrowband module of the terminal to be communicated in the set of terminals to be communicated through the narrowband module;
[0057] After issuing the wake-up command and waiting for the device to respond, the corresponding broadband communication parameters are sent to the narrowband module of the terminal to be communicated via the narrowband module.
[0058] This embodiment provides a specific method for sending corresponding broadband communication parameters to active terminals in a set of terminals to be communicated, based on narrowband communication parameters and using narrowband communication: the base station includes a broadband module and a narrowband module, and each terminal to be communicated also includes a broadband module and a narrowband module. For example, the broadband module is a WLAN module, and the narrowband module is a 2.4G module.
[0059] After identifying an active terminal to be communicated, the base station sends a wake-up command to the narrowband module of the target terminal based on the narrowband communication parameters corresponding to the target terminal. After the wake-up command is sent and a device response time (e.g., 3 milliseconds) has elapsed, the base station uses the High-Density Low-Power (HiLPC) wireless communication protocol to further send broadband communication parameters corresponding to the target terminal to the narrowband module of the target terminal to establish broadband communication. Upon receiving the target broadband communication parameters, the target terminal activates its broadband module and updates its operating mode and communication parameters according to the target broadband communication parameters, for subsequent establishment of broadband communication with the base station.
[0060] By sending broadband communication parameters to the target terminal using narrowband communication, broadband communication parameter preparation can be completed with low power consumption. Furthermore, sending broadband communication parameters via narrowband protocols ensures that data cannot be stolen or tampered with, guaranteeing the security of information exchange.
[0061] S130. In response to parameter confirmation messages from the target communication terminal within different time windows, based on the target broadband communication parameters corresponding to the target communication terminal, a communication connection request is sent to the target communication terminal, and a service communication is established based on the connection confirmation message from the target communication terminal.
[0062] The communication connection request includes the service set identifier, broadband communication authentication code, and media access control address of the base station from the target broadband communication parameters.
[0063] Each terminal to be communicated is configured with a non-overlapping time window. After multiple terminals to be communicated have received the broadband communication parameters, each terminal to be communicated will send a parameter confirmation message to the base station within its corresponding time window.
[0064] In this embodiment, after receiving parameter confirmation messages from the target terminal within different time windows, the base station sends a communication connection request to the target terminal based on the target broadband communication parameters corresponding to the target terminal, and establishes service communication with the target terminal based on the connection confirmation message returned by the target terminal. At this time, the base station operates in client mode (i.e., Station mode), only needing to support one-to-one serial operation, with no concurrency requirements; a single access quantity is sufficient, significantly reducing communication costs.
[0065] In some embodiments, the communication connection request includes a service set identifier, a broadband communication authentication code, and a base station's media access control address from the target broadband communication parameters. The target terminal compares the service set identifier and broadband communication authentication code included in the communication connection request with the information in the target broadband communication parameters; if they match, authorization verification is successful. In some embodiments, the base station's media access control address carried in the communication connection request is compared with the base station's MAC address in the target broadband communication parameters; if they match, authentication is successful, service communication is established, and the security of service communication is ensured.
[0066] After the target terminal receiving the parameter confirmation message in the previous time window completes the download or upload of service data through the base station, it will shut down the broadband module. Once the base station detects the broadband communication with the target terminal has been lost, it will repeat the connection establishment operation to establish a connection with the target terminal receiving the parameter confirmation message in the next time window, until service communication is completed for each terminal in the set of target terminals.
[0067] The base station only needs to support one-to-one communication to realize the terminal device communication method in this application embodiment, which can significantly reduce the cost of the base station's broadband module. Furthermore, since the base station establishes service communication with only one terminal at a time, and the base station actively sends the communication connection request to the terminal, communication reliability can be improved.
[0068] In this embodiment, the base station obtains terminal device information for each terminal in the set of terminals to be communicated. The terminal device information includes narrowband communication parameters and wideband communication parameters. Based on the narrowband communication parameters, the base station sends the corresponding wideband communication parameters to the terminals in the set of terminals to be communicated in a narrowband communication manner. In response to the parameter confirmation messages fed back by the target terminals to be communicated within different time windows, the base station sends a communication connection request to the target terminals to be communicated based on the target wideband communication parameters corresponding to the target terminals to be communicated. Based on the connection confirmation messages fed back by the target terminals to be communicated, the service communication is established. The base station only needs to access one terminal device at a time, reducing hardware and software costs. Moreover, the base station actively sends connection requests to the terminal devices, improving the reliability of the communication connection. In addition, there is no need for complex base station communication configuration, saving manpower costs for configuration and testing.
[0069] Example 2
[0070] Figure 2 is a flowchart of a terminal device communication method provided in Embodiment 2 of this application. This embodiment is applicable to situations where a base station sequentially establishes service communication with a terminal device. This method can be executed by a terminal device communication device, which can be implemented in hardware and / or software. The terminal device communication device can be configured in various general-purpose computing devices, for example, in a terminal to be communicated. As shown in Figure 2, the method includes:
[0071] S210. In response to receiving the target broadband communication parameters, the broadband module is activated within a set time window, and after updating the communication mode and communication parameters of the broadband module according to the target broadband communication parameters, a parameter confirmation message is sent back to the base station.
[0072] The target broadband communication parameters are broadband communication parameters corresponding to the current communication terminal. For example, the target broadband communication parameters include at least one of the following: the operating mode of the target communication terminal, the service set identifier, the broadband communication authentication code, the media access control address of the base station, the validity period of the broadband communication authentication code, and the signature of the broadband communication parameters.
[0073] Each terminal to be communicated is configured with a non-overlapping time window. After multiple terminals to be communicated have received the broadband communication parameters, each terminal to be communicated will send a parameter confirmation message to the base station within its corresponding time window.
[0074] In this embodiment, after the communication terminal receives the target broadband communication parameters sent by the base station, it activates the broadband module within a set time window, updates the communication mode and communication parameters of the broadband module according to the target broadband communication parameters, sends a parameter confirmation message to the base station, and waits for the base station to initiate a communication connection request.
[0075] For example, within a set time window, the terminal to be communicated updates the working mode of the broadband module to SoftAP mode according to the working mode in the target broadband communication parameters, and updates the service set identifier and broadband communication authentication code of the broadband module to the values received by the narrowband module (i.e., the service set identifier and broadband communication authentication code provided in the target broadband communication parameters). To prevent a terminal to be communicated from occupying the base station for communication for a long time, a timeout period can be set according to the validity period of the broadband communication authentication code in the target broadband communication parameters, and the terminal can wait for the base station to actively establish a connection.
[0076] To avoid interference, when the communication terminal is set to SoftAP mode, it needs to turn off wireless broadcasting and is not allowed to respond to access requests initiated by other devices other than the base station specified in the target broadband communication parameters.
[0077] In some embodiments, in response to receiving target broadband communication parameters, the broadband module is activated within a set time window, and after updating the communication mode and communication parameters of the broadband module according to the target broadband communication parameters, a parameter confirmation message is sent back to the base station, including:
[0078] The narrowband module is woken up in response to a wake-up command sent by the base station through the narrowband module;
[0079] The narrowband module receives the target broadband communication parameters sent by the base station and activates the broadband module within a set time window.
[0080] Based on the operating mode in the target broadband communication parameters, the broadband module is updated to access point mode, and the communication parameters of the broadband module are updated based on the service set identifier and broadband communication authentication code in the target broadband communication parameters.
[0081] This embodiment provides a specific method for responding to received target broadband communication parameters, activating the broadband module within a set time window, updating the broadband module's communication mode and parameters according to the target broadband communication parameters, and then sending a parameter confirmation message back to the base station: The narrowband module is activated in response to a wake-up command sent by the base station via the narrowband module. After receiving the target broadband communication parameters sent by the base station through the narrowband module, the broadband module is activated within the set time window. Based on the operating mode in the target broadband communication parameters, the broadband module is updated to access point mode, and its communication parameters are updated according to the service set identifier and broadband communication authentication code in the broadband communication parameters. Finally, a parameter confirmation message is sent back to the base station, awaiting the base station to initiate a communication connection request. By sending broadband communication parameters to the target terminal through narrowband communication, parameter preparation for broadband communication can be completed with low power consumption.
[0082] S220. In response to the communication connection request sent by the base station, perform information verification on the communication authorization information contained in the communication connection request according to the target broadband communication parameters.
[0083] In this embodiment, the terminal to be communicated responds to a communication connection request sent by the base station and verifies the communication authorization information contained in the communication connection request according to the target broadband communication parameters. For example, the communication authorization information contained in the communication connection request (e.g., service set identifier, broadband communication authentication code, and the base station's media access control address) is extracted, and then compared with the corresponding information in the target broadband communication parameters. If they match, the communication information verification is deemed successful.
[0084] In some embodiments, the communication authorization information includes a service set identifier, a broadband communication authentication code, and the media access control address of the base station. The target terminal compares the service set identifier and broadband communication authentication code included in the communication connection request with the information in the target broadband communication parameters. If they match, the authorization verification is successful. In some embodiments, the media access control address of the base station carried in the communication connection request is compared with the MAC address of the base station in the target broadband communication parameters. If they match, authentication is successful, service communication is established, and the security of service communication is ensured.
[0085] In some embodiments, in response to a communication connection request sent by a base station, information verification is performed on the communication authorization information contained in the communication connection request based on the target broadband communication parameters, including:
[0086] In response to a communication connection request sent by a base station, the service set identifier and broadband communication authentication code contained in the communication connection request are verified as first information based on the target broadband communication parameters.
[0087] After the first information verification is passed, the second information verification is performed on the media access control address of the base station in the communication connection request according to the target broadband communication parameters.
[0088] Among them, the service set identifier and broadband communication authentication code are randomly generated for each terminal to be communicated before each service communication is established.
[0089] This embodiment provides a specific method for verifying the communication authorization information contained in the communication connection request based on the target broadband communication parameters in response to a communication connection request sent by a base station: In response to the communication connection request sent by the base station, a first information verification is performed on the service set identifier and broadband communication authentication code contained in the communication connection request based on the target broadband communication parameters. Specifically, the service set identifier contained in the communication connection request is compared with the service set identifier contained in the target broadband communication parameters. If they do not match, the broadband module is shut down; if they match, the broadband communication authentication code contained in the communication connection request is compared with the broadband communication authentication code contained in the target broadband communication parameters. If they do not match, the broadband module is shut down; if they match, the first information verification is deemed successful.
[0090] In this embodiment, the service set identifier and broadband communication authentication code are randomly generated for each terminal to be communicated before each service communication is established. This enables one-machine-one-key and one-time-one-key communication when establishing a communication connection, ensuring communication security.
[0091] After the first information verification passes, a second information verification is performed on the media access control address (MAC address) of the base station in the communication connection request, based on the target broadband communication parameters. Specifically, the MAC address of the base station included in the communication connection request is compared with the MAC address of the base station included in the target broadband communication parameters. If they do not match, the broadband module is shut down to prevent malicious terminal devices from accessing the network; if they match, the second information verification is considered successful. This two-round information verification improves the communication security of the terminal device.
[0092] S230. If the information verification is successful, a connection confirmation message is sent to the base station to establish service communication. After the service communication is completed, the broadband module is turned off to instruct the base station to connect to the next terminal to be communicated.
[0093] In this embodiment, upon successful information verification, a connection confirmation message is sent to the base station to establish service communication and enable the uploading or downloading of service data. Upon completion of service communication, the broadband module is shut down to instruct the base station to connect to the next terminal to be communicated with.
[0094] In some embodiments, timing begins after receiving the target broadband communication parameters, and in response to the timing duration exceeding a duration threshold, the broadband module is shut down to instruct the base station to connect to the next terminal to be communicated.
[0095] In this embodiment, after receiving the target broadband communication parameters, the terminal to be communicated uses a timer to keep track of the time. If the timeout exceeds a threshold, the broadband module is shut down to instruct the base station to connect to the next terminal to be communicated. This timing mechanism prevents a single terminal from occupying the base station for an extended period, thus improving communication reliability.
[0096] In this embodiment, upon receiving the target broadband communication parameters, the terminal to be communicated activates the broadband module within a set time window. After updating the communication mode and parameters of the broadband module according to the target broadband communication parameters, it sends a parameter confirmation message to the base station. In response to a communication connection request sent by the base station, it verifies the communication authorization information contained in the communication connection request according to the target broadband communication parameters. If the verification passes, it sends a connection confirmation message to the base station to establish service communication. After completing the service communication, it deactivates the broadband module to instruct the base station to connect to the next terminal to be communicated. In this embodiment, the base station only needs to connect to one terminal device at a time, reducing hardware and software costs. Furthermore, the base station actively sends connection requests to the terminal device, improving the reliability of the communication connection.
[0097] Example 3
[0098] Figure 3 is a schematic diagram of a terminal device communication apparatus provided in Embodiment 3 of this application. As shown in Figure 3, the apparatus includes:
[0099] The device information acquisition module 310 is configured to acquire terminal device information for each terminal in the set of terminals to be communicated; the terminal device information includes narrowband communication parameters and broadband communication parameters.
[0100] The broadband parameter sending module 320 is configured to send corresponding broadband communication parameters to the terminals in the set of terminals to be communicated in a narrowband communication manner based on the narrowband communication parameters.
[0101] The communication establishment module 330 is configured to respond to parameter confirmation messages fed back by the target communication terminal within different time windows, send a communication connection request to the target communication terminal based on the target broadband communication parameters corresponding to the target communication terminal, and establish service communication based on the connection confirmation message fed back by the target communication terminal.
[0102] In this embodiment, the base station obtains terminal device information for each terminal in the set of terminals to be communicated. The terminal device information includes narrowband communication parameters and wideband communication parameters. Based on the narrowband communication parameters, the base station sends the corresponding wideband communication parameters to the terminals in the set of terminals to be communicated in a narrowband communication manner. In response to the parameter confirmation messages fed back by the target terminals to be communicated within different time windows, the base station sends a communication connection request to the target terminals to be communicated based on the target wideband communication parameters corresponding to the target terminals to be communicated. Based on the connection confirmation messages fed back by the target terminals to be communicated, the service communication is established. The base station only needs to access one terminal device at a time, reducing hardware and software costs. Moreover, the base station actively sends connection requests to the terminal devices, improving the reliability of the communication connection. In addition, there is no need for complex base station communication configuration, saving manpower costs for configuration and testing.
[0103] In some embodiments, the broadband parameter sending module 320 is configured as follows:
[0104] Based on the narrowband communication parameters, a wake-up command is sent to the narrowband module of the terminal to be communicated in the set of terminals to be communicated through the narrowband module;
[0105] After issuing the wake-up command and waiting for the device to respond, the corresponding broadband communication parameters are sent to the narrowband module of the terminal to be communicated via the narrowband module.
[0106] In some embodiments, the broadband communication parameters include the operating mode of the terminal to be communicated, the service set identifier, the broadband communication authentication code, the media access control address of the base station, and the signature of the broadband communication parameters.
[0107] The service set identifier and broadband communication authentication code are randomly generated for each terminal to be communicated before each service communication is established.
[0108] The terminal device communication apparatus provided in this application embodiment can execute the terminal device communication method provided in any embodiment of this application, and has functional modules and beneficial effects corresponding to the execution of the method.
[0109] Example 4
[0110] Figure 4 is a schematic diagram of a terminal device communication apparatus provided in Embodiment 4 of this application. As shown in Figure 4, the apparatus includes:
[0111] The parameter confirmation module 410 is configured to, in response to receiving the target broadband communication parameters, activate the broadband module within a set time window, and after updating the communication mode and communication parameters of the broadband module according to the target broadband communication parameters, send a parameter confirmation message back to the base station.
[0112] The information verification module 420 is configured to, in response to a communication connection request sent by a base station, verify the communication authorization information contained in the communication connection request based on the target broadband communication parameters.
[0113] The first broadband shutdown module 430 is configured to send a connection confirmation message to the base station to establish service communication when the information verification is successful, and to shut down the broadband module after the service communication is completed, so as to instruct the base station to connect to the next terminal to be communicated.
[0114] In this embodiment, upon receiving the target broadband communication parameters, the terminal to be communicated activates the broadband module within a set time window. After updating the communication mode and parameters of the broadband module according to the target broadband communication parameters, it sends a parameter confirmation message to the base station. In response to a communication connection request sent by the base station, it verifies the communication authorization information contained in the communication connection request according to the target broadband communication parameters. If the verification passes, it sends a connection confirmation message to the base station to establish service communication. After completing the service communication, it deactivates the broadband module to instruct the base station to connect to the next terminal to be communicated. The technical solution of this embodiment allows the base station to connect to only one terminal device at a time, reducing hardware and software costs. Furthermore, the base station actively sends connection requests to the terminal device, improving the reliability of the communication connection.
[0115] In some embodiments, the parameter confirmation module 410 is configured as follows:
[0116] The narrowband module is woken up in response to a wake-up command sent by the base station through the narrowband module;
[0117] The narrowband module receives the target broadband communication parameters sent by the base station and activates the broadband module within a set time window.
[0118] Based on the operating mode in the target broadband communication parameters, the broadband module is updated to access point mode, and the communication parameters of the broadband module are updated based on the service set identifier and broadband communication authentication code in the target broadband communication parameters.
[0119] In some embodiments, the information verification module 420 is configured as follows:
[0120] In response to a communication connection request sent by a base station, the service set identifier and broadband communication authentication code contained in the communication connection request are verified according to the target broadband communication parameters.
[0121] After the first information verification passes, the media access control address of the base station in the communication connection request is verified as a second information based on the target broadband communication parameters.
[0122] The service set identifier and broadband communication authentication code are randomly generated for each terminal to be communicated before each service communication is established.
[0123] In some embodiments, the terminal device communication apparatus further includes:
[0124] The second broadband shutdown module is configured to start timing after receiving the target broadband communication parameters, and shut down the broadband module in response to the timing duration exceeding the duration threshold, so as to instruct the base station to connect to the next terminal to be communicated.
[0125] The terminal device communication apparatus provided in this application embodiment can execute the terminal device communication method provided in any embodiment of this application, and has functional modules and beneficial effects corresponding to the execution of the method.
[0126] In the technical solution of this application, the information collected is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data all comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entry points for users to choose to authorize or refuse.
[0127] Example 5
[0128] According to embodiments of this application, this application also provides an electronic device, a computer-readable storage medium, and a computer program product.
[0129] Figure 5 shows a schematic diagram of the structure of an electronic device 10 that can be used to implement embodiments of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples.
[0130] As shown in Figure 5, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded into the RAM 13 from the storage unit 18. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0131] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of monitors, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information or data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0132] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as terminal device communication methods.
[0133] In some embodiments, the terminal device communication method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the terminal device communication method described above may be performed. In other embodiments, processor 11 may be configured to perform the terminal device communication method by any other suitable means (e.g., by means of firmware).
[0134] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-chips (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0135] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0136] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Optionally, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM) or flash memory, optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0137] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a cathode ray tube (CRT) or an LCD monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0138] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0139] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing application system to address the shortcomings of traditional physical hosts and Virtual Private Network (VPS) applications, such as high management difficulty and weak business scalability.
Claims
1. A terminal device communication method, applied to a base station, comprising: Obtain the terminal device information of each terminal in the set of terminals to be communicated with; The terminal device information includes narrowband communication parameters and broadband communication parameters; Based on the narrowband communication parameters, the corresponding broadband communication parameters are sent to the terminals in the set of terminals to be communicated using narrowband communication. In response to parameter confirmation messages from target terminals within different time windows, a communication connection request is sent to the target terminals based on the target broadband communication parameters corresponding to the target terminals, and service communication is established based on the connection confirmation messages from the target terminals.
2. The method according to claim 1, wherein, Based on the narrowband communication parameters, corresponding broadband communication parameters are sent to the terminals in the set of terminals to be communicated using narrowband communication, including: Based on the narrowband communication parameters, a wake-up command is sent to the narrowband module of the terminal to be communicated in the set of terminals to be communicated through the narrowband module; After issuing the wake-up command and waiting for the device to respond, the corresponding broadband communication parameters are sent to the narrowband module of the terminal to be communicated via the narrowband module.
3. The method according to claim 1, wherein, The broadband communication parameters include the operating mode of the terminal to be communicated, the service set identifier, the broadband communication authentication code, the media access control address of the base station, and the signature of the broadband communication parameters. The service set identifier and broadband communication authentication code are randomly generated for each terminal to be communicated before each service communication is established.
4. A terminal device communication method, applied to a terminal to be communicated with, comprising: In response to receiving the target broadband communication parameters, the broadband module is activated within a set time window, and after updating the communication mode and communication parameters of the broadband module according to the target broadband communication parameters, a parameter confirmation message is sent back to the base station. In response to a communication connection request sent by a base station, the communication authorization information contained in the communication connection request is verified according to the target broadband communication parameters; If the information verification is successful, a connection confirmation message is sent back to the base station to establish service communication. After the service communication is completed, the broadband module is turned off to instruct the base station to connect to the next terminal to be communicated.
5. The method according to claim 4, wherein, In response to receiving target broadband communication parameters, the broadband module is activated within a set time window. After updating the communication mode and parameters of the broadband module according to the target broadband communication parameters, a parameter confirmation message is sent back to the base station, including: The narrowband module is woken up in response to a wake-up command sent by the base station through the narrowband module; The narrowband module receives the target broadband communication parameters sent by the base station and activates the broadband module within a set time window. Based on the operating mode in the target broadband communication parameters, the broadband module is updated to access point mode, and the communication parameters of the broadband module are updated based on the service set identifier and broadband communication authentication code in the target broadband communication parameters.
6. The method according to claim 4, wherein, In response to a communication connection request sent by a base station, information verification is performed on the communication authorization information contained in the communication connection request based on the target broadband communication parameters, including: In response to a communication connection request sent by a base station, the service set identifier and broadband communication authentication code contained in the communication connection request are verified according to the target broadband communication parameters. After the first information verification passes, the media access control address of the base station in the communication connection request is verified as a second information based on the target broadband communication parameters. The service set identifier and broadband communication authentication code are randomly generated for each terminal to be communicated before each service communication is established.
7. The method according to claim 4, further comprising: Upon receiving the target broadband communication parameters, timing begins. In response to the timing duration exceeding the duration threshold, the broadband module is shut down to instruct the base station to connect to the next terminal to be communicated.
8. A terminal device communication apparatus, configured in a base station, comprising: The device information acquisition module is configured to acquire the terminal device information of each terminal in the set of terminals to be communicated. The terminal device information includes narrowband communication parameters and broadband communication parameters; The broadband parameter sending module is configured to send the corresponding broadband communication parameters to the terminals in the set of terminals to be communicated in a narrowband communication manner based on the narrowband communication parameters. The communication establishment module is configured to respond to parameter confirmation messages fed back by the target communication terminal within different time windows, send a communication connection request to the target communication terminal based on the target broadband communication parameters corresponding to the target communication terminal, and establish service communication based on the connection confirmation message fed back by the target communication terminal.
9. A terminal device communication apparatus, configured on a terminal to be communicated with, comprising: The parameter confirmation module is configured to respond to receiving target broadband communication parameters, activate the broadband module within a set time window, and after updating the communication mode and communication parameters of the broadband module according to the target broadband communication parameters, send a parameter confirmation message back to the base station. The information verification module is configured to, in response to a communication connection request sent by a base station, verify the communication authorization information contained in the communication connection request based on the target broadband communication parameters. The broadband shutdown module is configured to send a connection confirmation message to the base station to establish service communication when the information verification is successful, and to shut down the broadband module after the service communication is completed, so as to instruct the base station to connect to the next terminal to be communicated.
10. An electronic device, the electronic device comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the terminal device communication method according to any one of claims 1-7.
11. A computer-readable storage medium storing computer instructions for causing a processor to execute and implement the terminal device communication method according to any one of claims 1-7.
12. A computer program product comprising a computer program that, when executed by a processor, implements the terminal device communication method according to any one of claims 1-7.