WO2020125202A1 - 数据传输方法及相关装置 - Google Patents

数据传输方法及相关装置 Download PDF

Info

Publication number
WO2020125202A1
WO2020125202A1 PCT/CN2019/113694 CN2019113694W WO2020125202A1 WO 2020125202 A1 WO2020125202 A1 WO 2020125202A1 CN 2019113694 W CN2019113694 W CN 2019113694W WO 2020125202 A1 WO2020125202 A1 WO 2020125202A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless communication
communication link
game
data packet
transmission
Prior art date
Application number
PCT/CN2019/113694
Other languages
English (en)
French (fr)
Inventor
黄园
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP19899509.4A priority Critical patent/EP3893456A4/en
Publication of WO2020125202A1 publication Critical patent/WO2020125202A1/zh
Priority to US17/342,131 priority patent/US20210297902A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0908Management thereof based on time, e.g. for a critical period only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0958Management thereof based on metrics or performance parameters
    • H04W28/0967Quality of Service [QoS] parameters
    • H04W28/0975Quality of Service [QoS] parameters for reducing delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0992Management thereof based on the type of application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • This application relates to the field of electronic technology, in particular to a data transmission method and related devices.
  • Embodiments of the present application provide a data transmission method and related devices, with a view to controlling user game duration by disabling the intelligent link aggregation SLA function.
  • an embodiment of the present application provides a data transmission method, which is applied to an electronic device that enables multiple wireless communication links.
  • the method includes:
  • the target anti-addiction control duration of the target game application is determined
  • the target game application When it is detected that the target game application distributes the game data packet through the smart link aggregation SLA function and records the shunt transmission duration of the shunt transmission of the game data packet;
  • the offload transmission duration is greater than the target anti-addiction control duration
  • the communication line transmits the game data packet.
  • an embodiment of the present application provides a data transmission device, which is applied to an electronic device.
  • the data transmission device includes a processing unit and a communication unit, wherein,
  • the processing unit is used to determine the target anti-addiction control duration of the target game application when it is detected that the target game application is running in the foreground; and to aggregate the SLA function offload through the smart link when the target game application is detected
  • When transmitting the game data packet record the offload transmission duration of the offload transmission of the game data packet; when detecting that the offload transmission duration is greater than the target anti-addiction control duration, stop the offload transmission through the intelligent link aggregation SLA function
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above
  • the above program includes instructions for performing the steps in any method of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the first embodiment of the present application.
  • the computer program causes the computer to execute the first embodiment of the present application.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium that stores the computer program, and the computer program is operable to cause the computer to execute as implemented in the present application Examples of some or all of the steps described in any method of the first aspect.
  • the computer program product may be a software installation package.
  • the electronic device first determines the target anti-addiction control duration of the target game application when it detects that the target game application is running in the foreground, and secondly, detects that the target game application passes intelligence
  • the link aggregation SLA function offloads the game data packet
  • the offload transmission duration of the offload transmission of the game data packet is recorded
  • the offload transmission duration is greater than the target anti-addiction control duration
  • the link aggregation SLA function distributes and transmits the game data packet, and transmits the game data packet through one wireless communication line among the plurality of wireless communication links.
  • the electronic device When the electronic device detects that the target game application is running in the foreground, it will determine the corresponding target anti-addiction control time, so when the game data packet is shunted and transmitted through the smart link aggregation SLA function, the shunt transmission time of the shunt transmission game data packet will be recorded.
  • the smart link aggregation SLA function When the offload transmission time is longer than the anti-addiction control time, the smart link aggregation SLA function is disabled, thereby reducing the user's game experience to avoid the user from playing the game for too long, which is helpful to help the user reasonably control the game time.
  • FIG. 1 is an example system architecture diagram of a wireless communication system in which an electronic device is provided according to an embodiment of the present application;
  • FIG. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another data transmission method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 6 is a block diagram of functional units of a data transmission device according to an embodiment of the present application.
  • the electronic devices involved in the embodiments of the present application may be electronic devices with data transmission capabilities.
  • the electronic devices may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or devices connected to a wireless modem Other processing equipment, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal equipment (terminal), etc.
  • UE User Equipment
  • MS Mobile Station
  • terminal terminal
  • Smart Link Aggregation means that the device can use two or more network ports to access the Internet at the same time.
  • the mobile phone can use wireless fidelity at the same time.
  • Wi-Fi and data network LTE for network access.
  • Android network system when Wi-Fi is enabled, will make the data network unusable (connectivity Service network scoring mechanism causes the data network to be disconnected), and smart link aggregation requires at least two or more available networks, Therefore, the prerequisite for Service-Level Agreement (abbreviated as SLA) is to make Wi-Fi and data networks coexist. As shown in FIG.
  • the electronic device 101 can be connected to a data network 103, which is a communication network for transmitting data services; it can also be connected to Wi-Fi 102, which is a type of electronic device that allows electronic devices to be connected to a wireless local area network
  • the technology usually uses the 2.4G UHF or 5G SHF ISM radio frequency band; it can also be connected to Bluetooth 104, a wireless technology standard that can achieve short-range data exchange between fixed devices, mobile devices and building personal area networks (using 2.4- 2. 485GHz ISM band UHF radio waves) etc.
  • FIG. 2 is a schematic flowchart of a data transmission method provided by an embodiment of the present application, which is applied to an electronic device, and the electronic device enables multiple wireless communication links.
  • This data transmission method includes:
  • the electronic device determines a target anti-addiction control duration of the target game application.
  • each game application is provided with an anti-addiction control duration. After the user’s playing time exceeds the anti-addiction control duration, the user’s playing time needs to be adjusted. control. Therefore, when it is detected that the target game application is running in the foreground, the anti-addiction control duration of the target game application may be determined.
  • the electronic device When detecting that the target game application uses the smart link aggregation SLA function to shunt transmission of the game data packet, the electronic device records the shunt transmission duration of the shunt transmission of the game data packet.
  • the smart link aggregation SLA function when the smart link aggregation SLA function is enabled to shunt the transmission of the game data packet of the target game application, the shunt transmission time of the shunt transmission game data packet is recorded, and the game data packet is shunted and transmitted through the smart link aggregation SLA function, making the game data packet
  • the transmission efficiency is higher, which is conducive to reducing game stalls and improving user gaming experience.
  • the electronic device stops streaming transmission of the game data packet through the smart link aggregation SLA function and passes through the multiple wireless communications A wireless communication line in the link transmits the game data packet.
  • the intelligent link aggregation SLA function when it is detected that the shunt transmission duration is longer than the target anti-addiction control duration, it stops the shunt transmission of the game data packet of the target game application through the intelligent link aggregation SLA function. At this time, only one wireless communication link is used The communication link transmits the game data packet, so that the transmission efficiency of the game data packet can be reduced.
  • the transmission of the game data packet through one wireless communication line of the plurality of wireless communication links includes: acquiring a third wireless communication link initially set by the target game application; The third wireless communication link transmits the game data packet.
  • the game data packet before the game data packet is detected by the off-stream transmission, when the target game application defaults to transmit the game packet through the third wireless communication link, after the off-stream transmission is completed, the game data packet can continue to be transmitted through the third wireless communication link .
  • the electronic device first determines the target anti-addiction control duration of the target game application when it detects that the target game application is running in the foreground, and secondly, detects that the target game application passes intelligence
  • the link aggregation SLA function offloads the game data packet
  • the offload transmission duration of the offload transmission of the game data packet is recorded
  • the offload transmission duration is greater than the target anti-addiction control duration
  • the link aggregation SLA function distributes and transmits the game data packet, and transmits the game data packet through one wireless communication line among the plurality of wireless communication links.
  • the electronic device When the electronic device detects that the target game application is running in the foreground, it will determine the corresponding target anti-addiction control time, so when the game data packet is shunted and transmitted through the smart link aggregation SLA function, the shunt transmission time of the shunt transmission game data packet will be recorded.
  • the smart link aggregation SLA function When the offload transmission time is longer than the anti-addiction control time, the smart link aggregation SLA function is disabled, thereby reducing the user's game experience to avoid the user from playing the game for too long, which is helpful to help the user reasonably control the game time.
  • the recording offload transmission duration of the game data packet includes: when detecting that the target game application closes the intelligent link aggregation SLA function or exits the foreground, stopping recording offload transmission The shunt transmission duration of the game data packet; when it is detected that the target game application enables the smart link aggregation SLA function and is running in the foreground, the shunt transmission duration of the shunt transmission of the game data packet is resumed.
  • the target game application when recording the shunt transmission duration of the shunt transmission game data packet, if it is detected that the target game application closes the intelligent link aggregation SLA function, it means that the game data packet is not transmitted through the shunt at this time, and the shunt transmission duration can be stopped, Or, if it is detected that the target game application exits the foreground, it indicates that the user is not playing the game at this time, and may also stop recording the shunt transmission duration.
  • the record offload transmission duration can be maintained, and when it is detected that the above two conditions are not met, it stops Record the length of offload transmission, so as to facilitate accurate acquisition of offload transmission time.
  • when detecting that the target game application distributes the game data packet through the smart link aggregation SLA function includes: randomly selecting at least two wireless communication links to distribute the target game application Game data packets; or, select at least two wireless communication links to shunt the game data packets of the target game application according to system state parameters; or, select at least two wireless communication links to shunt the transmission according to user setting information The game data packet of the target game application.
  • At least two wireless communication links can be randomly selected, or at least two wireless communication links can be selected according to the system state parameters, such as according to the electronic device’s Selecting at least two wireless communication links for remaining power or at least two wireless communication links according to the mode of the electronic device, or at least two wireless communication links according to the user's setting information means that the user can set a fixed wireless communication link For example, as long as there is a game playing scenario, the WIFI wireless communication link is always activated, and the data packets of the target game application are transmitted through at least two wireless communication links, which is beneficial to improve the data transmission efficiency.
  • the manner in which the electronic device selects at least two wireless communication links has diversity, which can improve the convenience and stability of data transmission.
  • the transmission of the game data packet through one wireless communication line of the plurality of wireless communication links includes: determining a wireless communication link for off-stream transmission of the game data packet of the target game application Are the first wireless communication link and the second wireless communication link; acquiring channel quality parameters of the first wireless communication link and the second wireless communication link, the channel quality parameters including data transmission rate and transmission time Extension; according to the channel quality parameters of the first wireless communication link and the second wireless communication link, determine when the offload transmission ends, through the first wireless communication link or the second wireless communication link Transmit the game data packet.
  • the channel quality of the first wireless communication link and the second wireless communication link is acquired Parameters, based on the channel quality parameters of the first wireless communication link and the second wireless communication link to determine whether to transmit game data packets only through the first wireless communication link or only through the second wireless communication link during offload transmission data pack.
  • the transmission of the game data packet by the second wireless communication link includes: scoring the communication quality of the first wireless communication link according to the channel quality parameter of the first wireless communication link to obtain a first score value ; According to the channel quality parameter of the second wireless communication link, the communication quality of the second wireless communication link is scored to obtain a second score value; when it is detected that the first score value is lower than the first When the value is two points, the game data packet is transmitted through the first wireless communication link; or, when it is detected that the second point value is lower than the first point value, the second wireless communication link is used The game data packet is transmitted by road.
  • the channel quality parameters include the data transmission rate and transmission delay. Therefore, the communication quality of the first wireless communication link can be determined according to the channel quality parameters, and scored to obtain the first score value, and the second wireless communication link can be determined The quality of the communication is scored to obtain the second score value. When the first score value is detected to be lower than the second score value, it indicates that the communication quality of the first wireless communication link is worse. At this time, the first wireless communication The link transmits the game data packet. When it is detected that the second score value is lower than the first score value, it indicates that the communication quality of the second wireless communication link is worse. At this time, the game data packet can be transmitted through the second wireless communication link.
  • the communication quality of the first wireless communication link and the second wireless communication link is scored according to the channel quality parameter of the first wireless communication link and the channel quality parameter of the second wireless communication link Therefore, wireless communication links with worse communication quality are selected to transmit game data packets.
  • the time for the user to play the game can be reduced.
  • the first wireless communication link is a wireless fidelity WIFI wireless communication link
  • the second wireless communication link is a data network wireless communication link.
  • the communication quality of the WIFI wireless communication link is determined and scored. For example, the greater the data transmission rate, the smaller the transmission delay, indicating communication The better the quality, the higher the score at this time; the smaller the data transmission rate and the larger the transmission delay, the worse the communication quality, and the lower the score at this time.
  • the second wireless communication link is a data network wireless communication link, it can be scored according to the data transmission rate and transmission delay.
  • the first wireless communication link is a WIFI wireless communication link
  • the second wireless communication link is a data network wireless communication link. After the offload transmission is stopped, the wireless communication link or the data network may be used The wireless communication link transmits game data packets.
  • the average usage time of a plurality of game applications is obtained, and the plurality of game applications includes the target game application; the average usage time of the plurality of game applications is determined among the plurality of game applications The anti-addiction control duration of each game application; establishing a mapping relationship between the plurality of game applications and the corresponding anti-addiction control duration, the mapping relationship is used to determine the target anti-addiction control duration of the target game application.
  • the normal use duration of multiple game applications obtains the normal use duration of multiple game applications, and determine the anti-addiction control duration of each game application according to the average use duration of multiple game applications.
  • the anti-addiction control duration should not be greater than the average use duration.
  • FIG. 3 is a schematic flowchart of a data transmission method provided by an embodiment of the present application, which is applied to an electronic device, and the electronic device enables multiple wireless communications link.
  • the data transmission method includes:
  • the electronic device determines a target anti-addiction control duration of the target game application.
  • the electronic device When detecting that the target game application uses the smart link aggregation SLA function to shunt transmission of the game data packet, the electronic device records the shunt transmission duration of the shunt transmission of the game data packet.
  • the electronic device when detecting that the offload transmission duration is greater than the target anti-addiction control duration, the electronic device stops streaming transmission of the game data packet through the smart link aggregation SLA function, and determines to offload transmission of the target game application
  • the wireless communication links of the game data packet are the first wireless communication link and the second wireless communication link.
  • the electronic device obtains channel quality parameters of the first wireless communication link and the second wireless communication link, where the channel quality parameters include a data transmission rate and a transmission delay.
  • the electronic device determines, according to the channel quality parameters of the first wireless communication link and the second wireless communication link, when the offload transmission is ended, through the first wireless communication link or the second The wireless communication link transmits the game data packet.
  • the electronic device first determines the target anti-addiction control duration of the target game application when it detects that the target game application is running in the foreground, and secondly, detects that the target game application passes intelligence
  • the link aggregation SLA function offloads the game data packet
  • the offload transmission duration of the offload transmission of the game data packet is recorded
  • the offload transmission duration is greater than the target anti-addiction control duration
  • the link aggregation SLA function distributes and transmits the game data packet, and transmits the game data packet through one wireless communication line among the plurality of wireless communication links.
  • the electronic device When the electronic device detects that the target game application is running in the foreground, it will determine the corresponding target anti-addiction control time, so when the game data packet is shunted and transmitted through the smart link aggregation SLA function, the shunt transmission time of the shunt transmission game data packet will be recorded.
  • the smart link aggregation SLA function When the offload transmission time is longer than the anti-addiction control time, the smart link aggregation SLA function is disabled, thereby reducing the user's game experience to avoid the user from playing the game for too long, which is helpful to help the user reasonably control the game time.
  • first wireless communication link and the second wireless communication link jointly transmit the game data packet when the offload transmission is detected
  • first wireless communication link or the second wireless communication communication may be used Links to transmit game data packets, by reducing the communication link for data transmission, to reduce the transmission efficiency of data packets, which can control users to reduce the length of time to play games.
  • FIG. 4 is a schematic flowchart of a data transmission method provided by an embodiment of the present application, which is applied to an electronic device. Wireless communication link. As shown in the figure, the data transmission method includes:
  • the electronic device determines a target anti-addiction control duration of the target game application.
  • the electronic device When detecting that the target game application distributes the game data packet through the smart link aggregation SLA function, the electronic device records the shunt transmission duration of the shunt transmission of the game data packet.
  • the electronic device when detecting that the offload transmission duration is longer than the target anti-addiction control duration, the electronic device stops streaming transmission of the game data packet through the smart link aggregation SLA function, and determines to offload transmission of the target game application
  • the wireless communication links of the game data packet are the first wireless communication link and the second wireless communication link.
  • the electronic device obtains channel quality parameters of the first wireless communication link and the second wireless communication link, where the channel quality parameters include a data transmission rate and a transmission delay.
  • the electronic device scores the communication quality of the first wireless communication link according to the channel quality parameter of the first wireless communication link to obtain a first score value.
  • the electronic device scores the communication quality of the second wireless communication link according to the channel quality parameter of the second wireless communication link to obtain a second score value.
  • the electronic device when detecting that the first score value is lower than the second score value, transmits the game data packet through the first wireless communication link.
  • the electronic device When detecting that the second score value is lower than the first score value, the electronic device transmits the game data packet through the second wireless communication link.
  • the electronic device first determines the target anti-addiction control duration of the target game application when it detects that the target game application is running in the foreground, and secondly, detects that the target game application passes intelligence
  • the link aggregation SLA function offloads the game data packet
  • the offload transmission duration of the offload transmission of the game data packet is recorded
  • the offload transmission duration is greater than the target anti-addiction control duration
  • the link aggregation SLA function distributes and transmits the game data packet, and transmits the game data packet through one wireless communication line among the plurality of wireless communication links.
  • the electronic device When the electronic device detects that the target game application is running in the foreground, it will determine the corresponding target anti-addiction control time, so when the game data packet is shunted and transmitted through the smart link aggregation SLA function, the shunt transmission time of the shunt transmission game data packet will be recorded.
  • the smart link aggregation SLA function When the offload transmission time is longer than the anti-addiction control time, the smart link aggregation SLA function is disabled, thereby reducing the user's game experience to avoid the user from playing the game for too long, which is helpful to help the user reasonably control the game time.
  • first wireless communication link and the second wireless communication link jointly transmit the game data packet when the offload transmission is detected
  • first wireless communication link or the second wireless communication communication may be used Links to transmit game data packets, by reducing the communication link for data transmission, to reduce the transmission efficiency of data packets, which can control users to reduce the length of time to play games.
  • the communication quality of the first wireless communication link and the second wireless communication link is scored to select the communication A wireless communication link of poorer quality transmits game data packets.
  • FIG. 5 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application.
  • the electronic device 500 operates with one or Multiple application programs and operating systems, as shown, the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 521, wherein the one or more programs 521 are stored in all In the memory 520, and configured to be executed by the processor 510, the one or more programs 521 include instructions for performing the following steps;
  • the target anti-addiction control duration of the target game application is determined
  • the target game application When it is detected that the target game application distributes the game data packet through the smart link aggregation SLA function and records the shunt transmission duration of the shunt transmission of the game data packet;
  • the offload transmission duration is greater than the target anti-addiction control duration
  • the communication line transmits the game data packet.
  • the electronic device first determines the target anti-addiction control duration of the target game application when it detects that the target game application is running in the foreground, and secondly, detects that the target game application passes intelligence
  • the link aggregation SLA function offloads the game data packet
  • the offload transmission duration of the offload transmission of the game data packet is recorded
  • the offload transmission duration is greater than the target anti-addiction control duration
  • the link aggregation SLA function distributes and transmits the game data packet, and transmits the game data packet through one wireless communication line among the plurality of wireless communication links.
  • the electronic device When the electronic device detects that the target game application is running in the foreground, it will determine the corresponding target anti-addiction control time, so when the game data packet is shunted and transmitted through the smart link aggregation SLA function, the shunt transmission time of the shunt transmission game data packet will be recorded.
  • the smart link aggregation SLA function When the offload transmission time is longer than the anti-addiction control time, the smart link aggregation SLA function is disabled, thereby reducing the user's game experience to avoid the user from playing the game for too long, which is helpful to help the user reasonably control the game time.
  • the instructions in the program are specifically used to perform the following operations: when the target game application is detected to close the smart chain When the channel aggregation SLA function or exit the foreground, stop recording the offload transmission duration of the game data packet; when the target game application is detected to open the smart link aggregation SLA function and run in the foreground, the recording offload transmission is resumed The offload transmission time of the game data packet.
  • the instructions in the program are specifically used to perform the following operations: randomly select at least two A wireless communication link to shunt and transmit the game data packet of the target game application; or, select at least two wireless communication links to shunt and transmit the game data packet of the target game application according to system state parameters; or, according to the user's setting information At least two wireless communication links are selected to transmit and distribute the game data packet of the target game application.
  • the instructions in the program are specifically used to perform the following operations: determine the offload transmission station
  • the wireless communication link of the game data packet of the target game application is a first wireless communication link and a second wireless communication link; acquiring channel quality parameters of the first wireless communication link and the second wireless communication link ,
  • the channel quality parameter includes a data transmission rate and a transmission delay; according to the channel quality parameters of the first wireless communication link and the second wireless communication link, it is determined that when the offload transmission ends, the first The wireless communication link or the second wireless communication link transmits the game data packet.
  • the instructions in the program are specifically used to perform the following operations: according to the channel quality parameter of the first wireless communication link, the first wireless communication The communication quality of the link is scored to obtain a first score value; according to the channel quality parameter of the second wireless communication link, the communication quality of the second wireless communication link is scored to obtain a second score value; When it is detected that the first score value is lower than the second score value, the game data packet is transmitted through the first wireless communication link; or, when it is detected that the second score value is lower than the first score value At a point value, the game data packet is transmitted through the second wireless communication link.
  • the first wireless communication link is a wireless fidelity WIFI wireless communication link
  • the second wireless communication link is a data network wireless communication link.
  • the instructions in the program are specifically used to perform the following operations: obtain the average usage time of multiple game applications, the multiple game applications including the target game application; according to the multiple game applications The average duration of use determines the duration of anti-addiction control for each of the multiple gaming applications; establishes a mapping relationship between the multiple gaming applications and the corresponding duration of anti-addiction control, the mapping relationship is used to determine Describe the target anti-addiction control duration of the target game application.
  • the electronic device includes a hardware structure and/or a software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driven hardware depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiments of the present application may divide the functional unit of the electronic device according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the integrated unit may be implemented in the form of hardware or a software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions, and there may be other division manners in actual implementation.
  • FIG. 6 is a block diagram of the functional units of the data transmission device 600 involved in the embodiment of the present application.
  • the data transmission device 600 is applied to electronic equipment, including a processing unit 601 and a communication unit 602, where,
  • the processing unit 601 is configured to determine the target anti-addiction control duration of the target game application when it is detected that the target game application is running in the foreground; and to aggregate the SLA function through the smart link when the target game application is detected When the game data packet is shunted and transmitted, the shunt transmission duration of the shunt transmission of the game data packet is recorded; when it is detected that the shunt transmission duration is longer than the target anti-addiction control duration, the shunt transmission through the intelligent link aggregation SLA function is stopped The game data packet, and control one wireless communication line of the plurality of wireless communication links to transmit the game data packet through the communication unit 602.
  • the data transmission device 600 may further include a storage unit 603 for storing program codes and data of electronic devices.
  • the processing unit 601 may be a processor
  • the communication unit 602 may be a touch screen or a transceiver
  • the storage unit 603 may be a memory.
  • the electronic device first determines the target anti-addiction control duration of the target game application when it detects that the target game application is running in the foreground, and secondly, detects that the target game application passes intelligence
  • the link aggregation SLA function offloads the game data packet
  • the offload transmission duration of the offload transmission of the game data packet is recorded
  • the offload transmission duration is greater than the target anti-addiction control duration
  • the link aggregation SLA function distributes and transmits the game data packet, and transmits the game data packet through one wireless communication line among the plurality of wireless communication links.
  • the electronic device When the electronic device detects that the target game application is running in the foreground, it will determine the corresponding target anti-addiction control time, so when the game data packet is shunted and transmitted through the smart link aggregation SLA function, the shunt transmission time of the shunt transmission game data packet will be recorded.
  • the offload transmission time is longer than the anti-addiction control time, the smart link aggregation SLA function is disabled, thereby reducing the user's game experience to avoid the user from playing the game for too long, which is helpful to help users reasonably control the game time.
  • the processing unit 601 is specifically configured to: turn off the intelligent link aggregation SLA function when the target game application is detected Or when logging out of the foreground, stop recording the shunt transmission duration of the game data packet; and when the target game application is detected to enable the smart link aggregation SLA function and run in the foreground, resume recording the shunt transmission place Describe the game packet's offload transmission time.
  • the processing unit 601 is specifically configured to: randomly select at least two wireless communication links when detecting that the target game application shunts and transmits game data packets through an intelligent link aggregation SLA function Shunt transmission of the game data packet of the target game application; or, select at least two wireless communication links to shunt transmission of the game data packet of the target game application according to system state parameters; or, select at least two according to the user's setting information
  • the wireless communication link transmission shunts the game data packet of the target game application.
  • the processing unit 601 is specifically configured to: determine to distribute the target game application
  • the wireless communication links of the game data packets are the first wireless communication link and the second wireless communication link; and the channel quality parameters used to obtain the first wireless communication link and the second wireless communication link,
  • the channel quality parameter includes a data transmission rate and a transmission delay; and is used to determine, according to the channel quality parameter of the first wireless communication link and the second wireless communication link, when the offload transmission ends, pass the The first wireless communication link or the second wireless communication link transmits the game data packet.
  • the processing unit 601 is specifically configured to: according to the channel quality parameter of the first wireless communication link, communicate with the first wireless communication link Scoring the quality to obtain a first score value; and scoring the communication quality of the second wireless communication link according to the channel quality parameter of the second wireless communication link to obtain a second score value; and using When it is detected that the first score value is lower than the second score value, the game data packet is transmitted through the first wireless communication link; or, when it is detected that the second score value is lower than all When the first score value is stated, the game data packet is transmitted through the second wireless communication link.
  • the first wireless communication link is a wireless fidelity WIFI wireless communication link
  • the second wireless communication link is a data network wireless communication link.
  • the processing unit 601 is specifically configured to: obtain an average usage time of a plurality of game applications, the plurality of game applications including the target game application; and according to the plurality of game applications The average duration of use, to determine the duration of anti-addiction control of each of the plurality of gaming applications; and to establish a mapping relationship between the plurality of gaming applications and the corresponding duration of anti-addiction control, the mapping relationship is used to Determine the target anti-addiction control duration of the target game application.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to perform part or all of the steps of any method described in the foregoing method embodiments ,
  • the above computer includes electronic equipment.
  • Embodiments of the present application also provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium that stores the computer program, and the computer program is operable to cause the computer to perform any of the methods described in the foregoing method embodiments Some or all steps of the method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the above-mentioned units is only a division of logical functions.
  • there may be other division methods for example, multiple units or components may be combined or integrated To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be 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.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit.
  • the above 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 memory.
  • the technical solution of the present application may essentially be a part that contributes to the prior art or all or part of the technical solution may be embodied in the form of a software product, and the computer software product is stored in a memory,
  • Several instructions are included to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the aforementioned memory includes: U disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
  • the program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-Only Memory (English: Read-Only Memory, abbreviation: ROM), Random Access Device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.
  • ROM Read-Only Memory
  • RAM Random Access Device
  • magnetic disk or optical disk etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种数据传输方法及相关装置,应用于电子设备,所述电子设备启用多个无线通信链路,所述方法包括:在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长;在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长;在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。本申请有利于帮助用户控制游戏时长。

Description

数据传输方法及相关装置 技术领域
本申请涉及电子技术领域,尤其涉及一种数据传输方法及相关装置。
背景技术
随着移动通信技术的发展,用户对数据通信的需求越来越大,目前市面上的智能终端在进行数据传输时,一般通过蜂窝移动网络通信或者Wi-Fi通信等方式发送数据,智能终端需要和相同区域内的其他设备竞争无线链路资源,难以满足用户的上网需求。
发明内容
本申请实施例提供一种数据传输方法及相关装置,以期通过禁用智能链路聚合SLA功能实现控制用户游戏时长。
第一方面,本申请实施例提供一种数据传输方法,应用于电子设备,所述电子设备启用多个无线通信链路,所述方法包括:
在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长;
在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长;
在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。
第二方面,本申请实施例提供一种数据传输装置,应用于电子设备,所述数据传输装置包括处理单元和通信单元,其中,
所述处理单元,用于在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长;以及用于在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长;在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述通信单元控制所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可以看出,在本申请实施例中,电子设备首先在检测到前台运行有目标游戏应用时, 确定所述目标游戏应用的目标防沉迷控制时长,其次,在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长,最后,在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。由于电子设备在检测到前台运行有目标游戏应用时会确定对应的目标防沉迷控制时长,从而在通过智能链路聚合SLA功能分流传输游戏数据包时会记录分流传输游戏数据包的分流传输时长,在分流传输时长大于防沉迷控制时长时禁用智能链路聚合SLA功能,从而通过降低用户的游戏体验来避免用户玩游戏的时间过长,有利于帮助用户合理控制游戏时长。
附图说明
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。
图1是本申请实施例提供的一种电子设备所处无线通信系统的示例系统架构图;
图2是本申请实施例提供的一种数据传输方法的流程示意图;
图3是本申请实施例提供的另一种数据传输方法的流程示意图;
图4是本申请实施例提供的另一种数据传输方法的流程示意图;
图5是本申请实施例提供的一种电子设备的结构示意图;
图6是本申请实施例提供的一种数据传输装置的功能单元组成框图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
以下分别进行详细说明。
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例所涉及到的电子设备可以是具备数据传输能力的电子设备,该电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。
下面对本申请实施例进行详细介绍。
智能链路聚合(SmartLink Aggregation,SLA),是指使设备可以同时使用两个或者两个以上的网口同时进行上网,比如在手机上启用智能链路聚合SLA功能后,手机可以同时使用无线保真Wi-Fi和数据网络LTE来进行网络访问。android网络系统,当Wi-Fi被使能的时 候,会导致数据网络不可使用(connectivity Service网络评分机制导致数据网络断开),而智能链路聚合至少需要两个或两个以上的可用网络,所以服务等级协议(Service-Level Agreement,缩写为SLA)的前提条件就是要使Wi-Fi和数据网络共存。如图1所示,目前电子设备101可以连接数据网络103,数据网络为用于传输数据业务的通信网;也可以连接Wi-Fi 102,Wi-Fi是一种允许电子设备连接到一个无线局域网的技术,通常使用2.4G UHF或5G SHF ISM射频频段;还可以连接蓝牙104,一种无线技术标准,可实现固定设备、移动设备和楼宇个人域网之间的短距离数据交换(使用2.4—2.485GHz的ISM波段的UHF无线电波)等。
请参阅图2,图2是本申请实施例提供了一种数据传输方法的流程示意图,应用于电子设备,所述电子设备启用多个无线通信链路。本数据传输方法包括:
S201,所述电子设备在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长。
其中,为防止用户玩游戏的时间过长,沉迷于游戏,针对每个游戏应用设置有防沉迷控制时长,在用户玩游戏的时间超过防沉迷控制时长后,则需要对用户玩游戏的时间进行控制。因此,在检测到前台运行有目标游戏应用时,可确定目标游戏应用的防沉迷控制时长。
S202,所述电子设备在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长。
其中,在启用智能链路聚合SLA功能分流传输目标游戏应用的游戏数据包时,记录分流传输游戏数据包的分流传输时长,通过智能链路聚合SLA功能分流传输游戏数据包,使得游戏数据包的传输效率更高,有利于减少游戏卡顿,提高用户游戏体验。
S203,所述电子设备在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。
其中,在检测到分流传输时长大于目标防沉迷控制时长时,则停止通过智能链路聚合SLA功能分流传输目标游戏应用的游戏数据包,此时,仅通过多个无线通信链路中的一个无线通信链路传输游戏数据包,从而,可降低游戏数据包的传输效率。
在本可能示例中,所述通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包,包括:获取所述目标游戏应用初始设置的第三无线通信链路;通过所述第三无线通信链路传输所述游戏数据包。
其中,在检测到分流传输游戏数据包之前,目标游戏应用默认为通过第三无线通信链路传输游戏包时,则可在分流传输结束后,继续通过第三无线通信链路来传输游戏数据包。
可以看出,在本申请实施例中,电子设备首先在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长,其次,在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长,最后,在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。由于电子设备在检测到前台运行有目标游戏应用时会确定对应的目标防沉迷控制时长,从而在通过智能链路聚合SLA功能分流传输游戏数据包时会记录分流传输游戏数据包的分流传输时长,在分流传输时长大于防沉迷控制时长时禁用智能链路聚合SLA功能,从而通过降低用户的游戏体验来避免用户玩游戏的时间过长,有利于帮助用户合理控制游戏时长。
在一个可能的示例中,所述记录分流传输所述游戏数据包的分流传输时长,包括:在 检测到所述目标游戏应用关闭所述智能链路聚合SLA功能或退出前台时,停止记录分流传输所述游戏数据包的分流传输时长;在检测到所述目标游戏应用开启所述智能链路聚合SLA功能且在前台运行时,恢复记录分流传输所述游戏数据包的分流传输时长。
其中,在记录分流传输游戏数据包的分流传输时长时,若检测到目标游戏应用关闭智能链路聚合SLA功能时,则表明此时没有通过分流来传输游戏数据包,可停止记录分流传输时长,或者,若检测到目标游戏应用退出前台时,则表明用户此时没有在进行游戏,也可停止记录分流传输时长。
可见,本示例中,在检测到同时满足目标游戏应用开启智能链路聚合SLA功能且在前台运行两个条件时,可保持记录分流传输时长,在检测到不满足上述两个条件时,则停止记录分流传输时长,从而有利于准确获取分流传输时长。
在一个可能的示例中,所述在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,包括:随机选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,根据系统状态参数选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,根据用户的设置信息选择至少两个无线通信链路传输分流传输所述目标游戏应用的游戏数据包。
其中,在目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,可以随机选择至少两个无线通信链路,或者根据系统状态参数选择至少两个无线通信链路,如根据电子设备的剩余电量选择至少两个无线通信链路或者根据电子设备的模式选择至少两个无线通信链路,或者根据用户的设置信息选择至少两个无线通信链路,是指用户可以设置固定无线通信链路,例如设置只要有玩游戏这个场景时,总是启动WIFI无线通信链路,通过至少两个无线通信链路传输目标游戏应用的数据包,有利于提高数据传输效率。
可见,本示例中,电子设备选择至少两个无线通信链路的方式具有多样性,能够提高数据传输便利性,稳定性。
在一个可能的示例中,所述通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包,包括:确定分流传输所述目标游戏应用的游戏数据包的无线通信链路为第一无线通信链路和第二无线通信链路;获取所述第一无线通信链路和所述第二无线通信链路的信道质量参数,所述信道质量参数包括数据传输速率和传输时延;根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包。
其中,确定分流传输目标游戏应用的游戏数据包的无线通信链路为第一无线通信链路和第二无线通信链路时,获取第一无线通信链路和第二无线通信链路的信道质量参数,根据第一无线通信链路和第二无线通信链路的信道质量参数确定分流传输时,只通过第一无线通信链路来传输游戏数据包还是只通过第二无线通信链路来传输游戏数据包。
可见,本示例中,在检测到分流传输时由第一无线通信链路和第二无线通信链路共同传输游戏数据包时,在禁用分流传输时,可只使用第一无线通信链路或第二无线通通信链路来传输游戏数据包,通过减少数据传输的通信链路,实现降低数据包的传输效率,从而可控制用户减少玩游戏的时长。
在一个可能的示例中,所述根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包,包括:根据所述第一无线通信链路的信道质量参数,对所述第一无线通信链路的通信质量进行打分,得到第一分数值;根据所述第二无线通信链路的信道质量参数,对所述第二无线通信链路的通信质量进行打分,得到第二分数值;在检测到所述第一分数值低于所述第二分数值时,通过所述第一无线通信链路传输所述游戏数据包; 或,在检测到所述第二分数值低于所述第一分数值时,通过所述第二无线通信链路传输所述游戏数据包。
其中,信道质量参数包括数据传输速率和传输时延,因此,可以根据信道质量参数确定第一无线通信链路的通信质量,并进行打分,得到第一分数值,以及确定第二无线通信链路的通信质量,并进行打分,得到第二分数值,在检测到第一分数值低于第二分数值时,表明第一无线通信链路的通信质量更差,此时可通过第一无线通信链路传输游戏数据包,在检测到第二分数值低于第一分数值时,表明第二无线通信链路的通信质量更差,此时可以通过第二无线通信链路传输游戏数据包。
可见,本示例中,根据所述第一无线通信链路的信道质量参数和第二无线通信链路的信道质量参数,为第一无线通信链路和第二无线通信链路的通信质量进行打分,从而选取通信质量更差的无线通信链路来传输游戏数据包,通过降低目标游戏应用的数据传输速度,可减少用户玩游戏的时间。
在一个可能的示例中,所述第一无线通信链路为无线保真WIFI无线通信链路,所述第二无线通信链路为数据网络无线通信链路。
其中,第一无线通信链路为无线保真WIFI无线通信链路时,确定WIFI无线通信链路的通信质量并为其进行打分,例如,数据传输速率越大,传输时延越小时,表明通信质量越好,此时分数越高;数据传输速率越小,传输时延越大时,表明通信质量越差,此时分数越低。同理,第二无线通信链路为数据网络无线通信链路时,可根据数据传输速率和传输时延为其打分。
可见,本示例中,第一无线通信链路为WIFI无线通信链路,第二无线通信链路为数据网络无线通信链路,在停止分流传输后,可进通过WIFI无线通信链路或者数据网络无线通信链路传输游戏数据包。
在一个可能的示例中,获取多个游戏应用的平均使用时长,所述多个游戏应用包括所述目标游戏应用;根据所述多个游戏应用的平均使用时长,确定所述多个游戏应用中每个游戏应用的防沉迷控制时长;建立所述多个游戏应用和对应防沉迷控制时长之间的映射关系,所述映射关系用于确定所述目标游戏应用的目标防沉迷控制时长。
其中,获取多个游戏应用的平时使用时长,根据多个游戏应用的平均使用时长,确定每个游戏应用的防沉迷控制时长,防沉迷控制时长应不大于平均使用时长,在确定每个游戏应用的防沉迷控制时长后,可建立多个游戏应用和对应防沉迷控制时长之间的映射关系。
可见,本示例中,通过预先建立多个游戏应用和对应防沉迷控制时长之间的映射关系,在确定目标游戏应用的防沉迷控制时长时,只需简单的通过查询该映射关系,即可确定目标防沉迷控制时长,从而,使得用户使用目标游戏应用的时间尽力不超过防沉迷控制时长,也即不超过平均使用时长。
与所述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种数据传输方法的流程示意图,应用于电子设备,所述电子设备启用多个无线通信链路。如图所示,本数据传输方法包括:
S301,所述电子设备在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长。
S302,所述电子设备在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长。
S303,所述电子设备在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,确定分流传输所述目标游戏 应用的游戏数据包的无线通信链路为第一无线通信链路和第二无线通信链路。
S304,所述电子设备获取所述第一无线通信链路和所述第二无线通信链路的信道质量参数,所述信道质量参数包括数据传输速率和传输时延。
S305,所述电子设备根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包。
可以看出,在本申请实施例中,电子设备首先在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长,其次,在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长,最后,在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。由于电子设备在检测到前台运行有目标游戏应用时会确定对应的目标防沉迷控制时长,从而在通过智能链路聚合SLA功能分流传输游戏数据包时会记录分流传输游戏数据包的分流传输时长,在分流传输时长大于防沉迷控制时长时禁用智能链路聚合SLA功能,从而通过降低用户的游戏体验来避免用户玩游戏的时间过长,有利于帮助用户合理控制游戏时长。
此外,在检测到分流传输时由第一无线通信链路和第二无线通信链路共同传输游戏数据包时,在禁用分流传输时,可只使用第一无线通信链路或第二无线通通信链路来传输游戏数据包,通过减少数据传输的通信链路,实现降低数据包的传输效率,从而可控制用户减少玩游戏的时长。
与所述图2、图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种数据传输方法的流程示意图,应用于电子设备,所述电子设备启用多个无线通信链路。如图所示,本数据传输方法包括:
S401,所述电子设备在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长。
S402,所述电子设备在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长。
S403,所述电子设备在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,确定分流传输所述目标游戏应用的游戏数据包的无线通信链路为第一无线通信链路和第二无线通信链路。
S404,所述电子设备获取所述第一无线通信链路和所述第二无线通信链路的信道质量参数,所述信道质量参数包括数据传输速率和传输时延。
S405,所述电子设备根据所述第一无线通信链路的信道质量参数,对所述第一无线通信链路的通信质量进行打分,得到第一分数值。
S406,所述电子设备根据所述第二无线通信链路的信道质量参数,对所述第二无线通信链路的通信质量进行打分,得到第二分数值。
S407,所述电子设备在检测到所述第一分数值低于所述第二分数值时,通过所述第一无线通信链路传输所述游戏数据包。
S408,所述电子设备在检测到所述第二分数值低于所述第一分数值时,通过所述第二无线通信链路传输所述游戏数据包。
可以看出,在本申请实施例中,电子设备首先在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长,其次,在检测到所述目标游戏应用通过智 能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长,最后,在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。由于电子设备在检测到前台运行有目标游戏应用时会确定对应的目标防沉迷控制时长,从而在通过智能链路聚合SLA功能分流传输游戏数据包时会记录分流传输游戏数据包的分流传输时长,在分流传输时长大于防沉迷控制时长时禁用智能链路聚合SLA功能,从而通过降低用户的游戏体验来避免用户玩游戏的时间过长,有利于帮助用户合理控制游戏时长。
此外,在检测到分流传输时由第一无线通信链路和第二无线通信链路共同传输游戏数据包时,在禁用分流传输时,可只使用第一无线通信链路或第二无线通通信链路来传输游戏数据包,通过减少数据传输的通信链路,实现降低数据包的传输效率,从而可控制用户减少玩游戏的时长。
此外,根据所述第一无线通信链路的信道质量参数和第二无线通信链路的信道质量参数,为第一无线通信链路和第二无线通信链路的通信质量进行打分,从而选取通信质量更差的无线通信链路来传输游戏数据包,通过降低目标游戏应用的数据传输速度,可减少用户玩游戏的时间。
与所述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子设备500的结构示意图,该电子设备500运行有一个或多个应用程序和操作系统,如图所示,该电子设备500包括处理器510、存储器520、通信接口530以及一个或多个程序521,其中,所述一个或多个程序521被存储在所述存储器520中,并且被配置由所述处理器510执行,所述一个或多个程序521包括用于执行以下步骤的指令;
在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长;
在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长;
在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。
可以看出,在本申请实施例中,电子设备首先在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长,其次,在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长,最后,在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。由于电子设备在检测到前台运行有目标游戏应用时会确定对应的目标防沉迷控制时长,从而在通过智能链路聚合SLA功能分流传输游戏数据包时会记录分流传输游戏数据包的分流传输时长,在分流传输时长大于防沉迷控制时长时禁用智能链路聚合SLA功能,从而通过降低用户的游戏体验来避免用户玩游戏的时间过长,有利于帮助用户合理控制游戏时长。
在一个可能的示例中,在所述记录分流传输所述游戏数据包的分流传输时长方面,所述程序中的指令具体用于执行以下操作:在检测到所述目标游戏应用关闭所述智能链路聚合SLA功能或退出前台时,停止记录分流传输所述游戏数据包的分流传输时长;在检测到所述目标游戏应用开启所述智能链路聚合SLA功能且在前台运行时,恢复记录分流传输所述游戏数据包的分流传输时长。
在一个可能的示例中,在所述在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时方面,所述程序中的指令具体用于执行以下操作:随机选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,根据系统状态参数选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,根据用户的设置信息选择至少两个无线通信链路传输分流传输所述目标游戏应用的游戏数据包。
在一个可能的示例中,在所述通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包方面,所述程序中的指令具体用于执行以下操作:确定分流传输所述目标游戏应用的游戏数据包的无线通信链路为第一无线通信链路和第二无线通信链路;获取所述第一无线通信链路和所述第二无线通信链路的信道质量参数,所述信道质量参数包括数据传输速率和传输时延;根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包。
在一个可能的示例中,在所述根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包方面,所述程序中的指令具体用于执行以下操作:根据所述第一无线通信链路的信道质量参数,对所述第一无线通信链路的通信质量进行打分,得到第一分数值;根据所述第二无线通信链路的信道质量参数,对所述第二无线通信链路的通信质量进行打分,得到第二分数值;在检测到所述第一分数值低于所述第二分数值时,通过所述第一无线通信链路传输所述游戏数据包;或,在检测到所述第二分数值低于所述第一分数值时,通过所述第二无线通信链路传输所述游戏数据包。
在一个可能的示例中,所述第一无线通信链路为无线保真WIFI无线通信链路,所述第二无线通信链路为数据网络无线通信链路。
在一个可能的示例中,所述程序中的指令具体用于执行以下操作:获取多个游戏应用的平均使用时长,所述多个游戏应用包括所述目标游戏应用;根据所述多个游戏应用的平均使用时长,确定所述多个游戏应用中每个游戏应用的防沉迷控制时长;建立所述多个游戏应用和对应防沉迷控制时长之间的映射关系,所述映射关系用于确定所述目标游戏应用的目标防沉迷控制时长。
上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据所述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图6是本申请实施例中所涉及的数据传输装置600的功能单元组成框图。该数据传输装置600应用于电子设备,包括处理单元601和通信单元602,其中,
所述处理单元601,用于在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长;以及用于在检测到所述目标游戏应用通过智能链路聚合SLA功 能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长;在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述通信单元602控制所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。
其中,所述数据传输装置600还可以包括存储单元603,用于存储电子设备的程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是触控显示屏或者收发器,存储单元603可以是存储器。
可以看出,在本申请实施例中,电子设备首先在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长,其次,在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长,最后,在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。由于电子设备在检测到前台运行有目标游戏应用时会确定对应的目标防沉迷控制时长,从而在通过智能链路聚合SLA功能分流传输游戏数据包时会记录分流传输游戏数据包的分流传输时长,在分流传输时长大于防沉迷控制时长时禁用智能链路聚合SLA功能,从而通过降低用户的游戏体验来避免用户玩游戏的时间过长,有利于帮助用户合理控制游戏时长。
在一个可能的示例中,在所述记录分流传输所述游戏数据包的分流传输时长方面,所述处理单元601具体用于:在检测到所述目标游戏应用关闭所述智能链路聚合SLA功能或退出前台时,停止记录分流传输所述游戏数据包的分流传输时长;以及用于在检测到所述目标游戏应用开启所述智能链路聚合SLA功能且在前台运行时,恢复记录分流传输所述游戏数据包的分流传输时长。
在一个可能的示例中,在所述在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时方面,所述处理单元601具体用于:随机选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,根据系统状态参数选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,根据用户的设置信息选择至少两个无线通信链路传输分流传输所述目标游戏应用的游戏数据包。
在一个可能的示例中,在所述通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包方面,所述处理单元601具体用于:确定分流传输所述目标游戏应用的游戏数据包的无线通信链路为第一无线通信链路和第二无线通信链路;以及用于获取所述第一无线通信链路和所述第二无线通信链路的信道质量参数,所述信道质量参数包括数据传输速率和传输时延;以及用于根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包。
在一个可能的示例中,在所述根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包方面,所述处理单元601具体用于:根据所述第一无线通信链路的信道质量参数,对所述第一无线通信链路的通信质量进行打分,得到第一分数值;以及用于根据所述第二无线通信链路的信道质量参数,对所述第二无线通信链路的通信质量进行打分,得到第二分数值;以及用于在检测到所述第一分数值低于所述第二分数值时,通过所述第一无线通信链路传输所述游戏数据包;或,在检测到所述第二分数值低于所述第一分数值时,通过所述第二无线通信链路传输所述游戏数据包。
在一个可能的示例中,所述第一无线通信链路为无线保真WIFI无线通信链路,所述第 二无线通信链路为数据网络无线通信链路。
在一个可能的示例中,所述处理单元601具体用于:获取多个游戏应用的平均使用时长,所述多个游戏应用包括所述目标游戏应用;以及用于根据所述多个游戏应用的平均使用时长,确定所述多个游戏应用中每个游戏应用的防沉迷控制时长;以及用于建立所述多个游戏应用和对应防沉迷控制时长之间的映射关系,所述映射关系用于确定所述目标游戏应用的目标防沉迷控制时长。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文: Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种数据传输方法,其特征在于,应用于电子设备,所述电子设备启用多个无线通信链路,所述方法包括:
    在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长;
    在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长;
    在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。
  2. 根据权利要求1所述的数据传输方法,其特征在于,所述记录分流传输所述游戏数据包的分流传输时长,包括:
    在检测到所述目标游戏应用关闭所述智能链路聚合SLA功能或退出前台时,停止记录分流传输所述游戏数据包的分流传输时长;
    在检测到所述目标游戏应用开启所述智能链路聚合SLA功能且在前台运行时,恢复记录分流传输所述游戏数据包的分流传输时长。
  3. 根据权利要求1或2所述的数据传输方法,其特征在于,所述在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,包括:
    随机选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,
    根据系统状态参数选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,
    根据用户的设置信息选择至少两个无线通信链路传输分流传输所述目标游戏应用的游戏数据包。
  4. 根据权利要求1至3任一项所述的数据传输方法,其特征在于,所述通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包,包括:
    确定分流传输所述目标游戏应用的游戏数据包的无线通信链路为第一无线通信链路和第二无线通信链路;
    获取所述第一无线通信链路和所述第二无线通信链路的信道质量参数,所述信道质量参数包括数据传输速率和传输时延;
    根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包。
  5. 根据权利要求4所述的数据传输方法,其特征在于,所述根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包,包括:
    根据所述第一无线通信链路的信道质量参数,对所述第一无线通信链路的通信质量进行打分,得到第一分数值;
    根据所述第二无线通信链路的信道质量参数,对所述第二无线通信链路的通信质量进行打分,得到第二分数值;
    在检测到所述第一分数值低于所述第二分数值时,通过所述第一无线通信链路传输所述游戏数据包;或,
    在检测到所述第二分数值低于所述第一分数值时,通过所述第二无线通信链路传输所述游戏数据包。
  6. 根据权利要求4或5所述的数据传输方法,其特征在于,所述第一无线通信链路为无线保真WIFI无线通信链路,所述第二无线通信链路为数据网络无线通信链路。
  7. 根据权利要求1至3任一项所述的数据传输方法,其特征在于,所述通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包,包括:
    获取所述目标游戏应用初始设置的第三无线通信链路;
    通过所述第三无线通信链路传输所述游戏数据包。
  8. 根据权利要求1所述的数据传输方法,其特征在于,所述方法还包括:
    获取多个游戏应用的平均使用时长,所述多个游戏应用包括所述目标游戏应用;
    根据所述多个游戏应用的平均使用时长,确定所述多个游戏应用中每个游戏应用的防沉迷控制时长;
    建立所述多个游戏应用和对应防沉迷控制时长之间的映射关系,所述映射关系用于确定所述目标游戏应用的目标防沉迷控制时长。
  9. 根据权利要求1所述的数据传输方法,其特征在于,所述确定所述目标游戏应用的目标防沉迷控制时长,包括:
    查找预设的多个游戏应用和对应防沉迷控制时长之间的映射关系,并确定所述目标游戏应用对应的目标防沉迷时长。
  10. 一种数据传输装置,其特征在于,应用于电子设备,所述数据传输装置包括处理单元和通信单元,其中,
    所述处理单元,用于在检测到前台运行有目标游戏应用时,确定所述目标游戏应用的目标防沉迷控制时长;以及用于在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时,记录分流传输所述游戏数据包的分流传输时长;在检测到所述分流传输时长大于所述目标防沉迷控制时长时,停止通过所述智能链路聚合SLA功能分流传输所述游戏数据包,并通过所述通信单元控制所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包。
  11. 根据权利要求10所述的数据传输装置,其特征在于,在所述记录分流传输所述游戏数据包的分流传输时长方面,所述处理单元具体用于:在检测到所述目标游戏应用关闭所述智能链路聚合SLA功能或退出前台时,停止记录分流传输所述游戏数据包的分流传输时长;以及用于在检测到所述目标游戏应用开启所述智能链路聚合SLA功能且在前台运行时,恢复记录分流传输所述游戏数据包的分流传输时长。
  12. 根据权利要求10或11所述的数据传输装置,其特征在于,在所述在检测到所述目标游戏应用通过智能链路聚合SLA功能分流传输游戏数据包时方面,所述处理单元具体用于:随机选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,根据系统状态参数选择至少两个无线通信链路分流传输所述目标游戏应用的游戏数据包;或,根据用户的设置信息选择至少两个无线通信链路传输分流传输所述目标游戏应用的游戏数据包。
  13. 根据权利要求10至12任一项所述的数据传输装置,其特征在于,在所述通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包方面,所述处理单元具体用于:确定分流传输所述目标游戏应用的游戏数据包的无线通信链路为第一无线通信链路和第二无线通信链路;以及用于获取所述第一无线通信链路和所述第二无线通信链路的信道质量参数,所述信道质量参数包括数据传输速率和传输时延;以及用于根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一无线通信链路或所述第二无线通信链路传输所述游戏数据包。
  14. 根据权利要求13所述的数据传输装置,其特征在于,在所述根据所述第一无线通信链路和所述第二无线通信链路的信道质量参数,确定在结束分流传输时,通过所述第一 无线通信链路或所述第二无线通信链路传输所述游戏数据包方面,所述处理单元具体用于:根据所述第一无线通信链路的信道质量参数,对所述第一无线通信链路的通信质量进行打分,得到第一分数值;以及用于根据所述第二无线通信链路的信道质量参数,对所述第二无线通信链路的通信质量进行打分,得到第二分数值;以及用于在检测到所述第一分数值低于所述第二分数值时,通过所述第一无线通信链路传输所述游戏数据包;或,在检测到所述第二分数值低于所述第一分数值时,通过所述第二无线通信链路传输所述游戏数据包。
  15. 根据权利要求13或14所述的数据传输装置,其特征在于,所述第一无线通信链路为无线保真WIFI无线通信链路,所述第二无线通信链路为数据网络无线通信链路。
  16. 根据权利要求10至12任一项所述的数据传输装置,其特征在于,在所述通过所述多个无线通信链路中的一个无线通信线路传输所述游戏数据包方面,所述处理单元还用于:获取所述目标游戏应用初始设置的第三无线通信链路;以及用于通过所述第三无线通信链路传输所述游戏数据包。
  17. 根据权利要求10所述的数据传输装置,其特征在于,所述处理单元还用于获取多个游戏应用的平均使用时长,所述多个游戏应用包括所述目标游戏应用;以及用于根据所述多个游戏应用的平均使用时长,确定所述多个游戏应用中每个游戏应用的防沉迷控制时长;以及用于建立所述多个游戏应用和对应防沉迷控制时长之间的映射关系,所述映射关系用于确定所述目标游戏应用的目标防沉迷控制时长。
  18. 根据权利要求10所述的数据传输装置,其特征在于,在所述确定所述目标游戏应用的目标防沉迷控制时长方面,所述处理单元具体用于:查找预设的多个游戏应用和对应防沉迷控制时长之间的映射关系,并确定所述目标游戏应用对应的目标防沉迷时长。
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2019/113694 2018-12-20 2019-10-28 数据传输方法及相关装置 WO2020125202A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19899509.4A EP3893456A4 (en) 2018-12-20 2019-10-28 DATA TRANSFER METHOD AND RELATED DEVICE
US17/342,131 US20210297902A1 (en) 2018-12-20 2021-06-08 Data transmission method, related storage medium and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811562843.5A CN109547469B (zh) 2018-12-20 2018-12-20 数据传输方法及相关装置
CN201811562843.5 2018-12-20

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/342,131 Continuation US20210297902A1 (en) 2018-12-20 2021-06-08 Data transmission method, related storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2020125202A1 true WO2020125202A1 (zh) 2020-06-25

Family

ID=65855485

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/113694 WO2020125202A1 (zh) 2018-12-20 2019-10-28 数据传输方法及相关装置

Country Status (4)

Country Link
US (1) US20210297902A1 (zh)
EP (1) EP3893456A4 (zh)
CN (1) CN109547469B (zh)
WO (1) WO2020125202A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468654A (zh) * 2020-12-13 2021-03-09 胡振刚 电子设备使用限制处理方法和装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547469B (zh) * 2018-12-20 2020-06-23 Oppo广东移动通信有限公司 数据传输方法及相关装置
CN112402953B (zh) * 2020-04-16 2022-06-03 上海哔哩哔哩科技有限公司 基于实时计算的游戏防沉迷方法和系统
CN112218338B (zh) * 2020-10-22 2022-06-10 Tcl通讯(宁波)有限公司 数据的获取方法及系统、存储介质及移动终端
CN113824634B (zh) * 2021-09-22 2023-09-12 北京博雅文化旅游产业发展有限责任公司 一种数据传输方法、装置、计算机设备及可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160037469A1 (en) * 2014-08-01 2016-02-04 Skirmos LLC System and method for establishing an ad hoc network having a designated data exchange protocol
CN106413049A (zh) * 2016-10-13 2017-02-15 四川速宝网络科技有限公司 手机wifi网络加速器及其方法
CN107220157A (zh) * 2017-05-25 2017-09-29 合肥泽诺信息科技有限公司 一种网络游戏防沉迷管理系统
CN108537022A (zh) * 2018-03-27 2018-09-14 努比亚技术有限公司 终端控制方法、终端及计算机可读存储介质
CN108537017A (zh) * 2018-01-05 2018-09-14 上海连尚网络科技有限公司 一种用于管理游戏用户的方法与设备
CN109547469A (zh) * 2018-12-20 2019-03-29 Oppo广东移动通信有限公司 数据传输方法及相关装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034421B (zh) * 2006-03-07 2010-09-01 上海新致软件有限公司 网络游戏防沉迷控制方法
CN101841597A (zh) * 2010-03-23 2010-09-22 深圳市五巨科技有限公司 一种控制移动终端游戏进行时间的方法和装置
KR101415112B1 (ko) * 2013-12-03 2014-07-08 김종용 게임 플레이 시간 제어 시스템
CN105432043B (zh) * 2014-03-23 2018-11-06 艾图瑞公司 日程安排和位置响应性协定遵从性控制的信息节制
US20150289299A1 (en) * 2014-04-03 2015-10-08 Qualcomm Incorporated Multichannel link aggregation with tdls
CN104331355B (zh) * 2014-11-28 2017-10-13 广东欧珀移动通信有限公司 移动终端的防沉迷方法与装置
CN105120080A (zh) * 2015-07-23 2015-12-02 Tcl移动通信科技(宁波)有限公司 一种移动终端的防沉迷控制方法、系统及移动终端
CN106851427B (zh) * 2015-12-04 2019-11-22 腾讯科技(深圳)有限公司 一种游戏直播视频的传输控制方法以及装置
CN105573899B (zh) * 2015-12-10 2018-03-13 哈尔滨工业大学 基于用户行为检测的本地防游戏沉迷系统
CN106055971A (zh) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 一种防沉迷的方法、装置和移动终端
CN107786964B (zh) * 2017-10-26 2021-06-15 Oppo广东移动通信有限公司 一种组队游戏通信方法、相关产品及存储介质
CN108897621A (zh) * 2018-06-27 2018-11-27 努比亚技术有限公司 基于应用程序的学习管控方法、终端及存储介质
CN108990110B (zh) * 2018-07-26 2022-02-22 Oppo广东移动通信有限公司 网络流量管理方法、装置、存储介质及终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160037469A1 (en) * 2014-08-01 2016-02-04 Skirmos LLC System and method for establishing an ad hoc network having a designated data exchange protocol
CN106413049A (zh) * 2016-10-13 2017-02-15 四川速宝网络科技有限公司 手机wifi网络加速器及其方法
CN107220157A (zh) * 2017-05-25 2017-09-29 合肥泽诺信息科技有限公司 一种网络游戏防沉迷管理系统
CN108537017A (zh) * 2018-01-05 2018-09-14 上海连尚网络科技有限公司 一种用于管理游戏用户的方法与设备
CN108537022A (zh) * 2018-03-27 2018-09-14 努比亚技术有限公司 终端控制方法、终端及计算机可读存储介质
CN109547469A (zh) * 2018-12-20 2019-03-29 Oppo广东移动通信有限公司 数据传输方法及相关装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3893456A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468654A (zh) * 2020-12-13 2021-03-09 胡振刚 电子设备使用限制处理方法和装置

Also Published As

Publication number Publication date
CN109547469A (zh) 2019-03-29
EP3893456A4 (en) 2022-01-19
EP3893456A1 (en) 2021-10-13
US20210297902A1 (en) 2021-09-23
CN109547469B (zh) 2020-06-23

Similar Documents

Publication Publication Date Title
WO2020147627A1 (zh) 链路选取方法及相关装置
WO2020125202A1 (zh) 数据传输方法及相关装置
WO2020147606A1 (zh) 无线漫游的方法及装置
CN109495880B (zh) 数据传输方法及相关装置
WO2020207229A1 (zh) 数据传输方法及相关装置
EP3905772A1 (en) Data transmission method and related apparatus
CN110798869B (zh) 网络切换方法、电子设备以及芯片子系统
CN109041262B (zh) 数据传输方法及相关装置
WO2020038132A1 (zh) 数据传输方法及相关装置
CN109362097B (zh) 传输控制方法及相关装置
WO2020134721A1 (zh) 数据传输方法及相关装置
CN112291816B (zh) 数据传输方法、装置、存储介质及电子设备
WO2020164351A1 (zh) 链路连接方法及相关装置
CN109587336B (zh) 数据传输方法及相关装置
WO2020078199A1 (zh) 链路连接方法及相关装置
EP3301981B1 (en) Receive operation mode indication for power save
US11109277B2 (en) Service configuration method and related product
CN103260216B (zh) 无线通信装置以及进行无线通信的方法
CN104917744A (zh) 在密集网络中提高VoIP性能的EDCA操作
US10091725B2 (en) Outage delay indication and exploitation
JP2024502649A (ja) 体感品質qoeを測定するための方法および装置
US20230422010A1 (en) Ble channel aware operation parameters
CN109743456B (zh) 数据传输方法及相关装置
WO2023103919A1 (zh) 数据传输方法和数据传输装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19899509

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019899509

Country of ref document: EP

Effective date: 20210709