Target network recommendation method, device and equipment, server and storage medium
By building a merged network recommendation strategy on the server side, using network data based on the historical use of different terminal devices, coordinating and scheduling target network recommendations, the problem of failure to effectively consider multiple devices in the existing technology is solved, and better network configuration and reduced network congestion are achieved.
Patent Information
- Application Number
- CN202510299314.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-05-16
AI Technical Summary
The prior art fails to effectively consider the similarity and coordination of multiple devices when selecting a target network, resulting in potentially triggering network congestion.
By building a merged network recommendation strategy on the server side, the target network recommendations are coordinated and scheduled based on the historical use network data of different terminal devices in the target shared space, so that different terminal devices can obtain better network configurations.
The global coordination of the network configurations of different terminal devices in the target shared space is achieved, reducing the possibility of network congestion and improving the overall performance of the network.
Smart Images

Figure CN120018226A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a method, apparatus, device, server and storage medium for recommending a target network. Background Art
[0002] In some implementations, data related to network selection is collected from terminal devices, and user preference information is constructed based on the network usage data, rules are constructed or models are constructed, and a network is selected as an access network or a target network for switching based on complex rules or model results. However, the problem is that only a single user is considered, and the similarity and synergy of multiple devices are not considered. If multiple devices are executed to switch to the same network according to similar strategies, network congestion may be triggered. Summary of the invention
[0003] The embodiments of the present application provide a method, apparatus, device, server and storage medium for target network recommendation, which are used to globally coordinate and schedule network recommendations for different terminal devices in a target shared space, implement target network recommendation, and enable different terminal devices in the target shared space to obtain better network configuration.
[0004] In a first aspect, the present application provides a method for recommending a target network, which is applied to a server and may include: receiving a network request sent by a first terminal device when the first terminal device is within the coverage of a target shared space, the network request including device information of the first terminal device; determining information of the target network based on the network request and a merged network recommendation strategy, the merged network recommendation strategy being constructed by the server based on historical network usage data of different terminal devices within the coverage of the target shared space, the historical network usage data including device information of different terminal devices and corresponding network information; and sending information of the target network to the first terminal device, the target network information being used for the first terminal device to access the target network for communication.
[0005] In the present technical solution, the target network of the first terminal device is determined by the server based on the network usage request of the first terminal device and the merged network recommendation strategy, and the merged network recommendation strategy is constructed by the server based on the historical network usage data of different terminal devices within the coverage of the target shared space. Therefore, it is possible to globally coordinate and schedule network recommendations for different terminal devices within the target shared space, realize target network recommendations, and enable different terminal devices within the target shared space to obtain better network configurations.
[0006] A second aspect of the present application provides a method for target network recommendation, which is applied to a first terminal device. The method may include: when detecting that the first terminal device is within the coverage of a target shared space, sending a network request to a server, the network request including device information of the first terminal device; receiving target network information sent by the server, the target network information is determined by the server based on the network request and a merged network recommendation strategy, the merged network recommendation strategy is constructed by the server based on historical network usage data of different terminal devices within the coverage of the target shared space; and accessing the target network for communication based on the target network information.
[0007] In the present technical solution, the first terminal device sends a network request to the server, and the target network of the first terminal device is determined by the server according to the network request of the first terminal device and the merged network recommendation strategy, and the merged network recommendation strategy is constructed by the server according to the historical network usage data of different terminal devices within the coverage of the target shared space. Therefore, it is possible to globally coordinate and schedule network recommendations for different terminal devices within the target shared space, realize target network recommendation, and enable different terminal devices within the target shared space to obtain better network configuration.
[0008] A third aspect of the present application provides a device for target network recommendation, which is applied to a server and may include:
[0009] A receiving module, configured to receive a network request sent by a first terminal device when the first terminal device is within the coverage of a target shared space, wherein the network request includes device information of the first terminal device;
[0010] a processing module, configured to determine information of a target network according to the network request and a merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to historical network usage data of different terminal devices within the coverage of the target shared space, wherein the historical network usage data includes device information of different terminal devices and corresponding network information;
[0011] A sending module is used to send the information of the target network to the first terminal device, and the information of the target network is used for the first terminal device to access the target network for communication.
[0012] A fourth aspect of the present application provides a device for recommending a target network, which is applied to a first terminal device and may include:
[0013] A sending module, configured to send a network request to a server when detecting that the first terminal device is within the coverage of a target shared space, wherein the network request includes device information of the first terminal device;
[0014] a receiving module, configured to receive target network information sent by the server, wherein the target network information is determined by the server according to the network request and a merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to historical network usage data of different terminal devices within the coverage of the target shared space;
[0015] The processing module is used to access the target network for communication according to the information of the target network.
[0016] In a fifth aspect of the present application, a server is provided, comprising a memory, one or more processors, and a transceiver, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code comprises computer instructions, and when the processor executes the computer instructions, the terminal device executes any one of the methods described in the first aspect.
[0017] In a sixth aspect of the present application, a terminal device is provided, comprising a memory, one or more processors, and a transceiver, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code comprises computer instructions, and when the processor executes the computer instructions, the terminal device executes any one of the methods described in the second aspect.
[0018] In another aspect of the present application, a chip is provided, which includes a processor, a memory, and a display. The processor may be a logic circuit, an integrated circuit, or a general-purpose processor, etc. The memory stores instructions. The processor may implement any of the methods in the first or second aspects above by reading software codes stored in the memory. The memory may be integrated in the processor, or may be located outside the processor and exist independently.
[0019] On the other hand, the present application provides a chip system, which is applied to a terminal device, the chip system includes one or more interface circuits and one or more processors, and a display, the interface circuit and the processor are interconnected via a line, the interface circuit is used to receive a signal from the memory of the terminal device and send the signal to the processor, the signal includes a computer instruction stored in the memory, when the processor executes the computer instruction, the terminal device executes any one of the methods of the first aspect or the second aspect.
[0020] In yet another aspect of the present application, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute any one of the methods described in the first or second aspect above.
[0021] In yet another aspect of the present application, a computer-readable storage medium is provided, which stores a computer program (also referred to as code or instruction) which, when executed on a computer, enables the computer to execute any of the methods described in the first or second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained based on these drawings.
[0023] Figure 1A A schematic diagram of a scenario applied in an embodiment of the present application;
[0024] Figure 1B A schematic diagram of another scenario applied by the embodiment of the present application;
[0025] Figure 2 A schematic diagram of an embodiment of a method for target network recommendation in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of another embodiment of the method for target network recommendation in an embodiment of the present application;
[0027] Figure 4A A schematic diagram of a process for constructing a knowledge graph for the current device in an embodiment of the present application;
[0028] Figure 4B A schematic diagram of a process for merging network recommendation strategies corresponding to different terminal devices to form a merged network recommendation strategy in an embodiment of the present application;
[0029] Figure 5A A schematic diagram of an embodiment of a device recommended by a target network in an embodiment of the present application;
[0030] Figure 5B This is a schematic diagram of an embodiment of a server in an embodiment of the present application;
[0031] Fig. 6A A schematic diagram of an embodiment of a device recommended by a target network in an embodiment of the present application;
[0032] Figure 6B This is a schematic diagram of an embodiment of a terminal device in an embodiment of the present application;
[0033] Figure 7 This is another schematic diagram of an embodiment of the server in the embodiment of the present application;
[0034] Figure 8 This is another schematic diagram of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The embodiments of the present application provide a method, apparatus, device, server and storage medium for target network recommendation, which are used to globally coordinate and schedule network recommendations for different terminal devices in a target shared space, implement target network recommendation, and enable different terminal devices in the target shared space to obtain better network configuration.
[0036] In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.
[0037] The following is a brief description of some terms involved in this application, as follows:
[0038] Knowledge Graph is a structured semantic knowledge base that is used to describe concepts and their relationships in the physical world in symbolic form. Its basic components are "entity-relationship-entity" triples, as well as entities and their related attribute-value pairs. Entities are connected to each other through relationships to form a network of knowledge structures.
[0039] Wireless Local Area Network (WLAN) is a local area network that does not use any wires or transmission cables to connect, but uses radio waves or electric and magnetic fields as the medium for data transmission. The transmission distance is generally only a few dozen meters. The most common standards for wireless LANs are the 802.11 series of standards defined by IEEE, as well as a series of national network security standard structures (Wireless LAN Authentication and Privacy Infrastructure, WAPI) that have been promulgated since 2003.
[0040] The Institute of Electrical and Electronics Engineers (IEEE) is an international association of electrical and electronics engineers established on January 1, 1963. It is also one of the largest professional technical organizations in the world.
[0041] Mobile hotspot (Wi-Fi CERTIFIED), a technology of wireless LAN WALN, is a trademark of the Wi-Fi Alliance, a wireless LAN technology based on the IEEE 802.11 standard.
[0042] 3G / 4G / 5G / 6G, third / fourth / fifth / sixth generation mobile communication technology.
[0043] The Global System for Mobile Communications (GSM), also known as the pan-European digital mobile phone system, is the most widely used mobile phone standard.
[0044] Subscriber Identity Module (SIM), commonly known as "SIM card" or "phone card", is a smart card mainly used to store user identification information, text message data and phone numbers.
[0045] Reinforcement Learning (RL) is a field in machine learning that emphasizes how to act based on the environment to maximize expected benefits.
[0046] Quality of experience (QoE), also known as "user experience quality", refers to the user's subjective perception of the quality and performance of devices, networks, systems, applications or services.
[0047] Quality of Service (QoS) refers to a network's ability to use various basic technologies to provide better service capabilities for specified network communications. It is a network security mechanism and a technology used to solve problems such as network delays and congestion.
[0048] A network access point (AP), also known as an access point, allows wireless workstations within the coverage area of the access point to communicate with each other.
[0049] Wireless Fidelity hotspot (Wi-Fi hotspot), including sharing the network through Wi-Fi hotspot and Wi-Fi hotspot for local use only. Users can turn on the hotspot on the device to share the device's network. AP mode means that the terminal turns on network sharing and is in a mode of providing wireless access services.
[0050] Station (STA), each terminal connected to the wireless network (such as laptops, personal digital assistants (PDA) and other user devices that can be connected to the network) can be called a station. STA mode (STA mode), the terminal is in the mode of accessing the wireless network.
[0051] Received Signal Strength Indication (RSSI), an optional part of the wireless transmission layer, is used to determine the link quality and whether to increase the broadcast transmission strength.
[0052] Basic Service Set Identifier (BSSID), BSSID refers to the Media Access Control Address (MAC) address of the station.
[0053] The Physical Cell Identifier (PCI) is used by 4G / 5G terminals to distinguish the wireless signals of different cells. It directly determines the location of the main synchronization signal and reference signal used by each cell. It is the first network-side information identified when the terminal is turned on or initially accesses a cell.
[0054] The cell identity (Cell Identity, CID) is obtained from the subsequent system broadcast message after the terminal completes synchronization with the base station and identifies the PCI. It is the basis for realizing terminal global roaming and mobility management.
[0055] Absolute Radio Frequency Channel Number (ARDCN) is a numbering scheme used to identify specific radio frequency channels in the GSM wireless system. It describes two physical radio system links and channels on the Um interface of the GSM wireless network system. One is used for uplink and the other is used for downlink.
[0056] The existing network switching implementation scheme is usually between cellular cells. The terminal equipment changes to other cells through cell reselection, switching, redirection, etc., and switches to another network when there is a poor signal between the cellular and WLAN or within the WLAN. Network selection based on user preferences usually uses historical statistical data collected over a short period of time, such as collection time, location, network quality, application (application, APP) used, user usage time, etc., and then uses certain simple rules to find the network that best meets the rules in the historical records, and selects a network as the access network or switching target network.
[0057] In one implementation, an access network selection device and method based on a hidden Markov model are proposed. Based on the user's service characteristic sensitive needs and network status characteristics, optimized access network selection is performed for users in the common coverage area of heterogeneous wireless networks, thereby achieving user service quality (QoS) guarantee and network performance optimization. Among them, the user's service characteristic sensitive needs are determined based on application status and usage preference analysis, and the optimized access network selection is to optimize the hidden Markov model modeling of each access network based on the user's historical data and current network status information, and then select the access network. It supports network integration mode, is suitable for heterogeneous wireless network environments, and can effectively realize adaptive and intelligent network access based on network steady-state information and user service needs.
[0058] In another implementation, a method and device for determining a network selection strategy are provided, specifically, a first network device obtains first network selection preference information, and determines a network selection strategy based on the information. The first network selection preference information is the network selection preference information of the first terminal, and the information includes a learning result obtained after learning data related to the terminal network selection, and the network selection strategy is used to determine the wireless management strategy of the first terminal. The core network device can determine the network selection strategy for the terminal based on the network selection preference information of the terminal, and globally consider various influencing factors, so that the network finally selected by the terminal can ensure user experience and avoid negative impact on the entire network.
[0059] In another implementation, a network preference prediction method, apparatus, device, medium, and program product are proposed. First, a network preference prediction model constructed based on network preference parameters is obtained, wherein the network preference parameters include operation data related to network usage performed by the user. Then, the network usage parameters of the target user are obtained, and the network preference prediction results are determined according to the network usage parameters and the network preference prediction model. The network currently preferred to be used by the target user is determined according to the network preference prediction results. The method can take into account the operation data related to network usage performed by the user and the network usage parameters of the user in the process of determining the network currently preferred to be used by the user, thereby improving the accuracy of the prediction of the network currently preferred to be used by the user.
[0060] However, no matter whether the above scheme is obtained from the terminal device or directly learned and obtained based on the user's network selection related data on the network device side, the network selection related data is collected from the terminal device, and user preference information is constructed based on the network usage data, rules are constructed or models are constructed, and based on complex rules or model results, a network is selected as an access network or a switching target network.
[0061] However, the problem is that it only considers a single user, and does not consider the behavioral similarity and coordination of multiple users in a shared space, as well as the behavioral similarity and coordination between multiple devices of a single user; if multiple devices are switched to the same network according to similar strategies, it may trigger network congestion.
[0062] In the present technical solution, the target network of the first terminal device is determined by the server based on the network usage request of the first terminal device and the merged network recommendation strategy, and the merged network recommendation strategy is constructed by the server based on the historical network usage data of different terminal devices within the coverage of the target shared space. Therefore, it is possible to globally coordinate and schedule network recommendations for different terminal devices within the target shared space, realize target network recommendations, and enable different terminal devices within the target shared space to obtain better network configurations.
[0063] In some possible implementations, the target sharing space may include a trusted sharing space and an untrusted sharing space. For example, the trusted sharing space may include a family sharing space, such as Figure 1A As shown in FIG. 1 , a schematic diagram of a scenario in which the embodiment of the present application is applied is shown. Untrusted shared spaces may include company shared spaces, conference room shared spaces, station shared spaces, conference room shared spaces, etc. Figure 1B Shown is another schematic diagram of a scenario applied in an embodiment of the present application.
[0064] In the embodiment of the present application, the terminal device may be a mobile phone, a tablet computer, a television, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self driving, a wireless terminal device in remote medical, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.
[0065] As an example but not limitation, in the embodiment of the present application, the terminal device can also be a wearable device with a display interface. Wearable devices can also be called wearable smart devices, which are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0066] The technical solution of the present application is further described below by way of embodiments. Figure 2 As shown, it is a schematic diagram of an embodiment of the method for target network recommendation in an embodiment of the present application, which may include:
[0067] 201. When it is detected that the first terminal device is in the coverage of the target shared space, a network request is sent to a server, where the network request includes device information of the first terminal device.
[0068] Exemplarily, one of the devices within the coverage of the target shared space is taken as an example, and the first terminal device is taken as an example for explanation. The first terminal device can be in a network connected state or in a network disconnected state. The network here can refer to mobile data, wireless fidelity (WiFi), or a mobile data hotspot, or a WiFi hotspot, etc.
[0069] Optionally, regarding the network request, one understanding is that the terminal device is not connected to the network and needs to connect to the network, and another understanding is that the terminal device is already connected to the network and needs to switch networks. When it is detected that the first terminal device is within the coverage of the target shared space, a network request is sent to the server, and the server receives the network request sent by the first terminal device.
[0070] In some possible implementations, when the first terminal device detects that the first terminal device is in the coverage of the target shared space, sending a network request to the server may include:
[0071] The first terminal device sends a network request to the server when detecting that the first terminal device is in the coverage of the target shared space and when detecting that the first terminal device is not connected to the network; or,
[0072] The first terminal device, when detecting that the first terminal device is within the coverage of the target shared space and when detecting that the first terminal device is not connected to the network, outputs a prompt message indicating that the network is not connected, responds to the user's network operation, and sends a network request to the server; or
[0073] The first terminal device, upon detecting that the first terminal device is within the coverage of the target shared space and is currently connected to the first network, responds to the user's network switching operation and sends a network request to the server; or,
[0074] The first terminal device sends a network request to the server when detecting that the first terminal device is in the coverage of the target shared space and is currently connected to the first network and detecting that the current network quality is less than the network quality threshold; or,
[0075] The first terminal device sends a network request to the server when detecting that the first terminal device is in the coverage of the target shared space and switches from the connected first network to the second network (system triggered switching or user triggered switching).
[0076] In this technical solution, several specific implementation methods are provided for the first terminal device to send a network request to the server when detecting that the first terminal device is in the coverage of the target shared space, so that the server can determine the target network according to the network request and the merged network recommendation strategy.
[0077] Optionally, when the first terminal device detects that the first terminal device is in the coverage of the target shared space, the first terminal device may generate a network request and then send the network request to the server.
[0078] The device information of the first terminal device is described below, as shown below:
[0079] In some possible implementations, the device information of the first terminal device may include at least one of the following: current network switching behavior data, current interaction behavior data, current device usage data, and foreground application usage data.
[0080] (1) Current network switching behavior data: including current user network switching behavior data and current system network switching behavior data.
[0081] For example, the current user network switching behavior data is the network switching behavior data currently performed by the user, which may include the user's operation of turning on or off different access networks, the user's operation of turning on or off the airplane mode, or the user's operation of entering a WiFi password, etc.
[0082] For example, the system network switching behavior data may include: upon detecting that the communication quality of the currently connected WiFi network is poor, switching to mobile data.
[0083] (2) Current interaction behavior data: for example, turning on a WiFi hotspot or turning on a mobile data hotspot.
[0084] (3) The current device usage data may include at least one of the following: the remaining power of the first terminal device, the time period to which the first terminal device sends the network usage request, the date type, the duration of use of the first terminal device on that day, the screen-on time, the number of unlocking times, the WiFi connection duration, the mobile data usage, etc.
[0085] If the remaining power of the first terminal device is less than or equal to the remaining power threshold, the server will try to avoid recommending mobile data, because the remaining power of the first terminal device is running low, and using mobile data will speed up the consumption of the remaining power of the first terminal device. Therefore, the server will try to recommend WiFi data. If the remaining power of the first terminal device is greater than the remaining power threshold, both WiFi data and mobile data are recommended, and the server will select the one with better communication quality as the target network.
[0086] The time period to which the first terminal device sends the network request belongs, and the date type. For example, the time period can be divided into working time period, off-get off work time period, and rest time period. The date type can be divided into working days and rest days (including statutory holidays). The target shared space is a family shared space. The time period when the first terminal device sends the network request belongs to 6:00-11 o'clock in the evening, which is off-get off work time. So, at this time, usually, family members go home from get off work. The number of people using WiFi has increased. At this time, when the server recommends the target network, it can consider the number of people connected to the WiFi network, and then consider whether to recommend the WiFi network or mobile data as the target network.
[0087] (4) Foreground application usage data includes: the type of application running in the foreground, the duration of use on the day, the frequency of use, etc.
[0088] In this technical solution, various descriptions are given to the device information of the first terminal device, which facilitates understanding of the device information of the first terminal device and improves the feasibility of the solution.
[0089] In some possible implementations, the device information of the first terminal device includes at least one of a device identifier of the first terminal device, a device type, an application APP type running in the foreground, and an identifier of a user logging into the first terminal device, which is used to determine the priority of the first terminal device.
[0090] Exemplarily, the priority of the first terminal device may be determined by the device identification of the first terminal device. For example, a terminal device priority list may be set in advance, so that the priorities of different terminal devices are determined according to the priority list.
[0091] The priority of the first terminal device can be determined by the device type. For example, if it is working time, the priority of the computer is higher than that of the mobile phone. The computer is needed for work. At this time, if the devices applying for the network at the same time are a mobile phone and a computer, then the priority of the computer is higher than that of the mobile phone.
[0092] The priority of the first terminal device can be determined by the type of APP used in the foreground. For example, if the APP currently used by the user has high network requirements, then the priority is relatively high; if the APP currently used by the user has low network requirements, then the priority is relatively low.
[0093] The priority of the first terminal device can be determined by the user identification of the first terminal device, and then used by the server to determine the target network information according to the priority of the first terminal device and the merged network recommendation strategy. For example, the levels corresponding to the user identification can be divided into primary users, advanced users and VIP (very important person) level users. Then, the higher the corresponding level, the higher the priority of the first terminal device.
[0094] In the present technical solution, at least one of the device identification of the first terminal device, the device type, the identification of the user who logs into the first terminal device, and the type of the application APP running in the foreground can be used to determine the priority of the first terminal device, so that the server can recommend the target network of the first terminal device according to the priority of the first terminal device and the combined network recommendation strategy.
[0095] In some possible implementations, the device identifier of the first terminal device, or the user identifier for logging into the first terminal device, can also be used by the server to determine the first user portrait that matches the network request, and then the server can determine the information of the target network based on the first user portrait and the merged network recommendation strategy.
[0096] In this technical solution, the device identifier of the first terminal device can be used as a unique identifier to indicate the corresponding terminal device, and the user identifier who logs in to the first terminal device can be used as a unique identifier to indicate the user using the terminal device.
[0097] 102. The server determines the information of the target network based on the network usage request and the merged network recommendation strategy. The merged network recommendation strategy is constructed by the server based on the historical network usage data of different terminal devices within the coverage of the target shared space. The historical network usage data includes device information of different terminal devices and corresponding network information.
[0098] In some possible implementations, the historical network data of different terminal devices includes first historical network data of the first terminal device.
[0099] In the present technical solution, if the historical network data of different terminal devices includes the first historical network data of the first terminal device, then the merged network recommendation strategy also includes the first network recommendation strategy corresponding to the first terminal device. When the server recommends a network for the first terminal device, it can recommend a target network that satisfies the first terminal device based on the merged network recommendation strategy. Considering that the merged network recommendation strategy includes the network recommendation strategies of different terminal devices, it is possible to globally coordinate and schedule network recommendations for different terminal devices in the target shared space to achieve target network recommendations, so that different terminal devices in the target shared space can obtain better network configurations.
[0100] Exemplarily, each terminal device within the coverage of the target shared space can collect data to obtain historical network usage data, and then build a network recommendation strategy based on the historical network usage data, for example: the network recommendation strategy includes a knowledge graph and / or a model. That is, the data collection module can be deployed in each device participating in the collaborative optimization of communications within the target shared space, and the devices here can include the user's personal terminal devices. For example: the user's personal terminal device is a mobile phone, watch, tablet, computer, etc. Optionally, the shared network devices in the target shared space can also be used. The shared network devices in the target shared space are access points (AP), switches, cells (Cell, a cell can be understood as a base station), etc.
[0101] In some possible implementations, the historical network usage data may include at least one of the following: network switching behavior data, interaction behavior data, device usage data, and application usage data.
[0102] 1) Network switching behavior data includes user network switching behavior data and system network switching behavior data.
[0103] (1) User network switching behavior data
[0104] Optionally, the user network switching behavior data may include operations performed by the user on turning on or off different access networks, operations performed by the user on turning on or off airplane mode, or operations performed by the user on entering a WiFi password.
[0105] For example, to turn WiFi on or off, the user manually turns on or off the WiFi button in the settings. To turn cellular on or off, the user manually turns on or off data traffic in the settings. To change the WiFi access AP (ACCESS POINT, network access point), the user manually changes the WiFi access AP in the settings, such as switching from WiFi1 to WiFi2. To enter the WiFi password, the user manually enters the password of a new AP and successfully connects. To turn 5G on or off, the user turns on or off the 5G option in the settings. When it is turned off, the terminal device cannot access the 5G cellular network. To manually switch cards, when the user has more than one SIM card, the user manually selects the SIM card to switch the data traffic. To turn flight mode on or off, the user manually turns flight mode on or off. When flight mode is turned on, if the user does not turn on the WiFi switch, both WiFi and cellular networks are unavailable. If the user chooses to turn on the WiFi switch or the terminal device defaults to flight mode and does not affect the WiFi connection, the WiFi network is available.
[0106] (2) System network switching behavior data
[0107] Example 1: During video playback, the system of the user device detects that the current Wi-Fi signal is weak and automatically switches to the mobile data network to ensure smooth video playback.
[0108] Example 2: In an LTE network, a terminal device switches from one base station to another to maintain communication continuity.
[0109] Example 3: The system switches the user equipment from a high-load base station to a low-load base station in advance based on network quality prediction.
[0110] 3) Interaction behavior data
[0111] Example 1: The user turns on the WiFi hotspot, turns on the mobile data hotspot, turns off the WiFi hotspot, turns off the mobile data hotspot, etc.
[0112] Example 2: Sharing the location of terminal devices.
[0113] 4) Device usage data
[0114] The device usage data may include at least one of the following: the remaining power of the terminal device, the time period when the terminal device sends the network request, the date type, the length of time the terminal device is used on that day, the screen on time, the number of unlocking times, the WiFi connection time, the mobile data usage, etc.
[0115] If the remaining power of different terminal devices is less than or equal to the remaining power threshold, the server will try to avoid recommending mobile data, because the remaining power of different terminal devices is running low, and using mobile data will speed up the consumption of the remaining power of different terminal devices. Therefore, the server will try to recommend WiFi data. If the remaining power of different terminal devices is greater than the remaining power threshold, both WiFi data and mobile data are recommended. The server will select the one with better communication quality as the target network.
[0116] The time period and date type to which the network request is sent by different terminal devices. For example, the time period can be divided into working time period, off-get off work time period and rest time period. The date type can be divided into working days and rest days (including statutory holidays). The target shared space is a family shared space. The time period when different terminal devices send network requests is from 6:00 pm to 11:00 pm, which is off-get off work time. At this time, usually, family members go home from get off work. The number of people using WiFi has increased. At this time, when the server recommends the target network, it can consider the number of people connected to the WiFi network, and then consider whether to recommend the WiFi network or mobile data as the target network.
[0117] Example 1: The length of time a user uses their phone every day, the screen-on time, the number of times the phone is unlocked, etc.
[0118] Example 2: The power consumption of the device, such as the power consumption of different applications or functions (such as Bluetooth, GPS).
[0119] Example 3: The device's network connection status, such as Wi-Fi connection duration and cellular data usage.
[0120] 5) Foreground application usage data
[0121] Including the type of application running in the foreground, usage time and frequency of use on that day, etc.
[0122] Example 1: The frequency with which users use applications in different time periods, such as using office software during work hours and entertainment applications during breaks.
[0123] Example 2: App usage time and feature usage, such as the time spent watching videos of different resolutions in a video app.
[0124] Example 3: Background operation of applications, such as some applications automatically updating data in the background.
[0125] These instances can help terminal devices better understand user behavior and system status, thereby optimizing data collection and analysis strategies.
[0126] In some possible implementations, the device information of different terminal devices may further include at least one of the following: the remaining power of different terminal devices, the time period to which the different terminal devices send the network request, and the date type.
[0127] In this technical solution, various explanations are given for the historical network usage data of different terminal devices, which can improve the accuracy of the combined recommended network strategy constructed based on the historical network usage data of different terminal devices. Therefore, in the network recommendation process, a more feasible network can be more accurately recommended to each terminal device within the coverage of the target shared space.
[0128] It should be noted that the above description is for the historical network usage data of different terminal devices. In actual use, the historical network usage data of different terminal devices may also include other information, which will not be listed here one by one.
[0129] In some possible implementations, the device information of the different terminal devices includes at least one of the device identification, device type, application APP type running in the foreground, and user identification of the different terminal devices, which is used to determine the priority of the different terminal devices.
[0130] Exemplarily, the priorities of different terminal devices may be determined by the device identifications of different terminal devices. For example, a terminal device priority list may be set in advance according to the device identifications of different terminal devices, so that the priorities of different terminal devices may be determined later according to the priority list.
[0131] The priority of different terminal devices can be determined by device type. For example, if it is working time, the priority of the computer is higher than that of the mobile phone. The computer is needed for work. At this time, if the devices applying for the network at the same time are mobile phones and computers, then the priority of the computer is higher than that of the mobile phone.
[0132] The priority of different terminal devices can be determined by the type of APP used in the foreground. For example, if the APP currently used by the user has high network requirements, then the priority is higher; if the APP currently used by the user has low network requirements, then the priority is lower.
[0133] The priorities of different terminal devices can be determined by the user IDs that log in to different terminal devices, and then used by the server to determine the target network information based on the priorities of different terminal devices and the merged network recommendation strategy. For example, the levels corresponding to the user IDs can be divided into primary users, advanced users, and VIP (very important person) level users. Then, the higher the corresponding level, the higher the priority of the different terminal devices determined.
[0134] In the present technical solution, at least one of the device identification, device type, user identification of different terminal devices, and application APP type running in the foreground can be used to determine the priority of different terminal devices, so that the server can recommend target networks for different terminal devices based on the priority of different terminal devices and the merged network recommendation strategy.
[0135] In some possible implementations, the device identifiers of different terminal devices, or the user identifiers for logging into different terminal devices, are also used to identify corresponding different user portraits.
[0136] In this technical solution, the device identifiers of different terminal devices can be used as unique identifiers to indicate the corresponding terminal devices, and the user identifiers for logging into different terminal devices can be used as unique identifiers to indicate the users using the terminal devices.
[0137] In some possible implementations, the device information of the different terminal devices includes at least one of the following:
[0138] Different terminal devices have the same device type and the same or different logged-in user IDs;
[0139] Different terminal devices have different device types, and the logged-in user IDs may be the same or different.
[0140] Exemplarily, terminal devices within the coverage of the target shared space can collect historical network data of the same user and / or different users using the same and / or different device types, and report it to the server. The server can integrate the historical network data of multiple terminal devices in the same target shared space. The behaviors of multiple users may have certain similarities and influence each other.
[0141] In this technical solution, when originally collecting and integrating the historical network data of different terminal devices within the coverage of the target shared space to form a merged network recommendation strategy, various possibilities are covered as much as possible to ensure the subsequent use of the merged network recommendation strategy. When recommending the target network, the better network for each device within the coverage of the target shared space can be accurately and quickly recommended for use.
[0142] In some possible implementations, the user identities used to log in to different terminal devices are the same or different.
[0143] Exemplarily, terminal devices within the coverage of the target shared space can collect historical usage data of the same user on different terminal devices, or collect historical usage data of different users on different terminal devices, and report them to the server. The server can integrate the historical network data of multiple terminal devices in the same target shared space. The behaviors of multiple users may have certain similarities and influence each other.
[0144] In this technical solution, when originally collecting and integrating the historical network data of different terminal devices within the coverage of the target shared space to form a merged network recommendation strategy, various possibilities are covered as much as possible to ensure the subsequent use of the merged network recommendation strategy. When recommending the target network, the better network for each device within the coverage of the target shared space can be accurately and quickly recommended for use.
[0145] In some possible implementations, the network information corresponding to different terminal devices may include network types and network identifiers used by the different terminal devices.
[0146] Exemplary, for example: the network type includes an operator, a frequency band, etc.; the network identifier includes a CID (Cell Identifier), a BSSID (Basic Service Set Identifier), etc.
[0147] In the present technical solution, the network information corresponding to different terminal devices is described, so that the network can be accurately accessed or switched according to the network information.
[0148] In some possible implementations, determining the target network information according to the network request and the merged network recommendation strategy may include but is not limited to the following implementations:
[0149] (1) According to the network request and the merged network recommendation strategy, determine the first optimal network under the current network state as the target network.
[0150] Exemplarily, the network request carries the device identification of the first terminal device, and the server performs unified scheduling according to the merged network recommendation strategy, and determines the first optimal network in the current network state as the target network in a first-come, first-served manner. Alternatively, the network request carries the device identification and device type of the first terminal device, such as mobile phone, tablet, or computer information; the server performs unified scheduling according to the merged network recommendation strategy, and determines the first optimal network in the current network state as the target network in a first-come, first-served manner. Alternatively, the network request carries the device identification of the first terminal device and the type of APP used in the foreground, and the server performs unified scheduling according to the merged network recommendation strategy, and determines the optimal network of the APP type used in the foreground of the first terminal device in the current network state as the target network in a first-come, first-served manner. Alternatively, the network request carries the device identification, device type and APP type used in the foreground of the first terminal device, and the server performs unified scheduling according to the merged network recommendation strategy, and determines the optimal network of the device type of the first terminal device and the APP type used in the foreground in the current network state as the target network in a first-come, first-served manner.
[0151] For example, the target shared space includes a WiFi that supports access by 5 terminal devices. When the first terminal device sends a network request, the WiFi has already accessed 5 terminal devices, so the target network recommended by the server to the first terminal device is the mobile data of the first terminal device.
[0152] or,
[0153] (2) According to the network request and the merged network recommendation strategy, as well as the network request of the terminal device currently connected to the network, determine the second optimal network for the first terminal device as the target network.
[0154] Exemplarily, the network request carries the device identification of the first terminal device, and the server performs unified scheduling based on the network request of the first terminal device, combined network recommendation strategy, and network requests of terminal devices currently connected to the network. That is, the server needs to consider the network request of the first terminal device and the network request of the terminal devices currently connected to the network, and perform unified scheduling, combine and calculate the optimal network for the first terminal device and the terminal devices currently connected to the network, and allocate them to each terminal device for network adjustment, and use the optimal network corresponding to the first terminal device determined at this time as the target network. Alternatively, the network request carries the device identification and device type of the first terminal device, or the network request carries the device identification of the first terminal device and the type of APP used in the foreground, or the network request carries the device identification, device type, and type of APP used in the foreground of the first terminal device, all of which can be referred to the above description and will not be repeated here.
[0155] For example, the target shared space includes a WiFi that supports access by 5 terminal devices. When the first terminal device sends a network request, the WiFi has already been connected to 5 terminal devices. Therefore, the target network recommended by the server to the first terminal device also needs to consider WiFi. If the communication quality of WiFi is better than that of mobile data, then although WiFi is fully connected, the server will conduct a comprehensive evaluation based on the network requests of the 5 terminal devices connected to WiFi, and switch the network of one of the terminal devices from WiFi to the second-best mobile data, so that the first terminal device can access the WiFi.
[0156] or,
[0157] (3) determining a third optimal network according to the network request and a first network recommendation policy corresponding to the first terminal device, and using the third optimal network as the target network when the third optimal network is not accessed by other terminal devices or the number of accesses to the third optimal network does not exceed a first preset number.
[0158] Exemplarily, the network request carries the device identification of the first terminal device, and the server determines the third optimal network according to the network request of the first terminal device and the first network recommendation policy corresponding to the first terminal device, and then determines whether the third optimal network is accessed by other terminal devices. If it is not accessed by other terminal devices, or the number of accesses does not exceed the first preset number, the third optimal network is used as the target network. That is, in the target shared space, each terminal device determines the optimal network based on its own network recommendation policy.
[0159] or,
[0160] (4) Determine a fourth optimal network based on the network request, the first network recommendation policy corresponding to the first terminal device, and the priority of the first terminal device, and use the fourth optimal network as the target network. The priority of the first terminal device is determined by the device information of the first terminal device.
[0161] Exemplarily, the network request carries the device identification of the first terminal device, and the server determines the fourth optimal network as the target network according to the network request of the first terminal device, the first network recommendation policy corresponding to the first terminal device, and the priority of the first terminal device. That is, in the target shared space, each terminal device determines the optimal network based on its own network recommendation policy and priority.
[0162] Optionally, the priority of the first terminal device is positively correlated with the target network. For example, the higher the priority of the first terminal device, the better the communication quality of the fourth optimal network, and the lower the priority of the first terminal device, the worse the communication quality of the fourth optimal network.
[0163] In some possible implementations, taking the fourth optimal network as the target network may include: taking the fourth optimal network as the target network when the fourth optimal network is not accessed by other terminal devices or the number of accesses does not exceed a second preset number.
[0164] Exemplarily, the network request carries the device identification of the first terminal device, and the server determines the fourth optimal network based on the network request of the first terminal device, the first network recommendation policy corresponding to the first terminal device and the priority of the first terminal device, and then determines whether the fourth optimal network is accessed by other terminal devices. If it is not accessed by other terminal devices, or the number of accesses does not exceed the second preset number, the fourth optimal network is used as the target network.
[0165] In some possible implementations, the method may further include: when the third optimal network is accessed by other terminal devices, or when the number of accesses to the third optimal network exceeds a first preset number, sending a first switching request to other terminal devices so that the other terminal devices migrate to a suboptimal network and determine the third optimal network as the target network.
[0166] Exemplarily, within the target shared space, each terminal device obtains the current optimal network based on its own network recommendation strategy; if the current optimal network is occupied by other terminal devices, a switching instruction can be sent to the shared space management module in the server to cause the terminal device occupying the current optimal network to switch and migrate to a suboptimal network.
[0167] In some possible implementations, the method may further include: when the fourth optimal network is accessed by other terminal devices, or when the number of accesses to the fourth optimal network exceeds a second preset number, sending a second switching request to the other terminal devices so that the other terminal devices migrate to the suboptimal network and determine the fourth optimal network as the target network.
[0168] Exemplarily, in the target shared space, each terminal device obtains the current optimal network based on its own network recommendation strategy. Different APP types and / or different device types have the same or different network priority permissions. For high-priority APP types and / or device types, a better network is provided; if the current optimal network is occupied, a switching instruction is sent to the shared space management module in the server to switch the terminal device occupying the current optimal network and migrate to the suboptimal network. The current high-priority APP types and / or device types can be guaranteed to access the optimal network.
[0169] In this technical solution, several implementation methods are provided for the server to determine the target network of the first terminal device by merging the network recommendation strategy according to the network request of the first terminal device, and to recommend and optimize the network to provide the user with a better network for use. The target shared space includes the network recommendation strategy corresponding to each terminal device, and the network is flexibly configured based on the APP type and device type used by each user in the target shared space. The first-come-first-served priority network can be selected, or the terminal devices that have been connected to the network in the target shared space can be balanced, or the target network can be determined for the first terminal device according to the priority of the terminal device.
[0170] In some possible implementations, for a network usage request of a terminal device with the same user identifier and the same device type, it is determined that the similarity of the network recommendation strategy of the target network is less than a similarity threshold.
[0171] Exemplarily, for the same user and terminal devices of the same or similar device types, such as mobile phones or tablets, the same or similar recommendation strategies are implemented, so there is a high probability that the target networks recommended in the end are the same; for different device types, such as mobile phones and tablets, the target network is preferentially determined based on the merged network recommendation strategy.
[0172] In this technical solution, because the network usage data of users with the same user ID and devices of the same device type are basically the same, the target network can be recommended according to the same or similar network recommendation strategy.
[0173] 203. The server sends the information of the target network to the first terminal device, where the information of the target network is used for the first terminal device to access the target network for communication.
[0174] Exemplarily, the server sends information about the target network to the first terminal device, and the first terminal device receives the information about the target network sent by the server, and the information about the target network is used for the first terminal device to access the target network to communicate using the target network.
[0175] 204. The first terminal device accesses the target network for communication according to the information of the target network.
[0176] After receiving the target network information sent by the server, the first terminal device accesses the target network for communication according to the target network information.
[0177] In some possible implementations, the first terminal device accessing the target network for communication according to the information of the target network may include:
[0178] When the first terminal device is currently connected to a first network, the first network is switched to the target network for communication. Exemplarily, when the first terminal device is currently connected to a first network, it is necessary to disconnect the first network first and then connect to the target network, or to connect to the target network first and then disconnect the first network. Or,
[0179] When the first terminal device is currently connected to a first network, and the communication quality of the target network is higher than that of the first network, the first network is switched to the target network for communication. Exemplarily, when the first terminal device is currently connected to a first network, and the communication quality of the target network is higher than that of the first network, it is necessary to disconnect the first network first and then connect to the target network, or to connect to the target network first and then disconnect the first network. Or,
[0180] When the first terminal device does not have a current network to which it is connected, it can directly access the target network for communication.
[0181] When the first terminal device does not have a current network to which it is connected, it outputs a prompt message asking whether to connect to the target network, responds to the user's connection operation, and connects to the target network for communication. Or,
[0182] In the case that the first terminal device is currently connected to the first network, a prompt message is outputted asking whether to connect to the target network, and in response to the user's connection operation, communication is switched from the first network to the target network.
[0183] In this technical solution, several implementation methods for the first terminal device to access the target network for communication according to the information of the target network are specifically described, thereby improving the feasibility of the solution.
[0184] In an embodiment of the present application, when it is detected that the first terminal device is in the coverage of the target shared space, a network request is sent to the server, and the network request includes the device information of the first terminal device; the network request sent by the first terminal device in the coverage of the target shared space is received; the information of the target network is determined according to the network request and the merged network recommendation strategy; the information of the target network is sent to the first terminal device; the information of the target network sent by the server is received; and according to the information of the target network, the target network is accessed for communication. The target network of the first terminal device is determined by the server according to the network request of the first terminal device and the merged network recommendation strategy, and the merged network recommendation strategy is constructed by the server according to the historical network usage data of different terminal devices in the coverage of the target shared space, so that the network recommendation of different terminal devices in the target shared space can be coordinated and scheduled globally, and the target network recommendation is realized, so that different terminal devices in the target shared space can obtain a better network configuration, and ping-pong switching can also be effectively reduced.
[0185] like Figure 3 As shown, another embodiment schematic diagram of the method for target network recommendation in the embodiment of the present application may include:
[0186] 301. A first terminal device obtains first historical network usage data, where the first historical network usage data includes device information of the first terminal device and corresponding network information.
[0187] Each terminal device within the coverage of the target shared space can collect historical network usage data. Here, the first terminal device is used as an example for explanation. The historical network usage data collected by the first terminal device can be called the first historical network usage data. The collection period here can be one week, one month, three months, half a year, etc., depending on actual needs. The collection period can be updated according to actual needs.
[0188] The first terminal device collecting the first historical network usage data may include: the first terminal device collecting the first historical network usage data through a device sensor and a system application programming interface (Application Programming Interface, API).
[0189] In some possible implementations, the first historical network usage data is collected using at least one collection frequency.
[0190] Exemplarily, adaptive data collection technology may be used to dynamically adjust the collection frequency and scope based on the state of the first terminal device, device type, application characteristics, and environmental changes.
[0191] The status of the first terminal device may include remaining power, power on / off, network type, etc. The device type of the first terminal device may include a mobile phone, a watch, a tablet, etc. The application characteristics of the first terminal device may include bandwidth requirements, delay sensitivity, etc. The environmental changes of the first terminal device may include changes in different scenarios, or changes in different time periods, such as home-company, company-airport, company-high-speed rail station; the division of time periods may include the time period of 6 pm-9 pm, the time period of 9 pm-11 pm, the time period of 11 pm-7 am, the time period of 7 am-7 am, etc.
[0192] In this technical solution, when each terminal device within the coverage of the target shared space collects historical network usage data, the collection frequency can be adaptively adjusted.
[0193] In some possible implementations, the obtaining of the first historical network usage data may include but is not limited to the following implementations:
[0194] (1) if the existing historical network usage data collected by the first terminal device within a preset time period is greater than or equal to a preset data volume, the existing historical network usage data is used as the first historical network usage data; or,
[0195] (2) if the first terminal device does not collect the historical network usage data within a preset time period, obtaining second historical network usage data of a second terminal device within the coverage area of the target shared space as the first historical network usage data; or,
[0196] (3) when the existing historical network usage data collected by the first terminal device within a preset time period is less than the preset data amount, obtaining second historical network usage data of a second terminal device within the coverage area of the target shared space, and using the existing historical network usage data and the second historical network usage data as the first historical network usage data;
[0197] Wherein, the second terminal device has the same device type and / or user identification as the first terminal device;
[0198] (4) if the first terminal device does not collect historical network usage data within a preset time period, and if there is no terminal device with the same device type and / or user identifier as the first terminal device within the coverage of the target shared space, obtaining third historical network usage data of a third terminal device as the first historical network usage data; or,
[0199] (5) When the existing historical network usage data collected by the first terminal device within a preset time period is less than the preset data volume, and when there is no terminal device with the same device type and / or user identification as the first terminal device within the coverage of the target shared space, obtain the third historical network usage data of the third terminal device, and use the existing historical network usage data and the third historical network usage data as the first historical network usage data.
[0200] For example, if the first terminal device collects enough historical network usage data within a preset period of time, the historical network usage data can be directly used as the first historical network usage data of the first terminal device.
[0201] If the first terminal device does not collect historical network usage data within a preset period of time, it means that the first terminal device is a new terminal device, or a terminal device that has not been used for a long time. The second historical network usage data of a second terminal device of the same device type as the first terminal device within the coverage area of the target shared space can be obtained as the first historical network usage data.
[0202] If the first terminal device does not collect enough historical network usage data within a preset period of time, the second historical network usage data of a second terminal device of the same device type as the first terminal device within the coverage of the target shared space can be obtained, and the existing historical network usage data and the second historical network usage data can be used as the first historical network usage data of the first terminal device.
[0203] If the first terminal device does not collect historical network usage data within a preset period of time, it means that the first terminal device is a new terminal device, or a terminal device that has not been used for a long time. The second historical network usage data of a second terminal device with the same device type as the first terminal device within the coverage of the target shared space can be obtained. If there is no terminal device with the same device type and / or user identification as the first terminal device, the third historical network usage data of terminal devices with other device types and / or other user identifications, such as a third terminal device, can be obtained as the first historical network usage data.
[0204] If the first terminal device does not collect enough historical network usage data within a preset period of time, the second historical network usage data of a second terminal device of the same device type as the first terminal device within the coverage of the target shared space can be obtained. If there is no terminal device with the same device type and / or user identification as the first terminal device, the third historical network usage data of terminal devices of other device types and / or other user identifications, such as a third terminal device, can be obtained. The existing historical network usage data and the third historical network usage data can be used as the first historical network usage data of the first terminal device.
[0205] In the present technical solution, specific implementation methods for the first terminal device to obtain the first historical network usage data are provided for different situations, thereby improving the feasibility of the solution.
[0206] In some possible implementations, taking the existing historical network usage data and the second historical network usage data as the first historical network usage data may include: weightedly merging the existing historical network usage data and the second historical network usage data according to an acquired weight ratio to take the first historical network usage data.
[0207] Exemplarily, the obtained weight ratio can be a preset weight ratio or a user-defined weight ratio. For example, the ratio of the existing historical network usage data to the second historical network usage data is 8:2. The weighted combination is performed according to their respective weight ratios to obtain the first historical network usage data.
[0208] In the present technical solution, when constructing a first network recommendation strategy for a first terminal device, the second historical network usage data of the first terminal device and a second terminal device of the same device type, which can also be called reference data, are weightedly merged to obtain the first historical network usage data, and then the first network recommendation strategy is constructed based on the first historical network usage data, thereby improving the reliability of the constructed first network recommendation strategy when the first historical network usage data of the first terminal device is insufficient.
[0209] In a possible implementation, the first terminal device reports the first historical network usage data to the server. After receiving the historical network usage data corresponding to different terminal devices, the server constructs the historical network usage data corresponding to the different terminal devices to obtain the network recommendation strategies corresponding to the different terminal devices, and then merges them to obtain the merged network recommendation strategy; or the server first merges the historical network usage data corresponding to the different terminal devices, and then constructs them to obtain the merged network recommendation strategy. This implementation has a large communication overhead and has certain requirements on the load of different terminal devices and servers.
[0210] 302. The first terminal device constructs a first network recommendation strategy according to the first historical network usage data.
[0211] For example, the historical network usage data collected by each terminal device in the target shared space is large, and it is directly reported to the server. The server merges the historical network usage data reported by each terminal device, which has a large communication overhead. Therefore, a network recommendation strategy can be constructed on each terminal device, and then reported to the server, and the server merges multiple network recommendation strategies.
[0212] In some possible implementations, the network recommendation strategy may include a knowledge graph and / or model. That is, the knowledge graph and / or model may be constructed based on the historical network data used by each terminal device within the coverage of the target shared space, and then uploaded to the server, which then merges the data to obtain a merged knowledge graph and / or merged model.
[0213] For example, in the process of building a knowledge graph, data preprocessing is required first, that is, cleaning and formatting the historical network data; then entity relationship identification is required, that is, extracting entities and relationships from the historical network data; finally, graph database storage is performed, and a suitable graph database (such as Neo4j or ArangoDB) is selected to store the knowledge graph data. A local knowledge graph is constructed on each terminal device within the coverage of the target shared space. The nodes include user behavior, device status, application usage, network switching, etc., and the edges represent the relationship between these entities.
[0214] In some possible implementations, the acquisition of the first network recommendation strategy by the first terminal device may also include but is not limited to the following implementations:
[0215] (1) if the first terminal device does not collect historical network usage data within a preset time period, obtaining a second network recommendation strategy for a second terminal device within the coverage area of the target shared space, and using the second network recommendation strategy as the first network recommendation strategy; or,
[0216] (2) when the existing historical network usage data collected by the first terminal device within a preset time period is less than the preset data amount, obtaining a second network recommendation strategy for a second terminal device within the coverage area of the target shared space, and constructing a first network recommendation strategy based on the existing historical network usage data and the second network recommendation strategy;
[0217] Wherein, the second terminal device has the same device type and / or user identification as the first terminal device;
[0218] (3) when the first terminal device does not collect historical network usage data within a preset time period, and when there is no terminal device with the same device type and / or user identifier as the first terminal device within the coverage of the target shared space, obtaining a third network recommendation strategy of a third terminal device as the first network recommendation strategy; or,
[0219] (4) When the existing historical network usage data collected by the first terminal device within a preset time period is less than the preset data volume, and when there is no terminal device with the same device type and / or user identification as the first terminal device within the coverage of the target shared space, obtain a third network recommendation strategy for a third terminal device, and construct the first network recommendation strategy based on the existing historical network usage data and the third network recommendation strategy.
[0220] Exemplarily, the network recommendation strategy is taken as a knowledge graph as an example for explanation. For the knowledge graph of the same device type and / or the same user ID in the target shared space, there is no need to decrypt when it circulates between different terminal devices. If the first terminal device is a new terminal device or a terminal device that has not been used for a long time, it can directly obtain the knowledge graph of the same device type and / or the same user ID in the target shared space. If there is no knowledge graph of the same device type and / or the same user ID, then obtain the knowledge graph of other device types and / or other user IDs as the initial knowledge graph. When obtaining the knowledge graph of other terminal devices, detect whether the first terminal device is in a WiFi connection state. If it is in a WiFi connection state, obtain the knowledge graph of other terminal devices as the initial knowledge graph.
[0221] For the knowledge graphs between different users and different terminal devices, only the knowledge graphs in the target shared space are circulated as the local initial knowledge graph. When constructing the knowledge graph of the first terminal device, the first terminal device's existing historical network data is weighted and merged with the initial knowledge graph to generate the knowledge graph corresponding to the first terminal device, that is, the semantic map. The weighted weights can be selected according to needs or preset. For example: the initial knowledge graph accounts for 0.2, and the first terminal device accounts for 0.8. Figure 4A As shown, it is a flowchart of a first terminal device constructing a first network recommendation strategy in an embodiment of the present application.
[0222] In this technical solution, it is provided that in addition to constructing the first network recommendation strategy according to the first historical network usage data, the first terminal device can also obtain the first network recommendation strategy in other ways, thereby improving the feasibility of the solution.
[0223] 303. The first terminal device sends a first network recommendation strategy to the server.
[0224] After the first terminal device sends the first network recommendation policy to the server, the server receives the first network recommendation policy sent by the first terminal device, wherein the first network recommendation policy is constructed based on the first historical network usage data of the first terminal device, wherein the first historical network usage data includes device information of the first terminal device and corresponding network information.
[0225] In some possible implementations, the first terminal device sends the first network recommendation strategy to the server, which may include but is not limited to the following implementations:
[0226] The first terminal device sends the first network recommendation strategy to the server in real time; or,
[0227] When the preset conditions are met (for example, in a Wi-Fi environment), the first terminal device sends the first network recommendation strategy to the server.
[0228] In the present technical solution, several specific implementation methods for the first terminal device to send the first network recommendation policy to the server are provided. Among them, real-time uploading of the first network recommendation policy is suitable for scenarios with high requirements on timeliness; conditional uploading of the first network recommendation policy: such as uploading only in a Wi-Fi environment, can avoid consuming too much mobile data traffic.
[0229] In some possible implementations, the first terminal device sending the first network recommendation policy to the server may include:
[0230] In the case where the target shared space is a public shared space, sending the first network recommendation strategy to the server in an anonymous manner; or
[0231] In the case that the target shared space is a non-public shared space, the first network recommendation strategy is sent to the server in a non-anonymous manner or an anonymous manner.
[0232] When processing the upload and merging of multiple user data in the target shared space, it is necessary to flexibly select data anonymization, encrypted storage, etc. according to the type of the target shared space and the trust relationship between users. The types of target shared spaces can include public types and non-public types. The public type can also be understood as a trusted type, and the non-public type can also be understood as an untrusted type, that is, a non-trusted type.
[0233] 1) The identification of a trusted shared space (e.g., home space) can be achieved by:
[0234] (1) Identification based on system settings:
[0235] The user manually marks the trusted shared space through the device's system settings (such as home mode, trusted device list). For example, the user sets the "home network" mode on the device and marks the terminal devices under the home Wi-Fi network as trusted terminal devices.
[0236] (2) Identification based on radio frequency fingerprint signals:
[0237] Use radio frequency fingerprint signals (such as Wi-Fi signal strength and channel characteristics) to learn and identify the user's home space. The device learns the signal characteristics of the home network, and when the terminal device enters the signal range, it is automatically identified as a trusted shared space.
[0238] (3) Electronic fence technology: A virtual boundary is set by combining location information (such as GPS or Wi-Fi positioning). When a terminal device enters the home area, it is automatically marked as a trusted shared space.
[0239] 2) Identification of untrusted shared spaces: For public spaces such as airports, conference rooms, and companies, terminal devices identify them as untrusted shared spaces by default. Data processing in untrusted shared spaces requires higher privacy protection measures.
[0240] The following is an explanation of the data processing of the trusted shared space and the untrusted shared space, as shown below:
[0241] (1) Trusted shared space:
[0242] Knowledge graphs or models can be transferred and merged in a non-anonymous manner, but it is still recommended to desensitize sensitive information (such as personal identity information). Lightweight encryption can be used for data storage to ensure the security of data locally.
[0243] (2) Untrusted Shared Space:
[0244] Data anonymization: Anonymize the knowledge graph or model, remove the user identity, and retain only the behavior data. Data storage uses encrypted storage: Use strong encryption algorithms (such as AES-256) to encrypt data to ensure the security of data during transmission and storage.
[0245] In this technical solution, when the target shared space is a trusted space (such as a family space), the advantage is that the flow of non-anonymous data can better realize personalized recommendations and service optimization among family members. Example: Family members share device usage habits and preferences, and smart devices can automatically adjust settings according to the behavior patterns of family members. When the target shared space is a non-trusted space (such as a public space), the advantage is that anonymization and encryption processing ensure user privacy, while realizing resource optimization and service personalization through knowledge graph merging. Example: At an airport or conference room, the network can be automatically switched according to the user's behavior pattern to optimize resource allocation. By identifying the type of shared space and the user trust relationship, and flexibly selecting data anonymization and encrypted storage, the relationship between privacy protection and data utilization can be effectively balanced.
[0246] 304. When receiving the network recommendation policies sent by other terminal devices, merge the first network recommendation policy of the first terminal device and the network recommendation policies corresponding to the other terminal devices to form the merged network recommendation policy.
[0247] When the server receives a network recommendation policy sent by a first terminal device, if it also receives network recommendation policies sent by other terminal devices, it merges the first network recommendation policy of the first terminal device and the network recommendation policies corresponding to the other terminal devices to form the merged network recommendation policy, thereby providing a basis for making network recommendations to terminal devices within the coverage area of the target sharing space.
[0248] In some possible implementations, merging network recommendation strategies may include merging knowledge graphs, and / or merging models.
[0249] Knowledge graphs and / or models corresponding to different terminal devices, wherein, for each terminal device, the historical network data can be structured to obtain a knowledge graph, and then the knowledge graphs corresponding to different terminal devices are sent to the server, and the server receives the knowledge graphs corresponding to different terminal devices and merges them to obtain a merged knowledge graph; alternatively, the historical network data can be sent to the server, and the server performs structured construction based on the historical network data sent by different terminal devices to obtain knowledge graphs for different terminal devices, and then merges them to obtain a merged knowledge graph; alternatively, the historical network data can be trained to obtain a model; and then the models corresponding to different terminal devices are sent to the server, and the server receives the models corresponding to different terminal devices and merges them to obtain a merged model; alternatively, the historical network data can be sent to the server, and the server performs structured construction based on the historical network data sent by different terminal devices to obtain models for different terminal devices, and then merges them to obtain a merged model.
[0250] During the model training process, for example: choose to use a large model or some machine learning models with memory, such as Echo State Network (ESN), Long Short Term Memory (LSTM), etc., learn the history of using network data for training, and perform subsequent network predictions and recommendations.
[0251] In the present technical solution, the merged network recommendation strategy may include a merged knowledge graph, and / or a merged model; an example is given for the server to obtain the merged knowledge graph and the merged model, which improves the feasibility of the solution and provides a basis for the server to determine the target network information of the first terminal device based on the network request and the merged network recommendation strategy.
[0252] In some possible implementations, the server merges the models corresponding to different terminal devices to obtain a merged model, which may include: the server uses a federated learning method to merge the models corresponding to different terminal devices to obtain a merged model. Compared with the knowledge graph construction solution, the process is complicated, the amount of data required is large, and the model interpretability is low.
[0253] In some possible implementations, the merging of the first network recommendation strategy of the first terminal device and the network recommendation strategies corresponding to the other terminal devices to form the merged network recommendation strategy may include: using a clustering algorithm and / or a knowledge graph to merge the first network recommendation strategy of the first terminal device and the network recommendation strategies corresponding to the other terminal devices to form the merged network recommendation strategy.
[0254] Exemplarily, when the first network recommendation strategy and the network recommendation strategy corresponding to other terminal devices are knowledge graphs, the first knowledge graph of the first terminal device and the knowledge graph corresponding to the other terminal devices can be merged by using a clustering algorithm and / or a knowledge graph to form the merged knowledge graph. When the first network recommendation strategy and the network recommendation strategy corresponding to the other terminal devices are models, the first model of the first terminal device and the models corresponding to the other terminal devices can be merged by using a clustering algorithm to form the merged model.
[0255] When the server processes the merging of network recommendation strategies for multiple terminal devices, the knowledge graphs need to be merged, and problems such as entity alignment and relationship normalization need to be solved. Optionally, knowledge fusion technology can be used to identify equivalent instances, classes, attributes, etc. to ensure the semantic consistency of the merged graphs. Optionally, graph embedding methods can be used, and entity alignment technology based on graph embedding methods can also effectively improve merging efficiency. Figure 4BAs shown, it is a flowchart of merging network recommendation strategies corresponding to different terminal devices to form a merged network recommendation strategy in an embodiment of the present application.
[0256] In this technical solution, an implementation method for forming a merged network recommendation strategy is provided, which improves the feasibility of the solution.
[0257] In some possible implementations, the method further includes: using a clustering algorithm for the network recommendation strategies corresponding to the different terminal devices to obtain a clustering result; performing user profiling according to the clustering result to obtain profile attributes of different users;
[0258] Determining the target network information according to the network request and the merged network recommendation strategy may include: matching the corresponding first user portrait according to the network request and the portrait attributes of the different users; and determining the target network information according to the first user portrait and the merged network recommendation strategy.
[0259] In some possible implementations, the portrait attributes of different users include social graph information.
[0260] In some possible implementations, the method further includes: the server receiving social information sent by at least one terminal device; the server constructing a social graph according to the social information sent by the at least one terminal device to obtain a social graph, and the at least one terminal device includes the first terminal device;
[0261] Determining the target network information according to the network request and the merged network recommendation strategy may include: determining the target network information according to the network request, the merged network recommendation strategy and the social graph.
[0262] In the process of merging network recommendation strategies on the server, for example, knowledge graphs with the same device type and / or user identity are preferentially merged. According to the amount of data and the number of users, small, medium and large clustering algorithms (such as k-means clustering algorithm (K-means), density-based spatial clustering algorithm (Density-Based Spatial Clustering of Applications with Noise, DBSCAN)) are flexibly adopted to perform similarity analysis on the data and cluster according to user behavior and interest patterns. According to the clustering results, user knowledge graphs with similar behavior patterns and interest preferences are preferentially merged. For example: Small-scale data: Use K-means algorithm for clustering, and divide user groups according to user behavior and interest patterns. Medium-scale data: Use DBSCAN algorithm, which can process noisy data and identify user groups with different densities. Large-scale data: Consider using distributed clustering algorithms (such as K-means in Spark MLlib).
[0263] Based on the clustering results, user group portraits can be generated for subsequent personalized recommendations and service optimization. User portrait attributes include but are not limited to: (1) Behavior patterns: such as network switching frequency, application usage time, device usage habits, etc.; (2) Interest preferences: such as commonly used application types, content consumption preferences, etc.; (3) Social relationships: Identify the interactive relationships between users through social graphs, that is, taking into account the interactions and influences between users, add social relationship edges during the merging process, build a user relationship network, and identify group behavior patterns.
[0264] In this technical solution, clustering algorithms and knowledge graph technology are combined to achieve efficient processing of historical network data of different terminal devices and personalized service optimization, thereby improving user experience and system performance. User group portraits can also be added, and social graphs can be added between user group portraits to facilitate the recommendation of better target networks for different terminal devices in the target shared space.
[0265] Cross-user data integration within the target shared space: Collect and integrate the historical network usage data of multiple users in the same shared space. The behaviors of multiple users have certain similarities and influence each other. Same-user cross-device data integration and flow: Collect and integrate the data usage of the same user on different devices. These data have similar user habits, as well as different user behaviors based on the differences in the functions and performance of different devices. The flow of historical network usage data or recommended strategies can be performed between different terminal devices.
[0266] 305. When it is detected that the first terminal device is in the coverage of the target shared space, a network access request is sent to the server.
[0267] 306. The server determines information of the target network according to the network request and the combined network recommendation strategy.
[0268] 307. The server sends the information of the target network to the first terminal device, where the information of the target network is used for the first terminal device to access the target network for communication.
[0269] 308. The first terminal device accesses the target network for communication according to the information of the target network.
[0270] It should be noted that in Figure 3 For description of steps 304-308 in the illustrated embodiment, please refer to Figure 2 The description of 201-204 in the illustrated embodiment will not be repeated here.
[0271] In an embodiment of the present application, a first terminal device obtains first historical network usage data; the first terminal device constructs a first network recommendation strategy based on the first historical network usage data; the first terminal device sends the first network recommendation strategy to a server; in the case of receiving the network recommendation strategy sent by other terminal devices, the first network recommendation strategy of the first terminal device and the network recommendation strategy corresponding to the other terminal devices are merged to form the merged network recommendation strategy; in the case of detecting that the first terminal device is in the coverage range of the target shared space, a network request is sent to the server; the server determines the information of the target network based on the network request and the merged network recommendation strategy; the server sends the information of the target network to the first terminal device; the first terminal device accesses the target network for communication based on the information of the target network. The target network of the first terminal device is determined by the server based on the network request of the first terminal device and the merged network recommendation strategy, and the merged network recommendation strategy is constructed by the server based on the historical network usage data of different terminal devices in the coverage range of the target shared space, so that the network recommendation of different terminal devices in the target shared space can be coordinated and scheduled globally, and the target network recommendation is realized, so that different terminal devices in the target shared space can obtain a better network configuration, and ping-pong switching can also be effectively reduced. Among them, the knowledge graphs and / or models corresponding to different terminal devices are generated in a short time and have a larger amount of graph information.
[0272] like Figure 5A As shown, it is a schematic diagram of an embodiment of a device recommended by the target network in an embodiment of the present application, and the device is applied to a server, and the device may include:
[0273] The receiving module 501 is used to receive a network request sent by a first terminal device when the first terminal device is in the coverage of a target shared space, wherein the network request includes device information of the first terminal device;
[0274] Processing module 502, used to determine the target network information according to the network request and the merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to the historical network usage data of different terminal devices within the coverage of the target shared space, wherein the historical network usage data includes device information of different terminal devices and corresponding network information;
[0275] The sending module 503 is used to send the information of the target network to the first terminal device, and the information of the target network is used for the first terminal device to access the target network for communication.
[0276] In some possible implementations, the processing module 502 is specifically configured to determine, according to the network request and the merged network recommendation strategy, the first optimal network in the current network state as the target network; or,
[0277] The processing module 502 is specifically configured to determine the second optimal network of the first terminal device as the target network according to the network request and the combined network recommendation strategy, and the network request of the terminal device currently connected to the network; or
[0278] The processing module 502 is specifically configured to determine a third optimal network according to the network request and the first network recommendation strategy corresponding to the first terminal device, and use the third optimal network as the target network when the third optimal network is not accessed by other terminal devices or the number of accesses does not exceed a first preset number; or
[0279] Processing module 502 is specifically used to determine a fourth optimal network based on the network request, the first network recommendation policy corresponding to the first terminal device, and the priority of the first terminal device, and use the fourth optimal network as the target network. The priority of the first terminal device is determined by the device information of the first terminal device.
[0280] In some possible implementations, the processing module 502 is specifically configured to use the fourth optimal network as the target network when the fourth optimal network is not accessed by other terminal devices or the number of accesses does not exceed a second preset number.
[0281] In some possible implementations, the device information of the first terminal device includes at least one of a device identifier of the first terminal device, a device type, an application APP type running in the foreground, and an identifier of a user logging into the first terminal device, which is used to determine the priority of the first terminal device;
[0282] and / or,
[0283] The historical network usage data of the different terminal devices includes at least one of the device identification, device type, application APP type running in the foreground and user identification of the different terminal devices, which is used to determine the priority of the different terminal devices.
[0284] In some possible implementations, the receiving module 501 is further configured to receive a first network recommendation strategy sent by a first terminal device, where the first network recommendation strategy is constructed based on first historical network usage data of the first terminal device, where the first historical network usage data includes device information of the first terminal device and corresponding network information;
[0285] The processing module 502 is further configured to merge the first network recommendation policy of the first terminal device and the network recommendation policies corresponding to the other terminal devices to form the merged network recommendation policy when receiving the network recommendation policies sent by other terminal devices.
[0286] In some possible implementations, the processing module 502 is specifically used to use a clustering algorithm and / or a knowledge graph to merge the first network recommendation strategy of the first terminal device and the network recommendation strategies corresponding to the other terminal devices to form the merged network recommendation strategy.
[0287] In some possible implementations, the processing module 502 is further configured to use a clustering algorithm for the network recommendation strategies corresponding to the different terminal devices to obtain a clustering result; perform user profiling according to the clustering result to obtain the profile attributes of different users;
[0288] The processing module 502 is specifically used to match the corresponding first user portrait according to the network request and the portrait attributes of the different users; and determine the information of the target network according to the first user portrait and the merged network recommendation strategy.
[0289] In some possible implementations, the device information of the different terminal devices includes at least one of the following:
[0290] Different terminal devices have the same device type and the same or different logged-in user IDs;
[0291] Different terminal devices have different device types, and the logged-in user IDs may be the same or different.
[0292] In some possible implementations, the portrait attributes of different users include social graph information.
[0293] like Figure 5B As shown, it is a schematic diagram of an embodiment of the server in the embodiment of the present application, which may include Figure 5A The target network shown is the recommended device.
[0294] like Fig. 6A As shown, it is a schematic diagram of an embodiment of a device recommended by a target network in an embodiment of the present application, the device is applied to a first terminal device, and the device may include:
[0295] The sending module 601 is used to send a network request to the server when detecting that the first terminal device is in the coverage of the target shared space, wherein the network request includes device information of the first terminal device;
[0296] A receiving module 602 is used to receive target network information sent by the server, where the target network information is determined by the server according to the network request and a merged network recommendation strategy, where the merged network recommendation strategy is constructed by the server according to historical network usage data of different terminal devices within the coverage of the target shared space;
[0297] The processing module 603 is used to access the target network for communication according to the information of the target network.
[0298] In some possible implementations, the device information of the first terminal device includes at least one of a device identifier of the first terminal device, a device type, an application APP type running in the foreground, and an identifier of a user logging into the first terminal device, which is used to determine the priority of the first terminal device;
[0299] and / or,
[0300] The historical network usage data of the different terminal devices includes at least one of the device identification, device type, application APP type running in the foreground and user identification of the different terminal devices, which is used to determine the priority of the different terminal devices.
[0301] In some possible implementations, the receiving module 602 is further configured to obtain first historical network usage data, where the first historical network usage data includes device information of the first terminal device and corresponding network information;
[0302] The processing module 603 is further configured to construct a first network recommendation strategy according to the first historical network usage data;
[0303] The sending module 601 is further configured to send the first network recommendation strategy to the server.
[0304] In some possible implementations, the receiving module 602 is specifically configured to use the existing historical network usage data as the first historical network usage data when the existing historical network usage data collected by the first terminal device within a preset time period is greater than or equal to a preset data amount; or
[0305] The receiving module 602 is specifically configured to obtain, when the first terminal device does not collect the historical network usage data within a preset time period, second historical network usage data of a second terminal device within the coverage area of the target shared space as the first historical network usage data; or
[0306] The receiving module 602 is specifically configured to obtain, when the existing historical network usage data collected by the first terminal device within a preset time period is less than the preset data amount, second historical network usage data of a second terminal device within the coverage area of the target shared space, and use the existing historical network usage data and the second historical network usage data as the first historical network usage data;
[0307] The second terminal device has the same device type and / or user identification as the first terminal device.
[0308] In some possible implementations, the sending module 601 is specifically configured to send the first network recommendation strategy to the server in an anonymous manner when the target shared space is a public shared space; or
[0309] The sending module 601 is specifically configured to send the first network recommendation strategy to the server in a non-anonymous manner or an anonymous manner when the target shared space is a non-public shared space.
[0310] like Figure 6B As shown, it is a schematic diagram of an embodiment of a terminal device in an embodiment of the present application, which may include: Fig. 6A The target network shown is the recommended device.
[0311] like Figure 7 As shown, it is a schematic diagram of an embodiment of the server in the embodiment of the present application, which may include:
[0312] A memory 701, a processor 702, and a transceiver 703, wherein the memory 701 stores a computer program that can be run on the processor 702;
[0313] In the embodiment of the present application, the transceiver 703 is used to receive a network request sent by a first terminal device when the first terminal device is in the coverage of the target shared space, wherein the network request includes device information of the first terminal device;
[0314] Processor 702, configured to determine information of a target network according to the network request and a merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to historical network usage data of different terminal devices within the coverage of the target shared space, wherein the historical network usage data includes device information of different terminal devices and corresponding network information;
[0315] The transceiver 703 is used to send the information of the target network to the first terminal device, and the information of the target network is used for the first terminal device to access the target network for communication.
[0316] In some possible implementations, the processor 702 is specifically configured to determine, according to the network request and the merged network recommendation strategy, a first optimal network in the current network state as the target network; or,
[0317] The processor 702 is specifically configured to determine, according to the network request and the merged network recommendation strategy, and the network request of the terminal device currently connected to the network, the second optimal network of the first terminal device as the target network; or,
[0318] The processor 702 is specifically configured to determine a third optimal network according to the network request and the first network recommendation policy corresponding to the first terminal device, and use the third optimal network as the target network when the third optimal network is not accessed by other terminal devices or the number of accesses does not exceed the first preset number; or
[0319] Processor 702 is specifically used to determine a fourth optimal network based on the network request, the first network recommendation policy corresponding to the first terminal device, and the priority of the first terminal device, and use the fourth optimal network as the target network. The priority of the first terminal device is determined by the device information of the first terminal device.
[0320] In some possible implementations, the processor 702 is specifically configured to use the fourth optimal network as the target network when the fourth optimal network is not accessed by other terminal devices or the number of accesses does not exceed a second preset number.
[0321] In some possible implementations, the device information of the first terminal device includes at least one of a device identifier of the first terminal device, a device type, an application APP type running in the foreground, and an identifier of a user logging into the first terminal device, which is used to determine the priority of the first terminal device;
[0322] and / or,
[0323] The historical network usage data of the different terminal devices includes at least one of the device identification, device type, application APP type running in the foreground and user identification of the different terminal devices, which is used to determine the priority of the different terminal devices.
[0324] In some possible implementations, the transceiver 703 is further configured to receive a first network recommendation strategy sent by a first terminal device, where the first network recommendation strategy is constructed based on first historical network usage data of the first terminal device, where the first historical network usage data includes device information of the first terminal device and corresponding network information;
[0325] The processor 702 is further configured to, upon receiving a network recommendation policy sent by other terminal devices, merge the first network recommendation policy of the first terminal device and the network recommendation policies corresponding to the other terminal devices to form the merged network recommendation policy.
[0326] In some possible implementations, the processor 702 is specifically configured to use a clustering algorithm and / or a knowledge graph to merge the first network recommendation strategy of the first terminal device and the network recommendation strategies corresponding to the other terminal devices to form the merged network recommendation strategy.
[0327] In some possible implementations, the processor 702 is further configured to use a clustering algorithm for the network recommendation strategies corresponding to the different terminal devices to obtain a clustering result; perform user profiling according to the clustering result to obtain profile attributes of different users;
[0328] Processor 702 is specifically used to match the corresponding first user portrait according to the network request and the portrait attributes of the different users; and determine the information of the target network according to the first user portrait and the merged network recommendation strategy.
[0329] In some possible implementations, the device information of the different terminal devices includes at least one of the following:
[0330] Different terminal devices have the same device type and the same or different logged-in user IDs;
[0331] Different terminal devices have different device types, and the logged-in user IDs may be the same or different.
[0332] In some possible implementations, the portrait attributes of different users include social graph information.
[0333] like Figure 8 FIG. 1 is another schematic diagram of a terminal device in an embodiment of the present application. Figure 8 A detailed introduction to the various components of the mobile phone in the terminal device:
[0334] The RF circuit 810 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 880 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 810 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the RF circuit 810 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (SMS), etc.
[0335] The memory 820 can be used to store software programs and modules. The processor 880 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 820. The memory 820 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 820 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0336] The input unit 830 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 830 may include a touch panel 831 and other input devices 832. The touch panel 831, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 831 or near the touch panel 831 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 831 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 880, and can receive and execute commands sent by the processor 880. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 831, the input unit 830 may also include other input devices 832. Specifically, the other input devices 832 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0337] The display unit 840 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 840 may include a display panel 841. Optionally, the display panel 841 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 831 may cover the display panel 841. When the touch panel 831 detects a touch operation on or near it, it is transmitted to the processor 880 to determine the type of touch event. Subsequently, the processor 880 provides a corresponding visual output on the display panel 841 according to the type of touch event. Although in Figure 8 In the embodiment, the touch panel 831 and the display panel 841 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 831 and the display panel 841 can be integrated to realize the input and output functions of the mobile phone.
[0338] The mobile phone may also include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 841 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 841 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0339] The audio circuit 860, the speaker 861, and the microphone 862 can provide an audio interface between the user and the mobile phone. The audio circuit 860 can transmit the received audio data to the speaker 861 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 862 converts the collected sound signal into an electrical signal, which is received by the audio circuit 860 and converted into audio data, and then the audio data is output to the processor 880 for processing, and then sent to another mobile phone through the RF circuit 810, or the audio data is output to the memory 820 for further processing.
[0340] Wi-Fi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the Wi-Fi module 870. It provides users with wireless broadband Internet access. Figure 8 A Wi-Fi module 870 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0341] The processor 880 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 820, and calling data stored in the memory 820, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 880.
[0342] The mobile phone also includes a power supply 890 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 880 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0343] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0344] In the embodiment of the present application, the RF circuit 810 is used to send a network request to the server when detecting that the first terminal device is within the coverage of the target shared space, wherein the network request includes device information of the first terminal device; receive information of the target network sent by the server, wherein the target network information is determined by the server according to the network request and a merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to historical network usage data of different terminal devices within the coverage of the target shared space;
[0345] The processor 880 is configured to access the target network for communication according to the information of the target network.
[0346] In some possible implementations, the device information of the first terminal device includes at least one of a device identifier of the first terminal device, a device type, an application APP type running in the foreground, and an identifier of a user logging into the first terminal device, which is used to determine the priority of the first terminal device;
[0347] and / or,
[0348] The historical network usage data of the different terminal devices includes at least one of the device identification, device type, application APP type running in the foreground and user identification of the different terminal devices, which is used to determine the priority of the different terminal devices.
[0349] In some possible implementations, the RF circuit 810 is further configured to obtain first historical network usage data, where the first historical network usage data includes device information of the first terminal device and corresponding network information;
[0350] The processor 880 is further configured to construct a first network recommendation strategy according to the first historical network usage data;
[0351] The RF circuit 810 is further configured to send the first network recommendation strategy to the server.
[0352] In some possible implementations, the RF circuit 810 is specifically configured to use the existing historical network usage data as the first historical network usage data when the existing historical network usage data collected by the first terminal device within a preset time period is greater than or equal to a preset data amount; or,
[0353] The RF circuit 810 is specifically configured to obtain, when the first terminal device does not collect the historical network usage data within a preset time period, second historical network usage data of a second terminal device within the coverage area of the target shared space as the first historical network usage data; or,
[0354] The RF circuit 810 is specifically configured to obtain, when the existing historical network usage data collected by the first terminal device within a preset time period is less than the preset data amount, second historical network usage data of a second terminal device within the coverage range of the target shared space, and use the existing historical network usage data and the second historical network usage data as the first historical network usage data;
[0355] The second terminal device has the same device type and / or user identification as the first terminal device.
[0356] In some possible implementations, the RF circuit 810 is specifically configured to send the first network recommendation strategy to the server in an anonymous manner when the target shared space is a public type of shared space; or
[0357] The RF circuit 810 is specifically configured to send the first network recommendation strategy to the server in a non-anonymous manner or an anonymous manner when the target shared space is a non-public shared space.
[0358] The embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a terminal device, the terminal device and the server execute the above method embodiment.
[0359] The above-mentioned computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (Random Access Memory, RAM), a read-only memory (read only memory, ROM), an erasable programmable read-only memory (erasableprogrammable read only memory, EPROM) or flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0360] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0361] The program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0362] Computer program code for performing the operations of this specification may be written in one or more programming languages or a combination thereof, including resource-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0363] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute part or all of the steps in the above method embodiment.
[0364] The embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the functions of the terminal device or server in the above method. The chip system may be composed of a chip, or may include a chip and other discrete devices.
[0365] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0366] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0367] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0368] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0369] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0370] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for target network recommendation, characterized in that: The method is applied to a server, and the method comprises: receiving a network request sent by a first terminal device when the first terminal device is in the coverage of a target shared space, wherein the network request includes device information of the first terminal device; Determine the target network information according to the network request and the merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to the historical network usage data of different terminal devices within the coverage of the target shared space, wherein the historical network usage data includes device information of different terminal devices and corresponding network information; The target network information is sent to the first terminal device, where the target network information is used for the first terminal device to access the target network for communication.
2. The method according to claim 1, characterized in that The determining of target network information according to the network request and the combined network recommendation strategy includes: Determine the first optimal network in the current network state as the target network according to the network request and the merged network recommendation strategy; or Determine the second best network for the first terminal device as the target network according to the network request and the combined network recommendation strategy, as well as the network request of the terminal device currently connected to the network; or, Determine a third optimal network according to the network request and the first network recommendation strategy corresponding to the first terminal device, and use the third optimal network as the target network if the third optimal network is not accessed by other terminal devices or the number of accesses does not exceed a first preset number; or According to the network request, the first network recommendation policy corresponding to the first terminal device, and the priority of the first terminal device, a fourth optimal network is determined, and the fourth optimal network is used as the target network. The priority of the first terminal device is determined by the device information of the first terminal device.
3. The method according to claim 2, characterized in that The step of taking the fourth optimal network as the target network comprises: In a case where the fourth optimal network is not accessed by other terminal devices or the number of accesses does not exceed a second preset number, the fourth optimal network is used as the target network.
4. The method according to any one of claims 1 to 3, characterized in that The device information of the first terminal device includes at least one of a device identifier of the first terminal device, a device type, an application APP type running in the foreground, and an identifier of a user logging into the first terminal device, which is used to determine the priority of the first terminal device; and / or, The historical network usage data of the different terminal devices includes at least one of the device identification, device type, application APP type running in the foreground and user identification of the different terminal devices, which is used to determine the priority of the different terminal devices.
5. The method according to any one of claims 1 to 3, characterized in that: The device information of different terminal devices includes at least one of the following: Different terminal devices have the same device type and the same or different logged-in user IDs; Different terminal devices have different device types, and the logged-in user IDs may be the same or different.
6. The method according to any one of claims 1 to 3, characterized in that Before receiving the network use request sent by the first terminal device in the coverage range of the target shared space, the method further includes: Receiving a first network recommendation strategy sent by a first terminal device, where the first network recommendation strategy is constructed based on first historical network usage data of the first terminal device, where the first historical network usage data includes device information of the first terminal device and corresponding network information; In case of receiving the network recommendation policies sent by other terminal devices, the first network recommendation policy of the first terminal device and the network recommendation policies corresponding to the other terminal devices are merged to form the merged network recommendation policy.
7. The method according to claim 6, characterized in that The merging the first network recommendation policy of the first terminal device and the network recommendation policies corresponding to the other terminal devices to form the merged network recommendation policy includes: A clustering algorithm and / or a knowledge graph are used to merge the first network recommendation strategy of the first terminal device and the network recommendation strategies corresponding to the other terminal devices to form the merged network recommendation strategy.
8. The method according to claim 7, characterized in that The method further comprises: Using a clustering algorithm for the network recommendation strategies corresponding to the different terminal devices to obtain a clustering result; Perform user profiling according to the clustering results to obtain the profile attributes of different users; The determining of target network information according to the network request and the combined network recommendation strategy includes: Matching a corresponding first user portrait according to the network request and the portrait attributes of the different users; According to the first user portrait and the merged network recommendation strategy, information of the target network is determined.
9. The method according to claim 8, characterized in that The portrait attributes of different users include social graph information.
10. A method for recommending a target network, characterized in that: The method is applied to a first terminal device, and the method includes: When detecting that the first terminal device is within the coverage of the target shared space, sending a network request to the server, wherein the network request includes device information of the first terminal device; receiving target network information sent by the server, wherein the target network information is determined by the server according to the network request and a merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to historical network usage data of different terminal devices within the coverage of the target shared space; Access the target network for communication according to the information of the target network.
11. The method according to claim 10, characterized in that The device information of the first terminal device includes at least one of a device identifier of the first terminal device, a device type, an application APP type running in the foreground, and an identifier of a user logging into the first terminal device, which is used to determine the priority of the first terminal device; and / or, The historical network usage data of the different terminal devices includes at least one of the device identification, device type, application APP type running in the foreground and user identification of the different terminal devices, which is used to determine the priority of the different terminal devices.
12. The method according to claim 10 or 11, characterized in that: In the case where it is detected that the first terminal device is in the coverage of the target shared space, before sending a network request to the server, the method further includes: Acquire first historical network usage data, where the first historical network usage data includes device information of the first terminal device and corresponding network information; constructing a first network recommendation strategy based on the first historical network usage data; The first network recommendation policy is sent to the server.
13. The method according to claim 12, characterized in that The obtaining of the first historical network usage data includes: If the existing historical network usage data collected by the first terminal device within a preset time period is greater than or equal to a preset data volume, the existing historical network usage data is used as the first historical network usage data; or, If the first terminal device does not collect historical network usage data within a preset time period, obtaining second historical network usage data of a second terminal device within the coverage of the target shared space as the first historical network usage data; or, When the existing historical network usage data collected by the first terminal device within the preset time period is less than the preset data amount, obtaining second historical network usage data of a second terminal device within the coverage of the target shared space, and using the existing historical network usage data and the second historical network usage data as the first historical network usage data; The second terminal device has the same device type and / or user identification as the first terminal device.
14. The method according to claim 12, characterized in that The sending the first network recommendation strategy to the server includes: In the case where the target shared space is a public shared space, sending the first network recommendation strategy to the server in an anonymous manner; or In the case that the target shared space is a non-public shared space, the first network recommendation strategy is sent to the server in a non-anonymous manner or an anonymous manner.
15. A device for recommending a target network, characterized in that: The device is applied to a server, and comprises: A receiving module, configured to receive a network request sent by a first terminal device when the first terminal device is within the coverage of a target shared space, wherein the network request includes device information of the first terminal device; a processing module, configured to determine information of a target network according to the network request and a merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to historical network usage data of different terminal devices within the coverage of the target shared space, wherein the historical network usage data includes device information of different terminal devices and corresponding network information; A sending module is used to send the information of the target network to the first terminal device, and the information of the target network is used for the first terminal device to access the target network for communication.
16. A device for recommending a target network, characterized in that: The device is applied to a first terminal device, and the device includes: A sending module, configured to send a network request to a server when detecting that the first terminal device is within the coverage of a target shared space, wherein the network request includes device information of the first terminal device; a receiving module, configured to receive target network information sent by the server, wherein the target network information is determined by the server according to the network request and a merged network recommendation strategy, wherein the merged network recommendation strategy is constructed by the server according to historical network usage data of different terminal devices within the coverage of the target shared space; The processing module is used to access the target network for communication according to the information of the target network.
17. A server, characterized in that: include: A memory, a processor, and a transceiver, wherein the memory stores a computer program that can be run on the processor, and when the terminal device executes the program, the method according to any one of claims 1 to 9 is implemented.
18. A terminal device, characterized in that: include: A memory, a processor, and a transceiver, wherein the memory stores a computer program that can be run on the processor, and when the terminal device executes the program, the method according to any one of claims 10 to 14 is implemented.
19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 or any one of claims 10 to 14 is implemented.