Application-based ad hoc networking method and apparatus
Patent Information
- Application Number
- CN202111415840.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-25
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2041-11-25
AI Technical Summary
[0003]在上述场景中,建立的是终端设备与服务器之间的通信链路,如果终端设备与服务器之间的通信链路不稳定,则容易导致用户使用应用程序的体验大幅降低
[0017] This disclosure provides a method, apparatus, electronic device, and readable storage medium for application-based self-organizing networks. The method includes: in response to networking requests from various terminal devices based on a target application, obtaining performance parameters of each terminal device; obtaining networking configuration information corresponding to each terminal device based on the performance parameters and information about the environment in which each terminal device is located; and sending the corresponding networking configuration information to each terminal device, so that each terminal device can build a self-organizing network according to the corresponding networking configuration information. The technical solution provided by this disclosure can solve the problem that different users in the same environment cannot synchronously obtain the same data.
Smart Images

Figure CN116170894B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to an application-based self-organizing network method and apparatus. Background Technology
[0002] In daily life, we often encounter scenarios like this: when an application sends a notification message, some users in the same environment receive the notification message, while others receive it much later; or when watching a video, some users in the same environment can watch the video smoothly, while others are still in the loading state.
[0003] In the above scenario, a communication link is established between the terminal device and the server. If the communication link between the terminal device and the server is unstable, it can easily lead to a significant reduction in the user's experience of using the application. Summary of the Invention
[0004] To solve the above-mentioned technical problems, or at least partially solve them, this disclosure provides an application-based self-organizing network method and apparatus.
[0005] In a first aspect, this disclosure provides an application-based self-organizing network method, comprising: In response to the networking request from each terminal device based on the target application, the performance parameters of each terminal device are obtained; Based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located, obtain the networking configuration information corresponding to each terminal device. The corresponding network configuration information is sent to each of the terminal devices so that each terminal device can build a self-organizing network according to the corresponding network configuration information.
[0006] As one possible implementation, the step of responding to the networking request from each terminal device based on the target application and obtaining the performance parameters of each terminal device includes: In response to the networking request of each terminal device, a preset model is sent to each terminal device so that each terminal device can obtain the performance parameters of the terminal device through the preset model; Receive the performance parameters sent by each of the terminal devices.
[0007] As one possible implementation, the performance parameters of the terminal device are obtained by weighted calculation based on multiple input parameters corresponding to the terminal device and the weight coefficients corresponding to each input parameter, wherein the weight coefficients corresponding to each input parameter are related to the business scenario of the terminal device.
[0008] As one possible implementation, obtaining the network configuration information corresponding to each terminal device based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located includes: Based on the information of the environment in which each terminal device is located and the business scenario, the boundary information of the self-organizing network is obtained, and the boundary information is used to characterize the network edge of the self-organizing network. Based on the performance parameters of each terminal device included in the self-organizing network, the role of each terminal device in its respective self-organizing network is determined, and the role of the terminal device in its respective self-organizing network is a regular node, a coordinator node, or a relay node. The network configuration information includes the boundary information and information indicating the role of each terminal device in its respective ad hoc network.
[0009] As one possible implementation, the method further includes: After each terminal device has built its own network according to the corresponding network configuration information, a communication test is performed on the self-organizing network. When the communication test is successful, the communication connection method between the terminal devices included in the self-organizing network is determined as the target communication connection method between the terminal devices included in the self-organizing network, so that each of the terminal devices included in the self-organizing network can interact through the target communication connection method.
[0010] As one possible implementation, before performing communication testing on the self-organizing network, the method further includes: Based on the business scenario, determine the communication connection method between each terminal device in the self-organizing network.
[0011] As one possible implementation, the business scenarios include media resource synchronization scenarios and / or signaling synchronization scenarios.
[0012] As one possible implementation, the method further includes: Obtain the target data corresponding to the target application; The target data is sent to the target terminal device in the ad hoc network, so that the target terminal device sends the target data to the terminal devices connected to the target terminal device in the ad hoc network.
[0013] Secondly, this disclosure provides an application-based self-organizing network device, comprising: The acquisition module is used to acquire the performance parameters of each terminal device in response to the networking request of each terminal device based on the target application. The decision module is used to obtain the networking configuration information corresponding to each terminal device based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located. The configuration module is used to send the corresponding network configuration information to each of the terminal devices, so that each of the terminal devices can build a self-organizing network according to the corresponding network configuration information.
[0014] Thirdly, this disclosure provides an electronic device, including: a memory and a processor; The memory is configured to store the computer program instructions; The processor is configured to execute the computer program instructions, causing the electronic device to implement the application-based self-organizing network method as described in any of the first aspects.
[0015] Fourthly, this disclosure provides a readable storage medium comprising: computer program instructions; which, when executed by at least one processor of an electronic device, cause the electronic device to implement the application-based self-organizing network method as described in any of the first aspects.
[0016] Fifthly, this disclosure also provides a computer program product that, when executed by a computer, causes the computer to implement the application-based self-organizing network method as described in any of the first aspects.
[0017] This disclosure provides a method, apparatus, electronic device, and readable storage medium for application-based self-organizing networks. The method includes: in response to networking requests from various terminal devices based on a target application, obtaining performance parameters of each terminal device; obtaining networking configuration information corresponding to each terminal device based on the performance parameters and information about the environment in which each terminal device is located; and sending the corresponding networking configuration information to each terminal device, so that each terminal device can build a self-organizing network according to the corresponding networking configuration information. The technical solution provided by this disclosure can solve the problem that different users in the same environment cannot synchronously obtain the same data. Attached Figure Description
[0018] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0019] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0020] Figure 1A A schematic diagram illustrating a scenario for the application-based ad hoc networking method provided in this disclosure; Figure 1B This is a schematic diagram of the self-organizing network control system provided in this disclosure; Figure 2 A flowchart illustrating the application-based ad hoc networking method provided in this embodiment of the disclosure; Figure 3 A flowchart illustrating the application-based ad hoc networking method provided in this embodiment of the disclosure; Figure 4 A flowchart illustrating the application-based ad hoc networking method provided in this embodiment of the disclosure; Figure 5A A schematic diagram of the scenario structure for information push in existing technologies; Figure 5B This is a schematic diagram of a scenario structure for information push after self-organizing network is established using the application-based self-organizing network method provided in this disclosure; Figure 6A A schematic diagram of the scenario structure for media resource synchronization in existing technologies; Figure 6B This is a schematic diagram of a scenario structure for media resource synchronization after self-organizing a network using the application-based self-organizing network method provided in this disclosure; Figure 7 A schematic diagram of the structure of an application-based self-organizing network device provided in an embodiment of this disclosure; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0021] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0022] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0023] In daily life, it's common to see different users in the same environment unable to receive data synchronously. For example, in scenario one: a push notification for trending news or other information is received by some users, while others receive it much later; in scenario two: while watching a sports game or other short video in the same room, some users have already received the result or finished watching the video smoothly, while others are still loading; in scenario three: while participating in a quiz activity simultaneously, some users have successfully loaded and entered the quiz stage, while others are still loading.
[0024] In the above scenario, a communication link is established between the terminal device and the server. Factors such as the hardware capabilities of the terminal device and the network quality can cause the communication link to become unstable, which in turn can lead to varying degrees of delay in data reception by devices in the same environment, greatly reducing the user experience.
[0025] To address the aforementioned issues, this disclosure provides an application-based self-organizing network method, apparatus, electronic device, and readable storage medium. The method is specifically optimized based on the environment and the advantages of the terminal device. By fully utilizing the hardware capabilities and network advantages of the terminal device to form a self-organizing network, it achieves data synchronization within the self-organizing network, thereby significantly improving the user experience.
[0026] For example, the application-based ad hoc networking method provided in this disclosure can be executed by the application-based ad hoc networking device provided in this disclosure, which can be implemented in any software and / or hardware manner. For example, the application-based ad hoc networking device can be a server, such as a cloud service platform, an Internet of Things (IoT) platform, a business platform, etc.
[0027] The application-based self-organizing network method provided in this disclosure is described in detail below through several specific embodiments.
[0028] Figure 1A This is a schematic diagram illustrating a scenario of the application-based ad hoc networking method provided in this disclosure. (Refer to...) Figure 1A The scenario shown includes: multiple terminal devices 101 and server device 102.
[0029] This disclosure does not limit the type of terminal device 101, but includes, for example, tablet computers, mobile phones (such as foldable screen phones, large-screen phones, etc.), wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart TVs, smart screens, high-definition TVs, 4K TVs, smart speakers, smart projectors, and other Internet of Things (IoT) devices. When the aforementioned terminal devices 101 meet pre-set self-organizing network conditions (e.g., poor network quality or a self-organizing network push message sent by server 102 in response to terminal device 101), they can establish a self-organizing network.
[0030] Each terminal device 101 can play a role in its respective ad hoc network as a regular node, coordinator node, or relay node. Regular nodes are terminal devices in the ad hoc network other than coordinator nodes and relay nodes. Coordinator nodes are core devices in the ad hoc network, used to maintain the network and forward data. Specifically, coordinator nodes collect and report data when the network's state changes, and forward data when the network is stable. Coordinator nodes typically have high requirements for data processing capabilities and network quality. Relay nodes are routing devices in the ad hoc network, used to forward data. Therefore, relay nodes can act as relay stations to address the problem of transmission quality degradation due to long communication links. Relay nodes typically have high requirements for data processing capabilities and network quality.
[0031] The higher the hardware performance of a terminal device, the higher its data processing capability; conversely, the lower the hardware performance, the lower its data processing capability. Therefore, the data processing capability of a terminal device can be determined by its hardware performance.
[0032] This disclosure does not limit the type of server 102. For example, server 102 can be a standalone physical server, cloud server, server cluster, etc. A self-organizing network control system 1020 can be deployed on server 102. The self-organizing network control system 1020 is used to enable multiple terminal devices to complete the construction of a self-organizing network, test the connectivity and stability of the self-organizing network, and collect and label information of the self-organizing network, etc.
[0033] For example, Figure 1B This is a schematic diagram of the structure of a self-organizing network control system provided in an embodiment of this disclosure. (Refer to...) Figure 1B As shown, the self-organizing network control system 1020 may include: a terminal device management module 1020a, a network decision module 1020b, a communication test module 1020c, a self-organizing network management module 1020c, and a data processing module 1020d.
[0034] The terminal device management module 1020a is used to send a preset mode to the terminal device so that the terminal device can obtain performance parameters through the preset model. The terminal device management module 1020a is also used to receive the performance parameters sent by the terminal device and send the performance parameters of the terminal device to the network decision module 1020b.
[0035] The networking decision module 1020b is used to obtain the networking configuration information corresponding to each terminal device based on the performance parameters and environmental information of each terminal device, and send the corresponding networking configuration information to each terminal device so that each terminal device can build a self-organizing network.
[0036] The communication test module 1020c is used to perform communication tests on ad hoc networks and determine the communication connection methods between terminal devices in the ad hoc network.
[0037] The self-organizing network management module 1020c is used to record relevant information about the self-organizing network, such as the boundary information of each self-organizing network, the role information of each terminal device in the self-organizing network, the communication connection method between terminal devices in the self-organizing network, etc.
[0038] The data processing module 1020d is used to obtain relevant information about the ad hoc network from the ad hoc network management module 1020c, and determine the terminal device receiving the target data based on the obtained relevant information about the ad hoc network, and send the target data to the determined terminal device so that the terminal device forwards the target data to other terminal devices in the ad hoc network.
[0039] For example, the target data may include data sent by the server (such as a business server, management server, etc.) corresponding to the target application to the various terminal devices included in the ad hoc network. The sent data may include, but is not limited to, multimedia data, audio data, text data, notification information, signaling, etc.
[0040] It should be noted that, in Figure 1A In the scenario shown, multiple terminal devices 101 belong to the same ad hoc network. Of course, in practical applications, server 102 can manage and control multiple ad hoc networks. Figure 1A This is just an example, and the number of end devices included in each self-organizing network can vary.
[0041] The following embodiments use an electronic device executing an application-based ad hoc networking method as an example to provide a detailed description of the application-based ad hoc networking method provided in this disclosure.
[0042] Figure 2 A flowchart illustrating an application-based ad hoc networking method provided in an embodiment of this disclosure. (Refer to...) Figure 2 As shown, the method provided in this embodiment includes: S201. In response to the networking request from each terminal device based on the target application, obtain the performance parameters of each terminal device.
[0043] This disclosure does not limit the type of the target application; for example, the target application can be a video application, a short video playback application, a social application, an office application, etc. The target application is installed on the terminal device.
[0044] Electronic devices can acquire network requests sent by various terminal devices, whereby the network requests are used to request the establishment of a self-organizing network. This disclosure does not limit the implementation method of the electronic device acquiring the network requests sent by various terminal devices. For example, a terminal device may send a network request to the electronic device when specific conditions are met (such as poor network quality, failure to receive target data from the target application's business server for a preset time, etc.); or, when the electronic device detects the need to establish a self-organizing network, it sends a notification message to the terminal device, notifying the terminal device to establish the self-organizing network, and then receives a confirmation network request from the terminal device. That is, the confirmation network request received by the electronic device is equivalent to the network request sent by the terminal device.
[0045] It should be noted that the networking request based on the target application mentioned in this disclosure means that the terminal device requests a self-organizing network in order to meet the business needs of the target application.
[0046] In response to networking requests from various terminal devices, electronic devices need to obtain the performance parameters of each terminal device for decision-making regarding the ad hoc network. These performance parameters characterize the hardware performance of the terminal devices and the network quality.
[0047] When an electronic device receives a networking request from a terminal device, it can send a preset model to the terminal device, enabling the terminal device to obtain its performance parameters through the preset model.
[0048] For example, the terminal device can input multiple corresponding input parameters into a preset model. The preset model performs a weighted calculation based on each input parameter and its corresponding weight coefficient to obtain the performance parameters of the terminal device. These input parameters may include, but are not limited to, the terminal device's hardware parameters and network quality parameters. Hardware parameters may include, for example, parameters of the central processing unit (CPU), graphics processing unit (GPU), and storage resources (such as memory size and memory usage). Network quality parameters may include, for example, network speed and network quality parameters obtained based on Link Turbo.
[0049] Furthermore, terminal devices can configure different weights for hardware parameters and network quality parameters based on the business scenario. For example, in a signaling synchronization scenario, the hardware performance requirements for the terminal device are not high, but the network quality requirements are high. Therefore, a higher weight coefficient (e.g., 0.8) can be configured for network quality parameters, while a lower weight coefficient (e.g., 0.2) can be configured for hardware parameters. Conversely, in a media resource synchronization scenario, both hardware performance and network quality requirements for the terminal device are high. Therefore, the same weight ratio can be configured for network quality parameters and hardware parameters (e.g., a weight coefficient of 0.5 for both hardware and network quality parameters).
[0050] In addition, terminal devices can broadcast their own performance parameters so that other terminal devices in the same environment can obtain them, which helps terminal devices predict the role of each node in the ad hoc network.
[0051] S202. Based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located, obtain the network configuration information corresponding to each terminal device.
[0052] Electronic devices can make decisions about ad hoc networks based on the above parameters, and generate network configuration information corresponding to each terminal device. The network configuration information includes: boundary information of the ad hoc network and / or role information of each terminal device in its respective ad hoc network.
[0053] In this context, the boundary information of a self-organizing network is used to characterize the network edge of the self-organizing network; alternatively, it can be understood as the network edge indicating which terminal devices are included in the self-organizing network. Accordingly, the boundary information may include the identifiers corresponding to each terminal device included in the self-organizing network. Figure 1A As shown, Figure 1AIf the four terminal devices 101 belong to the same ad hoc network, then the boundary information of the ad hoc network can include the identifiers corresponding to these four terminal devices. This disclosure does not limit the identifiers corresponding to the terminal devices, as long as they can uniquely identify the terminal devices.
[0054] One possible implementation is that the electronic device can determine the terminal devices included in the ad hoc network based on the information of the environment in which each terminal device is located and the business scenario, that is, obtain the boundary information of the ad hoc network; then, the electronic device determines the role of each terminal device in its respective ad hoc network based on the performance parameters of each terminal device included in the ad hoc network, that is, determine the ordinary nodes, coordinator nodes and relay nodes included in each ad hoc network.
[0055] It should be noted that an ad hoc network can include ordinary nodes and coordinator nodes, or it can include ordinary nodes, coordinator nodes, and relay nodes. Furthermore, the number of coordinator nodes and relay nodes can be one or more; this disclosure does not limit the number of coordinator nodes and relay nodes, and the decision can be made based on the scale of the ad hoc network. Specifically, the higher the performance parameters of the terminal device, the greater the likelihood that the terminal device will become a coordinator node in the ad hoc network; the lower the performance parameters of the terminal device, the greater the likelihood that the terminal device will become an ordinary node in the ad hoc network.
[0056] Furthermore, the environment can be pre-classified into various types, such as indoor and outdoor. Information about the environment of each terminal device can be obtained by analyzing the location information reported by the terminal device through the target application, the network connection method of the terminal device, and so on. Depending on the environment of the terminal device, the size of the ad hoc network can be adjusted. For example, if the terminal device is outdoors, the size of the ad hoc network can be slightly larger, that is, the number of terminal devices included in the ad hoc network can be increased; if the terminal device is indoors, the size of the ad hoc network can be slightly smaller, that is, the number of terminal devices included in the ad hoc network can be reduced.
[0057] In practical applications, a mapping relationship between the scale, environment, and business scenarios of the self-organizing network can be established in advance to determine the scale of the self-organizing network. Then, based on the scale of the self-organizing network, each terminal device can be divided to determine which terminal devices are included in each self-organizing network, thereby obtaining the boundary information of the self-organizing network.
[0058] In addition, business scenarios can include media resource synchronization scenarios, signaling synchronization scenarios, and so on.
[0059] S203. Send the corresponding network configuration information to each terminal device so that each terminal device can build a self-organizing network according to the corresponding network configuration information.
[0060] Each terminal device receives the corresponding network configuration information. Each terminal device can determine its own ad hoc network based on the boundary information in the received network configuration information, and determine its own role in its own ad hoc network based on the information in the received network coordination information that indicates the role of the terminal device in the ad hoc network. Based on this, the ad hoc network is built. Each terminal device in the built ad hoc network can synchronously receive data sent by the server of the target application.
[0061] The method provided in this embodiment obtains the performance parameters of each terminal device in response to a networking request from each terminal device based on a target application; obtains the networking configuration information corresponding to each terminal device based on the performance parameters and the information of the environment in which each terminal device is located; and sends the corresponding networking configuration information to each terminal device so that each terminal device can build a self-organizing network according to the corresponding networking configuration information. The method provided in this disclosure can solve the problem that different users in the same environment cannot synchronously obtain the same data.
[0062] Figure 3 A flowchart illustrating an application-based ad hoc networking method provided in another embodiment of this disclosure. (See also...) Figure 3 As shown, the method provided in this embodiment includes: S301. In response to the networking request from each terminal device based on the target application, obtain the performance parameters of each terminal device.
[0063] S302. Based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located, obtain the network configuration information corresponding to each terminal device.
[0064] S303. Send the corresponding network configuration information to each terminal device so that each terminal device can build a self-organizing network according to the corresponding network configuration information.
[0065] In this embodiment, steps S301 to S303 are respectively connected with... Figure 2 S201 to S203 in the illustrated embodiment are similar and can be referred to. Figure 2 The detailed description of the illustrated embodiments will not be repeated here for the sake of brevity.
[0066] S304. Conduct communication tests on the respective group networks.
[0067] S305. When the communication test is successful, the communication connection method between the terminal devices included in the self-organizing network shall be determined as the target communication connection method between the terminal devices included in the self-organizing network.
[0068] After the ad hoc network is built, its connectivity and stability need to be verified. This involves verifying whether there is a valid communication connection between the terminal devices. If the communication test is successful, it means that there is a valid communication connection between the terminal devices in the built ad hoc network, and the terminal devices in the ad hoc network can reliably exchange data. If the communication test fails, it means that some or all of the terminal devices in the built ad hoc network do not have a valid communication connection, and the ad hoc network cannot achieve data synchronization.
[0069] The communication connection methods include wired connection and wireless connection. Wireless connection can include hotspot connection, Bluetooth connection, etc.
[0070] This disclosure does not limit the implementation method for communication testing of ad hoc networks.
[0071] For example, during communication testing, test data is sent within the ad hoc network. If all terminal devices within the ad hoc network can receive the data normally, it indicates that the ad hoc network's stability meets the requirements. The type of data sent during communication testing can be determined based on the business scenario. For example, if the business scenario is signaling transmission, then signaling data can be used as test data; if the business scenario is multimedia resource transmission, then multimedia data can be used as test data.
[0072] A successful communication test indicates that the communication connection method used in the test is valid. Therefore, the communication connection method used by each terminal device when the communication test is successful can be determined as the target communication connection method, and each terminal device can interact through the target communication connection method.
[0073] In addition, before conducting communication tests on their respective self-organized networks in S304, the communication connection method between each terminal device in the self-organized network can be determined based on the business scenario, so that each terminal device in the self-organized network can transmit test data through the determined communication connection method.
[0074] For example, a correspondence between business scenarios and communication connection methods between different roles in the self-organizing network can be established in advance. By querying this correspondence, the communication connection method of each terminal device in the self-organizing network during the communication testing phase can be determined.
[0075] This embodiment, after the self-organizing network is built, performs communication tests on each group network and determines the communication connection methods between the terminal devices included in each group network. This ensures that the self-organizing network can conduct reliable data interaction, thereby improving the user experience.
[0076] Figure 4 A flowchart illustrating an application-based ad hoc networking method provided in another embodiment of this disclosure. (See also...) Figure 4As shown, the method provided in this embodiment includes: S401. In response to the networking request from each terminal device based on the target application, obtain the performance parameters of each terminal device.
[0077] S402. Based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located, obtain the network configuration information corresponding to each terminal device.
[0078] S403. Send the corresponding network configuration information to each terminal device so that each terminal device can build a self-organizing network according to the corresponding network configuration information.
[0079] S404. Conduct communication tests on the respective group networks.
[0080] S405. When the communication test is successful, the communication connection method between the terminal devices included in the self-organizing network shall be determined as the target communication connection method between the terminal devices included in the self-organizing network.
[0081] In this embodiment, steps S401 to S405 are respectively connected with... Figure 3 S301 to S305 in the illustrated embodiment are similar and can be referred to. Figure 3 The detailed description of the illustrated embodiments will not be repeated here for the sake of brevity.
[0082] S406. Obtain target data from the server corresponding to the target application.
[0083] For example, the server corresponding to the target application may include a business server corresponding to the target application, which can be used to process the business associated with the target application; for example, the server corresponding to the target application may also include a management server corresponding to the target application, which can manage the business of the target application. The management of the business of the target application mentioned herein includes, but is not limited to, business upgrades, business migrations, etc.
[0084] In one possible implementation, ordinary nodes and / or relay nodes in an ad hoc network can send service requests to a service server through a coordinator node; the service server responds to the service request sent by the coordinator node and obtains target data; the target data may be related to the service request, and for example, the target data may include, but is not limited to: signaling, multimedia data, and notification messages.
[0085] Another possible implementation is that the server corresponding to the target application (such as a management server) needs to send target data to the terminal device in certain scenarios. For example, when a notification message needs to be sent to the terminal device, the notification message is the target data.
[0086] S407. Send target data to the target terminal device in the ad hoc network, so that the target terminal device sends the target data to the terminal device connected to the target terminal device in the ad hoc network.
[0087] Specifically, the electronic device can obtain target data from the business server corresponding to the target application, and based on relevant information of the ad hoc network, determine the target terminal device in the ad hoc network, that is, determine the coordinator node in the ad hoc network. The electronic device sends the target data to the coordinator node of the ad hoc network. The coordinator node in the ad hoc network receives the target data and sends it to the terminal devices corresponding to the relay nodes connected to the coordinator node (in cases where the ad hoc network includes relay nodes) and the terminal devices corresponding to ordinary nodes. The corresponding terminal devices and relay nodes then send the target data to the next connected node (which can be a next-level relay node or an ordinary node). Combining the above... Figure 1B In the embodiment shown, the data processing module 1020d can obtain target data from the service server and obtain relevant information about the self-organizing network from the self-organizing network management module 1020c. Based on the relevant information about the self-organizing network, the target terminal device is determined. Then, the data processing module 1020d sends the target data to the target terminal device.
[0088] In some cases, the target data acquired by electronic devices may need to be converted. For example, if the target data is abridged and needs to be restored to its complete form, or if the target data has a different data format, it needs to be converted to a data format compatible with the terminal device. In conjunction with the foregoing... Figure 1B In the embodiment shown, the data processing module 1020d can obtain target data from the business server and perform the above-described processing on the target data.
[0089] In this embodiment, target data synchronization is achieved based on a self-organizing network, enabling terminal devices in the same environment to simultaneously obtain the same data, effectively improving the user experience. Several specific scenarios are illustrated below.
[0090] Scenario A: Push Notification Scenarios in, Figure 5A This is a schematic diagram of the scenario structure for message push in existing technologies. Figure 5B This is a schematic diagram illustrating the scenario structure for message push after building a self-organizing network using the self-organizing network method provided in this disclosure.
[0091] Reference Figure 5A As shown, assuming there are 5 clients, when the business server needs to push target information, the business server needs to establish a connection with each of the 5 clients and send the target information to each of the 5 clients. This can easily lead to the problem that the 5 clients cannot receive the target information synchronously.
[0092] A self-organizing network is constructed using the method provided in this disclosure. The structure of the constructed self-organizing network is as follows: Figure 5B As shown. (Refer to...) Figure 5B As shown, the self-organizing network includes one coordinator node, which can communicate with four other clients. When the service server sends target information to these five clients, the service server first sends the target information to the coordinator node in the self-organizing network, and then the coordinator node sends the target information to the four connected clients.
[0093] exist Figure 5B In the illustrated embodiment, the coordinator node can connect to the other four clients via Bluetooth or a hotspot. For example, if the ad hoc network includes a small number of clients, Bluetooth can be used; if the ad hoc network includes a large number of clients, a hotspot can be used.
[0094] Scenario B: Multimedia Resource Scenario in, Figure 6A This is a schematic diagram of the scene structure for multimedia resources in existing technologies. Figure 6B This is a schematic diagram of the scenario structure for multimedia resources after self-organizing the network using the self-organizing network method provided in this disclosure.
[0095] Reference Figure 6A As shown, assuming there are 8 clients, the business server needs to establish connections with each of these 8 clients and send multimedia resources to each of them. This can easily lead to the problem that the 8 clients cannot receive the multimedia resources synchronously.
[0096] A self-organizing network is constructed using the method provided in this disclosure. The structure of the constructed self-organizing network is as follows: Figure 6B As shown. (Refer to...) Figure 6B As shown, eight clients form two ad hoc networks: ad hoc network 1 and ad hoc network 2. Ad hoc network 1 includes one coordinator node, one relay node, and two ordinary nodes; ad hoc network 2 includes one coordinator node, one relay node, and two ordinary nodes. The server sends multimedia data to the coordinator nodes in ad hoc networks 1 and 2 respectively. The coordinator nodes then forward the multimedia data to the clients corresponding to the connected ordinary nodes and the clients corresponding to the relay nodes. Finally, the relay nodes forward the multimedia data to the clients corresponding to the connected ordinary nodes.
[0097] exist Figure 6B In the illustrated embodiment, because multimedia resources have high requirements for hardware performance and network quality, the size of the ad hoc network can be relatively small, for example, 3-5 devices forming one ad hoc network. Furthermore, in each ad hoc network, the coordinator node can connect to other nodes via Bluetooth or a hotspot.
[0098] In combination with the above Figures 5A to 6B In the illustrated embodiment, after the self-organizing network is established, by fully utilizing the hardware and network advantages of the coordinator nodes included in the self-organizing network, it is ensured that each terminal device included in the self-organizing network can synchronously receive the target data sent by the business server corresponding to the application, which is beneficial to improving the user experience.
[0099] For example, this disclosure provides an application-based self-organizing network device.
[0100] Figure 7 This is a schematic diagram of the structure of an application-based self-organizing network device provided in an embodiment of this disclosure. (Refer to...) Figure 7 As shown, the device 700 provided in this embodiment includes: The acquisition module 701 is used to acquire the performance parameters of each terminal device in response to the networking request of each terminal device based on the target application.
[0101] The decision module 702 is used to obtain the networking configuration information corresponding to each terminal device based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located.
[0102] The configuration module 703 is used to send corresponding network configuration information to each of the terminal devices, so that each of the terminal devices can build a self-organizing network according to the corresponding network configuration information.
[0103] As one possible implementation, the acquisition module 701 is specifically used to respond to the networking request of each terminal device, send a preset model to each terminal device respectively, so that each terminal device can obtain the performance parameters of the terminal device through the preset model; and receive the performance parameters sent by each terminal device.
[0104] As one possible implementation, the performance parameters of the terminal device are obtained by the preset model through weighted calculation based on multiple input parameters corresponding to the terminal device and the weight coefficients corresponding to each input parameter, wherein the weight coefficients corresponding to each input parameter are related to the business scenario of the terminal device.
[0105] As one possible implementation, the decision module 702 is specifically used to obtain the boundary information of the ad hoc network based on the information of the environment in which each terminal device is located and the business scenario, wherein the boundary information is used to characterize the network edge of the ad hoc network; and to determine the role of each terminal device in the ad hoc network according to the performance parameters of each terminal device included in the ad hoc network, wherein the role of the terminal device in the ad hoc network is a regular node, a coordinator node, or a relay node; wherein the network configuration information includes the boundary information and / or information used to indicate the role of each terminal device in the ad hoc network.
[0106] As one possible implementation, the device 700 further includes: a communication test module 704, used to perform communication tests on the self-organizing network after each terminal device has built the self-organizing network according to the corresponding networking configuration information; and to determine the communication connection mode between the terminal devices included in the self-organizing network when the communication test is successful as the target communication connection mode between the terminal devices included in the self-organizing network, so that each terminal device included in the self-organizing network can interact through the target communication connection mode.
[0107] As one possible implementation, the communication test module 704 is also used to determine the communication connection method between each terminal device in the self-organizing network according to the business scenario before performing communication side-view on the self-organizing network.
[0108] As one possible implementation, the business scenarios include media resource synchronization scenarios and / or signaling synchronization scenarios.
[0109] In one possible implementation, the device 700 further includes: a data processing module 705, configured to obtain target data from a server corresponding to the target application; and send the target data to a target terminal device in the ad hoc network, so that the target terminal device sends the target data to a terminal device connected to the target terminal device in the ad hoc network.
[0110] The data processing module 705 is specifically used to acquire target data corresponding to the target application; and to send the target data to the target terminal device in the ad hoc network, so that the target terminal device sends the target data to the terminal device connected to the target terminal device in the ad hoc network.
[0111] For example, the data processing module 705 can obtain the target data from the server corresponding to the target application and send the target data to the terminal device corresponding to the coordinator node in the ad hoc network, so that the terminal device corresponding to the coordinator node sends the target data to the terminal device corresponding to the relay node or the terminal device corresponding to the ordinary node connected to the coordinator in the ad hoc network.
[0112] The application-based self-organizing network device provided in this embodiment can be used to implement the technical solutions of any of the foregoing method embodiments. The implementation methods and technical effects are similar, and can be referred to the detailed description of the foregoing method embodiments. For the sake of brevity, it will not be repeated here.
[0113] By way of example, this disclosure provides an electronic device.
[0114] Figure 8 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present disclosure. (Refer to...) Figure 8 As shown, the electronic device 800 provided in this embodiment includes a memory 801 and a processor 802.
[0115] The memory 801 can be a separate physical unit, connected to the processor 802 via a bus 803. Alternatively, the memory 801 and processor 802 can be integrated together, implemented in hardware, etc.
[0116] The memory 801 is used to store program instructions, and the processor 802 calls the program instructions to execute the application-based self-organizing network method provided in any of the above method embodiments.
[0117] Optionally, when some or all of the methods in the above embodiments are implemented by software, the electronic device 800 may also include only the processor 802. The memory 801 for storing programs is located outside the electronic device 800, and the processor 802 is connected to the memory via circuits / wires to read and execute the programs stored in the memory.
[0118] The processor 802 can be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
[0119] The processor 802 may further include hardware chips. These hardware chips may be application-specific integrated circuits (ASICs), programmable logic devices (PLDs), or combinations thereof. The PLDs may be complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), generic array logic (GALs), or any combination thereof.
[0120] The memory 801 may include volatile memory, such as random-access memory (RAM); the memory may also include non-volatile memory, such as flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory may also include a combination of the above types of memory.
[0121] This disclosure also provides a computer-readable storage medium (also referred to as a readable storage medium) including computer program instructions, which, when executed by at least one processor of an electronic device, cause the electronic device to implement the application-based self-organizing network method provided in any of the above method embodiments.
[0122] This disclosure also provides a computer program product including computer program instructions stored in a readable storage medium. A computer can read the computer program instructions from the readable storage medium, and the at least one processor executes the computer program instructions to enable the computer to implement the application-based ad hoc networking method provided in any of the above method embodiments.
[0123] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0124] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An application-based self-organizing network method, characterized in that, include: In response to the networking request from each terminal device based on the target application, the performance parameters of each terminal device are obtained; Based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located, obtain the networking configuration information corresponding to each terminal device. The corresponding network configuration information is sent to each of the terminal devices so that each of the terminal devices can build a self-organizing network according to the corresponding network configuration information; The step of obtaining network configuration information corresponding to each terminal device based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located includes: Based on the information of the environment in which each terminal device is located and the business scenario, the boundary information of the self-organizing network is obtained, and the boundary information is used to characterize the network edge of the self-organizing network. Based on the performance parameters of each terminal device included in the self-organizing network, the role of each terminal device in its respective self-organizing network is determined, and the role of the terminal device in its respective self-organizing network is a regular node, a coordinator node, or a relay node. The network configuration information includes the boundary information and / or information used to indicate the role of each terminal device in its respective ad hoc network.
2. The method according to claim 1, characterized in that, The step of responding to the networking request from each terminal device based on the target application and obtaining the performance parameters of each terminal device includes: In response to the networking request of each terminal device, a preset model is sent to each terminal device so that each terminal device can obtain the performance parameters of the terminal device through the preset model; Receive the performance parameters sent by each of the terminal devices.
3. The method according to claim 2, characterized in that, The performance parameters of the terminal device are obtained by the preset model through weighted calculation based on multiple input parameters corresponding to the terminal device and the weight coefficients corresponding to each input parameter. The weight coefficients corresponding to each input parameter are related to the business scenario of the terminal device.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: After each terminal device has built its own network according to the corresponding network configuration information, a communication test is performed on the self-organizing network. When the communication test is successful, the communication connection method between the terminal devices included in the self-organizing network is determined as the target communication connection method between the terminal devices included in the self-organizing network, so that each of the terminal devices included in the self-organizing network can interact through the target communication connection method.
5. The method according to claim 4, characterized in that, Before performing communication tests on the self-organizing network, the method further includes: Based on the business scenario, determine the communication connection method between each terminal device in the self-organizing network.
6. The method according to any one of claims 1, 3, or 5, characterized in that, The business scenarios include media resource synchronization scenarios and / or signaling synchronization scenarios.
7. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Obtain the target data corresponding to the target application; The target data is sent to the target terminal device in the ad hoc network, so that the target terminal device sends the target data to the terminal devices connected to the target terminal device in the ad hoc network.
8. An application-based self-organizing network device, characterized in that, include: The acquisition module is used to acquire the performance parameters of each terminal device in response to the networking request of each terminal device based on the target application. The decision module is used to obtain the networking configuration information corresponding to each terminal device based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located. The configuration module is used to send the corresponding network configuration information to each of the terminal devices, so that each of the terminal devices can build a self-organizing network according to the corresponding network configuration information; The step of obtaining network configuration information corresponding to each terminal device based on the performance parameters of each terminal device and the information of the environment in which each terminal device is located includes: Based on the information of the environment in which each terminal device is located and the business scenario, the boundary information of the self-organizing network is obtained, and the boundary information is used to characterize the network edge of the self-organizing network. Based on the performance parameters of each terminal device included in the self-organizing network, the role of each terminal device in its respective self-organizing network is determined, and the role of the terminal device in its respective self-organizing network is a regular node, a coordinator node, or a relay node. The network configuration information includes the boundary information and / or information used to indicate the role of each terminal device in its respective ad hoc network.
9. An electronic device, characterized in that, include: Memory and processor; The memory is configured to store computer program instructions; The processor is configured to execute the computer program instructions, causing the electronic device to implement the application-based self-organizing network method as described in any one of claims 1 to 7.
10. A readable storage medium, characterized in that, include: Computer program instructions; When the computer program instructions are executed by at least one processor of the electronic device, the electronic device causes the electronic device to implement the application-based self-organizing network method as described in any one of claims 1 to 7.
11. A computer program product, characterized in that, include: Computer program instructions, which are executed by a computer, cause the computer to implement the application-based self-organizing network method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
An intelligent ad hoc network technology
CN108989217A